6996192: Console.readPassword race: input echo off must be prior to writing prompt

To turn off echo before prompt

Reviewed-by: alanb
1 file changed