[
https://issues.jboss.org/browse/FORGE-593?page=com.atlassian.jira.plugin....
]
Vineet Reynolds updated FORGE-593:
----------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request:
https://github.com/forge/core/pull/328
Fixed by ensuring that the new console reader thread has a chance to acquire a lock on the
console inputstream. This is more or less done by ensuring that the previous reader thread
shuts down cleanly.
The available() method is used to detect if a blocking read() should be performed on the
console inputstream. This prevents/reduces the possibility of the reader thread from
blocking on the console during a Forge restart triggered by a plugin installation.
Additionally, during shutdown of the console, the reader thread is interrupted should it
have acquired a monitor on the console inputstream, thus allowing for a clean shutdown.
Forge swallows first character of user input after restarting
(typically from plugin installation)
--------------------------------------------------------------------------------------------------
Key: FORGE-593
URL:
https://issues.jboss.org/browse/FORGE-593
Project: Forge
Issue Type: Bug
Components: UI - Shell
Affects Versions: 1.0.5.Final
Reporter: Lincoln Baxter III
Assignee: Vineet Reynolds
Labels: annoying
Fix For: 1.x Future
Attachments: threaddump-1373073105033.tdump
'forge install-plugin openshift'
Then type something. The first character you type will not be displayed or read.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira