Patch: new test case
Tom Tromey
tromey@cygnus.com
Thu Aug 31 17:13:00 GMT 2000
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
More information about the Java-patches
mailing list