You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xmlgraphics.apache.org by "Luc Girardin (JIRA)" <ji...@apache.org> on 2013/05/06 14:54:16 UTC

[jira] [Resolved] (XGC-83) GraphicContext.setRenderingHint() does not accept null as value

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

Luc Girardin resolved XGC-83.
-----------------------------

    Resolution: Fixed

Patch has been submitted
                
> GraphicContext.setRenderingHint() does not accept null as value 
> ----------------------------------------------------------------
>
>                 Key: XGC-83
>                 URL: https://issues.apache.org/jira/browse/XGC-83
>             Project: XMLGraphicsCommons
>          Issue Type: Bug
>          Components: java2D
>    Affects Versions: Trunk
>            Reporter: Luc Girardin
>             Fix For: Trunk
>
>         Attachments: xmlgraphics-commons.patch
>
>
> A common behaviour is to call Graphics2D.setRenderingHint(key, value) with a null value to reset it to the default. However, the current implementation in org.apache.xmlgraphics.java2d.GraphicContext does not accept null as value and throws a IllegalArgumentException. See https://issues.apache.org/jira/browse/BATIK-1043 for more information about this issue.
> A patch will follow...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: general-help@xmlgraphics.apache.org