ppalaga commented on PR #1972: URL: https://github.com/apache/cxf/pull/1972#issuecomment-2474433622
@reta are there any plans to increase the Java baseline to 18 or newer? If so, we could start using `Subject.current()` instead of `Subject.getSubject(AccessController.getContext())` and catching `UnsupportedOperationException` which may harm the performance. Even before upgrading the baseline, we could perhaps avoid calling `Subject.getSubject(AccessController.getContext())` if the current Java Runtime is 18+ and `System.getSecurityManager()` returns null. That might be faster. WDYT? -- 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]
