--- old/test/jdk/tools/jjs/strict.js 2020-04-15 18:55:04.000000000 +0530 +++ /dev/null 2020-04-15 18:55:04.000000000 +0530 @@ -1,12 +0,0 @@ -/* - * This is the test JavaScript program used in jjs-strictTest.sh - */ - -try { - v = "hello"; - throw new Error("should have thrown ReferenceError"); -} catch (e) { - if (! (e instanceof ReferenceError)) { - throw new Error("ReferenceError expected, got " + e); - } -}