Number overflow in javax/imageio/stream/MemoryCache.java I tried to reproduce the issue but was not able to create stream or BufferedImage of such a large size because of array size limitations. Submitter has mentioned simple fix for overflow which has solved his issue. I have verified the fix by running jtreg and compatibility tests and there are no failures.
------------- Commit messages: - 8252100: NumberOverflow in class MemoryCache Changes: https://git.openjdk.java.net/jdk/pull/182/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=182&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8252100 Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod Patch: https://git.openjdk.java.net/jdk/pull/182.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/182/head:pull/182 PR: https://git.openjdk.java.net/jdk/pull/182