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

SelectorTest fails with client as Solaris, Win98 as server (BrokenPipe)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • core-libs
    • beta
    • generic
    • generic
    • Verified

      SelectorTest fails when Server is Windows, client solaris.
      It either stops during the write cycle ("writing from ...")
      then fails in Main, or throws an IOException, not always reproducible:

      Client: java.io.IOException: Broken pipe
              at sun.nio.ch.FileDispatcher.write0(Native Method)
              at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:31)
              at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:60)
              at sun.nio.ch.IOUtil.write(IOUtil.java:42)
              at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:123)
              at RemoteEntity.writeCycle(SelectorTest.java:272)
              at RemoteEntity.cycle(SelectorTest.java:244)
              at SelectorTest$Client.go(SelectorTest.java:103)
              at TestThread.run(TestThread.java:27)
      Exception in thread "main" java.lang.Exception: Failure
              at SelectorTest.main(SelectorTest.java:73)

      When windows is client and solaris is server, SelectorTest is
      successful.
      (build58)
      (SelectorTest copied from MASTER workspace 4/4/01)




            mmcclosksunw Michael Mccloskey (Inactive)
            kpolomsksunw Krystyna Polomski (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: