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/TestProxy.java | 36 --------------------------- 1 file changed, 36 deletions(-) delete mode 100644 libjava/testsuite/libjava.lang/TestProxy.java (limited to 'libjava/testsuite/libjava.lang/TestProxy.java') diff --git a/libjava/testsuite/libjava.lang/TestProxy.java b/libjava/testsuite/libjava.lang/TestProxy.java deleted file mode 100644 index 08e16aa..0000000 --- a/libjava/testsuite/libjava.lang/TestProxy.java +++ /dev/null @@ -1,36 +0,0 @@ -import java.lang.reflect.Proxy; -import java.lang.reflect.InvocationHandler; -import java.lang.reflect.Method; -import java.net.*; - -public class TestProxy -{ - public static class MyInvocationHandler implements InvocationHandler - { - public Object invoke (Object proxy, - Method method, - Object[] args) - throws Throwable - { - System.out.println (args[0]); - return null; - } - } - - public static void main (String[] args) - { - try { - InvocationHandler ih = new MyInvocationHandler(); - - SocketOptions c = (SocketOptions) - Proxy.newProxyInstance (SocketOptions.class.getClassLoader(), - new Class[]{SocketOptions.class}, - ih); - - c.getOption (555); - - } catch (Exception e) { - e.printStackTrace (); - } - } -} -- cgit v1.1