#2 can't redirect SqlLine input via System.setIn

closed-fixed
nobody
None
5
2005-08-05
2004-01-18
John V Sichi
No

System.setIn doesn't work because jline reads directly
from FileDescriptor.in, which is final. jline has
ConsoleReader constructors for reading from other
streams, but SqlLine doesn't use them. Perhaps define
a property to tell SqlLine that input is being redirected?
Or expose a public invocation API taking a stream as input.

Discussion

    • status: open --> closed-fixed
     
  • Logged In: YES
    user_id=33016

    Fixed for 1.0.1.