hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Busbey (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-18293) Only add the spotbugs dependency when jdk8 is active
Date Thu, 29 Jun 2017 16:49:00 GMT

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

Sean Busbey commented on HBASE-18293:
-------------------------------------

great. I think this is ready to get pushed then.

> 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
>            Reporter: Chia-Ping Tsai
>            Assignee: Chia-Ping Tsai
>             Fix For: 1.4.0, 1.3.2, 1.2.7, 1.1.12
>
>         Attachments: HBASE-18293.v0.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