On Fri, 6 Jun 2025 03:29:47 GMT, Prasanta Sadhukhan <psadhuk...@openjdk.org> wrote:
> 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.. I wonder why [JDK-8055461](https://bugs.openjdk.org/browse/JDK-8055461) is an enhancement. It's *a bug*. ------------- PR Comment: https://git.openjdk.org/jdk/pull/25666#issuecomment-2962568721