Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Solved: Re: How does an ITD access a field in the target instance via reflection?

Answered my own question, thanks to a great blog entry:
http://blogs.sun.com/chengfang/entry/illegalaccessexception_is_not_a_securityexception

Basically, I had to call field.setAccessible(true).

Thanks, Cheng!

-matthew

-- 
View this message in context: http://www.nabble.com/How-does-an-ITD-access-a-field-in-the-target-instance-via-reflection--tp24803137p24814178.html
Sent from the AspectJ - users mailing list archive at Nabble.com.



Back to the top