summaryrefslogtreecommitdiff
path: root/bridges
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-10-16 08:22:51 +0200
committerNoel Grandin <noel@peralex.com>2014-10-16 12:27:11 +0200
commit25d70197a4e428d1dbde59209505f76d33287416 (patch)
tree03c53d27c48efa7b96f2dd054ad260754e2a46bc /bridges
parentc26d6444bbf459f1180cd7075d535e819bd431c3 (diff)
java: when overriding finalize(), keep it protected
Change-Id: I44456b3244f2190e33a7333c13492eea52bb06e4
Diffstat (limited to 'bridges')
-rw-r--r--bridges/source/jni_uno/java/com/sun/star/bridges/jni_uno/JNI_proxy.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridges/source/jni_uno/java/com/sun/star/bridges/jni_uno/JNI_proxy.java b/bridges/source/jni_uno/java/com/sun/star/bridges/jni_uno/JNI_proxy.java
index af8f4a915f2f..a9764aafa2e9 100644
--- a/bridges/source/jni_uno/java/com/sun/star/bridges/jni_uno/JNI_proxy.java
+++ b/bridges/source/jni_uno/java/com/sun/star/bridges/jni_uno/JNI_proxy.java
@@ -95,7 +95,7 @@ public final class JNI_proxy implements java.lang.reflect.InvocationHandler
private native void finalize( long bridge_handle );
@Override
- public void finalize()
+ protected void finalize()
{
AsynchronousFinalizer.add(new AsynchronousFinalizer.Job() {
public void run() throws Throwable {