Commit 90050a2
authored
Add reproduction test for UnsupportedOperationException (#206)
* Add reproduction test for UnsupportedOperationException
caused by java.base/java.util.AbstractMap.put on a scala wrapped hash
map, which the properties are initialized with when unwanted properties
are filtered out.
branch:
* Initialize properties with Java hashmap
to prevent it from being a scala wrapped hasmap
branch:1 parent 2b3a3f8 commit 90050a2
File tree
3 files changed
+15
-1
lines changed- src
- main/scala/com/github/swagger/scala/converter
- test/scala
- com/github/swagger/scala/converter
- models
3 files changed
+15
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
255 | | - | |
| 255 | + | |
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
| |||
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
594 | 594 | | |
595 | 595 | | |
596 | 596 | | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
597 | 607 | | |
598 | 608 | | |
599 | 609 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
9 | 13 | | |
10 | 14 | | |
11 | 15 | | |
0 commit comments