Summary: | User doesn't see what's typed until enter is pressed on System.in for forked java task | ||
---|---|---|---|
Product: | Ant | Reporter: | Denys M <dmar> |
Component: | Core tasks | Assignee: | Ant Notifications List <notifications> |
Status: | NEW --- | ||
Severity: | normal | CC: | dmar |
Priority: | P2 | ||
Version: | 1.8.2 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | All | ||
Attachments: | sample build.xml file |
Created attachment 28338 [details] sample build.xml file I've hit almost the same issue as described in bud #50960. On latest nightly builds (ant 1.8.3alpha and ant 1.9.0alpha) when user inputs a value - he doesn’t see what he's typing until enter button is pressed. Attached is a simple build.xml file that demonstrates the problem. It creates a simple Java file that just calls readLine() and echos the input, compiles the file, and runs it twice: once in a non-forked JVM, which works fine, and again in a forked JVM, which 'invisible' input. My java version is 1.6.0_30-b12