- 
    Bug 
- 
    Resolution: Fixed
- 
     P3 P3
- 
    None
- 
        b108
- 
        Verified
                    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.
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.
- relates to
- 
                    JDK-8130227 JEP 274: Enhanced Method Handles -           
- Closed
 
-