seen via the unit test https://jedit.svn.sourceforge.net/svnroot/jedit/tests/Fest/jedit_tests/test/gui/NoEDTViolationTest.java
Exception in thread "Thread-2"
org.fest.swing.exception.EdtViolationException: EDT violation detected
at java.lang.Thread.getStackTrace(Thread.java:1568)
at org.fest.util.StackTraces.stackTraceInCurrentThread(StackTraces.java:49)
at org.fest.swing.edt.CheckThreadViolationRepaintManager.checkThreadViolations(CheckThreadViolationRepaintManager.java:78)
at org.fest.swing.edt.CheckThreadViolationRepaintManager.addDirtyRegion(CheckThreadViolationRepaintManager.java:69)
at org.fest.swing.edt.FailOnThreadViolationRepaintManager.addDirtyRegion(FailOnThreadViolationRepaintManager.java:31)
at javax.swing.JComponent.repaint(JComponent.java:4784)
at java.awt.Component.repaint(Component.java:3286)
at javax.swing.JComponent.setBackground(JComponent.java:2723)
at org.gjt.sp.jedit.gui.SplashScreen.<init>(SplashScreen.java:39)
at org.gjt.sp.jedit.GUIUtilities.showSplashScreen(GUIUtilities.java:1972)
at org.gjt.sp.jedit.jEdit.main(jEdit.java:394)
at org.gjt.sp.jedit.testframework.TestUtils$1.run(TestUtils.java:137)
Submitted | kerik-sf - 2013-08-13 07:58:46 | Assigned | |
---|---|---|---|
Priority | 5 | Labels | |
Status | open | Group | None |
Resolution | None |
2013-08-31 11:40:38 thomasmey |
v1 SplashScreen-EDT.patch (4.6Kio) |
---|---|
2013-08-31 11:40:57 thomasmey |
How about attached patch?
|
2013-08-31 15:40:37 kerik-sf |
your patch is better than what I proposed in
|
2013-09-01 09:27:04 thomasmey |
Hi,
|
2013-09-01 09:27:26 thomasmey |
v2 SplashScreen-EDT.patch (14.5Kio) |
2013-09-03 14:39:15 kpouer |
I think only the call to the Splashscreen should be on EDT, don't you think ?
|
2013-09-03 19:43:18 kerik-sf |
There are things that are triggered by propertiesChanged() that must be run on the
EDT.
|