Commit 34d4481
committed
OpenAPIHolderImpl.resolveExternalRef throws java.lang.IllegalStateException
See #2844
To prevent from a recursive update of the same key in the externalSolvingRefs, avoid computeIfAbsent and continue walking the references path only when an uncompleted future has effectively been put in the map.
Signed-off-by: Thomas Segismont <[email protected]>1 parent 5ec7457 commit 34d4481
1 file changed
Lines changed: 11 additions & 9 deletions
Lines changed: 11 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
263 | 263 | | |
264 | 264 | | |
265 | 265 | | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
275 | 277 | | |
276 | 278 | | |
277 | 279 | | |
| |||
0 commit comments