• 3.36

      [INFO] --- findbugs-maven-plugin:3.0.5:findbugs (findbugs) @ label-verifier --- [INFO] Fork Value is true      [java] WARNING: An illegal reflective access operation has occurred      [java] WARNING: Illegal reflective access by org.dom4j.io.SAXContentHandler (file:/Users/nenashev/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar) to method com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser$LocatorProxy.getEncoding()      [java] WARNING: Please consider reporting this to the maintainers of org.dom4j.io.SAXContentHandler      [java] WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations      [java] WARNING: All illegal access operations will be denied in a future release      [java] Warning: Unknown version of Java      [java] edu.umd.cs.findbugs.JavaVersionException: Could not parse Java version string: 11      [java] at edu.umd.cs.findbugs.JavaVersion.<init>(JavaVersion.java:68)      [java] at edu.umd.cs.findbugs.JavaVersion.<clinit>(JavaVersion.java:44)      [java] at edu.umd.cs.findbugs.DetectorFactory.isEnabledForCurrentJRE(DetectorFactory.java:248)      [java] at edu.umd.cs.findbugs.FindBugs.isDetectorEnabled(FindBugs.java:256)      [java] at edu.umd.cs.findbugs.FindBugs2$3.choose(FindBugs2.java:906)      [java] at edu.umd.cs.findbugs.plan.ExecutionPlan.build(ExecutionPlan.java:179)      [java] at edu.umd.cs.findbugs.FindBugs2.createExecutionPlan(FindBugs2.java:935)      [java] at edu.umd.cs.findbugs.FindBugs2.execute(FindBugs2.java:241)      [java] at edu.umd.cs.findbugs.FindBugs.runMain(FindBugs.java:402)      [java] at edu.umd.cs.findbugs.FindBugs2.main(FindBugs2.java:1200)      [java] The following classes needed for analysis were missing:      [java]   java.lang.Object      [java]   java.io.IOException      [java]   java.lang.String      [java]   java.io.PrintStream      [java]   java.util.regex.Pattern      [java]   java.util.regex.PatternSyntaxException      [java]   java.util.ArrayList      [java]   java.util.Iterator      [java]   java.lang.StringBuilder      [java]   java.util.Collections      [java]   java.util.Set      [java]   java.lang.NoSuchFieldError      [java]   java.io.Serializable      [java]   java.lang.NoClassDefFoundError      [java]   java.lang.NoSuchMethodError      [java]   java.lang.UnsatisfiedLinkError      [java]   java.lang.IncompatibleClassChangeError      [java]   java.util.AbstractList      [java] Missing classes: 15
      

          [JENKINS-53692] Plugin POM: FindBugs sometimes fails on Java 11

          Oleg Nenashev created issue -
          Oleg Nenashev made changes -
          Epic Link New: JENKINS-40689 [ 177392 ]

          Oleg Nenashev added a comment -

          https://github.com/spotbugs/spotbugs/issues/711 is likely a response to that, skipping FindBugs for now

          Oleg Nenashev added a comment - https://github.com/spotbugs/spotbugs/issues/711  is likely a response to that, skipping FindBugs for now
          Oleg Nenashev made changes -
          Summary Original: Plugin POM: FindBugs fails on Java 11 New: Plugin POM: FindBugs sometimes fails on Java 11
          Oleg Nenashev made changes -
          Labels New: java11

          Oleg Nenashev added a comment -

          At the JUG meetup in Lausanne on Nov 14, I was said that SpotBugs does not actually solve this issue in the latest release. They fixed some other issues, but not that one.

           

          Oleg Nenashev added a comment - At the JUG meetup in Lausanne on Nov 14, I was said that SpotBugs does not actually solve this issue in the latest release. They fixed some other issues, but not that one.  
          Ivan Fernandez Calvo made changes -
          Link New: This issue is related to JENKINS-55205 [ JENKINS-55205 ]
          Baptiste Mathus made changes -
          Labels Original: java11 New: java11 triaged

          Probably to be looked at again when the switch to SpotBugs lands into the plugin-pom https://github.com/jenkinsci/plugin-pom/pull/128

          Baptiste Mathus added a comment - Probably to be looked at again when the switch to SpotBugs lands into the plugin-pom https://github.com/jenkinsci/plugin-pom/pull/128

          Oleg Nenashev added a comment -

          Yes, https://github.com/spotbugs/spotbugs/issues/711 is reported to be fixed in 3.1.7

          Oleg Nenashev added a comment - Yes, https://github.com/spotbugs/spotbugs/issues/711 is reported to be fixed in 3.1.7

            Unassigned Unassigned
            oleg_nenashev Oleg Nenashev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: