Re: Re: Re: Re: generics in ASM
Ben Evans <[email protected]>
| Newsgroups | gmane.comp.java.objectweb.asm |
|---|---|
| Message-ID | <[email protected]> |
OK, I'll bite. Why would anyone care about pre-1.5 compatibility these days? Java 5 is EOL - it's dead, so why does it make sense to ship anything with support for older versions of Java than 5? Thanks, Ben -- Ben Evans GFFX Auto Trading Deutsche Bank, London Office: +44 (0)20 7541 3953 Rémi Forax <[email protected]> 21/07/2010 18:00 To [email protected] cc Subject [asm] Re: Re: Re: generics in ASM 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]> 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]> 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] 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 -- 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 --- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. Please refer to http://www.db.com/en/content/eu_disclosures.htm for additional EU corporate and regulatory disclosures.
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