Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 64551 invoked from network); 23 Feb 2011 08:07:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Feb 2011 08:07:03 -0000 Received: (qmail 68568 invoked by uid 500); 23 Feb 2011 08:07:03 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 68143 invoked by uid 500); 23 Feb 2011 08:07:01 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 68023 invoked by uid 99); 23 Feb 2011 08:07:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Feb 2011 08:07:01 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Feb 2011 08:06:59 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 7918F1B3DD0 for ; Wed, 23 Feb 2011 08:06:38 +0000 (UTC) Date: Wed, 23 Feb 2011 08:06:38 +0000 (UTC) From: "Rex Wang (JIRA)" To: dev@geronimo.apache.org Message-ID: <1935098103.10146.1298448398492.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1520943304.9802.1298429678403.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Closed: (GERONIMO-5829) Endless loop in org.apache.geronimo.deployment.tools.loader.AbstractDeployable 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/GERONIMO-5829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rex Wang closed GERONIMO-5829. ------------------------------ > Endless loop in org.apache.geronimo.deployment.tools.loader.AbstractDeployable > ------------------------------------------------------------------------------ > > Key: GERONIMO-5829 > URL: https://issues.apache.org/jira/browse/GERONIMO-5829 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: deployment > Affects Versions: 3.0 > Reporter: Shenghao Fang > Assignee: Shenghao Fang > Fix For: 3.0-M2, 3.0 > > Attachments: GERONIMO-5829_AbstractDeployable.patch > > > Please refer to the following code segment: > {code:title=AbstractDeployable.java|borderStyle=solid} > 48 protected AbstractDeployable(ModuleType type, Bundle bundle, String rootDD) throws DDBeanCreateException { > ... > 54 entries = new ArrayList(); > 55 Enumeration paths = bundle.getEntryPaths("/"); > 56 //TODO WTF?? if statement seems to be required???? > 57 if (paths.hasMoreElements()) { > 58 for (String entry = paths.nextElement(); paths.hasMoreElements();) { <- Endless loop here > 59 entries.add(entry); > 60 } > 61 } > {code} -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira