nashorn/test/script/basic/JDK-8019783.js.EXPECTED
author jlaskey
Fri, 23 Aug 2013 12:20:19 -0300
changeset 19633 e1158153db51
parent 18839 adc14dc1ca96
permissions -rw-r--r--
8019987: String trimRight and trimLeft could be defined Reviewed-by: sundar Contributed-by: james.laskey@oracle.com
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