mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 10:34:38 +02:00
8157789: Nashorn sample/test.js should not use undocumented System property
Reviewed-by: mchung
This commit is contained in:
parent
fea34ed634
commit
6e67698c30
1 changed files with 1 additions and 1 deletions
|
@ -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"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue