harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mloe...@apache.org
Subject svn commit: r463186 - /incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/ClassTest.java
Date Thu, 12 Oct 2006 10:57:46 GMT
Author: mloenko
Date: Thu Oct 12 03:57:43 2006
New Revision: 463186

URL: http://svn.apache.org/viewvc?view=rev&rev=463186
Log:
applied patch from HARMONY-1670
[classlib][luni] invalid testcase in ClassTest

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/ClassTest.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/ClassTest.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/ClassTest.java?view=diff&rev=463186&r1=463185&r2=463186
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/ClassTest.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/ClassTest.java
Thu Oct 12 03:57:43 2006
@@ -427,14 +427,6 @@
         assertEquals("Returned incorrect method", 2, ((Integer) (m.invoke(new TestClass())))
                 .intValue());
         m = TestClass.class.getDeclaredMethod("privMethod", new Class[0]);
-        try {
-            // Invoking private non-sub, non-package
-            m.invoke(new TestClass());
-            fail("Should throw IllegalAccessException");
-        } catch (IllegalAccessException e) {
-            // Correct
-            return;
-        }
     }
 
     /**



Mime
View raw message