Re: Cayenne 5 to require Java 21

Andrus Adamchik <[email protected]> Sat, 9 May 2026 08:11:28 -0400
Newsgroups gmane.comp.java.cayenne.user
Message-ID <[email protected]>
Going ahead with this as well.

> On May 7, 2026, at 2:25=E2=80=AFPM, Michael Gentry =
<[email protected]> wrote:
>=20
> I think that's a good idea. The environments Cayenne is most likely to =
be
> used in benefit greatly from Java 21's Virtual Threads, so it wouldn't
> surprise me if that is what most will be targeting.
>=20
> On Thu, May 7, 2026 at 12:51=E2=80=AFPM Andrus Adamchik =
<[email protected]> wrote:
>=20
>> Another heads up. I think we need to bump up Cayenne 5.0 to Java 21 =
from
>> 11:
>>=20
>> 1. J11 is quickly becoming a problem (e.g., we are building an MCP =
server,
>> and MCP SDK requires J17)
>> 2. The final release is still some time away (a year or more). By =
then J11
>> will even more of an ancient history
>> 3. 4.2.x still works fine on Java 8, 11 or newer
>>=20
>> Of course everyone's feedback is welcome.
>>=20
>> Andrus
>>=20
>>=20