nashorn/test/script/basic/JDK-8016618.js.EXPECTED
author hannesw
Fri, 03 Feb 2017 13:28:00 +0100
changeset 43555 1bb10bccf057
parent 24738 be2026c9717c
permissions -rw-r--r--
8173888: Test for JDK-8169481 causes stack overflows in parser tests Reviewed-by: jlaskey, sundar
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
18334
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
     1
x = 33
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
     2
func.x = 23
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
     3
func.x = hello
24738
be2026c9717c 8039746: Transform applies to calls wherever possible, for ScriptFunctions and JSObjects.
lagergren
parents: 18334
diff changeset
     4
func.x = 24
be2026c9717c 8039746: Transform applies to calls wherever possible, for ScriptFunctions and JSObjects.
lagergren
parents: 18334
diff changeset
     5
func.x = hello2
be2026c9717c 8039746: Transform applies to calls wherever possible, for ScriptFunctions and JSObjects.
lagergren
parents: 18334
diff changeset
     6
func.x = 25
be2026c9717c 8039746: Transform applies to calls wherever possible, for ScriptFunctions and JSObjects.
lagergren
parents: 18334
diff changeset
     7
func.x = hello3
18334
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
     8
global instanceof fObject? true
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
     9
x is wriable ? true
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
    10
x value = 33
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
    11
global's __proto__ [object Object]
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
    12
Object.keys on obj
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
    13
foo
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
    14
Object.getOwnProperties on obj
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
    15
foo
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
    16
bar
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
    17
forEach 334
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
    18
forEach 55
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
    19
forEach 65
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
    20
reduceRight cur value 65
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
    21
reduceRight cur value 55
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
    22
reduceRight cur value 334
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
    23
reduceRight 454
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
    24
reduce cur value 334
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
    25
reduce cur value 55
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
    26
reduce cur value 65
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
    27
reduce 454
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
    28
forEach
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
    29
334
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
    30
55
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
    31
65
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
    32
Array.isArray(array)? true
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
    33
TypeError: "bar" is not a writable property of [object Object]
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
    34
forEach on mirror
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
    35
334
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
    36
55
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
    37
65