Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8210968

AsynchronousFileChannel/Basic.java failed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 12
    • core-libs

      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

            Unassigned Unassigned
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: