jdk/src/java.base/share/classes/jdk/internal/misc/SharedSecrets.java
changeset 33674 566777f73c32
parent 32834 e1dca5fe4de3
child 34362 3396ae214e7d
equal deleted inserted replaced
33673:ab8e6d8e3ab9 33674:566777f73c32
    28 import java.util.jar.JarFile;
    28 import java.util.jar.JarFile;
    29 import java.io.Console;
    29 import java.io.Console;
    30 import java.io.FileDescriptor;
    30 import java.io.FileDescriptor;
    31 import java.security.ProtectionDomain;
    31 import java.security.ProtectionDomain;
    32 import java.security.AccessController;
    32 import java.security.AccessController;
    33 import sun.misc.Unsafe;
    33 import jdk.internal.misc.Unsafe;
    34 
    34 
    35 /** A repository of "shared secrets", which are a mechanism for
    35 /** A repository of "shared secrets", which are a mechanism for
    36     calling implementation-private methods in another package without
    36     calling implementation-private methods in another package without
    37     using reflection. A package-private class implements a public
    37     using reflection. A package-private class implements a public
    38     interface and provides the ability to call package-private methods
    38     interface and provides the ability to call package-private methods