harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Petrenko (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HARMONY-1656) [classlib][awt] BufferedImage.getProperty("XXX") returns null while RI returns Image.UndefinedProperty
Date Thu, 21 Dec 2006 11:36:23 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-1656?page=all ]

Alexey Petrenko resolved HARMONY-1656.
--------------------------------------

    Resolution: Fixed

The patch has been applied.
Please verify.

> [classlib][awt] BufferedImage.getProperty("XXX") returns null while RI returns Image.UndefinedProperty
> ------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-1656
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1656
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Denis Kishenko
>         Assigned To: Alexey Petrenko
>         Attachments: HARMONY-1656-BufferedImage.patch, HARMONY-1656-BufferedImageTest(2).patch,
HARMONY-1656-BufferedImageTest(3).patch, HARMONY-1656-BufferedImageTest.patch
>
>
> Harmony implementation of BufferedImage.getProperty(String) returns null while RI returns
Image.UndefinedProperty if properties are undefined.
> ========== Test =================
> import java.awt.Image;
> import java.awt.image.BufferedImage;
> public class Test {
>     public static void main(String[] argv) {
>         BufferedImage img = new BufferedImage(10, 16, BufferedImage.TYPE_INT_ARGB);
>         System.out.println(Image.UndefinedProperty == img.getProperty("XXX"));
>     }
>  }
> ============== RI output ==============
> true
> ============ Harmony output ==========
> false

-- 
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

        

Mime
View raw message