From 0f26d09da881b1dfedfc0dcaff46fc169fa1f020 Mon Sep 17 00:00:00 2001 From: Matthias Baesken Date: Fri, 10 Mar 2023 08:27:19 +0000 Subject: [PATCH] 8303822: gtestMain should give more helpful output Reviewed-by: lmesnik --- test/hotspot/gtest/gtestMain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/hotspot/gtest/gtestMain.cpp b/test/hotspot/gtest/gtestMain.cpp index f3d8bd60c98..248ffdaa3ac 100644 --- a/test/hotspot/gtest/gtestMain.cpp +++ b/test/hotspot/gtest/gtestMain.cpp @@ -245,7 +245,7 @@ static void runUnitTestsInner(int argc, char** argv) { char* java_home = get_java_home_arg(argc, argv); if (java_home == NULL) { - fprintf(stderr, "ERROR: You must specify a JDK to use for running the unit tests.\n"); + fprintf(stderr, "ERROR: You must specify a JDK (-jdk , --jdk= or -jdk:) to use for running the unit tests.\n"); os::exit(1); } #ifndef _WIN32