File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
src/main/java/com/fasterxml/jackson/databind/util Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ Project: jackson-databind
5555 (contributed by Joo-Hyuk K)
5656#4056 : Provide the " ObjectMapper.treeToValue(TreeNode, TypeReference)" method
5757 (contributed by @fantasy0v0)
58+ #4060 : Expose `NativeImageUtil.isRunningInNativeImage()` method
5859
59602.15.3 (not yet released)
6061
Original file line number Diff line number Diff line change @@ -21,8 +21,10 @@ private NativeImageUtil() {
2121 /**
2222 * Check whether we're running in substratevm native image runtime mode. This check cannot be a constant, because
2323 * the static initializer may run early during build time
24+ *<p>
25+ * NOTE: {@code public} since 2.16 (before that, {@code private}).
2426 */
25- private static boolean isRunningInNativeImage () {
27+ public static boolean isRunningInNativeImage () {
2628 return RUNNING_IN_SVM && "runtime" .equals (System .getProperty ("org.graalvm.nativeimage.imagecode" ));
2729 }
2830
You can’t perform that action at this time.
0 commit comments