[jboss-jira] [JBoss JIRA] Updated: (JBAOP-405) IllegalAccessException when accessing a private field through reflection after call to Field.SetAccessable()

Jason Hill (JIRA) jira-events at lists.jboss.org
Wed May 23 14:51:08 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBAOP-405?page=all ]

Jason Hill updated JBAOP-405:
-----------------------------

    Attachment: JBAOP-405.patch

> IllegalAccessException when accessing a private field through reflection after call to Field.SetAccessable()
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: JBAOP-405
>                 URL: http://jira.jboss.com/jira/browse/JBAOP-405
>             Project: JBoss AOP
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>         Environment: AOP Standalone
>            Reporter: Jason Hill
>         Attachments: JBAOP-405.patch
>
>
> When a call to java.lang.reflect.Field.set() is intercepted by org.jboss.aop.reflection.ReflectionAspect, it invokes the original interceptor chain for the field instead of allowing the set call to run.  Since the Field.set() function is never invoked, any previous calls to Field.setAccessable() have no affect.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list