範例

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

super.finalize();
}
}

解決方案
請勿超載 finalize() 方法。