We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b7d411 commit f022ee1Copy full SHA for f022ee1
jcstress-core/src/main/java/org/openjdk/jcstress/infra/runners/AbstractThread.java
@@ -26,7 +26,7 @@
26
27
import java.util.concurrent.atomic.AtomicInteger;
28
29
-public class AbstractThread extends Thread {
+public abstract class AbstractThread extends Thread {
30
private static final AtomicInteger ID = new AtomicInteger();
31
32
protected volatile Throwable throwable;
@@ -36,6 +36,9 @@ public AbstractThread() {
36
setName("jcstress-worker-" + ID.incrementAndGet());
37
}
38
39
+ @Override
40
+ public abstract void run();
41
+
42
public Throwable throwable() { return throwable; }
43
44
0 commit comments