8261857: serviceability/sa/ClhsdbPrintAll.java failed with "Test ERROR java.lang.RuntimeException: 'cannot be cast to' found in stdout"

Reviewed-by: sspitsyn
This commit is contained in:
Chris Plummer 2021-02-20 20:46:57 +00:00
parent 2b00367e11
commit c2509ea9bc

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2021, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -67,7 +67,7 @@ public class ClhsdbPrintAll {
"Exception Table",
"invokedynamic"));
unExpStrMap.put("printall", List.of(
"cannot be cast to"));
"cannot be cast to class"));
test.run(theApp.getPid(), cmds, expStrMap, unExpStrMap);
} catch (SkippedException se) {
throw se;