Hi Claes,

On 10/09/2014 8:11 PM, Claes Redestad wrote:
Hi,

please review this simple patch to avoid raising PrivilegedActionExceptions
when failing to find a class in URLClassLoader.

  bug: https://bugs.openjdk.java.net/browse/JDK-8057936
  webrev: http://cr.openjdk.java.net/~redestad/8057936/webrev.2/

I read the bug report and looked at the patch. I'm all for reducing the exception overhead, but why not just return the exception object directly and avoid the need to create a wrapper? Return object and check for a Class or Throwable - and rethrow the Throwable.

David




/Claes

Reply via email to