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

Preserve thread interrupted status in PassFailJFrame.syncLocationToWindowManager

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 20
    • client-libs
    • b12
    • 20

      PassFailJFrame.syncLocationToWindowManager uses Thread.sleep to delay execution and catches InterruptedException which resets Thread.isInterrupted status. Since the method does nothing else to interrupt thread execution, it should call Thread.interrupt() to restore the flag.

            aivanov Alexey Ivanov
            aivanov Alexey Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: