Skip to content

Commit 642d340

Browse files
authored
Merge pull request ibmruntimes#213 from theresa-m/disable_7332
openj9: Disable LUDCL by default
2 parents f4b481f + 6d1279a commit 642d340

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/java.base/share/classes/java/io/ObjectInputStream.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
/*
2727
* ===========================================================================
28-
* (c) Copyright IBM Corp. 2018,2018 All Rights Reserved
28+
* (c) Copyright IBM Corp. 2018, 2019 All Rights Reserved
2929
* ===========================================================================
3030
*/
3131

@@ -336,12 +336,12 @@ private static class Logging {
336336
}
337337

338338

339-
/** if true LUDCL/forName results would be cached, true by default starting Java8 */
339+
/** if true LUDCL/forName results would be cached, false by default starting Java8 */
340340
private static final class GetClassCachingSettingAction
341341
implements PrivilegedAction<Boolean> {
342342
public Boolean run() {
343343
String property =
344-
System.getProperty("com.ibm.enableClassCaching", "true");
344+
System.getProperty("com.ibm.enableClassCaching", "false");
345345
return property.equalsIgnoreCase("true");
346346
}
347347
}

0 commit comments

Comments
 (0)