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 type SSD_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 their getPermissions() 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)