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 2007/03/15 14:23:09 UTC
[jira] Closed: (HARMONY-974) RI allows to load classes with system
classloader while Harmony not
[ 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.