Uploaded image for project: 'JBoss Enterprise Spec APIs'
  1. JBoss Enterprise Spec APIs
  2. JBEE-161

BeanELResolver does not support methods that use varargs

    Details

      Description

      When passing BeanELResolver a method that uses varargs, BeanELResolver throws the following exception:

      java.lang.IllegalArgumentException: wrong number of arguments
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:497)
      	at javax.el.BeanELResolver.invokeMethod(BeanELResolver.java:834)
      	at javax.el.BeanELResolver.invoke(BeanELResolver.java:527)
      	at org.apache.el.parser.AstValue.getValue(AstValue.java:156)
      	at BeanELResolverTest.readExpressionValue(BeanELResolverTest.java:32)
      	at BeanELResolverTest.testMethodWithFixArgumentList(BeanELResolverTest.java:21)
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  smarlow Scott Marlow
                  Reporter:
                  iweiss Ingo Weiss
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: