2011/8/19 <schu...@apache.org>: > + private boolean awtThreadProtection = false; > + public boolean isAWTThreadProtection() { return awtThreadProtection; } > + public void setAWTThreadProtection(boolean awtThreadProtection) { > + this.awtThreadProtection = awtThreadProtection; > + }
> + <attribute name="awtThreadProtection" required="false"> Looking at the getter and setter methods, I think the actual name of the property is "AWTThread...". I have not tried it though. Wouldn't you forget to apply the same change to trunk (aka Tomcat 8)? > + <p>Enables protection so that calls to > + <code>java.awt.Toolkit.getDefaultToolkit()</code> triggered by a web > + application do not result in a memory leak. > + Defaults to <code>false</code> because an AWT thread is launched.</p> > + </attribute> Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org