SonarQube fails with Java 17

SonarQube Version : 9.9.1
JDK : 17
gradle: 8.1.1
sonarqube-gradle-plugin: 4.3.1.3277
Android studio : 2022.3.1 Patch 1

Hello, I try to use sonarqube with java 17 but get error:

 Couldn't get class info for java/util/Set
    java.lang.IllegalArgumentException: Unsupported class file major version 61
      At org.objectweb.asm.ClassReader.<init>(ClassReader.java:184)
      At org.objectweb.asm.ClassReader.<init>(ClassReader.java:166)
      At org.objectweb.asm.ClassReader.<init>(ClassReader.java:152)
      At edu.umd.cs.findbugs.asm.FBClassReader.<init>(FBClassReader.java:35)
      At edu.umd.cs.findbugs.classfile.engine.asm.ClassReaderAnalysisEngine.analyze(ClassReaderAnalysisEngine.java:48)
      At edu.umd.cs.findbugs.classfile.engine.asm.ClassReaderAnalysisEngine.analyze(ClassReaderAnalysisEngine.java:34)
      At edu.umd.cs.findbugs.classfile.impl.AnalysisCache.getClassAnalysis(AnalysisCache.java:262)
      At edu.umd.cs.findbugs.classfile.engine.ClassInfoAnalysisEngine.analyze(ClassInfoAnalysisEngine.java:75)
      At edu.umd.cs.findbugs.classfile.engine.ClassInfoAnalysisEngine.analyze(ClassInfoAnalysisEngine.java:38)
      At edu.umd.cs.findbugs.classfile.impl.AnalysisCache.getClassAnalysis(AnalysisCache.java:262)
      At edu.umd.cs.findbugs.ba.XFactory.getXClass(XFactory.java:687)
      At edu.umd.cs.findbugs.ba.AnalysisContext.setAppClassList(AnalysisContext.java:975)
      At edu.umd.cs.findbugs.FindBugs2.setAppClassList(FindBugs2.java:877)
      At edu.umd.cs.findbugs.FindBugs2.execute(FindBugs2.java:223)
      At org.sonar.plugins.findbugs.FindbugsExecutor$FindbugsTask.call(FindbugsExecutor.java:235)
      At java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      At java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
      At java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
      At java.base/java.lang.Thread.run(Thread.java:833)

Could you please help there?

Hey there.

This looks like an issue with findbugs.

I suggest reaching out to the maintainers here: GitHub - spotbugs/sonar-findbugs: SpotBugs plugin for SonarQube