gcc/libjava/java/lang
Andrew Haley 9dfc2ec225 jcf-parse.c (java_parse_file): Write otable and atable.
2003-10-01  Andrew Haley  <aph@redhat.com>

        * jcf-parse.c (java_parse_file): Write otable and atable.
        * java-tree.h (atable_methods): New.
        (atable_decl): New.
        (atable_syms_decl): New.
        (enum java_tree_index): Add JTI_ATABLE_METHODS, JTI_ATABLE_DECL,
        JTI_ATABLE_SYMS_DECL.  Rename JTI_METHOD_SYMBOL* to JTI_SYMBOL*.
        (symbol_*type): Rename method_symbol* to symbol*type.
        (emit_offset_symbol_table): Delete.
        (emit_symbol_table): New.
        (get_symbol_table_index): New.
        (atable_type): New.
        * expr.c (build_field_ref): Handle flag_indirect_dispatch.
        (build_known_method_ref): Likewise.
        (get_symbol_table_index): Rename from get_offset_table_index.
        Parameterize to allow re-use by differing types of symbol table.
        (build_invokevirtual): Pass table to get_offset_table_index.
        * decl.c (java_init_decl_processing): Push types and decls for
        atable and atable_syyms.
        * class.c (build_static_field_ref): Handle flag_indirect_dispatch.
        (make_class_data): Add new fields atable and atable_syms.
        (emit_symbol_table): Rename from emit_offset_symbol_table.
        Parameterize to allow re-use by different types of symbol table.
        (build_symbol_entry): Renamed from build_method_symbols_entry.

2003-10-01  Andrew Haley  <aph@redhat.com>

        * java/lang/natClass.cc (initializeClass): Check for otable and
        atable.
        (_Jv_LinkOffsetTable): Check for existence of atable.  Rewrite
        loops using for().  Search superinterfaces.  Check for fields as
        well as methods.  Initialize atable as well as otable: check for
        static methods as well as virtual methods.
        * java/lang/Class.h (struct _Jv_AddressTable): New.
        (atable): New.
        (atable_syms): New.
        * include/jvm.h (_Jv_equalUtf8Consts): constify.
        * prims.cc (_Jv_equalUtf8Consts): constify.

From-SVN: r71979
2003-10-01 16:22:13 +00:00
..
ref re PR libgcj/10596 (Reference and String.intern don't work together) 2003-09-29 21:13:55 +00:00
reflect 2003-09-25 Michael Koch <konqueror@gmx.de> 2003-09-25 20:46:14 +00:00
AbstractMethodError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
ArithmeticException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
ArrayIndexOutOfBoundsException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
ArrayStoreException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
AssertionError.java AssertionError.java: Merge with classpath, fixes HTML. 2002-09-16 09:46:37 +00:00
Boolean.java natString.cc (init): Handle case where DONT_COPY is true and OFFSET!=0. 2002-06-13 18:16:26 +00:00
Byte.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
CharSequence.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Character.java * java/lang/Character.java (forDigit): Formatting fix. 2002-12-03 20:13:43 +00:00
Class.h jcf-parse.c (java_parse_file): Write otable and atable. 2003-10-01 16:22:13 +00:00
Class.java Proxy.java (generate): Uncomment protection domain code. 2003-09-25 07:46:19 +00:00
ClassCastException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
ClassCircularityError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
ClassFormatError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
ClassLoader.java Proxy.java (generate): Uncomment protection domain code. 2003-09-25 07:46:19 +00:00
ClassNotFoundException.java ClassNotFoundException.java: New Classpath version. 2002-06-17 19:15:22 +00:00
CloneNotSupportedException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Cloneable.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Comparable.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Compiler.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Double.java Float.java, [...]: Add GCJ LOCAL markers. 2003-09-23 21:42:40 +00:00
EcosProcess.java Fix for PR libgcj/7570 and PR libgcj/7578: 2002-08-14 01:07:59 +00:00
Error.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Exception.java Merge JDK 1.4 exception chaining support from classpath. 2002-05-24 11:40:47 +01:00
ExceptionInInitializerError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Float.java Float.java, [...]: Add GCJ LOCAL markers. 2003-09-23 21:42:40 +00:00
IllegalAccessError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
IllegalAccessException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
IllegalArgumentException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
IllegalMonitorStateException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
IllegalStateException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
IllegalThreadStateException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
IncompatibleClassChangeError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
IndexOutOfBoundsException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
InheritableThreadLocal.java StrictMath.java: Typo fix. 2003-08-26 23:14:07 +00:00
InstantiationError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
InstantiationException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Integer.java natString.cc (init): Handle case where DONT_COPY is true and OFFSET!=0. 2002-06-13 18:16:26 +00:00
InternalError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
InterruptedException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
LinkageError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Long.java natString.cc (init): Handle case where DONT_COPY is true and OFFSET!=0. 2002-06-13 18:16:26 +00:00
Math.java StrictMath.java: Typo fix. 2003-08-26 23:14:07 +00:00
NegativeArraySizeException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
NoClassDefFoundError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
NoSuchFieldError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
NoSuchFieldException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
NoSuchMethodError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
NoSuchMethodException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
NullPointerException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Number.java natString.cc (init): Handle case where DONT_COPY is true and OFFSET!=0. 2002-06-13 18:16:26 +00:00
NumberFormatException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Object.h
Object.java
OutOfMemoryError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Package.java Proxy.java: New version from Classpath. 2003-03-29 01:34:23 +00:00
PosixProcess.java Fix for PR libgcj/7570 and PR libgcj/7578: 2002-08-14 01:07:59 +00:00
Process.java Process.java: Merged from classpath. 2003-03-19 12:15:04 +00:00
Runnable.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Runtime.java Runtime.java: Comment fix. 2003-07-21 01:54:06 +00:00
RuntimeException.java RuntimeException.java: Re-merge with Classpath. 2002-06-16 21:15:44 +00:00
RuntimePermission.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
SecurityException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
SecurityManager.java SecurityManager.java: Remerge comments, indenting and checkXXX methods with Classpath. 2002-12-01 16:16:19 +00:00
Short.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
StackOverflowError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
StackTraceElement.java natThrowable.cc (printRawStackTrace): removed. 2002-07-12 12:52:44 +00:00
StrictMath.java StrictMath.java: Typo fix. 2003-08-26 23:14:07 +00:00
String.java natString.cc (init(gnu.gcj.runtime.StringBuffer)): New method. 2003-07-28 16:12:00 +00:00
StringBuffer.java StringBuffer.java (substring): Don't set `shared' on small Strings, even if buffer is already shared. 2003-09-24 07:19:24 +01:00
StringIndexOutOfBoundsException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
System.java * java/lang/System.java: Add GCJ LOCAL note about encoding aliases. 2003-09-24 01:56:56 +00:00
Thread.java Thread.java (Thread): Check for null "name" from start of private constructor... 2003-08-07 02:12:27 +01:00
ThreadDeath.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
ThreadGroup.java StrictMath.java: Typo fix. 2003-08-26 23:14:07 +00:00
ThreadLocal.java StrictMath.java: Typo fix. 2003-08-26 23:14:07 +00:00
Throwable.java * java/lang/Throwable.java: Remerge with Classpath. 2002-10-04 16:47:36 +00:00
UnknownError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
UnsatisfiedLinkError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
UnsupportedClassVersionError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
UnsupportedOperationException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
VMClassLoader.java Proxy.java (generate): Uncomment protection domain code. 2003-09-25 07:46:19 +00:00
VMSecurityManager.java Makefile.in: Rebuilt. 2002-12-05 00:49:30 +00:00
VMThrowable.java natClassLoader.cc (_Jv_PrepareCompiledClass): Call _Jv_PushClass. 2002-12-03 13:50:05 +00:00
VerifyError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
VirtualMachineError.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
Void.java natString.cc (init): Handle case where DONT_COPY is true and OFFSET!=0. 2002-06-13 18:16:26 +00:00
Win32Process.java Win32Process.java (ConcreteProcess): Surround a command line element with quotes if it contains an embedded space or tab. 2003-07-27 04:13:03 +00:00
dtoa.c
e_acos.c
e_asin.c
e_atan2.c
e_exp.c
e_fmod.c
e_log.c
e_pow.c cni.h: CNI now expands to Compiled Native Interface. 2003-07-08 21:27:37 +00:00
e_rem_pio2.c
e_remainder.c
e_scalb.c
e_sqrt.c
fdlibm.h cni.h: CNI now expands to Compiled Native Interface. 2003-07-08 21:27:37 +00:00
ieeefp.h ieeefp.h: Handle ARM platforms that have pure-endian floating point. 2003-04-16 18:32:06 +00:00
k_cos.c
k_rem_pio2.c
k_sin.c
k_tan.c
mprec.c
mprec.h
natCharacter.cc
natClass.cc jcf-parse.c (java_parse_file): Write otable and atable. 2003-10-01 16:22:13 +00:00
natClassLoader.cc Proxy.java (generate): Uncomment protection domain code. 2003-09-25 07:46:19 +00:00
natDouble.cc natDouble.cc (parseDouble): Allow a number to end with the f/F/d/D modifiers. 2002-04-15 03:11:12 +00:00
natEcosProcess.cc
natFloat.cc
natMath.cc
natObject.cc * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &. 2003-03-15 01:04:08 +00:00
natPosixProcess.cc natPosixProcess.cc (cleanup): Added `path' argument. 2002-08-14 19:53:54 +00:00
natRuntime.cc [multiple changes] 2003-08-08 16:26:00 +00:00
natString.cc re PR libgcj/10596 (Reference and String.intern don't work together) 2003-09-29 21:13:55 +00:00
natStringBuffer.cc natStringBuffer.cc (regionMatches): New function. 2003-03-24 00:50:18 +00:00
natSystem.cc * java/lang/natSystem.cc (arraycopy): Check for overflow. 2003-07-23 15:31:43 +00:00
natThread.cc Makefile.in: Rebuilt. 2002-04-10 20:36:04 +00:00
natVMSecurityManager.cc natVMSecurityManager.cc (getClassContext): Use maxlen instead of len for loop bound. 2003-06-18 14:13:59 +00:00
natWin32Process.cc win32-threads.cc: (ensure_interrupt_event_initialized) New function for lazy initialization of an... 2003-09-19 08:28:43 +00:00
s_atan.c
s_ceil.c
s_copysign.c
s_cos.c
s_fabs.c
s_floor.c
s_rint.c
s_scalbn.c
s_sin.c
s_tan.c
sf_fabs.c
sf_rint.c
strtod.c
w_acos.c
w_asin.c
w_atan2.c
w_exp.c w_exp.c (o_threshold, [...]): Define only if _IEEE_LIBM is undefined. 2003-06-06 03:34:36 +00:00
w_fmod.c
w_log.c
w_pow.c
w_remainder.c
w_sqrt.c