Bugs item #692157, was opened at 2003-02-24 02:53
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=692157&group_id=22866

Category: JBossMX
Group: v3.0 Rabbit Hole
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Laurent Wozniak (lwozniak)
Assigned to: Scott M Stark (starksm)
Summary: UnifiedClassLoader.getResources not working

Initial Comment:
Hello,
I've just moved from JBoss 2.4.x to 3.0.x (3.0.4)
and found the following bug:
UnifiedClassLoader.getResources() does not return all the
resources under a specific name.

UnifiedClassLoader.getResource() can return a value while
UnifiedClassLoader.getResources() is returning an empty
enumeration for the same resource.
====================
I looked in the source code and found that:
* UnifiedClassLoader inherit from URLClassLoader
* UnifiedClassLoader override getResource()
* UnifiedClassLoader does not override getResources()

java.lang.ClassLoader.getResources() is final but it calls
findResources() which is not.

UnifiedClassLoader.findResources() is simply not
implemented.
LoaderRepository does not implement this functionnality
either.
====================
I've implemented the missing methods, now it works fine
on my local workstation.
But I don't know what I'm supposed to do to give you
the modifications I made.

Cheers,
Laurent


----------------------------------------------------------------------

>Comment By: Scott M Stark (starksm)
Date: 2003-03-01 10:34

Message:
Logged In: YES 
user_id=175228

The equivalent functionality has been added to the 3.0  and
higher branches.

----------------------------------------------------------------------

Comment By: Laurent Wozniak (lwozniak)
Date: 2003-02-25 01:21

Message:
Logged In: YES 
user_id=719431

Here is the patch.
I've created it following the rules found at:
http://www.netbeans.org/devhome/community/contrib-patches.html


----------------------------------------------------------------------

Comment By: Juha Lindfors (juhalindfors)
Date: 2003-02-24 04:13

Message:
Logged In: YES 
user_id=175239

create a diff of your local modified version against the version 
in the CVS and attach it


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=692157&group_id=22866


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to