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

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: