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

Selected Japanese characters with new Choice aren't displayed correctly

    Details

    • Subcomponent:
    • Resolved In Build:
      beta2
    • CPU:
      sparc
    • OS:
      solaris_7
    • Verification:
      Verified

      Description

      Tested with Merlin beta refresh b66 on Solaris sparc 9(s81_38), 8, 7 and x86 8.

      New Choice can not display selected Japanese characters correctry.

      To reproduce,
      1. Extract tes.tar (attached) and compile CharViewMultiLine.java FontView.java
      2. Launch CharViewMultiLine
         % java CharViewMultiLine
      3. Comes up CharView dialog.
      4. Input Japanese Character code.
         ex. "3000" or "4e00".....
      5. Change from "TextArea" to "Choice" using Choice

      You can see that Japanese chatracter are not displayed correctly in Choice.
      (please see test-1.gif)
      However, clicking on Choice menu, Japanese character list appears at the bottom of choice menu and they are displayed correctly.(plese see test-2.gif)
      Then, selecting the Japanese character from the list(ex,"3040""3050"), the selected Japanese character are not displayed correctly.

      This problem is not seen in TextArea and List on AWT.

      This problem is not seen in Merlin-beta.(b65)
      Therefore, this is regression.

      This phenomenon does not occur on Windows.

      % java -version
      java version "1.4.0-beta_refresh"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta_refresh-b66)
      Java HotSpot(TM) Client VM (build 1.4.0-beta_refresh-b66, mixed mode)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mbronsonsunw Mike Bronson (Inactive)
                Reporter:
                rsuzukisunw Rieko Suzuki (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: