Proxies created with JavassistProxyFactory do not intercept private functions
-----------------------------------------------------------------------------
Key: OWB-251
URL: https://issues.apache.org/jira/browse/OWB-251
Project: OpenWebBeans
Issue Type: Bug
Components: Core
Affects Versions: M3
Reporter: Mark Struberg
Assignee: Mark Struberg
Priority: Blocker
Fix For: M4
Proxies created with JavassistProxyFactory do not intercept private functions.
Private functions don't show up in the the generated proxies getMethods() nor
in getDeclaredMethods().
This lead to problems like the one in OWB-246 and others. Basically no bean
invocation to a private method works currently if it's done through the proxies.
This is fortunately only the case if we invoke those functions internally:
* invoking observer methods
* invoking disposes methods
* invoking interceptor methods
Contrary to that, we should not allow e.g. accessing private functions via EL.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.