Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
2.0.4
-
None
-
None
-
None
-
OSGi
Description
In most parts of the code we only use the ContextClassLoader to find Classes and Resources. However, in some parts we also use the ClassLoader of the current Class or of a specific Class (e.g. to use myfaces-api and/or myfaces-impl ClassLoader, see ApplicationImpl.getResourceBundle(), BeanValidator.postSetValidationGroups(), ResourceHandlerImpl.getBundle() or FactoryFinder for example).
IMO we should unify this code and maybe provide a custom ClassLoader that encapsulates three ClassLoaders (ContextClassLoader, myfaces-api and myfaces-impl). This most certainly would solve a lot of OSGi related problems.
WDYT?
Attachments
Attachments
Issue Links
- is related to
-
MYFACES-3044 Resource jsf.js not found when using the OSGi bundle
- Closed