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

java.nio.channels.spi.SelectorProvider.inheritedChannel() sometimes throws Inter

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b44
    • CPU:
      sparc
    • OS:
      solaris_2.6

      Description



      Name: szR10253 Date: 02/19/2004


      Filed By : SPB JCK team (###@###.###)
      JDK :
      JCK : 1.5
      Platform[s] : Solaris
      switch/Mode :
      JCK test owner : http://javaweb.eng/jct/sqe/JCK-tck/usr/owners.jto
      Failing Test [s] :
      api/java_lang/System/index.html#inetd[System2025,System2026]
      api/java_nio/channels/spi/SelectorProvider/index.html#[SelectorProvider0007-0011]


      Problem description
      ===================
      The following tests periodically fail with InternalError:

      -------------
      java.lang.InternalError: FileDescriptor.in isn't 0 as expected
      -------------

      The failure aren't reproducable manually, when trying to find a crosstest dependencies. Failed something about 30% of nightly builds, usually one of the test urls, rarely both, only "runtime-batch-singleJVM".

      JCK test source location:
      ==========================
      /java/re/jck/1.5/promoted/latest/JCK-runtime-15/tests

      Test output:
      =============
      System2025: Failed. Test case throws exception: java.lang.InternalError: FileDescriptor.in isn't 0 as expected
      java.lang.InternalError: FileDescriptor.in isn't 0 as expected
      at sun.nio.ch.InheritedChannel.createChannel(InheritedChannel.java:135)
      at sun.nio.ch.InheritedChannel.getChannel(InheritedChannel.java:207)
      at sun.nio.ch.DevPollSelectorProvider.inheritedChannel(DevPollSelectorProvider.java:22)
      at java.lang.System.inheritedChannel(System.java:201)
      at javasoft.sqe.tests.api.java.lang.System.inetdTests+1.run(inetdTests.java:73)
      at javasoft.sqe.jck.lib.SecurityTestRunner.runTestWithTCKSM(SecurityTestRunner.java:278)
      at javasoft.sqe.jck.lib.SecurityTestRunner.runTestWithPermissions(SecurityTestRunner.java:235)
      at javasoft.sqe.jck.lib.SecurityTestRunner.runTestWithAllPermissions(SecurityTestRunner.java:157)
      at javasoft.sqe.jck.lib.AllPermissionSM.testRun(AllPermissionSM.java:86)
      at javasoft.sqe.tests.api.java.lang.System.inetdTests.System2026(inetdTests.java:85)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:494)
      at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:399)
      at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
      at com.sun.jck.lib.ExecJCKTestSameJVMCmd$Version2Test.execute(ExecJCKTestSameJVMCmd.java:372)
      at com.sun.jck.lib.ExecJCKTestSameJVMCmd$StandardTest.run(ExecJCKTestSameJVMCmd.java:317)
      at com.sun.jck.lib.ExecJCKTestSameJVMCmd.execute(ExecJCKTestSameJVMCmd.java:194)
      at com.sun.jck.lib.ExecJCKTestSameJVMCmd.run(ExecJCKTestSameJVMCmd.java:125)
      at com.sun.javatest.agent.Agent$Task.executeCommand(Agent.java:818)
      at com.sun.javatest.agent.Agent$Task.execute(Agent.java:749)
      at com.sun.javatest.agent.Agent$Task.handleRequest(Agent.java:610)
      at com.sun.javatest.agent.Agent.handleRequestsUntilClosed(Agent.java:377)
      at com.sun.javatest.agent.Agent.access$000(Agent.java:41)
      at com.sun.javatest.agent.Agent$1.run(Agent.java:253)
      at java.lang.Thread.run(Thread.java:566)

          
      ======================================================================

        Attachments

          Activity

            People

            Assignee:
            alanb Alan Bateman
            Reporter:
            duke J. Duke (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: