Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-26813

Consolidate java version across language compilers and build tools

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.4.0
    • 3.0.0
    • Build
    • None

    Description

      The java version here means versions of javac source, javac target, scalac target. They could be consolidated as a single version (currently 1.8)

        javac scalac
      source 1.8 2.12/2.11
      target 1.8 1.8

      The current issues are as follows

      • Maven defines a single property to specify java version (java.version) while SBT build defines different properties for javac (javacJVMVersion) and scalac (scalacJVMVersion). SBT should use a single property as Maven does.
      • Furthermore, it's better for SBT to refer to java.version defined by Maven. This is possible since we've already been using sbt-pom-reader.

      Attachments

        Issue Links

          Activity

            People

              seancxmao Chenxiao Mao
              seancxmao Chenxiao Mao
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: