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

Re-examine wrapper gen in JAX-WS

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: xml
    • Labels:
    • Subcomponent:
    • Verification:
      Verified

      Description

      com/sun/xml/internal/ws/model/Injector.java needs to be re-examined as it relies on being able to break into protected ClassLoader methods. As a short term solution then it can use Unsafe::defineClass to inject the classes but the Injector code also attempts to invoke other methods.

      For now, we propose to disable wrapper gen in JDK 9. This has the effect of causing a problem for wsgen (see JDK-8169981). It also causes the test javax/xml/ws/clientjar/TestWsImport.java to fail.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ljungman Lukáš Jungmann
              Reporter:
              alanb Alan Bateman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: