You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
K1 Scripting: treat inaccessible provided props classes as Any
So if classloaders for, e.g., REPL are not configured properly,
making classes of specified provided properties inaccessible,
we can still access the values using Any type for them.
This allows, e.g., solving tricky problems with properties
generated from JSR-223 bindings.
Note that this is K1-only functionality, since JSR-223 is not
yet supported in K2
#KT-67747 fixed
(cherry picked from commit 5d724e6)
Copy file name to clipboardExpand all lines: plugins/scripting/scripting-compiler-impl/src/org/jetbrains/kotlin/scripting/resolve/LazyScriptDescriptor.kt
+13-1Lines changed: 13 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -221,6 +221,7 @@ class LazyScriptDescriptor(
221
221
}
222
222
}
223
223
224
+
// TODO: we may want to treat getScriptingClass call here the same way as in scriptProvidedProperties
0 commit comments