hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chia-Ping Tsai (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-18293) Only add the spotbugs dependency when jdk8 is active
Date Tue, 04 Jul 2017 07:23:00 GMT

    [ https://issues.apache.org/jira/browse/HBASE-18293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16073225#comment-16073225
] 

Chia-Ping Tsai commented on HBASE-18293:
----------------------------------------

Nothing happens on my local. I will keep an eye on it.

> Only add the spotbugs dependency when jdk8 is active
> ----------------------------------------------------
>
>                 Key: HBASE-18293
>                 URL: https://issues.apache.org/jira/browse/HBASE-18293
>             Project: HBase
>          Issue Type: Sub-task
>          Components: build
>            Reporter: Chia-Ping Tsai
>            Assignee: Chia-Ping Tsai
>             Fix For: 3.0.0, 1.4.0, 1.3.2, 1.2.7, 2.0.0-alpha-2, 1.1.12
>
>         Attachments: HBASE-18293.v0.patch, HBASE-18923-branch-1.1.v1.patch
>
>
> The spotbugs requires the java 8 so we should only add the spotbugs dependency when jdk8
is active.
> {noformat}
> [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)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message