更新时间:2022-06-12 22:59:17
TL ; DR:是的!它支持分析,显然是从2017年7月3日开始(但他们拼命试图隐瞒事实......)
TL;DR: YES!!! It supports analysis, apparently since 3rd July 2017 (But they are desperately trying to hide the fact...)
As现在(2017-10-24,SonarQube版本6.6),SonarQube 可以使用。 html#sonarjava-4.11-releasedrel =nofollow noreferrer> SonarJava 4.11或更新版,但在Java9 JVM上运行不受官方支持。
As of now (2017-10-24, SonarQube version 6.6), SonarQube can analyse Java9 code using SonarJava 4.11 or newer, but running on a Java9 JVM is not officially supported.
SonarJava页面声明它支持Java版本到10:
The SonarJava page states it supports Java versions through 10:
支持的版本,框架和特殊分析
Supported versions, frameworks and special analyses
SonarSource团队很高兴宣布发布SonarJava版本4.11。
The SonarSource Team is pleased to announce the release of SonarJava version 4.11.
此版本引入了对Java 9项目的支持。但这意味着什么?
This version introduces support for Java 9 projects. But what does that mean?
这意味着能够解析jigsaw项目引入的module-info.java源文件。
This means being able to parse the module-info.java source files introduced by the jigsaw project.
此外,同一页面明确列出对以下内容的支持:
Also, same page explicitly lists support for:
支持的平台
Supported Platforms
SonarQube Java分析器能够分析任何类型的Java源文件,无论它们遵循的Java版本如何。但SonarQube分析和SonarQube服务器需要特定版本的JVM。
The SonarQube Java analyzer is able to analyze any kind of Java source files regardless of the version of Java they comply to. But SonarQube analysis and the SonarQube Server require specific versions of the JVM.
支持: