RFR: 8306949: Resolve miscellaneous multiple symbol definition issues when statically linking JDK/VM natives with standard launcher

Jiangli Zhou jiangli at openjdk.org
Thu Apr 27 00:30:27 UTC 2023


Resolve misc symbol issues observed when statically linking JDK/VM natives with the standard Java launcher executable. Use the same approaches adopted by earlier fixes for static linking related symbol problems (e.g. JDK-8306033):

- Change findFunction() to be a static function in src/java.smartcardio/unix/native/libj2pcsc/pcsc_md.c.
- Rename findFunction() to p11FindFunction() in libj2pkcs11 code.
- Rename 'debug' to 'debug_j2pkcs11' in libj2pkcs11 code.
- Rename 'jvm' to 'jvm_xawt' in libawt_xawt code.

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

Commit messages:
 - Update copyright headers.
 - 8306949: Resolve miscellaneous multiple symbol definition issues when statically linking JDK/VM natives with standard launcher

Changes: https://git.openjdk.org/jdk/pull/13682/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13682&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8306949
  Stats: 28 lines in 11 files changed: 0 ins; 1 del; 27 mod
  Patch: https://git.openjdk.org/jdk/pull/13682.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/13682/head:pull/13682

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



More information about the client-libs-dev mailing list