Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 14238 invoked from network); 29 Nov 2006 12:17:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Nov 2006 12:17:23 -0000 Received: (qmail 1337 invoked by uid 500); 29 Nov 2006 12:17:32 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 1314 invoked by uid 500); 29 Nov 2006 12:17:32 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 1304 invoked by uid 99); 29 Nov 2006 12:17:32 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Nov 2006 04:17:32 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Nov 2006 04:17:21 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4EDAD71431F for ; Wed, 29 Nov 2006 04:13:25 -0800 (PST) Message-ID: <18433175.1164802405320.JavaMail.jira@brutus> Date: Wed, 29 Nov 2006 04:13:25 -0800 (PST) From: "Sergey Krivenko (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-2357) [classlib] [luni] Method findClass() in class URLClassLoader throws ClassNotFoundException In-Reply-To: <25338025.1164800481131.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/HARMONY-2357?page=all ] Sergey Krivenko updated HARMONY-2357: ------------------------------------- Attachment: Harmony-2357-URLClassLoaderTest.patch The attached is a patch to the test > [classlib] [luni] Method findClass() in class URLClassLoader throws ClassNotFoundException > ------------------------------------------------------------------------------------------ > > Key: HARMONY-2357 > URL: http://issues.apache.org/jira/browse/HARMONY-2357 > Project: Harmony > Issue Type: Bug > Components: Classlib > Environment: WIN XP > Reporter: Sergey Krivenko > Attachments: Harmony-2357-URLClassLoader.patch, Harmony-2357-URLClassLoaderTest.patch > > > The following test throws ClassNotFoundException while RI throws NPE: > import java.net.*; > public class test { > public static void main (String[] args) { > try { > testURLClassLoader cl = new testURLClassLoader(new URL[557]); > cl.findClass("0"); > } catch (Exception e) { > e.printStackTrace(); > } > } > } > class testURLClassLoader extends URLClassLoader { > public testURLClassLoader(URL[] urls) { > super(urls); > } > public Class findClass(String cl) throws ClassNotFoundException { > return super.findClass(cl); > } > } -- 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