[
https://issues.apache.org/jira/browse/LUCENE-5572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17420032#comment-17420032
]
Trejkaz edited comment on LUCENE-5572 at 9/25/21, 12:25 AM:
------------------------------------------------------------
{quote}don't interrupt threads loading up java classes
{quote}
That ultimately comes down to "don't interrupt threads at all", and it's not
always us interrupting the threads.
If you don't understand how interrupts are supposed to be handled then I would
suggest reading up on the topic and coming back when you have a fresh opinion
on the matter.
was (Author: trejkaz):
> don't interrupt threads loading up java classes
That ultimately comes down to "don't interrupt threads at all", and it's not
always us interrupting the threads.
If you don't understand how interrupts are supposed to be handled then I would
suggest reading up on the topic and coming back when you have a fresh opinion
on the matter.
> JapaneseTokenizer is sensitive to interrupts
> --------------------------------------------
>
> Key: LUCENE-5572
> URL: https://issues.apache.org/jira/browse/LUCENE-5572
> Project: Lucene - Core
> Issue Type: Improvement
> Components: modules/analysis
> Affects Versions: 3.6.2
> Reporter: Anthony Rasmussen
> Priority: Minor
>
> The constructor for JapaneseTokenizer gets the following singleton instances:
> TokenInfoDictionary, UnknownDictionary, and ConnectionCosts. I am finding
> that the associated getInstanceMethods are particularly sensitive to
> IOExceptions.
> Perhaps, in the static initializers of these 3 singletons, there could be
> some sort of retry effort before throwing a RunTimeException?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]