[ 
https://issues.apache.org/jira/browse/SPARK-7976?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Reynold Xin updated SPARK-7976:
-------------------------------
    Fix Version/s:     (was: 1.4.1)
                       (was: 1.5.0)
                   1.4.0

> Add style checker to disallow overriding finalize
> -------------------------------------------------
>
>                 Key: SPARK-7976
>                 URL: https://issues.apache.org/jira/browse/SPARK-7976
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Project Infra
>            Reporter: Reynold Xin
>            Assignee: Reynold Xin
>             Fix For: 1.4.0
>
>
> finalize() is called when the object is garbage collected, and garbage 
> collection is not guaranteed to happen. It is therefore unwise to rely on 
> code in finalize() method.
> See 
> http://www.scalastyle.org/rules-0.7.0.html#org_scalastyle_scalariform_NoFinalizeChecker



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to