spring-petclinic-rest icon indicating copy to clipboard operation
spring-petclinic-rest copied to clipboard

Use Java 17

Open stevenvanophem opened this issue 3 years ago • 3 comments

The maven build seems to run fine using Java 17. Migrating this build to Java 17 should be straightforward.

  1. Update the Github workflow action to use Java 17
  2. Add the property <java.version>17</java.version> to the maven properties

stevenvanophem avatar Jan 23 '22 12:01 stevenvanophem

Hi @arey @stevenvanophem if it's not taken, I'll take care of it.

Tell me if you 're OK.

alexandre-touret avatar Feb 15 '22 14:02 alexandre-touret

Not sure that we have only to support Java 17 and above. I prefer this sample remains compatible with the previous LTS (Java 11)

arey avatar Feb 15 '22 16:02 arey

IMO, although the expected benefits will be weak, this sample should stick to the latest LTS ( --> 17)

alexandre-touret avatar Feb 15 '22 17:02 alexandre-touret

I propose to move to Java 17 with Spring Boot 3 migration.

arey avatar Dec 23 '22 15:12 arey