Re: Exposing checked exceptions that a MethodHandle can throw

2023-05-22 Thread John Rose
Thanks for the good response Remi. This is part of a larger FAQ, “why are MHs hard to use?” Part of the answer is “they model bytecode behavior”. (Perhaps they should have been called BytecodeBehaviorHandles.) Lifting such raw VM-level behaviors up into Java source code is necessary, but it will

Re: Exposing checked exceptions that a MethodHandle can throw

2023-05-21 Thread Remi Forax
- Original Message - > From: "-" > To: "core-libs-dev" > Sent: Sunday, May 21, 2023 6:52:44 AM > Subject: Exposing checked exceptions that a MethodHandle can throw > Hello, > I am eliciting a discussion on the feasibility of tracking checked > exceptions thrown by a MethodHandle. It is a