Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 3510 invoked from network); 21 Jul 2010 03:06:16 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 21 Jul 2010 03:06:16 -0000 Received: (qmail 84488 invoked by uid 500); 21 Jul 2010 03:06:16 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 84395 invoked by uid 500); 21 Jul 2010 03:06:14 -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 84388 invoked by uid 99); 21 Jul 2010 03:06:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Jul 2010 03:06:14 +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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Jul 2010 03:06:11 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o6L35n81007224 for ; Wed, 21 Jul 2010 03:05:50 GMT Message-ID: <31979352.489391279681549958.JavaMail.jira@thor> Date: Tue, 20 Jul 2010 23:05:49 -0400 (EDT) From: "deven you (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-6594) [classlib][nio_cahr] CharsetEncoder.flush(Bytebuffer) doesn't follow the spec and RI's behavior In-Reply-To: <762165.489311279680289645.JavaMail.jira@thor> 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-6594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] deven you updated HARMONY-6594: ------------------------------- Summary: [classlib][nio_cahr] CharsetEncoder.flush(Bytebuffer) doesn't follow the spec and RI's behavior (was: [classlib][luni] CharsetEncoder.flush(Bytebuffer) doesn't follow the spec and RI's behavior) > [classlib][nio_cahr] CharsetEncoder.flush(Bytebuffer) doesn't follow the spec and RI's behavior > ------------------------------------------------------------------------------------------------ > > Key: HARMONY-6594 > URL: https://issues.apache.org/jira/browse/HARMONY-6594 > Project: Harmony > Issue Type: Bug > Components: Classlib > Affects Versions: 5.0M14 > Reporter: deven you > Attachments: HARMONY-6594.diff > > Original Estimate: 96h > Remaining Estimate: 96h > > Java 5 spec says the fulsh() will throw IllegalStateException If the previous step of the current encoding operation was an invocation neither of the reset method nor of the three-argument encode method with a value of true for the endOfInput parameter. > Our harmony one doesn't follow this behavior and won't throw Exception. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.