-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
None
-
None
-
None
The testsuite doesn't compile on any JDK 7, tested on Oracle, IBM and OpenJDK.
The problem seems to be in the class org.jboss.weld.tests.resources.ws.ResourceProducer. According to the documentation of value field of WebServiceRef, it should reference "the service class, always a type extending javax.xml.ws.Service", which is not true for the class TranslatorService referenced by WebServiceRef in ResourceProducer.
The compilation fails with:
.../dev/weld/weld/tests-arquillian/src/test/java/org/jboss/weld/tests/resources/ws/ResourceProducer.java:[26,39] error: incompatible types
After changing the TranslatorService to extend Service, the class compiles and the test (testWebServiceResourceDeclaration) passes.
- duplicates
-
WELD-1116 Weld 2 does not build on JDK7
- Resolved