--- a/jdk/src/solaris/classes/sun/awt/X11/XContentWindow.java Tue Aug 18 20:47:13 2009 -0700
+++ b/jdk/src/solaris/classes/sun/awt/X11/XContentWindow.java Thu Aug 20 12:46:43 2009 +0400
@@ -116,8 +116,10 @@
if (in != null) {
newBounds.setLocation(-in.left, -in.top);
}
- if (insLog.isLoggable(Level.FINE)) insLog.log(Level.FINE, "Setting content bounds {0}, old bounds {1}",
- new Object[] {newBounds, getBounds()});
+ if (insLog.isLoggable(Level.FINE)) {
+ insLog.log(Level.FINE, "Setting content bounds {0}, old bounds {1}",
+ new Object[] {String.valueOf(newBounds), String.valueOf(getBounds())});
+ }
// Fix for 5023533:
// Change in the size of the content window means, well, change of the size
// Change in the location of the content window means change in insets