mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-25 21:07:57 +00:00
8261711: Clhsdb "versioncheck true" throws NPE every time
Reviewed-by: amenkov, sspitsyn
This commit is contained in:
parent
55d7bbcec0
commit
e7e20d4ec6
@ -1157,7 +1157,7 @@ public class CommandProcessor {
|
||||
(System.getProperty("sun.jvm.hotspot.runtime.VM.disableVersionCheck") == null));
|
||||
} else if (t.countTokens() == 1) {
|
||||
if (Boolean.valueOf(t.nextToken()).booleanValue()) {
|
||||
System.setProperty("sun.jvm.hotspot.runtime.VM.disableVersionCheck", null);
|
||||
System.clearProperty("sun.jvm.hotspot.runtime.VM.disableVersionCheck");
|
||||
} else {
|
||||
System.setProperty("sun.jvm.hotspot.runtime.VM.disableVersionCheck", "true");
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user