> Javadoc for java.util.Optional.orElseThrow(Supplier) misses mentioning of 
> another possible cause of a NullPointerException - when the exception 
> supplying function returns a null result.
> ---------
> ### Progress
> - [ ] Change must be properly reviewed (1 review required, with at least 1 
> [Reviewer](https://openjdk.org/bylaws#reviewer))
> - [x] Change requires CSR request 
> [JDK-8354953](https://bugs.openjdk.org/browse/JDK-8354953) to be approved
> - [x] Change must not contain extraneous whitespace
> - [x] Commit message must refer to an issue
> 
> ### Error
>  ⚠️ The pull request body must not be empty.
> 
> 
> 
> ### Reviewing
> <details><summary>Using <code>git</code></summary>
> 
> Checkout this PR locally: \
> `$ git fetch https://git.openjdk.org/jdk.git pull/23905/head:pull/23905` \
> `$ git checkout pull/23905`
> 
> Update a local copy of the PR: \
> `$ git checkout pull/23905` \
> `$ git pull https://git.openjdk.org/jdk.git pull/23905/head`
> 
> </details>
> <details><summary>Using Skara CLI tools</summary>
> 
> Checkout this PR locally: \
> `$ git pr checkout 23905`
> 
> View PR using the GUI difftool: \
> `$ git pr show -t 23905`
> 
> </details>
> <details><summary>Using diff file</summary>
> 
> Download this PR as a diff file: \
> <a 
> href="https://git.openjdk.org/jdk/pull/23905.diff";>https://git.openjdk.org/jdk/pull/23905.diff</a>
> 
> </details>

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

  8350542: update orElseThrow JavaDoc from CSR specification.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/23905/files
  - new: https://git.openjdk.org/jdk/pull/23905/files/53df7aff..32448774

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=23905&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=23905&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/23905.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/23905/head:pull/23905

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

Reply via email to