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

Entering Japanese characters throws an exception

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 1.4.0
    • client-libs

      J2SE version: 1.4.0beta
      Build number: b24
      Platforms tested: Solaris 2.7 and 2.8
      Locale: ja (EUC)

      Platform J2SDK1.4.0beta-b24 JDK1.3.0-C
      2.8 Failed Passed
      2.7 Failed Passed

      Entering Japanese characters will cause an exception to be thrown. This problem occurs in J2SDK1.4.Obeta-b24.

      Actual result:

      Exception occurred during event dispatching:
      java.lang.StackOverflowError
              at java.lang.Math.min(Math.java:724)
              at java.lang.String.compareTo(String.java:812)
              at sun.java2d.loops.GraphicsPrimitiveMgr.compareSurfaces(GraphicsPrimitiveMgr.java:78)
              at sun.java2d.loops.GraphicsPrimitiveMgr.access$000(GraphicsPrimitiveMgr.java:26)
              at sun.java2d.loops.GraphicsPrimitiveMgr$3.compare(GraphicsPrimitiveMgr.java:119)
              at java.util.Arrays.binarySearch(Arrays.java:1606)
              at sun.java2d.loops.GraphicsPrimitiveMgr.locate(GraphicsPrimitiveMgr.java:271)
              at sun.java2d.loops.GraphicsPrimitiveMgr.locatePrim(GraphicsPrimitiveMgr.java:237)
              at sun.java2d.loops.GraphicsPrimitiveMgr.locate(GraphicsPrimitiveMgr.java:190)
              at sun.java2d.loops.GraphicsPrimitive.getGeneralOp(GraphicsPrimitive.java:301)
              at sun.java2d.loops.GraphicsPrimitive.setupGeneralBinaryOp(GraphicsPrimitive.java:228)
              at sun.java2d.loops.MaskBlit.makePrimitive(MaskBlit.java:117)
              at sun.java2d.loops.GraphicsPrimitiveMgr.locate(GraphicsPrimitiveMgr.java:196)
              at sun.java2d.loops.GraphicsPrimitive.getGeneralOp(GraphicsPrimitive.java:301)


      Steps to reproduce:
      1. Install the J2SDK v1.4.0 on a Solaris 2.8 machine.
      2. Launch SwingSet2.
      3. From the JInternalFrame Demo, hit "Ctrl+space".
      4. Enter "nihongotesuto" in the textfield and then press enter.
      Note: Wait a few seconds for an exception to be thrown.

            naoto Naoto Sato
            bpagatpasunw Ben Pagatpatan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: