yuqi1129 opened a new pull request, #10376:
URL: https://github.com/apache/gravitino/pull/10376
### What changes were proposed in this pull request?
This PR fixes build-breakers found by repeatedly running:
`./gradlew release -x test --rerun-tasks`
Key fixes:
- Replace Java 11+ API usage with Java 8 compatible code:
- `Map.of()` -> `Collections.emptyMap()`
### Why are the changes needed?
The release task failed due to Java compatibility compile errors in modules
compiled with Java 8 target.
Fixes: #10373
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
- Repeatedly executed `./gradlew release -x test --rerun-tasks`
- Confirmed final run succeeded with `BUILD SUCCESSFUL`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]