Skip to content

Commit

Permalink
8293201: Library detection in runtime/ErrorHandling/TestDwarf.java fa…
Browse files Browse the repository at this point in the history
…ils on some systems

Reviewed-by: chagedorn
  • Loading branch information
shipilev committed Sep 1, 2022
1 parent 2d10d4f commit 5204528
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/hotspot/jtreg/runtime/ErrorHandling/TestDwarf.java
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ private static void runAndCheck(Flags flags, DwarfConstraint... constraints) thr
* There are some valid cases where we cannot find source information. Check these.
*/
private static void checkNoSourceLine(String crashOutputString, String line) {
Pattern pattern = Pattern.compile("[CV][\\s\\t]+\\[([a-zA-Z0-9_.]+)\\+0x.+][\\s\\t]+.*\\+0x");
Pattern pattern = Pattern.compile("[CV][\\s\\t]+\\[([a-zA-Z0-9_.]+)\\+0x.+]");
Matcher matcher = pattern.matcher(line);
Asserts.assertTrue(matcher.find(), "Must find library in \"" + line + "\"");
// Check if there are symbols available for library. If not, then we cannot find any source information for this library.
Expand Down

1 comment on commit 5204528

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.