Hello, Please review fix for JDK9:
bug: https://bugs.openjdk.java.net/browse/JDK-8170387 webrev: http://cr.openjdk.java.net/~ssadetsky/8170387/webrev.00/After the rounding the resulting rectangular area may became bigger than the buffer image size and this will cause IOOB error during the consequent System#arraycopy() calls. To prevent this error the updated area is bounded to the buffer image size.
--Semyon