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

(fc) Unix version ofFileChannelImpl.transferTo0() should should return IOS_UNSUPPORTED if not Linux, macOS, nor AIX

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 20
    • 20
    • core-libs
    • b03
    • other

      If not being compiled on Linux, macOS, or AIX, transferTo() returns

      #else
          return IOS_UNSUPPORTED_CASE;
      #endif

      when it should be

      #else
          return IOS_UNSUPPORTED;
      #endif

      as the function is not available on the OS in question.

            bpb Brian Burkhalter
            bpb Brian Burkhalter
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: