Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-5842

LoggingUncaughtExceptionHandler should not have shutdown hook code in it

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: logging
    • Labels:
      None

      Description

      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.

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dschneider Darrel Schneider
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: