summaryrefslogtreecommitdiff
path: root/Lib/java
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/java')
-rw-r--r--Lib/java/java.swg2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/java/java.swg b/Lib/java/java.swg
index fbea6a07c..c727d9611 100644
--- a/Lib/java/java.swg
+++ b/Lib/java/java.swg
@@ -1186,7 +1186,7 @@ SWIGINTERN const char * SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
/* Set the default javabody typemaps to use protected visibility.
Use the macros to change to public if using multiple modules. */
-SWIG_JAVABODY_PROXY(public, public, SWIGTYPE)
+SWIG_JAVABODY_PROXY(protected, protected, SWIGTYPE)
SWIG_JAVABODY_TYPEWRAPPER(protected, protected, protected, SWIGTYPE)
%typemap(javafinalize) SWIGTYPE %{