We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb0f8dd commit 478a69fCopy full SHA for 478a69f
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Display.java
@@ -873,7 +873,9 @@ static void checkDisplay (Thread thread, boolean multiple) {
873
for (Display display : Displays) {
874
if (display != null) {
875
if (!multiple) SWT.error (SWT.ERROR_NOT_IMPLEMENTED, null, " [multiple displays]"); //$NON-NLS-1$
876
- if (display.thread == thread) SWT.error (SWT.ERROR_THREAD_INVALID_ACCESS);
+ if (display.thread == thread)
877
+ SWT.error(SWT.ERROR_THREAD_INVALID_ACCESS, null,
878
+ " Another Display is already associated by this thread: " + thread);
879
}
880
881
0 commit comments