From 25ffc86ccc20b9f07cea44c347487eb157ccadd7 Mon Sep 17 00:00:00 2001 From: crazybob Date: Thu, 2 Jul 2009 13:35:18 -0500 Subject: Commented out invalid test. --- .../java/tests/api/java/lang/reflect/ProxyTest.java | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'luni') diff --git a/luni/src/test/java/tests/api/java/lang/reflect/ProxyTest.java b/luni/src/test/java/tests/api/java/lang/reflect/ProxyTest.java index c2552a3..7ae8d94 100644 --- a/luni/src/test/java/tests/api/java/lang/reflect/ProxyTest.java +++ b/luni/src/test/java/tests/api/java/lang/reflect/ProxyTest.java @@ -103,13 +103,17 @@ public class ProxyTest extends junit.framework.TestCase { new Class[] { Comparable.class }))); boolean aborted = false; - try { - Proxy.getProxyClass(null, new Class[] { Support_Proxy_I1.class, - Support_Proxy_I2.class }); - } catch (IllegalArgumentException e) { - aborted = true; - } - assertTrue("Default classLoader should not see app class ", aborted); +// TODO: We load the test classes in the bootclasspath, so they are visible +// to the default loader. We can re-enable this test once we move the CTS +// tests to the system classpath. +// +// try { +// Proxy.getProxyClass(null, new Class[] { Support_Proxy_I1.class, +// Support_Proxy_I2.class }); +// } catch (IllegalArgumentException e) { +// aborted = true; +// } +// assertTrue("Default classLoader should not see app class ", aborted); aborted = false; try { -- cgit v1.1