Reports text blocks that are indented using both space and tab characters. This can produce unexpected results because spaces and tabs are treated equally by javac's text block processing.

In the following example, spaces and tabs are visualized as · and respectively, and a tab is equal to 2 spaces in the editor.

Example:


String colors = """
····red
␉ ␉ green
····blue""";

When printing such a string, the result will be:


··red
green
··blue

After the compiler removes an equal number of whitespace characters from the beginning of each line, some lines remain with leading spaces.

New in 2021.1