-
Bug
-
Resolution: Done
-
Major
-
None
-
None
WSConsume seems to be failing with the OpenJDK 1.6.0.0.x86_64 that's installed on (some?) RHEL distributions.
The reason is in a different (compare to Oracle and IBM JDK) implementation choice of the javax.tool.FileObject#getName() method:
OpenJDK returns objName strings like
"/usr/java/java-1.6.0-openjdk-1.6.0.0.x86_64/lib/ct.sym(META-INF/sym/rt.jar/java/lang/AbstractMethodError.class)"
while Oracle & IBM JDK return objName strings like:
"AbstractMethodError.class"
This is currently basically disabling the mechanism we implemented in JBWS-3589, so WSConsume become again dependent on the current (endorsed) java versions. So while by default JAXWS 2.2 sources are produced, the a JDK 6 compiler won't be able to compile them.