Details
-
Bug
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
None
-
None
-
None
Description
The test_getDeclaredMethodLjava_lang_String$Ljava_lang_Class of modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/ClassTest.java
checks if IllegalAccessException is thrown during invokation of private method of inner class. This is bad due to:
1) the check is invalid, see HARMONY-1309 for details;
2) The ClassTest is not appropriate for testing reflection, and this is already covered in j.l.reflect.* tests.