From 25d70197a4e428d1dbde59209505f76d33287416 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 16 Oct 2014 08:22:51 +0200 Subject: java: when overriding finalize(), keep it protected Change-Id: I44456b3244f2190e33a7333c13492eea52bb06e4 --- bridges/source/jni_uno/java/com/sun/star/bridges/jni_uno/JNI_proxy.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bridges') 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 { -- cgit v1.2.3