Uploaded image for project: 'OpenWebBeans'
  1. OpenWebBeans
  2. OWB-828

broken proxies in case of bridge methods

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.2.0
    • 1.2.0
    • None

    Description

      it looks like a concurrency issue with interceptor-proxies since it doesn't happen in all cases.

      normal ( /working):
      LifecycleInterceptorInvocationContext#proceed L95

      //reflection calls

      MyReqScopedBean#postConstruct

      MyAppScopedBean$OwbNormalScopeProxy0#myMethod
      MyAppScopedBean$OwbInterceptProxy0#myMethod
      MyAppScopedBean#myMethod
      [injection points ok]

      not working:
      LifecycleInterceptorInvocationContext#proceed L95

      //reflection calls

      MyReqScopedBean#postConstruct

      MyAppScopedBean$OwbNormalScopeProxy0#myMethod
      MyAppScopedBean$OwbInterceptProxy0#myMethod
      MyAppScopedBean$OwbInterceptProxy0#myMethod
      [injection points are null]

      there is only one instance of $$OwbInterceptProxy0 for the bean in question, but the final method call gets executed by the proxy itself instead of its proxied instance.

      Attachments

        1. OWB-828.patch
          5 kB
          Arne Limburg
        2. OWB-828_2.patch
          1 kB
          Gerhard Petracek

        Issue Links

          Activity

            People

              gpetracek Gerhard Petracek
              gpetracek Gerhard Petracek
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: