Class NativeImageUtil


  • public class NativeImageUtil
    extends Object
    Utilities for graal native image support; mostly to improve error message handling in case of missing information for native image.
    Since:
    2.14
    • Method Detail

      • isUnsupportedFeatureError

        public static boolean isUnsupportedFeatureError​(Throwable e)
        Check whether the given error is a substratevm UnsupportedFeatureError
      • needsReflectionConfiguration

        public static boolean needsReflectionConfiguration​(Class<?> cl)
        Check whether the given class is likely missing reflection configuration (running in native image, and no members visible in reflection).