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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 19
    • Fix Version/s: 19
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b23

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: