You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I guess I'm not sure I understand the problem. "try" and "catch" and "finally" are source level constructs, not bytecode level ones. In bytecode, you have an exception table that lists ranges of bytecodes, and their associated exception handler. I don't know of anything that would stop you from having an exception handler whose range of bytecode encompasses the entire constructor.
That said, it has been a while since I looked at the spec. Maybe there is something there?
I.e. can it handle the case that Byte Buddy can't yet (see: raphw/byte-buddy#375), when constructors throw exceptions?
The text was updated successfully, but these errors were encountered: