This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA\JVMTI] Implement GetAllThreads


Tom Tromey wrote:
Kyle> + ThreadGroup *parent = thr_grp->getParent ();

This will do a security manager check... do we really want that here?
(I really don't know...)
I'm not sure about this either. In any case, what I would propose is either access ThreadGroup.parent directly (since it is package private and therefore accessible), or to write an accessor (_Jv_GetThreadGroupParent) that could be located in such a way as to be unusable by user code but would not include the security check.

- Kyle


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]