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

Weijun Wang weijun at openjdk.java.net
Fri Jul 2 14:34:55 UTC 2021


On Mon, 28 Jun 2021 21:09:43 GMT, Weijun Wang <weijun at openjdk.org> wrote:

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

This pull request has now been integrated.

Changeset: c4ea13ed
Author:    Weijun Wang <weijun at openjdk.org>
URL:       https://git.openjdk.java.net/jdk17/commit/c4ea13edd036bd6aeb213bb5391dd374d283d382
Stats:     59 lines in 2 files changed: 40 ins; 6 del; 13 mod

8269543: The warning for System::setSecurityManager should only appear once for each caller

Reviewed-by: lancea, alanb, dfuchs

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

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



More information about the security-dev mailing list