Skip to content

Commit

Permalink
More dummy AWT methods (#972)
Browse files Browse the repository at this point in the history
Co-authored-by: jose.pereda <[email protected]>
  • Loading branch information
José Pereda and jperedadnr authored Jul 29, 2021
1 parent ec42d7a commit 5d9af84
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/resources/native/android/c/launcher.c
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,10 @@ void JVM_RawMonitorExit() {
// AWT: GraalVM native-image explicitly adds (unresolved) references to libawt
// so we need to make sure the JNI_OnLoad symbols are there.

void Java_java_awt_Font_initIDs() {
fprintf(stderr, "We should never reach here (Java_java_awt_Font_initIDs)\n");
}

void Java_java_awt_Toolkit_initIDs() {
fprintf(stderr, "We should never reach here (Java_java_awt_Toolkit_initIDs)\n");
}
Expand Down

0 comments on commit 5d9af84

Please sign in to comment.