This is the mail archive of the
java-patches@sources.redhat.com
mailing list for the Java project.
Patch: New test case
- To: Java Patch List <java-patches at sourceware dot cygnus dot com>
- Subject: Patch: New test case
- From: Tom Tromey <tromey at cygnus dot com>
- Date: 26 Nov 2000 16:33:13 -0700
- Reply-To: tromey at cygnus dot com
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];
+ }
+}