File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
src/main/java/com/fasterxml/jackson/databind/util Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -12,17 +12,18 @@ public class NativeImageUtil {
1212
1313 private static final boolean RUNNING_IN_SVM = System .getProperty ("org.graalvm.nativeimage.imagecode" ) != null ;
1414
15- private NativeImageUtil () {
16- }
15+ private NativeImageUtil () { }
1716
1817 /**
1918 * Check whether we're running in SubstrateVM native image and also in "runtime" mode.
2019 * The "runtime" check cannot be a constant, because
2120 * the static initializer may run early during build time
2221 *<p>
23- * As optimization, {@link #RUNNING_IN_SVM} is used to short-circuit on normal JVMs.
22+ * As optimization, {@code RUNNING_IN_SVM} is used to short-circuit on normal JVMs.
23+ *
24+ * @since 2.16
2425 */
25- private static boolean isInNativeImageAndIsAtRuntime () {
26+ public static boolean isInNativeImageAndIsAtRuntime () {
2627 return RUNNING_IN_SVM && "runtime" .equals (System .getProperty ("org.graalvm.nativeimage.imagecode" ));
2728 }
2829
You can’t perform that action at this time.
0 commit comments