Source for gnu.gcj.runtime.JNIWeakRef

   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: }