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

Re-examine injector code in JAXB

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: None
    • Component/s: xml
    • Labels:
    • Subcomponent:

      Description

      com/sun/xml/internal/bind/v2/runtime/reflect/opt/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.

      We are proposal to disable this code temporarily in JAXB as it's an optimization. We don't see any test failures with this code disabled.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dkornilov Dmitry Kornilov
                Reporter:
                alanb Alan Bateman
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: