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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9
    • Component/s: xml
    • Subcomponent:
    • Resolved In Build:
      b32
    • Verification:
      Verified

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Due:
                    Created:
                    Updated:
                    Resolved: