test/jdk/tools/jjs/sysprops.js
author lancea
Tue, 29 Oct 2019 14:22:18 -0400
changeset 58845 e492513d3630
parent 47216 71c04702a3d5
permissions -rw-r--r--
8231766: Files.copy and Files.move do not honor requested compression method when copying or moving within the same zip file Reviewed-by: clanger, bpb, alanb

/*
 * This is the test JavaScript program used in jjs-DTest.sh
 */

var Sys = java.lang.System;
if (Sys.getProperty("jjs.foo") == "bar") {
    print("Passed");
} else {
    // unexpected value
    throw new Error("Unexpected System property value");
}