On Thu, 25 Mar 2021 12:02:25 GMT, Johan Vos <j...@openjdk.org> wrote:

> Fix for JDK-8211362
> 
> Compile javafx-iio native files with -f-visibiliy=hidden in order
> not to export the non-JNI symbols.
> Although this issue was about libjavafx_iio.so only (and not about 
> libjavafx_iio.a), this PR allows fixing the static build as well.
> 
> For static builds, we also use ld -r to build a static library, so that 
> objcopy or similar can be used to remove the names of the
> hidden symbols.

This pull request has now been integrated.

Changeset: ed5cfe72
Author:    Johan Vos <j...@openjdk.org>
URL:       https://git.openjdk.java.net/jfx/commit/ed5cfe72
Stats:     9 lines in 2 files changed: 5 ins; 0 del; 4 mod

8211362: Restrict export of libjpeg symbols from libjavafx_iio.so

Reviewed-by: kcr

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

PR: https://git.openjdk.java.net/jfx/pull/442

Reply via email to