[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Use of VMSecurityManager.getClassContext()
From: |
Andrew Haley |
Subject: |
RE: Use of VMSecurityManager.getClassContext() |
Date: |
Thu, 18 Mar 2004 11:08:18 +0000 |
Jeroen Frijters writes:
> Andrew Haley wrote:
> > David Holmes writes:
> > > static native Class getClassFromContext(int pos);
> >
> > This seems like a reasonable idea. In several cases we need to say
> > "who is our caller?" and some VM assistance is useful here.
>
> I'd like to have a special case getCallerClass. If you grep through the
> Classpath source, virtually all uses of getClassContext are interested
> in the immediate caller.
Seems reasonable.
Andrew.