ObjectOutputStream: Allow compile time initialization.
The extendedDebugInfo property can't ever be set because this class
is loaded by the zygote.
bug: 27265238
Change-Id: I33caf92df1203b44a69e23ed5d8f157e5eeecccf
diff --git a/ojluni/src/main/java/java/io/ObjectOutputStream.java b/ojluni/src/main/java/java/io/ObjectOutputStream.java
index 78678f4..93ccd0c 100755
--- a/ojluni/src/main/java/java/io/ObjectOutputStream.java
+++ b/ojluni/src/main/java/java/io/ObjectOutputStream.java
@@ -210,10 +210,7 @@
* value of "sun.io.serialization.extendedDebugInfo" property,
* as true or false for extended information about exception's place
*/
- private static final boolean extendedDebugInfo =
- java.security.AccessController.doPrivileged(
- new sun.security.action.GetBooleanAction(
- "sun.io.serialization.extendedDebugInfo")).booleanValue();
+ private static final boolean extendedDebugInfo = false;
/**
* Creates an ObjectOutputStream that writes to the specified OutputStream.