[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-1706) EL fails reading from anonymous inner class

Norman Richards (JIRA) jira-events at lists.jboss.org
Sat Jul 21 19:54:47 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBSEAM-1706?page=all ]

Norman Richards closed JBSEAM-1706.
-----------------------------------

    Resolution: Done

Actually, after thinking about it, I decided to use setAccessible for public methods of anonymous classes.  I believe anonymous classes are the only instance where the user doesn't have the option  to make the class public but probably always wants it to be.   I thought this was clearer in the code than retrieving the Method object from the super class, although that method has the advantage of not needing a call to setAccessible.  

> EL fails reading from anonymous inner class
> -------------------------------------------
>
>                 Key: JBSEAM-1706
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1706
>             Project: JBoss Seam
>          Issue Type: Bug
>          Components: EL
>            Reporter: Norman Richards
>         Assigned To: Norman Richards
>             Fix For: 2.0.0.CR1
>
>
> Anonymous inner classes are not public, and Method objects retrieved from them are not usable even when a the method is declared as public on the superclass/interface.  JBoss EL should be updated to look for Method objects on the super class in these cases.  

-- 
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 seam-issues mailing list