RFR: 8305761: Resolve multiple definition of 'jvm' when statically linking with JDK native libraries

Jiangli Zhou jiangli at openjdk.org
Fri Apr 7 23:55:54 UTC 2023


Rename various 'jvm' variables to 'jvm_<lib_name>' to avoid duplicate symbol problems when statically linking the launcher executable with JDK native libraries.

8305761: Resolve multiple definition of 'jvm' when statically linking with JDK native libraries

-------------

Commit messages:
 - Resolve linker failure due to multiple definition of 'jvm' when statically linking with JDK native libraries.

Changes: https://git.openjdk.org/jdk/pull/13396/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13396&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8305761
  Stats: 130 lines in 5 files changed: 82 ins; 0 del; 48 mod
  Patch: https://git.openjdk.org/jdk/pull/13396.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/13396/head:pull/13396

PR: https://git.openjdk.org/jdk/pull/13396


More information about the serviceability-dev mailing list