Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 361319

Summary: Log initialization does not catch correct exceptions on all jvms
Product: [RT] Jetty Reporter: Jan Bartel <janb>
Component: serverAssignee: Jan Bartel <janb>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jetty-inbox
Version: 7.5.3   
Target Milestone: 7.5.x   
Hardware: All   
OS: All   
Whiteboard:

Description Jan Bartel CLA 2011-10-18 21:24:32 EDT
The Log.initialized() method catches NoClassDefFound and Exception when trying to find if Slf4j is on the classpath or not. Unfortunately, sometimes a different Throwable is thrown instead. Eg on Android, it is a VerifyError.

Change to catch Throwable and rethrow if it is ThreadDeath.
Comment 1 Jan Bartel CLA 2011-10-18 21:29:11 EDT
Fixed for 7.4.0.