Bug 1166133 - Bean proxy class has non-varargs method for original varargs method
Summary: Bean proxy class has non-varargs method for original varargs method
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: CDI/Weld
Version: 6.3.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: DR12
: EAP 6.4.0
Assignee: Jozef Hartinger
QA Contact: Matous Jobanek
URL:
Whiteboard:
Depends On: 1165798
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-20 12:24 UTC by Mustafa Musaji
Modified: 2019-08-19 12:41 UTC (History)
4 users (show)

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.
Clone Of: 1166124
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker WELD-1797 0 Major Resolved Backport WELD-1141 to 1.1.x - Bean proxy class has non-varargs method for original varargs method 2015-12-15 12:45:59 UTC

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


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