intermediatePremium

The finally return Trap

Why a return in finally hides bugs

The finally return Trap

A return in a finally block replaces any pending return and silently swallows in-flight exceptions.

The narrated version of this skribble — tap play for the full-size video.

1:40

The finally return Trap

Premium
🔒

Premium skribble

The preview above is intentionally blurred. Unlock the full-resolution skribble — and its deep-dive board — with TechSkribble.

Unlock this course Already purchased? Sign in
#java#gotchas#exceptions#control-flow