OSDN Git Service

Commented out invalid test.
authorcrazybob <crazybob@google.com>
Thu, 2 Jul 2009 18:35:18 +0000 (13:35 -0500)
committercrazybob <crazybob@google.com>
Thu, 2 Jul 2009 18:35:18 +0000 (13:35 -0500)
libcore/luni/src/test/java/tests/api/java/lang/reflect/ProxyTest.java

index c2552a3..7ae8d94 100644 (file)
@@ -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 {