github SonarSource/sonar-java 8.23.0.42096

10 hours ago

Release notes - SonarJava - 8.23

New Feature

SONARJAVA-5930 S8346: Increment and decrement operators (++/--) should not be used with floating point variables.

SONARJAVA-6000 New public API to access module fully qualified key in ModuleScannerContext

False Positive

SONARJAVA-5929 S1258 FP on Spring @value annotation

Task

SONARJAVA-5942 Fix Plugin QA failure in CI

SONARJAVA-5946 Use develocity in GHA build

SONARJAVA-5958 Upgrade ECJ to version 3.44

SONARJAVA-5968 Migrate build to Java 25

SONARJAVA-5969 Update commons-lang3 to version 3.20

SONARJAVA-6004 Update rules metadata

Improvement

SONARJAVA-5928 S1118 provides a quick fix

Documentation

SONARJAVA-5927 Compliant examples for S1118 should suggest a commented body as a first alternative before throwing an exception

False Negative

SONARJAVA-5122 FN on S5977 when using SecureRandom and others

SONARJAVA-5123 FN on S2119 when using SecureRandom and others

SONARJAVA-5820 S2698 should suggest using `assertThrows` and `expectThrows` with message

Sub-task

SONARJAVA-5971 Modify rule S1258: Add exception for @value annotated fields

SONARJAVA-5972 Modify rule S1118: Change the compliant example to an empty constructor with a comment

Don't miss a new sonar-java release

NewReleases is sending notifications on new releases.