Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6821197
Votes 7
Synopsis deployJava.isPlugin2 returns true when 1.6.0_10+ is not installed on client
Category java_deployment:deployment_toolkit
Reported Against
Release Fixed
State 11-Closed, Not Reproducible, bug
Priority: 3-Medium
Related Bugs
Submit Date 24-MAR-2009
Description
FULL PRODUCT VERSION :
1.6.0_10

ADDITIONAL OS VERSION INFORMATION :
 customer  Windows XP [Version 5.1.2600]

A DESCRIPTION OF THE PROBLEM :
deployment tools's isPlugin2() function returns incorrect value.  It can return 'true' even is a new plugin (1.6.0_10) is not installed.

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1.  Install JRE 1.6.0_10 on the client.

2.  Visit html page (see source code area).  Message box reports that plugin2 is installed.  That is correct.

2.  Uninstall jRE 1.6.0_10 from the client.  Note that the deployment toolkit does not get uninstalled - it can still be see in the browser's add-ins.

3.  Visit the html page again.  This time, the message box tells you plugin2 is present even when it is not.


EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
deployJava.isPlugin2() should return false if 1.6.0_10+ is not installed on the client.
ACTUAL -
deployJava.isPlugin2() returns true if 1.6.0_10+ has *ever* been installed on the client, even if it isn't currently installed.  This may actually be a result of the deployment toolkit remaining installed even after 1.6.0_10+ is removed.

REPRODUCIBILITY :
This bug can be reproduced always.

---------- BEGIN SOURCE ----------
<html>
<head>
<title>deployJava.isPlugin2() test</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>

<script type="text/javascript" src="https://www.java.com/js/deployJava.js">  </script>
<script>
      alert("Plugin2 installed: "   + deployJava.isPlugin2())
</script>

</body>
</html>

---------- END SOURCE ----------
Posted Date : 2009-03-24 07:03:29.0
Work Around
N/A
Evaluation
looking at the javascript, I believe this was fixed as a result of earlier fixes.
need to confirm. (not including safari question, that is unrelated )
Posted Date : 2009-06-23 15:59:50.0

closing - verified that this is now in the javascript
Posted Date : 2009-10-01 18:59:28.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang