Bug#617402: ia32: ia32 zi symlink causes incorrect caching in UnixFileSystem

Achiel van der Mandele achiel.van.der.mandele at mendix.com
Tue Mar 8 17:13:02 UTC 2011


Package: ia32-sun-java6-bin
Version: 6.22-1
Severity: important
File: ia32

The current ia32-java-6-sun-1.6.0.22 package has a symlink in
/usr/lib/jvm/ia32-java-6-sun-1.6.0.22/jre/lib to
.../../../java-6-sun-1.6.0.22/jre/lib/zi
This causes incorrect caching in UnixFileSystem, see
http://www.docjar.com/html/api/java/io/UnixFileSystem.java.html (lines 157-159
specifically state that symlinks will break)

Easy example to replicate this issue:
    new
File("/usr/lib/jvm/ia32-java-6-sun-1.6.0.22/jre/lib/resources.jar").getCanonicalFile();
    System.out.println(java.util.TimeZone.getTimeZone("GMT+0"));

which generates:
Exception in thread "main" java.lang.NullPointerException
        at java.util.TimeZone.parseCustomTimeZone(TimeZone.java:767)
        at java.util.TimeZone.getTimeZone(TimeZone.java:471)
        at java.util.TimeZone.getTimeZone(TimeZone.java:465)

Shouldn't the ia32 package have it's own zi directory?



-- System Information:
Debian Release: 6.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ia32-sun-java6-bin depends on:
ii  debconf [debconf-2.0]         1.5.36.1   Debian configuration management sy
ii  ia32-libs                     20110117   ia32 shared libraries for use on a
ii  libc6-i386                    2.11.2-10  Embedded GNU C Library: 32-bit sha
ii  sun-java6-jre                 6.22-1     Sun Java(TM) Runtime Environment (

Versions of packages ia32-sun-java6-bin recommends:
ii  ia32-libs-gtk                 20110117   GTK+ ia32 shared libraries
ii  lib32asound2                  1.0.23-2.1 shared library for ALSA applicatio

ia32-sun-java6-bin suggests no packages.

-- debconf information excluded





More information about the pkg-java-maintainers mailing list