harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Denis Kishenko (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-1656) [classlib][awt] BufferedImage.getProperty("XXX") returns null while RI returns Image.UndefinedProperty
Date Mon, 02 Oct 2006 12:10:19 GMT
[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


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