github SonarSource/sonar-java 7.7.0.28547

latest releases: 8.4.0.37032, 8.3.0.36747, 8.2.0.36672...
2 years ago
    Release Notes - SonarJava - Version 7.7

Bug

  • [SONARJAVA-4010] - NPE in JSymbol.hashCode()
  • [SONARJAVA-4023] - The Java analyzer should populate the classpath with all the JARs provided by the SDK

New Feature

  • [SONARJAVA-3770] - Implement rule S6217: Omit permitted types when subclasses are in the same file as their superclass

Task

Improvement

  • [SONARJAVA-4057] - Do not generate FP when rules don't have semantic
  • [SONARJAVA-4086] - Preview feature problems should not be logged under unresolved types
  • [SONARJAVA-4101] - Update ECJ to 3.28.0
  • [SONARJAVA-4103] - Rules S1905 - Highlight also the parenthesis of the reported issue
  • [SONARJAVA-4104] - Rule S1197 Highlight the variable additionally to the []
  • [SONARJAVA-4114] - Support classpath entries with comma
  • [SONARJAVA-4115] - Custom rules plugin examples should shade dependencies and use latest packaging module
  • [SONARJAVA-4118] - Introduce Java 17's Sealed Classes as final feature
  • [SONARJAVA-4119] - Correctly parse Pattern-matching for switch from Java 17
  • [SONARJAVA-4120] - Logs about preview features should not suggest "-enable-preview"

False-Positive

Documentation

  • [SONARJAVA-4066] - Update custom rules 101 metadata documentation and template

False Negative

  • [SONARJAVA-4055] - S4544 should raise on Interface in addition to Class
  • [SONARJAVA-4058] - S5838 should support subtypes of Collections
  • [SONARJAVA-4063] - FN in S3688 (disallowed classes) in case of Reflection
  • [SONARJAVA-4108] - FN in S2189 : infinite do/while loops should be reported
  • [SONARJAVA-4111] - FN on S1862 when equality parameters are inverted

Don't miss a new sonar-java release

NewReleases is sending notifications on new releases.