You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Jochen Kemnade (JIRA)" <ji...@apache.org> on 2014/04/26 14:13:19 UTC
[jira] [Closed] (TAP5-2317) AbstractFlow.count() thows
StackOverflowError for large Flows
[ https://issues.apache.org/jira/browse/TAP5-2317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jochen Kemnade closed TAP5-2317.
--------------------------------
Resolution: Fixed
Fix Version/s: 5.4
> AbstractFlow.count() thows StackOverflowError for large Flows
> -------------------------------------------------------------
>
> Key: TAP5-2317
> URL: https://issues.apache.org/jira/browse/TAP5-2317
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-func
> Affects Versions: 5.4
> Reporter: Jochen Kemnade
> Assignee: Jochen Kemnade
> Labels: patch, test
> Fix For: 5.4
>
> Attachments: 0001-use-a-loop-to-count-a-Flow.patch, flow-stack-overflow.groovy
>
>
> AbstractFlow.count() calls itself recursively. This can lead to a StackOverflowError because AFAIK Java does not support tail-call optimization.
--
This message was sent by Atlassian JIRA
(v6.2#6252)