From 4bcb8c1f19a55bb1095bc35f4c8d155f803820c9 Mon Sep 17 00:00:00 2001 From: julie Date: Fri, 3 Jul 2026 00:31:26 +0200 Subject: [PATCH 1/2] Bundle kotlin-reflect so shared Kotlin reflection works for dependents InjectLib provides the shared kotlin-stdlib + inits kotlin.jvm.internal.Reflection before dependents load. Without reflect here, Reflection's factory is fixed to 'no reflection', so plugins (e.g. TransientCore item serialization via jackson-module-kotlin) hit KotlinReflectionNotSupportedError even when they shade their own reflect. Ship reflect alongside stdlib. Co-Authored-By: Claude Opus 4.8 (1M context) --- pom.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pom.xml b/pom.xml index bc2d356..4a925d7 100644 --- a/pom.xml +++ b/pom.xml @@ -121,5 +121,10 @@ kotlin-stdlib-jdk8 ${kotlin.version} + + org.jetbrains.kotlin + kotlin-reflect + ${kotlin.version} + From 6bba4b2432c6234d629044c52ccd8c50cb870a85 Mon Sep 17 00:00:00 2001 From: julie Date: Fri, 3 Jul 2026 00:42:46 +0200 Subject: [PATCH 2/2] Bump kotlin to 2.3.20 to match dependents (KotlinGenericDeclaration) Dependents compile against Kotlin 2.3.x; the shared stdlib must be >= theirs. kotlin.jvm.internal.KotlinGenericDeclaration is a 2.3.20 stdlib class that kotlin-reflect 2.3.20 references, so stdlib+reflect must both be 2.3.20. Co-Authored-By: Claude Opus 4.8 (1M context) --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 4a925d7..6ac2dab 100644 --- a/pom.xml +++ b/pom.xml @@ -13,7 +13,7 @@ 21 - 2.2.21 + 2.3.20 UTF-8