kavita369 opened a new issue, #11398: URL: https://github.com/apache/maven/issues/11398
### Affected version jdk21 maven version is 3.9.9 maven-compiler-plugin.version=3.14.0,Jacoco Version 0.8.11, aven Surefire Plugin 3.1.2 ### Bug description We have migrated our springboot project from jdk17 to jdk21. In pom I have changed 1. jdk version to 21, 2. <maven-compiler-plugin.version>3.14.0 3. jacoco.version> 0.8.11 in <properties> and <maven-surefire-plugin> has <argline> --add-open java.base/java.lang=All-UNNAMED. This pom has reference to<parent> pom which in turn has springboot-starter-parent defined as <parent> tag with version as 3.2.5. 3 junits are failing with InAccessibleObjectException related to reflection. which we otherwise passing during clean intall with jdk17 and --add-open option defined in pom. are the version correct for jdk21 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
