Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4310779

(spec thread) Incomplete spec for Thread.{sleep(),join()} signatures that take arguments

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 1.3.0, 1.3.1, 1.4.1, 7
    • Fix Version/s: 7
    • Component/s: core-libs
    • Subcomponent:
    • Resolved In Build:
      b18
    • CPU:
      generic, sparc
    • OS:
      generic, solaris_2.5
    • Verification:
      Not verified

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  chegar Chris Hegarty
                  Reporter:
                  duke J. Duke (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: