Bug 1292891 - [GSS](6.4.z) WFLY-5882 - BeanELResolver does not support methods that use varargs
Summary: [GSS](6.4.z) WFLY-5882 - BeanELResolver does not support methods that use var...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: EE
Version: 6.4.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: CR1
: EAP 6.4.8
Assignee: Dmitrii Tikhomirov
QA Contact: Peter Mackay
URL:
Whiteboard:
Depends On:
Blocks: eap648-payload 1319807
TreeView+ depends on / blocked
 
Reported: 2015-12-18 16:21 UTC by Ingo Weiss
Modified: 2019-10-10 10:44 UTC (History)
11 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-01-17 12:35:53 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Reproducer (7.40 KB, application/zip)
2015-12-18 16:21 UTC, Ingo Weiss
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker WFLY-5882 0 Major Closed BeanELResolver does not support methods that use varargs 2016-06-14 23:54:05 UTC

Description Ingo Weiss 2015-12-18 16:21:11 UTC
Created attachment 1107219 [details]
Reproducer

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)

Steps to reproduce:

1. Unzip reproducer
2. Run mvn test

Comment 6 Mike McCune 2016-03-28 22:32:18 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 9 Peter Mackay 2016-05-05 12:00:31 UTC
Verified with EAP 6.4.8.CP.CR2

Comment 10 Petr Penicka 2017-01-17 12:35:53 UTC
Retroactively bulk-closing issues from released EAP 6.4 cumulative patches.


Note You need to log in before you can comment on or make changes to this bug.