diff --git a/src/classes/modules/java.base/jdk/internal/misc/SharedSecrets.java b/src/classes/modules/java.base/jdk/internal/misc/SharedSecrets.java index d8e67a3e..dce25208 100644 --- a/src/classes/modules/java.base/jdk/internal/misc/SharedSecrets.java +++ b/src/classes/modules/java.base/jdk/internal/misc/SharedSecrets.java @@ -57,7 +57,6 @@ public class SharedSecrets { private static JavaIOFileDescriptorAccess javaIOFileDescriptorAccess; private static JavaNioAccess javaNioAccess; private static JavaAWTAccess javaAWTAccess; - private static JavaOISAccess javaOISAccess; private static JavaObjectInputStreamAccess javaObjectInputStreamAccess; // (required for EnumSet ops) @@ -159,16 +158,4 @@ public static JavaAWTAccess getJavaAWTAccess(){ return javaAWTAccess; } - public static void setJavaOISAccess(JavaOISAccess access) { - javaOISAccess = access; - } - - public static JavaOISAccess getJavaOISAccess() { - if (javaOISAccess == null) { - unsafe.ensureClassInitialized(ObjectInputStream.class); - throw new UnsupportedOperationException("sun.misc.SharedSecrets.getJavaOISAccess() not supported yet"); - } - - return javaOISAccess; - } }