You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Henrique Carvalho Silva (JIRA)" <ji...@apache.org> on 2014/07/29 01:15:40 UTC
[jira] [Created] (LUCENE-5853) RamUsageEstimator has too general
exception handlers
Henrique Carvalho Silva created LUCENE-5853:
-----------------------------------------------
Summary: RamUsageEstimator has too general exception handlers
Key: LUCENE-5853
URL: https://issues.apache.org/jira/browse/LUCENE-5853
Project: Lucene - Core
Issue Type: Bug
Components: core/other
Reporter: Henrique Carvalho Silva
Priority: Minor
core util RamUsageEstimator has several handlers in which "Exception" was caught and ignored. Such a general handler not only includes reflection-related exceptions such as ClassNotFoundException, NoSuchFieldException and NoSuchMethodException (which are OK to be ignored) but also harmful exceptions (that should at least be logged), such as NullPointerException, UnsupportedOperationException, SecurityException, etc.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org