Open battery-staple opened 6 months ago
@battery-staple Thank you for raising this. Is this something that happens in picocli's annotation processor during compilation, or in picocli's reflection code at runtime? Is there a full stack trace you can provide?
This is a very minor issue. I accidentally created a command that has itself as a subcommand, like this:
While this is of course incorrect, it gives a fairly opaque error:
error: FATAL ERROR: java.util.regex.PatternSyntaxException: Stack overflow during pattern compilation near index 9
.It might save someone else in the future a bit of trouble if this gave a more descriptive error. :-)