RFR: 8306949: Resolve miscellaneous multiple symbol definition issues when statically linking JDK/VM natives with standard launcher
Alan Bateman
alanb at openjdk.org
Thu Apr 27 14:00:25 UTC 2023
On Thu, 27 Apr 2023 00:12:58 GMT, Jiangli Zhou <jiangli at openjdk.org> wrote:
> 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.
Marked as reviewed by alanb (Reviewer).
Looks okay.
-------------
PR Review: https://git.openjdk.org/jdk/pull/13682#pullrequestreview-1404102039
Marked as reviewed by alanb (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/13682#pullrequestreview-1404103532
More information about the security-dev
mailing list