lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-7470) Ensure Lucene sources don't swallow root cause exceptions
Date Thu, 29 Sep 2016 18:48:22 GMT

    [ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message