You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Side note just in case the question comes up: On the question why we would use parseWithHandlers, I would say that we need to use the class-factory for Bean instantiation, but interactive mode already instantiated a command for auto complete info. But no interface CommandLine.call(instance, factory, yada);
The text was updated successfully, but these errors were encountered:
Thank you for raising this! I've been able to reproduce the problem thanks to your test. Still investigating, but it looks like values from a previous parse invocation are not cleared as they should be.
I found the cause. Basically, for command method parameters, only primitive types were reset between invocations. I have a fix for this which I will push later today.
Applies for example when using interactive shell mode with jline2.
Workaround: Never use a commandLine instance twice.
Side note just in case the question comes up: On the question why we would use parseWithHandlers, I would say that we need to use the class-factory for Bean instantiation, but interactive mode already instantiated a command for auto complete info. But no interface CommandLine.call(instance, factory, yada);
The text was updated successfully, but these errors were encountered: