We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
CharacterLiteral.getValue()
1 parent 4f59886 commit fe51151Copy full SHA for fe51151
java/ql/lib/semmle/code/java/Expr.qll
@@ -720,6 +720,9 @@ class CharacterLiteral extends Literal, @characterliteral {
720
/**
721
* Gets a string which consists of the single character represented by
722
* this literal.
723
+ *
724
+ * Unicode surrogate characters (U+D800 to U+DFFF) have the replacement character
725
+ * U+FFFD as result instead.
726
*/
727
override string getValue() { result = super.getValue() }
728
0 commit comments