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
calls.java
calls.out
cxxtest.cc
cxxtest.java
cxxtest.out
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
field.java
field.out
final_method.c
final_method.java
final_method.out
findclass.c
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
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
martin.java
martin.out
noclass.c
noclass.java
noclass.out
overload.c
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
register.java
register.out
simple_int.c
simple_int.java
simple_int.out
throwit.c
throwit.java
throwit.out
virtual.c
virtual.java
virtual.out