harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Varlamov (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-1670) [classlib][luni] invalid testcase in ClassTest
Date Tue, 03 Oct 2006 11:46:21 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-1670?page=all ]

Alexey Varlamov updated HARMONY-1670:
-------------------------------------

    Attachment: H-1670.patch

The DRLVM fails this test, accordingly to specifications.

> [classlib][luni] invalid testcase in ClassTest
> ----------------------------------------------
>
>                 Key: HARMONY-1670
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1670
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Alexey Varlamov
>            Priority: Trivial
>         Attachments: H-1670.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message