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
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<String>();
55 Enumeration<String> 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