RFR: 8196340: (coll) Examine overriding inherited methods in ArrayList and ArrayList.SubList

Claes Redestad claes.redestad at oracle.com
Fri May 11 13:55:48 UTC 2018


Hi,

ArrayList doesn't override AbstracList#equals, and ArrayList$SubList 
doesn't override indexOf and equals. This provides specialized and more 
efficient implementations.

Webrev: http://cr.openjdk.java.net/~redestad/8196340/open.00/
Bug: https://bugs.openjdk.java.net/browse/JDK-8196340

Testing: passed all jdk-tier1 tests

/Claes


More information about the core-libs-dev mailing list