jdk/test/javax/script/Test2.js
author dl
Fri, 05 Sep 2014 10:54:28 +0200
changeset 26448 5853628b0e63
parent 2 90ce3da70b43
permissions -rw-r--r--
8056248: Improve ForkJoin thread throttling Reviewed-by: psandoz, martin

if (Testobj.getVal() != 'Hello World') {
    throw "unexpected value";
}

Testobj = "a string";
if (Testobj.getVal != undefined ||
    Testobj != 'a string') {
    throw "can' change Testobj?";
}