< prev index next >

src/java.base/windows/classes/sun/nio/ch/PendingIoCache.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2008, 2011, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2008, 2019, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 141,151 **** // cause all pending I/O operations to fail // simulate the failure of all pending I/O operations. for (Long ov: pendingIoMap.keySet()) { PendingFuture<?,?> result = pendingIoMap.get(ov); - assert !result.isDone(); // make I/O port aware of the stale OVERLAPPED structure Iocp iocp = (Iocp)((Groupable)result.channel()).group(); iocp.makeStale(ov); --- 141,150 ----
< prev index next >