diff options
Diffstat (limited to 'luni/src/main/java/java/lang/Thread.java')
-rw-r--r-- | luni/src/main/java/java/lang/Thread.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/luni/src/main/java/java/lang/Thread.java b/luni/src/main/java/java/lang/Thread.java index 210b90c..5e98430 100644 --- a/luni/src/main/java/java/lang/Thread.java +++ b/luni/src/main/java/java/lang/Thread.java @@ -792,7 +792,7 @@ public class Thread implements Runnable { */ public final void join(long millis, int nanos) throws InterruptedException { if (millis < 0 || nanos < 0 || nanos >= NANOS_PER_MILLI) { - throw new IllegalArgumentException(); + throw new IllegalArgumentException("bad timeout: millis=" + millis + ",nanos=" + nanos); } // avoid overflow: if total > 292,277 years, just wait forever |