FSF GCC merge 02/23/03
[official-gcc.git] / libjava / gnu / gcj / runtime / JNIWeakRef.java
blobc0c76cdb6f516ee2225dec5526185011822291c5
1 // JNIWeakRef.java - Wrapper class for JNI-specific weak references.
3 /* Copyright (C) 2001 Free Software Foundation
5 This file is part of libgcj.
7 This software is copyrighted work licensed under the terms of the
8 Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
9 details. */
11 package gnu.gcj.runtime;
13 import java.lang.ref.*;
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
20 public JNIWeakRef (Object referent)
22 super (referent);