8019947: inherited property invalidation does not work with two globals in same context
Reviewed-by: jlaskey, lagergren, hannesw, attila
typeof(java.lang.System.exit) = function
typeof(java.lang.System['exit']) = function
typeof(java.lang.System['exit(int)']) = function
typeof(java.security.AccessController.doPrivileged) = function
typeof(java.security.AccessController['doPrivileged']) = function
typeof(global.Object) = function
typeof(new global.Object()) = object
typeof(engineGlobal.Object) = function
typeof(new engineGlobal.Object()) = object