Harmony
  1. Harmony
  2. HARMONY-6327

[classlib][nio]FileChannelTest failed on z/OS

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.0M11
    • Fix Version/s: 5.0M12
    • Component/s: Classlib
    • Labels:
      None
    • Environment:
      z/OS platform
    • Patch Info:
      Patch Available
    • Estimated Complexity:
      Moderate

      Description

      Failed on FileChannelTest.test_transferToJJLWritableByteChannel_SocketChannel
      Both line 3062 & 3063 failed
      Line 3062: 36 is expected but it gets 0
      Line 3063: 10 is expected but it gets 38

      Bug in modules/luni/src/main/native/luni/unix/OSFileSystemLinux32.c
      send_file() function returns 0 if success
      However it should return the count of trasfered bytes
      And transefer should not change the position value

      1. 6327.diff
        2 kB
        Ray Chen
      2. 6327_v2.diff
        1 kB
        Ray Chen

        Activity

          People

          • Assignee:
            Oliver Deakin
            Reporter:
            Ray Chen
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 48h
              48h
              Remaining:
              Remaining Estimate - 48h
              48h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development