You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexey Varlamov (JIRA)" <ji...@apache.org> on 2006/11/14 05:58:38 UTC

[jira] Closed: (HARMONY-2162) [luni-kernel] Class.forName throws IllegalArgumentException while classname includes '%'

     [ http://issues.apache.org/jira/browse/HARMONY-2162?page=all ]

Alexey Varlamov closed HARMONY-2162.
------------------------------------

    Resolution: Fixed

Applied at r474653 - thanks for the patch!

> [luni-kernel] Class.forName throws IllegalArgumentException while classname includes '%'
> ----------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2162
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2162
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Leo Li
>         Assigned To: Alexey Varlamov
>            Priority: Minor
>         Attachments: patch.diff
>
>
> Here is the testcase:
>           public void testLoadClass()
>     {
>         try
>         {
>             Class.forName("%");
>             fail("should throw ClassNotFoundException");
>         }
>         catch(ClassNotFoundException e)
>         {
>             //expected
>         }
> RI passes
> Harmony fails
>     }

-- 
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