Just IMHO, I suggest replacing them only if there is a performance improvement(e.g. benchmark reports). Changing field types will break users' existing application code, they might reflectively modify these values.
Re: <i18n dev> RFR: 8263561: Re-examine uses of LinkedList
On Mon, 15 Mar 2021 06:56:00 GMT, Alan Bateman <[hidden email]> 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.