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 --- libjava/testsuite/libjava.lang/anfi.java | 33 -------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 libjava/testsuite/libjava.lang/anfi.java (limited to 'libjava/testsuite/libjava.lang/anfi.java') diff --git a/libjava/testsuite/libjava.lang/anfi.java b/libjava/testsuite/libjava.lang/anfi.java deleted file mode 100644 index d9e7de7..0000000 --- a/libjava/testsuite/libjava.lang/anfi.java +++ /dev/null @@ -1,33 +0,0 @@ -// Class anfi -// Generated on Sat Jan 29 16:06:33 PST 2000 -// Anonymous with access to outer context locals - -class anfi { - - itf foo (final String s, final int i) { - return new itf () { - String buff = s+" "+i; - public void setString (String s) { buff = s+" "+i; } - public String getString () { return buff; } - }; - } - - void test () { - itf x = foo ("Hello", 123); - System.out.println (x.getString ()); - x.setString ("Frinkahedron"); - System.out.println (x.getString ()); - } - - public static void main (String[] arg) - { - System.out.println ("Testing class `anfi'..."); - new anfi().test(); - } -} - -interface itf { - void setString (String s); - String getString(); - String buff = null; -} -- cgit v1.1