changeset 1702:93c5020dd976

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 7ab7fc00b147
children 9c62b456f075
files samples/test.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/samples/test.js	Tue May 24 16:03:48 2016 +0200
+++ b/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"));