openhab / static-code-analysis

Maven tooling for static code analysis
https://www.openhab.org/
Other
32 stars 21 forks source link

Upgrade SpotBugs to 4.7.0 #436

Closed wborn closed 2 years ago

wborn commented 2 years ago

Upgrades Spotbugs from 4.4.2 to 4.7.0.

This fixes SecurityManager deprecation warnings when using Java 17.

For release notes, see:

https://github.com/spotbugs/spotbugs/blob/master/CHANGELOG.md#470---2022-04-14

wborn commented 2 years ago

Can you merge this PR and then also create a new SAT release @kaikreuzer? All the recent SAT fixes will help a lot with reducing SAT false positives and this SpotBugs upgrade fixes many deprecation warnings in Java 17 builds. :slightly_smiling_face:

kaikreuzer commented 2 years ago

@wborn Done! https://github.com/openhab/static-code-analysis/releases/tag/0.13.0

wborn commented 2 years ago

Thank you very much! :+1: I'll create some PRs to start using the new version.