[jdk21u-dev] RFR: 8366866: SslRMIClientSocketFactory#createSocket lacking priviledges (securitymanger) [v2]

Ralf Schmelter rschmelter at openjdk.org
Thu Jan 29 13:22:34 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

Ralf Schmelter has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains nine commits:

 - Merge branch 'master' of https://github.com/openjdk/jdk21u-dev into jdk-8366866-for-jdk21
 - 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=01
  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