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

(ch) test/java/nio/channels/AsyncCloseAndInterrupt.java fails in 5.0u8 and mustang (linux only)

XMLWordPrintable

    • b73
    • 6
    • b85
    • generic
    • generic

        test/java/nio/channels/AsyncCloseAndInterrupt.java is failing on Linux with 5.0u8 and Mustang since the integration of 6380091.

        6380091 fixes a reliability problem that arises when a SocketChannel is closed before any I/O is done. That fix is okay but it exposes another bug in the finishConnect implementation whereby it doesn't record the thread while doing the poll - that is needed on Linux for signallying purposes. The implication of the is that finishConnect does not throw CloseByInterruptedException when interrupted.

              alanb Alan Bateman
              alanb Alan Bateman
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: