From: Alexis Laferrière Date: Tue, 28 Jul 2015 18:11:38 +0000 (-0400) Subject: lib/java: make pop_from_local_frame_with_env protected to be redefable X-Git-Tag: v0.7.7~2^2~28 X-Git-Url: http://nitlanguage.org lib/java: make pop_from_local_frame_with_env protected to be redefable Signed-off-by: Alexis Laferrière --- diff --git a/lib/java/java.nit b/lib/java/java.nit index 04e8743..cefa71d 100644 --- a/lib/java/java.nit +++ b/lib/java/java.nit @@ -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); `}