geoscript-groovy
geoscript-groovy copied to clipboard
Build GeoScript with JDK 17
JDK 17 has been out for several years. GeoScript should be made compatible with JDK 17 for increased availability across applications.
Detailed changes:
- Geoscript fails at runtime when used in Java 17 due to using the size parameter directly in the Color class. JDK 17 restricts usage of internal parameters to a greater degree. I've updated geoscript to build with JDK 17 and fixed the corresponding issue.
- Furthermore, Geoscript relies on some sun packages that are no longer exposed by default in JDK 17, so I had to manually expose those in the compile step as well.
Hi @jericks, not sure if you're still active so excuse the ping. This PR would be very useful for users to move to more modern JDKs. Thanks!