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

TEST_BUG: java/nio/channels/Selector/ChangingInterests.java failed once

    Details

    • Subcomponent:
    • Resolved In Build:
      b08

      Backports

        Description

        TESTFAIL:java/nio/channels/Selector/ChangingInterests.java

        Test java/nio/channels/Selector/ChangingInterests.java fails intermittently.

        ----------System.out:(31/558)----------
        (0) -> (0)
        select...
        0 channel(s) selected
        Test for spin...
        0 channel(s) selected
        0 channel(s) selected
        0 channel(s) selected

        (0) -> (POLLOUT)
        select...
        1 channel(s) selected
        key readable: false
        key writable: true

        (0) -> (POLLIN)
        select...
        1 channel(s) selected
        key readable: true
        key writable: false
        Drain channel...
        Test for spin...
        0 channel(s) selected
        0 channel(s) selected
        0 channel(s) selected
        Make channel readable again

        (0) -> (POLLIN|POLLOUT)
        select...
        1 channel(s) selected
        key readable: false
        key writable: true
        ----------System.err:(14/760)----------
        java.lang.RuntimeException: Expected to be readable
        at ChangingInterests.assertTrue(ChangingInterests.java:187)
        at ChangingInterests.testChange(ChangingInterests.java:104)
        at ChangingInterests.main(ChangingInterests.java:159)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:483)
        at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:746)
        at java.lang.Thread.run(Thread.java:744)

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

        result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Expected to be readable


        test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Expected to be readable

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mcui Michael Cui (Inactive)
                  Reporter:
                  ewang Eric Wang (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: