[
https://issues.apache.org/jira/browse/ATLAS-1036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15386114#comment-15386114
]
Suma Shivaprasad commented on ATLAS-1036:
-----------------------------------------
+1
> Compilation error on java 1.8 - GraphBackedDiscoveryService
> -----------------------------------------------------------
>
> Key: ATLAS-1036
> URL: https://issues.apache.org/jira/browse/ATLAS-1036
> Project: Atlas
> Issue Type: Bug
> Reporter: Shwetha G S
> Assignee: Shwetha G S
> Fix For: 0.8-incubating
>
> Attachments: ATLAS-1036.patch
>
>
> Fails on java 1.8:
> {noformat}
> [INFO] --- scala-maven-plugin:3.2.0:compile (scala-compile-first) @
> atlas-repository ---
> [WARNING] Zinc server is not available at port 3030 - reverting to normal
> incremental compile
> [INFO] Using incremental compilation
> [INFO] Compiling 9 Scala sources and 50 Java sources to
> /Users/sshivalingamurthy/git/atlas-clone/repository/target/classes...
> [ERROR] warning: [options] bootstrap class path not set in conjunction with
> -source 1.7
> [ERROR]
> /Users/sshivalingamurthy/git/atlas-clone/repository/src/main/java/org/apache/atlas/discovery/graph/GraphBackedDiscoveryService.java:143:
> error: incomparable types: Object and int
> [ERROR] && ((Expressions.LimitExpression)
> validatedExpression).limit().rawValue() == 0) {
> [ERROR]
> ^
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)