This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Permissions not checked in BC-ABI code
Tom Tromey writes:
> >>>>> "Andrew" == Andrew Haley <aph@redhat.com> writes:
>
> Andrew> We're not checking permissions correctly when linking BC-ABI method
> Andrew> calls. This allows access to private methods, etc.
>
> Ouch.
>
> It's well past time we had a vm-level test suite... :(
>
> Andrew> This is going to require some fairly extended testing to make sure it
> Andrew> doesn't break anything, which I'll do before I check it in.
>
> The patch looks reasonable to me. I suspect, unfortunately, that
> we're going to want to defer the IllegalAccessError here.
I'm not sure. Can you make me a testcase for that?
TVM,
Andrew.