This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: Method/field access checks
- To: Matt Welsh <mdw at cs dot berkeley dot edu>
- Subject: Re: Method/field access checks
- From: Per Bothner <per at bothner dot com>
- Date: 02 Nov 1999 00:00:51 -0800
- Cc: java-discuss at sourceware dot cygnus dot com
- References: <199911020041.QAA29665@mnemosyne.CS.Berkeley.EDU>
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/