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

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P5
    • None
    • Affects Version/s: 1.4.0
    • Component/s: 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

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

              Created:
              Updated:
              Imported:
              Indexed: