Luc Girardin created BATIK-1043:
-----------------------------------
Summary: GraphicContext.setRenderingHint() does not accept null as
value
Key: BATIK-1043
URL: https://issues.apache.org/jira/browse/BATIK-1043
Project: Batik
Issue Type: Bug
Components: SVGGraphics2D
Affects Versions: 1.8
Reporter: Luc Girardin
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.batik.ext.awt.g2d.GraphicContext does not accept null as value and
throws a IllegalArgumentException.
One can find multiple people having been faced with this issue, e.g.:
https://issues.apache.org/jira/browse/BATIK-1030
https://java.net/jira/browse/SVGSALAMANDER-4
http://sourceforge.net/mailarchive/message.php?msg_id=30140056
http://osgeo-org.1560.x6.nabble.com/SVG-export-error-td4320781.html
...
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]