[
https://issues.apache.org/jira/browse/HADOOP-19725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18030123#comment-18030123
]
ASF GitHub Bot commented on HADOOP-19725:
-----------------------------------------
slfan1989 commented on code in PR #8028:
URL: https://github.com/apache/hadoop/pull/8028#discussion_r2433103901
##########
pom.xml:
##########
@@ -119,8 +119,8 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
https://maven.apache.org/x
<maven-checkstyle-plugin.version>3.1.0</maven-checkstyle-plugin.version>
<checkstyle.version>8.29</checkstyle.version>
<dependency-check-maven.version>7.1.1</dependency-check-maven.version>
- <spotbugs.version>4.2.2</spotbugs.version>
- <spotbugs-maven-plugin.version>4.2.0</spotbugs-maven-plugin.version>
+ <spotbugs.version>4.8.3</spotbugs.version>
Review Comment:
Thank you for reviewing! You made a very good point — I’ll update this PR
accordingly.
> Upgrade SpotBugs Version to Support JDK 17 Compilation
> ------------------------------------------------------
>
> Key: HADOOP-19725
> URL: https://issues.apache.org/jira/browse/HADOOP-19725
> Project: Hadoop Common
> Issue Type: Improvement
> Components: build, hadoop-common
> Affects Versions: 3.5.0
> Reporter: Shilun Fan
> Assignee: Shilun Fan
> Priority: Major
> Labels: pull-request-available
>
> The current SpotBugs version used in the project is 4.2.2 (SpotBugs) and
> 4.2.0 (SpotBugs Maven Plugin), which is not fully compatible with JDK 17
> compilation. To ensure proper functionality of the code quality check tool in
> a JDK 17 environment, SpotBugs needs to be upgraded to the latest version
> that supports JDK 17.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]