RFR: 8344336: SM cleanup of java.lang.System, Runtime, String, StackWalker [v3]

Roger Riggs rriggs at openjdk.org
Wed Nov 20 16:27:08 UTC 2024


> Removed use of SecurityManager to check permissions.
> Relaxed defensive copying of byte arrays (due to lack of SM)

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 six additional commits since the last revision:

 - Merge branch '8344336-sm-lang-system-runtime' of https://github.com/RogerRiggs/jdk into 8344336-sm-lang-system-runtime
 - 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)
 - 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/22168/files
  - new: https://git.openjdk.org/jdk/pull/22168/files/b873e116..2c0f3a42

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

  Stats: 67633 lines in 827 files changed: 32743 ins; 31618 del; 3272 mod
  Patch: https://git.openjdk.org/jdk/pull/22168.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/22168/head:pull/22168

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


More information about the core-libs-dev mailing list