xmlgraphics-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luc Girardin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (XGC-83) GraphicContext.setRenderingHint() does not accept null as value
Date Mon, 06 May 2013 12:48:15 GMT
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: general-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: general-help@xmlgraphics.apache.org

View raw message