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.