From a6119a28869f0cff42c778c690296f8f2ec8b814 Mon Sep 17 00:00:00 2001 From: Yevgeny Rouban Date: Mon, 24 Mar 2014 11:31:24 +0700 Subject: [PATCH] Recognize and ignore options '-ea' and '-da' -ea: and -da: options are ignored. This patch just adds -ea and -da options without any package or class specified. Change-Id: Ide04b8eacb1b2edb415328130bc12e05dc3ddc7b Signed-off-by: Yevgeny Rouban --- runtime/parsed_options.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/runtime/parsed_options.cc b/runtime/parsed_options.cc index bc8f51f6a..29fe5365c 100644 --- a/runtime/parsed_options.cc +++ b/runtime/parsed_options.cc @@ -584,10 +584,10 @@ bool ParsedOptions::Parse(const Runtime::Options& options, bool ignore_unrecogni Usage("Unknown -Xverify option %s", verify_mode.c_str()); return false; } - } else if (StartsWith(option, "-ea:") || - StartsWith(option, "-da:") || - StartsWith(option, "-enableassertions:") || - StartsWith(option, "-disableassertions:") || + } else if (StartsWith(option, "-ea") || + StartsWith(option, "-da") || + StartsWith(option, "-enableassertions") || + StartsWith(option, "-disableassertions") || (option == "--runtime-arg") || (option == "-esa") || (option == "-dsa") || -- 2.11.0