harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geir Magnusson Jr (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (HARMONY-1654) [drlvm][kernel] Pair of issues in j.l.Class, j.l.ClassLoader implementations
Date Mon, 16 Oct 2006 20:41:36 GMT
     [ 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
>   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


View raw message