jakartaee / rest

Jakarta RESTful Web Services
Other
353 stars 114 forks source link

JDK 21 #1167

Closed mkarg closed 10 months ago

mkarg commented 11 months ago

The Jakarta EE Platform 11 has a lower bound of JDK 21, so we need to raise bars a bit.

spericas commented 11 months ago

Let's switch to 21 in our 4.0 branch.

jamezp commented 11 months ago

FWIW the only spec I'm aware of with a minimum of Java 21 is concurrency. I don't really have a strong preference either way, but just wanted to point it out.

rsearls commented 10 months ago

It is my understanding that there might be concurrency changes made in jdk-21 that could break old jdk code. But that spec is not yet finalized nor fully implemented in jdk-21. James, do I understand this correctly?

I think there are 2 considerations based on the current state of jdk-21. How will this affect Wildfly and 3rd party customers that use the resteasy container separately. As long as resteasy is not using some element unique to jdk-21 that prevents it from being run with jdk-17 or jdk-11 there should be no concern for this change at this time. Once the concurrency changes are finalize and implemented we may need to re-evaluate how to move forward. Currently this seems like a low risk update to me.

On Wed, Aug 9, 2023 at 5:47 PM James R. Perkins @.***> wrote:

FWIW the only spec I'm aware of with a minimum of Java 21 is concurrency. I don't really have a strong preference either way, but just wanted to point it out.

— Reply to this email directly, view it on GitHub https://github.com/jakartaee/rest/issues/1167#issuecomment-1672199456, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAD3X46WIUPXRLILH4TIUW3XUQAOLANCNFSM6AAAAAA275QRVA . You are receiving this because you are subscribed to this thread.Message ID: @.***>