Compiler Error J0026

Expected Unicode escape sequence

The compiler expected to find a valid Unicode escape sequence. This error usually occurs when a backslash is not followed by the letter "u" to signify a Unicode escape sequence. Check the syntax of your Unicode escape sequence and compile again.

The following example illustrates this error:

public class Simple {
   
   int i = \\u0032; 
   // error: '\\' not valid 
   
}