Bug#504664: libmx4j-java: Invalid META-INF/services/ configuration files

Damien Raude-Morvan drazzib at drazzib.com
Wed Nov 5 23:37:09 UTC 2008


Package: libmx4j-java
Version: 3.0.2-4
Severity: normal
Tags: patch

Hi,

I've noticed that 2 files in META-INF/services/ of mx4j-tools.jar contains 
lines for classes not included in Debian's MX4J.

Some tools (for instance, Spring Framework) automaticaly try to load all 
classes defined in
    META-INF/services/javax.management.remote.JMXConnectorProvider
and
    META-INF/services/javax.management.remote.JMXConnectorServerProvider
by using Java SPI provider [1].

Please find my small patch to remove invalids lines from thoses files attached.

[1] 
http://java.sun.com/javase/6/docs/technotes/guides/jar/jar.html#Service%20Provider


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (600, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.25-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libmx4j-java depends on:
ii  default-jre [java2-runtime]  1.5-30      Standard Java or Java compatible 
R
ii  default-jre-headless [java2- 1.5-30      Standard Java or Java compatible 
R
ii  gij [java2-runtime-headless] 4:4.3.2-2   The GNU Java bytecode interpreter
ii  gij-4.3 [java2-runtime-headl 4.3.2-2     The GNU Java bytecode interpreter
ii  jamvm [java1-runtime]        1.5.1-3     virtual machine which conforms to 
ii  java-gcj-compat [java2-runti 1.0.78-2    Java runtime environment using 
GIJ
ii  java-gcj-compat-headless [ja 1.0.78-2    Java runtime environment using 
GIJ
ii  kaffe-pthreads [java1-runtim 2:1.1.8-5.2 A POSIX threads enabled version of
ii  libbcel-java                 5.2-3       Analyze, create, and manipulate 
(b
ii  liblog4j1.2-java             1.2.15-4    Logging library for java
ii  openjdk-6-jre [java2-runtime 6b12-1~exp1 OpenJDK Java runtime, using 
Hotspo
ii  openjdk-6-jre-headless [java 6b12-1~exp1 OpenJDK Java runtime, using 
Hotspo
ii  sablevm [java1-runtime]      1.13-1.4    Free implementation of Java 
Virtua

libmx4j-java recommends no packages.

Versions of packages libmx4j-java suggests:
ii  jython                        2.2.1-2    Python seamlessly integrated with 
ii  libgnumail-java               1.1.2-2    free implementation of the 
javamai
ii  libservlet2.4-java            5.0.30-8   Servlet 2.4 and JSP 2.0 Java 
class

-- no debconf information

-- 
Damien Raude-Morvan / www.drazzib.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mx4j-remove-invalids-providers.patch
Type: text/x-patch
Size: 1116 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20081106/00de123d/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20081106/00de123d/attachment.pgp 


More information about the pkg-java-maintainers mailing list