<i18n dev> RFR: 8263561: Re-examine uses of LinkedList
Сергей Цыпанов
github.com+10835776+stsypanov at openjdk.java.net
Thu Apr 8 08:50:09 UTC 2021
On Mon, 15 Mar 2021 06:56:00 GMT, Alan Bateman <alanb at openjdk.org> wrote:
>> Nothing outside of the JDK should be hacking into this private field of a non-exposed class, this should not be a concern here.
>
>> @AlanBateman so is it ok to keep `ArrayLists`?
>
> One thing to look out for is usages of 2-arg add method that inserts at a specific position. This shouldn't be a concern in URLClassPath.closeLoaders (assuming this is this usage where the question arises).
@AlanBateman looks like `List.add(o, i)` is not used at all in scope of these changes.
-------------
PR: https://git.openjdk.java.net/jdk/pull/2744
More information about the i18n-dev
mailing list