How to update to a new release
Changelog
Compiler
Fixes
KT-41078
Incorrect type substitution in contracts with type parametersKT-44770
JVM / IR: "IllegalArgumentException: Unrecognized Type: [null]" Jackson doesn't recognize typeKT-45084
JVM IR: "NoSuchElementException: Sequence contains no element matching the predicate" when inline class is passed to lambda with >22 parametersKT-45779
JVM / IR: java.lang.NoSuchMethodError: 'int java.lang.Integer.plus(int)' caused by function referenceKT-45941
JVM IR: local functions use generic type parameters of the outer class in the bytecode, which breaks Bytebuddy and MockKKT-46149
Generate synthetic classes for SAM adapters with erased instead of generic supertypeKT-46189
JVM IR: tailrec function with capturing lambda in default parameter value leads to NoSuchMethodError at runtimeKT-46214
JVM / IR: "IllegalStateException: No mapping for symbol: VALUE_PARAMETER INSTANCE_RECEIVER" on a suspend function in an inner classKT-46238
JVM IR: BootstrapMethodError in JDK 11+ on intersection type passed in arguments of SAM adapter where SAM interface's type parameter has a non-trivial upper boundKT-46259
JVM IR: local function for adapted function reference is not declared as ACC_SYNTHETICKT-46284
JVM IR: "Unbound private symbol IrClassSymbol" on class reference to script classKT-46402
IllegalAccessError: "CapturedLambdaInterpreter (in unnamed module @0x71b06418) cannot access class jdk.internal.org.objectweb.asm.Type" caused by inline function with a suspend parameter in Maven projectKT-46408
JVM IR: BootstrapMethodError due to missing bridge for subclass of generic Java interfaceKT-46426
JVM IR: Corrupted .class file when passing Array constructor reference as (inline) lambdaKT-46455
OOM on parsing invalid code with string interpolationKT-46503
JVM IR: "AssertionError: Unexpected variance in super type argument: out @1"KT-46505
JVM IR: NullPointerException caused by a callable reference with nullable inline value class parameterKT-46512
JVM / IR: NoSuchMethodError on SAM conversion of a function referenceKT-46515
IndexOutOfBoundsException: "Empty list doesn't contain element at index 0." on bad variable name in 1.5.0KT-46516
JVM IR: "AnalyzerException: Expected I, but found R" on subclassing AbstractMutableListKT-46524
Cannot use unsigned literals with api-version < 1.5 even with opt-inKT-46537
JVM / IR: "IllegalStateException: No noarg super constructor for CLASS" caused by "No-arg" plugin with annotation on child classKT-46540
JVM / IR: AnalyzerException: Expected an object reference, but found J caused by java.function.SupplierKT-46554
JVM IR: "IllegalStateException: No mapping for symbol: VAR IR_TEMPORARY_VARIABLE" with value class constructor delegation callKT-46555
JVM IR: IllegalAccessError when using Java method referenceKT-46562
Kotlin 1.5.0 generates non-serializable lambdas when they should be serializableKT-46568
JVM IR: "AssertionError: IrCall expected inside JvmStatic wrapper" on compiling protected static function with return type Nothing inside companion object of abstract classKT-46574
JVM / IR: ClassCastException caused by runBlocking awaiting call while returning Kotlin.Result type.KT-46579
JVM IR: "IllegalArgumentException: Sequence contains more than one matching element" for Java enum with overloaded values() static methodKT-46584
JVM IR: Intrinsics.needClassReification (UnsupportedOperationException thrown). Property delegate provider crossinline lambda inlining/reification issueKT-46751
JVM / IR:"ClassCastException: java.lang.String cannot be cast to java.lang.Void" in extension function in Kotlin 1.5
IDE
KT-45981
failed to analyze: java.lang.AssertionError: diagnostic callback has been already registered: Code analysis get stuck in AS 2020.3.1.14 & Kotlin v1.5.0-M2KT-46622
60+ second freezes with Kotlin plugin 1.5.0: GetModuleInfoKt.findJvmStdlibAcrossDependencies
IDE. Gradle Integration
KT-46417
[UNRESOLVED_REFERENCE] For project to project dependencies of native platform test source sets
Libraries
KT-46280
JvmRecord annotation missing constructor in common
Middle-end. IR
KT-44013
NPE: When calling constructor of a function type while inheriting from it, despite it's an interface
Tools. Android Extensions
KT-46590
Kotlin Android Extensions 1.5.0 generates bad writeToParcel() method for nullable Array types
Tools. Gradle
KT-41142
Kotlin version conflict when using Kotlin Gradle plugins in pre-compiled script pluginKT-46353
Optimizations disabled in Gradle 7 for KAPT when generating sourcesKT-46368
Memory leak with 1.5.0-RC when building with GradleKT-46689
Track -Xuse-old-backend flag usage
Tools. Gradle. JS
KT-46006
KJS \ Gradle: Task without declaring an explicit or implicit dependency onjsGenerateExternalsIntegrated
in Gradle 7KT-46162
KJS: Exported items unavailable on dev serverKT-46331
KJS: Withkotlin.js.webpack.major.version=4
browserXRun tasks fail
Tools. Parcelize
KT-46567
Kotlin 1.5.0 parcelize compilation fails in new backend when using TypeParceller with nested generics
Tools. kapt
KT-45532
Do not create Kapt stubs directory during configuration time
Checksums
File | Sha256 |
---|---|
kotlin-compiler-1.5.10.zip | 2f8de1d73b816354055ff6a4b974b711c11ad55a68b948ed30b38155706b3c4e |
kotlin-native-linux-1.5.10.tar.gz | 0463222fb84e0f997e3c71af89ed1d1c4b3b9894cafffe5fc0ba1f125cf362ea |
kotlin-native-macos-1.5.10.tar.gz | bc227baad4a4c8b5cdf0b1a08fa3fb59132043f2ea88e2343c5f25584f5de3cd |
kotlin-native-windows-1.5.10.zip | e0816d91da9c4c38b3ef8891033185cb183f4a901054c9f17a9c72295ed40324 |