サンプル
public
class
ClassA {
protected void
finalize()
throws
Throwable {
//...
}
public
void
methodA {
}
ソリューション
super.finalize() を呼び出します。
public
class
ClassA {
protected void
finalize()
throws
Throwable {
super
.finalize();
//...
}
}