https://kotlinlang.org logo
Title
d

Daniel Svensson

09/24/2021, 8:08 AM
Is full Java 17 LTS support scheduled for a 1.5.x release, 1.6.0 release, or later?
👀 1
d

dmitriy.novozhilov

09/24/2021, 10:59 AM
What do you mean by "Java 17 support"? Java sealed classes will be supported in 1.6 (actually, they are supported in 1.5.30 under a flag) No other java 17 features don't need any special support
d

Daniel Svensson

09/24/2021, 11:01 AM
kapt?
d

dmitriy.novozhilov

09/24/2021, 11:17 AM
What about kapt?
d

Daniel Svensson

09/24/2021, 11:51 AM
From my understanding it does not work with Java 17 is this incorrect?
d

dmitriy.novozhilov

09/24/2021, 11:56 AM
AFAIK kapt compatibility issue with JDK 17 was fixed in 1.5.30 If you found something new please report it in youtrack https://youtrack.jetbrains.com/issue/KT-47583
d

Daniel Svensson

09/24/2021, 12:01 PM
ah, cool, then it's just a matter of waiting for the next gradle release then.
a

Andrey Uskov [JB]

10/05/2021, 7:58 AM
@Daniel Svensson, the issue you've mentioned is related to restrictions of internal modules in new versions of JDK. In most cases there are work-arounds how to make KAPT working and they are described in comments. Nevertheless we'are planning to make KAPT working out-of-box in nearest future (1.6.10 or 1.6.20).
d

Daniel Svensson

10/05/2021, 8:02 AM
Thanks, is .10 and .20 scheduled for this year or next?
a

Andrey Uskov [JB]

10/05/2021, 8:12 AM
I guess at least one of them should be released this year.
d

Daniel Svensson

10/05/2021, 8:13 AM
Is it the above ticket to track, or is there any other more specific?
a

Andrey Uskov [JB]

10/11/2021, 9:11 AM
Small update from my side. The fix is merged in 1.6.0-RC (the issue), so the build should become available in couple days.
❤️ 1