RFR: 8344336: SM cleanup of java.lang.System, Runtime, String, StackWalker [v3]
Roger Riggs
rriggs at openjdk.org
Thu Nov 21 18:41:46 UTC 2024
> Removed use of SecurityManager to check permissions.
> Relaxed defensive copying of byte arrays (due to lack of SM)
>
> Refresh of PR#22168 Including review comments made there.
Roger Riggs has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains five additional commits since the last revision:
- Merge branch 'master' into 8344336-sm-lang-system-runtime
- Remove latent permission and checkPermission.
- Refactor package private method `codeSource` into Module where it is used.
Cleanup doPrivileged in LoggerFinder `accessProvider`, no longer needed.
- Review suggestions applied:
Remove SecurityExceptions from LiveStackFrame
Rename safeTrim to trimArray
- 8344336: SM cleanup of java.lang.System, Runtime, String, StackWalker
Removed use of SecurityManager to check permissions
Relaxed defensive copying of byte arrays (due to lack of SM)
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/22282/files
- new: https://git.openjdk.org/jdk/pull/22282/files/a6e71664..909e4ca3
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=22282&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=22282&range=01-02
Stats: 5502 lines in 213 files changed: 1859 ins; 2430 del; 1213 mod
Patch: https://git.openjdk.org/jdk/pull/22282.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/22282/head:pull/22282
PR: https://git.openjdk.org/jdk/pull/22282
More information about the core-libs-dev
mailing list