commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Curdt <tcu...@apache.org>
Subject Re: resource names vs. file names (was: [jci][fyi] JSR 199: Sun's JCI?)
Date Mon, 22 Aug 2005 22:35:50 GMT

Sorry, for the late feedback.

>> These are converting between class names
>> and resource names! Which is fine!
>>
>
> Ah, ok. I should not talk that loud before looking exactly ;-) I  
> had again a
> look into the sources. One naming that might give wrong impression  
> is the
> parameter name of the methods in ResourceReader: "final String  
> filename".

Sure ...things "evolve" ;)

> Another point is the FileResourceStore. The patch I sent in to get  
> "rest of Java
> world"-filenames was a step in the wrong direction. The stores  
> should store the
> resources by their resource name, not the class name. This would  
> also solve the
> inconsistency for non-to-be-compiled resources I mentioned in the bug
> description. This needs some adaptions in certain places
> (ResourceStoreClassLoader, compilers), but the handling would be  
> consistent
> afterwards.
>
> WDYT?

Yes, makes sense.
TBH I wanted to look into it when
doing the matching (see TODO)

cheers
--
Torsten


Mime
View raw message