-
Bug
-
Resolution: Done
-
Major
-
3.1.1.Final
-
None
While creating intercepted subclass, we should skip methods that have parameters which are private/package private classes from different packages.
The subclass can easily reside in different package then the parameter class which will result in IllegalAccessError upon invocation.
We could leverage ProxiedMethodFilter and add a check not to add methods with offending param types. While at it, we should also log a warning.
I've created a reproduce which cam be found here - https://github.com/manovotn/core/tree/weld2583
- is incorporated by
-
JBEAP-16974 [GSS](7.2.z) WELD-2583 - Intercepted subclass should skip methods that have private/package private method params from different packages
- Closed