google-java-format icon indicating copy to clipboard operation
google-java-format copied to clipboard

Formatter crashes on unicode character in comment

Open TimvdLippe opened this issue 3 years ago • 0 comments

Minimal reproduction case:

package com.company;

public class Bug {
  // \u000D
}

The formatter fails with the following message:

error: expected token: '\'; generated } instead

TimvdLippe avatar Sep 23 '22 09:09 TimvdLippe