Uploaded image for project: 'Yetus'
  1. Yetus
  2. YETUS-13

The different JDKs which versions are the same aren't distiguished on multi-JDK mode

    XMLWordPrintableJSON

Details

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

    Description

      If one installs the same version of Oracle JDK and OpenJDK and enables the multi-JDK option, output files are overwritten by the last one because the same value is assigned to $jdk and $fn. Example:

      ============================================================================
      ============================================================================
                           Pre-patch trunk javac compilation
      ============================================================================
      ============================================================================
      
      
      mvn --batch-mode clean compile -DskipTests -Pnative -Drequire.libwebhdfs -Drequire.snappy -Drequire.openssl -Drequire.fuse -Drequire.test.libhadoop -Ptest-patch > /tmp/test-patch-hadoop/25579/branch-javac-hadoop-common-project_hadoop-common-jdk1.7.0_79.txt 2>&1
      Elapsed:   1m  0s
      mvn --batch-mode clean compile -DskipTests -Pnative -Drequire.libwebhdfs -Drequire.snappy -Drequire.openssl -Drequire.fuse -Drequire.test.libhadoop -Ptest-patch > /tmp/test-patch-hadoop/25579/branch-javac-hadoop-common-project_hadoop-common-jdk1.7.0_79.txt 2>&1
      Elapsed:   0m 54s
      

      Attachments

        Issue Links

          Activity

            People

              sekikn Kengo Seki
              sekikn Kengo Seki
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: