United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-7083825 : revise the fix for 7074440

Details
Type:
Bug
Submit Date:
2011-08-26
Status:
Resolved
Updated Date:
2013-09-12
Project Name:
JDK
Resolved Date:
2011-09-06
Component:
deploy
OS:
windows_xp
Sub-Component:
plugin
CPU:
x86
Priority:
P3
Resolution:
Fixed
Affected Versions:
7-client
Fixed Versions:
7u2 (b04)

Related Reports
Backport:

Sub Tasks

Description
Current fix for 7074440 involves caching the dispid when CJavaDispatch::InvokeEx is called and then use the cached dispid later to setup the java name spaces.

Implementation is fragile because:
    a) There is no guarantee IE will always perform any calls back to CJavaDispatch after registration
         (and then we may do something wrong on first real PROPERTYPUT)
    b) There is no guarantee there will be just one call from IE after we register object
    c) First real use of CJavaObject may also be PROPERTYPUT and then we may mistakenly ignore it.

                                    

Comments



Hardware and Software, Engineered to Work Together