Bug 52681 - User doesn't see what's typed until enter is pressed on System.in for forked java task
Summary: User doesn't see what's typed until enter is pressed on System.in for forked ...
Status: NEW
Alias: None
Product: Ant
Classification: Unclassified
Component: Core tasks (show other bugs)
Version: 1.8.2
Hardware: PC All
: P2 normal (vote)
Target Milestone: ---
Assignee: Ant Notifications List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-16 11:27 UTC by Denys M
Modified: 2012-02-20 12:18 UTC (History)
1 user (show)



Attachments
sample build.xml file (1.78 KB, text/xml)
2012-02-16 11:27 UTC, Denys M
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Denys M 2012-02-16 11:27:06 UTC
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