Closed ReXtrem closed 1 year ago
@NoFuchsGavin In cd89b2aca36d32eec0d83cd938e4e737e93e785e / v2.5.0 we added the list of exports that were needed to allow running the formatter with JDK16+. I would suggest to update the version first and if the problem persist please re-open the issue (please not that PRs are welcome)
.pre-commit-config.yaml:
Because of OpenJDK 16 feature: https://openjdk.org/jeps/396
I get the following error:
And the solution would be to either add the following argument to the java command:
java --illegal-access=permit
Or this list of parameters:
How can I do it in this pre-commit hook?