Open
Description
I'm facing the following error when running a test against Kotlin 2.0.10-RC2:
java.lang.NoSuchFieldError: DEFAULT
at com.tschuchort.compiletesting.KotlinCompilation.<init>(KotlinCompilation.kt:143)
KotlinCompilation
is trying to access JvmDefaultMode.DEFAULT
:
var jvmDefault: String = JvmDefaultMode.DEFAULT.description
JvmDefaultMode
no longer has DEFAULT
in Kotlin 2.0.10-RC2:
package org.jetbrains.kotlin.config
enum class JvmDefaultMode(val description: String) {
DISABLE("disable"),
ALL_COMPATIBILITY("all-compatibility"),
ALL("all");
}
Metadata
Metadata
Assignees
Labels
No labels