[BUGFIX] Solves NoSuchMethodError for Thread

Thread.setUncaughtExceptionHandler
This commit is contained in:
JKetelaar
2017-05-13 01:28:17 +02:00
parent 1bb3f1ae6c
commit a5d091cae8
@@ -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);
}
}