ASM 6 - support of OpenJDK specific attributes

Remi Forax <[email protected]> Tue, 27 Jun 2017 18:34:53 +0200 (CEST)
Newsgroups gmane.comp.java.objectweb.asm
Message-ID <[email protected]>
Hi all,
i've just pushed the last bits of ASM6, the support of OpenJDK specific attributes [1] so it's now possible to read/write the module info inside a jmod file without loosing information.
Among the 3 attributes, the most important is ModuleHashesAttribute which it used to sign (with SHA-256) a set of module as been part of the same JDK.
The two other attributes, ModuleTargetAttribute and ModuleResolutionAttribute respectively allow to specify the target platform (e.g. linux-x86) and allow to declare a module deprecated or in incubating mode. 

This support was initially part of the new ModuleVisitor added in ASM6 but given those attributes are not standard (may change from time to time) we have decided to support them as external attributes in the package common instead of directly in one visitor of the core.

cheers,
Rémi

[1] http://websvn.ow2.org/revision.php?repname=asm&path=%2Fbranches%2FASM_6_FUTURE%2F&isdir=1&


-- 
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