PMD already solved this problem in https://github.com/pmd/pmd/pull/4638 so I expect there will be a PMD release before JAX-RS 4 is published. Hence, looking at our own deadline, I rate this as a non-issue. -Markus Von: Mohamed M. El-Beltagy [mailto:melbeltagy@xxxxxxxxx] Gesendet: Donnerstag, 14. Dezember 2023 10:48 An: 'Jakarta Rest project developer discussions' Cc: Markus Karg Betreff: Re: [rest-dev] Drop Minimum Java Requirement to Java 17 I just thought of sharing a use case for your discussion that supports Java 17 over 21. Not all static code analysis tools support Java 21. - PMD 7, which adds support to Java 21 is not released yet. It's a release candidate at this moment.
- Sonar seems to be lacking support to Java 21 as well (cannot verify it)
In my case, I had to step down to Java 17 due to PMD 7. Just to clarify, I am not using Jakarta REST directly nor will be affected by your decision here. P.s., I would really love to actually move to Java 21 in my current project and I am all in with using Java 21 instead of 17 in your decision, but real life has it's own rules. On Thursday, December 14, 2023 at 11:17:26 AM GMT+2, Markus Karg via rest-dev <rest-dev@xxxxxxxxxxx> wrote: >Do we want people to adopt the new Jakarta REST 4.0 specification? If yes, running on Java SE 17 seems like we would get the most adoption. Frankly spoken: For those willing to move to JDK 21, yes. For that want or must stick with JDK 17, I have no problem to restrict them to JAX-RS 3.1. |