Class NativeImageUtil
- java.lang.Object
-
- com.fasterxml.jackson.databind.util.NativeImageUtil
-
public class NativeImageUtil extends java.lang.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 Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isUnsupportedFeatureError(java.lang.Throwable e)
Check whether the given error is a substratevm UnsupportedFeatureErrorstatic boolean
needsReflectionConfiguration(java.lang.Class<?> cl)
Check whether the given class is likely missing reflection configuration (running in native image, and no members visible in reflection).
-
-
-
Method Detail
-
isUnsupportedFeatureError
public static boolean isUnsupportedFeatureError(java.lang.Throwable e)
Check whether the given error is a substratevm UnsupportedFeatureError
-
needsReflectionConfiguration
public static boolean needsReflectionConfiguration(java.lang.Class<?> cl)
Check whether the given class is likely missing reflection configuration (running in native image, and no members visible in reflection).
-
-