Skip to content

Commit

Permalink
JNIRegistrationAwt::registerFreeType is now called for sun.font.FontC…
Browse files Browse the repository at this point in the history
…onfigManager too
  • Loading branch information
Karm committed May 17, 2021
1 parent 40b6448 commit b4f2d7e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ public void beforeAnalysis(BeforeAnalysisAccess access) {
PlatformNativeLibrarySupport.singleton().addBuiltinPkgNativePrefix("sun_java2d");

access.registerReachabilityHandler(JNIRegistrationAwt::registerFreeType,
clazz(access, "sun.font.FontManagerNativeLibrary"));
clazz(access, "sun.font.FontManagerNativeLibrary"),
clazz(access, "sun.font.FontConfigManager"));
PlatformNativeLibrarySupport.singleton().addBuiltinPkgNativePrefix("sun_font");

access.registerReachabilityHandler(JNIRegistrationAwt::registerLCMS,
Expand Down

0 comments on commit b4f2d7e

Please sign in to comment.