Message:

   The following issue has been closed.

---------------------------------------------------------------------
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: Closed
   Priority: Minor
 Resolution: INCOMPLETE

 Time Spent: Unknown
  Remaining: Unknown

    Project: XDoclet
 Components: 
             EJB Module
   Fix Fors:
             1.2
   Versions:
             1.2 Beta 3

   Assignee: xdoclet-devel (Use for new issues)
   Reporter: joris docx

    Created: Thu, 2 Oct 2003 3:30 AM
    Updated: Sun, 16 Nov 2003 4:37 PM
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: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to