You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Geir Magnusson Jr (JIRA)" <ji...@apache.org> on 2006/10/16 22:41:36 UTC
[jira] Assigned: (HARMONY-1654) [drlvm][kernel] Pair of issues in
j.l.Class, j.l.ClassLoader implementations
[ http://issues.apache.org/jira/browse/HARMONY-1654?page=all ]
Geir Magnusson Jr reassigned HARMONY-1654:
------------------------------------------
Assignee: Geir Magnusson Jr
> [drlvm][kernel] Pair of issues in j.l.Class, j.l.ClassLoader implementations
> ----------------------------------------------------------------------------
>
> Key: HARMONY-1654
> URL: http://issues.apache.org/jira/browse/HARMONY-1654
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Serguei Zapreyev
> Assigned To: Geir Magnusson Jr
> Priority: Minor
> Attachments: H1654.jlC_CL_impl.patch, Test1.java, Test2.java
>
>
> Pair of defects in j.l.Class, j.l.ClassLoader impls:
> - Class.getResourceAsStream(null), Class.getResource(null), ClassLoader.getResource(null),
> ClassLoader.getResourceAsStream(null), ClassLoader.getSystemResource(null),
> ClassLoader.getSystemResourceAsStream(null) should throw NPE (Test1).
> Throwing the NulPointerException as demanded resolves the issue.
> - According to the ClassLoader.getSystemClassLoader() spec, a "system class loader" serving for
> start an application should automatically grant the exitVM permission
> to all code loaded from the application class path (Test2).
> j.l.ClassLoader$SystemClassLoader should grant it to resolve the issue.
> I'm going to attach the corresponding patch to fix the issues and the corresponding 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