diff -r f1a8ec1a6972 -r 814bd31f8da0 src/java.base/windows/classes/sun/nio/ch/PollArrayWrapper.java --- a/src/java.base/windows/classes/sun/nio/ch/PollArrayWrapper.java Thu Mar 29 22:12:05 2018 -0700 +++ b/src/java.base/windows/classes/sun/nio/ch/PollArrayWrapper.java Fri Mar 30 08:28:09 2018 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -63,8 +63,9 @@ } // Prepare another pollfd struct for use. - void addEntry(int index, SelectionKeyImpl ski) { + void putEntry(int index, SelectionKeyImpl ski) { putDescriptor(index, ski.channel.getFDVal()); + putEventOps(index, 0); } // Writes the pollfd entry from the source wrapper at the source index