jakarta-bcel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Juozas Baliuka" <bali...@mwm.lt>
Subject Re: First Crack at Repository Problem
Date Fri, 19 Apr 2002 07:49:32 GMT

Hi,
I reviewed code, I think ClassLoaderRepository
 is very good idea, but I don't understand meaning of
org.apache.bcel.util.SyntheticRepository
It doe's the same as  new
lassLoaderRepository( ClassLoader.getSystemClassLoader() );
but uses not very good "ClassPath" idea .

>
> I've finished a first crack at the Repository
> problem, based on some of the replies.
>
> Basically, I created a new interface:
>   org.apache.bcel.util.Repository
>
> And two classes:
>   org.apache.bcel.util.SyntheticRepository
>   org.apache.bcel.util.ClassLoaderRepository
>
> (I'm open for suggestions on names.)
>
> Synthetic is the default repository, which uses
> the ClassPath class.  ClassLoaderRepository is
> what I've been looking for.
>
> The attached file also has the diff of the
> JavaClass file to give an idea of how the
> transformation works.
>
> Enjoy,
>
> DDP
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Tax Center - online filing with TurboTax
> http://taxes.yahoo.com/


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


> --
> To unsubscribe, e-mail:   <mailto:bcel-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:bcel-dev-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:bcel-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:bcel-dev-help@jakarta.apache.org>


Mime
View raw message