nashorn/test/script/basic/JDK-8019783.js.EXPECTED
author hannesw
Wed, 25 Jun 2014 14:36:24 +0200
changeset 25243 7a1edca6ce94
parent 18839 adc14dc1ca96
permissions -rw-r--r--
8048079: Persistent code store is broken after optimistic types merge Reviewed-by: sundar, jlaskey, attila
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
18839
adc14dc1ca96 8019783: typeof does not work properly for java methods and foreign objects
sundar
parents:
diff changeset
     1
typeof(java.lang.System.exit) =  function
adc14dc1ca96 8019783: typeof does not work properly for java methods and foreign objects
sundar
parents:
diff changeset
     2
typeof(java.lang.System['exit']) =  function
adc14dc1ca96 8019783: typeof does not work properly for java methods and foreign objects
sundar
parents:
diff changeset
     3
typeof(java.lang.System['exit(int)']) =  function
adc14dc1ca96 8019783: typeof does not work properly for java methods and foreign objects
sundar
parents:
diff changeset
     4
typeof(java.security.AccessController.doPrivileged) =  function
adc14dc1ca96 8019783: typeof does not work properly for java methods and foreign objects
sundar
parents:
diff changeset
     5
typeof(java.security.AccessController['doPrivileged']) =  function
adc14dc1ca96 8019783: typeof does not work properly for java methods and foreign objects
sundar
parents:
diff changeset
     6
typeof(global.Object) = function
adc14dc1ca96 8019783: typeof does not work properly for java methods and foreign objects
sundar
parents:
diff changeset
     7
typeof(new global.Object()) = object
adc14dc1ca96 8019783: typeof does not work properly for java methods and foreign objects
sundar
parents:
diff changeset
     8
typeof(engineGlobal.Object) = function
adc14dc1ca96 8019783: typeof does not work properly for java methods and foreign objects
sundar
parents:
diff changeset
     9
typeof(new engineGlobal.Object()) = object