Source for gnu.gcj.RawDataManaged

   1: /* Copyright (C) 2004  Free Software Foundation
   2: 
   3:    This file is part of libgcj.
   4: 
   5: This software is copyrighted work licensed under the terms of the
   6: Libgcj License.  Please consult the file "LIBGCJ_LICENSE" for
   7: details.  */
   8: 
   9: package gnu.gcj;
  10: 
  11: /** A type used to indicate special data used by native code. Unlike the 
  12:     <code>RawData</code> type, fields declared as <code>RawDataManaged</code> 
  13:     will be "marked" by the memory manager and considered for garbage 
  14:     collection.  
  15:     
  16:     Native data which is allocated using CNI's <code>JvAllocBytes()</code> 
  17:     function and stored in a <code>RawDataManaged</code> will be automatically 
  18:     freed when the Java object it is associated with becomes unreachable.  */
  19: 
  20: public final class RawDataManaged
  21: {
  22:    private RawDataManaged() { }
  23: }