Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1166133 - Bean proxy class has non-varargs method for original varargs method
Bean proxy class has non-varargs method for original varargs method
Status: VERIFIED
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: CDI/Weld (Show other bugs)
6.3.2
Unspecified Unspecified
unspecified Severity unspecified
: DR12
: EAP 6.4.0
Assigned To: Jozef Hartinger
Matous Jobanek
:
Depends On: 1165798
Blocks:
  Show dependency treegraph
 
Reported: 2014-11-20 07:24 EST by Mustafa Musaji
Modified: 2018-03-06 15:40 EST (History)
5 users (show)

See Also:
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: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
JBoss Issue Tracker WELD-1797 Major Resolved Backport WELD-1141 to 1.1.x - Bean proxy class has non-varargs method for original varargs method 2015-12-15 07:45 EST

  None (edit)
Description Mustafa Musaji 2014-11-20 07:24:19 EST
+++ 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 12:46:49 EST
Jozef Hartinger <jharting@redhat.com> updated the status of jira WELD-1797 to Resolved
Comment 2 Matous Jobanek 2014-12-03 04:03:34 EST
Verified in EAP 6.4.0.DR12

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