RFR: 8304871: Use default visibility for static library builds [v2]

Erik Joelsson erikj at openjdk.org
Mon Mar 27 13:07:30 UTC 2023


On Mon, 27 Mar 2023 09:40:22 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:

>> 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

Marked as reviewed by erikj (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/13177#pullrequestreview-1359012423



More information about the build-dev mailing list