Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-251

Classloader fails to resolve when annotation and declared class have the same name

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 5.5.1.Final, 6.0.0.Final
    • 5.5.0.Final, 6.0.0.CR2
    • None
    • None

    Description

      package test

      declare Annot
      fld : int @Annot
      end

      The packagebuilder type resolver will confuse the annotation with the declared class and throw exceptions (varies depending on optional import
      statements)

      Attachments

        Activity

          People

            mfusco@redhat.com Mario Fusco
            dsotty Davide Sottara (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: