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

(thread spec) Precisely when does Object.wait() throw InterruptedException?

XMLWordPrintable

    • b40
    • generic
    • generic

      After years of debate, JSR133 decided that the spec for
      Object.wait should change its @throws InterruptedException clause from

        if another thread has interrupted the current thread.
      to
        if another thread interrupted the current thread before or while
        the current thread was waiting for a notification.

            martin Martin Buchholz
            martin Martin Buchholz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: