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 git-svn-id: svn://10.0.0.236/trunk@212681 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
560f9a813f
commit
fe804f2dab
@ -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