To prepare for Java runtime management in the launcher this PR introduces
an entry to VersionHistory to denote the first (upcoming) game release to require Java 17
add a new checked exception to bail out in case the launcher tries to start an unsupported version
In this state, the user experience is not great, but at least the launcher is not crashing an the error message shows a somewhat useful message.
This could be released as a minor or patch release to harden the launcher against new releases and release candidates requiring that no longe work with the Java 11 shipped with the launcher.
How to test
Start the launcher and check that everything is working as expected.
To see the error message you can change the version in VersionHistory.JAVA17 to something lower like 4.0.0 and try to download and run the latest 5.3.0 release.
The launcher should show an error message, but otherwise handle the issue gracefully.
Contains
To prepare for Java runtime management in the launcher this PR introduces
VersionHistory
to denote the first (upcoming) game release to require Java 17In this state, the user experience is not great, but at least the launcher is not crashing an the error message shows a somewhat useful message.
This could be released as a minor or patch release to harden the launcher against new releases and release candidates requiring that no longe work with the Java 11 shipped with the launcher.
How to test
Start the launcher and check that everything is working as expected.
To see the error message you can change the version in
VersionHistory.JAVA17
to something lower like4.0.0
and try to download and run the latest 5.3.0 release. The launcher should show an error message, but otherwise handle the issue gracefully.Outstanding before merging
Nothing.