8157789: Nashorn sample/test.js should not use undocumented System property

Reviewed-by: mchung
This commit is contained in:
Athijegannathan Sundararajan 2016-05-25 11:03:08 +05:30
parent fea34ed634
commit 6e67698c30

View File

@ -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"));