Is it safe to use objects from the kotlin.jvm.internal package? I'm writing an internal library for SOAP (yes!) testing and need casting to e.g.
FunctionReference
.
s
Sam
06/21/2024, 7:17 AM
Since those classes aren't part of the public API, there are no guarantees about compatibility between versions. So if you use them, it's possible your code will break and need fixing each time you upgrade to a new Kotlin version.
d
David Kubecka
06/21/2024, 7:23 AM
I understand and it makes sense. I just wonder why those classes technically ARE public, i.e. why the