Skip to content

Commit

Permalink
AWT: JniRuntimeAccess: freetypeScaler.c calls sun.font.FontUtilities
Browse files Browse the repository at this point in the history
As of late JDK 18, with [9bc023220](openjdk/jdk20@9bc023220),
freetypeScaler.c has started to call sun.font.FontUtilities.

This change marks it for JNI Access for all JDK versions, i.e.
superfluously for JDK11 and JDK17.
  • Loading branch information
Karm committed Jan 23, 2023
1 parent 5fcac56 commit 26d25fc
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ JniRuntimeAccessBuildItem setupJava2DClasses() {
"sun.font.FontConfigManager",
"sun.font.FontManagerNativeLibrary",
"sun.font.FontStrike",
// Added for JDK 19+ due to: https://github.com/openjdk/jdk20/commit/9bc023220 calling FontUtilities
"sun.font.FontUtilities",
"sun.font.FreetypeFontScaler",
"sun.font.GlyphLayout",
"sun.font.GlyphLayout$EngineRecord",
Expand Down

0 comments on commit 26d25fc

Please sign in to comment.