mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8200458: (se) Readiness information previously recorded in the ready set not preserved
Reviewed-by: bpb, chegar
This commit is contained in:
parent
d185d65b69
commit
97d7cfb14e
8 changed files with 193 additions and 128 deletions
|
@ -184,7 +184,7 @@ class DevPollSelectorImpl
|
|||
if (ski != null) {
|
||||
int rOps = pollWrapper.getReventOps(i);
|
||||
if (selectedKeys.contains(ski)) {
|
||||
if (ski.translateAndSetReadyOps(rOps)) {
|
||||
if (ski.translateAndUpdateReadyOps(rOps)) {
|
||||
numKeysUpdated++;
|
||||
}
|
||||
} else {
|
||||
|
|
|
@ -188,7 +188,7 @@ class EventPortSelectorImpl
|
|||
if (ski != null) {
|
||||
int rOps = getEventOps(i);
|
||||
if (selectedKeys.contains(ski)) {
|
||||
if (ski.translateAndSetReadyOps(rOps)) {
|
||||
if (ski.translateAndUpdateReadyOps(rOps)) {
|
||||
numKeysUpdated++;
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue