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

TestQuotedLogOutput failure after ProcessBuilder changes

    XMLWordPrintable

Details

    • b01
    • windows

    Backports

      Description

        The open\test\hotspot\jtreg\serviceability\TestQuotedLogOutput
        test fails with a complaint of quoting:

         stderr: [Invalid -Xlog option '-Xlog:all=trace:\\"T:\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_tier1_serviceability\\scratch\\3\\test file.log\\"', see error log for details.
        Error: Could not create the Java Virtual Machine.
        Error: A fatal exception has occurred. Program will exit.
        ]
         exitValue = 1

        java.lang.RuntimeException: Expected to get exit value of [0]

        at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:430)
        at TestQuotedLogOutputs.main(TestQuotedLogOutputs.java:77)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:567)
        at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
        at java.base/java.lang.Thread.run(Thread.java:830)

        JavaTest Message: Test threw exception: java.lang.RuntimeException
        JavaTest Message: shutting down test

        Attachments

          Issue Links

            Activity

              People

                rriggs Roger Riggs
                rriggs Roger Riggs
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: