• Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 7u40
    • 6
    • docs
    • None
    • generic
    • solaris_10

      $ java -version
      java version "1.6.0"
      Java(TM) SE Runtime Environment (build 1.6.0-b105)
      Java HotSpot(TM) Server VM (build 1.6.0-b105, mixed mode)
      $ java -version:1.6+ Foo
      Unable to locate JRE meeting specification "1.6+"

      Obviously if the "java" command is running version 1.6.0 then it meets the specification, without any need to "locate" a JRE.

      This problem appears on Solaris SPARC and Solaris AMD64 at least. This works with a 1.5 binary asking for -version:1.5+ so it appears to be a regression. The problem also shows up with javac and javadoc.

            azhebel Alexey Zhebel (Inactive)
            emcmanus Eamonn McManus
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: