[OpenJDK 2D-Dev] RFR: 8254024: Enhance native libs for AWT and Swing to work with GraalVM Native Image
github.com+1538227+arodionov at openjdk.java.net
Mon Nov 30 22:32:00 UTC 2020
On Sat, 14 Nov 2020 00:25:21 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:
>> The changes in awt_LoadLibrary.c and XToolkit.c is mostly noop except excluding dladdr/dlopen. Since XsessionWMcommand/AWTIsHeadless are not used at least in the mainline(jdk16).
>> The changes in the mlib look fine.
>> The testing is in progress.
> please merge the master to this branch, it is quite outdated, and update the last copyright date to 2020.
@mrserb I have rebased PR on the master, but `XsessionWMcommand` and `AWTIsHeadless` functions are still at `XToolkit.c` in the mainline. So, to prevent the conflicting symbols error during static libraries linkage (`libawt.a` and `libawt_xawt.a`), we need to rename or to hide conflicting functions.
More information about the 2d-dev