--- a/jdk/src/solaris/classes/sun/awt/X11/XListPeer.java Wed Jun 19 17:12:23 2013 +0400
+++ b/jdk/src/solaris/classes/sun/awt/X11/XListPeer.java Thu Jun 20 18:50:55 2013 +0400
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -1669,11 +1669,12 @@
* Do handleJavaMouseEvent on EDT
*/
void handleJavaMouseEventOnEDT(final MouseEvent me){
- EventQueue.invokeLater(new Runnable() {
- public void run() {
- handleJavaMouseEvent(me);
- }
- });
+ InvocationEvent ev = new InvocationEvent(target, new Runnable() {
+ public void run() {
+ handleJavaMouseEvent(me);
+ }
+ });
+ postEvent(ev);
}
/*