-
-
Notifications
You must be signed in to change notification settings - Fork 115
Closed as not planned
Description
Someone on our team reported a strange issue where the prettier-java maven plugin would hang indefinitely.
We traced it down to a malformed Java file. After fixing up the invalid Java, prettier worked as expected.
Reproduction case
It's actually quite simple to reproduce this. All you need to do is to create a Java file with the follwoing content
public {
}This is of course very much invalid, but prettier should complain rather than hang forever.
If this doesn't give you enough to work with I can also provide a full reproduction repo.
Tested with prettier-java 1.6.8 and 1.7.1.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels