It is currently not possible to call setRenderingHint(key, null). This causes issues when using GLGraphics2D with Flying Saucer (https://github.com/flyingsaucerproject/flyingsaucer), as it is using following pattern:
As there are no hints by default, the initial value for all hints when queried is null. Not accepting null in getRenderingHint makes restoring initial value impossible.
It is currently not possible to call
setRenderingHint(key, null)
. This causes issues when usingGLGraphics2D
with Flying Saucer (https://github.com/flyingsaucerproject/flyingsaucer), as it is using following pattern:As there are no hints by default, the initial value for all hints when queried is
null
. Not acceptingnull
ingetRenderingHint
makes restoring initial value impossible.