[OpenJDK 2D-Dev] RFR: 8254024: Enhance native libs for AWT and Swing to work with GraalVM Native Image [v2]

Andrii Rodionov github.com+1538227+arodionov at openjdk.java.net
Thu Oct 15 16:04:12 UTC 2020


On Wed, 14 Oct 2020 18:23:48 GMT, Bob Vandette <bobv at openjdk.org> wrote:

>> Andrii Rodionov has refreshed the contents of this pull request, and previous commits have been removed. The
>> incremental views will show differences compared to the previous content of the PR.
>
> src/java.desktop/unix/native/libawt_xawt/xawt/XToolkit.c line 821:
> 
>> 819: JNIEXPORT void JNICALL
>> 820: Java_sun_xawt_motif_XsessionWMcommand(JNIEnv *env, jobject this,
>> 821:     jobject frame, jstring jcommand)
> 
> I'm not sure if this entrypoint is ever accessed externally in a normal JDK.  To be safe, can you make both name
> changes conditional on STATIC_BUILD?

Have made both names conditional.

-------------

PR: https://git.openjdk.java.net/jdk/pull/562


More information about the 2d-dev mailing list