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

BeanManager.isStereotype() should not throw DefinitionException

    Details

      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).

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                tremes Tomas Remes
                Reporter:
                mkouba Martin Kouba
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: