You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Shenghao Fang (JIRA)" <ji...@apache.org> on 2011/02/23 03:54:38 UTC
[jira] Created: (GERONIMO-5829) Endless loop in
org.apache.geronimo.deployment.tools.loader.AbstractDeployable
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
[jira] Updated: (GERONIMO-5829) Endless loop in
org.apache.geronimo.deployment.tools.loader.AbstractDeployable
Posted by "Shenghao Fang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-5829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shenghao Fang updated GERONIMO-5829:
------------------------------------
Attachment: GERONIMO-5829_AbstractDeployable.patch
> 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
> 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
[jira] Closed: (GERONIMO-5829) Endless loop in
org.apache.geronimo.deployment.tools.loader.AbstractDeployable
Posted by "Rex Wang (JIRA)" <ji...@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<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
[jira] Resolved: (GERONIMO-5829) Endless loop in
org.apache.geronimo.deployment.tools.loader.AbstractDeployable
Posted by "Rex Wang (JIRA)" <ji...@apache.org>.
[ 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