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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 7
    • 1.3.0, 1.3.1, 1.4.1, 7
    • core-libs
    • b18
    • generic, sparc
    • generic, solaris_2.5
    • Not verified

        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.

              chegar Chris Hegarty
              duke J. Duke
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: