summaryrefslogtreecommitdiff
path: root/vm
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2002-09-10 21:32:02 +0000
committerMark Wielaard <mark@klomp.org>2002-09-10 21:32:02 +0000
commit59faf706235f0e5f98ff6fc6f0ed8df1e8a06f35 (patch)
treee5c22d4201c37d9c86e44b0e00aca3a0565ef22a /vm
parent75340c45c1659251141810a68ef15807a38f7831 (diff)
downloadclasspath-59faf706235f0e5f98ff6fc6f0ed8df1e8a06f35.tar.gz
* vm/reference/java/lang/Thread.java: Fix comment threat -> thread.
Diffstat (limited to 'vm')
-rw-r--r--vm/reference/java/lang/Thread.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/vm/reference/java/lang/Thread.java b/vm/reference/java/lang/Thread.java
index 23a379343..2f93d2451 100644
--- a/vm/reference/java/lang/Thread.java
+++ b/vm/reference/java/lang/Thread.java
@@ -286,7 +286,7 @@ public class Thread implements Runnable
* Yield to another thread. The Thread will not lose any locks it holds
* during this time. There are no guarantees which thread will be
* next to run, and it could even be this one, but most VMs will choose
- * the highest priority threat that has been waiting longest.
+ * the highest priority thread that has been waiting longest.
*/
public static native void yield();
@@ -294,7 +294,7 @@ public class Thread implements Runnable
* Suspend the current Thread's execution for the specified amount of
* time. The Thread will not lose any locks it has during this time. There
* are no guarantees which thread will be next to run, but most VMs will
- * choose the highest priority threat that has been waiting longest.
+ * choose the highest priority thread that has been waiting longest.
*
* @param ms the number of milliseconds to sleep, or 0 for forever
* @throws InterruptedException if the Thread is interrupted; it's
@@ -311,7 +311,7 @@ public class Thread implements Runnable
* Suspend the current Thread's execution for the specified amount of
* time. The Thread will not lose any locks it has during this time. There
* are no guarantees which thread will be next to run, but most VMs will
- * choose the highest priority threat that has been waiting longest.
+ * choose the highest priority thread that has been waiting longest.
*
* <p>Note that 1,000,000 nanoseconds == 1 millisecond, but most VMs do
* not offer that fine a grain of timing resolution. Besides, there is