RFR: 8344895: SM cleanup of module java.xml

Roger Riggs rriggs at openjdk.org
Sun Nov 24 18:27:57 UTC 2024


Updates to the java.xml module following the SecurityManager removal.
Refactor to remove doPrivilege calls
Refactor to eliminate dead code assuming getSecurityManager() == null 
Refactor to drop use of AccessControlContext
Remove (most) references to SecurityException
Remove error messages that refer to security manager.
Update copyrights and @LastModified dates

Each commit focuses on a particular kind of change (if that's any help when reviewing)

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

Commit messages:
 - Update copyrights to 2024
 - Remove error messages for WG_SECURITY_EXCEPTION that no long occur
 - Remove SecurityException, it will never be thrown
 - Remove unused DESERIALIZE_TRANSLET_ERR error message
 - 8344895: SM cleanup of module java.xml

Changes: https://git.openjdk.org/jdk/pull/22334/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=22334&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8344895
  Stats: 898 lines in 58 files changed: 9 ins; 595 del; 294 mod
  Patch: https://git.openjdk.org/jdk/pull/22334.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/22334/head:pull/22334

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


More information about the core-libs-dev mailing list