Once we're using a Gradle 6.8.x version that includes the fix for https://github.com/gradle/gradle/issues/16126, we should remove the --add-opens
configuration from JavaCompile
tasks.
Comment From: wilkinsona
Superseded by https://github.com/spring-projects/spring-boot/pull/26465.