Package io.quarkus.runtime.graal
Class AwtFeature
- java.lang.Object
-
- io.quarkus.runtime.graal.AwtFeature
-
- All Implemented Interfaces:
org.graalvm.nativeimage.hosted.Feature
public class AwtFeature extends Object implements org.graalvm.nativeimage.hosted.Feature
Technically, this should live in extensions/awt, but currently all code that relies on JAXB requires at the very least sun.java2d package to be runtime initialized. Having sun.java2d code initialized at build time caused issues, which is why a substitution was set in place to avoid such code making it to the binary: https://github.com/quarkusio/quarkus/commit/ef87e5567cf3ac462a3f12aad4b5b530d9220223 So, as long as JAXB graphics code has not been excluded completely from JAXB, it is safer to define all image related packages to be runtime initialized directly in core.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.graalvm.nativeimage.hosted.Feature
org.graalvm.nativeimage.hosted.Feature.AfterAnalysisAccess, org.graalvm.nativeimage.hosted.Feature.AfterCompilationAccess, org.graalvm.nativeimage.hosted.Feature.AfterHeapLayoutAccess, org.graalvm.nativeimage.hosted.Feature.AfterImageWriteAccess, org.graalvm.nativeimage.hosted.Feature.AfterRegistrationAccess, org.graalvm.nativeimage.hosted.Feature.BeforeAnalysisAccess, org.graalvm.nativeimage.hosted.Feature.BeforeCompilationAccess, org.graalvm.nativeimage.hosted.Feature.BeforeImageWriteAccess, org.graalvm.nativeimage.hosted.Feature.BeforeUniverseBuildingAccess, org.graalvm.nativeimage.hosted.Feature.CompilationAccess, org.graalvm.nativeimage.hosted.Feature.DuringAnalysisAccess, org.graalvm.nativeimage.hosted.Feature.DuringSetupAccess, org.graalvm.nativeimage.hosted.Feature.FeatureAccess, org.graalvm.nativeimage.hosted.Feature.IsInConfigurationAccess, org.graalvm.nativeimage.hosted.Feature.OnAnalysisExitAccess, org.graalvm.nativeimage.hosted.Feature.QueryReachabilityAccess
-
-
Constructor Summary
Constructors Constructor Description AwtFeature()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterRegistration(org.graalvm.nativeimage.hosted.Feature.AfterRegistrationAccess access)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.graalvm.nativeimage.hosted.Feature
afterAnalysis, afterCompilation, afterHeapLayout, afterImageWrite, beforeAnalysis, beforeCompilation, beforeImageWrite, beforeUniverseBuilding, cleanup, duringAnalysis, duringSetup, getRequiredFeatures, isInConfiguration, onAnalysisExit
-
-