diff options
author | Guilhem Lavaux <guilhem@kaffe.org> | 2006-02-18 18:33:27 +0000 |
---|---|---|
committer | Guilhem Lavaux <guilhem@kaffe.org> | 2006-02-18 18:33:27 +0000 |
commit | cc0db4315db5e0550da9a4a13f4b5e502e58a5c2 (patch) | |
tree | 25a49d0fc9588fae44f8e5edfc496f612a316931 /java/lang/Thread.java | |
parent | 5093bf804963cd90f1c6c6053c0417f78b945ca6 (diff) | |
download | classpath-cc0db4315db5e0550da9a4a13f4b5e502e58a5c2.tar.gz |
Merged with HEAD.
Diffstat (limited to 'java/lang/Thread.java')
-rw-r--r-- | java/lang/Thread.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/lang/Thread.java b/java/lang/Thread.java index 9afde5bfd..76df1037b 100644 --- a/java/lang/Thread.java +++ b/java/lang/Thread.java @@ -906,7 +906,7 @@ public class Thread implements Runnable if (sm != null) { sm.checkAccess(this); - if (this != currentThread()) + if (this != currentThread() || !(t instanceof ThreadDeath)) sm.checkPermission(new RuntimePermission("stopThread")); } VMThread vt = vmThread; |