Darrel Schneider created GEODE-5780:
---------------------------------------

             Summary: replace the geode LoggingThreadGroup by using 
Thread.setUncaughtExceptionHandler
                 Key: GEODE-5780
                 URL: https://issues.apache.org/jira/browse/GEODE-5780
             Project: Geode
          Issue Type: Test
            Reporter: Darrel Schneider


A long time ago geode wanted to make sure that any uncaught exceptions would be 
logged. This was before java 1.5 so the way we decided to do this was create 
thread groups for all the thread pools geode had. Each of these groups define 
an uncaught exception handler that would use the geode logger to log the 
exception.

Since java 1.5 Thread now hasĀ 
setUncaughtExceptionHandler(UncaughtExceptionHandler).

This would be simpler than creating a ThreadGroup. The geode LoggingThreadGroup 
actually keeps a static collection of all the groups created and it would be 
nice to get rid of that.



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

Reply via email to