Commit acc8f22
fix(jsii-dotnet-runtime): Proxy parameters should not throw exception. (#317)
Proxy types when passed as parameters were throwing an exception in the dotnet runtime. Removing the check and throw did not have an
adverse effect on the runtime, so it was removed.
Compliance test added that passes an interface as a parameter.
Fixes #3161 parent a55fe31 commit acc8f22
File tree
10 files changed
+390
-106
lines changed- packages
- jsii-calc
- lib
- test
- jsii-dotnet-runtime-test/test/Amazon.JSII.Runtime.IntegrationTests
- jsii-dotnet-runtime/src/Amazon.JSII.Runtime/Services/Converters
- jsii-java-runtime-test/project/src/test/java/software/amazon/jsii/testing
- jsii-pacmak/test/expected.jsii-calc
- dotnet/Amazon.JSII.Tests.CalculatorPackageId
- Amazon/JSII/Tests/CalculatorNamespace
- java/src/main/java/software/amazon/jsii/tests/calculator
- sphinx
10 files changed
+390
-106
lines changedLarge diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1481 | 1481 | | |
1482 | 1482 | | |
1483 | 1483 | | |
| 1484 | + | |
| 1485 | + | |
| 1486 | + | |
| 1487 | + | |
| 1488 | + | |
| 1489 | + | |
| 1490 | + | |
| 1491 | + | |
| 1492 | + | |
| 1493 | + | |
| 1494 | + | |
| 1495 | + | |
| 1496 | + | |
| 1497 | + | |
| 1498 | + | |
| 1499 | + | |
| 1500 | + | |
| 1501 | + | |
| 1502 | + | |
| 1503 | + | |
| 1504 | + | |
| 1505 | + | |
| 1506 | + | |
| 1507 | + | |
| 1508 | + | |
1484 | 1509 | | |
1485 | 1510 | | |
1486 | 1511 | | |
| |||
3646 | 3671 | | |
3647 | 3672 | | |
3648 | 3673 | | |
3649 | | - | |
| 3674 | + | |
3650 | 3675 | | |
Lines changed: 13 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
708 | 708 | | |
709 | 709 | | |
710 | 710 | | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
711 | 723 | | |
712 | 724 | | |
713 | 725 | | |
| |||
842 | 854 | | |
843 | 855 | | |
844 | 856 | | |
845 | | - | |
| 857 | + | |
846 | 858 | | |
847 | 859 | | |
848 | 860 | | |
| |||
Lines changed: 28 additions & 32 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
| 1 | + | |
5 | 2 | | |
6 | 3 | | |
7 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
| 37 | + | |
48 | 38 | | |
49 | 39 | | |
50 | 40 | | |
| |||
56 | 46 | | |
57 | 47 | | |
58 | 48 | | |
59 | | - | |
| 49 | + | |
| 50 | + | |
60 | 51 | | |
61 | 52 | | |
62 | 53 | | |
63 | 54 | | |
64 | 55 | | |
65 | 56 | | |
66 | 57 | | |
67 | | - | |
| 58 | + | |
68 | 59 | | |
69 | 60 | | |
70 | 61 | | |
| |||
121 | 112 | | |
122 | 113 | | |
123 | 114 | | |
124 | | - | |
| 115 | + | |
125 | 116 | | |
126 | 117 | | |
127 | 118 | | |
| |||
175 | 166 | | |
176 | 167 | | |
177 | 168 | | |
178 | | - | |
| 169 | + | |
179 | 170 | | |
180 | 171 | | |
181 | 172 | | |
182 | 173 | | |
183 | 174 | | |
184 | 175 | | |
185 | 176 | | |
186 | | - | |
| 177 | + | |
| 178 | + | |
187 | 179 | | |
188 | 180 | | |
189 | 181 | | |
| |||
197 | 189 | | |
198 | 190 | | |
199 | 191 | | |
200 | | - | |
| 192 | + | |
201 | 193 | | |
202 | 194 | | |
203 | 195 | | |
| |||
220 | 212 | | |
221 | 213 | | |
222 | 214 | | |
223 | | - | |
| 215 | + | |
| 216 | + | |
224 | 217 | | |
225 | 218 | | |
226 | 219 | | |
227 | 220 | | |
228 | 221 | | |
229 | 222 | | |
230 | 223 | | |
231 | | - | |
232 | | - | |
| 224 | + | |
| 225 | + | |
233 | 226 | | |
234 | 227 | | |
235 | | - | |
| 228 | + | |
| 229 | + | |
236 | 230 | | |
237 | 231 | | |
238 | 232 | | |
239 | 233 | | |
240 | 234 | | |
241 | | - | |
| 235 | + | |
242 | 236 | | |
243 | 237 | | |
244 | 238 | | |
245 | 239 | | |
246 | 240 | | |
247 | | - | |
| 241 | + | |
248 | 242 | | |
249 | 243 | | |
250 | 244 | | |
251 | 245 | | |
252 | 246 | | |
253 | 247 | | |
254 | | - | |
| 248 | + | |
| 249 | + | |
255 | 250 | | |
256 | 251 | | |
257 | 252 | | |
| 253 | + | |
258 | 254 | | |
259 | 255 | | |
260 | 256 | | |
| |||
269 | 265 | | |
270 | 266 | | |
271 | 267 | | |
272 | | - | |
| 268 | + | |
273 | 269 | | |
274 | 270 | | |
275 | 271 | | |
| |||
322 | 318 | | |
323 | 319 | | |
324 | 320 | | |
325 | | - | |
| 321 | + | |
326 | 322 | | |
327 | 323 | | |
328 | 324 | | |
| |||
331 | 327 | | |
332 | 328 | | |
333 | 329 | | |
334 | | - | |
| 330 | + | |
335 | 331 | | |
336 | 332 | | |
337 | 333 | | |
| |||
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
705 | 706 | | |
706 | 707 | | |
707 | 708 | | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
708 | 720 | | |
709 | 721 | | |
710 | 722 | | |
| |||
Lines changed: 26 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1481 | 1481 | | |
1482 | 1482 | | |
1483 | 1483 | | |
| 1484 | + | |
| 1485 | + | |
| 1486 | + | |
| 1487 | + | |
| 1488 | + | |
| 1489 | + | |
| 1490 | + | |
| 1491 | + | |
| 1492 | + | |
| 1493 | + | |
| 1494 | + | |
| 1495 | + | |
| 1496 | + | |
| 1497 | + | |
| 1498 | + | |
| 1499 | + | |
| 1500 | + | |
| 1501 | + | |
| 1502 | + | |
| 1503 | + | |
| 1504 | + | |
| 1505 | + | |
| 1506 | + | |
| 1507 | + | |
| 1508 | + | |
1484 | 1509 | | |
1485 | 1510 | | |
1486 | 1511 | | |
| |||
3646 | 3671 | | |
3647 | 3672 | | |
3648 | 3673 | | |
3649 | | - | |
| 3674 | + | |
3650 | 3675 | | |
Lines changed: 27 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
0 commit comments