[jdk21u-dev] RFR: 8366866: SslRMIClientSocketFactory#createSocket lacking priviledges (securitymanger)
Ralf Schmelter
rschmelter at openjdk.org
Fri Jan 23 12:14:08 UTC 2026
Backport for parity with 21.0.11-oracle.
- added missing doPrivileged() calls when accessing the two system properties used in SslRMIClientSocketFactory
- adjusted additionally to change 8341496, which added another system property to check and was missing the doPrivileged() call too
- added test
-------------
Commit messages:
- Fixed line endings.
- Merge branch 'master' of https://github.com/openjdk/jdk21u-dev into jdk-8366866-for-jdk21
- Adjust to JDK-8341496.
- Merged with head. Needed copyright header resolve.
- Merge branch 'master' of https://github.com/openjdk/jdk21u-dev into jdk-8366866-for-jdk21
- Updated copyright year.
- Fixed copyright.
- Add missing doPrivileged() and test.
Changes: https://git.openjdk.org/jdk21u-dev/pull/2564/files
Webrev: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=2564&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8366866
Stats: 68 lines in 3 files changed: 63 ins; 0 del; 5 mod
Patch: https://git.openjdk.org/jdk21u-dev/pull/2564.diff
Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/2564/head:pull/2564
PR: https://git.openjdk.org/jdk21u-dev/pull/2564
More information about the jdk-updates-dev
mailing list