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

Re-examine injector code in JAXB

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • None
    • 9
    • xml

      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.

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

              Created:
              Updated:
              Resolved: