Release notes - SonarJava - Version 7.15
Bug
SONARJAVA-4342 Nullness annotation on interface methods should be inherited in implementation methods
SONARJAVA-4341 IndexOutOfBoundsException when trying to access symbols of declared parameters of Compact constructor
SONARJAVA-4338 S1186: Inconsistent exceptions in documentation and implementation
SONARJAVA-4176 NPE in JSymbol.typeOwner
SONARJAVA-3529 S3958: Incorrect location in case of certain exceptional paths
Documentation
SONARJAVA-4333 Update sonar.java.jdkHome documentation
False Negative
SONARJAVA-4251 FN S2252(ForLoopFalseConditionCheck) does not support constants
False-Positive
SONARJAVA-4344 FP S3878 when the vararg has an array type
SONARJAVA-4336 S2384, 2386 should support methods from Guava returning immutable collections
SONARJAVA-4282 Exclude "com.sun.xml.ws" package from S1191 by default
SONARJAVA-4252 S2384, S2386 should support immutable collection creation from stream
SONARJAVA-4241 S1125: erroneous quick fix suggestion when negating a binary operation
SONARJAVA-4196 S5860 should cover methods start() and end() of 'java.util.regex.Matcher'
SONARJAVA-4072 FP S107 with Spring and micronaut annotations
SONARJAVA-4024 FP in S6019 because of RegexTreeHelper.isAnchoredAtEnd
SONARJAVA-3900 FP S3242(LeastSpecificTypeCheck) for functional interfaces
SONARJAVA-3896 FP S3329 should not raise when the IV is not defined
SONARJAVA-3890 S5996 should not raise an issue if $
is followed by a line break character
SONARJAVA-3668 FP on S1186: method annotated @Pointcut
from AspectJ are often expected to be empty
Improvement
SONARJAVA-4335 S3776 should Ignore equals() and hashCode() methods similarly to S1541
SONARJAVA-4325 Change message suggestion for S3878 when method argument type is not Object
SONARJAVA-4257 Fix typo in S4605 message
New Feature
SONARJAVA-4349 Expose ClasspathForMain.getBinaryDirs() in public API
SONARJAVA-4348 Expose test classpath and binaries in the public API
Task
SONARJAVA-4346 Update rules metadata
SONARJAVA-4264 Remove deprecated common-java:DuplicatedBlocks rule from Sonar Way