Le 04/06/2013 15:45, Phil Steitz a écrit :

> Such a tool would be useful if it could automatically generate
> taggable sources.  This is what the comment markers and ant filter
> tasks in the current setup do.

I don't think a tool based on bytecode manipulation could produce the
corresponding sources. The idea is to build the main jar with the latest
JDK, and then strip or rewrite the methods from the .class files and
generate new jars for the previous JDKs. Having the exact -sources or
-javadoc artifacts that match the downgraded variants is not that
important, they could be copied as is from the main artifact. It doesn't
matter if they contain more methods than what is actually in the jar.

Emmanuel Bourg


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to