Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8210231 Robot.delay() catches InterruptedException and prints stacktrace to stderr
  3. JDK-8236543

Release Note: The java.awt.Robot.delay() method completes with the interrupt status set when interrupted

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: P4
    • Resolution: Delivered
    • Affects Version/s: 8, 11, 15
    • Fix Version/s: 15
    • Component/s: client-libs
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      The implementation of the `java.awt.Robot.delay()` method was changed to complete with the interrupt status set when interrupted.

      If a thread is interrupted while waiting in the `java.awt.Robot.delay()` method, then this method will return immediately with the interrupt status set. If the interrupted status is already set, this method returns immediately with the interrupt status set.

        Attachments

          Activity

            People

            • Assignee:
              serb Sergey Bylokhov
              Reporter:
              serb Sergey Bylokhov
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: