RFR: 6205692: (spec) javax.crypto.MacSpi.engineUpdate(ByteBuffer input): NPE should be specified

Lance Andersen lancea at openjdk.org
Fri Aug 12 18:55:33 UTC 2022


On Fri, 12 Aug 2022 18:20:21 GMT, Kevin Driver <kdriver at openjdk.org> wrote:

> > This looks OK. I did a quick scan and did not see a test in open/test which covers this and it probably would be worth considering adding one as part of this update
> 
> @LanceAndersen I can add a test, if needed; however this is only a javadoc update and no new code is introduced. In other words, we could add a test to demonstrate existing behavior, but a test would not help with verifying this change.

Understand it is just updating the spec/javadoc.  It would be good for coverage going forward.    At a minimum, the JCK should add a test.

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

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



More information about the security-dev mailing list