[
https://issues.apache.org/jira/browse/LUCENE-7470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15533675#comment-15533675
]
Hoss Man commented on LUCENE-7470:
----------------------------------
{{\@SuppressWarnings("ignored-root-exception")}} ?
> Ensure Lucene sources don't swallow root cause exceptions
> ---------------------------------------------------------
>
> Key: LUCENE-7470
> URL: https://issues.apache.org/jira/browse/LUCENE-7470
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Michael McCandless
>
> [~rcmuir] created a nice tool to look at the Java bytecode to determine
> whether e.g. a {{finally}} or {{catch}} clause may ignore the original root
> cause exception, here:
> https://github.com/rmuir/elasticsearch/tree/catchAnalyzer
> It's a fork of ES but I think maybe we can extract it and use it in Lucene.
> Unlike Python, Java unfortunately does not seem to have safeguards against
> exceptionally handling code accidentally losing the original exception.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]