Patch: New test case

Tom Tromey tromey@cygnus.com
Sun Nov 26 15:24:00 GMT 2000


Today I tried building the latest servlet code (from Jakarta) as well
as Jigsaw.

We do pretty good.  The attached test case is derived from our sole
servlet failure.  It is an ugly case, but apparently Sun uses it.
Yay.

(We do less well on Jigsaw, but it uses Swing so there are lots of
spurious failures to wade through.  We do get some ICEs where we
shouldn't.)

2000-11-26  Tom Tromey  <tromey@cygnus.com>

	* libjava.compile/weirddecl.java: New file.

Tom

Index: libjava.compile/weirddecl.java
===================================================================
RCS file: weirddecl.java
diff -N weirddecl.java
--- /dev/null	Tue May  5 13:32:27 1998
+++ weirddecl.java	Sun Nov 26 15:22:11 2000
@@ -0,0 +1,8 @@
+public class weirddecl
+{
+  // Weird but legal decl.
+  public String foo (String[] dumb[])
+  {
+    return dumb[0][0];
+  }
+}


More information about the Java-patches mailing list