RFR: 8344895: SM cleanup of module java.xml [v2]
Joe Wang
joehw at openjdk.org
Mon Nov 25 18:31:16 UTC 2024
On Mon, 25 Nov 2024 16:46:56 GMT, Roger Riggs <rriggs at openjdk.org> wrote:
>> 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
That's a lot of cleanups! Thanks Roger.
-------------
Marked as reviewed by joehw (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/22334#pullrequestreview-2459335789
More information about the core-libs-dev
mailing list