mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-25 22:29:07 +00:00
Bug 270889 - Use correct versions of Append. r=darin.
Original committer: pedemont%us.ibm.com Original revision: 1.20 Original date: 2005/01/12 17:36:11
This commit is contained in:
parent
cada4607a7
commit
8956fd9bb3
@ -545,13 +545,13 @@ ThrowXPCOMException(JNIEnv* env, const nsresult aErrorCode,
|
||||
nsCAutoString methodSig("(");
|
||||
if (aErrorCode) {
|
||||
args[index++].j = aErrorCode;
|
||||
methodSig.Append("J");
|
||||
methodSig.Append('J');
|
||||
}
|
||||
if (aMessage) {
|
||||
args[index].l = env->NewStringUTF(aMessage);
|
||||
methodSig.Append("Ljava/lang/String;");
|
||||
methodSig.AppendLiteral("Ljava/lang/String;");
|
||||
}
|
||||
methodSig.Append(")V");
|
||||
methodSig.AppendLiteral(")V");
|
||||
|
||||
// create exception object
|
||||
jthrowable throwObj = nsnull;
|
||||
|
Loading…
x
Reference in New Issue
Block a user