I'm having a weird issue where latest `-RC` (anyth...
# eap
m
I'm having a weird issue where latest
-RC
(anything >=
1.8.20-RC-243
) show Java 19 warnings (and fail with
allWarningsAsErrors
). My JAVA_HOME is 19 but I'm supposed to compile with a 17 toolchain and target
1.8
(failed CI run). Does that ring a bell to anyone?
👀 1
🙏 1
Also is it ok to report
-RC-foo
issues here? Given they're certainly not as tested as the proper EAPs, is it still worth reporting this?
t
yes, please report
generally
-RC-foo
should be stable
m
Want me to open a Youtrack or here is fine?
t
let me quickly check the issue
m
git clone and
./gradlew compileKotlin
(using Java 19 as JAVA_HOME) should reproduce it
t
have you seen it with
1.8.20-Beta
? 🤔
m
No,
1.8.20-Beta
is fine
I bisected to
RC-243
(
RC-237
is fine)
t
interesting, there were no changes in regard of toolchain handling 🤔
Compilation definitely receives correct JDK:
[KOTLIN] Kotlin compilation 'jdkHome' argument: /opt/openjdk-bin-17.0.6_p10
m
Could it be a daemon thing?
I put
kotlin.compiler.execution.strategy=in-process
in that project but not sure if it changes anything
t
this actually runs without Kotlin daemon
with Kotlin daemon I also see such error
please create a new YT issue - seems to be compiler problem
t
FYI: found the cause - should be fixed before RC
m
Nice, thanks!