Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8147543 Remove sun.misc.ManagedLocalsThread
  3. JDK-8153371

Remove sun.misc.ManagedLocalsThread from jdk.crypto.pkcs11

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • security-libs

      JDK-8056152 added a new constructor to java.lang.Thread to constructing Threads that do not
      inherit inheritable thread-local initial values. All usages of sun.misc.ManagedLocalsThread in
      the base module were also replaced with this new constructor. Given there is now a supported API
      for creating such threads, other areas of the JDK should be updated to use it, where applicable. If all
      usages are replaced, then sun.misc.ManagedLocalsThread can be removed.

      /jdk/src/jdk.crypto.pkcs11$ find . -name "*.java" -exec grep ManagedLocalsThread {} \; -print
      import sun.misc.ManagedLocalsThread;
              Thread t = new ManagedLocalsThread(poller, "Poller " + getName());
      ./share/classes/sun/security/pkcs11/SunPKCS11.java

            valeriep Valerie Peng
            chegar Chris Hegarty
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: