On 21:14 Thu 05 Jan     , Pekka Enberg wrote:
> This patch implements java/io/Console and adds a console() method to
> java/lang/System. The implementation is lame but it works reasonably well.
> 
> 2012-01-05  Pekka Enberg  <penb...@kernel.org>
> 
>       * java/io/Console:
>       Add new class.
> 
>       * java/lang/System.java:
>       (console): Add new Java 1.6 API method.
> 
>       * vm/reference/java/io/VMConsole:
>       Add new class.
> 

It would be good if the methods had documentation, but that could be added in a 
separate
patch.

The main thing is you say it works 'reasonably well' but I don't see how when 
there
is no implementation of the native method 'echo'.  I doubt this is too 
VM-dependent.
More OS dependent.  Look at the stuff under native/jni/java-io.

-- 
Andrew :)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

PGP Key: 248BDC07 (https://keys.indymedia.org/)
Fingerprint = EC5A 1F5E C0AD 1D15 8F1F  8F91 3B96 A578 248B DC07

Attachment: signature.asc
Description: Digital signature

Reply via email to