git: openjdk/jdk: 8300491: SymbolLookup::libraryLookup accepts strings with terminators

Maurizio Cimadamore mcimadamore at openjdk.org
Thu May 25 15:23:15 UTC 2023


Changeset: 534de6d8
Author:    Maurizio Cimadamore <mcimadamore at openjdk.org>
Date:      2023-05-25 15:22:27 +0000
URL:       https://git.openjdk.org/jdk/commit/534de6d8ae8a241562ffae002a96e40c1ae0b015

8300491: SymbolLookup::libraryLookup accepts strings with terminators

Reviewed-by: psandoz

! src/java.base/share/classes/java/lang/foreign/SymbolLookup.java
! src/java.base/share/classes/jdk/internal/foreign/SystemLookup.java
! src/java.base/share/classes/jdk/internal/foreign/Utils.java
! test/jdk/java/foreign/LibraryLookupTest.java
! test/jdk/java/foreign/StdLibTest.java
! test/jdk/java/foreign/TestClassLoaderFindNative.java



More information about the jdk-changes mailing list