The test draws some specific pattern to the VolatileImage and to the BufferedImage, and then compare pixels.
The test uses the getSnapshot() method to get the pixels from VolatileImage, and this method produces some interpolation "artifacts" if the fractional scale is used in the system(like 125%). The solution is to use some predefined scale factors. ------------- Commit messages: - Initial fix Changes: https://git.openjdk.java.net/jdk/pull/921/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=921&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8196087 Stats: 4 lines in 2 files changed: 2 ins; 1 del; 1 mod Patch: https://git.openjdk.java.net/jdk/pull/921.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/921/head:pull/921 PR: https://git.openjdk.java.net/jdk/pull/921