Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 38111 invoked from network); 7 Apr 2006 05:38:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Apr 2006 05:38:51 -0000 Received: (qmail 98873 invoked by uid 500); 7 Apr 2006 05:38:51 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 98799 invoked by uid 500); 7 Apr 2006 05:38:51 -0000 Mailing-List: contact harmony-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-commits@incubator.apache.org Received: (qmail 98788 invoked by uid 99); 7 Apr 2006 05:38:51 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Apr 2006 22:38:51 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Apr 2006 22:38:50 -0700 Received: from ajax (localhost.localdomain [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id A6C20D4A00 for ; Fri, 7 Apr 2006 06:38:29 +0100 (BST) Message-ID: <1483037623.1144388309614.JavaMail.jira@ajax> Date: Fri, 7 Apr 2006 06:38:29 +0100 (BST) From: "Mark Hindess (JIRA)" To: harmony-commits@incubator.apache.org Subject: [jira] Updated: (HARMONY-264) java.nio.CharBuffer.wrap NullPointerException behaviour In-Reply-To: <728265326.1143571459954.JavaMail.jira@ajax> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/HARMONY-264?page=all ] Mark Hindess updated HARMONY-264: --------------------------------- Attachment: more.buffer.wrap.method.npe.fixes.diff This patch contains fixes and tests for the other wrap methods - those on ByteBuffer, CharBuffer, FloatBuffer, etc. that take an array - that are also broken in the same way. It assumes the first patch has already been applied. > java.nio.CharBuffer.wrap NullPointerException behaviour > ------------------------------------------------------- > > Key: HARMONY-264 > URL: http://issues.apache.org/jira/browse/HARMONY-264 > Project: Harmony > Type: Bug > Components: Classlib > Reporter: Mark Hindess > Priority: Trivial > Attachments: charbuffer.wrap.npe.diff, more.buffer.wrap.method.npe.fixes.diff > > java.nio.CharBuffer.wrap((j.l.CharSequence)null,(int)1,(int)0) throws a NullPointerException on the RI but Harmony throws an index out of bounds exception. > I will submit a patch with a fix and test shortly. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira