/[classpath]/classpath/vm/reference/java/lang/Runtime.java
ViewVC logotype

Diff of /classpath/vm/reference/java/lang/Runtime.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch 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        {        {

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26