--- a/jdk/src/macosx/classes/com/apple/laf/AquaPainter.java Wed Apr 23 21:11:25 2014 +0400
+++ b/jdk/src/macosx/classes/com/apple/laf/AquaPainter.java Thu Apr 24 16:15:08 2014 +0400
@@ -174,11 +174,7 @@
bounds, controlState);
Image img = cache.getImage(key);
if (img == null) {
-
- Image baseImage = createImage(imgX, imgY, imgW, imgH, bounds,
- control, controlState);
-
- img = new MultiResolutionBufferedImage(baseImage,
+ img = new MultiResolutionCachedImage(imgW, imgH,
(rvWidth, rvHeight) -> createImage(imgX, imgY,
rvWidth, rvHeight, bounds, control, controlState));