Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-1036

Compilation error on java 1.8 - GraphBackedDiscoveryService

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      Fails on java 1.8:

      [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]                                                                                           ^
      

      Attachments

        1. ATLAS-1036.patch
          1 kB
          Shwetha GS

        Activity

          People

            shwethags Shwetha GS
            shwethags Shwetha GS
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: