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

IIIMP: IllegalArgumentException generated when input Chinese on passive client

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.2.0
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:

      Description

      JDK: 1.2beta4-J
      OS: Solaris
      Locale: zh

      When input Chinese on passive client, an Exception will generate, it is:

      java.lang.IllegalArgumentException: TextHitInfo is out of range
              at java.awt.font.TextLayout.checkTextHit(Compiled Code)
              at java.awt.font.TextLayout.getCaretInfo(Compiled Code)
              at java.awt.font.TextLayout.getCaretInfo(Compiled Code)
              at sun.awt.im.CompositionArea.getCaretRectangle(Compiled Code)
              at sun.awt.im.CompositionArea.getTextLocation(Compiled Code)
              at sun.awt.im.InputMethodContext.getTextLocation(Compiled Code)
              at sun.awt.im.iiimp.IIIMPAdapter$Lookup.lookupDraw(Compiled Code)
              at sun.awt.im.iiimp.InputContext.processLookupEvent(Compiled Code)
              at sun.awt.im.iiimp.InputContext.processEvent(Compiled Code)
              at sun.awt.im.iiimp.IIIMPDispatchEvent.processProtocol(Compiled Code)
              at sun.awt.im.iiimp.IIIMPClient.getReply(Compiled Code)
              at sun.awt.im.iiimp.IIIMPClient.request(Compiled Code)
              at sun.awt.im.iiimp.IIIMPClient.processKeyEvent(Compiled Code)
              at sun.awt.im.iiimp.InputContext.deliverKeyEvent(Compiled Code)
              at sun.awt.im.iiimp.InputContext.dispatchKeyEventImpl(Compiled Code)
              at sun.awt.im.iiimp.InputContext.dispatchKeyEvent(Compiled Code)
              at sun.awt.im.iiimp.IIIMPAdapter.dispatchEvent(Compiled Code)
              at sun.awt.im.InputContext.dispatchEvent(Compiled Code)
              at sun.awt.im.InputMethodContext.dispatchEvent(Compiled Code)
              at java.awt.Component.dispatchEventImpl(Compiled Code)
              at java.awt.Component.dispatchEvent(Compiled Code)
              at java.awt.LightweightDispatcher.processKeyEvent(Compiled Code)
              at java.awt.LightweightDispatcher.dispatchEvent(Compiled Code)
              at java.awt.Container.dispatchEventImpl(Compiled Code)
              at java.awt.Component.dispatchEvent(Compiled Code)
              at java.awt.EventQueue.dispatchEvent(Compiled Code)
              at java.awt.EventDispatchThread.run(Compiled Code)

      use IMFTester to generated it.


      jim.hu@prc 1998-06-19

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              okutsu Masayoshi Okutsu
              Reporter:
              jhusunw Jim Hu (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: