|
From: | Archie Cobbs |
Subject: | Re: [cp-patches] Native library class loader fixes |
Date: | Mon, 03 Jan 2005 07:43:19 -0600 |
User-agent: | Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041129 |
Jeroen Frijters wrote:
Thanks for this, this is a much needed fix. I'd like to see one change (you knew that was coming, right ;-)): I'd like the new methods getCallingClassLoader() and getCallingClass() to be in a public class gnu.classpath.VMStackWalker (or something like that), so that other packages (most notably java.lang.reflect) can also use these methods.
I'm happy to do that, but would making those methods public create some kind of security hole? Also, is use of getCallingClass() sufficient for the reflection code, or does it really need to "walk" the stack, and therefore need getClassContext() too, or some kind of new iterator method? If we figure out the details then I'll implement it. Thanks, -Archie __________________________________________________________________________ Archie Cobbs * CTO, Awarix * http://www.awarix.com
[Prev in Thread] | Current Thread | [Next in Thread] |