8157789: Nashorn sample/test.js should not use undocumented System property
authorsundar
Wed, 25 May 2016 11:03:08 +0530
changeset 38594 a9afb8d928d2
parent 38543 933054343640
child 38595 6eceed1919cf
8157789: Nashorn sample/test.js should not use undocumented System property Reviewed-by: mchung
nashorn/samples/test.js
--- a/nashorn/samples/test.js	Wed Jul 05 21:45:40 2017 +0200
+++ b/nashorn/samples/test.js	Wed May 25 11:03:08 2016 +0530
@@ -31,4 +31,4 @@
 
 print("Hello World");
 var System = Java.type("java.lang.System");
-print(System.getProperty("jdk.launcher.patch.0"));
+print(System.getProperty("java.home"));