rev 14977 : 8132379: -J options can cause crash or "Warning: app args parsing error passing arguments as-is" Reviewed-by:
@@ -128,11 +128,11 @@ idx = argsCount; } expectingNoDashArg = JNI_FALSE; } // only update on java mode and not yet found main class - if (firstAppArgIndex == -1 && idx != 0) { + if (firstAppArgIndex == NOT_FOUND && idx != 0) { firstAppArgIndex = (int) idx; } } /*