harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Serguei Zapreyev (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-1654) [drlvm][kernel] Pair of issues in j.l.Class, j.l.ClassLoader implementations
Date Mon, 02 Oct 2006 11:13:19 GMT
[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
            Reporter: Serguei Zapreyev
            Priority: Minor

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