JDK-8180370 : Characters are skipped on input of Korean text on OS X
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 7,8,9,10
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2017-05-15
  • Updated: 2019-09-12
  • Resolved: 2017-06-07
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 10 JDK 8
10 b23Fixed 8u162Fixed
Related Reports
Relates :  
Description
Certain characters are skipped on input of Korean text in Java text
components. This behaviour differs from input of Korean text in native OS X
applications (e.g. TextEdit).
.
To reproduce, run the sample program mentioned below, switch to Korean (2-Set) keyboard
layout, and press the following keys in order: q (corresponds to Korean
ㅂ), Shift+1 (exclamation mark).
Expected result: text field contains ㅂ!
Actual result: text field contains ㅂ
(i.e. exclamation mark is not entered)
.
The issue is reproduced on latest OS X version (10.11.5) and latest Java
version:
java version "1.8.0_92"
Java(TM) SE Runtime Environment (build 1.8.0_92-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.92-b14, mixed mode)

REPRODUCIBILITY :
The issue is always reproducible.


---------- BEGIN SOURCE ----------

import javax.swing.*;

public class JTextFieldTest {
    public static void main(String[] args) {
        SwingUtilities.invokeLater(() -> {
            JFrame frame = new JFrame("Test");
            JTextField textField = new JTextField(20);
            frame.add(textField);
            frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
            frame.pack();
            frame.setLocationRelativeTo(null);
            frame.setVisible(true);
        });
    }
}

---------- END SOURCE ----------
Comments
Critical Request Justification: - Justification : Regression and Customer Reported bug - Risk Analysis : L - Webrev : http://hg.openjdk.java.net/jdk8u/jdk8u-dev/jdk/rev/3b3bf3e95042 - Testing (done/to-be-done) : Had run multiple JPRT jobs with this fix and didn't see any failures. - Back ports (done/to-be-done) : 8u162 - FX Impact : NA
09-11-2017