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 <
[email protected]> 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
>

Reply via email to