[jbossws-issues] [JBoss JIRA] (JBWS-3697) WSConsume fails on OpenJDK 6
Alessio Soldano (JIRA)
jira-events at lists.jboss.org
Fri Aug 23 12:57:26 EDT 2013
Alessio Soldano created JBWS-3697:
-------------------------------------
Summary: WSConsume fails on OpenJDK 6
Key: JBWS-3697
URL: https://issues.jboss.org/browse/JBWS-3697
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: jbossws-cxf, productization, tools-jaxws
Reporter: Alessio Soldano
Assignee: Alessio Soldano
Fix For: jbossws-cxf-4.2.1
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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbossws-issues
mailing list