-
Bug
-
Resolution: Fixed
-
P3
-
11, 13
-
b01
-
windows
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8233980 | 11.0.6 | Roger Riggs | P3 | Resolved | Fixed | b04 |
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
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
- backported by
-
JDK-8233980 TestQuotedLogOutput failure after ProcessBuilder changes
- Resolved
- relates to
-
JDK-8243928 several svc tests can be run in driver mode
- Resolved