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>
This commit is contained in:
committed by
Noel Grandin
parent
36ff1527c9
commit
b95dcb97de
@@ -88,10 +88,11 @@ public final class Bug108825_Test extends ComplexTestCase {
|
||||
|
||||
private final class Dummy implements XDummy {
|
||||
@Override
|
||||
protected void finalize() {
|
||||
protected void finalize() throws Throwable {
|
||||
synchronized (lock) {
|
||||
++finalizedCount;
|
||||
}
|
||||
super.finalize();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user