Spotbugs v3.1.0-RC1 Release Notes

Release Date: 2017-02-21 // about 7 years ago
  • โž• Added

    • ๐Ÿ‘‰ Make TypeQualifierResolver recognize JetBrains NotNull annotations (Patch #248)
    • excludePath and includePath in AntTask (6668a9)
    • ๐Ÿ”Œ Cancellation of queueing FindBugsJob in Eclipse plugin (bceec81)
    • Artifact which contains only SpotBugs annotations (Bug#1341)
    • Warn if excludeFilter is empty (4b7e93f)
    • ๐Ÿ‘ Partial Java9 support (FindBugs#105)
    • spotbugs.home is available like findbugs.home (#33)

    ๐Ÿ”„ Changed

    • ๐Ÿ‘Œ Support user preferences exported by the Export->Preferences wizard in Eclipse (01b7df7)
    • No more dependency in annotations on BugRanker and Priorities (2f9d672, 725be6e)
    • Several classes are now not Serializable (#85)

    ๐Ÿ—„ Deprecated

    • OpcodeStack.Item.defineNewSpecialKind(String) (#27)
    • ๐Ÿš€ Version.RELEASE (#125)
    • DescriptorFactory.canonicalizeString(String) (#128)

    โœ‚ Removed

    • ๐Ÿ‘ Java7 Support (Issue #19)
    • ๐Ÿ”Œ WebCloud and other plugins
    • ๐Ÿ‘ BlueJ Support
    • ๐Ÿ“ฆ Artifact which packages not only SpotBugs annotations but also JSR305 annotations

    ๐Ÿ›  Fixed

    • ๐Ÿ“š Typos in description, documentation and so on
    • StackOverflowError in ValueRangeAnalysisFactory (Bug#1369)
    • ๐Ÿ’ป Command line "@" feature (Bug#1375)
    • SOAPMessage.getSOAPHeader() can and does return null (Bug#1368)
    • ๐Ÿ‘‰ False positive in UC_USELESS_OBJECT (Bug#1373)
    • False positive in NP_LOAD_OF_KNOWN_NULL_VALUE (Bug#1372)
    • Missing java.nio.file.Files support in OS_OPEN_STREAM (Bugs#1399])
    • False negative in GC_UNRELATED_TYPES (Bug#1387)
    • Not reliable BIT_SIGNED_CHECK (Bug#1408)
    • Annotation of SIC_INNER_SHOULD_BE_STATIC_ANON (Bug#1418)
    • ๐Ÿ› Bug in ClassName.isAnonymous (dcfb934)
    • ๐Ÿ— long/double arguments handling in BuildStringPassthruGraph (370808a)
    • long/double arguments handling in FindSqlInjection (32a20db)
    • getEntryValueForParameter in ValueNumberAnalysis (fb11839)
    • โš  Do not generate non-constant SQL warnings for passthru methods (Bug#1416)
    • Too eager "may expose internal representation by storing an externally mutable object" (Bug#1397)
    • Do not report WrongMapIterator for EnumMap (Bug#1422)
    • 0๏ธโƒฃ Default Case is Missing With Alias Enum Constants (Bug#1392)
    • ๐Ÿง NPE when launched using IBM JDK on Linux (Bug#1383)
    • Serializable should be out of target for RI_REDUNDANT_INTERFACES (FindBugs#49)
    • nonnull annotations database for java.util.concurrent.ForkJoinPool ((fb8a953)[https://github.com/spotbugs/spotbugs/commit/fb8a953])
    • ๐Ÿ‘ Better handling for JDT illegal signatures(#55)
    • StaticCalendarDetector is constantly throwing ClassNotFoundExceptions (#76)
    • ClassFormatException when analyze class with lambda (INVOKEDYNAMIC) (#60)