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

API Spec for Object.wait() does not specify what happens with negative values

XMLWordPrintable

    • 1.1
    • sparc
    • solaris_2.4
    • Not verified

      API Spec for Object.wait( long timeout ) does not specify what happens when you put
      a negative value for timeout.

      [Tim, 7/25/96:] I'm making this bug the master of 1251558, 1251623, and1251630,
      which are all about different values that the API for Object.wait doesn't describe,
      and closing those other bugs as redundant. Be sure to address their points when
      fixing the documentation for Object.wait.

      The description field as copied from bug report 1251558 follows:

      API Spec for Object.wait( long timeout ) does not specify what happens when you put
      in zero for timeout.

      The description field as copied from bug report 1251623 follows:

      API Spec for Object.wait( long, int ) does not describe what happens when int is a negative
      number. It should.

      The description field as copied from bug report 1251630 follows:

      API Spec for Object.wait( long timeout, int nanos ) does not describe what happens when
      int is greater than 999,999. It should.

            tlindholsunw Timothy Lindholm (Inactive)
            kasmithsunw Kevin Smith (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: