chrisdutz commented on PR #11885:
URL: https://github.com/apache/iotdb/pull/11885#issuecomment-1906482454

   Ok ... was a bit tricky, but in the end I pushed a change that should fix 
it. There were actually two issues: 
   1. I was running the CLI in IntelliJ (not from the console) ... here both 
version behaved identically (Even when running the CLI from master in IntelliJ 
directly, it will echo the commands and not have auto-complete).
   2. I was expecting to setting "in" and "out" to System.in and System.out 
woudln't be any change, but it turns out in this case the internal variables 
"in" and "out" are not null and the code will take a wrong turn.
   
   I updated the code to simply not set the "streams" if "in == System.in && 
out == System.out" ... that seemed to have worked.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to