From commits-return-60037-apmail-harmony-commits-archive=harmony.apache.org@harmony.apache.org Wed Sep 02 12:08:55 2009 Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 37611 invoked from network); 2 Sep 2009 12:08:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Sep 2009 12:08:55 -0000 Received: (qmail 27966 invoked by uid 500); 2 Sep 2009 12:08:54 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 27927 invoked by uid 500); 2 Sep 2009 12:08:54 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 27909 invoked by uid 99); 2 Sep 2009 12:08:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Sep 2009 12:08:54 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Sep 2009 12:08:52 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B5431234C004 for ; Wed, 2 Sep 2009 05:08:32 -0700 (PDT) Message-ID: <499413141.1251893312734.JavaMail.jira@brutus> Date: Wed, 2 Sep 2009 05:08:32 -0700 (PDT) From: "Oliver Deakin (JIRA)" To: commits@harmony.apache.org Subject: [jira] Resolved: (HARMONY-6327) [classlib][nio]FileChannelTest failed on z/OS In-Reply-To: <237934739.1251771692711.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-6327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oliver Deakin resolved HARMONY-6327. ------------------------------------ Resolution: Fixed Thanks Ray - patch applied at repo revision r810468. I made a slight modification - I moved the declaration and initialisation of positionBack inside the AIX/ZOS block as it is not used outside, and I also added the declaration of the result variable as it was missing. Please check that changes applied are as expected. > [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 > Affects Versions: 5.0M11 > Environment: z/OS platform > Reporter: Ray Chen > Assignee: Oliver Deakin > Attachments: 6327.diff, 6327_v2.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.