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

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

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

revision 1.26 by cbj, Tue Jul 29 01:34:05 2003 UTC revision 1.27 by mark, Sat Aug 9 18:30:18 2003 UTC
# Line 105  public class Thread implements Runnable Line 105  public class Thread implements Runnable
105    int priority;    int priority;
106    
107    /** The context classloader for this Thread. */    /** The context classloader for this Thread. */
108    private ClassLoader contextClassLoader = ClassLoader.getSystemClassLoader();    private ClassLoader contextClassLoader;
109    
110    /** The next thread number to use. */    /** The next thread number to use. */
111    private static int numAnonymousThreadsCreated = 0;    private static int numAnonymousThreadsCreated = 0;
# Line 274  public class Thread implements Runnable Line 274  public class Thread implements Runnable
274      this.toRun = toRun;      this.toRun = toRun;
275      if (current == null)      if (current == null)
276        {        {
277        priority = NORM_PRIORITY;          priority = NORM_PRIORITY;
278        daemon = false;          daemon = false;
279            contextClassLoader = ClassLoader.getSystemClassLoader();
280        }        }
281      else      else
282        {        {
283        priority = current.priority;          priority = current.priority;
284        daemon = current.daemon;          daemon = current.daemon;
285            contextClassLoader = current.contextClassLoader;
286        }        }
287      nativeInit(size);      nativeInit(size);
288    

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27

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