First, version info:
$ /usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre/bin/java -fullversion
java full version "1.6.0_0-b14"
This version contains rhino.jar in jre/lib, which contains unrenamed rhino as-is:
0 12-03-08 18:03 META-INF/
197 12-03-08 18:03 META-INF/MANIFEST.MF
0 12-03-08 18:02 org/
0 12-03-08 18:02 org/mozilla/
0 12-03-08 18:02 org/mozilla/classfile/
0 12-03-08 18:03 org/mozilla/javascript/
0 12-03-08 18:02 org/mozilla/javascript/debug/
0 12-03-08 18:02 org/mozilla/javascript/jdk13/
0 12-03-08 18:02 org/mozilla/javascript/jdk15/
0 12-03-08 18:02 org/mozilla/javascript/optimizer/
... unlike Sun JREs, which puts a packaged renamed version of Rhino to avoid conflicts.
And the unrenamed class files in the boot classpath breaks builds of various software, including Hudson <https://hudson.dev.java.net/> and OpenOffice on OpenJDK.
Similar bug reports can be found in many places:
- http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=179
- https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/255149
- http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2008-August/002835.html
We renamed Rhino in JREs for good reasons, and OpenJDK should do the same.
|