Luc Girardin created XGC-83:
-------------------------------

             Summary: 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


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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to