Commit 4418152
authored
Evaluate upgrading Groovy to 5.0.0 under JDK 11 runtime constraint (#13679)
### Evaluation Purpose
This PR is an extension to another PR ( #13671 ) and evaluates upgrading the Groovy engine from **4.0.x to 5.0.0 (earliest GA)** with a focus on validating **SkyWalking’s JDK 11 runtime compatibility guarantee**.
Groovy is used as a runtime dependency in several OAP backend modules, so this change is evaluated strictly from a **compatibility and policy** perspective.
### Verification Results
Local evaluation was performed using **JDK 21 for build** and **JDK 11 for runtime**, targeting the primary Groovy consumers (`log-analyzer` and `meter-analyzer`).
- **Build Status:** SUCCESS (built with JDK 21)
- **Runtime Compatibility:**
Verified that the **OAP distribution starts successfully on JDK 11** with Groovy 5.0.0.
- *Test:* Built full distribution (`-Pdist`) on JDK 21, then launched OAP via `oapService.bat` using JDK 11.
- *Result:* Server started successfully and bound ports without any `UnsupportedClassVersionError` or JVM compatibility failures.
- **Tests Passed:**
- `oap-server/analyzer/log-analyzer` (LAL script parsing)
- `oap-server/analyzer/meter-analyzer` (MAL script execution)
### Key Findings
- No compilation issues observed in backend modules.
- No Groovy/Spock incompatibilities detected in the existing test suite.
- Groovy 5.0.0 does not introduce runtime incompatibilities with JDK 11 based on the evaluated scope.
### Scope Notes
This PR is intended solely as a **compatibility evaluation** and does not include test refactors, additional Groovy 5.x upgrades, or behavioral changes.1 parent 1a9f69e commit 4418152
File tree
3 files changed
+3
-2
lines changed- dist-material/release-docs
- docs/en/changes
- oap-server-bom
3 files changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
347 | 347 | | |
348 | 348 | | |
349 | 349 | | |
350 | | - | |
| 350 | + | |
351 | 351 | | |
352 | 352 | | |
353 | 353 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
0 commit comments