tapestry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jochen Kemnade (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (TAP5-2317) AbstractFlow.count() thows StackOverflowError for large Flows
Date Fri, 11 Apr 2014 12:20:15 GMT

     [ https://issues.apache.org/jira/browse/TAP5-2317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jochen Kemnade updated TAP5-2317:
---------------------------------

    Attachment:     (was: 0001-use-a-Reducer-to-count-a-Flow.patch)

> 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
>              Labels: patch, test
>         Attachments: 0001-use-a-Reducer-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)

Mime
View raw message