diff --git a/test/hotspot/jtreg/gc/logging/TestPrintReferences.java b/test/hotspot/jtreg/gc/logging/TestPrintReferences.java index 406d28137d9..3f11b577d2a 100644 --- a/test/hotspot/jtreg/gc/logging/TestPrintReferences.java +++ b/test/hotspot/jtreg/gc/logging/TestPrintReferences.java @@ -131,7 +131,6 @@ public class TestPrintReferences { // Find the first Reference Processing log and check its format. private static void checkLogFormat(OutputAnalyzer output, boolean parallelRefProcEnabled) { - String countRegex = "[0-9]+"; String timeRegex = doubleRegex + "ms"; /* Total Reference processing time */