[PATCH] java.awt.EventQueue : getNextEvent

Dalibor Topic robilad at yahoo.com
Wed Mar 13 06:46:33 PST 2002


Hi,

this small patch changes the behavior of getNextEvent in
java.awt.EventQueue. Instead of silently swallowing all
InterruptedExceptions, it now lets them propagate up.

Reasoning: The API specification says that getNextEvent throws an
InterruptedException.

Dalibor Topic


-------------- next part --------------
	* libraries/javalib/java/awt/EventQueue.java:
	(getNextEvent) Now throws InterruptedException. Try/catch
	statements for InterruptedException removed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-diff
Size: 1030 bytes
Desc: not available
Url : http://kaffe.org/pipermail/kaffe/attachments/20020313/40a9c685/attachment-0003.diff 


More information about the kaffe mailing list