Support OpenJDK 11+ (java 9, java 11, java 17, java 21)
- Dominant language
- Java
- Stars
- 2.4k
- Forks
- 940
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 160
Description
Allowing people running XMage on OpenJDK 11+ would involve many steps:
_(**UPDATE**: expect this list to be updated dynamically)_
- [X] Replace `sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl`
- [x] #6380
- [X] Stop using deprecated (later removed) Look and Feel classes
- [x] #6394
- [ ] Update the Update the JBoss/Wildfly serialisation infrastructure
- [ ] #6514
- [x] #6531
- [ ] #5862
- [ ] enable test before migrate: `test_SerializationEngines_Java17Support` ([details](https://github.com/magefree/mage/issues/5862#issuecomment-1835397750))
- [X] Add OpenJFX dependencies so the code can be compiled under OpenJDK11+
- [x] #6703
- [x] Fix Java 9+ packages compatible (javac does not detect split packages between classpath and system
image, e.g. `org.w3c.dom` problem)
- [x] #6809
- [x] Add OpenJFX libs to client assembly and return what's new page
- [x] #6818
- [ ] ??? Migrate to Java 9+ modules system (`module-info.java`)
- [ ] ??? #6820
- [x] Update Travis CI config to work with OpenJDK 11+
- [x] #6779
- [x] Update the Launcher so it does allow to use a local JDK/JRE, instead of an old, unsopported Oracle JDK8
- [ ] #5723
- [x] #6462
- [x] Upgrade GUI’s forms for newest NetBeans version, recreate some mission *.form files
- [x] #9211
- [ ] Update the README and documentation to officially support only JDK11+
- [ ] Inform XMage's third party servers about OpenJDK 11 migration before new release (e.g. by news website)
After migrate:
- [ ] change launcher and script settings to use hight dpi GUI: #969
- [ ] change launcher and script settings to use multiple java versions support with add-opens: #12768
- [ ] change launcher and script settings to use `-Dsun.java2d.uiScale=1.0`, see here: https://github.com/magefree/mage/issues/12768#issuecomment-2347125602
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.