summaryrefslogtreecommitdiffstats
path: root/libjava
Commit message (Collapse)AuthorAgeFilesLines
...
* fastjartromey2006-04-048-35/+76
| | | | | | | | | | | | | | Removed libjava * Makefile.in: Rebuilt. * Makefile.am (ZIP): Removed. (libgcj-$(gcc_version).jar): Use $(JAR). (src.zip): Likewise. * configure: Rebuilt. * configure.ac: Check for jar. Removed code to set ZIP. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112654 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-04-03 Andrew Haley <aph@redhat.com>aph2006-04-033-0/+142
| | | | | | | | * testsuite/libjava.lang/Float_2.java: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112636 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-03-31 Andreas Tobler <a.tobler@schweiz.ch>andreast2006-03-312-1/+5
| | | | | | | * posix.cc (_Jv_platform_nanotime): Declare id with clockid_t. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112587 138bc75d-0d04-0410-961f-82ee72b054a4
* * aclocal.m4, configure, Makefile.in: Rebuilt.tromey2006-03-305-39/+126
| | | | | | * configure.ac: Use AM_MAINTAINER_MODE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112542 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/javatromey2006-03-302-0/+17
| | | | | | | | | | | | PR java/26042: * parse.y (java_reorder_fields): Reset superclass field's size as well. libjava PR java/26042: * testsuite/libjava.compile/pr26042.java: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112540 138bc75d-0d04-0410-961f-82ee72b054a4
* PR gcc/26901:tromey2006-03-293-8/+19
| | | | | | | | * Makefile.in: Rebuilt. * Makefile.am (SUBDIRS): Remove 'tools'. (DIST_SUBDIRS): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112510 138bc75d-0d04-0410-961f-82ee72b054a4
* * sources.am, Makefile.in: Rebuilt.tromey2006-03-294-1/+44
| | | | | | * scripts/makemake.tcl: Scan classpath/external/relaxngDatatype. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112506 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-03-29 Andreas Tobler <a.tobler@schweiz.ch>andreast2006-03-293-3/+31
| | | | | | | | | * acinclude.m4: Restore the situation that we don't build modules on darwin. * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112503 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/javatromey2006-03-296-5/+102
| | | | | | | | | | | | | | | | PR java/26390: * parse.y (find_most_specific_methods_list): Added 'class' argument. (lookup_method_invoke): Updated. libjava PR java/26390: * testsuite/libjava.lang/pr26390.out: New file. * testsuite/libjava.lang/pr26390.java: New file. * sources.am, Makefile.in: Rebuilt. * scripts/makemake.tcl: Compile gnu/java/awt/peer/swing. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112499 138bc75d-0d04-0410-961f-82ee72b054a4
* * posix.cc (_Jv_platform_nanotime): Look for CLOCK_MONOTONIC andtromey2006-03-292-1/+14
| | | | | | CLOCK_HIGHRES. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112494 138bc75d-0d04-0410-961f-82ee72b054a4
* Correcting PR number in ChangeLog:tromey2006-03-281-1/+1
| | | | | | | | PR libgcj/26441: * Merged libltdl 1.5.16 from vendor branch. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112465 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libgcj/26641:tromey2006-03-2814-2446/+3845
| | | | | | * Merged libltdl 1.5.16 from vendor branch. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112464 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-03-28 Anthony Balkissoon <abalkiss@redhat.com>abalkiss2006-03-285-886/+3110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * scripts/unicode-muncher.pl: Removed this file. * scripts/MakeCharTables.java: Likewise. * scripts/unicode-to-chartables.pl: New file. * java/lang/natCharacter.cc: (UNASSIGNED_TYPE): New field. (UNASSIGNED_DIGIT): Likewise. (UNASSIGNED_DIRECTION): Likewise. (UNASSIGNED_NUMERIC_VALUE): Likewise. (PRIVATE_TYPE): Likewise. (PRIVATE_DIRECTION): Likewise. (readCodePoint): New method. (getType(jint)): Likewise. (toLowerCase(jint)): Likewise. (toUpperCase(jint)): Likewise. (toTitleCase(jint)): Likewise. (digit(jint, jint)): Likewise. (getNumericValue(jint)): Likewise. (getDirectionality(jint)): Likewise. (readChar), (getType(jchar)), (toLowerCase(jchar)), (toUpperCase(jchar)), (toTitleCase(jchar)), (digit(jchar, jint)), (getNumericValue(jchar)), (getDirectionality(jchar)): Changed references from data to data[0], blocks to blocks[0], direction to direction[0], numValue to numValue[0], upper to upper[0], lower to lower[0], and shift to shift[0] to reflect the new structures in java-chartables.h. * java/lang/Character.java: (readCodePoint): Declared new native method. (getType(int)): Likewise. (toLowerCase(int)): Likewise. (toUpperCase(int)): Likewise. (toTitleCase(int)): Likewise. (digit(int, int)): Likewise. (getNumericValue(int)): Likewise. (getDirectionality(int)): Likewise. (isLowerCase(int)): New method. (isUpperCase(int)): Likewise. (itTitleCase(int)): Likewise. (isDigit(int)): Likewise. (isDefined(int)): Likewise. (isLetter(int)): Likewise. (isLetterOrDigit(int)): Likewise. (isJavaIdentifierStart(int)): Likewise. (isJavaIdentifierPart(int)): Likewise. (isUnicodeIdentifierStart(int)): Likewise. (isUnicodeIdentifierPart(int)): Likewise. (isIdentifierIgnorable(int)): Likewise. (isSpaceChar(int)): Likewise. (isWhitespace(int)): Likewise. (isISOControl(int)): Likewise. (isMirrored(int)): Likewise. * include/java-chartables.h: Generated from scripts/unicode-to-chartables.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112454 138bc75d-0d04-0410-961f-82ee72b054a4
* * testsuite/libjava.lang/PR26858.java: New test.daney2006-03-254-0/+2085
| | | | | | | | * testsuite/libjava.lang/PR26858.out: Ditto. * testsuite/libjava.lang/PR26858.xfail: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112374 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libgcj/26706:tromey2006-03-164-185/+409
| | | | | | | * aclocal.m4, configure: Rebuilt. * configure.ac (GCC_NO_EXECUTABLES): Moved earlier. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112142 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/sh/linux-unwind.h (shmedia_fallback_frame_state): Setkkojima2006-03-162-23/+7
| | | | | | | | | | | | fs->signal_frame. (sh_fallback_frame_state): Likewise. * include/sh-signal.h (MAKE_THROW_FRAME): Change into empty macro. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112122 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libgcj/26688:tromey2006-03-163-4/+13
| | | | | | | | * lib/Makefile.in: Rebuilt. * lib/Makefile.am (propertydirs): Ignore .svn directories. (metafiles): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112115 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/javatromey2006-03-162-1/+5
| | | | | | | | | | | * jcf-write.c (generate_bytecode_insns): Use qualifying type for non-static method calls. libjava * testsuite/libjava.jacks/jacks.xfail: Removed 13.1-runtime-method-5. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112102 138bc75d-0d04-0410-961f-82ee72b054a4
* Correctly reference PR java/26638 in ChangeLogstromey2006-03-151-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112094 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/javatromey2006-03-152-9/+23
| | | | | | | | | | | | | PR java/26390: * class.c (get_interface_method_index): Don't put <clinit> into interface table. libjava PR java/26390: * link.cc (get_interfaces): Skip <clinit>. (append_partial_itable): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112093 138bc75d-0d04-0410-961f-82ee72b054a4
* libjavatromey2006-03-1010-878/+48
| | | | | | | | | | | | | | | | | PR libgcj/25713: * java/util/zip/Deflater.java (flush): New method. * sources.am, Makefile.in: Rebuilt. * java/util/zip/DeflaterOutputStream.java: Removed. * java/util/zip/InflaterInputStream.java: Likewise. * java/util/zip/GZIPInputStream.java: Likewise. * java/util/zip/GZIPOutputStream.java: Likewise. libjava/classpath For PR libgcj/25713: * java/util/zip/InflaterInputStream.java (read): Replaced with libgcj implementation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111949 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-03-10 Andreas Tobler <a.tobler@schweiz.ch>andreast2006-03-102-1/+5
| | | | | | | * include/powerpc-signal.h: Fix typo in comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111944 138bc75d-0d04-0410-961f-82ee72b054a4
* Imported GNU Classpath 0.90mark2006-03-101367-22567/+188594
| | | | | | | | | | | | | | | | | | | | | * scripts/makemake.tcl: Set gnu/java/awt/peer/swing to ignore. * gnu/classpath/jdwp/VMFrame.java (SIZE): New constant. * java/lang/VMCompiler.java: Use gnu.java.security.hash.MD5. * java/lang/Math.java: New override file. * java/lang/Character.java: Merged from Classpath. (start, end): Now 'int's. (canonicalName): New field. (CANONICAL_NAME, NO_SPACES_NAME, CONSTANT_NAME): New constants. (UnicodeBlock): Added argument. (of): New overload. (forName): New method. Updated unicode blocks. (sets): Updated. * sources.am: Regenerated. * Makefile.in: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111942 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libgcj/23495:tromey2006-03-102-57/+51
| | | | | | | | | | | | | | | * java/lang/natString.cc (_Jv_NewString): Use memcpy. (equals): Use memcmp. (contentEquals): Likewise. (getChars): Use memcpy. (toCharArray): Likewise. (regionMatches): Use memcmp. (regionMatches): Likewise. (startsWith): Likewise. (concat): Use memcpy. (valueOf): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111919 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure: Rebuilt.tromey2006-03-093-2/+14
| | | | | | | * configure.ac (HAVE_CLOCK_GETTIME): Put -lrt in THREADLIBS as well. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111912 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libgcj/24461:tromey2006-03-092-3/+11
| | | | | | | * java/util/zip/InflaterInputStream.java (fill): Throw exception if stream is truncated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111870 138bc75d-0d04-0410-961f-82ee72b054a4
* * win32.cc (_Jv_platform_nanotime): New function.tromey2006-03-0914-6/+167
| | | | | | | | | | | | * include/win32.h (_Jv_platform_nanotime): Declare. * posix.cc (_Jv_platform_nanotime): New function. * include/posix.h (_Jv_platform_nanotime): Declare. * java/lang/natSystem.cc (nanoTime): New method. * java/lang/System.java (nanoTime): Declare. * include/config.h.in, configure: Rebuilt. * configure.ac: Check for clock_gettime. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111869 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/java/daney2006-03-084-4/+119
| | | | | | | | | | | | | | | | | | | | 2006-03-08 David Daney <ddaney@avtrex.com> * gcj.texi: Document -static-libgcj option. libjava/ 2006-03-08 David Daney <ddaney@avtrex.com> * configure.ac (LD): Add AC_CHECK_TOOL for ld. (LD_START_STATIC_SPEC): New AC_SUBST, set with ld check. (LD_FINISH_STATIC_SPEC): Ditto * configure: Regenerated. * libgcj.spec.in: Wrap -lgcj in LD_START_STATIC_SPEC and LD_FINISH_STATIC_SPEC. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111847 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libgcj/24183:tromey2006-03-083-17/+53
| | | | | | | | * native/jni/xmlj/Makefile.in: Rebuilt. * native/jni/xmlj/Makefile.am (nativelib_LTLIBRARIES): Renamed (reverted local patch). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111844 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libgcj/26103:tromey2006-03-073-3/+14
| | | | | | | | | * java/lang/ClassLoader.java (loadClass): Don't throw StringIndexOutOfBoundsException if name is empty. * java/lang/natClassLoader.cc (loadClassFromSig): Throw exception if class not found. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111820 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/java-interp.h: Removed extern "C" around #include <ffi.h>.daney2006-03-072-2/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111816 138bc75d-0d04-0410-961f-82ee72b054a4
* * link.cc: Include ffi.h if USE_LIBFFI defined.daney2006-03-072-0/+8
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111815 138bc75d-0d04-0410-961f-82ee72b054a4
* * interpret.cc (do_allocate_static_fields): Added comment.tromey2006-03-032-1/+15
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111683 138bc75d-0d04-0410-961f-82ee72b054a4
* PR java/24321:tromey2006-03-014-4/+35
| | | | | | | | | * testsuite/libjava.lang/pr24321.java: New file. * testsuite/libjava.lang/pr24321.out: New file. * java/lang/natClass.cc (isInstance): Don't initialize class. (isAssignableFrom): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111603 138bc75d-0d04-0410-961f-82ee72b054a4
* PR other/26208jakub2006-02-275-49/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * unwind-dw2.c (struct _Unwind_Context): Add signal_frame field. (extract_cie_info): Handle S flag in augmentation string. (execute_cfa_program): If context->signal_frame, execute also fs->pc == context->ra instructions. (uw_frame_state_for): If context->signal_frame, don't subtract one from context->ra to find FDE. (uw_update_context_1): Set context->signal_frame to fs->signal_frame. (_Unwind_GetIPInfo): New function. * unwind-dw2.h (_Unwind_FrameState): Add signal_frame field. * unwind-c.c (PERSONALITY_FUNCTION): Use _Unwind_GetIPInfo instead of _Unwind_GetIP. * unwind-sjlj.c (_Unwind_GetIPInfo): New function. * unwind-generic.h (_Unwind_GetIPInfo): New prototype. * unwind-compat.c (_Unwind_GetIPInfo): New function. * libgcc-std.ver (_Unwind_GetIPInfo): Export @@GCC_4.2.0. * config/ia64/unwind-ia64.c (_Unwind_GetIPInfo): New function. * config/arm/unwind-arm.h (_Unwind_GetIPInfo): Define. * config/i386/linux-unwind.h (x86_fallback_frame_state, x86_64_fallback_frame_state): Set fs->signal_frame. * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Likewise. (MD_FROB_UPDATE_CONTEXT): Define unconditionally. (frob_update_context): Likewise. Workaround missing S flag in Linux 2.6.12 - 2.6.16 kernel vDSOs. * config/s390/linux-unwind.h (s390_fallback_frame_state): Likewise. Remove the psw_addr + 1 hack. libjava/ * exception.cc (PERSONALITY_FUNCTION): Use _Unwind_GetIPInfo instead of _Unwind_GetIP. * include/i386-signal.h (MAKE_THROW_FRAME): Change into empty macro. (HANDLE_DIVIDE_OVERFLOW): Don't adjust _res->eip if falling through to throw. * include/x86_64-signal.h (MAKE_THROW_FRAME): Change into empty macro. * include/powerpc-signal.h (MAKE_THROW_FRAME): Change into empty macro. libstdc++-v3/ * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Use _Unwind_GetIPInfo instead of _Unwind_GetIP. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111488 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-02-23 Scott Gilbertson <scottg@mantatest.com>sgilbertson2006-02-236-4/+37
| | | | | | | | | | | | | | | | * gnu/awt/j2d/IntegerGraphicsState.java (getClip): Clone clip before returning, handle null clip. (getClipBounds): Handle null clip. * gnu/awt/j2d/Graphics2DImpl.java (clipRect): Handle null clip. * gnu/awt/xlib/XCanvasPeer.java (): (getLocationOnScreen): Implement. * classpath/gnu/java/awt/peer/GLightweightPeer.java (repaint): Merged with Classpath. * classpath/java/awt/Graphics.java (hitClip): Merged with Classpath. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111395 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-02-21 Robert Schuster <robertschuster@fsfe.org>rschuster2006-02-212-14/+27
| | | | | | | | | | | | | * link.cc: Added variant of create_error_method that will not complain about unused parameter if compiled with USE_LIBFFI not being defined. (_Jv_Linker::find_field_helper): Fixed indentation. (_Jv_Linker::create_error_method): Fixed indentation. (_Jv_Linker::link_symbol_table): Fixed indentation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111331 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-02-16 Andrew Haley <aph@redhat.com>aph2006-02-174-7/+46
| | | | | | | | | | | | | | | | * stacktrace.cc (GetStackTraceElements): Call gnu::gcj::runtime::NameFinder::removeUnknown() to determine if non-Java frames should be removed from a printed stack trace. Pass methodName to getLineNumberForFrame(). (getLineNumberForFrame): Set method_name from info.dli_sname. * gnu/gcj/runtime/NameFinder.java (removeUnknown): New method. (remove_unknown): New variable. * include/java-stack.h (_Jv_StackTrace::getLineNumberForFrame): Add methodName arg. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111181 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-02-15 Matthias Klose <doko@debian.org>doko2006-02-151-0/+5
| | | | | | | | * gnu/java/nio/charset, gnu/java/net/protocol/file, gnu/regexp: Remove empty directories. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111015 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-02-09 Bryce McKinlay <mckinlay@redhat.com>bryce2006-02-094-53/+57
| | | | | | | | | | | | | | | | | * java/lang/Class.h (_Jv_IDispatchTable): Make it a struct. Put 'itable' inline, instead of as a pointer. (java::lang::Class): Put 'idt' in anonymous union with 'ioffsets'. * link.cc (null_idt): Update definition. (_Jv_Linker::prepare_constant_time_tables): Allocate klass->idt as a single struct. Use _Jv_AllocBytes, not _Jv_AllocRawObj. (_Jv_Linker::generate_itable): Update to use 'ioffsets'. (_Jv_Linker::find_iindex): Likewise. Update comment. * java/lang/natClass.cc (_Jv_LookupInterfaceMethodIdx): Update for _Jv_IDispatchTable change. (_Jv_IsAssignableFrom): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110818 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-02-08 Bryce McKinlay <mckinlay@redhat.com>bryce2006-02-0912-29/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR libgcj/25187: * gnu/gcj/io/natSimpleSHSStream.cc (gnu::gcj::io::SimpleSHSStream::shsFinal): Remove bogus cast. * interpret.cc (_Jv_InterpMethod::run): Simplify arguments to _Jv_InterpFrame(). * boehm.cc: #undef some autoconf macros before including gc-config.h. (_Jv_MarkObject): Don't mark the class, it is reachable via the vtable. (_Jv_MarkArray): Likewise. * java/lang/ref/natReference.cc (java::lang::ref::Reference::create): Simplify _Jv_GCRegisterDisappearingLink() call. * java/lang/Class.h (getComponentType): Use element_type. (element_type): New field declaration, as a union with "methods". * java/lang/natClassLoader.cc (_Jv_NewArrayClass): Use "element_type". * java/net/natVMNetworkInterfacePosix.cc (java::net::VMNetworkInterface::getInterfaces): Add "int" cast to avoid sign comparison warning. * include/java-interp.h (_Jv_InterpFrame): Take thread as second argument, not parent call frame. * include/x86_64-signal.h (MAKE_THROW_FRAME): Use "gregs" directly, without a cast. (restore_rt): Declare with hidden visibility, not "static". * posix.cc (_Jv_platform_initProperties): Make "tmpdir" a string constant. * jni.cc (_Jv_JNI_DestroyJavaVM): Use a union to avoid strict alias warning git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110783 138bc75d-0d04-0410-961f-82ee72b054a4
* Add PR libgcj/26113 to last entry.bryce2006-02-081-0/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110774 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-02-08 Bryce McKinlay <mckinlay@redhat.com>bryce2006-02-0810-31/+48
| | | | | | | | | | | | | | | | | | | | * link.cc (_Jv_Linker::print_class_loaded): Declare string constants as "const char *". * verify.cc (verify_fail): Likewise. * gnu/classpath/natSystemProperties.cc (file_encoding): Likewise. * interpret.cc (throw_internal_error, throw_class_format_error): Likewise. * gcj/javaprims.h (_Jv_hashUtf8String, _Jv_Utf8Const::space_needed, _Jv_Utf8Const::init, _Jv_makeUtf8Const): Likewise. * java/lang/Class.h (_Jv_InitPrimClass): Likewise. * include/jvm.h (_Jv_strLengthUtf8, _Jv_makeUtf8Const): Likewise. * defineclass.cc (throw_internal_error, throw_no_class_def_found_error, is_attribute_name): Likewise. * prims.cc (_Jv_strLengthUtf8, _Jv_hashUtf8String, _Jv_Utf8Const::init, _Jv_makeUtf8Const, _Jv_InitPrimClass): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110767 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libgcj/26063, PR libgcj/17978, PR libgcj/10598:tromey2006-02-087-261/+157
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * defineclass.cc (parse): Use _Jv_AllocRawObj. (read_constpool): Likewise. (read_one_code_attribute): Use internal function name. (handleConstantPool): Use _Jv_AllocRawObj. (handleInterfacesBegin): Likewise. (handleFieldsBegin): Likewise. (handleMethodsBegin): Likewise. (handleCodeAttribute): Likewise. (handleMethodsEnd): Likewise. * include/jvm.h (new_vtable): Use _Jv_AllocRawObj. * interpret.cc (do_allocate_static_fields): Use _Jv_AllocRawObj. Allocate reference fields separately. * link.cc (prepare_constant_time_tables): Use _Jv_AllocRawObj. (add_miranda_methods): Likewise. (generate_itable): Use _Jv_AllocBytes. (find_iindex): Likewise. (struct method_closure): New structure. (create_error_method): Use struct method_closure; allocate with _Jv_AllocBytes. (ensure_fields_laid_out): Separate reference fields from non-reference fields. * boehm.cc (_Jv_MarkObj): Mark vtable. Only mark direct fields of Class. (_Jv_MarkArray): Mark vtable. (_Jv_AllocRawObj): Don't allocate objects of size 0. * include/execution.h (_Jv_ExecutionEngine::allocate_static_fields): Added 'int' parameter. (struct _Jv_CompiledEngine): Updated. (class _Jv_InterpreterEngine): Updated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110763 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/javatromey2006-02-0810-1114/+257
| | | | | | | | | | | | | | | | | | | | | | | | | | | PR java/22578: * check-init.c (check_init): Handle VIEW_CONVERT_EXPR. * builtins.c (convert_real): New function. (java_builtins): Handle Float.intBitsToFloat, Float.floatToRawIntBits, Double.longBitsToDouble, Double.doubleToRawLongBits. libjava PR java/22578: * gcj/javaprims.h: Updated. * sources.am, Makefile.in: Rebuilt. * java/lang/natDouble.cc (doubleToLongBits): Moved to VMDouble. (doubleToRawLongBits): Likewise. (longBitsToDouble): Likewise. (toString): Likewise. (parseDouble): Likewise. * java/lang/natFloat.cc (floatToIntBits): Moved to VMFloat. (floatToRawIntBits): Likewise. (intBitsToFloat): Likewise. * java/lang/VMDouble.java: New file. * java/lang/VMFloat.java: New file. * java/lang/Float.java, java/lang/Double.java: Removed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110759 138bc75d-0d04-0410-961f-82ee72b054a4
* * gij.cc (version): Use 2006.tromey2006-02-075-8/+15
| | | | | | | | * gnu/java/rmi/rmic/RMIC.java (parseOptions): Use 2006. * gnu/gcj/convert/Convert.java (version): Use 2006. * gnu/gcj/tools/gcj_dbtool/Main.java (main): Use 2006. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110681 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/javatromey2006-02-043-0/+20
| | | | | | | | | | | | | | PR java/25676: * builtins.c (max_builtin): Skip floating point 'max'. (min_builtin): Skip floating point 'min'. (check_for_builtin): Never return NULL_TREE. libjava PR java/25676: * testsuite/libjava.lang/pr25676.out: New file. * testsuite/libjava.lang/pr25676.java: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110599 138bc75d-0d04-0410-961f-82ee72b054a4
* Resolve classpath ChangeLog merge conflict.mark2006-02-041-6316/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110591 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-02-03 Thomas Fitzsimmons <fitzsim@redhat.com>fitzsim2006-02-033-6/+51
| | | | | | | | | | * Makefile.am (src.zip): Update src.zip file search to look in classpath directory. * Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110570 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-02-03 Robert Schuster <robertschuster@fsfe.org>rschuster2006-02-032-1/+6
| | | | | | | | | * link.cc: (_Jv_Linker::create_error_method): Added missing (void *) cast. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110544 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud