We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15a20db commit fd10302Copy full SHA for fd10302
src/main/kotlin/tools/jackson/module/kotlin/ValueCreator.kt
@@ -24,9 +24,12 @@ internal sealed class ValueCreator<T> {
24
/**
25
* ValueParameters of the KFunction to be called.
26
*/
27
- val valueParameters: List<KParameter> by lazy { callable.valueParameters }
+ // If this result is cached, it will coexist with the SoftReference managed value in kotlin-reflect,
28
+ // and there is a risk of doubling the memory consumption, so it should not be cached.
29
+ // @see #584
30
+ val valueParameters: List<KParameter> get() = callable.valueParameters
31
- /**
32
+/**
33
* Checking process to see if access from context is possible.
34
* @throws IllegalAccessException
35
0 commit comments