Skip to content

Commit

Permalink
Merge pull request #141 from theresa-m/disable_7332
Browse files Browse the repository at this point in the history
Disable LUDCL by default
  • Loading branch information
DanHeidinga committed Oct 5, 2019
2 parents a9b8b4c + 0631e65 commit 8b25a84
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/java.base/share/classes/java/io/ObjectInputStream.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

/*
* =======================================================================
* (c) Copyright IBM Corp. 2018, 2018 All Rights Reserved
* (c) Copyright IBM Corp. 2018, 2019 All Rights Reserved
* =======================================================================
*/

Expand Down Expand Up @@ -336,12 +336,12 @@ private static class Logging {
}


/** if true LUDCL/forName results would be cached, true by default starting Java8 */
/** if true LUDCL/forName results would be cached, false by default starting Java8 */
private static final class GetClassCachingSettingAction
implements PrivilegedAction<Boolean> {
public Boolean run() {
String property =
System.getProperty("com.ibm.enableClassCaching", "true");
System.getProperty("com.ibm.enableClassCaching", "false");
return property.equalsIgnoreCase("true");
}
}
Expand Down

0 comments on commit 8b25a84

Please sign in to comment.