mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8319560: Reformat method parameters in the FFM API
Reviewed-by: mcimadamore
This commit is contained in:
parent
ef8c8408a6
commit
134c382d39
4 changed files with 26 additions and 12 deletions
|
@ -262,7 +262,11 @@ public interface SymbolLookup {
|
|||
return libraryLookup(path, RawNativeLibraries::load, arena);
|
||||
}
|
||||
|
||||
private static <Z> SymbolLookup libraryLookup(Z libDesc, BiFunction<RawNativeLibraries, Z, NativeLibrary> loadLibraryFunc, Arena libArena) {
|
||||
private static <Z>
|
||||
SymbolLookup libraryLookup(Z libDesc,
|
||||
BiFunction<RawNativeLibraries, Z, NativeLibrary> loadLibraryFunc,
|
||||
Arena libArena) {
|
||||
|
||||
Objects.requireNonNull(libDesc);
|
||||
Objects.requireNonNull(libArena);
|
||||
// attempt to load native library from path or name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue