-
Bug
-
Resolution: Fixed
-
P3
-
1.3.0, 1.3.1, 1.4.1, 7
-
b18
-
generic, sparc
-
generic, solaris_2.5
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2152881 | OpenJDK6 | Chris Hegarty | P3 | Resolved | Fixed | b01 |
Name: vsC97678 Date: 02/08/2000
Javadoc for J2SE v1.3 does not describe any possible exception thrown
in case of negative input parameter in sleep(long millis) method.
Actually, the implementation (JDK 1.3) throws the IllegalArgumentException
which should be documented.
======================================================================
The situation with the single arg join method is identical and the two arg join method has a typo in the @exception too.
Javadoc for J2SE v1.3 does not describe any possible exception thrown
in case of negative input parameter in sleep(long millis) method.
Actually, the implementation (JDK 1.3) throws the IllegalArgumentException
which should be documented.
======================================================================
The situation with the single arg join method is identical and the two arg join method has a typo in the @exception too.
- backported by
-
JDK-2152881 (spec thread) Incomplete spec for Thread.{sleep(),join()} signatures that take arguments
-
- Resolved
-
- duplicates
-
JDK-4712520 (spec thread) Thread.sleep(long) missing "@throws IllegalArgumentException"
-
- Closed
-
-
JDK-4712553 (spec thread) Thread.join(long) missing "@throws IllegalArgumentException"
-
- Closed
-
- relates to
-
JDK-4189292 (thread spec) ThreadGroup and Thread need better and tighter specs
-
- Closed
-