ClassFactoryClassLoader conceals loader resources
-------------------------------------------------
Key: HIVEMIND-207
URL:
https://issues.apache.org/jira/browse/HIVEMIND-207 Project: HiveMind
Issue Type: Bug
Components: framework
Affects Versions: 1.1.1
Reporter: Tim Eck
Apologies up front if I'm being dense, or missed a FAQ someplace....
My example is in the context of tapestry 4, but the issue is in hivemind I believe. When a tapestry page gets enhanced and defined by the ClassFactoryClassLoader, one loses the ability to obtain classloader resources. For example, if you call getClass().getClassLoader().getResource(...), you will always get null back even for resources that are present in the web app classloader.
Unless I'm mistaken, the reason for this is that ClassFactoryClassLoader doesn't not override findResource() and delegate to it's internal list of loaders.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.