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: 31 Aug 2000 18:19:12 -0600
- Reply-To: tromey at cygnus dot com
I'm checking this in. It adds a test case that shows a compiler
failure. If you compile abstr.java to bytecodes and then try to
compile from bytecodes, gcj will fail. (I have a compiler patch.)
2000-08-31 Tom Tromey <tromey@cygnus.com>
* libjava.compile/abstr.xfail: New file.
* libjava.compile/abstr.java: New file.
Tom
Index: abstr.java
===================================================================
RCS file: abstr.java
diff -N abstr.java
--- /dev/null Tue May 5 13:32:27 1998
+++ abstr.java Thu Aug 31 17:11:47 2000
@@ -0,0 +1,14 @@
+// This fails to compile from bytecode for some versions of the compiler.
+
+interface foo
+{
+ public void start ();
+}
+
+public abstract class abstr implements foo
+{
+ public void doit ()
+ {
+ start ();
+ }
+}
Index: abstr.xfail
===================================================================
RCS file: abstr.xfail
diff -N abstr.xfail
--- /dev/null Tue May 5 13:32:27 1998
+++ abstr.xfail Thu Aug 31 17:11:47 2000
@@ -0,0 +1 @@
+no-link