Details
-
Bug
-
Resolution: Fixed
-
P2
-
7u40, 8
-
b100
-
Verified
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8020905 | 7u60 | Sergey Bylokhov | P2 | Resolved | Fixed | b01 |
JDK-8021106 | 7u45 | Sergey Bylokhov | P2 | Closed | Fixed | b04 |
JDK-8020611 | 7u40 | Sergey Bylokhov | P2 | Closed | Fixed | b34 |
Description
Some fixes were incorrectly merged into the jdk8-dev and jdk7u-dev.
jdk8:
http://hg.openjdk.java.net/jdk8/awt/jdk/rev/aa4610fe8a73
- peer.notifyReshape(x, y, width, height);
+
final GraphicsConfiguration newGC = peer.getGraphicsConfiguration();
// System-dependent appearance optimization.
+ if (peer != null) {
+ peer.notifyReshape(x, y, width, height);
+ }
+
jdk7:
http://hg.openjdk.java.net/jdk7u/jdk7u-dev/jdk/rev/9062acbc098c
- final GraphicsConfiguration oldGC = peer.getGraphicsConfiguration();
- peer.notifyReshape(x, y, width, height);
- final GraphicsConfiguration newGC = peer.getGraphicsConfiguration();
+ final GraphicsConfiguration oldGC = contentView.getGraphicsConfiguration();
+
+ if (peer!= null) {
+ peer.notifyReshape(x, y, width, height);
+ }
+
+ final GraphicsConfiguration newGC = contentView.getGraphicsConfiguration();
jdk8:
http://hg.openjdk.java.net/jdk8/awt/jdk/rev/aa4610fe8a73
- peer.notifyReshape(x, y, width, height);
+
final GraphicsConfiguration newGC = peer.getGraphicsConfiguration();
// System-dependent appearance optimization.
+ if (peer != null) {
+ peer.notifyReshape(x, y, width, height);
+ }
+
jdk7:
http://hg.openjdk.java.net/jdk7u/jdk7u-dev/jdk/rev/9062acbc098c
- final GraphicsConfiguration oldGC = peer.getGraphicsConfiguration();
- peer.notifyReshape(x, y, width, height);
- final GraphicsConfiguration newGC = peer.getGraphicsConfiguration();
+ final GraphicsConfiguration oldGC = contentView.getGraphicsConfiguration();
+
+ if (peer!= null) {
+ peer.notifyReshape(x, y, width, height);
+ }
+
+ final GraphicsConfiguration newGC = contentView.getGraphicsConfiguration();
Attachments
Issue Links
- backported by
-
JDK-8020905 [macosx] Incorrect merge in the lwawt code.
- Resolved
-
JDK-8020611 [macosx] Incorrect merge in the lwawt code.
- Closed
-
JDK-8021106 [macosx] Incorrect merge in the lwawt code.
- Closed