Hello,
Could you review the fix: bug: https://bugs.openjdk.java.net/browse/JDK-8160248 webrev: http://cr.openjdk.java.net/~alexsch/8160248/webrev.00SunGraphics2D.hitClip() does not guarantee that it returns false for non-intersected areas. This exactly happens for rectangles when floating point scale is used. See discussion:
http://mail.openjdk.java.net/pipermail/2d-dev/2016-June/007076.htmlThe proposed fix directly checks the graphics clip and component bounds intersection.
Thanks, Alexandr.