On 12/1/17 5:22 PM, Mandy Chung wrote: > > I think should also rethrow the cause if the cause is an Error > (why not)
Alright.
The instanceof RuntimeException check should be moved outside to the if-statement when it’s an instance of InvocationTargetException.
So rethrow RuntimeExceptions directly, whether they're the cause of an InvocationTargetException or not.
Updated webrev: http://cr.openjdk.java.net/~bchristi/8187222/webrev.02/ Thanks, -Brent
