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

Kevin Driver kdriver at openjdk.org
Tue Aug 30 18:48:29 UTC 2022


> add @exception message to indicate an NPE might be thrown when the input parameter is null

Kevin Driver has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 10 additional commits since the last revision:

 - Merge branch 'master' into HEAD
 - Update Test6205692.java
 - review comments
 - remove unnecessary code
 - move test
 - new test for MacSpi demo purposes
 - code review comments -- replace all occurences of @exception with @throws
 - changed to uses @throws
 - review comment
 - https://bugs.openjdk.org/browse/JDK-6205692 : add @exception message to indicate an NPE might be thrown when the input parameter is null

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/9859/files
  - new: https://git.openjdk.org/jdk/pull/9859/files/74e7b569..6a9dafe2

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=9859&range=08
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=9859&range=07-08

  Stats: 63719 lines in 1041 files changed: 27677 ins; 30483 del; 5559 mod
  Patch: https://git.openjdk.org/jdk/pull/9859.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/9859/head:pull/9859

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



More information about the security-dev mailing list