Parent Directory | Revision Log | Patch
revision 1.13 by ericb, Wed Mar 6 19:44:44 2002 UTC | revision 1.14 by ericb, Wed Mar 20 20:04:32 2002 UTC | |
---|---|---|
# | Line 269 public class Runtime | Line 269 public class Runtime |
269 | SecurityManager sm = securityManager; // Be thread-safe! | SecurityManager sm = securityManager; // Be thread-safe! |
270 | if (sm != null) | if (sm != null) |
271 | sm.checkPermission(new RuntimePermission("shutdownHooks")); | sm.checkPermission(new RuntimePermission("shutdownHooks")); |
272 | if (hook.isAlive()) | if (hook.isAlive() || hook.getThreadGroup() == null) |
273 | throw new IllegalArgumentException(); | throw new IllegalArgumentException(); |
274 | synchronized (libpath) | synchronized (libpath) |
275 | { | { |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |