On Wed, 30 Jun 2021 15:45:25 GMT, Weijun Wang <wei...@openjdk.org> wrote:
>> 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 FWIW - I built a local JDK with this PR and gave it a try against one of the original Apache Ant project example where the warnings were previously flooding the stderr. With this change, I now see the warning message just once (as expected) for that example. ------------- PR: https://git.openjdk.java.net/jdk17/pull/166