JDK-4291371 - Java Issue Tracker
Nov 14, 1999 ... ... input data is available, end of file is detected, or an ... At any rate, here's a small sample program to demonstrate the problem.
Nov 14, 1999 ... ... input data is available, end of file is detected, or an ... At any rate, here's a small sample program to demonstrate the problem.
I noticed that its possible to paste these types of characters into a JTextField, but when you try to use the keyboard, the wrong value is inputted. When I try to enter "����" for example, I end up with "����" instead. In fact you can see this using sample code I found to reproduce this
- Raw string literals should be able to express the same strings as traditional string literals, except for platform-specific line terminators. - Include library support to replicate the current `javac` string-literal interpretation of escapes and manage left-margin trimming.
- BEGIN SOURCE - The following code demonstrates the performance difference between the original and modified versions of XMLEncoder. Statement2 and NameGenerator2 were just same as java.beans.Statement and NameGenerator. Compile with javac -source 1.4 Test.java.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : 1. Compile to sample program 2. Run java KeyReader 3. Press Control+x. EXPECTED VERSUS ACTUAL BEHAVIOR : The method should return a string that can be passed to KeyStroke.getKeyStroke.