OSDN Git Service

ART: Fix wrong command line parameter
authorAndreas Gampe <agampe@google.com>
Fri, 8 Aug 2014 19:05:10 +0000 (12:05 -0700)
committerCalin Juravle <calin@google.com>
Thu, 14 Aug 2014 11:08:15 +0000 (12:08 +0100)
Bug: 16843953

(cherry picked from commit c4a7acf505944e7d937f0670b322e12302dd38dc)

Change-Id: Ib59e10a5d97a20ea1a013587645e0eeb204eda8d

runtime/parsed_options.cc

index 628add0..49f6585 100644 (file)
@@ -596,7 +596,7 @@ bool ParsedOptions::Parse(const RuntimeOptions& options, bool ignore_unrecognize
         Usage("Unknown -Xverify option %s\n", verify_mode.c_str());
         return false;
       }
-    } else if (StartsWith(option, "-XX:NativeBridgeLibrary=")) {
+    } else if (StartsWith(option, "-XX:NativeBridge=")) {
       if (!ParseStringAfterChar(option, '=', &native_bridge_library_string_)) {
         return false;
       }