-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Pid,
On 8/21/2011 4:53 AM, Pid wrote: > On 21/08/2011 01:19, Christopher Schultz wrote: >> I'm not sure how one would intercept the call, though. I've >> never looked into it, but I would guess that >> Toolkit.getDefaultToolkit can be configured to return an object >> of a different class -- one that would presumably temporarily set >> the CCL to the system ClassLoader. > > Hmm. Modifying the loadClass(str) method might suffice, on the > basis that a call to load Toolkit.class is likely to result in a > Toolkit.getDefaultToolkit() - rather than trying to intercept the > method call. Meh. Explicit configuration beats guessing IMHO. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk5UHG8ACgkQ9CaO5/Lv0PBPXwCglxYZHLmcnQb4eRyvwmFZ4H4l kSYAn184s7Mmm1Jr9yrj7FSRmdAfPUbi =mXUj -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org