commit | 54bf6fa1538901d54a91399a51bb9e06e5913f8f | [log] [tgz] |
---|---|---|
author | Remy Suen <remysuen@ca.ibm.com> | Thu Jul 28 12:43:37 2011 -0400 |
committer | Remy Suen <remysuen@ca.ibm.com> | Thu Jul 28 12:43:37 2011 -0400 |
tree | 83318e6e151c83f5cadc2ab9f7dd5592a29461da | |
parent | e6b456745b8528cfb9aeba8a2ad1ed7f985a60b8 [diff] |
Bug 353248 [Compatibility] Disposable services created by the context may not get disposed The logic for determining whether a retrieved service had to be disposed when the service locator got disposed was incorrect. This was because the get(String) method was being invoked on the context instead of the getLocal(String) method. This meant that the context would recurse upwards to search for a service when it should have only been looking at its own local cache.