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_v2.diff
        1 kB
        Ray Chen
      2. 6327.diff
        2 kB
        Ray Chen

        Activity

        Ray Chen created issue -
        Ray Chen made changes -
        Field Original Value New Value
        Attachment 6327.diff [ 12418207 ]
        Ray Chen made changes -
        Attachment 6327.diff [ 12418207 ]
        Ray Chen made changes -
        Attachment 6327.diff [ 12418209 ]
        Oliver Deakin made changes -
        Assignee Oliver Deakin [ odeakin ]
        Ray Chen made changes -
        Attachment 6327_v2.diff [ 12418364 ]
        Oliver Deakin made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Oliver Deakin made changes -
        Fix Version/s 5.0M12 [ 12314191 ]
        Affects Version/s 5.0M11 [ 12314031 ]
        Ray Chen made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          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