Commit 8e9d544
build: upgrade Java source/target compatibility from 8 to 11 (#610)
* build: upgrade Java source/target compatibility from 8 to 11
Java 11 migration has been planned since 2020 (datahub-project/datahub#1699)
but was blocked by LinkedIn internally still being on Java 8. That blocker
no longer applies — downstream consumers like metadata-graph-assets and
metadata-models have moved to Java 17, and metadata-crawlers is on Java 11.
This also unblocks a future Elasticsearch upgrade from 7.17.24 to 8.x,
which is needed to resolve long-standing ELR validation failures due to
CVEs in the ES 7.17.24 dependency (failing since June 2025).
Changes:
- Set sourceCompatibility/targetCompatibility to 11 in root build.gradle
- Update developer docs and roadmap to reflect Java 11 requirement
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* ci: update CI workflows to use JDK 11
Update build-and-test workflow and release action to use JDK 11
instead of JDK 8, matching the new source/target compatibility.
Also upgrade actions/setup-java from v1 to v3.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* ci: revert unnecessary setup-java addition in release action
The release action uses the runner's default JDK which is already
11+, so explicit setup is not needed.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 7c872d3 commit 8e9d544
5 files changed
Lines changed: 13 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
| 23 | + | |
| 24 | + | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
143 | | - | |
| 142 | + | |
| 143 | + | |
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
| 60 | + | |
60 | 61 | | |
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
0 commit comments