Am 01/08/17 um 05:40 schrieb Tibor Digana:
> *exception except for System.exit or Runtime.halt, I have 100% guarantee
> that finally block is executed anyway.

The finally block is guaranteed to be executed no matter what. It is
always executed. That's even specified in the JLS.

try
{
  System.exit();
}
finally
{
  // This will never be called. Correct.
}


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to