--- old/src/share/classes/sun/font/Decoration.java 2014-01-27 11:29:45.000000000 -0800 +++ new/src/share/classes/sun/font/Decoration.java 2014-01-27 11:29:45.000000000 -0800 @@ -157,8 +157,8 @@ Underline stdUnderline, Underline imUnderline) { - fgPaint = (Paint) foreground; - bgPaint = (Paint) background; + fgPaint = foreground; + bgPaint = background; this.swapColors = swapColors; this.strikethrough = strikethrough;