From 4bc6bbb23f46e702a89218e06581be559d72c3ee Mon Sep 17 00:00:00 2001 From: Christian Hagedorn Date: Mon, 12 Jun 2023 10:46:36 +0000 Subject: [PATCH] 8309814: [IR Framework] Dump socket output string in which IR encoding was not found Reviewed-by: rcastanedalo --- .../ir_framework/driver/irmatching/parser/IREncodingParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/hotspot/jtreg/compiler/lib/ir_framework/driver/irmatching/parser/IREncodingParser.java b/test/hotspot/jtreg/compiler/lib/ir_framework/driver/irmatching/parser/IREncodingParser.java index cc82d90179f..28c4213f82d 100644 --- a/test/hotspot/jtreg/compiler/lib/ir_framework/driver/irmatching/parser/IREncodingParser.java +++ b/test/hotspot/jtreg/compiler/lib/ir_framework/driver/irmatching/parser/IREncodingParser.java @@ -103,7 +103,7 @@ public class IREncodingParser { */ private String[] getIREncodingLines(String irEncoding) { Matcher matcher = IR_ENCODING_PATTERN.matcher(irEncoding); - TestFramework.check(matcher.find(), "Did not find IR encoding"); + TestFramework.check(matcher.find(), "Did not find IR encoding in:" + System.lineSeparator() + irEncoding); String lines = matcher.group(1).trim(); if (lines.isEmpty()) { // Nothing to IR match.