Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 16628 invoked from network); 14 Dec 2006 16:08:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Dec 2006 16:08:21 -0000 Received: (qmail 69287 invoked by uid 500); 14 Dec 2006 16:08:28 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 69251 invoked by uid 500); 14 Dec 2006 16:08:28 -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 69079 invoked by uid 99); 14 Dec 2006 16:08:27 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Dec 2006 08:08:26 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Dec 2006 08:07:55 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6016E7140F6 for ; Thu, 14 Dec 2006 08:07:22 -0800 (PST) Message-ID: <7801581.1166112442391.JavaMail.jira@brutus> Date: Thu, 14 Dec 2006 08:07:22 -0800 (PST) From: "Oleg Khaschansky (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-2717) [classlib][awt] Compatibility: java.awt.image.Raster.createPackedRaster(DataBuffer,int int,int ,int[] ,Point ) throws RasterFormatException while RI throws NPE In-Reply-To: <13196232.1166112201150.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/HARMONY-2717?page=all ] Oleg Khaschansky updated HARMONY-2717: -------------------------------------- Attachment: harmony-2717.patch patch > [classlib][awt] Compatibility: java.awt.image.Raster.createPackedRaster(DataBuffer,int int,int ,int[] ,Point ) throws RasterFormatException while RI throws NPE > --------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: HARMONY-2717 > URL: http://issues.apache.org/jira/browse/HARMONY-2717 > Project: Harmony > Issue Type: Bug > Components: Classlib > Reporter: Oleg Khaschansky > Priority: Minor > Attachments: harmony-2717-test.patch, harmony-2717.patch > > > Harmony throws RasterFormatException for > java.awt.image.Raster.createPackedRaster(DataBuffer dataBuffer,int w,int h, int scanlineStride,int[] bandMasks, Point location) > while RI throws NPE. Both exception are specified in the API specification. The issue is about wrong exception throwing order. Testcase is attached. -- 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