Merge pull request #208 from Parabot/bugfix/set-uncaught-exception-handler

[BUGFIX] Solves NoSuchMethodError for Thread
This commit is contained in:
Jeroen Ketelaar authored and GitHub committed 2017-05-13 01:32:09 +02:00
commit 1337708a26
1 file changed
+5
@@ -1,5 +1,6 @@
package org.parabot.core.asm.redirect;
import org.parabot.core.Core;
import org.parabot.core.asm.RedirectClassAdapter;
public class ThreadRedirect {
@@ -58,4 +59,8 @@ public class ThreadRedirect {
Thread.sleep(time);
}
public static void setUncaughtExceptionHandler(Thread t, Thread.UncaughtExceptionHandler handler){
t.setUncaughtExceptionHandler(handler);
}
}