The revert and subsequent release of 0.9.1 was the quickest way to resolve this in the short term; 0.9.1 is expected to work with JDK 8+. However, it would be still be nice to remove illegal access warnings going forward.
As @chris-allan mentioned separately, setting JDK_JAVA_OPTIONS is probably the path forward. I need a little more time to figure out how best to implement that though, and we'll want to test on a variety of platforms. @sbesson also mentioned this might be a good occasion to figure out a way to automatically test the zip; that's maybe a separate step in .github./workflows/build.yml
https://github.com/glencoesoftware/bioformats2raw/commit/61fcc36afcd29c040427600c55a8a94b8c77e7eb reverts the addition of
--add-opens
to the default JVM options in #233. As noted in https://github.com/glencoesoftware/bioformats2raw/pull/233#issuecomment-1903524211 and #237, that change breaks JDK 8 support.The revert and subsequent release of 0.9.1 was the quickest way to resolve this in the short term; 0.9.1 is expected to work with JDK 8+. However, it would be still be nice to remove illegal access warnings going forward.
As @chris-allan mentioned separately, setting
JDK_JAVA_OPTIONS
is probably the path forward. I need a little more time to figure out how best to implement that though, and we'll want to test on a variety of platforms. @sbesson also mentioned this might be a good occasion to figure out a way to automatically test the zip; that's maybe a separate step in.github./workflows/build.yml