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

(fc) Two java/nio/channels tests fail after JDK-8303260

XMLWordPrintable

    • b17
    • Verified

      The following two tests failed in the JDK21 CI:

      java/nio/channels/AsyncCloseAndInterrupt.java
      java/nio/channels/FileChannel/Transfer.java

      after the integration of:

      JDK-8303260 (fc) FileChannel::transferFrom should support position > size()

      The following fix was also included in the same integration:

      JDK-8298619 java/io/File/GetXSpace.java is failing

      However, that changeset appears to be closely related to
      the java/io/File/GetXSpace.java itself.

      Here's a "reasons column" snippet from the AsyncCloseAndInterrupt.java failure:

      Exception: java.lang.Exception: FileChannel/transferFrom/pre-interrupt threw an exception
      Exception: java.lang.RuntimeException: Channel still open

      Here's a "reasons column" snippet from the Transfer.java failure:

      Exception: java.lang.RuntimeException: Wrote past file size
      Exception: java.lang.Exception: failures: ...

      For some reason, the log file links are not working.

            bpb Brian Burkhalter
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: