Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-122

@RooConfigurable produces errornous ITD for parameterized types

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0.0.M2
    • Fix Version/s: 1.0.0.RC1
    • Component/s: @ CORE
    • Labels:
      None

      Description

      The ITD created by @RooConfigurable uses the parameterized type name for accessing the annotated class:

      @RooConfigurable
      public class Foo<T> {
      }

      privileged aspect Foo_Roo_Configurable {
      declare @type: Foo<T>: @org.springframework.beans.factory.annotation.Configurable;
      }

      This is an error in AspectJ: "T cannot be resolved to a type". The error can be resolved by removing the type parameter:

      declare @type: Foo: @org.springframework.beans.factory.annotation.Configurable;

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              balex Ben Alex
              Reporter:
              nd Andreas Hartl
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: