Initialize the bootstrap class path from standard sources.
Change-Id: Ib49d21f98fd76504e5d3675fc731261426ca84ed
diff --git a/src/jni_internal.cc b/src/jni_internal.cc
index 6c6f493..6aa5c77 100644
--- a/src/jni_internal.cc
+++ b/src/jni_internal.cc
@@ -7,6 +7,8 @@
#include "logging.h"
#include "runtime.h"
+#include "scoped_ptr.h"
+#include "stringpiece.h"
#include "thread.h"
namespace art {
@@ -32,7 +34,8 @@
Runtime::Options options;
for (int i = 0; i < args->nOptions; ++i) {
JavaVMOption* option = &args->options[i];
- options.push_back(std::make_pair(option->optionString, option->extraInfo));
+ options.push_back(std::make_pair(StringPiece(option->optionString),
+ option->extraInfo));
}
bool ignore_unrecognized = args->ignoreUnrecognized;
scoped_ptr<Runtime> runtime(Runtime::Create(options, ignore_unrecognized));