[seam-issues] [JBoss JIRA] Commented: (JBSEAM-2997) EL does not resolve varargs methods properly
Karel Vervaeke (JIRA)
jira-events at lists.jboss.org
Thu Oct 21 05:11:54 EDT 2010
[ https://jira.jboss.org/browse/JBSEAM-2997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12558394#action_12558394 ]
Karel Vervaeke commented on JBSEAM-2997:
----------------------------------------
#{component.setData(null)} results in a call to setData with an empty Object[]. I expected an Object[] with one (null) element.
> EL does not resolve varargs methods properly
> --------------------------------------------
>
> Key: JBSEAM-2997
> URL: https://jira.jboss.org/browse/JBSEAM-2997
> Project: Seam
> Issue Type: Bug
> Components: EL
> Affects Versions: 2.0.1.GA
> Reporter: Tobias Hill
>
> Seems EL does not resolve vararg methods properly.
> Examples:
> 1) #{component.setData()} does not find method setData(Object... items) on component-bean.
> 2) #{component.setData('foo')} actually does find method setData(Object... items) on component-bean.
> 3) #{component.setData('foo', bar)} where bar is not a String, does _not_ find method setData(Object... items) on component-bean.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list