On Fri, 21 May 2021 14:15:53 GMT, Daniel Fuchs <dfu...@openjdk.org> wrote:
>> The usage of `LinkedList` is senseless and can be replaced with either >> `ArrayList` or `ArrayDeque` which are both more compact and effective. >> >> jdk:tier1 and jdk:tier2 are both ok > > src/java.base/share/classes/jdk/internal/util/jar/JarIndex.java line 155: > >> 153: */ >> 154: public List<String> get(String fileName) { >> 155: ArrayList<String> jarFiles; > > This could probably be declared as: > > > List<String> jarFiles; Done ------------- PR: https://git.openjdk.java.net/jdk/pull/2744