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] [Updated] (XGC-83) GraphicContext.setRenderingHint() does not accept null as value
Date Tue, 05 Mar 2019 15:12:00 GMT

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

Luc Girardin updated XGC-83:
----------------------------
    Priority: Critical  (was: Major)

> 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
>            Priority: Critical
>         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 was sent by Atlassian JIRA
(v7.6.3#76005)

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


Mime
View raw message