Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-6327

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.0M11
    • 5.0M12
    • Classlib
    • None
    • z/OS platform
    • Patch Available
    • 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

      Attachments

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

        Activity

          People

            odeakin Oliver Deakin
            chleicdl 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