United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 7163304 DT installLatestJRE does not work on Firefox/Chrome with old dt plugin dll (7u1 or before)
7163304 : DT installLatestJRE does not work on Firefox/Chrome with old dt plugin dll (7u1 or before)

Details
Type:
Bug
Submit Date:
2012-04-20
Status:
Resolved
Updated Date:
2013-04-20
Project Name:
JDK
Resolved Date:
2012-05-02
Component:
deploy
OS:
windows_xp,windows
Sub-Component:
deployment_toolkit
CPU:
x86
Priority:
P2
Resolution:
Fixed
Affected Versions:
6u31,7u2
Fixed Versions:
8

Related Reports
Backport:
Duplicate:
Relates:

Sub Tasks

Description
DT installLatestJRE does not work on Firefox/Chrome with old dt plugin dll (7u1 or before).  It will simply return false and do nothing.

                                    

Comments
SUGGESTED FIX

http://closedjdk.us.oracle.com/jdk8/deploy/deploy/rev/9d8776207321
                                     
2012-05-01
EVALUATION

1.  add function to detect if callback is supported by the dt plugin dll.  only call into one arg installLatestJRE if callback is supported.

2.  add fix to replace java.sun.com url with new url (see 7162523 and 7162628)

3.  disable auto-install for IE + 6uX case, because there is a bug now where it's possible to hang.

4.  same fix in (1) need to apply for installJRE also


testcase: http://javaweb.us.oracle.com/~tvng/toolkit/installLatestJRE.html
(try with 6uX and 7uX dt dll)
                                     
2012-04-24
EVALUATION

this is because in current deployJava.js:

   installLatestJRE: function(installCallback) {
        if (this.isPluginInstalled()) {
            if (this.getPlugin().installLatestJRE(installCallback)) {
                    ...

In old 6u npdeployjava1 implementation, installLatestJRE checks for zero arg, and return false if it's not zero arg.   That's why we see the problem.
                                     
2012-04-20



Hardware and Software, Engineered to Work Together