Skip to content

chore(deps): Bump org.jetbrains.kotlin:kotlin-reflect from 2.3.21 to 2.4.0#1759

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/gradle/org.jetbrains.kotlin-kotlin-reflect-2.4.0
Open

chore(deps): Bump org.jetbrains.kotlin:kotlin-reflect from 2.3.21 to 2.4.0#1759
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/gradle/org.jetbrains.kotlin-kotlin-reflect-2.4.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Jun 3, 2026

Bumps org.jetbrains.kotlin:kotlin-reflect from 2.3.21 to 2.4.0.

Release notes

Sourced from org.jetbrains.kotlin:kotlin-reflect's releases.

Kotlin 2.4.0

Changelog

Analysis API

  • KT-83867 OVERLOAD_RESOLUTION_AMBIGUITY false positive with assertEquals in IJ repo
  • KT-83723 [Analysis API] Enable experimental KDoc resolver by default
  • KT-83388 Analysis API: properly support KMP in KotlinPackageProvider
  • KT-65683 Analysis API: Dangling file session creation causes a computeIfAbsent contract violation

Analysis API. Code Compilation

  • KT-78946 Evaluation of variable with local class in type parameter leads to InventNamesForLocalClasses exception

Analysis API. FIR

  • KT-68260 K2 AA: InvalidFirElementTypeException “For CALLABLE_REFERENCE_EXPRESSION with text ::lam1, unexpected element of type: no element found” with illegal callable reference call
  • KT-70896 AA: False positive deprecation warning with override of built-in method in JDK mapped class
  • KT-84711 K2 IDE sometimes loses FIR plugin-generated declarations after file changes
  • KT-84625 Analysis API: collectDesignationPath fails for nested classes inside plugin-generated top-level classes
  • KT-84596 Improve K2 Jooq completion performance
  • KT-84525 KaValueParameterSymbol#getHasSynthesizedName returns false for FirDeclarationOrigin.SubstitutionOverride.DeclarationSite
  • KT-83546 Kotlin analysis reach ClsCustomNavigationPolicy
  • KT-84259 Move CommonDefaultImportsProvider to the frontend independent module
  • KT-82945 Analysis API: KotlinIllegalArgumentExceptionWithAttachments: Expected FirResolvedTypeRef with ConeKotlinType but was FirUserTypeRefImpl
  • KT-71135 AA: exception from sealed inheritors checker when analyzeCopy

Analysis API. Infrastructure

Fixes

  • KT-83905 Analysis API: Improve UX with test data
  • KT-84913 Extract compiler classes used by the PSI & Analysis API to a separate module
  • KT-64986 Analysis API: Implement Analysis API tests for different KMP Platforms
  • KT-84776 The test data manager misses the redundancy check in the update mode
  • KT-84962 The test data manager misses -ea flag
  • KT-84388 Preserve the EOF status in the test data manager to avoid extra changes
  • KT-84362 Analysis API tests produce many warnings due to "not yet loaded registry"
  • KT-84279 Test Data Manager fails on a clean build
  • KT-83913 Exclude compiler-based Analysis API tests from Git tracking
  • KT-80379 Extract per-module test generators for AA tests
  • KT-84120 Move CLI modules out of kotlin-compiler-fe10-for-ide
  • KT-83200 Track external dependencies of the Analysis API modules

Analysis API. Light Classes

  • KT-82434 Light classes should prefer enum entries to properties
  • KT-84200 SLC: return type is not boxed for delegated methods with generic original method
  • KT-72451 "CCE: class PsiPrimitiveType cannot be cast to class PsiClassType" with same-named enum class and typealias

... (truncated)

Changelog

Sourced from org.jetbrains.kotlin:kotlin-reflect's changelog.

2.4.0-RC2

Backend. J2KLIB

  • KT-86367 [JKLIB] kotlin.Cloneable built-in class not found

Compose compiler

  • b/511102714 Made the default stability of non-final classes Unknown instead of Stable

Tools. Build Tools API

  • KT-86395 [BTA] forward-compatibility violation: NoSuchMethodError on JvmSnapshotBasedIncrementalCompilationConfiguration. breaks IC

Tools. Gradle

  • KT-86346 Compiler warnings printed twice in console — once as w: and again as Gradle "Problem found:" block

Tools. Gradle. BCV

  • KT-86268 ABI validation tasks fail with Unsupported platform toolchain type when using kotlin.compilerVersion pointing to an older compiler after BTA migration in 2.4.0-Beta2

Tools. Gradle. Wasm

  • KT-86457 [Wasm, Gradle] BinaryenExec.standardOutput is silently ignored after migration to Gradle Workers

2.4.0-RC

Backend. J2KLIB

  • KT-84877 [J2KLIB] Remove withKotlinBuiltinsHack present in JKlibIrLinker.kt
  • KT-85846 Tests failing with fake override property missing accessors or backing field
  • KT-85717 IllegalStateException due to already bound symbol
  • KT-86204 [JKlib] Propagate private members from dependecies in the IR tree

Compiler

  • KT-86210 Update -Xannotation-default-target CLI parameter doc
  • KT-85948 Contracts in 2.4 stdlib is not compatible with 2.3 compiler
  • KT-85957 Contract on function is getting discarded if any of effect declarations is unknown
  • KT-86130 False positive UNINITIALIZED_ENUM_COMPANION on LV 2.3 and lower
  • KT-84860 False positive UNINITIALIZED_ENUM_COMPANION in enum access with explicit receiver in enum initializer when enum class has a companion
  • KT-84319 Add JVM target bytecode version 26
  • KT-85825 Context parameter lambda loses context type when wrapped in nested run blocks
  • KT-84960 Property contract leaks unsubstituted type parameter in smart cast

Compose compiler

  • b/509945632 Do not generate groups in inline lambdas without @Composable calls

... (truncated)

Commits
  • add726c Add ChangeLog for 2.4.0-RC2
  • 69a4a81 [Wasm] Add binaryen per-file arguments
  • 8907c63 [KGP] Suppress duplicate compiler warning output when --warning-mode=all is a...
  • f9bef12 [KGP] Add failing test for duplicate compiler warning output via Problems API
  • 7fe49c2 KT-86268: Use 2.4.0 toolchain for abiValidation with older CVs
  • 13d25e2 KT-86268: Regression test added
  • f7d1a76 [JKlib] Fix JAR deserializer configuration.
  • 5cec663 [JKlib] Wire up JvmBuiltInClassDescriptorFactory
  • ef14611 Make the default stability of non-final classes Unknown instead of Stable
  • d76473a [Gradle] Fix GeneralNativeIT.shouldAllowToOverrideDownloadUrl test failures
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [org.jetbrains.kotlin:kotlin-reflect](https://github.com/JetBrains/kotlin) from 2.3.21 to 2.4.0.
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v2.4.0/ChangeLog.md)
- [Commits](JetBrains/kotlin@v2.3.21...v2.4.0)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-reflect
  dependency-version: 2.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Jun 3, 2026
@netlify
Copy link
Copy Markdown

netlify Bot commented Jun 3, 2026

Deploy Preview for springwolf-ui canceled.

Name Link
🔨 Latest commit eece273
🔍 Latest deploy log https://app.netlify.com/projects/springwolf-ui/deploys/6a201c4ef0b3e80008a47853

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

Labels

dependencies Pull requests that update a dependency file java Pull requests that update Java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants