Bug 1166133

Summary: Bean proxy class has non-varargs method for original varargs method
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Mustafa Musaji <mmusaji>
Component: CDI/WeldAssignee: Jozef Hartinger <jharting>
Status: CLOSED CURRENTRELEASE QA Contact: Matous Jobanek <mjobanek>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.3.2CC: jharting, kkhan, maschmid, sdouglas
Target Milestone: DR12   
Target Release: EAP 6.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
In previous versions of EAP, varargs methods were misrepresented in bean proxies as non-varargs methods with an array argument. This caused problems in frameworks which depend on reflection. The issue was resolved by adding the missing vararg flag in bytecode of the proxied method. As a result, vararg methods are now represented correctly in bean proxies.
Story Points: ---
Clone Of: 1166124 Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1165798    
Bug Blocks:    

Description Mustafa Musaji 2014-11-20 12:24:19 UTC
+++ This bug was initially created as a clone of Bug #1166124 +++

Description of problem:

https://issues.jboss.org/browse/WELD-1797

Weld Proxy don't work for VarArgs methods when the bean is RequestScoped and the weld proxy don't recognize the varargs functions any more as varargs.

Version-Release number of selected component (if applicable):


How reproducible:

Every time

Steps to Reproduce:
1. See WELD-1141 (original issue) for reproducer

Actual results:
@RequestScoped bean is not recognised as having varargs method

Expected results:
@RequestScoped bean should be recognised as having varargs method

Additional info:

--- Additional comment from Mustafa Musaji on 2014-11-20 07:14:35 EST ---

Comment 1 JBoss JIRA Server 2014-11-21 17:46:49 UTC
Jozef Hartinger <jharting> updated the status of jira WELD-1797 to Resolved

Comment 2 Matous Jobanek 2014-12-03 09:03:34 UTC
Verified in EAP 6.4.0.DR12