How to run FisPro with JDK >= 16

Only possible with the development version of FisPro


The JDK 16 has changed the default access to some java packages to deny – this was a warning with previous versions.
When running FisPro on JDK 16 or newer, you may get an error similar to the following:

InaccessibleObjectException: Unable to make field protected transient int java.util.AbstractList.modCount accessible: module java.base does not "opens java.util" to unnamed module @542e560f


The solution is to add parameter --add-opens java.base/java.util=ALL-UNNAMED to the JVM arguments for all modules/packages used by FisPro.
To do this, you must edit the file “C:\Program Files\FisPro\fispro.l4j.ini” and uncomment all lines starting with --add-opens parameter.

See also

JEP 396: Strongly Encapsulate JDK Internals by Default
JEP 403: Strongly Encapsulate JDK Internals