/sun/tools/jhsdb/BasicLauncherTest.java fails on Mac OS with the output below:
Starting jstack against 48585
----------System.err:(34/1838)----------
Attaching to process 48545, please wait...
javax.script.ScriptException: TypeError: sapkg.runtime.VM.getVM is not a function in sa.js at line number 54
javax.script.ScriptException: TypeError: sapkg.runtime.VM.getVM is not a function in sa.js at line number 54
stdout: [Attaching to process ID 48585, please wait...
Debugger attached successfully.
Server compiler detected.
JVM version is 9-ea+122
Not available on Darwin
];
stderr: []
exitValue = 0
java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: 'No deadlocks found' missing from stdout/stderr
at BasicLauncherTest.launch(BasicLauncherTest.java:137)
at BasicLauncherTest.launch(BasicLauncherTest.java:146)
at BasicLauncherTest.main(BasicLauncherTest.java:175)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:531)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
at java.lang.Thread.run(java.base@9-ea/Thread.java:843)
Caused by: java.lang.RuntimeException: 'No deadlocks found' missing from stdout/stderr
at jdk.testlibrary.OutputAnalyzer.shouldContain(OutputAnalyzer.java:106)
at BasicLauncherTest.launch(BasicLauncherTest.java:133)
... 8 more