[ https://issues.apache.org/jira/browse/LUCENE-7470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15533765#comment-15533765 ]
Robert Muir commented on LUCENE-7470: ------------------------------------- SuppressWarnings cannot be used. it only has Source Retention. This is a bytecode analyzer. > 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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org