rzo1 opened a new pull request, #8483:
URL: https://github.com/apache/storm/pull/8483
- Replace Subject.doAs(), Subject.getSubject(AccessControlContext),
AccessController.getContext(), and System.getSecurityManager() — all removed in
Java 24 with runtime-dispatched compatibility shims that work on Java 17
through 25+.
- Introduce SubjectCompat utility with MethodHandle-based dispatch:
currentSubject() maps to Subject.current() (18+) or
Subject.getSubject(AccessController.getContext()) (17); doAs() maps to
Subject.callAs() (18+) or Subject.doAs() (17).
- Migrate all 12 removed-API call sites across 8 files.
- Consolidate existing ReqContext MethodHandle shim into SubjectCompat.
- Remove dead SecurityManager code in NettyRenameThreadFactory.
- Add Java 25 to the GitHub Actions CI matrix.
--
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]