lib/java: make pop_from_local_frame_with_env protected to be redefable
authorAlexis Laferrière <alexis.laf@xymus.net>
Tue, 28 Jul 2015 18:11:38 +0000 (14:11 -0400)
committerAlexis Laferrière <alexis.laf@xymus.net>
Wed, 29 Jul 2015 12:47:29 +0000 (08:47 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

lib/java/java.nit

index 04e8743..cefa71d 100644 (file)
@@ -172,7 +172,8 @@ redef extern class JavaObject
                return pop_from_local_frame_with_env(jni_env)
        end
 
-       private fun pop_from_local_frame_with_env(jni_env: JniEnv): SELF `{
+       # Java implementation of `pop_from_local_frame`
+       protected fun pop_from_local_frame_with_env(jni_env: JniEnv): SELF `{
                return (*jni_env)->PopLocalFrame(jni_env, self);
        `}