Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8054548

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 9
    • None
    • 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.

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

                Created:
                Updated:
                Resolved: