1 2 3 4 5 6 7 8 9 10 11
public class utf8concat { private static String s; public static void main (String[] args) { // This causes a crash at runtime because the compiler is // producing an invalid UTF-8 string literal. s = "abc" + (char)183; } }