Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-18266 Eliminate the warnings from the spotbugs
  3. HBASE-18293

Only add the spotbugs dependency when jdk8 is active

    XMLWordPrintableJSON

Details

    Description

      The spotbugs requires the java 8 so we should only add the spotbugs dependency when jdk8 is active.

      [INFO] Fork Value is true
           [java] Exception in thread "main" java.lang.UnsupportedClassVersionError: edu/umd/cs/findbugs/FindBugs2 : Unsupported major.minor version 52.0
           [java] 	at java.lang.ClassLoader.defineClass1(Native Method)
           [java] 	at java.lang.ClassLoader.defineClass(ClassLoader.java:803)
           [java] 	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
           [java] 	at java.net.URLClassLoader.defineClass(URLClassLoader.java:442)
           [java] 	at java.net.URLClassLoader.access$100(URLClassLoader.java:64)
           [java] 	at java.net.URLClassLoader$1.run(URLClassLoader.java:354)
           [java] 	at java.net.URLClassLoader$1.run(URLClassLoader.java:348)
           [java] 	at java.security.AccessController.doPrivileged(Native Method)
           [java] 	at java.net.URLClassLoader.findClass(URLClassLoader.java:347)
           [java] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
           [java] 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:312)
           [java] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
           [java] 	at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
      

      Attachments

        1. HBASE-18293.v0.patch
          2 kB
          Chia-Ping Tsai
        2. HBASE-18923-branch-1.1.v1.patch
          1 kB
          Sean Busbey

        Activity

          People

            chia7712 Chia-Ping Tsai
            chia7712 Chia-Ping Tsai
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: