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

WSConsume fails on OpenJDK 6

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: