|
Relates :
|
Changes in the method introduced in JDK-8153522
int startX = (int)Math.floor(x * scaleX);
int startY = (int)Math.floor(y * scaleY);
int width = (int)Math.ceil((x + w) * scaleX) - startX;
int height = (int)Math.ceil((y + h) * scaleY) - startY;
potentially may cause IOOBE in
System.arraycopy(srcBuffer, from, copyBuffer, from, width);