Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8085948

[Regression] Few Swing, AWT and 2D case fails with Decoder isn't implemented for WingDings Charset error on Windows

    Details

    • Subcomponent:
      2d
    • Introduced In Build:
      b65
    • Resolved In Build:
      b76
    • CPU:
      generic
    • OS:
      windows

      Backports

        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

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ssadetsky Semyon Sadetsky (Inactive)
                  Reporter:
                  pchopra Pooja Chopra (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: