Closed hafarooki closed 6 years ago
@Miclebrick , the comment from a Kotlin team:
Are you doing something non-trivial like serializing and deserializing
KClass
objects maybe?kotlin.jvm.internal.ClassReference
only comes up if you’re using the::class
syntax in a module withoutkotlin-reflect.jar
in the classpathAnother reason might be an unexpected implementation of the class loader used where the
::class
literal is present. (Upon the first access to::class
, we useClass.forName
inkotlin-stdlib
to locate the reflection implementation, and fallback toClassReference
s if not found.)
The issue seemed to have been another version of Kotlin on the classpath (an issue because it's a Minecraft server plugin where any plugin can have its own version shaded in)
Erroring table: