RFR : 7144488 StackOverflowError occurres on list via Collections.synchronizedList(List)

Seán Coffey sean.coffey at oracle.com
Wed Feb 22 13:25:01 UTC 2012

Bug recently reported. We enter infinite recursion on a boundary case 
for Collections.synchronizedList.remove(..)

Fix is a simple equals check in class method before delegating the call.

bug : http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7144488
webrev : http://cr.openjdk.java.net/~coffeys/webrev.7144488/


More information about the core-libs-dev mailing list