You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2007/07/09 15:15:04 UTC
[jira] Commented: (JCR-1006) StackOverflowError if too many
versions of a node are created
[ https://issues.apache.org/jira/browse/JCR-1006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12511112 ]
Jukka Zitting commented on JCR-1006:
------------------------------------
Do we have actual use cases where a single version history consists of thousands of versions? Sounds a bit academic to me, but I guess it's a reasonable corner case and the patch seems good.
Tail recursion... :-)
> StackOverflowError if too many versions of a node are created
> -------------------------------------------------------------
>
> Key: JCR-1006
> URL: https://issues.apache.org/jira/browse/JCR-1006
> Project: Jackrabbit
> Issue Type: Bug
> Components: versioning
> Affects Versions: 1.3
> Reporter: Christoph Kiehl
> Attachments: VersionIteratorImpl.patch
>
>
> In org.apache.jackrabbit.core.version.VersionIteratorImpl addVersion() is called recursively which can cause StackOverflowErrors if there are too many versions.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.