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

Dan,

On 8/18/2011 5:22 PM, Dan Armbrust wrote:
> Toolkit.getDefaultToolkit().createImage(new byte[]{});

Simply calling getDefaultToolkit will do the trick: you don't have to
waste time creating an image.

I'll implement this in the JreLeakPreventionListener, but it will be
/disabled/ by default because it creates an extra thread.

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

iEYEARECAAYFAk5Odv0ACgkQ9CaO5/Lv0PCcgQCgmJSbaZfi44FrJNsZRrKzUjO7
P8sAni966fu3A/UyixaIysxI8UNBXtXS
=XUTK
-----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