8273095: vmTestbase/vm/mlvm/anonloader/stress/oome/heap/Test.java fails with "wrong OOME"

Reviewed-by: shade, stefank
This commit is contained in:
Dean Long 2021-11-22 23:17:46 +00:00
parent 05a9a51dbf
commit f62b81c3b5
2 changed files with 1 additions and 3 deletions

View File

@ -35,8 +35,6 @@ vmTestbase/vm/mlvm/mixed/stress/regression/b6969574/INDIFY_Test.java 8265295 lin
vmTestbase/nsk/jvmti/scenarios/sampling/SP07/sp07t002/TestDescription.java 8245680 windows-x64
vmTestbase/vm/mlvm/hiddenloader/stress/oome/heap/Test.java 8273095 generic-all
serviceability/sa/TestJhsdbJstackMixed.java 8248675 linux-aarch64
compiler/codegen/aes/TestAESMain.java 8274323 linux-x64,windows-x64

View File

@ -63,7 +63,7 @@ public class Test extends MlvmOOMTest {
@Override
protected void checkOOME(OutOfMemoryError oome) {
String message = oome.getMessage();
if (!"Java heap space".equals(message)) {
if (!message.startsWith("Java heap space")) {
throw new RuntimeException("TEST FAIL : wrong OOME", oome);
}
}