Restrict export of libjpeg symbols from libjavafx_iio.so

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • jfx17
    • Affects Version/s: jfx11, jfx12
    • Component/s: javafx
    • None

        libjavafx_iio.so contains a copy of libjpeg7 (soon to be libjpeg9)
        and since we are exporting all the libjpeg symbols these may
        clash with some other libjpeg on a system.
        We should restrict the export to just the JNI interfaces as the
        JDK does in similar situations.
         
        See https://bugs.openjdk.java.net/browse/JDK-8200178 and
        http://mail.openjdk.java.net/pipermail/build-dev/2018-March/021306.html

        The gist of the fix there is to add a JNIEXPORT directive to the declarations of the JNI functions in the JDK's own source files
        which are compiled into the library and to update the makefile
        so that all symbols not explicitly exported are internal.


              Assignee:
              Johan Vos
              Reporter:
              Philip Race
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: