> On 14 Jan 2016, at 12:22, Michael Haupt <[email protected]> wrote: > > Dear all, > > please review this fix. > Bug: https://bugs.openjdk.java.net/browse/JDK-8147078 > Webrev: http://cr.openjdk.java.net/~mhaupt/8147078/webrev.00 > > Unlike MethodHandles.throwException, MethodHandles.catchException does not > enforce that the passed exception type is indeed a subtype of Throwable. The > change adds the corresponding check, and a test. >
Erasure bites! +1 Paul.
