Use JDK 17

SEASON is written for JDK 11 since v1.1.0.

Which LTS version of JDK to use for this project?

Considered Alternatives

  • JDK 11
  • JDK 17

Decision Outcome

  • Chosen Alternative: JDK 17
  • JDK 17 can use <=JDK 17 libraries.
  • New syntax can be used and learn.
  • Versions of Maven plugins used in other projects may fail due to restriction of module system.

Pros and Cons of the Alternatives

JDK 11

  • + as in other projects (except PMP 6)
  • - was published in september 2018, it's time to use the next in a real case

JDK 17

  • + is the last published LTS
  • + works with libraries compiled with previous JDK
  • + using a new version allows to learn the new features
  • - module system was enforce in JDK 17 and can raise new errors and warnings