Repository navigation
Kotlin: update test compiler and documentation to 2.4.21 - #23092
Open
andersfugmann wants to merge 1 commit into
Open
andersfugmann wants to merge 1 commit into
andersfugmann wants to merge 1 commit into
Conversation
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
force-pushed
the
andersfugmann/kotlin-2-4-21-support
branch
from
November 11, 2026 12:23
fe56bef to
12415c7
Compare
andersfugmann
marked this pull request as ready for review
November 11, 2026 12:32
Contributor
There was a problem hiding this comment.
🟢 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)
jketema
reviewed
Nov 11, 2026
|
|
||
| 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`` |
Contributor
There was a problem hiding this comment.
I thought we had something like 2.4.2x here before. Did we accidentally drop that?
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 thekotlinandkotlinccommands 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.