You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Darrel Schneider (JIRA)" <ji...@apache.org> on 2018/10/09 21:24:00 UTC

[jira] [Created] (GEODE-5842) LoggingUncaughtExceptionHandler should not have shutdown hook code in it

Darrel Schneider created GEODE-5842:
---------------------------------------

             Summary: LoggingUncaughtExceptionHandler should not have shutdown hook code in it
                 Key: GEODE-5842
                 URL: https://issues.apache.org/jira/browse/GEODE-5842
             Project: Geode
          Issue Type: Improvement
          Components: logging
            Reporter: Darrel Schneider


The LoggingUncaughtExceptionHandler has some code to do some special handling of exceptions not handled by the JVM shutdown hook. It does this by checking for a specific thread name.

Instead the run block of the shutdown hook should itself catch NoClassDefFoundError and handle it. Then the LoggingUncaughtExceptionHandler will not need to do this special handling.

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)