JAX-WS tools need to updated to work with modular image

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 9
    • Affects Version/s: None
    • Component/s: xml
    • b32
    • Verified

        There will be no tools.jar in the new JDK modular image. The JAX-WS dependency on tools.jar (and possibly other JAR files in the JDK image) needs to be examined and updated to work with the new modular image.

        com.sun.tools.internal.ws.Invoker and com.sun.tools.internal.xjc.api.util.ApClassLoader looks up the URL of tools.jar and create its own URLClassLoader to load the tool classes. In addition, com.sun.tools.internal.ws.wscompile.JavaCompilerHelper invokes com.sun.tools.javac.Main via reflection.

        To get the Java compiler, then one recommended option is to use javax.tools.ToolProvider and get the javax.tools.JavaCompiler.

              Assignee:
              Miroslav Kos (Inactive)
              Reporter:
              Mandy Chung (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: