Although it looks like a no-op for non hidpi it will be a more
significant change as these
become more common.
Its difficult to predict what problems it will cause but all those folks who
call setTransform() hopefully learned not to do that when printing.
You should definitely get Jim to look at this too but it looks OK to me.
-phil.
On 4/14/15 7:51 AM, Alexander Scherbatiy wrote:
Hello,
Could you review the fix:
bug: https://bugs.openjdk.java.net/browse/JDK-8069361
webrev: http://cr.openjdk.java.net/~alexsch/8069361/webrev.00
SunGraphics2D.getDefaultTransform() now returns transform which
includes GraphicsConfiguration default transform.
This can break a compatibility for applications which assumes that
default Graphics2D transform is always identity
and restore it as sg2d.setTransform(new AffineTransform()). However,
this is not now true for HiDPI displays.
Thanks,
Alexandr.