diff options
author | Noel Grandin <noel@peralex.com> | 2014-11-11 15:35:08 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2014-11-12 08:02:18 +0000 |
commit | b95dcb97de986a1e7dd7f7fda258e559f8d60b1c (patch) | |
tree | 58442e1ad7bdf30eb0a6e7c673f56355939f059f /jurt/test/com/sun | |
parent | 36ff1527c9cb20542d3097d123d221c40a356795 (diff) |
java: last statement in finalize() method should be call to super.finalize()
Change-Id: I1785c6cef1fe7c1990207a76c263cff388cbb7e1
Reviewed-on: https://gerrit.libreoffice.org/12375
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'jurt/test/com/sun')
-rw-r--r-- | jurt/test/com/sun/star/uno/WeakReference_Test.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/jurt/test/com/sun/star/uno/WeakReference_Test.java b/jurt/test/com/sun/star/uno/WeakReference_Test.java index a990f449b288..73a847d7bc1a 100644 --- a/jurt/test/com/sun/star/uno/WeakReference_Test.java +++ b/jurt/test/com/sun/star/uno/WeakReference_Test.java @@ -44,8 +44,9 @@ public final class WeakReference_Test { } @Override - protected void finalize() { + protected void finalize() throws Throwable { adapter.dispose(); + super.finalize(); } private static final class Adapter implements XAdapter { |