Skip to content

Commit df1f132

Browse files
author
Valerie Peng
committed
8253563: Change sun.security.jca.Providers.threadLists to be ThreadLocal
Reviewed-by: alanb
1 parent c7f0064 commit df1f132

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/java.base/share/classes/sun/security/jca/Providers.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
public class Providers {
3838

3939
private static final ThreadLocal<ProviderList> threadLists =
40-
new InheritableThreadLocal<>();
40+
new ThreadLocal<>();
4141

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

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

0 commit comments

Comments
 (0)