[concurrency-interest] Thread interruption protocol:InterruptedException is a "checked" exception, correct?

David Holmes davidcholmes at aapt.net.au
Thu May 21 18:25:56 EDT 2009


Marcelo Fukushima writes:
> just to make it clear:
>
> -Native code and generated bytecode (compiled by compilers other than
> javac) can throw any checked exception without the throws clause given
> that at the bytecode level, theres no such thing as checked or
> unchecked exception
> -Class.newInstance is a degenerated method that also breaks the
> checked exception ruling.
> -The InterruptedException from the OP was a result of a bug in the jvm

All correct. "checked exceptions" are only a compile-time concept in the
Java language.

David Holmes




More information about the Concurrency-interest mailing list