8157789: Nashorn sample/test.js should not use undocumented System property
Reviewed-by: mchung
This commit is contained in:
parent
fea34ed634
commit
6e67698c30
@ -31,4 +31,4 @@
|
|||||||
|
|
||||||
print("Hello World");
|
print("Hello World");
|
||||||
var System = Java.type("java.lang.System");
|
var System = Java.type("java.lang.System");
|
||||||
print(System.getProperty("jdk.launcher.patch.0"));
|
print(System.getProperty("java.home"));
|
||||||
|
Loading…
Reference in New Issue
Block a user