You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/04/26 14:07:15 UTC

[jira] [Commented] (TAP5-2317) AbstractFlow.count() thows StackOverflowError for large Flows

    [ https://issues.apache.org/jira/browse/TAP5-2317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13981961#comment-13981961 ] 

ASF subversion and git services commented on TAP5-2317:
-------------------------------------------------------

Commit 602f43f5441a7f0309a712130587e3433c959448 in tapestry-5's branch refs/heads/master from [~jkemnade]
[ https://git-wip-us.apache.org/repos/asf?p=tapestry-5.git;h=602f43f ]

TAP5-2317: fix a StackOverflowError when counting a large flow


> 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
>         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)