The following comment has been added to this issue:
Author: matt johnson
Created: Thu, 2 Oct 2003 4:03 AM
Body:
What you are looking at is a finally block, not a finalizer method. These are
strictly unrelated (just as the final keyword is unrelated to both).
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?key=XDT-660
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XDT-660
Summary: <util> initialContext.close() in finalizer
Type: Improvement
Status: Assigned
Priority: Minor
Time Spent: Unknown
Remaining: Unknown
Project: XDoclet
Components:
EJB Module
Versions:
1.2 Beta 3
Assignee: xdoclet-devel (Use for new issues)
Reporter: joris docx
Created: Thu, 2 Oct 2003 3:30 AM
Updated: Thu, 2 Oct 2003 3:30 AM
Environment: -
Description:
<util> or @ejb.util
sets InitialContext in finalizer clause for garbage collection
..
} finally {
initialContext.close();
}
..
"Finalizers are expensive and interfere with optimal GC.
Finalizers are unreliable as indicators of object death.
It is good programming practice to be sparing in your use of finalizers (cfr
http://www-106.ibm.com/developerworks/java/library/j-jtctips/j-jtc0319a.html + java
lang spec)"
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel