Removing referebces to JavaObjectInputStreamAccess that is no longer in Java8_u161
authorWillem Visser <willemvisser@rek443068.sun.ac.za>
Tue, 17 Apr 2018 09:42:44 +0000 (11:42 +0200)
committerWillem Visser <willemvisser@rek443068.sun.ac.za>
Tue, 17 Apr 2018 09:42:44 +0000 (11:42 +0200)
src/classes/sun/misc/SharedSecrets.java

index c74ff4a..8c7fd6f 100644 (file)
@@ -58,7 +58,8 @@ public class SharedSecrets {
   private static JavaNioAccess javaNioAccess;
   private static JavaAWTAccess javaAWTAccess;
   private static JavaOISAccess javaOISAccess;
   private static JavaNioAccess javaNioAccess;
   private static JavaAWTAccess javaAWTAccess;
   private static JavaOISAccess javaOISAccess;
-  private static JavaObjectInputStreamAccess javaObjectInputStreamAccess;
+  // removed in Java8u161
+  // private static JavaObjectInputStreamAccess javaObjectInputStreamAccess;
 
   // (required for EnumSet ops)
   public static JavaLangAccess getJavaLangAccess() {
 
   // (required for EnumSet ops)
   public static JavaLangAccess getJavaLangAccess() {
@@ -138,7 +139,7 @@ public class SharedSecrets {
 
     return javaIOFileDescriptorAccess;
   }
 
     return javaIOFileDescriptorAccess;
   }
-
+/*
   public static JavaObjectInputStreamAccess getJavaObjectInputStreamAccess() {
     if (javaObjectInputStreamAccess == null) {
       unsafe.ensureClassInitialized(ObjectInputStream.class);
   public static JavaObjectInputStreamAccess getJavaObjectInputStreamAccess() {
     if (javaObjectInputStreamAccess == null) {
       unsafe.ensureClassInitialized(ObjectInputStream.class);
@@ -151,7 +152,7 @@ public class SharedSecrets {
   public static void setJavaObjectInputStreamAccess(JavaObjectInputStreamAccess access) {
     javaObjectInputStreamAccess = access;
   }
   public static void setJavaObjectInputStreamAccess(JavaObjectInputStreamAccess access) {
     javaObjectInputStreamAccess = access;
   }
-  
+*/  
   public static void setJavaAWTAccess (JavaAWTAccess jaa){
     javaAWTAccess = jaa;
   }
   public static void setJavaAWTAccess (JavaAWTAccess jaa){
     javaAWTAccess = jaa;
   }