mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 02:59:33 +07:00
[workspace model] Use java reflection instead of kotlin at cache loading
GitOrigin-RevId: 2767923a85cb3081a6e10aa3784a805b0b87937e
This commit is contained in:
committed by
intellij-monorepo-bot
parent
8df7dd2f21
commit
6bd4f3b020
@@ -592,7 +592,7 @@ class EntityStorageSerializerImpl(
|
||||
registerSingletonSerializer(kryo) {
|
||||
val resolvedClass = typesResolver.resolveClass(objectClass.name, objectClass.pluginId)
|
||||
classCache.putIfAbsent(objectClass, resolvedClass.toClassId())
|
||||
resolvedClass.kotlin.objectInstance!!
|
||||
resolvedClass.getDeclaredField("INSTANCE").get(0)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user