gcc/libjava/testsuite/libjava.jni
Michael Koch d2ba8a75ef re PR libgcj/18115 (JNI nio buffer functions only work with byte buffers)
2005-01-07  Michael Koch  <konqueror@gmx.de>

	PR libgcj/18115
	* java/nio/Buffer.java (address): New field.
	* java/nio/DirectByteBufferImpl.java (address): Removed.
	* java/nio/MappedByteBufferImpl.java (address): Likewise.
	* java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
	Explicitly initialize Buffer.address if needed.
	* java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
	* java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
	* java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
	* java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
	* java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
	* jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
	DirectByteBufferImpl object.
	(_Jv_JNI_GetDirectBufferCapacity): Likewise.
	* testsuite/libjava.jni/directbuffer.c,
	testsuite/libjava.jni/directbuffer.java,
	testsuite/libjava.jni/directbuffer.out,
	testsuite/libjava.jni/bytebuffer.c,
	testsuite/libjava.jni/bytebuffer.java,
	testsuite/libjava.jni/bytebuffer.out: New files.

From-SVN: r93046
2005-01-07 11:32:07 +00:00
..
PR15133.c re PR java/15133 (gcjh generates wrong method signatures) 2004-04-30 18:19:37 +00:00
PR15133.java re PR java/15133 (gcjh generates wrong method signatures) 2004-04-30 18:19:37 +00:00
PR15133.out re PR java/15133 (gcjh generates wrong method signatures) 2004-04-30 18:19:37 +00:00
bytebuffer.c re PR libgcj/18115 (JNI nio buffer functions only work with byte buffers) 2005-01-07 11:32:07 +00:00
bytebuffer.java re PR libgcj/18115 (JNI nio buffer functions only work with byte buffers) 2005-01-07 11:32:07 +00:00
bytebuffer.out re PR libgcj/18115 (JNI nio buffer functions only work with byte buffers) 2005-01-07 11:32:07 +00:00
calls.c natMethod.cc (_Jv_CallAnyMethodA): Allocate a full jvalue for each argument. 2003-02-28 17:26:29 +00:00
calls.java natMethod.cc (_Jv_CallAnyMethodA): Allocate a full jvalue for each argument. 2003-02-28 17:26:29 +00:00
calls.out calls.c: New file. 2000-02-17 00:49:27 +00:00
cxxtest.cc For PR libgcj/5103: 2001-12-14 21:56:29 +00:00
cxxtest.java For PR libgcj/5103: 2001-12-14 21:56:29 +00:00
cxxtest.out For PR libgcj/5103: 2001-12-14 21:56:29 +00:00
directbuffer.c re PR libgcj/18115 (JNI nio buffer functions only work with byte buffers) 2005-01-07 11:32:07 +00:00
directbuffer.java re PR libgcj/18115 (JNI nio buffer functions only work with byte buffers) 2005-01-07 11:32:07 +00:00
directbuffer.out re PR libgcj/18115 (JNI nio buffer functions only work with byte buffers) 2005-01-07 11:32:07 +00:00
field.c calls.c (Java_calls_docall): Define with JNIEXPORT and JNICALL method attributes. 2003-01-24 17:39:49 +00:00
field.java field.out: New file. 2001-03-23 05:57:00 +00:00
field.out field.out: New file. 2001-03-23 05:57:00 +00:00
final_method.c calls.c (Java_calls_docall): Define with JNIEXPORT and JNICALL method attributes. 2003-01-24 17:39:49 +00:00
final_method.java
final_method.out
findclass.c calls.c (Java_calls_docall): Define with JNIEXPORT and JNICALL method attributes. 2003-01-24 17:39:49 +00:00
findclass.java
findclass.out
iface.c re PR libgcj/15001 ([3.4 only] Using JNI with interpreter and interface methods yields SIGSEGV) 2004-12-21 00:49:45 +00:00
iface.java re PR libgcj/15001 ([3.4 only] Using JNI with interpreter and interface methods yields SIGSEGV) 2004-12-21 00:49:45 +00:00
iface.out re PR libgcj/15001 ([3.4 only] Using JNI with interpreter and interface methods yields SIGSEGV) 2004-12-21 00:49:45 +00:00
invoke.c calls.c (Java_calls_docall): Define with JNIEXPORT and JNICALL method attributes. 2003-01-24 17:39:49 +00:00
invoke.java
invoke.out
jni.exp jar.exp (gcj_jar_interpret): Updated. 2004-12-21 01:01:08 +00:00
jniutf.c jniutf.c: New file. 2003-11-14 01:43:14 +00:00
jniutf.java jniutf.c: New file. 2003-11-14 01:43:14 +00:00
jniutf.out jniutf.c: New file. 2003-11-14 01:43:14 +00:00
martin.c calls.c (Java_calls_docall): Define with JNIEXPORT and JNICALL method attributes. 2003-01-24 17:39:49 +00:00
martin.java martin.out: New file. 2001-01-26 22:41:41 +00:00
martin.out martin.out: New file. 2001-01-26 22:41:41 +00:00
noclass.c calls.c (Java_calls_docall): Define with JNIEXPORT and JNICALL method attributes. 2003-01-24 17:39:49 +00:00
noclass.java throwit.out: Fixed output to be correct. 2000-04-20 19:49:14 +00:00
noclass.out noclass.c: New file. 2000-02-27 21:42:40 +00:00
overload.c calls.c (Java_calls_docall): Define with JNIEXPORT and JNICALL method attributes. 2003-01-24 17:39:49 +00:00
overload.java
overload.out
pr11951.c re PR libgcj/11951 (natMethod.cc (_Jv_CallAnyMethodA) should clear ffi_result before ffi_call) 2003-08-18 14:35:34 +00:00
pr11951.java pr11951.java: Add missing System.loadLibrary() call. 2004-05-05 21:58:54 +01:00
pr11951.out re PR libgcj/11951 (natMethod.cc (_Jv_CallAnyMethodA) should clear ffi_result before ffi_call) 2003-08-18 14:35:34 +00:00
register.c calls.c (Java_calls_docall): Define with JNIEXPORT and JNICALL method attributes. 2003-01-24 17:39:49 +00:00
register.java register.java: New file. 2000-02-18 21:15:32 +00:00
register.out register.java: New file. 2000-02-18 21:15:32 +00:00
simple_int.c calls.c (Java_calls_docall): Define with JNIEXPORT and JNICALL method attributes. 2003-01-24 17:39:49 +00:00
simple_int.java
simple_int.out
throwit.c calls.c (Java_calls_docall): Define with JNIEXPORT and JNICALL method attributes. 2003-01-24 17:39:49 +00:00
throwit.java throwit.java: New file. 2000-02-16 22:39:36 +00:00
throwit.out throwit.out: Fixed output to be correct. 2000-04-20 19:49:14 +00:00
virtual.c calls.c (Java_calls_docall): Define with JNIEXPORT and JNICALL method attributes. 2003-01-24 17:39:49 +00:00
virtual.java
virtual.out