On Mon, 15 Mar 2021 06:56:00 GMT, Alan Bateman <al...@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