JDK-8085948 : [Regression] Few Swing, AWT and 2D case fails with Decoder isn't implemented for WingDings Charset error on Windows
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows
  • CPU: generic
  • Submitted: 2015-06-08
  • Updated: 2015-09-10
  • Resolved: 2015-07-21
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9 b76Fixed
Related Reports
Relates :  
Description
Test name(s):closed/javax/swing/text/JTextComponent/6361892/bug6361892.java
closed/javax/swing/text/JTextComponent/6366440/bug6366440.java
closed/javax/swing/text/JTextComponent/6366488/bug6366488.java
closed/javax/swing/text/JTextComponent/6384905/bug6384905.java
closed/javax/swing/text/JTextComponent/6393270/bug6393270.java
closed/java/awt/font/LogicalFonts/MappingTest.java
java/awt/print/PrinterJob/GlyphPositions.java
java/awt/print/PrinterJob/PSQuestionMark.java
javax/print/PrintSEUmlauts/PrintSEUmlauts.java

JDK tested: 9b65,9b64
OS tested: Windows, Linux 
Is it a regression? Yes
Regression introduced in release/build:b65
Is it platform specific? Yes (Passes in MacOSX) 
The is failure reproduced: always 
            
General description: 
----------System.out:(0/0)----------
----------System.err:(79/5276)----------
java.util.concurrent.ExecutionException: java.lang.Error: Decoder isn't implemented for WingDings Charset
	at java.util.concurrent.FutureTask.report(FutureTask.java:122)
	at java.util.concurrent.FutureTask.get(FutureTask.java:206)
	at bug6361892.main(bug6361892.java:33)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:502)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.Error: Decoder isn't implemented for WingDings Charset
	at sun.awt.windows.WingDings.newDecoder(WingDings.java:47)
	at sun.nio.cs.StreamDecoder.<init>(StreamDecoder.java:232)
	at sun.nio.cs.StreamDecoder.forInputStreamReader(StreamDecoder.java:78)
	at java.io.InputStreamReader.<init>(InputStreamReader.java:116)
	at sun.awt.FontDescriptor.<init>(FontDescriptor.java:58)
	at sun.awt.FontConfiguration.buildFontDescriptors(FontConfiguration.java:907)
	at sun.awt.FontConfiguration.getFontDescriptors(FontConfiguration.java:864)
	at sun.awt.FontConfiguration.getFontDescriptors(FontConfiguration.java:856)
	at sun.awt.PlatformFont.<init>(PlatformFont.java:74)
	at sun.awt.windows.WFontPeer.<init>(WFontPeer.java:35)
	at sun.awt.windows.WToolkit.getFontPeer(WToolkit.java:672)
	at java.awt.Font.getFontPeer(Font.java:451)
	at java.awt.Font.access$300(Font.java:225)
	at java.awt.Font$FontAccessImpl.getFontPeer(Font.java:246)
	at sun.print.PSPrinterJob.textOut(PSPrinterJob.java:1259)
	at sun.print.PSPathGraphics.drawString(PSPathGraphics.java:228)
	at sun.print.PSPathGraphics.drawString(PSPathGraphics.java:140)
	at sun.print.PSPathGraphics.drawString(PSPathGraphics.java:114)
	at java.awt.Graphics.drawChars(Graphics.java:822)
	at sun.swing.SwingUtilities2.drawChars(SwingUtilities2.java:853)
	at javax.swing.text.Utilities.drawTabbedText(Utilities.java:187)
	at javax.swing.text.GlyphPainter1.paint(GlyphPainter1.java:119)
	at javax.swing.text.GlyphView.paintTextUsingColor(GlyphView.java:500)
	at javax.swing.text.GlyphView.paint(GlyphView.java:491)
	at javax.swing.text.BoxView.paintChild(BoxView.java:162)
	at javax.swing.text.BoxView.paint(BoxView.java:434)
	at javax.swing.text.BoxView.paintChild(BoxView.java:162)
	at javax.swing.text.BoxView.paint(BoxView.java:434)
	at javax.swing.text.ParagraphView.paint(ParagraphView.java:582)
	at javax.swing.text.html.ParagraphView.paint(ParagraphView.java:238)
	at javax.swing.text.BoxView.paintChild(BoxView.java:162)
	at javax.swing.text.BoxView.paint(BoxView.java:434)
	at javax.swing.text.html.BlockView.paint(BlockView.java:282)
	at javax.swing.text.BoxView.paintChild(BoxView.java:162)
	at javax.swing.text.BoxView.paint(BoxView.java:434)
	at javax.swing.text.html.BlockView.paint(BlockView.java:282)
	at javax.swing.plaf.basic.BasicTextUI$RootView.paint(BasicTextUI.java:1474)
	at javax.swing.plaf.basic.BasicTextUI.paintSafely(BasicTextUI.java:751)
	at javax.swing.plaf.basic.BasicTextUI.paint(BasicTextUI.java:909)
	at javax.swing.plaf.basic.BasicTextUI.update(BasicTextUI.java:888)
	at javax.swing.JComponent.paintComponent(JComponent.java:777)
	at javax.swing.JComponent.printComponent(JComponent.java:1217)
	at javax.swing.JComponent.paint(JComponent.java:1057)
	at javax.swing.JComponent.print(JComponent.java:1199)
	at sun.swing.text.TextComponentPrintable.printOnEDT(TextComponentPrintable.java:564)
	at sun.swing.text.TextComponentPrintable.access$200(TextComponentPrintable.java:90)
	at sun.swing.text.TextComponentPrintable$8.call(TextComponentPrintable.java:477)
	at sun.swing.text.TextComponentPrintable$8.call(TextComponentPrintable.java:475)
	at java.util.concurrent.FutureTask.run(FutureTask.java:265)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:759)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:712)
	at java.awt.EventQueue$3.run(EventQueue.java:706)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:77)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:729)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:192)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:117)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:106)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:102)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:94)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:83)

JavaTest Message: Test threw exception: java.util.concurrent.ExecutionException: java.lang.Error: Decoder isn't implemented for WingDings Charset
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.util.concurrent.ExecutionException: java.lang.Error: Decoder isn't implemented for WingDings Charset
Comments
regression of JDK-8035302
11-06-2015

These test are passing for 9b64 and are also passing in Linux for 9b66 but failing in Windows for 9b66
08-06-2015

Machine : spb23265.ru.oracle.com User: gtee Pass: Gt33acct http://scaaa008.us.oracle.com:9502/runs/00926/926442.ute.st2/926442.ute.st2-1/results/workDir/javax/print/PrintSEUmlauts/PrintSEUmlauts.jtr http://aurora-ds3.us.oracle.com:9502/runs/931120.ManualSubmit-1/workDir/closed/java/awt/font/LogicalFonts/MappingTest.jtr http://aurora-ds3.us.oracle.com:9502/runs/931120.ManualSubmit-1/workDir/java/awt/print/PrinterJob/GlyphPositions.jtr http://aurora-ds3.us.oracle.com:9502/runs/931120.ManualSubmit-1/workDir/java/awt/print/PrinterJob/PSQuestionMark.jtr http://scaaa008.us.oracle.com:9502/runs/930602.ManualSubmit-1/workDir/closed/javax/swing/text/JTextComponent/6361892/bug6361892.jtr http://scaaa008.us.oracle.com:9502/runs/930602.ManualSubmit-1/workDir/closed/javax/swing/text/JTextComponent/6366440/bug6366440.jtr http://scaaa008.us.oracle.com:9502/runs/930602.ManualSubmit-1/workDir/closed/javax/swing/text/JTextComponent/6366488/bug6366488.jtr http://scaaa008.us.oracle.com:9502/runs/930602.ManualSubmit-1/workDir/closed/javax/swing/text/JTextComponent/6384905/bug6384905.jtr http://scaaa008.us.oracle.com:9502/runs/930602.ManualSubmit-1/workDir/closed/javax/swing/text/JTextComponent/6393270/bug6393270.jtr RULE javax/print/PrintSEUmlauts/PrintSEUmlauts.java Exception java.lang.Error: Decoder isn't implemented for WingDings Charset RULE closed/java/awt/font/LogicalFonts/MappingTest.java Exception java.lang.Error: Decoder isn't implemented for WingDings Charset RULE java/awt/print/PrinterJob/GlyphPositions.java Exception java.lang.Error: Decoder isn't implemented for WingDings Charset RULE java/awt/print/PrinterJob/PSQuestionMark.java Exception java.lang.Error: Decoder isn't implemented for WingDings Charset RULE closed/javax/swing/text/JTextComponent/6361892/bug6361892.java Exception java.lang.Error: Decoder isn't implemented for WingDings Charset RULE closed/javax/swing/text/JTextComponent/6361892/bug6361892.java Exception java.util.concurrent.ExecutionException: java.lang.Error: Decoder isn't implemented for WingDings Charset RULE closed/javax/swing/text/JTextComponent/6366440/bug6366440.java Exception java.lang.Error: Decoder isn't implemented for WingDings Charset RULE closed/javax/swing/text/JTextComponent/6366440/bug6366440.java Exception java.util.concurrent.ExecutionException: java.lang.Error: Decoder isn't implemented for WingDings Charset RULE closed/javax/swing/text/JTextComponent/6366488/bug6366488.java Exception java.lang.Error: Decoder isn't implemented for WingDings Charset RULE closed/javax/swing/text/JTextComponent/6366488/bug6366488.java Exception java.util.concurrent.ExecutionException: java.lang.Error: Decoder isn't implemented for WingDings Charset RULE closed/javax/swing/text/JTextComponent/6384905/bug6384905.java Exception java.lang.Error: Decoder isn't implemented for WingDings Charset RULE closed/javax/swing/text/JTextComponent/6384905/bug6384905.java Exception java.util.concurrent.ExecutionException: java.lang.Error: Decoder isn't implemented for WingDings Charset RULE closed/javax/swing/text/JTextComponent/6393270/bug6393270.java Exception java.lang.Error: Decoder isn't implemented for WingDings Charset
08-06-2015