Details
-
Bug
-
Resolution: Fixed
-
P1
-
7u40, 8
-
b100
-
Verified
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8020890 | 7u60 | Sergey Bylokhov | P1 | Resolved | Fixed | b01 |
JDK-8021093 | 7u45 | Sergey Bylokhov | P1 | Closed | Fixed | b04 |
JDK-8014904 | 7u40 | Sergey Bylokhov | P3 | Closed | Fixed | b34 |
Description
Graphics.getClipBounds/getClip internally uses transformShape/untransformShape which are not symmetric in some cases.
Also getClipBounds() sometimes uses usrClip directly(if usrClip is a Rectangle) and sometimes uses getBounds(). But getBounds() returns empty Rectangle if width and height is negative.
This caused jck failure, if default graphics transform is not an identity.
Also getClipBounds() sometimes uses usrClip directly(if usrClip is a Rectangle) and sometimes uses getBounds(). But getBounds() returns empty Rectangle if width and height is negative.
This caused jck failure, if default graphics transform is not an identity.
Attachments
Issue Links
- backported by
-
JDK-8020890 Graphics.getClipBounds/getClip return difference nonequivalent bounds, depending from transform.
- Resolved
-
JDK-8021093 Graphics.getClipBounds/getClip return difference nonequivalent bounds, depending from transform.
- Closed
-
JDK-8014904 Graphics.getClipBounds/getClip return difference nonequivalent bounds, depending from transform.
- Closed
- duplicates
-
JDK-8019813 [macosx] application of a negative clip
- Resolved
- relates to
-
JDK-8000629 [macosx] Blurry rendering with Java 7 on Retina display
- Closed