Skip to content

Commit

Permalink
ci: jdk 17 (#473)
Browse files Browse the repository at this point in the history
Update spotbugs to version that is compatible with jdk17.

---------

Co-authored-by: Brian Harrington <brharrington@gmail.com>
  • Loading branch information
sullis and brharrington committed Mar 27, 2023
1 parent 372fecd commit 06e357c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 32 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java: [8, 11, 15]
java: [8, 11, 17]
steps:
- uses: actions/checkout@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Expand Up @@ -92,7 +92,7 @@ subprojects {
}

spotbugs {
toolVersion = '4.2.0'
toolVersion = '4.7.3'
excludeFilter = rootProject.file('codequality/findbugs-exclude.xml')
ignoreFailures = false
spotbugsMain.enabled = true
Expand Down
33 changes: 3 additions & 30 deletions codequality/findbugs-exclude.xml
Expand Up @@ -7,40 +7,13 @@
</And>
</Match>
<Match>
<And>
<Class name="com.netflix.spectator.sandbox.HttpResponse"/>
<Bug pattern="EI_EXPOSE_REP"/>
</And>
</Match>
<Match>
<And>
<Class name="com.netflix.spectator.sandbox.HttpResponse"/>
<Bug pattern="EI_EXPOSE_REP2"/>
</And>
</Match>
<Match>
<And>
<Class name="com.netflix.spectator.sandbox.HttpRequestBuilder"/>
<Bug pattern="EI_EXPOSE_REP2"/>
</And>
<Bug pattern="EI_EXPOSE_REP"/>
</Match>
<Match>
<And>
<Class name="com.netflix.spectator.ipc.http.HttpResponse"/>
<Bug pattern="EI_EXPOSE_REP"/>
</And>
<Bug pattern="EI_EXPOSE_REP2"/>
</Match>
<Match>
<And>
<Class name="com.netflix.spectator.ipc.http.HttpResponse"/>
<Bug pattern="EI_EXPOSE_REP2"/>
</And>
</Match>
<Match>
<And>
<Class name="com.netflix.spectator.ipc.http.HttpRequestBuilder"/>
<Bug pattern="EI_EXPOSE_REP2"/>
</And>
<Bug pattern="MS_EXPOSE_REP"/>
</Match>
<Match>
<And>
Expand Down

0 comments on commit 06e357c

Please sign in to comment.