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

sun.awt.motif generates exceptions drawing dingbats characters

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 1.2.0
    • client-libs
    • None
    • sparc
    • solaris_2.5.1

      When running the program UnicodeDisplay from the java in a nutshell
      examples book on solaris exceptions are generated.

      This doesn't happen on 1.1.5


              at sun.awt.motif.CharToByteX11Dingbats.canConvert(CharToByteX11Dingbats.java:56)
              at sun.awt.PlatformFont.makeConvertedMultiFontChars(PlatformFont.java:454)
              at sun.awt.motif.X11Graphics.drawMFChars(Native Method)
              at sun.awt.motif.X11Graphics.drawChars(X11Graphics.java:350)
              at UnicodeDisplay$UnicodePanel.paint(UnicodeDisplay.java:172)
              at java.awt.Component.dispatchEventImpl(Component.java:1878)
              at java.awt.Component.dispatchEvent(Component.java:1837)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:160)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:45)


      To reproduce. Compile the attached program. Run it with the java
      interpreter. Using the scroll bar scroll down to the Dingbats
      area (2700-27BF) boom

            nlindenbsunw Norbert Lindenberg (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: