-
Sub-task
-
Resolution: Delivered
-
P4
-
25
In the Java source code, character literals can only contain a single UTF-16 character. The `javac` compiler was incorrectly accepting character literals consisting of two UTF-16 surrogate characters, only using the first surrogate, and ignoring the second surrogate. This has now been corrected, and javac will produce a compile-time error when it detects a character literal which consists of two UTF-16 surrogate characters.