summaryrefslogtreecommitdiff
path: root/test cases/java/9 jni/meson.build
AgeCommit message (Collapse)Author
2024-01-02tests: fix java JNI test assert for jni.h existingEli Schwartz
compiler.has_header() isn't an assert, even though the comments say it is. With `required: true` it is an actual assert.
2022-12-15Try to find the jni dependency when javac is a Darwin stubTristan Partin
Darwin-based systems, at least macOS, provide various JDK executable stubs in /System/Library/Frameworks/JavaVM.framework/Versions/*/Commands. These stubs are placed in such a way that they break the heuristics of the JNI system dependency. If a javac being analyzed to find a Java home is a stub, use /usr/libexec/java_home. See https://stackoverflow.com/a/15133344/7572728 for more details. Closes #11173
2022-03-07Fix @typed_pos_args on java.generate_native_headersTristan Partin
2022-03-04Add modules kwarg to JNI system depTristan Partin
This allows someone to link against libjvm.so and libjawt.so.
2022-03-02Rename JDK system dep to JNITristan Partin
JNI is a more apt name because it currently only supports the JNI. I also believe that CMake uses the terminology JNI here as well. JNI is currently the only way to interact with the JVM through native code, but there is a project called "Project Panama" which aims to be another way for native code to interact with the JVM.