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

[TEST_BUG] sun/misc/Version/Version.java doesn't match JVM version after 8030011

    Details

    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      sun/misc/Version/Version.java

      After 8030011 changes JVM version string changed to match JDK version:
      java version "1.9.0-ea"
      Java(TM) SE Runtime Environment (build 1.9.0-ea-b07)
      Java HotSpot(TM) Server VM (build 1.9.0-ea-b07, mixed mode)

      Looks like Version.java test was not fixed to accept new version string:

      ----------System.out:(4/223)----------
      newVersionInfo: input=1.9.0-ea-fastdebug-b15 output=1.9.0-b15
      JDK version = 1.9.0-b15 1.9.0-b15
      newVersionInfo: input=1.9.0-internal-201406050912.anoll.JDK-8031389-fastdebug output=1.9.0-b0
      JVM version = 1.9.0-b0 0.0.0-b0
      ----------System.err:(13/763)----------
      java.lang.RuntimeException: Unmatched version: 1.9.0-b0 vs 0.0.0-b0
      at Version.main(Version.java:56)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                anoll Albert Noll (Inactive)
                Reporter:
                kvn Vladimir Kozlov
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: