Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 91639 invoked from network); 2 Oct 2006 11:13:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Oct 2006 11:13:36 -0000 Received: (qmail 66595 invoked by uid 500); 2 Oct 2006 11:13:36 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 66492 invoked by uid 500); 2 Oct 2006 11:13:36 -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 66481 invoked by uid 99); 2 Oct 2006 11:13:36 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Oct 2006 04:13:36 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from [209.237.227.198] ([209.237.227.198:40296] helo=brutus.apache.org) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 48/46-16499-854F0254 for ; Mon, 02 Oct 2006 04:13:30 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8654C71430E for ; Mon, 2 Oct 2006 04:13:19 -0700 (PDT) Message-ID: <33129520.1159787599547.JavaMail.root@brutus> Date: Mon, 2 Oct 2006 04:13:19 -0700 (PDT) From: "Serguei Zapreyev (JIRA)" To: harmony-commits@incubator.apache.org Subject: [jira] Created: (HARMONY-1654) [drlvm][kernel] Pair of issues in j.l.Class, j.l.ClassLoader implementations 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 [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 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