8014427: REGRESSION: closed/javax/imageio/plugins/bmp/Write3ByteBgrTest.java fails since 7u25 b09

Reviewed-by: prr
This commit is contained in:
Andrew Brygin 2013-05-14 21:10:47 +04:00
parent aa3ca48b35
commit 9411edc759

View File

@ -392,7 +392,8 @@ public class Raster {
}
}
int banks = maxBank + 1;
int size = scanlineStride * (h - 1) + // fisrt (h - 1) scans
int size = maxBandOff +
scanlineStride * (h - 1) + // fisrt (h - 1) scans
w; // last scan
switch(dataType) {