jdk/src/share/classes/java/security/SecureClassLoader.java
changeset 7970 af1579474d16
parent 5506 202f599c92aa
child 9035 1255eb81cc2f
child 9266 121fb370f179
equal deleted inserted replaced
7969:1a6282ab0d2a 7970:af1579474d16
    48     private final boolean initialized;
    48     private final boolean initialized;
    49 
    49 
    50     // HashMap that maps CodeSource to ProtectionDomain
    50     // HashMap that maps CodeSource to ProtectionDomain
    51     // @GuardedBy("pdcache")
    51     // @GuardedBy("pdcache")
    52     private final HashMap<CodeSource, ProtectionDomain> pdcache =
    52     private final HashMap<CodeSource, ProtectionDomain> pdcache =
    53                         new HashMap<CodeSource, ProtectionDomain>(11);
    53                         new HashMap<>(11);
    54 
    54 
    55     private static final Debug debug = Debug.getInstance("scl");
    55     private static final Debug debug = Debug.getInstance("scl");
    56 
    56 
    57     static {
    57     static {
    58         ClassLoader.registerAsParallelCapable();
    58         ClassLoader.registerAsParallelCapable();