DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38579>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38579





------- Additional Comments From [EMAIL PROTECTED]  2006-02-09 05:47 -------
I did some research this evening and found out that, sure enough, Java 5 allows
instance final fields to be overwritten but does NOT allow this for static final
fields.  Therefore my suggestion of simply overwriting the static final
reference will not work.

I made some modifications to the cleanup code in WebappClassLoader.java, which
cause it to only nullify fields of descended-into objects if they refer to
objects of classes which were loaded by 'this' class loader or one of its
children (if it has any.)  I am attaching the modified source file.  Please take
a look at it and see if it still achieves the desired effect with respect to
Tomcat's cleanup process.  I am new to class loader debugging.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to