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

[TESTBUG] runtime/CommandLine/TestVMOptions.java fails when running with an OpenJDK build

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • hotspot
    • b64

        STDERR:
         stdout: [];
         stderr: [openjdk version "1.9.0-internal-fastdebug"
        OpenJDK Runtime Environment (build 1.9.0-internal-fastdebug-20150422174245.cthaling.8022853-b00)
        OpenJDK Server VM (build 1.9.0-internal-fastdebug-20150422174245.cthaling.8022853-b00, mixed mode)
        ]
         exitValue = 0

        java.lang.RuntimeException: 'java version' missing from stdout/stderr

        at com.oracle.java.testlibrary.OutputAnalyzer.shouldContain(OutputAnalyzer.java:134)
        at TestVMOptions.main(TestVMOptions.java:49)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:502)
        at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:218)
        at java.lang.Thread.run(Thread.java:745)

              ctornqvi Christian Tornqvist
              ctornqvi Christian Tornqvist
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: