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

java.version system property doesn't contain minor/patch version anymore

XMLWordPrintable

    • x86
    • os_x

      ADDITIONAL SYSTEM INFORMATION :
      Linux/MacOSX JDK 13

      A DESCRIPTION OF THE PROBLEM :
      Using the latest 13 release querying the java.version system property returns "13". In earlier versions, this returned the minor/patch version too. (i.e. "11.0.1" ) This is causing issues with software trying to programmatically retrieve the current minor version of the JVM


      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      System.out.println(System.getProperty("java.version"));


      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      13.0.1

      FREQUENCY : always


            fmatte Fairoz Matte
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: