# HG changeset patch # User dav # Date 1260358435 -10800 # Node ID 61cb05d6efa2132b5bfcca032a4ed7db456c1299 # Parent dc92e241cceaf03d85a56fc9bc1d9c39ae8fbd41 6903893: Fix failed for CR 6834576: RemoveChild/ test fail with deadlock on rhel and sles Reviewed-by: dcherepanov, art diff -r dc92e241ccea -r 61cb05d6efa2 jdk/src/solaris/classes/sun/awt/X11/XToolkit.java --- a/jdk/src/solaris/classes/sun/awt/X11/XToolkit.java Wed Dec 09 14:02:48 2009 +0300 +++ b/jdk/src/solaris/classes/sun/awt/X11/XToolkit.java Wed Dec 09 14:33:55 2009 +0300 @@ -1449,7 +1449,7 @@ * (which is assigned to the virtual pointer) reports the maximum * capabilities of the mouse pointer (i.e. 32 physical buttons). */ - private native synchronized int getNumberOfButtonsImpl(); + private native int getNumberOfButtonsImpl(); @Override public int getNumberOfButtons(){