United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-8015842 Multi JREs: Unable to use the selected version to load an non-jnlp applet
JDK-8015842 : Multi JREs: Unable to use the selected version to load an non-jnlp applet

Details
Type:
Bug
Submit Date:
2013-06-03
Status:
Resolved
Updated Date:
2013-07-02
Project Name:
JDK
Resolved Date:
2013-06-17
Component:
deploy
OS:
windows
Sub-Component:
plugin
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
7u21,7u25
Fixed Versions:
7u40 (b30)

Related Reports
Backport:
Backport:
Backport:

Sub Tasks

Description
In the multi-jre environment, one can not load the applet using the selected version. 
This happens on different scenarios, with tested jres above and below the security baseline 


***Tested Configurations:
- x86 Win 7
- jre 7u25-b13, jre 7u21, jre 7u14
- FF 21, IE 9, GC 27

* Steps to reproduce:
A) Scenarios 1:  Both JREs are equal/greater the security baseline

1) Both JREs  are equal or above security baseline
- System has private jre 7u21 and public jre 7u25
- Select to use only  jre 7u21 from the control panel  (disable jre 7u25)
- Use any browser to load this applet: http://0-360.com

Expected behavior:  Applet loaded using jre 7u21
Actual behavior:  Applet loaded using jre 7u25

B) Scenario 2:  One JRE is below and one JRE is above security baseline

- System has private jre 7u14 and public jre 7u25
- Select to use only  jre 7u14 from the control panel  (disable jre 7u25)
- Use any browser to load this applet: http://0-360.com

Expected behavior:  Applet loaded using jre 7u14
Actual behavior:  Applet loaded using jre 7u25


C) Scenario 3: Both JREs are public and secure i.e 7u21 is set inside the  baseline.versions  

- Install 7u25
- Install jre 7u21
- Select to use only  jre 7u21 from the control panel  (disable jre 7u25)
- Use any browser to load this applet: http://0-360.com

Expected behavior:  Applet loaded using jre 7u21
Actual behavior:  Applet loaded using jre 7u25



                                    

Comments
Issue is not seen with jnlp apples or jnlp applications
                                     
2013-06-04
Disabling a jre from the JCP will not prevent it from being used initially from javaws or plugin.  The initial launch of either should always be with the latest version (actually, the jre from which plugin or javaws is launched)
However, the jre selection mechanism should allow relaunching with any version (or any secure version, depending on the security settings).  This seems (from the above cases) to be broken for non-jnlp applets, where if the "current" version satisfies the request version it will be used regardless of it's disabled state.
                                     
2013-06-04
this is probably caused by changes in JVMManger
                                     
2013-06-06
already pushed to 8 
http://closedjdk.us.oracle.com/jdk8/deploy/deploy/rev/5306b41326a1
                                     
2013-06-17



Hardware and Software, Engineered to Work Together