From 67883d2d35e44103892edfae65d68213568999a9 Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Tue, 5 Nov 2024 10:53:12 +0100 Subject: [PATCH] Update UntypedObjectDeserializerModule.scala --- .../module/scala/deser/UntypedObjectDeserializerModule.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/scala/tools/jackson/module/scala/deser/UntypedObjectDeserializerModule.scala b/src/main/scala/tools/jackson/module/scala/deser/UntypedObjectDeserializerModule.scala index 28f71f12..36028da3 100644 --- a/src/main/scala/tools/jackson/module/scala/deser/UntypedObjectDeserializerModule.scala +++ b/src/main/scala/tools/jackson/module/scala/deser/UntypedObjectDeserializerModule.scala @@ -10,7 +10,8 @@ import tools.jackson.module.scala.{JacksonModule, ScalaModule} import scala.languageFeature.postfixOps -private class UntypedScalaObjectDeserializer extends UntypedObjectDeserializer(null, null) { +private class UntypedScalaObjectDeserializer + extends UntypedObjectDeserializer(null, null.asInstanceOf[JavaType]) { private var _mapDeser: ValueDeserializer[AnyRef] = _ private var _listDeser: ValueDeserializer[AnyRef] = _