This commit is contained in:
nboyd%atg.com 2001-10-16 18:33:38 +00:00
Родитель ed67c25e25
Коммит bf7a1f94a5
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -136,6 +136,8 @@
// of the instance should be the same as the method of String.prototype // of the instance should be the same as the method of String.prototype
// fromCharCode charCodeAt constructor split // fromCharCode charCodeAt constructor split
/* No longer valid in JDK 1.4: java.lang.String now has a split method.
a[a.length] = new TestObject( 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(\" \") +''", "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, "s"+a.length,
@ -143,6 +145,7 @@
0, 0,
true, true,
"0,1,2,3,4,5,6,7,8,9" ); "0,1,2,3,4,5,6,7,8,9" );
*/
a[a.length] = new TestObject( 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", "var s" +a.length+" = new java.lang.String(\"0 1 2 3 4 5 6 7 8 9\"); s"+a.length+".constructor",