зеркало из https://github.com/mozilla/pjs.git
Bug 683461 - Attempt to fix the Java_org_mozilla_gecko_GeckoAppShell_reportJavaCrash crash. The thought is the string being contructed creates a jni env when it really shouldnt. r=jdm
This commit is contained in:
Родитель
d57eee72d9
Коммит
892f3b1f7f
|
@ -171,12 +171,11 @@ Java_org_mozilla_gecko_GeckoAppShell_onChangeNetworkLinkStatus(JNIEnv *jenv, jcl
|
|||
}
|
||||
|
||||
NS_EXPORT void JNICALL
|
||||
Java_org_mozilla_gecko_GeckoAppShell_reportJavaCrash(JNIEnv *, jclass, jstring stack)
|
||||
Java_org_mozilla_gecko_GeckoAppShell_reportJavaCrash(JNIEnv *jenv, jclass, jstring stack)
|
||||
{
|
||||
#ifdef MOZ_CRASHREPORTER
|
||||
nsJNIString javaStack(stack);
|
||||
CrashReporter::AppendAppNotesToCrashReport(
|
||||
NS_ConvertUTF16toUTF8(javaStack));
|
||||
nsJNIString javaStack(stack, jenv);
|
||||
CrashReporter::AppendAppNotesToCrashReport(NS_ConvertUTF16toUTF8(javaStack));
|
||||
#endif
|
||||
abort();
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче