diff --git a/classpath/java/lang/Thread.java b/classpath/java/lang/Thread.java index 936351c809..3abfd3238e 100644 --- a/classpath/java/lang/Thread.java +++ b/classpath/java/lang/Thread.java @@ -151,8 +151,8 @@ public class Thread implements Runnable { private static native boolean interrupted(long peer); - public static boolean isInterrupted() { - return currentThread().interrupted; + public boolean isInterrupted() { + return interrupted; } public static void sleep(long milliseconds) throws InterruptedException {