[ 
https://issues.apache.org/jira/browse/OPENJPA-264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12507654
 ] 

Craig Russell commented on OPENJPA-264:
---------------------------------------

The folks who designed Java now agree that finalize is a terrible idea and 
should never have been put into Java.

Any code that depends on finalize being called is broken.


> Not calling finalize() method of data cache plug-in when application 
> terminates.
> --------------------------------------------------------------------------------
>
>                 Key: OPENJPA-264
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-264
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: datacache
>    Affects Versions: 1.0.0
>            Reporter: Daniel Lee
>
> When a third party data (and query) cache is configured, the finalize() 
> method in these classes should be called (if provided) to give the plug-ins a 
> chance to release the resource the application has been using.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to