harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pons Rudy (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-6540) [classlib][awt] Font(Map) constructor recognized all attributes instead of only those defined in TextAttribute
Date Wed, 02 Jun 2010 17:27:38 GMT
[classlib][awt] Font(Map) constructor recognized all attributes instead of only those defined
in TextAttribute
--------------------------------------------------------------------------------------------------------------

                 Key: HARMONY-6540
                 URL: https://issues.apache.org/jira/browse/HARMONY-6540
             Project: Harmony
          Issue Type: Bug
            Reporter: Pons Rudy


The Font class documentation says the Font(Map) constructor recognize only the attributes
defined in TextAttribute class.
The actual Font implementation recognize all attributes :
Map<? extends AttributedCharacterIterator.Attribute, ?> map = ...;
Font f = new Font(map);
f.getAttributes();

return attributes in map which are not defined in TextAttribute.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message