IDEA-212194 Windows launcher reports "MaxJavaStackTraceDepth=-1 is outside the allowed range" for any invalid VM option

IDEA-CR-50856

GitOrigin-RevId: 9801f7613127fc7c687ff3363b0f99ae13d68963
This commit is contained in:
Vladimir.Orlov
2019-07-31 12:04:58 +03:00
committed by intellij-monorepo-bot
parent 230703e1b7
commit 1cf56011f7
@@ -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;
}