Tsz-wo Sze created RATIS-1878:
---------------------------------
Summary: Download checkstyle version
Key: RATIS-1878
URL: https://issues.apache.org/jira/browse/RATIS-1878
Project: Ratis
Issue Type: Bug
Components: build
Reporter: Tsz-wo Sze
Assignee: Tsz-wo Sze
Currently, we are using checkstyle version 10.9.2, which requires JDK 11
according [https://checkstyle.org/]. However, we only require JDK 8 in ratis.
When running checkstyle 10.9.2 with JDK 8, it will fails with the error below.
{code}
[WARNING] Error injecting:
org.apache.maven.plugins.checkstyle.CheckstyleViolationCheckMojo
java.lang.UnsupportedClassVersionError:
com/puppycrawl/tools/checkstyle/api/AuditListener has been compiled by a more
recent version of the Java Runtime (class file version 55.0), this version of
the Java Runtime only recognizes class file versions up to 52.0
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)