+1 -Sundar
On 1/14/2016 4:52 PM, Michael Haupt 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. Thanks, Michael