> >
> >http://issues.apache.org/bugzilla/show_bug.cgi?id=33354
> >
> >
> >To call getpass() we'd need a JNI implementation for every 
> platform that ant
> >runs on. 
> >  
> >
> Not necessarily so!
> See here: 
> http://java.sun.com/developer/technicalArticles/Security/pwordmask/
> 
> The problem is known at sun, and a fix pending, but not yet done.
> The article provides a fix, that albeit clumsy, that is a.) backward 
> compatible b.) (mostly) portable.
> 
> Because this might be interesting for more than one project: 
> how about 
> placing a class
> for this into commons io?


I use that scenario in a java course, but there is a drawback: _sometimes_
it happens, that the erasure thread does not delete the first character.
Thatīs ok for my course - but not for a tool like Ant. (imho)

Jan

Reply via email to