harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Deakin (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-6327) [classlib][nio]FileChannelTest failed on z/OS
Date Wed, 02 Sep 2009 08:26:33 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-6327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12750327#action_12750327
] 

Oliver Deakin commented on HARMONY-6327:
----------------------------------------

Hi Ray,

Does AIX also need the same changes? I have had a look for the technical documentation on
this function and the only resources I can find seem to indication that send_file always returns
0 on success and -1 on failure:
http://publib16.boulder.ibm.com/doc_link/en_US/a_doc_lib/libs/commtrf2/send_file.htm

Do you think we should change the AIX block also?

Also, since positionBack is only used in the zOS block, it should probably only be defined
and set there, rather than for all platforms. Do you agree?


> [classlib][nio]FileChannelTest failed on z/OS
> ---------------------------------------------
>
>                 Key: HARMONY-6327
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6327
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: z/OS platform
>            Reporter: Ray Chen
>            Assignee: Oliver Deakin
>         Attachments: 6327.diff
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message