Problems with latest JDK 16 builds
After JDK 16 has started the rampdown phase, we could not get our Spring Boot tests working any more - all used to work with previous JDK 16 releases.
The reported exception is:
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [/home/ilgrosso/work/syncope/syncope/wa/starter/target/test-classes/org/apache/syncope/wa/starter/gauth/token/SyncopeWAGoogleMfaAuthTokenRepositoryTest.class]; nested exception is org.springframework.core.NestedIOException: ASM ClassReader failed to parse class file - probably due to a new Java class file version that isn't supported yet: file [/home/ilgrosso/work/syncope/syncope/wa/starter/target/test-classes/org/apache/syncope/wa/starter/gauth/token/SyncopeWAGoogleMfaAuthTokenRepositoryTest.class]; nested exception is java.lang.IllegalArgumentException: Unsupported class file major version 60
Caused by: org.springframework.core.NestedIOException: ASM ClassReader failed to parse class file - probably due to a new Java class file version that isn't supported yet: file [/home/ilgrosso/work/syncope/syncope/wa/starter/target/test-classes/org/apache/syncope/wa/starter/gauth/token/SyncopeWAGoogleMfaAuthTokenRepositoryTest.class]; nested exception is java.lang.IllegalArgumentException: Unsupported class file major version 60
Caused by: java.lang.IllegalArgumentException: Unsupported class file major version 60
I already tried to use ASM 9.0.1-SNAPSHOT with no luck.