Try fixing maven build junit-plugin test
InvalidThread access on Mac for unknown reason. But maybe we can just ignore that.
This commit is contained in:
@@ -238,9 +238,14 @@ public abstract class ACondition {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public static boolean inUIThread() {
|
||||
return Display.getDefault().getThread() == Thread.currentThread();
|
||||
try {
|
||||
return Display.getDefault().getThread() == Thread.currentThread();
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
public static StringBuffer getStackDumps() {
|
||||
|
||||
Reference in New Issue
Block a user