summaryrefslogtreecommitdiffstats
path: root/libjava/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * configure.in: Update boehm-gc include dir for new GC version.bryce2001-05-211-0/+11
| | | | | | | | | | | | | * configure: Rebuilt. * exception.cc: Only include <gc.h>. Remove TRUE/FALSE hacks and extern "C" wrapper. * boehm.cc: Update includes for new GC version. MAKE_PROC is now GC_MAKE_PROC. mark_proc is now GC_mark_proc. * posix-threads.cc: Only include <gc.h>. Don't need to wrap with extern "C". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42380 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-05-18 Alexandre Petit-Bianco <apbianco@redhat.com>apbianco2001-05-191-0/+5
| | | | | | | | | | * include/posix-threads.h (_Jv_CondInit): `0' used in place of `NULL.' (_Jv_MutexInit): Likewise. (http://gcc.gnu.org/ml/java-patches/2001-q2/msg00245.html ) git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42303 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Rebuilt.tromey2001-05-181-0/+5
| | | | | | | * Makefile.am (awt_java_source_files): Added Polygon.java. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42276 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-05-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>bryce2001-05-181-0/+12
| | | | | | | | | | | | | | | * include/jvm.h: Move "#pragma GCC java_exceptions" to ... * gcj/javaprims.h: ... here. * gnu/gcj/io/shs.cc: Add "#pragma GCC java_exceptions". 2001-05-17 Martin Kahlert <martin.kahlert@infineon.com> * java/lang/natClass.cc (_Jv_FindIIndex): Fix an off by one error with length of ioffset table. (_Jv_IsAssignableFrom): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42248 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.am (ZIP): The "fastjar" binary is now plain "jar".bothner2001-05-171-0/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42207 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/text/SimpleDateFormat.java (parse): Handle non-dst timetromey2001-05-161-0/+5
| | | | | | | zones. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42156 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/util/GregorianCalendar.java (computeTime): Only calltromey2001-05-151-0/+5
| | | | | | | getTimeZone() once. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42121 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/text/SimpleDateFormat.java (parse): Clear DST_OFFSET andtromey2001-05-141-0/+5
| | | | | | | ZONE_OFFSET just before computing the time. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42076 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/cp:zack2001-05-131-0/+7
| | | | | | | | | | | | | | | | | | | | | * except.c (choose_personality_routine): Export. Add explanatory comment. Take an enum languages, not a boolean. (initialize_handler_parm): Adjust to match. * cp-tree.h: Prototype choose_personality_routine. * lex.c (handle_pragma_java_exceptions): New function. (init_cp_pragma): Register #pragma GCC java_exceptions. gcc: * extend.texi: Document #pragma GCC java_exceptions. libjava: * Makefile.am (libgcj_la_OBJECTS): Remove libsupc++convenience.la. * Makefile.in: Regenerate (by hand). * include/jvm.h: Add #pragma GCC java_exceptions at top of file. * doc/cni.sgml: Document #pragma GCC java_exceptions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42027 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (ia64-*): Don't set SYSDEP_SOURCES.rth2001-05-121-0/+5
| | | | | | | * java/lang/natThrowable.cc: Don't use __ia64_backtrace. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41984 138bc75d-0d04-0410-961f-82ee72b054a4
* * exception.cc: Include unwind-pe.h. Remove all pointerrth2001-05-121-0/+5
| | | | | | | encoding logic. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41983 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Rebuilt.tromey2001-05-111-0/+11
| | | | | | | | | | | | | * Makefile.am (awt_java_source_files): Added Polygon.java. * java/awt/Polygon.java: New file. * java/awt/geom/AffineTransform.java (setToRotation(double,double,double)): New method. (AffineTransform): Set type to TYPE_GENERAL_TRANSFORM. (setToShear): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41954 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-05-10 Tom Tromey <tromey@redhat.com>tromey2001-05-101-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/util/GregorianCalendar.java: Imported from Classpath. * gnu/java/locale/LocaleInformation_nl.java: New file from Classpath. * gnu/java/locale/LocaleInformation_en.java: Likewise. * gnu/java/locale/LocaleInformation_de.java: Likewise. * gnu/java/locale/LocaleInformation.java: Likewise. * natGregorianCalendar.cc: Removed. * Makefile.in: Rebuilt. * Makefile.am (nat_source_files): Removed natGregorianCalendar.cc. 2001-05-10 Tom Tromey <tromey@redhat.com> * java/text/SimpleDateFormat.java (computeCenturyStart): New method. (defaultCenturyStart): Use it. (readObject): Likewise. (SimpleDateFormat): Clear the calendar. Set the grouping on the number format. (parse): Copy the calendar before modifying it. Correctly handle the time zone. * java/util/Calendar.java (clear): Set field value(s) to 0. 2001-05-10 Jeff Sturm <jsturm@one-point.com> * Calendar.java (get): Clear areFieldsSet if requested field is not set. (set): Unset fields that depend on new value. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41942 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/Class.h (_Jv_Self): New union type.bryce2001-05-061-0/+10
| | | | | | | | | | (Class): Manipulate vtable pointer via _Jv_Self union. Thanks to Jeff Sturm and Fergus Henderson. * java/lang/ClassLoader.java: Remove dead code fragment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41876 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-05-03 Martin Kahlert <martin.kahlert@infineon.com>tromey2001-05-031-0/+6
| | | | | | | | | * jni.cc (_Jv_JNI_GetPrimitiveArrayRegion): Fixed bounds checking. (_Jv_JNI_SetPrimitiveArrayRegion): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41795 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix bad checkin.aph2001-05-031-1/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41793 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-04-30 Andrew Haley <aph@cambridge.redhat.com>aph2001-05-031-2/+8
| | | | | | | | | | * libgcj.spec.in (jc1): Add EXCEPTIONSPEC. * configure.host (EXCEPTIONSPEC): New. * configure.in (EXCEPTIONSPEC): New. * configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41786 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/*.texi: Remove generated documentation.bryce2001-05-031-0/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41778 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-04-30 Matt Kraai <kraai@alumni.carnegiemellon.edu>tromey2001-04-301-0/+5
| | | | | | | | * java/io/natFile.cc (performSetReadOnly): Fix #ifdef test. (performDelete): Fix #endif placement. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41703 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use _Jv_Malloc.zack2001-04-281-0/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41651 138bc75d-0d04-0410-961f-82ee72b054a4
* * prims.cc (_Jv_ThisExecutable): Use _Jv_Malloc.zack2001-04-281-0/+6
| | | | | | | | * posix-threads.cc (_Jv_ThreadInitData): Use _Jv_Malloc. (_Jv_ThreadDestroyData): Use _Jv_Free. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41650 138bc75d-0d04-0410-961f-82ee72b054a4
* * jni.cc (_Jv_JNI_GetPrimitiveArrayRegion): Fixed boundstromey2001-04-271-1/+7
| | | | | | | | checking. (_Jv_JNI_SetPrimitiveArrayRegion): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41634 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-04-27 Martin Kahlert <martin.kahlert@infineon.com>tromey2001-04-271-1/+7
| | | | | | | | | * include/jni.h (struct JNINativeInterface): Fixed types in Get/Set*ArrayRegion declarations. (class _Jv_JNIEnv): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41633 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Obtain THREADS with `gcc -v'.aoliva2001-04-261-0/+5
| | | | | | | * configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41571 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix PR libgcj/2237:bryce2001-04-261-1/+16
| | | | | | | | | | | | | | | | | * java/io/ObjectStreamClass.java (setClass): Calculate serialVersionUID for local class and compare it against the UID from the Object Stream. Throw InvalidClassException upon mismatch. (setUID): Renamed to... (getClassUID): this. Return the calculated class UID rather than setting uid field directly. (getDefinedSUID): Removed. * java/io/ObjectInputStream.java (resolveClass): Use the three-argument Class.forName(). * java/io/InvalidClassException (toString): Don't include classname in result if it is null. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41567 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/net/natInetAddress.cc (java::net::InetAddress::aton):ghazi2001-04-251-0/+5
| | | | | | | Wrap use of inet_pton in HAVE_INET6. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41547 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/java:bryce2001-04-251-0/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-04-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz> * decl.c (init_decl_processing): Add new class "protectionDomain" field. * class.c (make_class_data): Set initial value for "protectionDomain". libjava: 2001-04-25 Bryce McKinlay <bryce@albatross.co.nz> java.security merge and ClassLoader compliance fixes. * java/lang/Class.h (Class): Include ProtectionDomain.h. New protectionDomain field. (forName): Add initialize parameter. Fixes declaration to comply with JDK spec. * java/lang/natClass.cc (forName): Correct declaration of the three-arg variant. Honour "initialize" flag. (getProtectionDomain0): New method. * java/lang/Class.java: Fix forName() declaration. (getPackage): New method based on Classpath implementation. (getProtectionDomain0): New native method decl. (getProtectionDomain): New method. * java/lang/ClassLoader.java (getParent): Now final. (definedPackages): New field. (getPackage): New. (defineClass): New variant with protectionDomain argument. (definePackage): New. (getPackages): New. (findSystemClass): Now final. (getSystemResourceAsStream): Remove redundant "final" modifier. (getSystemResource): Remove redundant "final" modifier. (getResources): Now final. (protectionDomainPermission): New static field. (unknownProtectionDomain): Ditto. (defaultProtectionDomain): Ditto. (getSystemClassLoader): Now non-native. * java/util/ResourceBundle.java (tryGetSomeBundle): Use the correct arguments for Class.forName(). * java/lang/Package.java: New file. * gnu/gcj/runtime/VMClassLoader.java (getVMClassLoader): Removed. (instance): Static initialize singleton. (findClass): Override this, not findSystemClass. * java/lang/natClassLoader.cc (defineClass0): Set class's protectionDomain field as specified. (getSystemClassLoader): Removed. (findClass): Renamed from findSystemClass. Call the interpreter via URLClassLoader.findClass if loading class via dlopen fails. * java/security/*.java: java.security import/merge with Classpath. * java/security/acl/*.java: Likewise. * java/security/interfaces/*.java: Likewise. * java/security/spec/*.java: Likewise. * java/net/NetPermission.java: Likewise. * java/net/SocketPermission.java: Likewise. * gnu/java/security/provider/DefaultPolicy.java: Likewise. * Makefile.am: Add new classes. * Makefile.in: Rebuilt. * gcj/javaprims.h: CNI namespace rebuild. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41543 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (CPPFLAGS): Added builddir and srcdir to CPPFLAGSaoliva2001-04-241-0/+6
| | | | | | | | for libtool tests. Pre-create gnu/classpath/Configuration.java. * configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41522 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Rebuilt.tromey2001-04-221-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am (awt_java_source_files): Added Line2D.java. * java/awt/geom/Line2D.java: Wrote. * java/awt/Menu.java (addNotify): Wrote. * java/awt/PopupMenu.java (addNotify): Implemented. (show): Likewise. * java/awt/Scrollbar.java (addNotify): Call super.addNotify. * java/awt/List.java (addNotify): Call super.addNotify. * java/awt/Label.java (addNotify): Call super.addNotify. * java/awt/FileDialog.java (addNotify): Call super.addNotify. * java/awt/Dialog.java (addNotify): Call super.addNotify. * java/awt/Choice.java (addNotify): Call super.addNotify. * java/awt/CheckboxMenuItem.java (addNotify): Call super.addNotify. * java/awt/Checkbox.java (addNotify): Call super.addNotify. * java/awt/List.java (replaceItem): Notify peer. * java/awt/geom/Rectangle2D.java (Float.setRect(float,float,float,float)): New method. * java/awt/event/ContainerEvent.java (getContainer): Now returns Container. * java/awt/RenderingHints.java (Key): Class now public. * java/awt/Rectangle.java (Rectangle): Now implements Serializable. (getPathIterator): Removed. * java/awt/GraphicsConfiguration.java (GraphicsConfiguration): New constructor. * java/awt/FileDialog.java: Wrote. * java/awt/EventQueue.java (isDispatchThread): Now public. (invokeLater): Likewise. * java/awt/Component.java (setCursor): Update peer. (getFontMetrics): Use peer. * java/awt/ComponentOrientation.java (ComponentOrientation): Class now final. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41489 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/awt/List.java: Wrote.tromey2001-04-211-0/+5
| | | | | | | * java/awt/Dialog.java: Wrote. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41476 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natSystem.cc (getSystemTimeZone): Adjust for DST.warrenl2001-04-201-0/+14
| | | | | | | | | | | | | | | | * java/text/SimpleDateFormat.java (indexInArray): Removed private method. (processYear): Removed private method. (parseLenient): Removed private method. (parseLeadingZeros): Removed private method. (parseStrict): Removed private method. (expect): Added new private method. (parse): Reverted to pre-Classpath merge version with minor fixes. * java/util/natGregorianCalendar.cc (computeTime): Handle strict calendars. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41456 138bc75d-0d04-0410-961f-82ee72b054a4
* libffi:bryce2001-04-121-0/+11
| | | | | | | | | | | | | | | | | | * Makefile.am: Make a libtool convenience library. * Makefile.in: Rebuilt. libjava: * java/io/File.java (normalizePath): New private method. (File (String)): Use normalizePath(). (File (String, String)): Likewise. * Makefile.am (libffi_files): Removed. (libgcj.la): Link libffi as a convenience library instead of refering to its object files directly. * Makefile.in: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41298 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natString.cc (_Jv_NewStringUtf8Const): Register finalizer.bothner2001-04-101-0/+11
| | | | | | | | | | | | | Recalculate hash, since Utf8Const's hash is only 16 bits. * java/lang/natString.cc (_Jv_StringFindSlot, rehash): Use high-order bits of hash to calculate step for chaining. * java/lang/natString.cc (intern, _Jv_NewStringUtf8Const): Rehash when 2/3 full, rather than 3/4 full. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41233 138bc75d-0d04-0410-961f-82ee72b054a4
* * jni.cc (wrap_value<jobject>, wrap_value<jclass>): Removed.tromey2001-04-061-0/+6
| | | | | | | | (wrap_value<T*>): New specialization. (_Jv_JNI_PopLocalFrame): Update env->locals. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41157 138bc75d-0d04-0410-961f-82ee72b054a4
* * libtool-version: Updated current.tromey2001-04-051-0/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41116 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-04-04 Andreas Jaeger <aj@suse.de>tromey2001-04-041-0/+11
| | | | | | | | | | | | | | * gcj/Makefile.am (AUTOMAKE_OPTIONS): Remove no-installinfo. * gcj/Makefile.in: Rebuilt. * Makefile.am (AUTOMAKE_OPTIONS): Remove no-installinfo. * Makefile.in: Rebuilt. * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Remove no-installinfo. * testsuite/Makefile.in: Rebuild. * include/Makefile.am (AUTOMAKE_OPTIONS): Remove no-installinfo. * include/Makefile.in: Rebuild. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41100 138bc75d-0d04-0410-961f-82ee72b054a4
* * testsuite/lib/libjava.exp: Correct typo: 'output from sourcezack2001-04-021-198/+205
| | | | | | | | | compiled test', not 'execution from source compiled test'. Use UNTESTED, not XFAIL, for tests which are not run because they depend on a previous test which failed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41026 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (GCC_UNWIND_INCLUDE): Assume we're built withinrth2001-04-021-0/+8
| | | | | | | | | | the same tree as gcc. * configure: Rebuilt. * exception.cc (_Jv_Throw): Clarify commentary. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41025 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-04-02 Marcus G. Daniels <mgd@swarm.org>tromey2001-04-021-0/+4
| | | | | | | * jni.cc (wrap_value<jclass>): New specialization. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41021 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/PrintStream.java (out): Removed field. Fixes PRtromey2001-04-021-0/+14
| | | | | | | | | | | | | | | | java/2449. (write): Call flush, not out.flush, per spec. (close): Flush output stream, per spec. Handle InterruptedIOException. (checkError): Likewise. (flush, print, write): Handle InterruptedIOException per spec. (PrintStream): Don't create BufferedOutputStream. (work_bytes): New field. (writeChars): Use work_bytes. Don't assume `out' is a BufferedOutputStream. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41014 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-04-02 Torsten Rueger <torsten.rueger@firsthop.com>tromey2001-04-021-0/+5
| | | | | | | | * java/text/MessageFormat.java (setLocale): Added missing `else'. For PR libgcj/2429. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41012 138bc75d-0d04-0410-961f-82ee72b054a4
* * jni.cc (add_char): Correctly encode non-ascii characters.tromey2001-04-021-0/+8
| | | | | | | | | | (add_char): Define even when INTERPRETER not defined. (mangled_name): Likewise. (_Jv_GetJNIEnvNewFrame): Likewise. (_Jv_LookupJNIMethod): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41010 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.host: Enable interpreter for PPC.tromey2001-04-021-0/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41009 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natSystem.cc (init_properties): Revert yesterday's changesbryce2001-04-021-0/+9
| | | | | | | | | | | to "file.separator", "path.separator", and "java.io.tmpdir" property initialization. * java/io/File.java: Likewise. * java/io/natFile.cc (init_native): Likewise. * java/io/natFileWin32.cc (init_native): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40994 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natString.cc (intern): If string's data does not point tobothner2001-04-011-0/+8
| | | | | | | | | | this String, make a fresh String that does. * java/lang/natString.cc (unintern): Replace by static function. * java/lang/String.java (unintern): Remove method. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40990 138bc75d-0d04-0410-961f-82ee72b054a4
* * DeflaterOutputStream.java (deflate): Loop while def.needsInput.bothner2001-04-011-0/+15
| | | | | | | | | | | | | | | | | (finish): def.deflate needs to be called in a loop. (inbuf, inbufLength): New private fields. (write(int)): Use inbuf. (write(byte[],int,int): Check if pending output in inbuf. * ZipOutputStream.java: Don't use Deflater if stored. Use a Checksum object directly, not via a CheckedOutputStream. (uncompressed_size): New field, (closeEntry): Only write data_directory if needed. (write): If STORED, write directly. Always update crc, and uncompressed_size. (write_entry): Fix lots of protocol erors. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40988 138bc75d-0d04-0410-961f-82ee72b054a4
* 1.3-Compliant Implementation of java.io.File.bryce2001-04-011-0/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/lang/natSystem.cc (init_properties): Get "file.separator", "path.separator", and "java.io.tmpdir" from the File class, instead of setting them explicitly. * java/io/File.java: Do not canonicalize paths for security manager checks. Call init_native() from static initializer. Do not pass path argument to native methods. New native method declarations. Some security manager checks moved to checkWrite(). (equals): Check file system case sensitivity and act appropriatly. (hashCode): Likewise. (isHidden): New method implemented. (performList): Changed prototype. Now takes a class argument specifying the class of the returned array: Strings or File objects. Also added FileFilter argument. (listFiles): New variants with "File" return type implemented. (createTempFile): Use createNewFile(). Use maxPathLen. (setReadOnly): New method implemented. (listRoots): Likewise. (compareTo): Likewise. (setLastModified): Likewise. (checkWrite): New method. (setPath): Removed. * java/io/natFile.cc: Various functions no longer take canonical path argument. (stat): Handle ISHIDDEN query. (isAbsolute): Remove WIN32 cruft. (performList): New arguments. Handle returning either File[] or String[] arrays. Check with FileFilter or FilenameFilter arguments as appropriate. Use an ArrayList, not a Vector, for the temporary list. (performSetReadOnly): New method implemented. (performListRoots): Likewise. (performSetLastModified): Likewise. (performCreate): Likewise. (init_native): New initialization function. * java/io/natFileWin32.cc: Various functions no longer take canonical path argument. (stat): Add FIXME about ISHIDDEN query. (performList): New arguments. Handle returning either File[] or String[] arrays. Check with FileFilter or FilenameFilter arguments as appropriate. Use an ArrayList, not a Vector, for the temporary list. (performSetReadOnly): New. Stubbed. (performListRoots): Likewise. (performSetLastModified): Likewise. (performCreate): Likewise. (init_native) New initialization function. * configure.in: Check for utime() and chmod(). * configure: Rebuilt. * include/config.h.in: Rebuilt. Resolves PR libgcj/1759. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40985 138bc75d-0d04-0410-961f-82ee72b054a4
* IA-64 ABI Exception Handling.rth2001-03-281-0/+26
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40924 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-03-27 Joerg Brunsmann <joerg_brunsmann@yahoo.de>bryce2001-03-281-0/+13
| | | | | | | | | | | | | | | | * javax/naming/InitialContext.java (init): Fix typo. (composeName): Remove unnecessary semicolon. (addToEnvironment): Remove unnecessary semicolon. (addToEnvironment): Use put() instead of add(). * javax/naming/InitialContext.java (InitialContext): Make public. (destroySubcontext): Method doesn't return a result. * javax/naming/Context.java: Import java.util.Hashtable. * javax/naming/Name.java: Import java.util.Enumeration. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40888 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.am (libffi_files): Use 'find' to pick up libffi libtoolbryce2001-03-271-0/+6
| | | | | | | | objects in subdirectories. * Makefile.in: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40857 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud