-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Pid,

On 8/18/2011 6:05 PM, Pid wrote:
> On 18/08/2011 22:22, Dan Armbrust wrote:
>> Toolkit.getDefaultToolkit().createImage(new byte[]{});
>> 
>> which avoids "Headless" issues, but still kicks off the
>> AWT-Windows thread.
>> 
>> And since it is no longer tied to the context class loader,
>> Tomcat doesn't detect any issues on shutdown.
> 
> Doesn't the leak prevention listener do this?

No, JLPL protects against pinning of the CCL when using
sun.awt.AppContext.getAppContext().

I think this might be a decent option to implement, disabled by
default (because nobody wants an extra thread around for no reason).

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk5Oc5kACgkQ9CaO5/Lv0PCW0ACfWxDDEmkYIgW29ZHYYqVsnWAF
yFcAoJSK44YKlovB8xoYbCX9o1kNow5R
=FYWg
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to