Skip to content

Kotlin: update test compiler and documentation to 2.4.21 - #23092

Open
andersfugmann wants to merge 1 commit into
mainfrom
andersfugmann/kotlin-2-4-21-support
Open

andersfugmann wants to merge 1 commit into
mainfrom
andersfugmann/kotlin-2-4-21-support

Conversation

@andersfugmann

@andersfugmann andersfugmann commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Update the default Kotlin compiler used for extractor testing to 2.4.21 and the documented supported-version range.

The wrapper in java/kotlin-extractor/dev/ provides the kotlin and kotlinc commands for local development and CI. The K2 CI job selects its default version, so bumping this moves ongoing K2 coverage from compiler 2.4.20 to 2.4.21 rather than relying on a one-off compatibility check. Explicit version selections remain unchanged, as does the 2.4.20 compiler baseline used to build the extractor.

Kotlin 2.4.21 was already supported by the existing extractor. This does not change analysis behaviour, so no change note is needed.

All 205 tests in the full K2 suite passed with Kotlin 2.4.21.

Update the default compiler used for extractor testing and the documented supported-version range. Kotlin 2.4.21 was already supported by the existing extractor, so there is no analysis behaviour change.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@andersfugmann
andersfugmann force-pushed the andersfugmann/kotlin-2-4-21-support branch from fe56bef to 12415c7 Compare November 11, 2026 12:23
@andersfugmann andersfugmann changed the title Kotlin: support 2.4.21 Kotlin: update test compiler and documentation to 2.4.21 Nov 11, 2026
@github-actions github-actions Bot removed the Java label Nov 11, 2026
@andersfugmann
andersfugmann marked this pull request as ready for review November 11, 2026 12:32
@andersfugmann
andersfugmann requested review from a team as code owners November 11, 2026 12:32
Copilot AI auto review requested due to automatic review settings November 11, 2026 12:32

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues were identified in the limited wrapper-default and supported-version documentation updates.

No open issues 🎉

What changed in this PR

Updates Kotlin extractor development defaults and documentation to reflect Kotlin 2.4.21 while preserving the existing 2.4.20 extractor baseline and explicit version selections.

Changes:

  • Bumps the development wrapper’s default Kotlin compiler from 2.4.20 to 2.4.21.
  • Updates the documented supported Kotlin compiler range through 2.4.21.
  • Leaves extractor implementation, analysis behavior, and packaging baselines unchanged.
File Description
java/​kotlin-extractor/​dev/​wrapper.py Sets Kotlin 2.4.21 as the default compiler for local development and CI.
docs/​codeql/​reusables/​supported-versions-compilers.rst Documents Kotlin compiler support through version 2.4.21.

Review effort: Lite (auto)


Eclipse compiler for Java (ECJ) [6]_",``.java``
Kotlin,"Kotlin 1.8.0 to 2.4.20","kotlinc",``.kt``
Kotlin,"Kotlin 1.8.0 to 2.4.21","kotlinc",``.kt``

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought we had something like 2.4.2x here before. Did we accidentally drop that?

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants