[code-reflection] RFR: throw instead returning when erasing checked to unchecked exception [v2]
Hannes Greule
hgreule at openjdk.org
Thu Jan 18 21:09:52 UTC 2024
On Thu, 18 Jan 2024 20:10:39 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:
>> Hmm... I am not sure either, will take a look after this PR is integrated.
>
> When using the public lookup the system class loader will be used to find classes given their binary names. When executing tests the test classes will be loaded in a child of the system class loader, hence they cannot be found using the system class loader. Not much that can be done about. It may be best to always require a lookup argument.
Hm, I think in that case *not* passing a lookup isn't useful in many use cases, so requiring it seems like a good idea.
-------------
PR Review Comment: https://git.openjdk.org/babylon/pull/2#discussion_r1457977991
More information about the babylon-dev
mailing list