RFR: 8304871: Use default visibility for static library builds [v2]
Severin Gehwolf
sgehwolf at openjdk.org
Mon Mar 27 09:40:22 UTC 2023
> Please review this change for symbol visibility of static library artefacts. This fixes an issue when
> OpenJDK is being used as a base for generating native images preventing the symbols from being
> exported and looked up from the executable. Note that symbol visibity is now controlled by a
> linker version script downstream. This changes nothing for the regularly shipped dynamic libraries.
>
> Thoughts?
Severin Gehwolf has updated the pull request incrementally with one additional commit since the last revision:
Explicitly set the JNI_EXPORT define for static libs
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/13177/files
- new: https://git.openjdk.org/jdk/pull/13177/files/6732c880..119b8947
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=13177&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=13177&range=00-01
Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/13177.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/13177/head:pull/13177
PR: https://git.openjdk.org/jdk/pull/13177
More information about the build-dev
mailing list