Import GNU Classpath (libgcj-import-20081021).
2008-10-22 Matthias Klose <doko@ubuntu.com> Import GNU Classpath (libgcj-import-20081021). * Regenerate class and header files. * Regenerate auto* files. From-SVN: r141302
This commit is contained in:
parent
51c869cac9
commit
58ddc179d4
20 changed files with 242 additions and 550 deletions
|
@ -49,7 +49,8 @@ final class ShortViewBufferImpl extends ShortBuffer
|
|||
ShortViewBufferImpl (ByteBuffer bb, int capacity)
|
||||
{
|
||||
super (capacity, capacity, 0, -1, bb.isDirect() ?
|
||||
VMDirectByteBuffer.adjustAddress(bb.address, bb.position()):null, null, 0);
|
||||
VMDirectByteBuffer.adjustAddress(bb.address, bb.position()):null,
|
||||
null, 0);
|
||||
this.bb = bb;
|
||||
this.offset = bb.position();
|
||||
this.readOnly = bb.isReadOnly();
|
||||
|
@ -61,7 +62,8 @@ final class ShortViewBufferImpl extends ShortBuffer
|
|||
boolean readOnly, ByteOrder endian)
|
||||
{
|
||||
super (capacity, limit, position, mark, bb.isDirect() ?
|
||||
VMDirectByteBuffer.adjustAddress(bb.address, offset):null, null, 0);
|
||||
VMDirectByteBuffer.adjustAddress(bb.address, offset):null,
|
||||
null, 0);
|
||||
this.bb = bb;
|
||||
this.offset = offset;
|
||||
this.readOnly = readOnly;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue