JDK-8286689 : (se) Adjusting to select timeout after EINTR messed up after JDK-8286378
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.nio
  • Affected Version: 19
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2022-05-13
  • Updated: 2024-11-08
  • Resolved: 2022-05-13
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 19
19 b23Fixed
Related Reports
Relates :  
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.
Comments
A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/8693 Date: 2022-05-13 08:13:35 +0000
08-11-2024

Changeset: 0be1f3e1 Author: Jaikiran Pai <jpai@openjdk.org> Date: 2022-05-13 11:08:50 +0000 URL: https://git.openjdk.java.net/jdk/commit/0be1f3e1b0f4ac515a86e9f8e1999dc090b1bdd2
13-05-2022

A pull request was submitted for review. URL: https://git.openjdk.java.net/jdk/pull/8693 Date: 2022-05-13 08:13:35 +0000
13-05-2022