ImageIcon.getNextID uses `mediaTrackerID ` which do not detect overflow. Theoretically there is a possibility that there can be overflow in the long time run or for large number of created "imageIcon"
Made sure there is no overflow and treat that loadImage as ABORTED No regression testcase as it addresses theoretical possibility.. ------------- Commit messages: - getNextID in ImageIcon class can lead to overflow Changes: https://git.openjdk.org/jdk/pull/25666/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=25666&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8055461 Stats: 10 lines in 1 file changed: 9 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/25666.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/25666/head:pull/25666 PR: https://git.openjdk.org/jdk/pull/25666