Skip to content
Permalink
Browse files
8253563: Change sun.security.jca.Providers.threadLists to be ThreadLocal
Reviewed-by: alanb
  • Loading branch information
Valerie Peng committed Oct 12, 2020
1 parent c7f0064 commit df1f132b67e22d8b5d1df74030389c14d5374e52
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/java.base/share/classes/sun/security/jca/Providers.java
@@ -37,7 +37,7 @@
public class Providers {

private static final ThreadLocal<ProviderList> threadLists =
new InheritableThreadLocal<>();
new ThreadLocal<>();

// number of threads currently using thread-local provider lists
// tracked to allow an optimization if == 0
@@ -205,7 +205,7 @@ private static void changeThreadProviderList(ProviderList list) {

/**
* Methods to manipulate the thread local provider list. It is for use by
* JAR verification (see above) and the SunJSSE FIPS mode only.
* JAR verification (see above).
*
* It should be used as follows:
*

1 comment on commit df1f132

@bridgekeeper

This comment has been minimized.

Copy link

@bridgekeeper bridgekeeper bot commented on df1f132 Oct 12, 2020

Please sign in to comment.