[Kaffe] Small patch for ArrayForName.java
Mo DeJong
mdejong at cygnus.com
Wed Mar 22 00:32:20 PST 2000
Could someone apply this patch? It cleans up some old code
and adds a new test case.
Thanks
Mo DeJong
Red Hat Inc.
diff -u -r1.1 ArrayForName.java
--- test/regression/ArrayForName.java 2000/02/29 22:59:42 1.1
+++ test/regression/ArrayForName.java 1999/12/11 14:51:22
@@ -137,6 +137,7 @@
expect("[void", "Exception"); // array of void is not
allowed
expect("[[Ljava/lang/Object;", "Exception"); // classes must use .
as seperator
expect("[[Ljava.lang.String", "Exception"); // need ; at the end
of class name
+ expect("[[java.lang.String;", "Exception"); // need L after [
expect("", "Exception");
}
@@ -149,9 +150,6 @@
msg.append("for clsName \"" + clsName + "\" expected \"" +
expected + "\" but got \"" + result + "\"");
- /*
- throw new RuntimeException(msg.toString());
- */
System.err.println(msg.toString());
}
}
More information about the kaffe
mailing list