Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8304871

Use default visibility for static library builds

XMLWordPrintable

    • b17
    • linux

        JDK-8239563 introduced a change to the JDK which allows one to override the visibility of JNI exported symbols. However, with a recent GraalVM change[1], this default no longer works for some configurations. We propose to also use the same visibility of regular shared libraries from OpenJDK in the static libs build. Visibility can then further be reduced by using linker version scripts.

        This change only affects the static library build.

        [1] https://github.com/oracle/graal/issues/4921

              sgehwolf Severin Gehwolf
              sgehwolf Severin Gehwolf
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: