Skip to content

Commit

Permalink
awt
Browse files Browse the repository at this point in the history
  • Loading branch information
kairoh committed Oct 8, 2023
1 parent 563a3d6 commit d0566be
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ ReflectiveClassBuildItem setupReflectionClassesWithMethods() {
"sun.java2d.loops.SetFillPathANY",
"sun.java2d.loops.SetFillRectANY",
"sun.java2d.loops.SetFillSpansANY",
// k : addition see https://github.com/AlexanderScherbatiy/graal/blob/7b1b5c9f785abc4b2d345bdd313d46abf821ccea/substratevm/src/com.oracle.svm.hosted/src/com/oracle/svm/hosted/jdk/JNIRegistrationAwt.java
// k: addition see https://github.com/AlexanderScherbatiy/graal/blob/7b1b5c9f785abc4b2d345bdd313d46abf821ccea/substratevm/src/com.oracle.svm.hosted/src/com/oracle/svm/hosted/jdk/JNIRegistrationAwt.java
"sun.java2d.loops.XorCopyArgbToAny",
"sun.java2d.loops.XorFillRectANY",
"sun.java2d.loops.XorFillPathANY",
Expand Down Expand Up @@ -279,12 +279,14 @@ JniRuntimeAccessBuildItem setupJava2DClasses(NativeImageRunnerBuildItem nativeIm
}

// k: test
classes.add("com.sun.imageio.plugins.jpeg.JPEGImageWriterSpi");
classes.add("com.sun.imageio.plugins.jpeg.JPEGImageReaderSpi");
classes.add("javax.imageio.ImageIO");
classes.add("javax.imageio.ImageIO$ImageWriterIterator");
classes.add("sun.awt.image.JPEGImageDecoder");
classes.add("sun.font.FontManager");
classes.add("sun.font.StrikeCache");
classes.add("sun.awt.image.JPEGImageDecoder");
classes.add("sun.java2d.xr.XRBackendNative");
classes.add("javax.imageio.ImageIO");
classes.add("javax.imageio.ImageIO$ImageWriterIterator");
// k: end

return new JniRuntimeAccessBuildItem(true, true, true, classes.toArray(new String[0]));
Expand Down

0 comments on commit d0566be

Please sign in to comment.