From 07b78716af6a9d7c9fd1e94d9baf94a52c873947 Mon Sep 17 00:00:00 2001 From: Andrew Haley Date: Fri, 30 Sep 2016 16:24:48 +0000 Subject: Makefile.def: Remove libjava. 2016-09-30 Andrew Haley * Makefile.def: Remove libjava. * Makefile.tpl: Likewise. * Makefile.in: Regenerate. * configure.ac: Likewise. * configure: Likewise. * gcc/java: Remove. * libjava: Likewise. From-SVN: r240662 --- .../testsuite/libjava.lang/invoke_from_inner.java | 37 ---------------------- 1 file changed, 37 deletions(-) delete mode 100644 libjava/testsuite/libjava.lang/invoke_from_inner.java (limited to 'libjava/testsuite/libjava.lang/invoke_from_inner.java') diff --git a/libjava/testsuite/libjava.lang/invoke_from_inner.java b/libjava/testsuite/libjava.lang/invoke_from_inner.java deleted file mode 100644 index 8659ac6..0000000 --- a/libjava/testsuite/libjava.lang/invoke_from_inner.java +++ /dev/null @@ -1,37 +0,0 @@ -// This test case once showed that `f[0].execute(x)' woudln't be -// expanded properly, attempting to retrieve this$0 to be used in -// place of `f[0]'. - -abstract class A { - abstract public void execute(C x); -} - -class C {} - -class Z extends A { - public void execute (C x) { - System.out.println ("Z.execute"); - } -} - -public class invoke_from_inner extends A { - - Z f[] = new Z[1]; - class D extends C { - D (C x) { - f[0].execute (x); - execute (x); - } - } - public void execute (C x) { - System.out.println ("invoke_from_inner.execute"); - } - - public static void main (String a[]) { - new invoke_from_inner().foo(); - } - void foo () { - f[0] = new Z(); - new D(new C()); - } -} -- cgit v1.1