From: G (JIRA) <no...@at...> - 2006-06-22 20:56:34
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1236?page=comments#action_23377 ] G commented on HHH-1236: ------------------------ Has this issue really been resolved. A quick look at the source code - reveals that the static refernce has not been removed. At least for the source cod ein 3.1.3 and 3.2.alpha I have downloaded the source for both, and in org.hibernate.utils.XMLHelper the static reference to DTDEntityResolver i.e. This is the current source code in both versions. public final class XMLHelper { private static final Log log = LogFactory.getLog(XMLHelper.class); public static final EntityResolver DEFAULT_DTD_RESOLVER = new DTDEntityResolver(); > Remove static reference to classloader, to avoid memory leak at webapp reload > ----------------------------------------------------------------------------- > > Key: HHH-1236 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1236 > Project: Hibernate3 > Type: Bug > Components: core > Versions: 3.0.5 > Environment: Resin 3.0.15, CGLib 2.1_3 > Reporter: Mattias Jiderhamn > Assignee: Steve Ebersole > Fix For: 3.2.0.alpha1, 3.1.3 > Attachments: OptimizeIt.jpg > > > To avoid memory leaks when web applications reload, please either remove reference to classloader in org.hibernate.util.DTDEntityResolver or remove static reference to that class in org.hibernate.util.XMLHelper > For background information, please see > http://forum.hibernate.org/viewtopic.php?p=2275217#2275217 > http://opensource2.atlassian.com/confluence/spring/pages/viewpage.action?pageId=2669 > and attached screen shot -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |