2005-02-22 Michael Koch <konqueror@gmx.de>
* java/nio/DirectByteBufferImpl.java (owner): Fixed formatting of javadoc. * java/text/DateFormat.java (getAvailableLocales): Fixed formatting. * java/text/SimpleDateFormat.java: Fixed formatting and import statement order. * java/util/Calendar.java (Calendar): Fixed javadoc to be HTML compliant. * java/util/SimpleTimeZone.java: Fixed javadocs. From-SVN: r95392
This commit is contained in:
parent
44f3667679
commit
a010a29561
6 changed files with 37 additions and 21 deletions
|
@ -42,18 +42,19 @@ import gnu.gcj.RawData;
|
|||
|
||||
abstract class DirectByteBufferImpl extends ByteBuffer
|
||||
{
|
||||
/** The owner is used to keep alive the object that actually owns the
|
||||
* memory. There are three possibilities:
|
||||
* 1) owner == this: We allocated the memory and we should free it,
|
||||
* but *only* in finalize (if we've been sliced
|
||||
* other objects will also have access to the
|
||||
* memory).
|
||||
* 2) owner == null: The byte buffer was created thru
|
||||
* JNI.NewDirectByteBuffer. The JNI code is
|
||||
* responsible for freeing the memory.
|
||||
* 3) owner == some other object: The other object allocated the
|
||||
* memory and should free it.
|
||||
*/
|
||||
/**
|
||||
* The owner is used to keep alive the object that actually owns the
|
||||
* memory. There are three possibilities:
|
||||
* 1) owner == this: We allocated the memory and we should free it,
|
||||
* but *only* in finalize (if we've been sliced
|
||||
* other objects will also have access to the
|
||||
* memory).
|
||||
* 2) owner == null: The byte buffer was created thru
|
||||
* JNI.NewDirectByteBuffer. The JNI code is
|
||||
* responsible for freeing the memory.
|
||||
* 3) owner == some other object: The other object allocated the
|
||||
* memory and should free it.
|
||||
*/
|
||||
private final Object owner;
|
||||
|
||||
static final class ReadOnly extends DirectByteBufferImpl
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue