Mercurial > hg > openjdk > jdk9 > hotspot
changeset 12507:8d23544aa002
8156762: test/compiler/ciReplay/TestVMNoCompLevel.java fails with - 'Unexpected exit code for negative case: [-client]: expected 0 to not equal 0'
Summary: Corrected CLIENT_VM_AVAILABLE case
Reviewed-by: dpochepk, zmajo
author | rraghavan |
---|---|
date | Mon, 02 Jan 2017 00:26:40 -0800 |
parents | 1a1893998a0a |
children | b20c6bf7938a |
files | test/compiler/ciReplay/TestVMNoCompLevel.java |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/test/compiler/ciReplay/TestVMNoCompLevel.java Fri Dec 30 20:11:49 2016 +0300 +++ b/test/compiler/ciReplay/TestVMNoCompLevel.java Mon Jan 02 00:26:40 2017 -0800 @@ -65,7 +65,11 @@ throw new Error("Failed to read/write replay data: " + ioe, ioe); } if (CLIENT_VM_AVAILABLE) { - negativeTest(CLIENT_VM_OPTION); + if (SERVER_VM_AVAILABLE) { + negativeTest(CLIENT_VM_OPTION); + } else { + positiveTest(CLIENT_VM_OPTION); + } } if (SERVER_VM_AVAILABLE) { positiveTest(TIERED_DISABLED_VM_OPTION, SERVER_VM_OPTION);