This is the mail archive of the java-patches@sources.redhat.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Patch: New test case


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];
+  }
+}

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]