You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Denis Kishenko (JIRA)" <ji...@apache.org> on 2006/10/02 14:39:20 UTC

[jira] Updated: (HARMONY-1656) [classlib][awt] BufferedImage.getProperty("XXX") returns null while RI returns Image.UndefinedProperty

     [ http://issues.apache.org/jira/browse/HARMONY-1656?page=all ]

Denis Kishenko updated HARMONY-1656:
------------------------------------

    Attachment: HARMONY-1656-BufferedImageTest.patch

test

> [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
>         Attachments: HARMONY-1656-BufferedImage.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