|
Relates :
|
private static void target() {}
private static void cleanup(Throwable t, int a1) {}
Calling tryFinally on these leads to "IndexOutOfBoundsException: toIndex = 1", when I expected to get IllegalArgumentException.
I think IllegalArgumentException description is OK, but the javadoc misses IndexOutOfBoundsException description.
|