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

Sergio Peña commented on SENTRY-1943:
-------------------------------------

This is the error we get if we use JDK7.
{noformat}
[INFO] Compiling 13 source files to 
/home/jenkins/jenkins-slave/workspace/PreCommit-SENTRY-Build/sentry-provider/sentry-provider-common/target/classes
/home/jenkins/jenkins-slave/workspace/PreCommit-SENTRY-Build/sentry-provider/sentry-provider-common/src/main/java/org/apache/sentry/provider/common/ResourceAuthorizationProvider.java:136:
 error: cannot access Function
        new Function<String, Privilege>() {
        ^
  class file for java.util.function.Function not found
1 error
{noformat}

java.util.function.Function used on the Guava library is available on JDK8

> Update Guava to recent version
> ------------------------------
>
>                 Key: SENTRY-1943
>                 URL: https://issues.apache.org/jira/browse/SENTRY-1943
>             Project: Sentry
>          Issue Type: Improvement
>          Components: Sentry
>    Affects Versions: 2.0.0
>            Reporter: Alexander Kolbasov
>            Assignee: Sergio Peña
>         Attachments: SENTRY-1943.1.patch
>
>
> We are using old version of Guava - time to upgrade. Note that BoneCP 0.8.1 
> requires newer version of Guava.
> [~spena] [~lina.li] [~kkalyan] FYI



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

Reply via email to