-
Bug
-
Resolution: Fixed
-
P3
-
8u51, 9, 10
-
b14
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8212123 | 11.0.2 | Prasanta Sadhukhan | P3 | Resolved | Fixed | b01 |
JDK-8214658 | 8u211 | Prasanta Sadhukhan | P3 | Resolved | Fixed | b01 |
JDK-8211001 | 8u202 | Prasanta Sadhukhan | P3 | Resolved | Fixed | b01 |
JDK-8221004 | emb-8u211 | Prasanta Sadhukhan | P3 | Resolved | Fixed | master |
import javax.swing.*;
public class JTextFieldTest {
public static void main(String[] args) {
SwingUtilities.invokeLater(() -> {
JFrame f = new JFrame();
JTextField field = new JTextField(20);
f.add(field);
f.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
f.pack();
f.setLocationRelativeTo(null);
f.setVisible(true);
});
}
}
To reproduce, run the attached sample application. Make sure Japanese is
added to the list of input sources in OS settings. Choose Romaji input
method, then press backslash ( \ ) key on the keyboard.
Expected result: yen symbol is entered in the text field (this is the effect
observed in native applications).
Actual result: backslash is entered.
The issue is reproduced with latest macOS (10.13.1) and latest Java (9.0.1)
versions.
public class JTextFieldTest {
public static void main(String[] args) {
SwingUtilities.invokeLater(() -> {
JFrame f = new JFrame();
JTextField field = new JTextField(20);
f.add(field);
f.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
f.pack();
f.setLocationRelativeTo(null);
f.setVisible(true);
});
}
}
To reproduce, run the attached sample application. Make sure Japanese is
added to the list of input sources in OS settings. Choose Romaji input
method, then press backslash ( \ ) key on the keyboard.
Expected result: yen symbol is entered in the text field (this is the effect
observed in native applications).
Actual result: backslash is entered.
The issue is reproduced with latest macOS (10.13.1) and latest Java (9.0.1)
versions.
- backported by
-
JDK-8211001 [macos] Problem with input of yen symbol
- Resolved
-
JDK-8212123 [macos] Problem with input of yen symbol
- Resolved
-
JDK-8214658 [macos] Problem with input of yen symbol
- Resolved
-
JDK-8221004 [macos] Problem with input of yen symbol
- Resolved
- relates to
-
JDK-8068283 Mac OS Incompatibility between JDK 6 and 8 regarding input method handling
- Resolved
-
JDK-8214578 [macos] Problem with backslashes on macOS/JIS keyboard: Java ignores system settings
- Resolved
(1 relates to)