changeset 19087 | 47d02733b128 |
parent 16151 | 97c1e756ae1e |
child 24778 | 2ff5d7041566 |
--- a/nashorn/test/script/basic/NASHORN-473.js Thu Jul 18 16:22:25 2013 +0200 +++ b/nashorn/test/script/basic/NASHORN-473.js Thu Jul 18 16:47:45 2013 +0200 @@ -28,7 +28,7 @@ * @run */ -var boolArr = java.lang.reflect.Array.newInstance(java.lang.Boolean.TYPE, 2); +var boolArr = new (Java.type("boolean[]"))(2); boolArr[0] = true; boolArr[1] = false;