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

CDI extension classes should be public

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0.5.CR1
    • 1.0.4.Final
    • None
    • None

      The spec is not clear in this area and the Weld ServiceLoader implementation supports package-private extension classes. However we should follow the JDK's ServiceLoader implementation which does not allow package-private service provider classes.

      See TCK tests:
      org.jboss.jsr299.tck.tests.extensions.observer.broken.definitionError.ProcessObserverMethodErrorTest
      org.jboss.jsr299.tck.tests.extensions.observer.broken.exception.ProcessObserverMethodExceptionTest

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

                Created:
                Updated:
                Resolved: