ASM 4.0 is compatible with Java 5
Rémi Forax <[email protected]>
| Newsgroups | gmane.comp.java.objectweb.asm |
|---|---|
| Message-ID | <[email protected]> |
I should have sent this before but don't find the time. Last week, I've hacked ASM 4 to add generics and varargs in the API. The code is available in branch ASM_4_FUTURE_2 http://websvn.ow2.org/listing.php?repname=asm&path=%2Fbranches%2FASM_4_FUTURE_2%2F To avoid to bloat ASM jars with informations that are only needed at compile time, only the jar asm-debug-all-4.0.jar contains generics and varargs information. So if you want to compile your code with generics, you have to use asm-debug-all-4.0.jar when compiling. At runtime, you can use asm-4.0.jar, asm-tree-4.0.jar as usual. These jars are constructed by stripping the generics info from the classfiles. Package asm and asm-tree have been retrofitted to be bit to bit compatible. Other packages have been retrofitted with the addition of some bridge methods to ensure a better runtime type safety at the expense of the bytecode size. Rémi
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