Edit: Problem was fixed by pointing JDK_16 to an a...
# compiler
j
Edit: Problem was fixed by pointing JDK_16 to an actual Java 6 JDK, not a Java 8 one. Hi all! I'm trying to compile
kotlin-scripting-jvm-host
from the 1.4-M3 source but the
./gradlew :kotlin-stdlib:compileKotlin
task fails. I'm on a clean branch with tag
build-1.4-M3-release-207
(the one that was apparently used to compile the compiler jar available at the bottom of https://github.com/JetBrains/kotlin/releases/tag/v1.3.72) . It fails with the error below. Any idea what's going on?
Copy code
> Task :kotlin-annotations-jvm:processResources NO-SOURCE
> Task :kotlin-annotations-jvm:classes
> Task :kotlin-annotations-jvm:inspectClassesForKotlinIC
> Task :kotlin-annotations-jvm:jar
> Task :prepare:build.version:writeStdlibVersion UP-TO-DATE
> Task :kotlin-stdlib-common:compileKotlinCommon UP-TO-DATE
> Task :kotlin-stdlib-common:processResources NO-SOURCE
> Task :kotlin-stdlib-common:classes UP-TO-DATE
> Task :kotlin-stdlib-common:inspectClassesForKotlinIC UP-TO-DATE
> Task :kotlin-stdlib-common:jar UP-TO-DATE
> Task :kotlin-stdlib:compileKotlin
e: /usr/local/google/code/kotlin/libraries/stdlib/jvm/src/kotlin/reflect/TypesJVM.kt: (98, 9): 'getTypeName' hides member of supertype 'Type' and needs 'override' modifier
e: /usr/local/google/code/kotlin/libraries/stdlib/jvm/src/kotlin/reflect/TypesJVM.kt: (102, 9): Class 'TypeVariableImpl' is not abstract and does not implement abstract member public abstract fun <T : Annotation!> getAnnotation(p0: Class<T!>!): T! defined in java.lang.reflect.TypeVariable
> Task :kotlin-stdlib:compileKotlin FAILED
Build time for tasks:
Compiling kotlin: 52.33s (90.48% of total time)
Uncategorized: 4.89s (8.46% of total time)
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':kotlin-stdlib:compileKotlin'.
Same thing at branch
v1.4-M3
/
build-1.4-M3-release-209
😕