JMC-6358: Build fails due to bugs and errors flagged by SpotBugs
christoph.langer at sap.com
Thu Jan 24 11:06:27 UTC 2019
I can confirm that this solves an issue that I encountered in my build. Thanks for fixing.
> -----Original Message-----
> From: jmc-dev <jmc-dev-bounces at openjdk.java.net> On Behalf Of Marcus
> Sent: Mittwoch, 23. Januar 2019 21:00
> To: 'Alex Macdonald' <almacdon at redhat.com>; jmc-dev at openjdk.java.net
> Subject: SV: JMC-6358: Build fails due to bugs and errors flagged by SpotBugs
> Hi Alex!
> Looks good! Feel free to submit to the mainline repo (only, for now).
> Kind regards,
> -----Ursprungligt meddelande-----
> 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 220.127.116.11). I've set up
> a bunch of branches on Travis CI  to test the build using versions 18.104.22.168
> 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.
>  http://cr.openjdk.java.net/~aptmac/JMC-6358/webrev.00/
>  https://bugs.openjdk.java.net/browse/JMC-6358
>  https://api.travis-ci.org/v3/job/482998757/log.txt
>  https://bugs.openjdk.java.net/browse/JMC-6128
>  https://imgur.com/p6z15eX
More information about the jmc-dev