Skip to main content

EventQueue.java needs patching

1 reply [Last post]
Anonymous

Hi,

I cannot compile a personal profile build with the current sources. I have the
following build problem for both linux and windows mobile:

Compiling build-time classes...
/phoneme//cdc/src/share/personal/classes/common/java/awt/EventQueue.java:113:
cannot resolve symbol
symbol : constructor EventDispatchThread
(java.lang.String,java.awt.EventQueueProxy)
location: class java.awt.EventDispatchThread
dispatchThread = new EventDispatchThread(name,

EventQueue.java has not been modified for 19 months (it is at revision 351),
so I guess this change to EventDispatchThread.java is to blame:

===========================================================================
Revision 12501 (previous one 351):

2008-07-17 10:00:52+0000 (10 days, 6 hours ago) by o_maticka

MERGE: merged changes from branch cdc-cr-6725488 (rev. 12436-12481). These
changes includes: java.awt.EventQueue, EventDispatchThread initialization
change, to suite needs for AGUI (JSR209) purposes SunToolkit - fix for
requiring image resources via URL with "file" protocol
===========================================================================

The required changes to EventQueue.java were only applied to the basis profile
version of EventQueue.java, and should also be applied to the personal
profile version.

Please replace "new EventDispatchThread" with "EventDispatchThread.create"
in cdc/trunk/src/share/personal/classes/common/java/awt/EventQueue.java

Diff in attach

Regards,
Davy
[Event.rev12704.diff]
---------------------------------------------------------------------
To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
For additional commands, e-mail: advanced-help@phoneme.dev.java.net

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
cjplummer
Offline
Joined: 2006-10-16

Hi Davy,

Thanks for finding this. Your fix has been committed.

Chris