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

SafeThread illegal access to java.lang private fields should be removed

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9, 11, 15, 16
    • Fix Version/s: 16
    • Component/s: xml
    • Labels:

      Description

      com.sun.org.apache.xml.internal.utils.SafeThread hacks private fields in java.lang.Thread to clear thread locals. The java.base module does not open java.lang to module java.xml so I assume it fails since JDK 9. Can the usages of SafeThread be re-examined? Can these usages be replaced with InnocuousThread?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                joehw Joe Wang
                Reporter:
                alanb Alan Bateman
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: