Re: Why are some classes generic in the source code and documentation, but not in the published Jar files (Version 5.2)?
Remi Forax <[email protected]> Thu, 31 Aug 2017 11:10:54 +0200 (CEST)
| Newsgroups | gmane.comp.java.objectweb.asm |
|---|---|
| Message-ID | <[email protected]> |
Hi Jonas, ----- Mail original ----- > De: "Jonas Wielicki" <[email protected]> > À: "asm" <[email protected]> > Envoyé: Jeudi 31 Août 2017 09:47:38 > Objet: [asm] Why are some classes generic in the source code and documentation, but not in the published Jar files > (Version 5.2)? > Dear list, > > We are currently trying to use ASM in a research project. We found that some > of the classes (mostly in org.objectweb.asm.tree.analysis package) are > documented as being generic (and when downloading the source files, we find > that they are indeed declared as generic), but in the Jar files they are not > generic. What is the reason for that? > > Examples include: > > - org.objectweb.asm.tree.analysis.Frame > - org.objectweb.asm.tree.analysis.Interpreter > - org.objectweb.asm.tree.analysis.Analyser > > Are we too stupid to use the jarfiles correctly or find the correct jarfiles? > We obtained the jarfiles from [1]. No, ASM is still used on small devices at runtime so we provide one jar with generics info and jars without generics info because they are smaller in size. from the zip file [1], lib/all/asm-debug-all-5.2.jar is the jar that contains generics info (and debug info, etc), the other jars have their infos stripped. The idea is that for compiling, you can use lib/all/asm-debug-all-5.2.jar and at runtime uses one of a stripped jar (as you can see, the size lib/all/asm-all-5.2.jar, the full version with the info stripped, is more than 100k less than the full version with infos). > > > kind regards, > Jonas Wielicki regards, Rémi > > [1]: http://forge.ow2.org/project/download.php?group_id=23&file_id=21558 > [2]: http://forge.ow2.org/project/download.php?group_id=23&file_id=21557 > > > -- > 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