summaryrefslogtreecommitdiffstats
path: root/libjava/java
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2000-01-26 00:55:50 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2000-01-26 00:55:50 +0000
commit5b531d6bcb6f441a52d7f7ec75ea61dfd4fbd835 (patch)
tree6c3038a38358879f55bd5b4e821d7309ad027cca /libjava/java
parent655ee98ed1239f4c9fb067ae0b52ed1691451597 (diff)
downloadppe42-gcc-5b531d6bcb6f441a52d7f7ec75ea61dfd4fbd835.tar.gz
ppe42-gcc-5b531d6bcb6f441a52d7f7ec75ea61dfd4fbd835.zip
* gcj/field.h (struct _Jv_Field): Use "jshort" as type for
nameIndex. Use "jint" as type for boffset. * java/lang/Class.h (struct _Jv_Method): Made accflags a _Jv_ushort. (Class): Likewise. Also changed type of method_count, vtable_method_count, size_in_bytes, field_count, static_field_count, interface_count. * gcj/array.h (__JArray): Made `length' a const jsize, not an int. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31621 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java')
-rw-r--r--libjava/java/lang/Class.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/libjava/java/lang/Class.h b/libjava/java/lang/Class.h
index 84834f3120c..b7477c7e272 100644
--- a/libjava/java/lang/Class.h
+++ b/libjava/java/lang/Class.h
@@ -58,7 +58,7 @@ struct _Jv_Method
{
_Jv_Utf8Const *name;
_Jv_Utf8Const *signature;
- unsigned short accflags;
+ _Jv_ushort accflags;
void *ncode;
_Jv_Method *getNextMethod ()
@@ -229,7 +229,7 @@ private:
// Name of class.
_Jv_Utf8Const *name;
// Access flags for class.
- unsigned short accflags;
+ _Jv_ushort accflags;
// The superclass, or null for Object.
jclass superclass;
// Class constants.
@@ -240,17 +240,17 @@ private:
_Jv_Method *methods;
// Number of methods. If this class is primitive, this holds the
// character used to represent this type in a signature.
- short method_count;
+ jshort method_count;
// Number of methods in the vtable.
- short vtable_method_count;
+ jshort vtable_method_count;
// The fields.
_Jv_Field *fields;
// Size of instance fields, in bytes.
- int size_in_bytes;
+ jint size_in_bytes;
// Total number of fields (instance and static).
- short field_count;
+ jshort field_count;
// Number of static fields.
- short static_field_count;
+ jshort static_field_count;
// The vtbl for all objects of this class.
_Jv_VTable *vtable;
// Interfaces implemented by this class.
@@ -258,7 +258,7 @@ private:
// The class loader for this class.
java::lang::ClassLoader *loader;
// Number of interfaces.
- short interface_count;
+ jshort interface_count;
// State of this class.
jbyte state;
// The thread which has locked this class. Used during class
OpenPOWER on IntegriCloud