RFR: 8344895: SM cleanup of module java.xml [v2]

Roger Riggs rriggs at openjdk.org
Mon Nov 25 16:46:56 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)

Roger Riggs has updated the pull request incrementally with one additional commit since the last revision:

  Refactored to remove SecuritySupport.getSystemProperty.
  Replace callers with System.getProperty.
  Simplified iterator in XMLReaderFactory

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/22334/files
  - new: https://git.openjdk.org/jdk/pull/22334/files/add63670..ef31641c

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

  Stats: 143 lines in 32 files changed: 0 ins; 73 del; 70 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