jdk/src/solaris/classes/sun/awt/X11/XProtocol.java
changeset 16839 d0f2e97b7359
parent 5506 202f599c92aa
child 18178 ee71c923891d
--- a/jdk/src/solaris/classes/sun/awt/X11/XProtocol.java	Fri Apr 12 14:09:03 2013 +0400
+++ b/jdk/src/solaris/classes/sun/awt/X11/XProtocol.java	Fri Apr 12 14:33:38 2013 +0400
@@ -54,7 +54,9 @@
         } finally {
             if (firstCheck) {
                 firstCheck = false;
-                log.fine("{0}:{1} supports {2}", this, listName, protocols);
+                if (log.isLoggable(PlatformLogger.FINE)) {
+                    log.fine("{0}:{1} supports {2}", this, listName, protocols);
+                }
             }
         }
     }