Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-2390

BeanManager.isStereotype() should not throw DefinitionException

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 2.4.4.Final, 3.0.1.Final
    • None
    • None
    • None

    Description

      The DefinitionException is throw if the following Action qualifier class is used as a param:

      @Qualifier
      @Target({ TYPE, METHOD })
      @Retention( RetentionPolicy.RUNTIME)
      @Preferred
      public @interface Action {
      }
      
      @Qualifier
      @Target({TYPE, METHOD, PARAMETER, FIELD, ANNOTATION_TYPE})
      @Retention( RetentionPolicy.RUNTIME)
      public @interface Preferred {
      }
      

      Note that the Action definition itself is weird but legal (Preffered would be just ignored).

      Attachments

        Activity

          People

            tremes1@redhat.com Tomas Remes
            mkouba@redhat.com Martin Kouba
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: