java: add SafePublication query (P2)

This commit is contained in:
yoff
2025-05-15 13:06:38 +02:00
parent fe487e8bf0
commit 328b53576a
9 changed files with 222 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
---
category: newQuery
---
* Added a new query, `java/safe-publication`, to detect unsafe publication in classes marked as `@ThreadSafe`.