Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 11363 invoked from network); 17 Jun 2009 07:36:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Jun 2009 07:36:20 -0000 Received: (qmail 28442 invoked by uid 500); 17 Jun 2009 07:36:31 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 28407 invoked by uid 500); 17 Jun 2009 07:36:31 -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 28398 invoked by uid 99); 17 Jun 2009 07:36:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jun 2009 07:36:31 +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, 17 Jun 2009 07:36:28 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 53A86234C044 for ; Wed, 17 Jun 2009 00:36:07 -0700 (PDT) Message-ID: <573689370.1245224167330.JavaMail.jira@brutus> Date: Wed, 17 Jun 2009 00:36:07 -0700 (PDT) From: "Tim Ellison (JIRA)" To: commits@harmony.apache.org Subject: [jira] Closed: (HARMONY-6234) [classlib][nio] FileChannel.transferTo should not check the upper bound of position and count In-Reply-To: <17268765.1245056827487.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-6234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tim Ellison closed HARMONY-6234. -------------------------------- > [classlib][nio] FileChannel.transferTo should not check the upper bound of position and count > --------------------------------------------------------------------------------------------- > > Key: HARMONY-6234 > URL: https://issues.apache.org/jira/browse/HARMONY-6234 > Project: Harmony > Issue Type: Bug > Environment: 64bit machine. > Reporter: Li Jing Qin > Assignee: Tim Ellison > Priority: Minor > Fix For: 5.0M11 > > Attachments: HARMONY-6234.diff > > > We should not check the upper bound of position and count with Integer.MAX_VALUE. > 1. api does not say that. > 2. On the 64bit machine, using the java test file contained in HARMONY-6232, change the offset to a number which is bigger than the Integer.MAX_VALUE. Using a pretty large test file, I am using a file with size 4G. > The test case should be passed on the 64bit machine. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.