You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Oleg Khaschansky (JIRA)" <ji...@apache.org> on 2006/12/15 12:25:24 UTC

[jira] Commented: (HARMONY-2717) [classlib][awt] Compatibility: java.awt.image.Raster.createPackedRaster(DataBuffer,int int,int ,int[] ,Point ) throws RasterFormatException while RI throws NPE

    [ http://issues.apache.org/jira/browse/HARMONY-2717?page=comments#action_12458753 ] 
            
Oleg Khaschansky commented on HARMONY-2717:
-------------------------------------------

Thanks, verified.

> [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
>         Assigned To: Alexey Petrenko
>            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