- 03 Dec, 2002 15 commits
-
-
* java/util/jar/JarFile.java (manifest): Not final. (manifestRead): New field. (JarFile): Don't read Manifest in constructor. (getManifest): New method. (JarEnumeration.nextElement): Use new method. (getEntry): Likewise. * java/util/zip/ZipFile.java (name): Final. (raf): Likewsie. (entries): Change type to Hashtable. (closed): New field. (ZipFile): Don't read enties in constructor. (readEntries): Use Hashtable. (close): Set new close flag and set entries to null inside synchronized block. (entries): Contruct enumeration using new getEntries() method and entries Hashtable. (getEntryIndex): Removed. (getEntries): New method. (getEntry): Use new getEntries() method and entries Hastable. (getInputStream): Likewise. (size): Return getEntries().size(). (ZipEntryEnumeration): Wrap entries Hashtable elements. * java/util/zip/ZipEntry.java (cal): Don't initialize. (time): Removed (dostime): New field. (zipFileIndex): Removed. (ZipEntry(ZipEntry)): Copy dostime. (setDOSTime): Now final and doesn't convert dos time. (getDOSTime): Likewise. (setTime): Convert dos time. (getTime): Likewise. (getCalendar): New method. (setExtra): Use setTime(). * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg. From-SVN: r59785
Mark Wielaard committed -
From-SVN: r59784
Richard Henderson committed -
* bitmap.c (bitmap_ior_and_compl, bitmap_union_of_diff): Initialize tmp.using_obstack to 0. From-SVN: r59782
Hans-Peter Nilsson committed -
From-SVN: r59781
Tom Tromey committed -
* config/m68k/m68k.h (EH_RETURN_DATA_REGNO): Define. (EH_RETURN_STACKADJ_RTX): Define. (EH_RETURN_HANDLER_RTX): Define. (ASM_PREFERRED_EH_DATA_FORMAT): Define. * config/m68k/m68k.c (m68k_save_reg): New function. Handle eh registers and don't save fixed registers. (m68k_output_function_prologue): Use it. (use_return_insn): Likewise. (m68k_output_function_epilogue): Likewise. From-SVN: r59780
Andreas Schwab committed -
2002-12-03 Raif Naffah <raif@fl.net.au> * java/security/spec/DSAParameterSpec.java (getP): Return p, not q. * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise. * java/security/spec/DSAPublicKeySpec.java (getP): Likewise. From-SVN: r59779
Raif Naffah committed -
* call.c (build_user_type_conversion_1): Don't set ICS_BAD_FLAG on an ambiguous conversion. From-SVN: r59775
Jason Merrill committed -
* config/h8300/h8300.c (single_one_operand): Fix a warning. (single_zero_operand): Likewise. From-SVN: r59772
Kazu Hirata committed -
2002-12-03 Andrew Haley <aph@redhat.com> * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call _Jv_PushClass. (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL. (_Jv_PopClass): New. (_Jv_PushClass): New. * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to discover the ClassLoader of our caller. (_Jv_CheckArrayStore): Don't check that a class is assignment compatible with Object. * java/lang/natVMTHrowable.cc: Delete. * gnu/gcj/runtime/StackTrace.java: New, partly copied from java.lang.VMThrowable. (StackTrace(), StackTrace(int)): New constructors. (classAt, methodAt, update, methodAtAddress): New methods. (map): New field. * java/lang/VMThrowable.java: Use StackTrace instead of natVMTHrowable. * java/lang/Class.h (getClassLoaderInternal): New. (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass. Be friendly with gnu::gcj::runtime::StackTrace. (Object.chain): New field. * include/java-interp.h (class _Jv_InterpMethod): Be friendly with gnu::gcj::runtime::StackTrace. * gnu/gcj/runtime/natStackTrace.cc: New file. * gnu/gcj/runtime/MethodRef.java: New file. * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal() instead of getClassLoader(). * verify.cc (class _Jv_BytecodeVerifier): Likewise. java::lang::VMThrowable. * Makefile.am (core_java_source_files): Add MethodRef.java, StackTrace.java. (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc. * Makefile.in: Rebuild. From-SVN: r59771
Andrew Haley committed -
2002-12-03 Andrew Haley <aph@redhat.com> * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call _Jv_PushClass. (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL. (_Jv_PopClass): New. (_Jv_PushClass): New. * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to discover the ClassLoader of our caller. (_Jv_CheckArrayStore): Don't check that a class is assignment compatible with Object. * java/lang/natVMTHrowable.cc: Delete. * gnu/gcj/runtime/StackTrace.java: New, partly copied from java.lang.VMThrowable. (StackTrace(), StackTrace(int)): New constructors. (classAt, methodAt, update, methodAtAddress): New methods. (map): New field. * java/lang/VMThrowable.java: Use StackTrace instead of natVMTHrowable. * java/lang/Class.h (getClassLoaderInternal): New. (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass. Be friendly with gnu::gcj::runtime::StackTrace. (Object.chain): New field. * include/java-interp.h (class _Jv_InterpMethod): Be friendly with gnu::gcj::runtime::StackTrace. * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal() instead of getClassLoader(). * verify.cc (class _Jv_BytecodeVerifier): Likewise. java::lang::VMThrowable. * Makefile.am (core_java_source_files): Add MethodRef.java, StackTrace.java. (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc. * Makefile.in: Rebuild. From-SVN: r59770
Andrew Haley committed -
2002-12-03 Andrew Haley <aph@redhat.com> * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call _Jv_PushClass. (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL. (_Jv_PopClass): New. (_Jv_PushClass): New. * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to discover the ClassLoader of our caller. (_Jv_CheckArrayStore): Don't check that a class is assignment compatible with Object. * java/lang/natVMTHrowable.cc: Delete. * gnu/gcj/runtime/StackTrace.java: New, partly copied from java.lang.VMThrowable. (StackTrace(), StackTrace(int)): New constructors. (classAt, methodAt, update, methodAtAddress): New methods. (map): New field. * java/lang/VMThrowable.java: Use StackTrace instead of natVMTHrowable. * java/lang/Class.h (getClassLoaderInternal): New. (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass. Be friendly with gnu::gcj::runtime::StackTrace. (Object.chain): New field. * include/java-interp.h (class _Jv_InterpMethod): Be friendly with gnu::gcj::runtime::StackTrace. * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal() instead of getClassLoader(). * verify.cc (class _Jv_BytecodeVerifier): Likewise. java::lang::VMThrowable. * Makefile.am (core_java_source_files): Add MethodRef.java, StackTrace.java. (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc. * Makefile.in: Rebuild. 2002-12-03 Andrew Haley <aph@redhat.com> * class.c (make_class_data): New field, "chain". * decl.c (java_init_decl_processing): Likewise. From-SVN: r59769
Andrew Haley committed -
PR c++/8688 * decl.c (reshape_init): Handle erroneous initializers. PR c++/8688 * g++.dg/init/brace3.C: New test. From-SVN: r59768
Mark Mitchell committed -
From-SVN: r59766
GCC Administrator committed -
PR c++/8720 * spew.c (remove_last_token): Make sure that last_chunk is set correctly. PR c++/8615 * error.c (dump_expr): Handle character constants with TREE_OVERFLOW set. PR c++/8720 * g++.dg/parse/defarg1.C: New test. PR c++/8615 * g++.dg/template/char1.C: New test. From-SVN: r59757
Mark Mitchell committed -
* jni.cc: Added `name' argument. * include/jni.h (struct JNINativeInterface) [DefineClass]: Added `const char *' argument. (class _Jv_JNIEnv) [DefineClass]: Likewise. From-SVN: r59756
Tom Tromey committed
-
- 02 Dec, 2002 19 commits
-
-
* config/h8300/h8300.c (dosize): Replace argument op with sign. (h8300_output_function_prologue): Update the call to dosize. (h8300_output_function_epilogue): Likewise. From-SVN: r59746
Kazu Hirata committed -
2002-12-02 Paolo Carlini <pcarlini@unitus.it> * include/bits/basic_string.h (compare(const basic_string&)): Fully qualify min() with std::. From-SVN: r59745
Paolo Carlini committed -
* java/io/CharArrayWriter.java (close): Do nothing. (flush): Likewise. (reset): Don't touch `closed'. (write(int)): Don't throw IOException. (write(char[],int,int)): Likewise. (write(String,int,int)): Likewise. (closed): Removed. From-SVN: r59743
Tom Tromey committed -
From-SVN: r59740
Bob Wilson committed -
From-SVN: r59736
Kazu Hirata committed -
* configure.in: Use "missing" script to generate warning if flex or bison programs not found, instead of invoking "false". * configure: Rebuilt. From-SVN: r59735
Craig Rodrigues committed -
From-SVN: r59733
Mark Mitchell committed -
From-SVN: r59732
Jan Hubicka committed -
2002-12-02 Benjamin Kosnik <bkoz@redhat.com> * configure.in (libtool_VERSION): Update to 5:2:0. * configure: Regenerate. From-SVN: r59729
Benjamin Kosnik committed -
* parse.y (do_resolve_class): Handle qualified name via recursion. From-SVN: r59728
Tom Tromey committed -
basic_string.tcc (basic_string::append(const basic_string&, size_type, size_type), [...]): Fully qualify min() with std::. 2002-12-02 Paolo Carlini <pcarlini@unitus.it> * include/bits/basic_string.tcc (basic_string::append(const basic_string&, size_type, size_type), basic_string::compare(size_type, size_type, const basic_string&), basic_string::compare(size_type, size_type, const basic_string&, size_type, size_type), basic_string::compare(const _CharT*), basic_string:: compare(size_type, size_type, const _CharT*), basic_string::compare(size_type, size_type, const _CharT*, size_type), _S_string_copy(const basic_string&, _CharT*, typename _Alloc::size_type)): Fully qualify min() with std::. 2002-12-02 Paolo Carlini <pcarlini@unitus.it> * include/bits/basic_string.tcc (basic_string::_S_construct(_InIter, _InIter, const _Alloc&, forward_iterator_tag)): Delay the declaration of __dnew, fully qualify distance() with std::. (basic_string::_M_replace_safe): Fully qualify distance() with std::. From-SVN: r59726
Paolo Carlini committed -
From-SVN: r59724
Jan Hubicka committed -
DR 180 * decl.c (grokdeclarator): Require class-key for all friend class. Output the correct type and context in the error message. * g++.old-deja/g++.pt/crash32.C: Expect error. From-SVN: r59719
Kriang Lerdsuwanakij committed -
* config/h8300/h8300.c (dosize): Output r7/er7 instead of sp. (push): Likewise. (pop): Likewise. (h8300_output_function_prologue): Likewise. (h8300_output_function_epilogue): Likewise. From-SVN: r59718
Kazu Hirata committed -
* expmed.c (store_bit_field): Use int_mode_for_mode to find corresponding mode of non-integer mode, unless it is VOIDmode. From-SVN: r59716
J"orn Rennecke committed -
* config/h8300/h8300.md (stm_h8300s_2): New. (stm_h8300s_3): Likewise. (stm_h8300s_4): Likewise. (five define_peephole2): Likewise. From-SVN: r59715
Kazu Hirata committed -
From-SVN: r59712
GCC Administrator committed -
From-SVN: r59705
Kazu Hirata committed -
* config/h8300/h8300.c (h8300_output_function_prologue): Remove variable idx. (h8300_output_function_epilogue): Likewise. From-SVN: r59703
Kazu Hirata committed
-
- 01 Dec, 2002 6 commits
-
-
* libjava.jacks/jacks.exp (gcj_jacks_setup_xfail): New function. (gcj_jacks_parse): Use it; set up xfails. * libjava.jacks/jacks.xfail: New file. From-SVN: r59702
Tom Tromey committed -
PR c++/5919 * g++.dg/template/varmod1.C: New test. PR c++/5919 * pt.c (unify): Use variably_modified_type_p to test validity of template argument types. From-SVN: r59698
Mark Mitchell committed -
PR c++/8727 * g++.dg/inherit/typeinfo1.C: New test. PR c++/8663 * g++.dg/inherit/typedef1.C: New test. PR c++/8727 * cp-tree.h (lang_type_class): Add typeinfo_var. (CLASSTYPE_TYPEINFO_VAR): New macro. * rtti.c (get_tinfo_decl): Use it. PR c++/8663 * init.c (expand_member_init): Always get the main variant of a base class. From-SVN: r59694
Mark Mitchell committed -
From-SVN: r59693
Zack Weinberg committed -
From-SVN: r59690
Kazu Hirata committed -
PR c++/8332 PR c++/8493 * decl.c (cxx_init_decl_processing): Use size_type_node, not c_size_type_node. * decl2.c (coerce_new_type): Likewise. * except.c (do_allocate_exception): Likewise. * builtin-types.def (BT_SIZE): Use size_type_node. * builtins.c (fold_builtin): Make the builtin strlen returns a size_t, not a sizetype. * c-common.c (c_sizeof_or_alignof_type): Use size_type_node, not c_size_type_node. (c_alignof_expr): Likewise. (c_common_nodes_and_builtins): Likewise. * c-common.h (CTI_C_SIZE_TYPE): Remove. (c_size_type_node): Likewise. * c-format.c (T_ST): Use size_type_node, not c_size_type_node. * tree.h (TI_SIZE_TYPE): New enumeral. (size_type_node): Likewise. PR c++/8332 PR c++/8493 * g++.dg/template/strlen1.C: New test. From-SVN: r59689
Mark Mitchell committed
-