meson/test cases/java
Tristan Partin 7254db36a7
Try to find the jni dependency when javac is a Darwin stub
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-12-15 20:24:25 -06:00
..
1 basic docs: Add Environment variables for compiler/linker selection 2020-03-17 10:40:39 -07:00
2 subdir editorconfig: add setting to trim trailing whitespace 2021-08-15 09:36:18 -04:00
3 args editorconfig: add setting to trim trailing whitespace 2021-08-15 09:36:18 -04:00
4 inner class Make Java compilation work with inner classes. Closes #1157. 2016-12-12 21:01:10 +02:00
5 includedirs editorconfig: add setting to trim trailing whitespace 2021-08-15 09:36:18 -04:00
6 codegen editorconfig: add setting to trim trailing whitespace 2021-08-15 09:36:18 -04:00
7 linking java: add jar linking test 2018-07-03 21:33:54 +02:00
8 codegen custom target tests/java: force latency in generation to exercise race 2018-11-07 14:26:14 -08:00
9 jni Try to find the jni dependency when javac is a Darwin stub 2022-12-15 20:24:25 -06:00
10 resources Add ability to add resources to jars 2022-03-22 13:21:26 +02:00