jdk icon indicating copy to clipboard operation
jdk copied to clipboard

4958071: (spec) confusing exception list for javax.crypto.Cipher.init(...) for

Open driverkt opened this issue 3 years ago • 7 comments
trafficstars

Fix for JDK-4958071 to add additional @throws stanza to javadocs for all init methods


Progress

  • [x] Change must be properly reviewed (1 review required, with at least 1 Reviewer)
  • [x] Change must not contain extraneous whitespace
  • [x] Commit message must refer to an issue
  • [ ] Change requires a CSR request to be approved

Issue

  • JDK-4958071: (spec) confusing exception list for javax.crypto.Cipher.init(...) for

Reviewers

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk pull/9860/head:pull/9860
$ git checkout pull/9860

Update a local copy of the PR:
$ git checkout pull/9860
$ git pull https://git.openjdk.org/jdk pull/9860/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 9860

View PR using the GUI difftool:
$ git pr show -t 9860

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/9860.diff

driverkt avatar Aug 12 '22 18:08 driverkt

/issue add 4958071

driverkt avatar Aug 12 '22 18:08 driverkt

/csr needed

driverkt avatar Aug 12 '22 18:08 driverkt

:wave: Welcome back kdriver! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

bridgekeeper[bot] avatar Aug 12 '22 18:08 bridgekeeper[bot]

@driverkt This issue is referenced in the PR title - it will now be updated.

openjdk[bot] avatar Aug 12 '22 18:08 openjdk[bot]

@driverkt has indicated that a compatibility and specification (CSR) request is needed for this pull request.

@driverkt please create a CSR request for issue JDK-4958071 with the correct fix version. This pull request cannot be integrated until the CSR request is approved.

openjdk[bot] avatar Aug 12 '22 18:08 openjdk[bot]

@driverkt The following label will be automatically applied to this pull request:

  • security

When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing list. If you would like to change these labels, use the /label pull request command.

openjdk[bot] avatar Aug 12 '22 18:08 openjdk[bot]

Webrevs

mlbridge[bot] avatar Aug 12 '22 18:08 mlbridge[bot]

@bradfordwetmore test added

driverkt avatar Aug 24 '22 00:08 driverkt

/integrate

driverkt avatar Aug 24 '22 00:08 driverkt

@driverkt This pull request has not yet been marked as ready for integration.

openjdk[bot] avatar Aug 24 '22 00:08 openjdk[bot]

/integrate

driverkt avatar Aug 30 '22 18:08 driverkt

@driverkt This change now passes all automated pre-integration checks.

ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details.

After integration, the commit message for the final commit will be:

4958071: (spec) confusing exception list for javax.crypto.Cipher.init(...) for

Reviewed-by: valeriep, wetmore

You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed.

At the time when this comment was updated there had been 188 new commits pushed to the master branch:

  • d3d2e669b7bdfbd91cab7b918bc62cf1879cc95b: 8293009: Remove unused field 'millisPerHour' in DateFormatSymbols
  • f3ebb420b7809f2b96feab3426d4ef40a610df7b: 8293036: x86_64: Move Continuation-related stub methods to MacroAssembler
  • 1576f991fe958c4b1ac529cdf00da4048538c779: 8288759: GCC 12 fails to compile signature.cpp due to -Wstringop-overread
  • f285cea9a6cbf7e46840eab74094e9588af4e147: 8293037: Remove DebuggerBase.writeBytes() and related code from SA
  • 343333abcf2a3af1d6dbf48e406cb3efc73b9bf6: 8293004: (fs) FileChannel.transferXXX use of copy_file_range needs fallback handling for ENOSYS
  • b3450e930e52f03ffc3891de7672625ac45b13d0: 8292850: Unused field 'expiredTimersKey' in javax.swing.TimerQueue
  • 6b7d4b1f746d14b00fe28b6ee1f9ca2ad6e99bee: 8293028: Remove GenCollectedHeap::handle_failed_promotion
  • 21a736954f4e6a9b41b382908d1875518c4caccb: 8292575: riscv: Represent Registers as values
  • 4a28f3798d25b64d44aad557f94d1045c253cdfb: 8291792: DefaultStyledDocument.setCharacterAttributes accepts negative length
  • f766d92755276a40f0cdc087db32c285548572fe: 8290344: Start/stop displaysync affects performance in metal rendering pipeline
  • ... and 178 more: https://git.openjdk.org/jdk/compare/22d6d315f2b1e0838d07bd30b6c2d58b5f98878b...master

As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details.

As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@valeriepeng, @bradfordwetmore) but any other Committer may sponsor as well.

➡️ To flag this PR as ready for integration with the above commit message, type /integrate in a new comment. (Afterwards, your sponsor types /sponsor in a new comment to perform the integration).

openjdk[bot] avatar Aug 30 '22 18:08 openjdk[bot]

@driverkt Your change (at version 54c57179ffd0da436cf2bb6fac2e5ad12ec78dad) is now ready to be sponsored by a Committer.

openjdk[bot] avatar Aug 30 '22 18:08 openjdk[bot]

/sponsor

valeriepeng avatar Aug 30 '22 18:08 valeriepeng

Going to push as commit 550e5d7822c13c3011a445db109aa47d90af7fa6. Since your change was applied there have been 188 commits pushed to the master branch:

  • d3d2e669b7bdfbd91cab7b918bc62cf1879cc95b: 8293009: Remove unused field 'millisPerHour' in DateFormatSymbols
  • f3ebb420b7809f2b96feab3426d4ef40a610df7b: 8293036: x86_64: Move Continuation-related stub methods to MacroAssembler
  • 1576f991fe958c4b1ac529cdf00da4048538c779: 8288759: GCC 12 fails to compile signature.cpp due to -Wstringop-overread
  • f285cea9a6cbf7e46840eab74094e9588af4e147: 8293037: Remove DebuggerBase.writeBytes() and related code from SA
  • 343333abcf2a3af1d6dbf48e406cb3efc73b9bf6: 8293004: (fs) FileChannel.transferXXX use of copy_file_range needs fallback handling for ENOSYS
  • b3450e930e52f03ffc3891de7672625ac45b13d0: 8292850: Unused field 'expiredTimersKey' in javax.swing.TimerQueue
  • 6b7d4b1f746d14b00fe28b6ee1f9ca2ad6e99bee: 8293028: Remove GenCollectedHeap::handle_failed_promotion
  • 21a736954f4e6a9b41b382908d1875518c4caccb: 8292575: riscv: Represent Registers as values
  • 4a28f3798d25b64d44aad557f94d1045c253cdfb: 8291792: DefaultStyledDocument.setCharacterAttributes accepts negative length
  • f766d92755276a40f0cdc087db32c285548572fe: 8290344: Start/stop displaysync affects performance in metal rendering pipeline
  • ... and 178 more: https://git.openjdk.org/jdk/compare/22d6d315f2b1e0838d07bd30b6c2d58b5f98878b...master

Your commit was automatically rebased without conflicts.

openjdk[bot] avatar Aug 30 '22 18:08 openjdk[bot]

@valeriepeng @driverkt Pushed as commit 550e5d7822c13c3011a445db109aa47d90af7fa6.

:bulb: You may see a message that your pull request was closed with unmerged commits. This can be safely ignored.

openjdk[bot] avatar Aug 30 '22 18:08 openjdk[bot]