Jeroen Frijters wrote:
> > Before I go and implement this, does this sound correct to everyone?
> 
> I think we desperately need a VMClassLoader.getCallerClassLoader()
> method. That way we can simply modify the various load/loadLibrary
> methods to call that. It's also much more efficient to implement and can
> be interacts better with method inlining.

But what the semantics of this method? I.e., define the "caller".

For example, would it return the same thing for both of these call traces?

  Foo.method -> Runtime.loadLibrary()
  Foo.method -> System.loadLibrary() -> Runtime.loadLibrary()

-Archie

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com


_______________________________________________
Classpath mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/classpath

Reply via email to