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

VersionCheck.java fails when looking at nashorn

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 9
    • Fix Version/s: None
    • Component/s: tools
    • Labels:

      Description

      This failure was hiding in an unrelated known failure:

      Test: tools/launcher/VersionCheck.java

      Testing (-J-version): /export/home/aginfra/CommonData/TEST_JAVA_HOME/bin/jdk.scripting.nashorn.shell
      Error: /export/home/aginfra/CommonData/TEST_JAVA_HOME/bin/jdk.scripting.nashorn.shell fails -J-version comparison
      Expected:
      java version "9-internal"
      Java(TM) SE Runtime Environment (fastdebug build 9-internal+0-2016-09-12-181344.pobajaj.jdk9-hs)
      Actual:
      jjs [<options>] <files> [-- <arguments>]
      "-J-version" is not a recognized option. Use "-h" or "-help" to see a list of all supported options.

      Error: /export/home/aginfra/CommonData/TEST_JAVA_HOME/bin/jdk.scripting.nashorn.shell fails -J-fullversion comparison
      Expected:
      java full version "9-internal+0-2016-09-12-181344.pobajaj.jdk9-hs"
      Actual:
      jjs [<options>] <files> [-- <arguments>]
      "-J-fullversion" is not a recognized option. Use "-h" or "-help" to see a list of all supported options.



      Testing (-J-version): /export/home/aginfra/CommonData/TEST_JAVA_HOME/bin/jdk.scripting.nashorn
      Error: /export/home/aginfra/CommonData/TEST_JAVA_HOME/bin/jdk.scripting.nashorn fails -J-version comparison
      Expected:
      java version "9-internal"
      Java(TM) SE Runtime Environment (fastdebug build 9-internal+0-2016-09-12-181344.pobajaj.jdk9-hs)
      Actual:
      jjs [<options>] <files> [-- <arguments>]
      "-J-version" is not a recognized option. Use "-h" or "-help" to see a list of all supported options.

      Error: /export/home/aginfra/CommonData/TEST_JAVA_HOME/bin/jdk.scripting.nashorn fails -J-fullversion comparison
      Expected:
      java full version "9-internal+0-2016-09-12-181344.pobajaj.jdk9-hs"
      Actual:
      jjs [<options>] <files> [-- <arguments>]
      "-J-fullversion" is not a recognized option. Use "-h" or "-help" to see a list of all supported options.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jwilhelm Jesper Wilhelmsson
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: