RFR: 8376406: Avoid loading ArrayDeque in jdk.internal.loader.NativeLibraries [v2]

Eirik Bjørsnøs eirbjo at openjdk.org
Fri Feb 20 13:17:45 UTC 2026


On Fri, 20 Feb 2026 13:10:23 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

>> Eirik Bjørsnøs has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Update copyright year
>
> src/java.base/share/classes/jdk/internal/loader/NativeLibraries.java line 479:
> 
>> 477: 
>> 478:         // Maps thread object to the native library context stack, maintained by each thread
>> 479:         private static Map<Thread, List<NativeLibraryImpl>> nativeLibraryThreadContext =
> 
> This field can be made `final`.

Fixed.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/29432#discussion_r2833151779


More information about the core-libs-dev mailing list