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

Re-examine injector code in JAXB

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • 9
    • None
    • xml

    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

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

              Dates

                Created:
                Updated:
                Resolved: