|
Last change
on this file since 1755 was 2, checked in by bird, 23 years ago |
|
Initial revision
|
-
Property cvs2svn:cvs-rev
set to
1.1
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
|
|
File size:
667 bytes
|
| Line | |
|---|
| 1 | // JNIWeakRef.java - Wrapper class for JNI-specific weak references.
|
|---|
| 2 |
|
|---|
| 3 | /* Copyright (C) 2001 Free Software Foundation
|
|---|
| 4 |
|
|---|
| 5 | This file is part of libgcj.
|
|---|
| 6 |
|
|---|
| 7 | This software is copyrighted work licensed under the terms of the
|
|---|
| 8 | Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
|
|---|
| 9 | details. */
|
|---|
| 10 |
|
|---|
| 11 | package gnu.gcj.runtime;
|
|---|
| 12 |
|
|---|
| 13 | import java.lang.ref.*;
|
|---|
| 14 |
|
|---|
| 15 | // This wrapper is used by the JNI implementation to keep track of
|
|---|
| 16 | // global weak references. Each such reference is wrapped in an
|
|---|
| 17 | // instance of this class, and automatically unwrapped when used.
|
|---|
| 18 | public final class JNIWeakRef extends WeakReference
|
|---|
| 19 | {
|
|---|
| 20 | public JNIWeakRef (Object referent)
|
|---|
| 21 | {
|
|---|
| 22 | super (referent);
|
|---|
| 23 | }
|
|---|
| 24 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.