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.loader/TestLeak.java | 33 -------------------------- 1 file changed, 33 deletions(-) delete mode 100644 libjava/testsuite/libjava.loader/TestLeak.java (limited to 'libjava/testsuite/libjava.loader/TestLeak.java') diff --git a/libjava/testsuite/libjava.loader/TestLeak.java b/libjava/testsuite/libjava.loader/TestLeak.java deleted file mode 100644 index 3ef4525..0000000 --- a/libjava/testsuite/libjava.loader/TestLeak.java +++ /dev/null @@ -1,33 +0,0 @@ -import java.net.*; -import java.lang.reflect.Proxy; - -public class TestLeak -{ - static class MyLoader extends URLClassLoader - { - public MyLoader (URL urls[]) - { - super (urls); - } - } - - public static void main (String[] args) - { - URLClassLoader ucl = - (URLClassLoader) ClassLoader.getSystemClassLoader(); - URL urls[] = ucl.getURLs (); - Class ifaces[] = new Class[1]; - ifaces[0] = java.lang.Comparable.class; - - try { - for (int i = 0; i < 100; i++) - { - Proxy.getProxyClass (new MyLoader (urls), ifaces); - } - } catch (Exception e) { - e.printStackTrace (); - } - } -} - - -- cgit v1.1