From commits-return-63237-apmail-harmony-commits-archive=harmony.apache.org@harmony.apache.org Wed Jul 21 14:27:15 2010 Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 20018 invoked from network); 21 Jul 2010 14:27:15 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 21 Jul 2010 14:27:15 -0000 Received: (qmail 68496 invoked by uid 500); 21 Jul 2010 14:27:15 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 68450 invoked by uid 500); 21 Jul 2010 14:27:14 -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 68443 invoked by uid 99); 21 Jul 2010 14:27:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Jul 2010 14:27:14 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Jul 2010 14:27:11 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o6LEQoR9014089 for ; Wed, 21 Jul 2010 14:26:50 GMT Message-ID: <18838636.497111279722410281.JavaMail.jira@thor> Date: Wed, 21 Jul 2010 10:26:50 -0400 (EDT) From: "Catherine Hope (JIRA)" To: commits@harmony.apache.org Subject: [jira] Closed: (HARMONY-6510) [classlib][luni] URLClassLoader.findResources(null) returns null instead of an empty Enumeration In-Reply-To: <30591113.105641274191063221.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-6510?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Catherine Hope closed HARMONY-6510. ----------------------------------- Verified, thanks! > [classlib][luni] URLClassLoader.findResources(null) returns null instead of an empty Enumeration > ------------------------------------------------------------------------------------------------- > > Key: HARMONY-6510 > URL: https://issues.apache.org/jira/browse/HARMONY-6510 > Project: Harmony > Issue Type: Bug > Components: Classlib > Reporter: Catherine Hope > Assignee: Tim Ellison > Priority: Minor > Fix For: 5.0M15 > > Attachments: 6510.patch > > > Calling URLClassLoader.findResources(null) returns null instead of an empty Enumeration. According to the spec findResources returns an enumeration of a subset of the search path URLs that represent the named resource, and it doesn't define a different behaviour if the given resource is null. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.