Closed jozik closed 3 months ago
FIrst we should try updating Eclipse + Groovy to see if that fixes the issue.
Note - Modifier.isSynthetic is a protected method in both 11 and 17.
Looks like this is fixed in groovy 4 - https://issues.apache.org/jira/browse/GROOVY-10070. Issue occurs in jdk >= 16. If we can't use Groovy 4, I think we need to use the access modifiers mentioned in the issue.
Adding --add-opens java.base/java.lang.reflect=ALL-UNNAMED
to launcher fixes issue, but obviously using groovy 4 would be better.
Added --add-opens java.base/java.lang.reflect=ALL-UNNAMED
to launcher args etc. in 440d74dd
Calling repast.simphony.relogo.BaseObserver.createOrderedTurtlesFromCSV results in an error generated by getPublicFieldsAndProperties when using the bundled (Java 17) JRE, but not with Java 11.