Stage 1 and Stage 2 GeoServer Builds and runs in JDK11
Andrea upgraded jetty and merged in all our jdk11 branches for a successful sprint!
We have been testing the result in different environments throughout the day.
Goals met:
- GeoTools / GeoWebCache / GeoSever builds and runs in Java 8 and Java 11
- GeoTools / GeoToolsCache / GeoServer builds in Java 11 and runs in Java 11 (due to a subtle library change you do not want to run the result on Java 8).
How to try it out:
- Download a nightly build, these can run in Java 8 or Java 11. The bin and war distributions have been tested!
Key accomplishments:
- GeoServer spring 5 upgrade, thanks to David Vick and everyone for this (especially the spring security upgrade with James)
- Kevin went through the same steps for GeoWebCache for a difficult couple of days
- Upgrading EMF models that drive much of our parsing technology. Thanks to Ian who worked through this, putting us in a much better spot to make changes to our codebase
- Torben helped down countless references to internal “com.sun” classes
- And a big thanks to Andrea for stepping up where needed (ie everywhere) and encouraging everyone through out the week
How to help:
-
Update our Production Consideration page to include Java 11 compatibility
-
Fix up our developers guide and build instructions
There is a list of items we are not in position to replace today:
- jai_codec, jai_core and jai_imageio depend on java removed internal api (we will need to look at options in 2019)
- ehcache, and gt-geobuf depends on jdk.internals.
- freemarker, hsqldb, parboiled make use of illegal reflective access
- gt-printing depends on a library using jdk.internals, map fish print has a newer version (upgrade amounts to a rewrite, check with Mauro)
- Various testing libraries
For a picture of the team David has a thank you to our sponsors on linkedin. Thanks to Gaia3D for leading with a silver sponsorship, and Astun Technology, OSGeo:UK, and ATOL for their bronze sponsorships. These sprints also require people to function, and we appreciate Boundless, GeoCat, ASTUN Technology, GeoSolutions and CCRi for their in-kind participation.
Jody Garnett