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: [email protected]
For additional commands, e-mail: [email protected]