Search code examples
What is the correct way to obtain a String from a Foreign Function that returns a char pointer...


javaffijava-21java-22java-ffm

Read More
Lookup for a constant from a native library...


javajava-native-interfacelibpqjava-ffm

Read More
With a minimum of copies, convert length-bounded UTF-8 MemorySegment in java.lang.foreign...


javaproject-panamajava-ffm

Read More
Java FFM - Unexpected behavior with "pointers"...


javac++cffijava-ffm

Read More
Java FFM, how to link a java object with a C struct?...


javacluajava-ffm

Read More
Weird behaviour of Java FFM on Windows platform when creating upcalls accepting both structure and p...


javacjava-ffm

Read More
Control taskbar in Windows from java using FFM and winapi...


javawinapijavafxtaskbarjava-ffm

Read More
Java FFM `Linker.Option.captureCallState` does not successfully capture `GetLastError` on Windows...


javaproject-panamajava-ffmjava-22

Read More
Non-Blocking ncurses getch() in Java FFM...


javarustinteropncursesjava-ffm

Read More
Try to update java version from 22 to 23 and get this exception: Out of bound access on segment Memo...


project-panamajava-ffmjava-22varhandlejava-23

Read More
New Java Foreign Function Api JEP 454 - Working with c strings and array of c strings...


javajava-ffmjava-22

Read More
How to manage taskbar from JavaFX, via native code in Linux...


javajavafxtaskbarjava-ffm

Read More
Calling library generated with .NET Native AOT causes segfault when called from Java on Linux...


javac#linuxnative-aotjava-ffm

Read More
Gradle Java include native library (Project Panama)...


gradle-kotlin-dslproject-panamajava-native-libraryjava-ffm

Read More
VarHandle for arrays of dynamic size...


javajava-ffmvarhandle

Read More
Pass argument of type void** (pointers of pointers) using Java FFM API...


javajava-ffm

Read More
JNA's IntByReference in Java Foreign Function & Memory API...


javac#c++jnajava-ffm

Read More
How do you create a StructLayout for a native C structure that is recursive using the Java FFM API...


java-ffm

Read More
Using Foreign Function and Memory API with bit offsets instead of BitSet...


javaproject-panamajava-ffm

Read More
Java Foreign Function & Memory API, problems with Locale...


javaproject-panamajava-ffm

Read More
Is there a way to get the logical length of a MemorySegment without doing byte arithmetic?...


javajava-ffm

Read More
Does VarHandle.compareAndSet throw an UnsupportedOperationException when used with longs on 32-bit a...


javajava-ffm

Read More
What is the difference between `JAVA_LONG` and `JAVA_LONG_UNALIGNED` in `java.lang.foreign.ValueLayo...


javajava-ffm

Read More
How can I use VarHandle to perform a compare-and-swap with memory allocated by SegmentAllocator or s...


javajava-ffm

Read More
How can I write an array-like datastructure in Java that takes longs as indices using modern unsafe ...


javajava-ffm

Read More
How to represent C++ class in java to be used via FFI?...


javac++java-native-interfaceffijava-ffm

Read More
Java Foreign API: How to get string from C_POINTER?...


javakotlinproject-panamajava-ffm

Read More
OpenJDK 17 - JEP 412: Foreign Function & Memory API (Incubator)...


javajava-17java-ffm

Read More
'IndexOutOfBoundsException: Out of bound access on segment ...' when accessing pointer read ...


javaproject-panamajava-21java-ffm

Read More
OpenJDK 20: JEP 434: Foreign Function & Memory API (Second Preview)...


javajava-20java-ffm

Read More
BackNext