/[classpath]/classpath/java/lang/ThreadGroup.java
ViewVC logotype

Diff of /classpath/java/lang/ThreadGroup.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.16.2.2 by gnu_andrew, Sat Feb 19 10:50:37 2005 UTC revision 1.16.2.3 by tromey, Wed Apr 20 20:41:44 2005 UTC
# Line 37  exception statement from your version. * Line 37  exception statement from your version. *
37    
38  package java.lang;  package java.lang;
39    
40    import java.lang.Thread.UncaughtExceptionHandler;
41  import java.util.Vector;  import java.util.Vector;
42    
43  /**  /**
# Line 53  import java.util.Vector; Line 54  import java.util.Vector;
54   * @since 1.0   * @since 1.0
55   * @status updated to 1.4   * @status updated to 1.4
56   */   */
57  public class ThreadGroup  public class ThreadGroup implements UncaughtExceptionHandler
58  {  {
59    /** The Initial, top-level ThreadGroup. */    /** The Initial, top-level ThreadGroup. */
60    static ThreadGroup root = new ThreadGroup();    static ThreadGroup root = new ThreadGroup();
# Line 545  public class ThreadGroup Line 546  public class ThreadGroup
546    {    {
547      if (parent != null)      if (parent != null)
548        parent.uncaughtException(thread, t);        parent.uncaughtException(thread, t);
549        else if (Thread.getDefaultUncaughtExceptionHandler() != null)
550          Thread.getDefaultUncaughtExceptionHandler().uncaughtException(thread, t);
551      else if (! (t instanceof ThreadDeath))      else if (! (t instanceof ThreadDeath))
552        {        {
553          if (t == null)          if (t == null)

Legend:
Removed from v.1.16.2.2  
changed lines
  Added in v.1.16.2.3

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