(se) Adjusting to select timeout after EINTR messed up after JDK-8286378

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 19
    • Affects Version/s: 19
    • Component/s: core-libs
    • b23
    • Verified

      JDK-8286378 has a small transposition error that changes the code the adjust the selection operation timeout after EINTR.

      In src/java.base/linux/classes/sun/nio/ch/EPollSelectorImpl.java and src/java.base/unix/classes/sun/nio/ch/PollSelectorImpl, the use of "to -=" change "to =-" in error. Note that the macOS KQueuePollSelectorImpl.doSelect method was not changed JDK-8286378.

            Assignee:
            Jaikiran Pai
            Reporter:
            Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: