commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Patch: fixing compiler warnings all over jni code


From: Michael Koch
Subject: Patch: fixing compiler warnings all over jni code
Date: Thu, 29 Apr 2004 08:48:43 +0200
User-agent: KMail/1.5.4

Hi list,


I just commited the attached patch to fix some warnings when compiling 
our JNI code. It mainly fixes jbyte* -> char* (from the recent fix in 
jni.h) and some dumb return statements.


Michael


2004-04-29  Michael Koch  <address@hidden>

        * native/jni/java-io/java_io_VMObjectStreamClass.c
        (getFieldReference): Use char* for strings, not jbyte*.
        * native/jni/java-lang/java_lang_VMProcess.c
        (copy_string): Likewise.
        * native/jni/java-lang/java_lang_VMSystem.c:
        Include jcl.h for JCL_FindClass definition.
        * native/jni/java-nio/gnu_java_nio_NIOServerSocket.c
        (getPlainSocketImpl): Return NULL.
        * native/jni/java-nio/java_nio_DirectByteBufferImpl.c
        (getImpl): Don't return anything.
        (adjustAddress): Return NULL.

Attachment: warning.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]