[
https://issues.apache.org/jira/browse/GERONIMO-5829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rex Wang resolved GERONIMO-5829.
--------------------------------
Resolution: Fixed
Fix Version/s: 3.0
3.0-M2
commit to 3.0_m2 at rev 1073627
commit to trunk at rev 1073628
thanks Fang Sheng Hao!
> 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<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