From 1cf56011f72995f2e9be56136f25341e508cd3ff Mon Sep 17 00:00:00 2001 From: "Vladimir.Orlov" Date: Wed, 31 Jul 2019 11:47:40 +0300 Subject: [PATCH] IDEA-212194 Windows launcher reports "MaxJavaStackTraceDepth=-1 is outside the allowed range" for any invalid VM option IDEA-CR-50856 GitOrigin-RevId: 9801f7613127fc7c687ff3363b0f99ae13d68963 --- native/WinLauncher/WinLauncher/WinLauncher.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native/WinLauncher/WinLauncher/WinLauncher.cpp b/native/WinLauncher/WinLauncher/WinLauncher.cpp index 01b87e03dc30..17244b2eda9a 100644 --- a/native/WinLauncher/WinLauncher/WinLauncher.cpp +++ b/native/WinLauncher/WinLauncher/WinLauncher.cpp @@ -692,7 +692,7 @@ std::string getErrorMessage(int errorCode) std::string errorMessage = ""; if (errorCode == -6) { - errorMessage = "Improperly specified VM option."; + errorMessage = "Improperly specified VM option. To fix the problem, edit your JVM options and remove the options that are obsolete or not supported by the current version of the JVM."; } return errorMessage; }