rzo1 opened a new pull request, #140:
URL: https://github.com/apache/openwebbeans/pull/140

   NormalScopeProxyFactory re-declares the JVM bridge methods of the proxied 
class but masked the method modifiers with PROTECTED | PUBLIC | VARARGS, 
dropping the ACC_BRIDGE flag. The proxy then exposed two regular methods with 
the same name and assignable parameter types, which breaks overload resolution 
in EL implementations (jakarta.el / Tomcat's ReflectionUtil tie-break on 
Method#isBridge()) with 'Unable to find unambiguous method'.
   
   Keep ACC_BRIDGE and ACC_SYNTHETIC in both generation paths 
(delegateNonInterceptedMethods for public methods, generateDelegationMethod for 
protected ones). Introduces MODIFIER_BRIDGE / MODIFIER_SYNTHETIC constants next 
to the existing MODIFIER_VARARGS as java.lang.reflect.Modifier does not expose 
them.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to