You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by Gregor Zurowski <gr...@list.zurowski.org> on 2026/04/22 15:35:28 UTC
Error preparing 4.20.0 release
Hi Everyone:
When trying to prepare the new 4.20.0 release, I am running into the
following error:
```
[ERROR] JDK 25+ is required for releases to ensure all multi-release
JAR layers (java-21, java-25) are compiled.
```
I want to make sure that this is intended before I proceed building
with Java 25.
Thanks,
Gregor
Re: Error preparing 4.20.0 release
Posted by Federico Mariani <fe...@gmail.com>.
Hi Gregor,
Yes, this is intended. Java 25 is required on main at build time so that
the multi-release JAR can include the JDK 25-specific layer with ScopedValue
support.
The baseline compatibility remains JDK 17, but camel-util is shipped as a
multi-release JAR so that users running on JDK 25 can take advantage of
VirtualThreads and ScopedValue, while users on JDK 17 continue to work as
before.
Federico
Il giorno mer 22 apr 2026 alle ore 16:37 Gregor Zurowski <
gregor@list.zurowski.org> ha scritto:
> Hi Everyone:
>
> When trying to prepare the new 4.20.0 release, I am running into the
> following error:
>
> ```
> [ERROR] JDK 25+ is required for releases to ensure all multi-release
> JAR layers (java-21, java-25) are compiled.
> ```
>
> I want to make sure that this is intended before I proceed building
> with Java 25.
>
> Thanks,
> Gregor
>
Re: Error preparing 4.20.0 release
Posted by Aurelien Pupier via dev <de...@camel.apache.org>.
Hi Gregor,
I confirm that it is intended. See https://lists.apache.org/thread/qvn5t16nmwb6ljvl3vq04v3hbn1qs69p
Regards,
________________________________
From: Gregor Zurowski <gr...@list.zurowski.org>
Sent: Wednesday, April 22, 2026 5:35 PM
To: dev@camel.apache.org <de...@camel.apache.org>
Subject: [EXTERNAL] Error preparing 4.20.0 release
Hi Everyone:
When trying to prepare the new 4.20.0 release, I am running into the
following error:
```
[ERROR] JDK 25+ is required for releases to ensure all multi-release
JAR layers (java-21, java-25) are compiled.
```
I want to make sure that this is intended before I proceed building
with Java 25.
Thanks,
Gregor
Unless otherwise stated above:
Compagnie IBM France
Siège Social : 17, avenue de l'Europe, 92275 Bois-Colombes Cedex
RCS Nanterre 552 118 465
Forme Sociale : S.A.S.
Capital Social : 664 614 175,50 €
SIRET : 552 118 465 03644 - Code NAF 6203Z