jdk/src/java.desktop/unix/classes/sun/awt/X11/XClipboard.java
changeset 28229 15b31c9a2351
parent 25859 3317bb8137f4
child 31169 0647b79041f2
equal deleted inserted replaced
28228:be83f404724d 28229:15b31c9a2351
     1 /*
     1 /*
     2  * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2003, 2014, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
   279             } finally {
   279             } finally {
   280                 targetsGetter.dispose();
   280                 targetsGetter.dispose();
   281             }
   281             }
   282         }
   282         }
   283 
   283 
   284         checkChange(formats);
   284         XToolkit.awtUnlock();
       
   285         try {
       
   286             checkChange(formats);
       
   287         } finally {
       
   288             XToolkit.awtLock();
       
   289         }
   285     }
   290     }
   286 }
   291 }