SV: JMC-6358: Build fails due to bugs and errors flagged by SpotBugs
marcus at hirt.se
Wed Jan 23 20:00:08 UTC 2019
Looks good! Feel free to submit to the mainline repo (only, for now).
Från: jmc-dev <jmc-dev-bounces at openjdk.java.net> För Alex Macdonald
Skickat: den 23 januari 2019 18:06
Till: jmc-dev at openjdk.java.net
Ämne: RFR: JMC-6358: Build fails due to bugs and errors flagged by SpotBugs
The following webrev  addresses issue JMC-6358 , in which builds using SpotBugs fail due to a number of flagged bugs and errors .
These errors appear as of a recent resolved bug  to use maven central's OpenJFX. We are currently using spotbugs-maven-plugin version 3.1.3, which doesn't have support for JDK 10/11 (introduced in version 126.96.36.199). I've set up a bunch of branches on Travis CI  to test the build using versions 188.8.131.52 through to 3.1.10 (current release), and the updated spotbugs plugin does not error. There have been a number of improvements  in the spotbugs plugin since 3.1.3, many of which correspond to JDK 11 support. The proposed one-line patch  simply updates the version of the spotbugs-maven-plugin to 3.1.10.
More information about the jmc-dev