Table of Contents
26-April-2024 - 7.0.1-SNAPSHOT
The PMD team is pleased to announce PMD 7.0.1-SNAPSHOT.
This is a bugfix release.
🚀 New and noteworthy
🐛 Fixed Issues
- cli
- #4791: [cli] Could not find or load main class
- java-bestpractices
- #4435: [java] [7.0-rc1] UnusedAssignment for used field
- #4569: [java] ForLoopCanBeForeach reports on loop
for (int i = 0; i < list.size(); i += 2)
- #4618: [java] UnusedAssignment false positive with conditional assignments of fields
- java-codestyle
- #4881: [java] ClassNamingConventions: interfaces are identified as abstract classes (regression in 7.0.0)
- java-design
- #3694: [java] SingularField ignores static variables
- #4873: [java] AvoidCatchingGenericException: Can no longer suppress on the exception itself
- java-performance
- #3845: [java] InsufficientStringBufferDeclaration should consider literal expression
- #4874: [java] StringInstantiation: False-positive when using
new String(charArray)
- #4886: [java] BigIntegerInstantiation: False Positive with Java 17 and BigDecimal.TWO
- pom-errorprone
- #4388: [pom] InvalidDependencyTypes doesn’t consider dependencies at all
🚨 API Changes
✨ External Contributions
- #4894: Fix #4791 Error caused by space in JDK path - Scrates1 (@Scrates1)