Uploaded image for project: 'CDI TCK'
  1. CDI TCK
  2. CDITCK-493

InterceptorForLifecycleTargetMethodTest should be removed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.1.6.Final, 2.0.0.Alpha2, 1.2.5.Final
    • None
    • None

      The assertion is outdated, i.e. there is no corresponding text in the spec. And the interceptors spec, 3.2 Declaring Interceptor Bindings of an Interceptor, only states:

      With the exception of AroundConstruct lifecycle callback interceptors, an interceptor for lifecycle callbacks may only declare interceptor binding types that are defined as Target(TYPE).

      However, it's not clear what should happen if a violation occurs (see also https://java.net/jira/browse/INTERCEPTORS_SPEC-22).

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

              Created:
              Updated:
              Resolved: