Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 17902 invoked from network); 3 Oct 2006 11:12:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Oct 2006 11:12:55 -0000 Received: (qmail 51310 invoked by uid 500); 3 Oct 2006 11:12:55 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 51272 invoked by uid 500); 3 Oct 2006 11:12:55 -0000 Mailing-List: contact harmony-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-commits@incubator.apache.org Received: (qmail 51261 invoked by uid 99); 3 Oct 2006 11:12:55 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Oct 2006 04:12:55 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from [209.237.227.198] ([209.237.227.198:34291] helo=brutus.apache.org) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id EF/4B-29668-58542254 for ; Tue, 03 Oct 2006 04:12:09 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 0CFEB714312 for ; Tue, 3 Oct 2006 04:10:25 -0700 (PDT) Message-ID: <30174722.1159873825051.JavaMail.root@brutus> Date: Tue, 3 Oct 2006 04:10:25 -0700 (PDT) From: "Geir Magnusson Jr (JIRA)" To: harmony-commits@incubator.apache.org Subject: [jira] Updated: (HARMONY-1654) [drlvm][kernel] Pair of issues in j.l.Class, j.l.ClassLoader implementations In-Reply-To: <33129520.1159787599547.JavaMail.root@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/HARMONY-1654?page=all ] Geir Magnusson Jr updated HARMONY-1654: --------------------------------------- Component/s: DRLVM > [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 > 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