Le 23/03/2026 à 12:54, Santiago Vila a écrit :
Caused by: java.lang.IllegalArgumentException: 25.0.3-ea
at
org.jetbrains.kotlin.com.intellij.util.lang.JavaVersion.parse(JavaVersion.java:270)
at
org.jetbrains.kotlin.com.intellij.util.lang.JavaVersion.current(JavaVersion.java:144)
at
org.jetbrains.kotlin.com.intellij.openapi.util.SystemInfo.isJavaVersionAtLeast(SystemInfo.java:186)
at org.jetbrains.kotlin.com.intellij.Patches.<clinit>(Patches.java:36)
... 50 more
This error was fixed in intellij-community-idea/183.5153.4-7, but the
JavaVersion class is embedded in kotlin, so the package had to be
rebuilt. I've done that with kotlin/1.3.31+ds1-4 in unstable but I had
to downgrade the JDK to 21.
Now another error occurs, caused by javadoc changes in Java 25:
e:
/build/kotlin-1.3.31+ds1/plugins/kapt3/kapt3-compiler/src/org/jetbrains/kotlin/kapt3/stubs/KDocCommentKeeper.kt:
(157, 9): Class 'KDocComment' is not abstract and does not implement
abstract member public abstract fun getPos():
JCDiagnostic.DiagnosticPosition! defined in
com.sun.tools.javac.parser.Tokens.Comment
e:
/build/kotlin-1.3.31+ds1/plugins/kapt3/kapt3-compiler/src/org/jetbrains/kotlin/kapt3/stubs/KDocCommentKeeper.kt:
(159, 59): Unresolved reference: JAVADOC
e:
/build/kotlin-1.3.31+ds1/plugins/kapt3/kapt3-compiler/src/org/jetbrains/kotlin/kapt3/stubs/KDocCommentKeeper.kt:
(164, 9): Class 'KaptDocCommentTable' is not abstract and does not
implement abstract member public abstract fun getCommentKind(p0:
JCTree!): Elements.DocCommentKind! defined in
com.sun.tools.javac.tree.DocCommentTable
:kotlin-annotation-processing:compileKotlin FAILED