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

(aio) AssertionError in sun.nio.ch.PendingIoCache.clearPendingIoMap (win)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • tbd
    • 7
    • core-libs
    • generic
    • windows

      jdk/test/java/nio/channels/AsynchronousSocketChannel/Basic.java has been failing intermittently on Windows for the last few months and needs to be investigated.

      --------------------------------------------------
      TEST: java/nio/channels/AsynchronousSocketChannel/Basic.java
      JDK under test: (C:\temp\jprt\P2\T\030614~1.JCG\TESTPR~1\WINDOW~1.2-P)
      java version "1.7.0-internal"
      Java(TM) SE Runtime Environment (build 1.7.0-internal-201106070306.jcg-integrator.tl-pit-b00)
      Java HotSpot(TM) 64-Bit Server VM (build 21.0-b15, mixed mode)


      ACTION: build -- Passed. Build successful
      REASON: Named class compiled on demand
      TIME: 0.172 seconds
      messages:
      command: build Basic
      reason: Named class compiled on demand
      elapsed time (seconds): 0.172

      ACTION: compile -- Passed. Compilation successful
      REASON: .class file out of date or does not exist
      TIME: 0.172 seconds
      messages:
      command: compile C:\temp\jprt\P2\T\030614.jcg-integrator\source\jdk\test\java\nio\channels\AsynchronousSocketChannel\Basic.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 0.172

      ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.AssertionError
      REASON: User specified action: run main/timeout=600 Basic
      TIME: 46.468 seconds
      messages:
      command: main Basic
      reason: User specified action: run main/timeout=600 Basic
      elapsed time (seconds): 46.468
      STDOUT:
      -- bind --
      -- socket options --
      -- connect --
      -- connect to non-existent host --
      -- asynchronous close when connecting --
      -- asynchronous close when reading --
      -- asynchronous close when writing --
      -- cancel --
      -- read (1) --
      -- read (2) --
      -- read (3) --
      -- write (1) --
      -- write (2) --
      -- timeouts --
      STDERR:
      java.lang.AssertionError
      at sun.nio.ch.PendingIoCache.clearPendingIoMap(PendingIoCache.java:145)
      at sun.nio.ch.PendingIoCache.close(PendingIoCache.java:115)
      at sun.nio.ch.WindowsAsynchronousSocketChannelImpl.implClose(WindowsAsynchronousSocketChannelImpl.java:154)
      at sun.nio.ch.AsynchronousSocketChannelImpl.close(AsynchronousSocketChannelImpl.java:140)
      at Basic.testTimeout(Basic.java:803)
      at Basic.testTimeout(Basic.java:719)
      at Basic.main(Basic.java:53)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:601)
      at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:680)
      at java.lang.Thread.run(Thread.java:722)

      JavaTest Message: Test threw exception: java.lang.AssertionError
      JavaTest Message: shutting down test


      TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.AssertionError
      --------------------------------------------------

        There are no Sub-Tasks for this issue.

            bpb Brian Burkhalter
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: