Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.java > #12695
| Path | csiph.com!1.us.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!fu-berlin.de!bofh.it!news.nic.it!robomod |
|---|---|
| From | Emmanuel Bourg <ebourg@apache.org> |
| Newsgroups | linux.debian.maint.java |
| Subject | Re: Updating source/target level for Java 21 compatibility to 8 |
| Date | Thu, 14 Sep 2023 16:00:02 +0200 |
| Message-ID | <HdV2W-8Wtk-7@gated-at.bofh.it> (permalink) |
| References | <HdH9E-8Ogh-21@gated-at.bofh.it> |
| X-Original-To | Vladimir Petko <vladimir.petko@canonical.com> |
| X-Mailbox-Line | From debian-java-request@lists.debian.org Thu Sep 14 13:52:03 2023 |
| Old-Return-Path | <ebourg@apache.org> |
| X-Amavis-Spam-Status | No, score=-6.998 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | using cached result; rate: -3.5 |
| X-Greylist | delayed 20999 seconds by postgrey-1.36 at bendel; Thu, 14 Sep 2023 13:51:44 UTC |
| MIME-Version | 1.0 |
| User-Agent | Roundcube Webmail/1.4.13 |
| X-Sender | ebourg@apache.org |
| X-Originating-IP | 78.197.213.85 |
| X-Webmail-Userid | ebourg-oss@ariane-software.com |
| Content-Type | text/plain; charset=UTF-8; format=flowed |
| Content-Transfer-Encoding | 8bit |
| X-Ovh-Tracer-ID | 13585671227222194358 |
| X-Vr-Spamstate | OK |
| X-Vr-Spamscore | -100 |
| X-Vr-Spamcause | gggruggvucftvghtrhhoucdtuddrgedviedrudeiledguddvfecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpeggfffhvfevufgjfhgfkfigihgtgfesthekjhdttderjeenucfhrhhomhepgfhmmhgrnhhuvghluceuohhurhhguceovggsohhurhhgsegrphgrtghhvgdrohhrgheqnecuggftrfgrthhtvghrnhepledvhfegveegtddukeetudejfeefvddtudejkefftdejiedvvdfhuedvkeekveegnecuffhomhgrihhnpeguvggsihgrnhdrohhrghenucfkphepuddvjedrtddrtddruddpjeekrdduleejrddvudefrdekhedpudehuddrkedtrddvledrudeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeovggsohhurhhgsegrphgrtghhvgdrohhrgheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohepuggvsghirghnqdhjrghvrgeslhhishhtshdruggvsghirghnrdhorhhgpdfovfetjfhoshhtpehmohehkeegpdhmohguvgepshhmthhpohhuth |
| X-Mailing-List | <debian-java@lists.debian.org> archive/latest/23377 |
| List-ID | <debian-java.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-java/> |
| List-Archive | https://lists.debian.org/msgid-search/6a078d6bed965e90952d7cae31a28610@apache.org |
| Approved | robomod@news.nic.it |
| Lines | 38 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Cc | debian-java@lists.debian.org |
| X-Original-Date | Thu, 14 Sep 2023 09:55:53 +0200 |
| X-Original-Message-ID | <6a078d6bed965e90952d7cae31a28610@apache.org> |
| X-Original-References | <CALFf3kfXrnOA2d2kV8UPkyBPoWCCsSBjna+vtRUC6xf1n3dYPA@mail.gmail.com> |
| Xref | csiph.com linux.debian.maint.java:12695 |
Show key headers only | View raw
Le 2023-09-14 01:03, Vladimir Petko a écrit : > Java 21 removes source/target compatibility level 7. Some packages (80 > in total as per the attached list) have it specified in rules or > Makefiles. > I was wondering if it is okay to raise a single bug to update them and > submit the changes as pull requests on Salsa. For the previous Java migrations I started with a mass rebuild and then filling a bug report for each broken package. The reports had a user tag to be able to follow the progress (and document the main issues encountered). Here is for example the bug list for the migration to Java 17: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=default-java17;users=debian-java@lists.debian.org Personally I find it satisfying to see the list shrinking over time, I also hoped that it would entice new contributors to join the migration effort (but it barely materialized, if at all). But as long as the work is done it doesn't really matter how it is organized. > Also, we could add a DEB_ variable to specify the minimal supported > level. The variable will allow us to avoid repeating this work in the > future, but I am not sure what is the best way to provide it. Interesting idea. Where would that variable be declared? In debhelper? Will the maintainers agree? As a side note, bumping the source/target level isn't always the best solution. For example olap4j breaks when building the Javadoc, in this case I recommend scrapping the -java-doc package. These packages are a recurrent source of issues when migrating to more recent JDKs, and they are almost never used. Emmanuel Bourg
Back to linux.debian.maint.java | Previous | Next — Previous in thread | Next in thread | Find similar
Updating source/target level for Java 21 compatibility to 8 Vladimir Petko <vladimir.petko@canonical.com> - 2023-09-14 01:10 +0200
Re: Updating source/target level for Java 21 compatibility to 8 Emmanuel Bourg <ebourg@apache.org> - 2023-09-14 16:00 +0200
Re: Updating source/target level for Java 21 compatibility to 8 Vladimir Petko <vladimir.petko@canonical.com> - 2023-09-15 00:00 +0200
Re: Updating source/target level for Java 21 compatibility to 8 Vladimir Petko <vladimir.petko@canonical.com> - 2023-09-25 04:20 +0200
Re: Updating source/target level for Java 21 compatibility to 8 Emmanuel Bourg <ebourg@apache.org> - 2023-09-25 11:20 +0200
csiph-web