Hi, Small buglet found while playing with NetBeans (no we are still not completely able to start it fully, but it feels we are almost there).
2006-11-25 Mark Wielaard <[EMAIL PROTECTED]>
* java/awt/EventQueue.java (pop): Only terminate dispatchThread when
it is still running.
Committed,
Mark
diff -u -r1.31 EventQueue.java
--- java/awt/EventQueue.java 23 Oct 2006 19:12:36 -0000 1.31
+++ java/awt/EventQueue.java 25 Nov 2006 14:59:45 -0000
@@ -584,8 +584,11 @@
prev = null;
// Tell our EventDispatchThread that it can end
// execution.
- dispatchThread.interrupt();
- dispatchThread = null;
+ if (dispatchThread != null)
+ {
+ dispatchThread.interrupt();
+ dispatchThread = null;
+ }
}
}
}
signature.asc
Description: This is a digitally signed message part
