Java rule id changes?

Some of our builds have suddenly started failing due to sonar errors, looking at the issues, the id’s of the rules seem to have changed?

For example squid:CallToDeprecatedMethod seems to now be java:S1874? This means previous @SuppressWarnings are now not working.

Have there been any recent changes in this area, or do I need to look elsewhere for the cause?

hello @Roy-Porter,

this is caused by new version of Java analyzer. Sorry for the inconvenience. We are going to release bugfix for this issue. I created ticket here https://jira.sonarsource.com/browse/SONARJAVA-3268

We released bugfix 6.0.1, you should be able to update the plugin in the marketplace.

Hi @saberduck,

I’m facing a similar problem after upgrading from SonarJava 5.13.1 in SonarQube 6.7.1 LTS to Java Code Quality and Security 6.3 in SonarQube 7.9.3 LTS.

Issues solved for rules such as squid:S2275 or squid:S4502 are open again for rules java:S2275 or java:S4502.