Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-3697

WSConsume fails on OpenJDK 6


      WSConsume seems to be failing with the OpenJDK 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
      while Oracle & IBM JDK return objName strings like:

      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.

            rhn-support-asoldano Alessio Soldano
            rhn-support-asoldano Alessio Soldano
            0 Vote for this issue
            1 Start watching this issue