changeset 38594:a9afb8d928d2

8157789: Nashorn sample/test.js should not use undocumented System property Reviewed-by: mchung
author sundar
date Wed, 25 May 2016 11:03:08 +0530
parents 933054343640
children 6eceed1919cf
files nashorn/samples/test.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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"));