openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #08591
[Bug 1052900] [NEW] package postint script deletes files belonging to tzdata-java
*** This bug is a duplicate of bug 1050404 ***
https://bugs.launchpad.net/bugs/1050404
Public bug reported:
The .postinst scripts of both openjdk-6-jre-lib and openjdk-7-jre-lib
delete files belonging to tzdata-java.
This leads to unexpected errors in Java applications. One such is
Eclipse.
Eclipse will fail to list installation history and report the exception:
java.lang.NoClassDefFoundError: Could not initialize class
com.ibm.icu.impl.JavaTimeZone
when trying to view Help > About Eclipse Platform > Installation Details
> Installation History
The postinst scripts are at fault:
grep -n 'jre/lib/zi' /var/lib/dpkg/info/open*.postinst
/var/lib/dpkg/info/openjdk-6-jre-lib.postinst:8: if [ ! -h /usr/lib/jvm/java-6-openjdk-i386/jre/lib/zi ] && [ -d /usr/lib/jvm/java-6-openjdk-i386/jre/lib/zi ]; then
/var/lib/dpkg/info/openjdk-6-jre-lib.postinst:9: rm -rf /usr/lib/jvm/java-6-openjdk-i386/jre/lib/zi
/var/lib/dpkg/info/openjdk-6-jre-lib.postinst:10: ln -s ../../../../../share/javazi /usr/lib/jvm/java-6-openjdk-i386/jre/lib/zi
/var/lib/dpkg/info/openjdk-7-jre-lib.postinst:8: if [ ! -h /usr/lib/jvm/java-7-openjdk-i386/jre/lib/zi ] && [ -d /usr/lib/jvm/java-7-openjdk-i386/jre/lib/zi ]; then
/var/lib/dpkg/info/openjdk-7-jre-lib.postinst:9: rm -rf /usr/lib/jvm/java-7-openjdk-i386/jre/lib/zi
/var/lib/dpkg/info/openjdk-7-jre-lib.postinst:10: ln -s ../../../../../share/javazi /usr/lib/jvm/java-7-openjdk-i386/jre/lib/zi
** Affects: openjdk
Importance: Unknown
Status: Unknown
** Affects: eclipse (Ubuntu)
Importance: Undecided
Status: New
** Affects: openjdk-6 (Ubuntu)
Importance: Undecided
Status: New
** Affects: openjdk-7 (Ubuntu)
Importance: Undecided
Status: New
** Affects: tzdata (Ubuntu)
Importance: Undecided
Status: New
** Also affects: openjdk-7 (Ubuntu)
Importance: Undecided
Status: New
** Also affects: eclipse (Ubuntu)
Importance: Undecided
Status: New
** Also affects: tzdata (Ubuntu)
Importance: Undecided
Status: New
** Bug watch added: Debian Bug tracker #600288
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=600288
** Also affects: zoneinfo via
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=600288
Importance: Unknown
Status: Unknown
** No longer affects: zoneinfo
** Also affects: openjdk via
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=600288
Importance: Unknown
Status: Unknown
** This bug has been marked a duplicate of bug 1050404
Causes several facilties of Eclipse to fail: Java class launch, Error Log.
--
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in Ubuntu.
https://bugs.launchpad.net/bugs/1052900
Title:
package postint script deletes files belonging to tzdata-java
Status in OpenJDK:
Unknown
Status in “eclipse” package in Ubuntu:
New
Status in “openjdk-6” package in Ubuntu:
New
Status in “openjdk-7” package in Ubuntu:
New
Status in “tzdata” package in Ubuntu:
New
Bug description:
The .postinst scripts of both openjdk-6-jre-lib and openjdk-7-jre-lib
delete files belonging to tzdata-java.
This leads to unexpected errors in Java applications. One such is
Eclipse.
Eclipse will fail to list installation history and report the
exception:
java.lang.NoClassDefFoundError: Could not initialize class
com.ibm.icu.impl.JavaTimeZone
when trying to view Help > About Eclipse Platform > Installation
Details > Installation History
The postinst scripts are at fault:
grep -n 'jre/lib/zi' /var/lib/dpkg/info/open*.postinst
/var/lib/dpkg/info/openjdk-6-jre-lib.postinst:8: if [ ! -h /usr/lib/jvm/java-6-openjdk-i386/jre/lib/zi ] && [ -d /usr/lib/jvm/java-6-openjdk-i386/jre/lib/zi ]; then
/var/lib/dpkg/info/openjdk-6-jre-lib.postinst:9: rm -rf /usr/lib/jvm/java-6-openjdk-i386/jre/lib/zi
/var/lib/dpkg/info/openjdk-6-jre-lib.postinst:10: ln -s ../../../../../share/javazi /usr/lib/jvm/java-6-openjdk-i386/jre/lib/zi
/var/lib/dpkg/info/openjdk-7-jre-lib.postinst:8: if [ ! -h /usr/lib/jvm/java-7-openjdk-i386/jre/lib/zi ] && [ -d /usr/lib/jvm/java-7-openjdk-i386/jre/lib/zi ]; then
/var/lib/dpkg/info/openjdk-7-jre-lib.postinst:9: rm -rf /usr/lib/jvm/java-7-openjdk-i386/jre/lib/zi
/var/lib/dpkg/info/openjdk-7-jre-lib.postinst:10: ln -s ../../../../../share/javazi /usr/lib/jvm/java-7-openjdk-i386/jre/lib/zi
To manage notifications about this bug go to:
https://bugs.launchpad.net/openjdk/+bug/1052900/+subscriptions
Follow ups
References