/[classpath]/classpath/native/jni/javaio.c
ViewVC logotype

Diff of /classpath/native/jni/javaio.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by cbj, Tue Jan 23 23:57:45 2001 UTC revision 1.2 by cbj, Thu Jul 26 02:41:42 2001 UTC
# Line 234  _javaio_read(JNIEnv *env, jobject obj, j Line 234  _javaio_read(JNIEnv *env, jobject obj, j
234    jbyte *bufptr;    jbyte *bufptr;
235    int rc;    int rc;
236    
237    bufptr = (*env)->GetByteArrayElements(env, buf, 0);    bufptr = (*env)->GetByteArrayElements(env, buf, JNI_FALSE);
238    if (!bufptr)    if (!bufptr)
239      {      {
240        _javaio_ThrowException(env, "java/io/IOException", "Internal Error");        _javaio_ThrowException(env, "java/io/IOException", "Internal Error");

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26