|
From: | Archie Cobbs |
Subject: | Re: SecurityManager troubles |
Date: | Fri, 13 Jan 2006 08:48:13 -0600 |
User-agent: | Mozilla Thunderbird 1.0.6 (X11/20050715) |
Mark Wielaard wrote:
Maybe we can again special case that security check by doing a this.getClass().getClassLoader() == null? Hmmm, no, that doesn't work since getClassLoader() will trigger a security check. Nasty...
That's what VMStackWalker.getClassLoader() is for... you could use it. -Archie __________________________________________________________________________ Archie Cobbs * CTO, Awarix * http://www.awarix.com
[Prev in Thread] | Current Thread | [Next in Thread] |