d2ba8a75ef
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 |
||
---|---|---|
.. | ||
bytebuffer.c | ||
bytebuffer.java | ||
bytebuffer.out | ||
calls.c | ||
calls.java | ||
calls.out | ||
cxxtest.cc | ||
cxxtest.java | ||
cxxtest.out | ||
directbuffer.c | ||
directbuffer.java | ||
directbuffer.out | ||
field.c | ||
field.java | ||
field.out | ||
final_method.c | ||
final_method.java | ||
final_method.out | ||
findclass.c | ||
findclass.java | ||
findclass.out | ||
iface.c | ||
iface.java | ||
iface.out | ||
invoke.c | ||
invoke.java | ||
invoke.out | ||
jni.exp | ||
jniutf.c | ||
jniutf.java | ||
jniutf.out | ||
martin.c | ||
martin.java | ||
martin.out | ||
noclass.c | ||
noclass.java | ||
noclass.out | ||
overload.c | ||
overload.java | ||
overload.out | ||
pr11951.c | ||
pr11951.java | ||
pr11951.out | ||
PR15133.c | ||
PR15133.java | ||
PR15133.out | ||
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 |