On Sat, 14 Nov 2020 00:25:21 GMT, Sergey Bylokhov <s...@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. ------------- PR: https://git.openjdk.java.net/jdk/pull/562