This is the mail archive of the java-discuss@sourceware.cygnus.com 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]

Re: Method/field access checks


Matt Welsh <mdw@cs.berkeley.edu> writes:

> Happily, I am currently using this feature to my advantage, but I am wondering
> if there are plans to correct it. If so, where would that code go? In verify.c?

Yes, in verify_jvm_instructions.  However, since I guess the access
checking code might be similar for OPCODE_invoke* as for
OPCODE_{get.put}{field,static}, we might want to put the logic
it in a subroutine.
-- 
	--Per Bothner
per@bothner.com   http://www.bothner.com/~per/

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