Method/field access checks
Per Bothner
per@bothner.com
Tue Nov 2 00:01:00 GMT 1999
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/
More information about the Java
mailing list