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

Dingbats converter throws ArrayIndexOutofBoundsException

XMLWordPrintable

    • 1.2fcs
    • sparc
    • solaris_2.5.1, solaris_2.6
    • Verified

      The JDK demo symboltest is throwing an ArrayIndexOutofBoundsException. I believe it's attempting to display characters in the hex range of x2700 know as DINGBAT characters. java full version "JDK1.2P2"

      /usr/local/java/jdk1.2/solaris/demo/awt-1.1/symboltest

      java.lang.ArrayIndexOutOfBoundsException: 149
              at sun.awt.motif.CharToByteX11Dingbats.canConvert(CharToByteX11Dingbats.java:56)
              at sun.awt.PlatformFont.makeConvertedMultiFontChars(PlatformFont.java:412)
              at sun.awt.motif.X11Graphics.drawMFChars(Native Method)
              at sun.awt.motif.X11Graphics.drawChars(X11Graphics.java:342)
              at Symbol.paint(Symbol.java:26)
              at java.awt.Component.dispatchEventImpl(Component.java:1864)
              at java.awt.Component.dispatchEvent(Component.java:1823)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:160)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:45)

            bcbeck Brian Beck (Inactive)
            blichtensunw Brian Lichtenwalter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: