From 9318ece01ffa6d1de64e5930217ef42de24cc411 Mon Sep 17 00:00:00 2001 From: "Brant K. Kyser" Date: Tue, 15 Jan 2013 13:11:21 -0600 Subject: [PATCH] Use NSPACE_SEPARATOR rather than literal. --- Source/Modules/java.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Modules/java.cxx b/Source/Modules/java.cxx index 5cb194605..03dae577d 100644 --- a/Source/Modules/java.cxx +++ b/Source/Modules/java.cxx @@ -4305,7 +4305,7 @@ public: // If the namespace is multiple levels, the result of getNSpace() will have inserted // .'s to delimit namespaces, so we need to replace those with /'s - Replace(internal_classname, ".", "/", DOH_REPLACE_ANY); + Replace(internal_classname, NSPACE_SEPARATOR, "/", DOH_REPLACE_ANY); Wrapper_add_localv(w, "baseclass", "static jclass baseclass", "= 0", NIL); Printf(w->def, "void %s::swig_connect_director(JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global) {", director_classname);