RFR: 8253563: Change sun.security.jca.Providers.threadLists to be ThreadLocal

Valerie Peng valeriep at openjdk.java.net
Thu Oct 8 23:23:24 UTC 2020


Could someone help reviewing this one-line change? This changes the provider list used during jar verification from
InheritableThreadLocal to ThreadLocal. Existing usage and handling uses this field as temporary thread-specific
provider list for jar verification. There seems to be no reason for it to be InheritableThreadLocal.

Existing regression tests pass with this change.

Thanks,
Valerie

-------------

Commit messages:
 - 8253563: Change sun.security.jca.Providers.threadLists to be ThreadLocal

Changes: https://git.openjdk.java.net/jdk/pull/570/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=570&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8253563
  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk/pull/570.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/570/head:pull/570

PR: https://git.openjdk.java.net/jdk/pull/570



More information about the security-dev mailing list