Built on top of https://github.com/openjdk/jfx/pull/2175, will be updated after merge.
Adds missing `JNI_OnLoad` functions: - Was missing for the new Metal API - Decora - Swing (prism_common) - Moncole, which also was a bit inconsistent regarding the `#ifdef STATIC_BUILD` Add missing `JNIEXPORT` (only two locations). --------- - [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - #ifdef STATIC_BUILD for monocle as well - add missing JNIEXPORT - Missing JNI_OnLoad - remove comment - Merge branch 'master' of https://github.com/openjdk/jfx into JDK-8385270-Bump-JNI_VERSION-to-1.8-everywhere - assign javavm - Merge branch 'master' of https://github.com/openjdk/jfx into JDK-8385270-Bump-JNI_VERSION-to-1.8-everywhere - Merge branch 'master' of https://github.com/openjdk/jfx into JDK-8385270-Bump-JNI_VERSION-to-1.8-everywhere - 8385270: Bump JNI_VERSION to 1.8 everywhere Changes: https://git.openjdk.org/jfx/pull/2328/files Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=2328&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8393056 Stats: 319 lines in 45 files changed: 35 ins; 213 del; 71 mod Patch: https://git.openjdk.org/jfx/pull/2328.diff Fetch: git fetch https://git.openjdk.org/jfx.git pull/2328/head:pull/2328 PR: https://git.openjdk.org/jfx/pull/2328
