RFR: 8344248: Remove Security Manager dependencies from java.security.jgss and jdk.security.jgss modules [v2]

Sean Mullan mullan at openjdk.org
Thu Nov 21 14:03:37 UTC 2024


> Now that JEP 486 has been integrated, `java.security.jgss` and `jdk.security.jgss` module dependencies on `System.getSecurityManager` and `AccessController.doPrivileged*` can be removed.
> 
> There is an undocumented property named "sun.security.krb5.autodeducerealm" that can probably be removed as it only affected behavior when an SM was enabled; however I have left the code that reads the property as-is (see sun/security/krb5/Realm.java) and have opened a separate issue to determine if it can be safely removed.

Sean Mullan has updated the pull request incrementally with one additional commit since the last revision:

  Fix minor spacing issues.

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/22256/files
  - new: https://git.openjdk.org/jdk/pull/22256/files/3896a5a0..6e58b1cf

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=22256&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=22256&range=00-01

  Stats: 2 lines in 2 files changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/22256.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/22256/head:pull/22256

PR: https://git.openjdk.org/jdk/pull/22256


More information about the core-libs-dev mailing list