Returning SharedSecrets to its original state since java8_u171 fixes the issue
authorWillem Visser <willemvisser@rek443068.sun.ac.za>
Wed, 18 Apr 2018 11:05:29 +0000 (13:05 +0200)
committerWillem Visser <willemvisser@rek443068.sun.ac.za>
Wed, 18 Apr 2018 11:05:29 +0000 (13:05 +0200)
src/classes/sun/misc/SharedSecrets.java

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