Re: [PR] Allow JDK23 compatibility for Subject#getSubject [cxf]

2024-11-20 Thread via GitHub
reta commented on PR #1972: URL: https://github.com/apache/cxf/pull/1972#issuecomment-2488550074 > Even before upgrading the baseline, we could perhaps avoid calling `Subject.getSubject(AccessController.getContext())` if the current Java Runtime is 18+ and `System.getSecurityManager()` retu

Re: [PR] Allow JDK23 compatibility for Subject#getSubject [cxf]

2024-11-13 Thread via GitHub
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 catc

Re: [PR] Allow JDK23 compatibility for Subject#getSubject [cxf]

2024-11-13 Thread via GitHub
reta commented on PR #1972: URL: https://github.com/apache/cxf/pull/1972#issuecomment-2474459778 > @reta are there any plans to increase the Java baseline to 18 or newer? For 4.1.0, we are settled on JDK-17 at the moment, I think we could go with at least with JDK-21 for 4.2.0, but it

Re: [PR] Allow JDK23 compatibility for Subject#getSubject [cxf]

2024-07-17 Thread via GitHub
ilgrosso merged PR #1972: URL: https://github.com/apache/cxf/pull/1972 -- 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: dev-unsubscr...@cxf.apache.org F

[PR] Allow JDK23 compatibility for Subject#getSubject [cxf]

2024-07-17 Thread via GitHub
ilgrosso opened a new pull request, #1972: URL: https://github.com/apache/cxf/pull/1972 As reported by [JDK 23 release notes](https://jdk.java.net/23/release-notes#JDK-8296244): > The terminally deprecated method Subject.getSubject(AccessControlContext) has been re-specified to throw