Kotlin 1.9.0-RC
Pre-release
Pre-release
Changelog
Backend. Wasm
KT-58188Restore binary compatibility of PlatformDiagnosticSuppressor.shouldReportUnusedParameterKT-58293Wasm: ReferenceError: e is not defined in kotlin.test.jsThrowKT-58931Wasm tests are failing to start on Kotlin 1.9.0-Beta
Compiler
Fixes
KT-58621K2: Private class shadows public function defined in the same packageKT-59102K2: constant evaluator does not provide Long type on shlKT-59079"AE: SyntheticAccessorLowering should not attempt to modify other files!" with callable reference to constructor with value class parameterKT-58787KAPT: "NullPointerException: null cannot be cast to non-null type" with delegateKT-58837Partial linkage fails to report any compiler message on Windows when launched through Gradle pluginKT-59030[PL] Workaround for broken@Deprecatedannotations in c-interop KLIBsKT-58618K2: Local property delegates cannot infer generic return typeKT-58897K2: False positive unresolved reference with same-named enum class and its entryKT-56927Enum with secondary constructor can't be compiled with K2 using JS/Native backendKT-57570Remove source code excerpts from platform type nullability assertion exceptionsKT-52774Resolve unqualified enum constants based on expected type
IDE. Gradle Integration
JavaScript
KT-58570KJS: ES6 classes + PL throw java.lang.NullPointerExceptionKT-58835K2/JS: Fix incremental compilation klib testsKT-58794KJS / K2: Assertion failed with Space build
Libraries
KT-58985Update KClass.isData KDocKT-58276Deprecate redundant public declarations in kotlin.native.concurrent
Native. ObjC Export
KT-58839K/N: Exception during HiddenFromObjC marked class extension function compiling
Tools. Compiler plugins. Serialization
KT-58918Serialization: NPE at run time obtaining a serializer for a sealed class with a generic self-referencing propertyKT-58954Serialization: NPE at run time when accessing a delegating property of a deserialized objectKT-59113Serialization: NPE at run time when accessing a delegating property of a deserialized objectKT-57647Serialization: "IllegalAccessError: Update to static final field" caused by serializable value class
Tools. Gradle
KT-59256[1.9.0-Beta] ServiceLoader does not pick up classes defined in the same projectKT-58662Gradle 8.1 + Configuration Cache: custom values data is missing from build reportKT-59063Explicit API mode broken in Kotlin 1.9.0-BetaKT-59191Actual compilation failure exception might be hidden in the case of a Kotlin daemon crashKT-59056FreeCompilerArgs options added using 'subprojects' extension override module-level freeCompilerArgs optionsKT-55740Gradle 8: Listener registration using Gradle.addBuildListener() has been deprecatedKT-58251Build Statistics. Kotlin-specific tags are missing in build scans if projects use Gradle 8+KT-58916[1.9.0-Beta] PLUGIN_CLASSPATH_CONFIGURATION_NAME and NATIVE_COMPILER_PLUGIN_CLASSPATH_CONFIGURATION_NAME should stay public or offer an alternative APIKT-58869K2, Gradle: Improve message "100% (2/2) tasks have compiled with Kotlin 2"
Tools. Gradle. JS
KT-59116K/JS npm dependcies are not resolved properly on Kotlin 1.9KT-58970browserTest gradle task fails if karma is used and gradle configuration cache is enabledKT-59004Kotlin JS 1.9.0-Beta, yarn.lock is unstable in multi module project
Tools. Gradle. Multiplatform
KT-57903Prepare for migration to the pluggable android target pluginKT-58661KGP: KotlinJvmTarget: Implement 'run' carrier taskKT-59055KotlinJvmRun not respecting jvmToolchain setting
Tools. Gradle. Native
KT-57823KotlinNativeCompileOptions.moduleName value is ignored and replaced with the default one if to set up using compilationsKT-58838KGP/Multiplatform: 1.9.0-Beta with custom cinterops: IllegalStateException: Could not create domain object 'jni' (DefaultCInteropSettings)
Tools. Incremental Compile
KT-58986New IC: ISE "The following LookupSymbols are not yet converted to ProgramSymbols: LookupSymbol(name=$$delegatedProperties, ...)"
Tools. Parcelize
KT-59112K2: "IllegalStateException: Function has no body with@Parcelize" on nested sealed class hierarchies
Checksums
| File | Sha256 |
|---|---|
| kotlin-compiler-1.9.0-RC.zip | d00312caa89de1dd3f62d80d5b31724efc333101616ba4a22caf4458862315e7 |
| kotlin-native-linux-x86_64-1.9.0-RC.tar.gz | 2dc30ef2b73bcc561decd5efc7b78b7431cfe2fb982c471baaa6762c5022ce5a |
| kotlin-native-macos-x86_64-1.9.0-RC.tar.gz | a4b9b2dbb6793ee6857e3cbdecceb2d972aba1c1055e64bd7cce90fe0c776afc |
| kotlin-native-macos-aarch64-1.9.0-RC.tar.gz | 1ca609007c2cbc587b4ce5e689064867ec18a377ce0ca24a777edf8d74cb7df9 |
| kotlin-native-windows-x86_64-1.9.0-RC.zip | b3e35851992132fea2608fa6be87f0fda4b613bca2a4417e5dc3bf1509128a2d |