harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dlyd...@apache.org
Subject svn commit: r565149 - /harmony/enhanced/sandbox/bootjvm/bootJVM/jvm/src/classfile.h
Date Sun, 12 Aug 2007 21:05:05 GMT
Author: dlydick
Date: Sun Aug 12 14:05:04 2007
New Revision: 565149

URL: http://svn.apache.org/viewvc?view=rev&rev=565149
Log:
Include 'classpath.h' for typedef (struct classpath_search).

Added classfile_read() prototype which needs classpath_search.

Modified:
    harmony/enhanced/sandbox/bootjvm/bootJVM/jvm/src/classfile.h

Modified: harmony/enhanced/sandbox/bootjvm/bootJVM/jvm/src/classfile.h
URL: http://svn.apache.org/viewvc/harmony/enhanced/sandbox/bootjvm/bootJVM/jvm/src/classfile.h?view=diff&rev=565149&r1=565148&r2=565149
==============================================================================
--- harmony/enhanced/sandbox/bootjvm/bootJVM/jvm/src/classfile.h (original)
+++ harmony/enhanced/sandbox/bootjvm/bootJVM/jvm/src/classfile.h Sun Aug 12 14:05:04 2007
@@ -884,6 +884,7 @@
         jvm_class_index clsidxJVM;   /**< JVM class table index of
                                           this class */
 
+#warning Confusion between field index and field lookup index.
         jvm_field_index fluidxJVM;   /**< JVM class table field lookup
                                         index of this field */
 
@@ -2855,11 +2856,12 @@
 
 /* Prototypes for functions in 'classfile.c' */
 
+#include "classpath.h" /* Need classpath_search typedef */
+
 extern ClassFile *classfile_allocate_primative(jvm_basetype basetype);
 extern ClassFile *classfile_load_classdata(u1     *classfile_image);
 extern rvoid classfile_unload_classdata(ClassFile *pcfs);
-extern u1 *classfile_read_classfile(rchar *filename);
-extern u1 *classfile_read_jarfile(rchar *filename);
+extern u1 *classfile_read(classpath_search *pcpsr, rboolean freecpsr);
 
 /* Prototypes for functions in 'cfattrib.c' */
 extern u1 *cfattrib_load_elementvalue(ClassFile              *pcfs,



Mime
View raw message