RFR: 8284910: Buffer clean in PasswordCallback [v2]

Sean Mullan mullan at openjdk.java.net
Mon Apr 25 20:45:49 UTC 2022


On Mon, 25 Apr 2022 05:48:04 GMT, Xue-Lei Andrew Fan <xuelei at openjdk.org> wrote:

> > However, I think that we need to carefully check the interactions between cleaners and methods that explicitly allow the contents to be cleared so that there are not unexpected results.
> 
> I think @RogerRiggs explained the behavior of Cleanable.clean(), and @stuart-marks' suggestion was added in the last update. I will file another RFE for the specification clarification. Did I miss something? Did you have more comments?

I am ok with the fix now but I had a few comments on the test.

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

PR: https://git.openjdk.java.net/jdk/pull/8272



More information about the security-dev mailing list