Package: kotlin / 1.3.31+ds1-1
Metadata
Package | Version | Patches format |
---|---|---|
kotlin | 1.3.31+ds1-1 | 3.0 (quilt) |
Patch series
view the series filePatch | File delta | Description |
---|---|---|
066 java9 compatibility 2.patch | (download) |
plugins/kapt3/kapt3-base/src/org/jetbrains/kotlin/kapt3/base/incremental/classStructureCache.kt |
15 13 + 2 - 0 ! |
[patch] kt-33889: do not use private non-api methods from JavacProcessingEnvironment Avoid using JavacProcessingEnvironment.validImportStringToPattern method because it has been removed in JDK9. This commit changes how we compute pattern to match the class names, and it create instances of Pattern manually by following spec for Processor.getSupportedAnnotationTypes(). Support for module prefix is not added yet. |
067 java17 compatibility.patch | (download) |
plugins/kapt3/kapt3-base/src/org/jetbrains/kotlin/kapt3/base/KaptContext.kt |
31 21 + 10 - 0 ! |
[patch] [kapt] add experimental jdk 17 support #KT-47583 Fixed |
068 pre jdk9 reflection.patch | (download) |
plugins/kapt3/kapt3-base/src/org/jetbrains/kotlin/kapt3/base/annotationProcessing.kt |
6 4 + 2 - 0 ! |
use reflection to call pre jdk9 methods. This is required to build with JDK 9 or later |
069 disable javac wrapper.patch | (download) |
compiler/cli/build.gradle |
3 1 + 2 - 0 ! |
disables the javac wrapper to be able to build with java 17 As of Kotlin 1.8.0 the wrapper, which is triggered by the -Xuse-javac compiler option, is still not compatible with the JDK 17 classes. |
070 replace proguard with jarjar.patch | (download) |
libraries/reflect/build.gradle |
17 8 + 9 - 0 ! |
replaces proguard with jarjar to assemble the kotlin-reflect jar. Proguard 6 is unable to parse the classes of OpenJDK 17, and it looks like Kotlin classes are evicted even if minimization is disabled, which breaks the build. To be retried with Proguard 7. |
071 java8 compatibility.patch | (download) |
core/metadata.jvm/src/org/jetbrains/kotlin/metadata/jvm/deserialization/utfEncoding.kt |
2 1 + 1 - 0 ! |
fixes the backward compatibility when running with java 8 When building with Java 17 the CharSequence.isEmpty() method is used instead of the extension method added to the CharSequence class by Kotlin. This causes NoSuchMethodErrors at runtime when Kotlin is used with Java 8. |
072 tty detection fallback.patch | (download) |
compiler/cli/src/org/jetbrains/kotlin/cli/common/messages/PlainTextMessageRenderer.java |
2 1 + 1 - 0 ! |
fall back to another tty detection method if jansi clibrary isn't available |