You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexey Petrenko (JIRA)" <ji...@apache.org> on 2006/12/21 12:36:23 UTC
[jira] Resolved: (HARMONY-1656) [classlib][awt]
BufferedImage.getProperty("XXX") returns null while RI returns
Image.UndefinedProperty
[ 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