test/script/basic/JDK-8020324.js.EXPECTED

changeset 0
b1a7da25b547
child 1183
6ed91931b5a7
equal deleted inserted replaced
-1:000000000000 0:b1a7da25b547
1
2 ==== Two-way read-write instance field ====
3 obj1.publicInt = 13: 13
4 bean.publicInt: 13
5 bean.publicInt = 15: 15
6 obj1.publicInt: 15
7
8 ==== Read only public instance field ====
9 obj1.publicFinalInt: 42
10 obj1.publicFinalInt = 16: 16
11 obj1.publicFinalInt: 42
12 bean.publicFinalInt: 42
13
14 ==== Two-way read-write instance property ====
15 obj1.readWrite = 17: 17
16 bean.readWrite: 17
17 bean.readWrite = 18: 18
18 obj1.readWrite: 18
19 obj1.getReadWrite(): 18
20 obj1.setReadWrite(19): null
21 obj1.readWrite: 19
22 bean.readWrite: 19
23
24 ==== Read only instance property ====
25 obj1.readOnly: 123
26 obj1.readOnly = 20: 20
27 obj1.readOnly: 123
28 obj1.getReadOnly(): 123
29 bean.getReadOnly(): 123
30
31 ==== Write only instance property ====
32 obj1.writeOnly = 21: 21
33 obj1.writeOnly: undefined
34 bean.writeOnly: undefined
35 bean.peekWriteOnly(): 21
36
37 ==== Two-way read-write public static field ====
38 obj2.publicStaticInt = 22: 22
39 PropertyBind.publicStaticInt: 22
40 PropertyBind.publicStaticInt = 23: 23
41 obj2.publicStaticInt: 23
42
43 ==== Read only public static field ====
44 obj2.publicStaticFinalInt: 2112
45 obj2.publicStaticFinalInt = 24: 24
46 obj2.publicStaticFinalInt: 2112
47 PropertyBind.publicStaticFinalInt: 2112
48
49 ==== Two-way read-write static property ====
50 obj2.staticReadWrite = 25: 25
51 PropertyBind.staticReadWrite: 25
52 PropertyBind.staticReadWrite = 26: 26
53 obj2.staticReadWrite: 26
54 obj2.getStaticReadWrite(): 26
55 obj2.setStaticReadWrite(27): null
56 obj2.staticReadWrite: 27
57 PropertyBind.staticReadWrite: 27
58
59 ==== Read only static property ====
60 obj2.staticReadOnly: 1230
61 obj2.staticReadOnly = 28: 28
62 obj2.staticReadOnly: 1230
63 obj2.getStaticReadOnly(): 1230
64 PropertyBind.getStaticReadOnly(): 1230
65
66 ==== Write only static property ====
67 obj2.staticWriteOnly = 29: 29
68 obj2.staticWriteOnly: undefined
69 PropertyBind.staticWriteOnly: undefined
70 PropertyBind.peekStaticWriteOnly(): 29
71
72 ==== Sanity check to ensure property values remained what they were ====
73 obj1.publicInt: 15
74 bean.publicInt: 15
75 obj1.publicFinalInt: 42
76 bean.publicFinalInt: 42
77 obj1.readWrite: 19
78 bean.readWrite: 19
79 obj1.readOnly: 123
80 bean.readOnly: 123
81 bean.peekWriteOnly(): 21
82 obj2.publicStaticInt: 23
83 PropertyBind.publicStaticInt: 23
84 obj2.publicStaticFinalInt: 2112
85 PropertyBind.publicStaticFinalInt: 2112
86 obj2.staticReadWrite: 27
87 PropertyBind.staticReadWrite: 27
88 obj2.staticReadOnly: 1230
89 PropertyBind.staticReadOnly: 1230
90 PropertyBind.peekStaticWriteOnly(): 29

mercurial