Commit 4ba173e
Fix failing test under JDK 7
The test "should_save_and_retrieve_sphere" was failing because
it relied on a setter declared in Sphere that overloads a setter
declared in Circle. JDK 7 fails to detect the overloading setter.
This fix simply modifies the test to avoid this edge case.1 parent 70c3631 commit 4ba173e
1 file changed
Lines changed: 5 additions & 7 deletions
Lines changed: 5 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
210 | | - | |
| 210 | + | |
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
| |||
401 | 401 | | |
402 | 402 | | |
403 | 403 | | |
404 | | - | |
405 | | - | |
406 | | - | |
407 | | - | |
408 | 404 | | |
409 | 405 | | |
410 | 406 | | |
| |||
426 | 422 | | |
427 | 423 | | |
428 | 424 | | |
429 | | - | |
| 425 | + | |
430 | 426 | | |
431 | 427 | | |
432 | | - | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
433 | 431 | | |
434 | 432 | | |
435 | 433 | | |
| |||
0 commit comments