Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 df1f132
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/java.base/share/classes/sun/security/jca/Providers.java
Expand Up @@ -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
Expand Down Expand Up @@ -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:
*
Expand Down

1 comment on commit df1f132

@bridgekeeper
Copy link

@bridgekeeper bridgekeeper bot commented on df1f132 Oct 12, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.