Spotbugs v4.6.0 Release Notes
Release Date: 2022-03-08 // about 2 years ago-
๐ Fixed
- ๐ Fixed spotbugs build with ecj compiler (#1903)
- ๐ Moved tests from spotbugs project to spotbugs-tests project (#1914)
- ๐ Fixed UI freezes in Eclipse on bug count decorations update (#285)
- โฌ๏ธ Bumped log4j from 2.17.1 to 2.17.2 (#1960)
- โฌ๏ธ Bumped gson from 2.8.9 to 2.9.0 (#1960)
โ Added
- New detector
FindInstanceLockOnSharedStaticData
for new bug typeSSD_DO_NOT_USE_INSTANCE_LOCK_ON_SHARED_STATIC_DATA
. This detector reports a bug if an instance level lock is used to modify a shared static data. (See SEI CERT rule LCK06-J) - New rule
PERM_SUPER_NOT_CALLED_IN_GETPERMISSIONS
to warn for custom class loaders who do not call their superclasses'getPermissions()
in theirgetPermissions()
method. This rule based on the SEI CERT rule SEC07-J Call the superclass's getPermissions() method when writing a custom class loader. (#SEC07-J)