GitHub user nhtzr opened a pull request:

    https://github.com/apache/cxf/pull/253

    JAX-RS @Context fields throw NPE in OSGI hot deployed filters

    - Add logic to inject using already set ThreadLocal proxy whenever possible.
    - Update unit test, so getter and setter correspond to same field in 
Customer class.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/nhtzr/cxf 3.1.x-fixes

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cxf/pull/253.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #253
    
----
commit cb69a6e68902c3cc7582e0d5e3e812810d3a0d9d
Author: Ezequiel Rosas <[email protected]>
Date:   2017-03-31T16:47:22Z

    Fix: Injection fails when OSGI filter is hot deployed.
    Change: During setter injection, rely more on getter for referring to 
ThreadLocal

commit 301ad2f35f0f1f1b0e05f21d471e57fee206b93f
Author: Ezequiel Rosas <[email protected]>
Date:   2017-03-31T23:33:29Z

    Update unit test. setServletContext and getServletContext did not 
correspond to the same property

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to