hivemind-dev mailing list archives

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


Tim Eck updated HIVEMIND-207:

    Attachment: patch.txt

A patch with the suggested fix

> ClassFactoryClassLoader conceals loader resources
> -------------------------------------------------
>                 Key: HIVEMIND-207
>                 URL:
>             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.

View raw message