Path: csiph.com!weretis.net!feeder8.news.weretis.net!3.eu.feeder.erje.net!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod From: Hans-Christoph Steiner Newsgroups: linux.debian.maint.java Subject: Re: Kotlin and OpenJDK 8 in Bookworm? Date: Mon, 13 Feb 2023 12:40:02 +0100 Message-ID: References: X-Mailbox-Line: From debian-java-request@lists.debian.org Mon Feb 13 11:32:08 2023 Old-Return-Path: X-Amavis-Spam-Status: No, score=-7.898 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001] autolearn=ham autolearn_force=no X-Policyd-Weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .at. - helo: .out4-smtp.messagingengine. - helo-domain: .messagingengine.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5 X-Me-Sender: X-Me-Received: X-Me-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudeiuddgvdejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefkffggvfhfhfhoufgjtgfgsehtke ertddttdejnecuhfhrohhmpefjrghnshdqvehhrhhishhtohhphhcuufhtvghinhgvrhcu oehhrghnshesrghtrdhorhdrrghtqeenucggtffrrghtthgvrhhnpedukedugfelgeefhf euffejudekgeekteevheeftdekleehveekheeijefhuddukeenucevlhhushhtvghrufhi iigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehhrghnshesrghtrdhorhdrrght X-Me-Proxy: Feedback-ID: i264a41e9:Fastmail MIME-Version: 1.0 Content-Language: en-US Organization: @||@ Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Mailing-List: archive/latest/23209 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/8e164cb4-4886-ed32-38c3-6bfa7c5a91c8@at.or.at Approved: robomod@news.nic.it Lines: 45 Sender: robomod@news.nic.it X-Original-Date: Mon, 13 Feb 2023 12:31:38 +0100 X-Original-Message-ID: <8e164cb4-4886-ed32-38c3-6bfa7c5a91c8@at.or.at> X-Original-References: <298c5e7142ad9fc677f2f567242c8ea3@apache.org> <9894af91a4c2e53f65da4a6ed7f7be4005e491dd.camel@debian.org> Xref: csiph.com linux.debian.maint.java:12557 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