[OpenJDK 2D-Dev] Review Request JDK-8129457: Disposer.pollRemove may fail to dispose
prasanta sadhukhan
prasanta.sadhukhan at oracle.com
Wed Jun 24 09:04:43 UTC 2015
Hi,
Please review a small fix for this issue where it seems if polling is
performed before the bounds are checked then it may happen that "obj"
maybe removed from queue without getting disposed if the bounds checks
are exceeded. Fix is to check for bounds before polling the queue to
remove the object so that we can bail out if bounds are exceeded before
obj is removed from queue.
Bug: https://bugs.openjdk.java.net/browse/JDK-8129457
Webrev: http://cr.openjdk.java.net/~psadhukhan/8129457/webrev.00/
Regards
Prasanta
More information about the 2d-dev
mailing list