[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Kotlin and OpenJDK 8 in Bookworm?





Markus Koschany:
Am Mittwoch, dem 01.02.2023 um 12:24 +0100 schrieb Emmanuel Bourg:
Le 2023-01-26 17:17, Emmanuel Bourg a écrit :

I've been working on Kotlin lately, trying to make it build with
OpenJDK 17
only, and hopefully have it included in Bookworm.

Long story short, after days banging my head on this issue, I don't
think
it's possible.

I take that back, kotlin now builds with OpenJDK 17 and is on track to
migrate to testing.

This comes at a price though, besides my sanity I had the sacrifice the
Android support (the Android dependencies still build with OpenJDK 8)
and
the -Xuse-javac option which hasn't been updated for OpenJDK 17 yet [1].

That sounds awesome. Well done!

Great work there! I would still love to see openjdk-8 in bookworm. We're going to loose a bunch of Android things because doclava cannot run newer JDKs. Upstream still uses JDK8 to build it in the current Android code.

I think we have a clear case for the security team, since not only has upstream pledged support for the entire time window we need, but multiple distros as well.

The solution I think is to upgrade Gradle to the first version with the
Kotlin DSL source code merged, which is Gradle 5.3. I leave that to
someone
else.

Gradle 6.x works with the old Kotlin version and also builds gradle-kotlin-dsl
just fine. Let me tie up the loose ends together next week and then let's see
how it goes.

Thanks for keeping this moving, it is the best news I've heard in a while. I'm not sure how I can best support this effort, but please ping me if you need me to jump in anywhere.

.hc


Reply to: