jai-imageio / jai-imageio-core

JAI ImageIO Core (without javax.media.jai dependencies)
Other
234 stars 87 forks source link

Java 9 support #41

Closed rleigh-codelibre closed 6 years ago

rleigh-codelibre commented 7 years ago

This PR contains the fixes necessary to build and test with Java 9. With this PR, you can run:

MAVEN_OPTS="--add-opens java.base/java.lang=ALL-UNNAMED --add-modules java.activation" mvn install

(the MAVEN_OPTS is currently needed to run under Java 9, and should hopefully go away once it's updated as well.)

rleigh-codelibre commented 7 years ago

I've updated the unit test to handle the case where the TIFFImageWriter class is provided by the JRE. I also updated the maven minimum version and plugin version to obtain plugins which are fixed to work with Java9.

With these changes in place, it's possible to build, test, package and install with maven and java9.