Skip to content

chore: bump Kotlin from 2.3.10 to 2.3.20#25

Merged
nsmnds merged 1 commit into
mainfrom
chore/kotlin-2.3.20
Apr 10, 2026
Merged

chore: bump Kotlin from 2.3.10 to 2.3.20#25
nsmnds merged 1 commit into
mainfrom
chore/kotlin-2.3.20

Conversation

@nsmnds

@nsmnds nsmnds commented Apr 10, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Bumps Kotlin from 2.3.10 to 2.3.20 across all modules
  • Fixes NoSuchMethodError when the KMapper compiler plugin runs inside the Kotlin 2.3.20 compiler

Root cause

Kotlin 2.3.20 removed deprecated context(SessionHolder) overloads of toRegularClassSymbol (and other methods) from ToSymbolUtils.kt. When KMapper 0.0.12 (compiled against 2.3.10) runs inside the 2.3.20 compiler, the bytecode references these removed methods, causing a runtime NoSuchMethodError in KMapperFirMappingChecker.check.

The non-deprecated fun ConeKotlinType.toRegularClassSymbol(session: FirSession) overload still exists — no source changes needed, just a recompile against 2.3.20.

Test plan

  • CI passes (compiler-plugin compiles against Kotlin 2.3.20)
  • Integration tests pass
  • Verify aigentic-platform builds with new KMapper + Kotlin 2.3.20

Kotlin 2.3.20 removed deprecated context(SessionHolder) overloads of
toRegularClassSymbol in ToSymbolUtils.kt. The compiled plugin bytecode
referenced these removed methods, causing NoSuchMethodError at runtime.
Recompiling against 2.3.20 resolves calls to the correct non-deprecated
overloads.
@nsmnds nsmnds merged commit b91eaca into main Apr 10, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants