JDK-4099797 : sun.awt.motif generates exceptions drawing dingbats characters
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 1.2.0
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_2.5.1
  • CPU: sparc
  • Submitted: 1997-12-16
  • Updated: 1997-12-26
  • Resolved: 1997-12-26
Related Reports
Duplicate :  
Description
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