Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-3961

Migrate code base to JDK21

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.9.0
    • None
    • None

    Description

      The community seems in favor of adopting JDK 21 and migrating the code base to it. Multiple reasons for it:

      • JDK 11 reached officially EOL 
      • JDK 21 is the latest LTS
      • multiple new features like records (bye bye boilerplates on POJOs), pattern matching, better GC, better thread management, ...

      Few things to keep in mind as well:

      • should we switch our modules to Jigsaw modules?
      • should we maintain a JDK11 version in parallel for letting time for everybody to do the switch?

      How:

      • ADR explaining the change
      • switch the JDK to 21 in the code base
      • modify the code to get a green build with minimal changes first
      • update documentation accordingly
      • can refactoring things little by little after (like switching to records for POJOs for example)

      Attachments

        Activity

          People

            Unassigned Unassigned
            rcordier René Cordier
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 3h 40m
                3h 40m