Skip to content
This repository was archived by the owner on Sep 2, 2022. It is now read-only.
/ jdk17 Public archive

Commit 8caeca0

Browse files
committed
8264775: ClhsdbFindPC still fails with java.lang.RuntimeException: 'In java stack' missing from stdout/stderr
Reviewed-by: dcubed
1 parent 7e03cf2 commit 8caeca0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/hotspot/jtreg/serviceability/sa/ClhsdbFindPC.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,8 @@ private static void testFindPC(boolean withXcomp, boolean withCore) throws Excep
209209
cmdStr = "findpc " + stackAddress;
210210
cmds = List.of(cmdStr);
211211
expStrMap = new HashMap<>();
212-
expStrMap.put(cmdStr, List.of("In java stack"));
212+
// Note, sometimes a stack address points to a hotspot type, thus allow for "Is of type".
213+
expStrMap.put(cmdStr, List.of("(In java stack)|(Is of type)"));
213214
runTest(withCore, cmds, expStrMap);
214215
}
215216

0 commit comments

Comments
 (0)