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] Closed: (HARMONY-974) RI allows to load classes with system classloader while Harmony not
Date Thu, 15 Mar 2007 13:23:09 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-974?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alexey Varlamov closed HARMONY-974.
-----------------------------------

    Resolution: Won't Fix

Closing as wontfix.

> RI allows to load classes with system classloader while Harmony not
> -------------------------------------------------------------------
>
>                 Key: HARMONY-974
>                 URL: https://issues.apache.org/jira/browse/HARMONY-974
>             Project: Harmony
>          Issue Type: Bug
>          Components: Non-bug differences from RI
>         Environment: Windows XP
>            Reporter: Mikhail Fursov
>
> Here is a test, that demonstrates the difference in behaviour in RI (sun1.5) and Harmony
when explicitly loading classes with system classloader.
> Note that RI allows to load only array types.
> I think this is RI bug, but need to recheck.
> public class TestClassLoader {
>   public static void main(String[] arguments) throws ClassNotFoundException {
>         ClassLoader cl = ClassLoader.getSystemClassLoader();
>         Class cls = cl.loadClass("[B");
> //        Class cls = Class.forName("[B");
>         System.out.println("Class is:"+cls);
>   }
> }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message