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

Weld's weld-osgi-bundle 6.0.0 BETA 4 doesn't export org.jboss.weld.util.reflection

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 6.0.0.CR1
    • 6.0.0.Beta4
    • OSGi support
    • None

      Weld 6.0.0 BETA 4 doesn't export the package "org.jboss.weld.util.reflection". This is seemingly a new requirement in Weld 6 beta 4, as decorator proxyies now seem to make use of it.

      Without the export in MANIFEST.MF:

      [ERROR] org.jboss.cdi.tck.tests.full.decorators.definition.DecoratorDefinitionTest.testAbstractDecoratorNotImplementingMethodOfDecoratedType[null](1) -- Time elapsed: 0.284 s <<< FAILURE!
      java.lang.NoClassDefFoundError: org/jboss/weld/util/reflection/Reflections
          at org.jboss.cdi.tck.tests.full.decorators.definition.$490772791$Proxy$_$$_WeldDecoratorProxy.deposit(Unknown Source)
      

      If I patch MANIFEST.MF and add the export manually, the test passes (and all other ones too) on GF 8.

              manovotn Matěj Novotný
              arjan.tijms@gmail.com Arjan Tijms (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: