ASM 8.0.1
does support Java 14. However, some Java 14 features require specifying the ASM8
API.
SpotBugs has not yet upgraded from the ASM7
to ASM8
API. It’s not that you have an earlier version where ASM8
is not yet available, but that the code from SpotBugs that’s using ASM is specifying to use ASM7
. It’s not possible to make SpotBugs use ASM8
unless you want to contribute to the SpotBugs project with some PRs.
Additionally, the message The following errors occurred during analysis:
is only informational about errors in the SpotBugs analysis. SpotBugs can still analyze most of your classes. It just can’t analyze any Record
in your project that you can now have by enabling the Java 14 preview features. The stack trace is somewhat noisy, but the message you’re seeing will not actually fail the SpotBugs tasks unless you also have other issues.