FULL PRODUCT 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)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 10.0.10586]
A DESCRIPTION OF THE PROBLEM :
This is a follow up to bug id JDK-8133309, which is fixed and targeted for java9. Happily I discoverd, however, that it is partially already implemented in the last jdk8 update. So my request is to implement the fix also for the "Miscellaneous Technical" code chart (2300���23FF), as it will take another 10 month till java9 will be released.
Thank you.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Compile and run the sample code.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
"Miscellaneous Technical" characters displayed.
ACTUAL -
Empty boxes.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
import javax.swing.*;
public class Unicode extends JFrame {
public static final long serialVersionUID = 1L;
/*
\u2600, \u26FF= first and last character in code chart "Miscellaneous Symbols"
\u2300, \u23FF= first and last character in code chart "Miscellaneous Technical"
*/
final String TEXT= "Hello \u2611\u2600\u26FF\u2300\u23FF";
public Unicode() {
setSize(350,120);
setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
setTitle(TEXT);
Box box= Box.createVerticalBox();
box.add(new JButton(TEXT));
box.add(new JLabel(TEXT));
box.add(new JTextField(TEXT));
add(box);
setVisible(true);
}
public static void main(String args[]) {
SwingUtilities.invokeLater(Unicode::new);
}
}
---------- END SOURCE ----------