Weirdness in native/jni/java-io/java_io_VMConsole.c

Pekka Enberg penberg at kernel.org
Thu Mar 29 16:07:46 UTC 2012


On Thu, Mar 29, 2012 at 12:47 PM, Andrew Haley <aph at redhat.com> wrote:
> There's a very odd comment in this file: it clearly refers to some
> method in another file.  But what was it for, anyway?  Surely the
> name of a method and its signature is contained in the code.  I'd just
> delete it.
>
> /*
>  * Class:     java_io_VMConsole
>  * Method:    echo
>  * Signature: (Z)Z
>  */
> JNIEXPORT jstring JNICALL
> Java_java_io_VMConsole_readPassword (JNIEnv * env,
>                                     jclass clazz
>                                     __attribute__ ((__unused__)),
>                                     jobject con)
> {

It's a copy-paste goof by me and I'm fine with dropping it. I only
added it to follow existing style.



More information about the Classpath mailing list