nashorn/test/script/basic/JDK-8019783.js.EXPECTED
author sundar
Wed, 16 Dec 2015 16:42:03 +0530
changeset 34735 0f41d334aa24
parent 18839 adc14dc1ca96
permissions -rw-r--r--
8145486: jjs should support documentation key shortcut in interactive mode Reviewed-by: mhaupt, 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