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

Object.{sleep,wait} should reject unsupported timeout values

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P5 P5
    • None
    • 1.4.0
    • core-libs
    • Fix Understood
    • generic
    • generic

      The java.lang.Object.sleep and .wait methods accept 64-bit timeout values, but
      in fact they just sleep forever if the timeout value does not fit into 32 bits.
      These methods should be fixed to throw an appropriate runtime exception if the
      requested timeout cannot be supported, and their specifications should be
      updated accordingly.

      -- mr@eng 2000/2/17

            Unassigned Unassigned
            mr Mark Reinhold
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: