Re: Re: Re: generics in ASM

Rémi Forax <[email protected]>
Newsgroups gmane.comp.java.objectweb.asm
Message-ID <[email protected]>
In my opinion, ASM can be generified if all generics related attributes
are stripped when created asm.jar.
The main reason to avoid generics is to keep asm.jar as small as possible.

So asm-debug.jar will be 1.5 compatible and asm.jar will be 1.1 compatible.

Rémi

Le 21/07/2010 17:01, Joshua Warner a écrit :
> Eugene,
>
> If you do decide to generify ASM, I might be interested in 
> contributing to the conversion process - it would be a good way to 
> learn a little more about the internals of ASM.
>
> Regards,
> Joshua
>
> On Wed, Jul 21, 2010 at 8:38 AM, Eugene Kuleshov <[email protected] 
> <mailto:[email protected]>> wrote:
>
>     Joshua,
>
>      ASM never been generified. The main reason is to maintain
>     compatibility with Java 1.1.
>      Perhaps it is now time to review that. Eg. one could use
>     retrotranslator or retroweaver tools to run ASM on old JVMs.
>
>      regards,
>      Eugene
>
>
>     On Tue, Jul 20, 2010 at 5:04 PM, Joshua Warner
>     <[email protected] <mailto:[email protected]>> wrote:
>     > Hi,
>     >
>     > While reading through the documentation
>     > (http://download.forge.objectweb.org/asm/asm-guide.pdf), I noticed a
>     > discrepancy.  In that document, it seems to indicate that the
>     ListS in
>     > ClassNode are generic, e.g List<MethodNode> (see pages 83-84). 
>     When looking
>     > both the source code (SVN trunk) and the api documentation, I
>     see that this
>     > is not the case.
>     >
>     > Were these fields generic at the time the documentation was
>     written?  If so,
>     > why were they changed back?  If not, why not use generics?
>     >
>     > Regards,
>     > Joshua
>
>
>     --
>     You receive this message as a subscriber of the [email protected]
>     <mailto:[email protected]> mailing list.
>     To unsubscribe: mailto:[email protected]
>     <mailto:[email protected]>
>     For general help: mailto:[email protected]
>     <mailto:[email protected]>?subject=help
>     OW2 mailing lists service home page: http://www.ow2.org/wws
>
>
message-footer.txt (text/plain, 238 B)
-- 
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.