Issue Details (XML | Word | Printable)

Key: GALAXY-56
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Andrew Perepelytsya
Reporter: Andrew Perepelytsya
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Galaxy

Use the right classloader for resource discovery

Created: 25/Jan/08 04:08 PM   Updated: 25/Jan/08 04:08 PM
Component/s: Core
Affects Version/s: 1.0-beta-1
Fix Version/s: None

Time Tracking:
Not Specified

Labels:
User impact: High


 Description  « Hide
Whenever getClass().getResource() , getClassLoader().getResource() and the like are used in galaxy code, they are guaranteed to fail in a multi-classloader environment for user resources. This hasn't been discovered yet only because there were not many embedding scenarios tried out.

The easiest and most robust solution is to pull ClassUtils from Mule's code and adapt it if needed, then replace all usages with it: http://dev.mulesource.com/docs/site/2.0.0-RC2-SNAPSHOT/xref/org/mule/util/ClassUtils.html

Dan, this could also be the reason why childDelegation tweak was required for surefire.



 All   Comments   Work Log   Change History   Transitions   FishEye      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.