hivemind-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Eck (JIRA)" <hivemind-...@jakarta.apache.org>
Subject [jira] Updated: (HIVEMIND-207) ClassFactoryClassLoader conceals loader resources
Date Wed, 26 Sep 2007 00:41:51 GMT

     [ https://issues.apache.org/jira/browse/HIVEMIND-207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tim Eck updated HIVEMIND-207:
-----------------------------

    Attachment: patch.txt

A patch with the suggested fix

> 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
>         Attachments: patch.txt
>
>
> 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.


Mime
View raw message