Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Bartel2011-10-19 01:28:23 +0000
committerJan Bartel2011-10-19 01:28:23 +0000
commitd71fd556654643a89d916f6ed97a91c803095335 (patch)
tree212c9c5e828b7d98484214eb15b2fdc2c5e99583
parente9c398e86b6d64aa6f64395ea4cb3c0af1d341ff (diff)
downloadorg.eclipse.jetty.project-d71fd556654643a89d916f6ed97a91c803095335.tar.gz
org.eclipse.jetty.project-d71fd556654643a89d916f6ed97a91c803095335.tar.xz
org.eclipse.jetty.project-d71fd556654643a89d916f6ed97a91c803095335.zip
361319 Log initialization does not catch correct exceptions on all jvms
-rw-r--r--jetty-util/src/main/java/org/eclipse/jetty/util/log/Log.java9
1 files changed, 4 insertions, 5 deletions
diff --git a/jetty-util/src/main/java/org/eclipse/jetty/util/log/Log.java b/jetty-util/src/main/java/org/eclipse/jetty/util/log/Log.java
index a1130ab604..95bafcec4d 100644
--- a/jetty-util/src/main/java/org/eclipse/jetty/util/log/Log.java
+++ b/jetty-util/src/main/java/org/eclipse/jetty/util/log/Log.java
@@ -80,12 +80,11 @@ public class Log
__log.debug("Logging to {} via {}", __log, log_class.getName());
}
}
- catch(NoClassDefFoundError e)
- {
- initStandardLogging(e);
- }
- catch(Exception e)
+ catch(Throwable e)
{
+ if (e instanceof ThreadDeath)
+ throw (ThreadDeath)e;
+
initStandardLogging(e);
}

Back to the top