Příklad

public class ClassA {
protected void finalize (int i)
throws Throwable {

super.finalize();
}
}

Řešení
Nepřetěžujte metody finalize().