Skip to content

Commit 3ffe0a0

Browse files
committed
fix
1 parent a166033 commit 3ffe0a0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/kotlin/com/fasterxml/jackson/module/kotlin/KotlinValueInstantiator.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@ internal class KotlinValueInstantiator(
124124
// we didn't do anything special with default parameters, do a normal call
125125
super.createFromObjectWith(ctxt, jsonParamValueList)
126126
} else {
127+
valueCreator.checkAccessibility(ctxt)
128+
127129
val callableParametersByName = linkedMapOf<KParameter, Any?>()
128130
callableParameters.mapIndexed { idx, paramDef ->
129131
if (paramDef != null) {

0 commit comments

Comments
 (0)