From af90c96f02076de431505fba682a5cdc6d22a656 Mon Sep 17 00:00:00 2001 From: "nboyd%atg.com" Date: Tue, 16 Oct 2001 18:33:38 +0000 Subject: [PATCH] Test not valid in JDK 1.4. --- js/tests/lc3/StringMethods/string-001.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/tests/lc3/StringMethods/string-001.js b/js/tests/lc3/StringMethods/string-001.js index a3ab53f5bb40..7dcd78ca9052 100644 --- a/js/tests/lc3/StringMethods/string-001.js +++ b/js/tests/lc3/StringMethods/string-001.js @@ -136,6 +136,8 @@ // of the instance should be the same as the method of String.prototype // fromCharCode charCodeAt constructor split + /* No longer valid in JDK 1.4: java.lang.String now has a split method. + a[a.length] = new TestObject( "var s" +a.length+" = new java.lang.String(\"0 1 2 3 4 5 6 7 8 9\"); s"+a.length+".split(\" \") +''", "s"+a.length, @@ -143,6 +145,7 @@ 0, true, "0,1,2,3,4,5,6,7,8,9" ); + */ a[a.length] = new TestObject( "var s" +a.length+" = new java.lang.String(\"0 1 2 3 4 5 6 7 8 9\"); s"+a.length+".constructor",