add SchemaFactory to rule squid:S2885 for non-thread-safe static fields

51 views
Skip to first unread message

Nick Radov

unread,
Jan 7, 2016, 3:04:12 PM1/7/16
to SonarQube
I recently got approval to expand rule squid:S2885 to detect when the non-thread-safe Java SE standard library class javax.xml.xpath.XPath is used as a static field type. After running into another similar defect I would like to ask for that rule to be further expanded to also cover javax.xml.validation.SchemaFactory.

G. Ann Campbell

unread,
Jan 8, 2016, 9:07:34 AM1/8/16
to SonarQube
Added.


Ann

Michael Gumowski

unread,
Jan 11, 2016, 5:39:20 AM1/11/16
to G. Ann Campbell, SonarQube
Hi,

The following ticket has been created to cover the changes of specification: https://jira.sonarsource.com/browse/SONARJAVA-1445

Regards,

Michael GUMOWSKI | SonarSource
Software Developer @ Language Team
http://sonarsource.com

--
You received this message because you are subscribed to the Google Groups "SonarQube" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/d64b4eb4-123e-4aac-a114-3df5530b807a%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Michael Gumowski

unread,
Jan 11, 2016, 5:44:27 AM1/11/16
to G. Ann Campbell, SonarQube
Hey, 

Sorry it was not clear. We are indeed going to cover that case when reworking the rule (using the exact same ticket from your previous thread).

Regards,

Michael GUMOWSKI | SonarSource
Software Developer @ Language Team
http://sonarsource.com

Reply all
Reply to author
Forward
0 new messages