Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8179481

JAVA_VERSION, JAVA_FULL_VERSION confusion in release file

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Not an Issue
    • Affects Version/s: 9
    • Fix Version/s: None
    • Component/s: tools
    • Labels:
      None

      Description

      There seems to be a mismatch between java command line version output and the contents of the release file. There is a strong expectation that java -fullversion reports the same string as JAVA_FULL_VERSION. Likewise with java -version and JAVA_VERSION. If there is a good reason for these to be different, please find better names for them.

       $ grep VERSION ~/jdk/jdk9/release; echo ---; ~/jdk/jdk9/bin/java -version; echo ---; ~/jdk/jdk9/bin/java -fullversion;
      JAVA_FULL_VERSION="9-ea"
      JAVA_VERSION="9"
      ---
      java version "9-ea"
      Java(TM) SE Runtime Environment (build 9-ea+167)
      Java HotSpot(TM) 64-Bit Server VM (build 9-ea+167, mixed mode)
      ---
      java full version "9-ea+167"

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sundar Sundararajan Athijegannathan
                Reporter:
                martin Martin Buchholz
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: