United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6876736 OpenJDK Linux bundle puts unrenamed rhino.jar in jre/lib
JDK-6876736 : OpenJDK Linux bundle puts unrenamed rhino.jar in jre/lib

Details
Type:
Bug
Submit Date:
2009-08-27
Status:
Closed
Updated Date:
2010-05-11
Project Name:
JDK
Resolved Date:
2009-10-19
Component:
infrastructure
OS:
generic
Sub-Component:
build
CPU:
generic
Priority:
P3
Resolution:
Won't Fix
Affected Versions:
OpenJDK6
Fixed Versions:

Related Reports

Sub Tasks

Description
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.

                                    

Comments
EVALUATION

The rhino sources are not part of OpenJDK, it is up to the distros to add it.

I think this issue belongs to the Linux distros, it is not a formal part of OpenJDK from Sun.

Sorry.
                                     
2009-10-19



Hardware and Software, Engineered to Work Together