RFR: 8253176: Signature.getParameters should specify that it can throw UnsupportedOperationException [v10]

Valerie Peng valeriep at openjdk.java.net
Wed May 18 22:42:18 UTC 2022


> This is to update the method javadoc of java.security.Signature.getParameters() with the missing `@throws UnsupportedOperationException`. In addition, the wording on the returned parameters are updated to match those in Cipher and CipherSpi classes. 
> 
> CSR will be filed later.
> 
> Thanks,
> Valerie

Valerie Peng has updated the pull request incrementally with one additional commit since the last revision:

  rewording the UOE for Signature.getParameters() and remove redundant
  sentences from SignatureSpi class.

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/8396/files
  - new: https://git.openjdk.java.net/jdk/pull/8396/files/681a5bc4..d5d75d74

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=8396&range=09
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=8396&range=08-09

  Stats: 8 lines in 2 files changed: 0 ins; 6 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk/pull/8396.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/8396/head:pull/8396

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



More information about the security-dev mailing list