Merge pull request #301 from Parabot/bugfix/thread-redirect-isInterrupted

[BUGFIX] Added Thread#isInterrupted redirect
This commit is contained in:
Jeroen Ketelaar
2019-05-01 18:16:26 -05:00
committed by GitHub
@@ -61,4 +61,8 @@ public class ThreadRedirect {
public static void setUncaughtExceptionHandler(Thread t, Thread.UncaughtExceptionHandler handler) {
t.setUncaughtExceptionHandler(handler);
}
public static boolean isInterrupted(Thread thread) {
return thread.isInterrupted();
}
}