← Back to team overview

openjdk team mailing list archive

Bug#506204: openjdk-6-jre-lib: Jar files contain META-INF twice

 

Package: openjdk-6-jre-lib
Version: 6b11-9
Severity: important

Hi,

The current OpenJDK available in Lenny breaks the current Scala package
because the JAR files (specifically
/usr/lib/jvm/java-6-openjdk/jre/lib/ext/dnsns.jar, maybe others) contain
the directory META-INF twice, so that Scala fails to run, as described
in Debian bug #505913. While this is partly the fault of Scala itself,
it would be still a good idea to fix the duplicate directory entry in
the JAR file, as other tools might have the same problem and there is no
reason why the JAR file should contain META-INF twice.

To see the problem, let unzip show the contents:
unzip -l /usr/lib/jvm/java-6-openjdk/jre/lib/ext/dnsns.jar
You see that the META-INF directory appears there twice.

I'm not sure about the priority, so feel free to downgrade to normal if
breaking the Scala package shouldn't be considered an important bug in
OpenJDK even if the reason by it breaks is just a duplicate directory
entry which can probably easily.

For the discussion of this problem, take a look in the Scala bugtracker,
<http://lampsvn.epfl.ch/trac/scala/ticket/1380>.

regards and thanks for free Java packages in Debian,
Marek

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages openjdk-6-jre-lib depends on:
ii  dpkg                          1.14.22    Debian package management system
ii  openjdk-6-jre-headless        6b11-9     OpenJDK Java runtime, using Hotspo

openjdk-6-jre-lib recommends no packages.

openjdk-6-jre-lib suggests no packages.

-- no debconf information