- 
    Bug 
- 
    Resolution: Duplicate
- 
     P4 P4
- 
    None
- 
    12
- 
        windows
                    The following test:
java/nio/channels/AsynchronousFileChannel/Basic.java
failed an assertion in the JDK12 CI.
Here is a snippet of the log file:
----------System.out:(8/169)----------
testUsingCompletionHandlers
testUsingWaitOnResult
testInterruptHandlerThread
testClosedChannel
testLocking
testCustomThreadPool
testAsynchronousClose
testCancel
----------System.err:(16/984)----------
java.lang.AssertionError
at java.base/sun.nio.ch.PendingIoCache.clearPendingIoMap(PendingIoCache.java:146)
at java.base/sun.nio.ch.PendingIoCache.close(PendingIoCache.java:116)
at java.base/sun.nio.ch.WindowsAsynchronousFileChannelImpl.close(WindowsAsynchronousFileChannelImpl.java:145)
at Basic.testCancel(Basic.java:482)
at Basic.main(Basic.java:67)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:246)
at java.base/java.lang.Thread.run(Thread.java:835)
JavaTest Message: Test threw exception: java.lang.AssertionError
JavaTest Message: shutting down test
result: Failed. Execution failed: `main' threw exception: java.lang.AssertionError
test result: Failed. Execution failed: `main' threw exception: java.lang.AssertionError
            
java/nio/channels/AsynchronousFileChannel/Basic.java
failed an assertion in the JDK12 CI.
Here is a snippet of the log file:
----------System.out:(8/169)----------
testUsingCompletionHandlers
testUsingWaitOnResult
testInterruptHandlerThread
testClosedChannel
testLocking
testCustomThreadPool
testAsynchronousClose
testCancel
----------System.err:(16/984)----------
java.lang.AssertionError
at java.base/sun.nio.ch.PendingIoCache.clearPendingIoMap(PendingIoCache.java:146)
at java.base/sun.nio.ch.PendingIoCache.close(PendingIoCache.java:116)
at java.base/sun.nio.ch.WindowsAsynchronousFileChannelImpl.close(WindowsAsynchronousFileChannelImpl.java:145)
at Basic.testCancel(Basic.java:482)
at Basic.main(Basic.java:67)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:246)
at java.base/java.lang.Thread.run(Thread.java:835)
JavaTest Message: Test threw exception: java.lang.AssertionError
JavaTest Message: shutting down test
result: Failed. Execution failed: `main' threw exception: java.lang.AssertionError
test result: Failed. Execution failed: `main' threw exception: java.lang.AssertionError
- duplicates
- 
                    JDK-7052549 (aio) AssertionError in sun.nio.ch.PendingIoCache.clearPendingIoMap (win) -           
- Closed
 
-         
- relates to
- 
                    JDK-8184157 (ch) AsynchronousFileChannel hangs with internal error when reading locked file -           
- Resolved
 
-