Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-7368

update to findbugs version compatible with jdk 10

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.10.0, 1.8.4, 1.9.3
    • None
    • None

    Description

      Warnings running findbugs

      [INFO] --- findbugs-maven-plugin:3.0.4:findbugs (findbugs) @ oak-commons ---
      [INFO] Fork Value is true
           [java] Warning: Unknown version of Java
           [java] edu.umd.cs.findbugs.JavaVersionException: Could not parse Java version string: 10
           [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)
      

      it seems findbugs-maven-plugin 3.0.5 (latest release) does not fix this and I couldn't find an open issue related to java 10.

      Attachments

        Issue Links

          Activity

            People

              reschke Julian Reschke
              stillalex Alex Deparvu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: