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

Enhance native libs for AWT and Swing to work with GraalVM Native Image

XMLWordPrintable

    • b02
    • generic
    • generic

        Starting from version 11.0.9, all JDK libraries also build as static libraries.
        This leads to an issue with static libs: One static libarary is trying to load another static library using dlopen and then uses dlsym to find symbols. With static libraries this is not possible.

        This happens in libawt loading awt-xawt or awt_headless:

          https://github.com/openjdk/jdk11u-dev/blob/master/src/java.desktop/unix/native/libawt/awt/awt_LoadLibrary.c#L175

        and in mlib_image:

          https://github.com/openjdk/jdk11u-dev/blob/master/src/java.desktop/unix/native/libawt/awt/awt_Mlib.c#L75

              vjovanovic Vojin Jovanovic
              vjovanovic Vojin Jovanovic
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: