[jboss-jira] [JBoss JIRA] Created: (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 11:39:52 EDT 2007


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


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