mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 23:25:24 +02:00
Proxy.java, [...]: Don't catch java.lang.ThreadDeath.
2005-02-22 Jeroen Frijters <jeroen@frijters.net> * java/lang/reflect/Proxy.java, java/net/URL.java, java/security/SecureRandom.java, java/util/Timer.java, java/util/prefs/AbstractPreferences.java: Don't catch java.lang.ThreadDeath. From-SVN: r95415
This commit is contained in:
committed by
Michael Koch
parent
19b3ffbcaf
commit
b5abfc2344
@@ -1,5 +1,5 @@
|
||||
/* URL.java -- Uniform Resource Locator Class
|
||||
Copyright (C) 1998, 1999, 2000, 2002, 2003, 2004
|
||||
Copyright (C) 1998, 1999, 2000, 2002, 2003, 2004, 2005
|
||||
Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU Classpath.
|
||||
@@ -918,6 +918,10 @@ public final class URL implements Serializable
|
||||
Class c = Class.forName(clsName, true, systemClassLoader);
|
||||
ph = (URLStreamHandler) c.newInstance();
|
||||
}
|
||||
catch (ThreadDeath death)
|
||||
{
|
||||
throw death;
|
||||
}
|
||||
catch (Throwable t) { /* ignored */ }
|
||||
}
|
||||
while (ph == null && pkgPrefix.hasMoreTokens());
|
||||
|
||||
Reference in New Issue
Block a user