United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6536118 RFE: keep only one for multi versions & obsolete all other npjava*.dll to save bytes
JDK-6536118 : RFE: keep only one for multi versions & obsolete all other npjava*.dll to save bytes

Details
Type:
Enhancement
Submit Date:
2007-03-20
Status:
Closed
Updated Date:
2010-09-17
Project Name:
JDK
Resolved Date:
2008-02-21
Component:
deploy
OS:
windows
Sub-Component:
plugin
CPU:
x86,generic
Priority:
P2
Resolution:
Fixed
Affected Versions:
6u10,7
Fixed Versions:
6u10 (b10)

Related Reports
Backport:
Duplicate:

Sub Tasks

Description
The npjava*.dll when placed in location that Gecko can discover at runtime, plays 2 purposes:
1) rc file specifies the mimetypes (from current most version to the last supported version in the chain) to that the browser would know the plugin is of the right kind to process and display the content with. 
2) hold and build entry points to plugin DLLs for the func table used by mozilla navigator.

However, we do not need multiple npjava*.dll. Only one that enlists all supported mimetypes will do the job.

                                    

Comments
EVALUATION

Fix is targeted to 6u4 b1. Only one npjpi.dll will be used to replace npjpi<version>.dll and all npjava*.dll.
                                     
2007-07-02
EVALUATION

Per suggestion, since this fix involves removal/replacement of several plugin dlls, it may be safer to putback first to 7.0 and also to allow time to seek CCC approval.

Retarget to 7.0
                                     
2007-07-17
SUGGESTED FIX

http://sa.sfbay.sun.com/projects/deployment_data/6u10/6536118.0
                                     
2007-12-14
EVALUATION

This fix is based on an earlier one by ###@###.###. The
basic idea is to fold all of the MIME types previously exposed by the
npjava* DLLs into e.g. npjpi160_10.dll with no other changes. This set
of changes trivially obviates the need for the npjava DLLs. It should
significantly reduce the size of the Java Kernel core bundle.

Note that the original reason for these DLLs was to work around a
limitation on the length of the MIMEType resource in Windows 98.
Since Windows 98 is no longer a supported platform for Java SE 6,
making this change has no unwanted side-effects.

These changes have been tested by building the offline installer,
installing it on a machine that had various browser versions already
installed, and running the Java Plug-In code samples from
http://java.sun.com/products/plugin/ (all of the applet, 1.5.0, and
1.4.2 versions). The following configurations were tested:

Current Java Plug-In (with SSV enabled):
 - Internet Explorer 7
 - Mozilla 1.7.13
 - Firefox 2.0.0.11
 - Firefox 3.0b2pre

New Java Plug-In:
 - Internet Explorer 7
 - Firefox 3.0b2pre
                                     
2007-12-14



Hardware and Software, Engineered to Work Together