Skip to content
Snippets Groups Projects
  1. Apr 03, 2006
    • Andrew Haley's avatar
      Float_2.java: New file. · f096660b
      Andrew Haley authored
      2006-04-03  Andrew Haley  <aph@redhat.com>
      
              * testsuite/libjava.lang/Float_2.java: New file.
      
      From-SVN: r112636
      f096660b
  2. Mar 31, 2006
  3. Mar 30, 2006
  4. Mar 29, 2006
  5. Mar 28, 2006
    • Tom Tromey's avatar
      Correcting PR number in ChangeLog: · 8887f02b
      Tom Tromey authored
      	PR libgcj/26441:
      	* Merged libltdl 1.5.16 from vendor branch.
      
      From-SVN: r112465
      8887f02b
    • Tom Tromey's avatar
      re PR libgcj/26441 (Old libltdl may cause memory leak in Class.forName()) · fa275f0a
      Tom Tromey authored
      	PR libgcj/26641:
      	* Merged libltdl 1.5.16 from vendor branch.
      
      From-SVN: r112464
      fa275f0a
    • Anthony Balkissoon's avatar
      unicode-muncher.pl: Removed this file. · 792617a5
      Anthony Balkissoon authored
      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
      792617a5
  6. Mar 25, 2006
  7. Mar 16, 2006
  8. Mar 15, 2006
  9. Mar 10, 2006
    • Tom Tromey's avatar
      re PR libgcj/25713 (GZIPOutputStream bad checksum) · ea725d45
      Tom Tromey authored
      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
      ea725d45
    • Andreas Tobler's avatar
      powerpc-signal.h: Fix typo in comment. · 1a919c56
      Andreas Tobler authored
      2006-03-10  Andreas Tobler  <a.tobler@schweiz.ch>
      
      	* include/powerpc-signal.h: Fix typo in comment.
      
      From-SVN: r111944
      1a919c56
    • Mark Wielaard's avatar
      Imported GNU Classpath 0.90 · 8aa540d2
      Mark Wielaard authored
             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
      8aa540d2
    • Tom Tromey's avatar
      re PR libgcj/23495 (java.lang.String.equals is suboptimal) · 0ade2ddf
      Tom Tromey authored
      	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
      0ade2ddf
  10. Mar 09, 2006
  11. Mar 08, 2006
    • David Daney's avatar
      gcj.texi: Document -static-libgcj option. · d6c122f7
      David Daney authored
      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
      d6c122f7
    • Tom Tromey's avatar
      re PR libgcj/24183 (xmlj code not properly built) · 7932e89e
      Tom Tromey authored
      	PR libgcj/24183:
      	* native/jni/xmlj/Makefile.in: Rebuilt.
      	* native/jni/xmlj/Makefile.am (nativelib_LTLIBRARIES): Renamed
      	(reverted local patch).
      
      From-SVN: r111844
      7932e89e
  12. Mar 07, 2006
  13. Mar 03, 2006
  14. Mar 01, 2006
  15. Feb 27, 2006
    • Jakub Jelinek's avatar
      re PR other/26208 (Serious problem with unwinding through signal frames) · 754e45a8
      Jakub Jelinek authored
      	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
      754e45a8
  16. Feb 23, 2006
    • Scott Gilbertson's avatar
      IntegerGraphicsState.java (getClip): Clone clip before returning, handle null clip. · cbb5e201
      Scott Gilbertson authored
      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
      cbb5e201
  17. Feb 21, 2006
    • Robert Schuster's avatar
      link.cc: Added variant of create_error_method that will not complain about unused... · 592fb510
      Robert Schuster authored
      2006-02-21  Robert Schuster  <robertschuster@fsfe.org>
      
              * 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.
      
      From-SVN: r111331
      592fb510
  18. Feb 17, 2006
    • Andrew Haley's avatar
      stacktrace.cc (GetStackTraceElements): Call... · 24ca2a96
      Andrew Haley authored
      stacktrace.cc (GetStackTraceElements): Call gnu::gcj::runtime::NameFinder::removeUnknown() to determine if...
      
      2006-02-16  Andrew Haley  <aph@redhat.com>
      
              * 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.
      
      From-SVN: r111181
      24ca2a96
  19. Feb 15, 2006
  20. Feb 09, 2006
    • Bryce McKinlay's avatar
      Class.h (_Jv_IDispatchTable): Make it a struct. · a286e145
      Bryce McKinlay authored
      2006-02-09  Bryce McKinlay  <mckinlay@redhat.com>
      
      	* 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.
      
      From-SVN: r110818
      a286e145
    • Bryce McKinlay's avatar
      re PR libgcj/25187 (dereferencing type-punned pointer warnings while building libgcj) · 1349c688
      Bryce McKinlay authored
      2006-02-08  Bryce McKinlay  <mckinlay@redhat.com>
      
              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
      
      From-SVN: r110783
      1349c688
Loading