java:S1258 doesn't exclude jakarta.inject.Inject?

We are getting violations for fields that are annotated with @jakarta.inject.Inject. The description mentions that fields annotated with javax.inject.Inject are excluded and I’ve noted this package change has been an issue with a few other rules. Could this one also need an update for the updated packages (javax→jakarta)?

I got this using Sonarqube-server 2025.6.1

Hello Erik,

Thank you for reporting this. The rule indeed needed an update to support the jakarta.* package.

I’m happy to share that we have addressed this issue. The fix will be included in the next releases of SonarQube and SonarQube IDE.

We appreciate your feedback in helping us keep our Java rules current!

Best regards,

Romain