if((filename == nullptr) || !OS::FileExists(filename)) {
LOG(ERROR) <<"DexFile_getDexOptNeeded file '"<< filename <<"' does not exist";
ScopedLocalRef fnfe(env, env->FindClass("java/io/FileNotFoundException"));
const char* message = (filename == nullptr) ?"": filename;
env->ThrowNew(fnfe.get(), message);
returnOatFileAssistant::kNoDexOptNeeded;
}
网友评论