[
https://issues.apache.org/jira/browse/ATLAS-1036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shwetha G S updated ATLAS-1036:
-------------------------------
Description:
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}
was:
{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}
> Compilation error - 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
>
> 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)