[
https://issues.apache.org/jira/browse/LUCENE-2220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Simon Willnauer updated LUCENE-2220:
------------------------------------
Attachment: LUCENE-2220.patch
here is a patch and the extended testcase
> Stackoverflow when calling deprecated CharArraySet.copy()
> ---------------------------------------------------------
>
> Key: LUCENE-2220
> URL: https://issues.apache.org/jira/browse/LUCENE-2220
> Project: Lucene - Java
> Issue Type: Bug
> Components: Analysis
> Reporter: Simon Willnauer
> Fix For: 3.1
>
> Attachments: LUCENE-2220.patch
>
>
> Calling CharArraySet#copy(set) without the version argument (deprecated) with
> an instance of CharArraySet results in a stack overflow as this method checks
> if the given set is a CharArraySet and then calls itself again. This was
> accidentially introduced due to an overloaded alternative method during
> LUCENE-2169 which was not used in the final patch.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]