JDK-8327246: fixed test issue as identified by @dholmes

This commit is contained in:
Larry Cable 2026-01-15 15:51:15 -08:00
parent 22f27bee7c
commit 032897f044

View File

@ -62,6 +62,6 @@ public class PrintClasses {
pb.command(new PidJcmdExecutor().getCommandLine("VM.classes", "-location")); pb.command(new PidJcmdExecutor().getCommandLine("VM.classes", "-location"));
output = new OutputAnalyzer(pb.start()); output = new OutputAnalyzer(pb.start());
output.stdoutContains(".*(file:/|jar:).*"); output.stdoutShouldMatch("^.*(file:/|jar:).*$");
} }
} }