[code-reflection] Integrated: throw instead returning when erasing checked to unchecked exception

Hannes Greule hgreule at openjdk.org
Thu Jan 18 17:25:53 UTC 2024


On Wed, 17 Jan 2024 10:08:14 GMT, Hannes Greule <hgreule at openjdk.org> wrote:

> As discussed in https://mail.openjdk.org/pipermail/babylon-dev/2024-January/000006.html, I change the `erase` method to `eraseAndThrow` and added a test as suggested. I ensured that the test fails without my change and does not fail with it.

This pull request has now been integrated.

Changeset: 92cbc7fc
Author:    Hannes Greule <hgreule at openjdk.org>
Committer: Paul Sandoz <psandoz at openjdk.org>
URL:       https://git.openjdk.org/babylon/commit/92cbc7fc39f0a346435d36b73707f7a181c67bbe
Stats:     87 lines in 2 files changed: 83 ins; 0 del; 4 mod

throw instead returning when erasing checked to unchecked exception

Reviewed-by: psandoz

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

PR: https://git.openjdk.org/babylon/pull/2


More information about the babylon-dev mailing list