aboutsummaryrefslogtreecommitdiff
path: root/libjava
AgeCommit message (Collapse)AuthorFilesLines
2006-04-12re PR libgcj/23829 (FreeBSD 5 support for libjava)NAKATA Maho3-8/+13
PR libgcj/23829 * configure.ac: Link against -lpthread rather than -lc_r on FreeBSD 5 and above. * configure: Regenerate. From-SVN: r112897
2006-04-11SystemClassLoader.java (addClass): Get the value of package-private field ↵Bryce McKinlay3-7/+28
"loadedClasses" using reflection. * gnu/gcj/runtime/SystemClassLoader.java (addClass): Get the value of package-private field "loadedClasses" using reflection. * java/lang/VMCompiler.java (compileClass): Remove unreachable catch block. From-SVN: r112858
2006-04-10libjava.exp (libjava_init): Recognize multilib directory names containing ↵Matthias Klose2-1/+6
underscores. gcc/testsuite: 2006-04-10 Matthias Klose <doko@debian.org> * testsuite/lib/libjava.exp (libjava_init): Recognize multilib directory names containing underscores. libffi: 2006-04-10 Matthias Klose <doko@debian.org> * testsuite/lib/libjava.exp (libjava_init): Recognize multilib directory names containing underscores. libgomp: 2006-04-10 Matthias Klose <doko@debian.org> * testsuite/lib/libjava.exp (libjava_init): Recognize multilib directory names containing underscores. libjava: 2006-04-10 Matthias Klose <doko@debian.org> * testsuite/lib/libjava.exp (libjava_init): Recognize multilib directory names containing underscores. libmudflap: 2006-04-10 Matthias Klose <doko@debian.org> * testsuite/lib/libjava.exp (libjava_init): Recognize multilib directory names containing underscores. libstdc++: 2006-04-10 Matthias Klose <doko@debian.org> * testsuite/lib/libjava.exp (libjava_init): Recognize multilib directory names containing underscores. From-SVN: r112833
2006-04-10x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): New.Andrew Haley3-10/+113
2006-04-10 Andrew Haley <aph@redhat.com> * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): New. (SIGNAL_HANDLER): Mark arg as unused. * configure.host (x86_64-* DIVIDESPEC): Use fno-use-divide-subroutine. From-SVN: r112827
2006-04-08configure: Rebuilt.Andreas Tobler2-1/+6
2006-04-08 Andreas Tobler <a.tobler@schweiz.ch> * configure: Rebuilt. From-SVN: r112766
2006-04-07InetAddress.java: Throw an UnknownHostException if lookup fails.Andrew Haley2-0/+8
2006-04-07 Andrew Haley <aph@redhat.com> * java/net/InetAddress.java: Throw an UnknownHostException if lookup fails. From-SVN: r112754
2006-04-06acinclude.m4 (AC_LTDL_SHLIBEXT): Add GCJ LOCAL marker to indicate GCJ ↵Andreas Tobler2-0/+6
specific stuff. 2006-04-06 Andreas Tobler <a.tobler@schweiz.ch> * acinclude.m4 (AC_LTDL_SHLIBEXT): Add GCJ LOCAL marker to indicate GCJ specific stuff. From-SVN: r112736
2006-04-05re PR libgcj/26625 (libgcj-4.2.0.jar not rebuilt after a source file change)Tom Tromey6-2/+17
libjava/classpath: PR libgcj/26625: * lib/Makefile.in: Rebuilt. * lib/Makefile.am (compile-classes): Touch the output file. libjava: PR libgcj/26625: * Makefile.in: Rebuilt. * Makefile.am (libgcj-$(gcc_version).jar): Depend on classpath/lib/compile-classes. From-SVN: r112724
2006-04-05configure.host: Add -fno-omit-frame-pointer to libgcj_flags for MinGW since ↵Ranjit Mathew2-0/+7
EBP is used for... * configure.host: Add -fno-omit-frame-pointer to libgcj_flags for MinGW since EBP is used for backtracking through call frames on this platform. From-SVN: r112708
2006-04-05re PR libgcj/25414 (should update rmic)Archit Shah7-90/+293
2006-04-05 Archit Shah <ashah@redhat.com> PR java/25414 * gnu/java/rmi/rmic/CompilerProcess.java (computeTypicalArguments): Add classpath argument. * gnu/java/rmi/rmic/Compile_gcj.java (computeArguments): Adjust caller. * gnu/java/rmi/rmic/Compile_jikes.java (computeArguments): Likewise. * gnu/java/rmi/rmic/Compile_kjc.java (computeArguments): Likewise. * gnu/java/rmi/rmic/Compiler.java (getClasspath, setClasspath): New. * gnu/java/rmi/rmic/RMIC.java: Set classpath for compiler, call mkdirs for destination directory, correct handling of superclasses and interfaces of the remote class, correct handling of exceptions declared by remote methods. From-SVN: r112699
2006-04-04re PR classpath/26990 (SecurityManager.checkExit() problem)Tom Tromey6-5/+40
PR libgcj/26990: * prims.cc (_Jv_RunMain): Use exitNoChecksAccessor. * gnu/java/lang/natMainThread.cc (call_main): Use exitNoChecksAccessor. * testsuite/libjava.lang/pr26990.out: New file. * testsuite/libjava.lang/pr26990.java: New file. * java/lang/Runtime.java (exitNoChecks): New method. (exitNoChecksAccessor): Likewise. (exit): Call exitNoChecks. From-SVN: r112685
2006-04-04gen-classlist.sh.in: Correct handle generated files.Tom Tromey5-41/+86
* lib/gen-classlist.sh.in: Correct handle generated files. 2006-04-04 Mark Wielaard <mark@klomp.org> * lib/gen-classlist.sh.in: Use classes.tmp, not classes.2 as temporary file name. 2006-04-04 Tom Tromey <tromey@redhat.com> * lib/split-for-gcj.sh: Updated for multi-field format. * lib/Makefile.am (CLEANFILES): Added classes.2. * lib/gen-classlist.sh.in (GCJ): Removed. Create classes.1 and classes.2 using multiple fields. From-SVN: r112677
2006-04-04Temporarily reverting previous patch due to build-breaking bug.Tom Tromey5-77/+39
From-SVN: r112671
2006-04-04[multiple changes]Tom Tromey5-39/+77
2006-04-04 Mark Wielaard <mark@klomp.org> * lib/gen-classlist.sh.in: Use classes.tmp, not classes.2 as temporary file name. 2006-04-04 Tom Tromey <tromey@redhat.com> * lib/split-for-gcj.sh: Updated for multi-field format. * lib/Makefile.am (CLEANFILES): Added classes.2. * lib/gen-classlist.sh.in (GCJ): Removed. Create classes.1 and classes.2 using multiple fields. From-SVN: r112664
2006-04-04Makefile.in: Rebuilt.Tom Tromey8-35/+76
fastjar 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. From-SVN: r112654
2006-04-03Float_2.java: New file.Andrew Haley3-0/+142
2006-04-03 Andrew Haley <aph@redhat.com> * testsuite/libjava.lang/Float_2.java: New file. From-SVN: r112636
2006-03-31posix.cc (_Jv_platform_nanotime): Declare id with clockid_t.Andreas Tobler2-1/+5
2006-03-31 Andreas Tobler <a.tobler@schweiz.ch> * posix.cc (_Jv_platform_nanotime): Declare id with clockid_t. From-SVN: r112587
2006-03-30aclocal.m4, [...]: Rebuilt.Tom Tromey5-39/+126
* aclocal.m4, configure, Makefile.in: Rebuilt. * configure.ac: Use AM_MAINTAINER_MODE. From-SVN: r112542
2006-03-30re PR java/26042 (ICE in mark_reference_fields, at java/boehm.c:105)Tom Tromey2-0/+17
gcc/java 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. From-SVN: r112540
2006-03-29re PR bootstrap/26901 ↵Tom Tromey3-8/+19
(../../../../../gcc/libjava/classpath/tools/gnu/classpath/tools/AbstractMethodGenerator.java:1: fatal error: unknown encoding: 'roman8') PR gcc/26901: * Makefile.in: Rebuilt. * Makefile.am (SUBDIRS): Remove 'tools'. (DIST_SUBDIRS): Likewise. From-SVN: r112510
2006-03-29sources.am, [...]: Rebuilt.Tom Tromey4-1/+44
* sources.am, Makefile.in: Rebuilt. * scripts/makemake.tcl: Scan classpath/external/relaxngDatatype. From-SVN: r112506
2006-03-29acinclude.m4: Restore the situation that we don't build modules on darwin.Andreas Tobler3-3/+31
2006-03-29 Andreas Tobler <a.tobler@schweiz.ch> * acinclude.m4: Restore the situation that we don't build modules on darwin. * configure: Regenerated. From-SVN: r112503
2006-03-29re PR java/26390 (Problem dispatching method call when method does not exist ↵Tom Tromey6-5/+102
in superclass) gcc/java 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. From-SVN: r112499
2006-03-29posix.cc (_Jv_platform_nanotime): Look for CLOCK_MONOTONIC and CLOCK_HIGHRES.Tom Tromey2-1/+14
* posix.cc (_Jv_platform_nanotime): Look for CLOCK_MONOTONIC and CLOCK_HIGHRES. From-SVN: r112494
2006-03-28Correcting PR number in ChangeLog:Tom Tromey1-1/+1
PR libgcj/26441: * Merged libltdl 1.5.16 from vendor branch. From-SVN: r112465
2006-03-28re PR libgcj/26441 (Old libltdl may cause memory leak in Class.forName())Tom Tromey14-2446/+3845
PR libgcj/26641: * Merged libltdl 1.5.16 from vendor branch. From-SVN: r112464
2006-03-28unicode-muncher.pl: Removed this file.Anthony Balkissoon5-886/+3110
2006-03-28 Anthony Balkissoon <abalkiss@redhat.com> * 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. From-SVN: r112454
2006-03-25re PR libgcj/26858 (NullPointerException not generated for large classes...)David Daney4-0/+2085
* testsuite/libjava.lang/PR26858.java: New test. * testsuite/libjava.lang/PR26858.out: Ditto. * testsuite/libjava.lang/PR26858.xfail: Ditto. From-SVN: r112374
2006-03-16re PR libgcj/26706 ([4.1/4.2] Unexpanded macro in libjava/classpath/configure)Tom Tromey4-185/+409
PR libgcj/26706: * aclocal.m4, configure: Rebuilt. * configure.ac (GCC_NO_EXECUTABLES): Moved earlier. From-SVN: r112142
2006-03-16linux-unwind.h (shmedia_fallback_frame_state): Set fs->signal_frame.Kaz Kojima2-23/+7
* config/sh/linux-unwind.h (shmedia_fallback_frame_state): Set fs->signal_frame. (sh_fallback_frame_state): Likewise. * include/sh-signal.h (MAKE_THROW_FRAME): Change into empty macro. From-SVN: r112122
2006-03-16re PR classpath/26688 (Classpath Makefiles assume CVS source control)Tom Tromey3-4/+13
PR libgcj/26688: * lib/Makefile.in: Rebuilt. * lib/Makefile.am (propertydirs): Ignore .svn directories. (metafiles): Likewise. From-SVN: r112115
2006-03-16jcf-write.c (generate_bytecode_insns): Use qualifying type for non-static ↵Tom Tromey2-1/+5
method calls. gcc/java * 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. From-SVN: r112102
2006-03-15Correctly reference PR java/26638 in ChangeLogsTom Tromey1-1/+1
From-SVN: r112094
2006-03-15re PR java/26390 (Problem dispatching method call when method does not exist ↵Tom Tromey2-9/+23
in superclass) gcc/java 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. From-SVN: r112093
2006-03-10re PR libgcj/25713 (GZIPOutputStream bad checksum)Tom Tromey10-878/+48
libjava 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. From-SVN: r111949
2006-03-10powerpc-signal.h: Fix typo in comment.Andreas Tobler2-1/+5
2006-03-10 Andreas Tobler <a.tobler@schweiz.ch> * include/powerpc-signal.h: Fix typo in comment. From-SVN: r111944
2006-03-10Imported GNU Classpath 0.90Mark Wielaard1367-22568/+188595
Imported GNU Classpath 0.90 * 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. From-SVN: r111942
2006-03-10re PR libgcj/23495 (java.lang.String.equals is suboptimal)Tom Tromey2-57/+51
PR libgcj/23495: * 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. From-SVN: r111919
2006-03-09configure: Rebuilt.Tom Tromey3-2/+14
* configure: Rebuilt. * configure.ac (HAVE_CLOCK_GETTIME): Put -lrt in THREADLIBS as well. From-SVN: r111912
2006-03-09re PR libgcj/24461 (array access in either GZIPInputStream, Inflater, ↵Tom Tromey2-3/+11
natInflate.cc, or zlib) PR libgcj/24461: * java/util/zip/InflaterInputStream.java (fill): Throw exception if stream is truncated. From-SVN: r111870
2006-03-09win32.cc (_Jv_platform_nanotime): New function.Tom Tromey14-6/+167
* win32.cc (_Jv_platform_nanotime): New function. * 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. From-SVN: r111869
2006-03-08gcj.texi: Document -static-libgcj option.David Daney4-4/+119
gcc/java/ 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. From-SVN: r111847
2006-03-08re PR libgcj/24183 (xmlj code not properly built)Tom Tromey3-17/+53
PR libgcj/24183: * native/jni/xmlj/Makefile.in: Rebuilt. * native/jni/xmlj/Makefile.am (nativelib_LTLIBRARIES): Renamed (reverted local patch). From-SVN: r111844
2006-03-07re PR libgcj/26103 (Wrong exception thrown)Tom Tromey3-3/+14
PR libgcj/26103: * java/lang/ClassLoader.java (loadClass): Don't throw StringIndexOutOfBoundsException if name is empty. * java/lang/natClassLoader.cc (loadClassFromSig): Throw exception if class not found. From-SVN: r111820
2006-03-07* include/java-interp.h: Removed extern "C" around #include <ffi.h>.David Daney2-2/+4
From-SVN: r111816
2006-03-07* link.cc: Include ffi.h if USE_LIBFFI defined.David Daney2-0/+8
From-SVN: r111815
2006-03-03* interpret.cc (do_allocate_static_fields): Added comment.Tom Tromey2-1/+15
From-SVN: r111683
2006-03-01re PR libgcj/24321 (instanceof erroneously causes class initialization)Tom Tromey4-4/+35
PR java/24321: * 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. From-SVN: r111603
2006-02-27re PR other/26208 (Serious problem with unwinding through signal frames)Jakub Jelinek5-49/+30
PR other/26208 * 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. From-SVN: r111488
2006-02-23IntegerGraphicsState.java (getClip): Clone clip before returning, handle ↵Scott Gilbertson6-4/+37
null clip. 2006-02-23 Scott Gilbertson <scottg@mantatest.com> * 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. From-SVN: r111395