[jdk17] RFR: 8269543: The warning for System::setSecurityManager should only appear once for each caller [v2]

Weijun Wang weijun at openjdk.java.net
Wed Jun 30 15:45:25 UTC 2021


> Add a cache to record which sources have called `System::setSecurityManager` and only print out warning lines once for each.

Weijun Wang has updated the pull request incrementally with one additional commit since the last revision:

  update cache key from String to Class

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

Changes:
  - all: https://git.openjdk.java.net/jdk17/pull/166/files
  - new: https://git.openjdk.java.net/jdk17/pull/166/files/a9188921..c158d4bf

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk17&pr=166&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk17&pr=166&range=00-01

  Stats: 9 lines in 1 file changed: 0 ins; 0 del; 9 mod
  Patch: https://git.openjdk.java.net/jdk17/pull/166.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk17 pull/166/head:pull/166

PR: https://git.openjdk.java.net/jdk17/pull/166


More information about the security-dev mailing list