BlockHound
BlockHound copied to clipboard
BlockHound does not support java 18
Expected Behavior
We would like to be able to upgrade Java to version 18.
Actual Behavior
Currently an exception is thrown while bumping up java version
BUG! exception in phase 'semantic analysis' in source unit 'NeutronResponseSpec.groovy' Unsupported class file major version 62
Steps to Reproduce
Bump up java version to 18 while having this dependency in project.
testImplementation("io.projectreactor.tools:blockhound:1.0.6.RELEASE")
Possible Solution
Possibly adding java 18 in here reactor.blockhound.shaded.net.bytebuddy.ClassFileVersion.class, not sure if that's enough though.
Your Environment
- BlockHound version(s) used: blockhound-1.0.6.RELEASE
- JVM version (
java -version): 18 - OS and version (eg
uname -a): Darwin WS-C02G42F1ML85 21.6.0 Darwin Kernel Version 21.6.0