source: trunk/gcc/libjava/gnu/gcj/runtime/JNIWeakRef.java

Last change on this file was 2, checked in by bird, 22 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
7This software is copyrighted work licensed under the terms of the
8Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
9details. */
10
11package gnu.gcj.runtime;
12
13import 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.
18public 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.