From a698a9967bec3a366c648247f987bb191551cf0e Mon Sep 17 00:00:00 2001 From: "pedemont%us.ibm.com" Date: Wed, 27 Sep 2006 15:18:17 +0000 Subject: [PATCH] Bug 327846 - Method names conflicting with Java keywords should have underscore prepended, not appended. Expand list of Java keywords. General cleanup. r=bsmedberg. xulrunner only Original committer: pedemont%us.ibm.com Original revision: 1.29 Original date: 2006/03/30 22:31:56 --- extensions/java/xpcom/src/nsJavaXPCOMBindingUtils.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/extensions/java/xpcom/src/nsJavaXPCOMBindingUtils.h b/extensions/java/xpcom/src/nsJavaXPCOMBindingUtils.h index cac0d73948a..2aa3ac8b9ad 100644 --- a/extensions/java/xpcom/src/nsJavaXPCOMBindingUtils.h +++ b/extensions/java/xpcom/src/nsJavaXPCOMBindingUtils.h @@ -45,6 +45,8 @@ #include "pldhash.h" #include "nsJavaXPTCStub.h" #include "nsAutoLock.h" +#include "nsTHashtable.h" +#include "nsHashKeys.h" //#define DEBUG_JAVAXPCOM //#define DEBUG_JAVAXPCOM_REFCNT @@ -110,6 +112,8 @@ extern NativeToJavaProxyMap* gNativeToJavaProxyMap; class JavaToXPTCStubMap; extern JavaToXPTCStubMap* gJavaToXPTCStubMap; +extern nsTHashtable* gJavaKeywords; + // The Java garbage collector runs in a separate thread. Since it calls the // finalizeProxy() function in nsJavaWrapper.cpp, we need to make sure that // all the structures touched by finalizeProxy() are multithread aware.