Service proxies currently unconditionally set TCCL to the target bundle classloader ( PAXCDI-114 ). However this is undesirable in some cases, e.g. I was trying to inject a javax.servlet.Filter OSGI service, this behaviour resets the TCCL for the complete filter/servlet chain - some of which might very well require the actual webapp classloader to be set.
Moritz Bechler created PAXCDI-229
Service proxies currently unconditionally set TCCL to the target bundle classloader ( PAXCDI-114 ). However this is undesirable in some cases, e.g. I was trying to inject a javax.servlet.Filter OSGI service, this behaviour resets the TCCL for the complete filter/servlet chain - some of which might very well require the actual webapp classloader to be set.
Votes: 0, Watches: 1