Bug#845606: The Bytecode Should Not Be Targeting Java 1.2

Emmanuel Bourg emmanuel.bourg at gmail.com
Wed Jan 18 08:47:52 UTC 2017


On Mon, 5 Dec 2016 05:44:46 -0800 tony mancill <tmancill at debian.org> wrote:

> I do note that the JAR files produced by
> the "unshrunk" package are much larger (~4x) than what is being
> distributed by Maven Central.
> 
> I'll have a look - there could be another cause.

I noticed that too, the jar files contain the .java sources and other
stuff not found in the jar files available on Maven Central. This
happens because the build was patched to not use bnd to create the jar
files [1], the <jar> task used instead catches too many files.

I don't understand why bnd was disabled, the description of the patch
claims dependency issues but it's not clear what exactly. I tried
disabling the patch and it built fine. So I'll remove it in the next
upload, this will simplify the packaging.

Emmanuel Bourg

[1]
https://anonscm.debian.org/cgit/pkg-java/asm.git/tree/debian/patches/remove_bnd.diff?h=debian/5.2-1



More information about the pkg-java-maintainers mailing list