Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-16974

[GSS](7.2.z) WELD-2583 - Intercepted subclass should skip methods that have private/package private method params from different packages

XMLWordPrintable

      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.

              chaowan@redhat.com Chao Wang
              rhn-support-jbaesner Joerg Baesner
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: