BundleFileWrapper does not wraps the invocation to getResourceURL [message #1626991] |
Sat, 21 February 2015 03:43  |
Eclipse User |
|
|
|
Hi,
I would like to provide my own BundleFileWrapperFactoryHook in order to wrap the BundleFile. Unfortunately calls to getResourceURL are always delegated to the BundleFile implementation.
Is it intentional that BundleFileWrapper does not wraps the getResourceURL?
The stack is the following:
BundleFileWrapperChain(BundleFile).getResourceURL(String, Module, int) line: 129
ClasspathManager.findResourceImpl(String, BundleFile, int) line: 420
ClasspathManager.findLocalResources(String) line: 397
EquinoxClassLoader(ModuleClassLoader).findLocalResources(String) line: 320
BundleLoader.findLocalResources(String) line: 797
BundleLoader.findResources(String) line: 658
EquinoxClassLoader(ModuleClassLoader).getResources(String) line: 230
I can see that the wrapped in BundleFileWrapperChain is the one provided by me but when getResourceURL is invoked the implementation provided by BundleFile is returned.
Equinox version is Luna.
Thanks and Regards,
Violeta
[Updated on: Sat, 21 February 2015 03:54] by Moderator
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04049 seconds