From 966ca170fb28a1c9532ee9e79be763ea1811ba08 Mon Sep 17 00:00:00 2001 From: wrongwrong Date: Sat, 12 Jul 2025 22:22:45 +0900 Subject: [PATCH] Fixed to use appropriate receiver Fixed a problem in which multiple calls could not be made because a more specific receiver was improperly specified. --- .../kotlin/tools/jackson/module/kotlin/InternalCommons.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/kotlin/tools/jackson/module/kotlin/InternalCommons.kt b/src/main/kotlin/tools/jackson/module/kotlin/InternalCommons.kt index 20f19fd5..74e220ab 100644 --- a/src/main/kotlin/tools/jackson/module/kotlin/InternalCommons.kt +++ b/src/main/kotlin/tools/jackson/module/kotlin/InternalCommons.kt @@ -1,7 +1,7 @@ package tools.jackson.module.kotlin import com.fasterxml.jackson.annotation.JsonCreator -import tools.jackson.databind.DatabindException +import tools.jackson.core.JacksonException import java.lang.invoke.MethodHandle import java.lang.invoke.MethodHandles import java.lang.invoke.MethodType @@ -18,8 +18,8 @@ internal val defaultConstructorMarker: Class<*> by lazy { Class.forName("kotlin.jvm.internal.DefaultConstructorMarker") } -internal fun DatabindException.wrapWithPath(refFrom: Any?, refFieldName: String) = DatabindException.wrapWithPath(this, refFrom, refFieldName) -internal fun DatabindException.wrapWithPath(refFrom: Any?, index: Int) = DatabindException.wrapWithPath(this, refFrom, index) +internal fun JacksonException.wrapWithPath(refFrom: Any?, refFieldName: String) = JacksonException.wrapWithPath(this, refFrom, refFieldName) +internal fun JacksonException.wrapWithPath(refFrom: Any?, index: Int) = JacksonException.wrapWithPath(this, refFrom, index) internal fun Int.toBitSet(): BitSet { var i = this