8147413: api/java_awt/Image/MultiResolutionImage/index.html\#MultiResolutionRenderingHints[test_VALUE_RESOLUTION_VARIANT_BASE] started to fail
Reviewed-by: alexsch, flar
--- a/jdk/src/java.desktop/share/classes/sun/java2d/SunGraphics2D.java Mon Feb 01 15:39:02 2016 +0530
+++ b/jdk/src/java.desktop/share/classes/sun/java2d/SunGraphics2D.java Tue Feb 02 11:50:24 2016 +0530
@@ -3118,8 +3118,7 @@
invalidateTransform();
}
return result;
- } else if (resolutionVariantHint != SunHints.INTVAL_RESOLUTION_VARIANT_BASE
- && (img instanceof MultiResolutionImage)) {
+ } else if (img instanceof MultiResolutionImage) {
// get scaled destination image size
int width = img.getWidth(observer);