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] Updated: (HARMONY-6540) [classlib][awt] Font(Map) constructor recognized all attributes instead of only those defined in TextAttribute
Date Wed, 02 Jun 2010 17:37:39 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-6540?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Pons Rudy updated HARMONY-6540:
-------------------------------

    Component/s: Classlib

> [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
>          Components: Classlib
>            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