Commit 3d372b9
committed
Fix JDK 11 build compatibility for dependency bumps
Revert JDK-incompatible major version bumps that break the JDK 11
compile-and-check CI job:
- error_prone_core: keep 2.31.0 default, use 2.48.0 in JDK 21+ profile
- nullaway: keep 0.12.6 default, use 0.13.1 in JDK 21+ profile
- junit-bom: revert 6.0.3 to 5.13.0 (JUnit 6 requires JDK 17+)
- tomcat-embed-core: revert 11.0.18 to 10.1.50 (Tomcat 11 requires JDK 17+)
Restructure Maven profiles so errorprone-jdk21 activates on [21,) for
newer Error Prone/NullAway and errorprone-jdk25 only adds the
--should-stop=ifError=FLOW flag.
Configure dependabot to ignore major version bumps on these four
dependencies to prevent future incompatible upgrades.1 parent 201889a commit 3d372b9
3 files changed
+34
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
11 | 20 | | |
12 | 21 | | |
13 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
| 105 | + | |
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| |||
325 | 325 | | |
326 | 326 | | |
327 | 327 | | |
328 | | - | |
| 328 | + | |
329 | 329 | | |
330 | 330 | | |
331 | 331 | | |
332 | 332 | | |
333 | | - | |
| 333 | + | |
334 | 334 | | |
335 | 335 | | |
336 | 336 | | |
| |||
483 | 483 | | |
484 | 484 | | |
485 | 485 | | |
486 | | - | |
| 486 | + | |
487 | 487 | | |
488 | | - | |
| 488 | + | |
489 | 489 | | |
490 | 490 | | |
491 | 491 | | |
492 | 492 | | |
493 | 493 | | |
494 | 494 | | |
495 | 495 | | |
496 | | - | |
497 | | - | |
498 | | - | |
499 | 496 | | |
500 | 497 | | |
501 | 498 | | |
| |||
513 | 510 | | |
514 | 511 | | |
515 | 512 | | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
516 | 532 | | |
517 | 533 | | |
0 commit comments