Update spotbugs default java versions to include 17
Proposal
We should update our default Java versions within spotbugs. Non-default versions are still supported by way of pre-compilation but the out-of-the-box configuration should support LTS versions.
Reasoning
- More-recent versions are a common request.
- It's never great to have a security product make you jump through hoops to use the latest version of languages and other dependencies. In fact we are adding general advice to use recent language versions in various places (https://gitlab.com/gitlab-com/legal-and-compliance/-/issues/729)—it's awkward if we don't then make it easy to do so.
Edited by Daniel Paul Searles