This PR proposes throwing exceptions rather than swallowing them in two tests 
in `TestByteBuffer`.

---------
- [x] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

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

Commit messages:
 - Add a throw clause

Changes: https://git.openjdk.org/jdk/pull/32791/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=32791&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8365968
  Stats: 2 lines in 1 file changed: 2 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/32791.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/32791/head:pull/32791

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

Reply via email to