Hi,

> On that topic, should I give up trying to emulate AccessibleObject?
> Nobody here seems to have a suggestion for how to defeat the
> IllegalAccessViolation exceptions.
>
> Thanks,
> Charles.

I think you have two options:

a)    modify the accessed class at load-time such that the field is either
public
    or has an additional access method (much like done with inner classes)

b)    use the SecurityManager to turn off that particular check.

Cheers
    Markus


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to