nashorn/test/script/basic/JDK-8019783.js.EXPECTED
author sundar
Thu, 09 Jan 2014 19:23:34 +0530
changeset 22379 5181d08e3440
parent 18839 adc14dc1ca96
permissions -rw-r--r--
8031359: Invocable.getInterface() works incorrectly if interface has default methods Reviewed-by: attila, hannesw
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