Bug#646921: Please only ship one JAR file

Florian Weimer fweimer at bfk.de
Tue Nov 8 08:48:09 UTC 2011

* Torsten Werner:

> On Fri, Oct 28, 2011 at 1:59 PM, Florian Weimer <fweimer at bfk.de> wrote:
>> Shipping multiple, different JAR files means that once you load multiple
>> ASM-using libraries, some of them are bound to use different JARs, and
>> the JVM will have to open all of them.  At best, this wastes resources,
>> at worse, compatibility problems result, depending on the order classes
>> are loaded in the JVM.  (Symlinks are fine, the JVM performs path
>> canonicalization.)
>> I don't think Debian needs to ship the subset JARs at all.
> upstream packages sometimes directly reference the individual jars.

I'm surprised that the Class-Path manifest attribute is used outside

> It would be too much work to maintain patches for all them.

The old solution with symlinks to the "all" JAR seemed a pretty
reasonable compromise.

Florian Weimer                <fweimer at bfk.de>
BFK edv-consulting GmbH       http://www.bfk.de/
Kriegsstraße 100              tel: +49-721-96201-1
D-76133 Karlsruhe             fax: +49-721-96201-99

More information about the pkg-java-maintainers mailing list