+2005-03-05 Andreas Tobler <a.tobler@schweiz.ch>
+
+ * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
+ spec_case. Initialize pointer mlo.
+
+ * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
+ delta.
+
+ * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
+
+ * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
+ and k.
+
+ * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
+ uninitialized variable z.
+
+ * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
+ possible unused variables.
+
+ * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
+
+ * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
+
+2005-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
+
+ PR libgcj/20292
+ * testsuite/libjava.jni/jni.exp
+ (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
+ flags.
+ (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
+
+2005-02-23 David Daney <ddaney@avtrex.com>
+
+ * configure.host: Don't use -mxgot for MIPS builds.
+
+2005-02-28 Paolo Bonzini <bonzini@gnu.org>
+
+ PR bootstrap/17383
+ * configure.ac: Call GCC_TOPLEV_SUBDIRS.
+ (COMPPATH): Removed.
+ (ZIP, GCJH): Replace it with ../$(host_subdir).
+ (built_gcc_dir): Add $(host_subdir).
+ * configure: Regenerate.
+ * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
+ gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
+ external/w3c_dom/Makefile.in: Regenerate.
+
+2005-02-24 David Gilbert <david.gilbert@object-refinery.com>
+
+ * java/awt/font/TextAttribute.java: changed names to lower case;
+ (readResolve): implemented.
+ Added doc comments all over.
+
+2005-02-23 Thomas Fitzsimmons <fitzsim@redhat.com>
+
+ PR libgcj/16923
+ * jni.cc (JNI_CreateJavaVM): Check JNI version. Cast args to
+ JvVMInitArgs. Pass args to _Jv_CreateJavaVM and check return
+ value. Move argument parsing code to prims.cc.
+ * prims.cc (no_properties): Remove.
+ (_Jv_Compiler_Properties): Initialize to NULL.
+ (_Jv_Properties_Count): Initialize to 0.
+ (parse_verbose_args): New function.
+ (parse_init_args): New function.
+ (_Jv_CreateJavaVM): Call parse_init_args.
+ (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
+ * gcj/cni.h (JvVMOption): New struct.
+ (JvVMInitArgs): Likewise.
+ (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
+ void*.
+ * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
+ (_Jv_VMInitArgs): Likewise.
+ * include/java-props.h (_Jv_Properties_Count): Declare.
+ * java/lang/natRuntime.cc (insertSystemProperties): Use
+ _Jv_Properties_Count in for loop exit condition.
+ * testsuite/libjava.jni/jni.exp
+ (gcj_invocation_compile_c_to_binary): New procedure.
+ (gcj_invocation_test_one): Likewise.
+ (gcj_jni_run): Run JNI invocation API tests.
+ * testsuite/libjava.jni/invocation/PR16923.c,
+ testsuite/libjava.jni/invocation/PR16923.java,
+ testsuite/libjava.jni/invocation/PR16923.out: New test.
+
+2005-02-23 Michael Koch <konqueror@gmx.de>
+
+ * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
+ * Makefile.in: Regenerated.
+
+2005-02-23 Robert Schuster <thebohemian@gmx.net>
+
+ * gnu/java/nio/ChannelReader: Fixed comments.
+
+2005-02-23 Robert Schuster <thebohemian@gmx.net>
+
+ * java/nio/channels/Channels: Added FIXMEs about
+ stub method implementation.
+ (newReader): Implemented.
+ * gnu/java/nio/ChannelReader: New class.
+
+2005-02-23 Michael Koch <konqueror@gmx.de>
+
+ * java/text/SimpleDateFormat.java:
+ Removed unused import.
+
+2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
+
+ PR libgcj/20029:
+ * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
+ (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
+ * Makefile.in: Regenerate.
+ * configure.ac: Check for libXtst.
+ * configure: Regenerate.
+
+2005-02-22 Mark Wielaard <address@bogus.example.com>
+
+ * java/security/AlgorithmParameterGenerator.java (getInstance):
+ Mention provider when throwing NoSuchProviderException.
+ * java/security/AlgorithmParameters.java (getInstance): Likewise.
+ * java/security/KeyFactory.java (getInstance): Likewise.
+ * java/security/KeyStore.java (getInstance): Likewise.
+ * java/security/SecureRandom.java (getInstance): Likewise.
+ * java/security/cert/CertificateFactory.java (getInstance): Likewise.
+
+2005-02-22 Jeroen Frijters <jeroen@frijters.net>
+
+ * java/lang/reflect/Proxy.java,
+ java/net/URL.java,
+ java/security/SecureRandom.java,
+ java/util/Timer.java,
+ java/util/prefs/AbstractPreferences.java:
+ Don't catch java.lang.ThreadDeath.
+
+2005-02-22 David Gilbert <david.gilbert@object-refinery.com>
+
+ * java/awt/font/TransformAttribute.java,
+ (TransformAttribute(AffineTransform)): throw
+ IllegalArgumentException for null transform.
+ (getTransform): return a copy of transform.
+ Added doc comments to all.
+
+2005-02-22 Jeroen Frijters <jeroen@frijters.net>
+
+ * java/io/Externalizable.java,
+ java/io/Serializable.java
+ (serialVersionUID): Removed.
+ * java/rmi/server/RemoteObject.java,
+ java/rmi/server/UID.java
+ (serialVersionUID): Made private.
+ * java/rmi/server/RemoteRef.java,
+ java/rmi/server/ServerRef.java
+ (serialVersionUID): Set proper value.
+ * java/security/interfaces/DSAPrivateKey.java,
+ java/security/interfaces/DSAPublicKey.java,
+ java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
+ java/security/interfaces/RSAPrivateCrtKey.java,
+ java/security/interfaces/RSAPrivateKey.java,
+ java/security/interfaces/RSAPublicKey.java,
+ javax/crypto/SecretKey.java
+ (serialVersionUID): Added.
+
+2005-02-22 Tom Tromey <tromey@redhat.com>
+
+ * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
+
+2005-02-22 Tom Tromey <tromey@redhat.com>
+
+ PR java/20056:
+ * verify.cc (type::EITHER): New constant.
+ (check_field_constant): Use it.
+ (type::compatible): Handle it.
+
+2005-02-22 Michael Koch <konqueror@gmx.de>
+
+ * gnu/java/security/PolicyFile.java,
+ gnu/java/security/pkcs/PKCS7SignedData.java,
+ gnu/java/security/pkcs/SignerInfo.java:
+ Fixed copyright header.
+
+2005-02-22 Jeroen Frijters <jeroen@frijters.net>
+
+ * java/beans/PropertyDescriptor.java
+ (PropertyDescriptor,setReadMethod): Set propertyType.
+
+2005-02-22 Michael Koch <konqueror@gmx.de>
+
+ * java/nio/DirectByteBufferImpl.java
+ (owner): Fixed formatting of javadoc.
+ * java/text/DateFormat.java
+ (getAvailableLocales): Fixed formatting.
+ * java/text/SimpleDateFormat.java:
+ Fixed formatting and import statement order.
+ * java/util/Calendar.java
+ (Calendar): Fixed javadoc to be HTML compliant.
+ * java/util/SimpleTimeZone.java:
+ Fixed javadocs.
+
+2005-02-22 Roman Kennke <roman@ontographics.com>
+
+ * javax/swing/plaf/basic/BasicLookAndFeel.java
+ (initComponentDefaults): Fixed Button left and right margin.
+
+2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
+
+ * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
+ empty Runnable.
+
+ PR libgcj/17952:
+ * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
+ jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
+ (getWidth): New method.
+ (getHeight): Likewise.
+ (create): Remove width, height and insets parameters. Move size
+ setup ...
+ (realize_cb): ... here. New function.
+ (connectSignals): Connect realize_cb.
+ (request_frame_extents): Remove FIXME. Move
+ postInsetsChangedEvent lookup ...
+ * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
+ ... here. Look up GtkWindowPeer getWidth and getHeight methods.
+ * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
+ jmethodID.
+ (windowGetWidthID): Likewise.
+ (windowGetHeightID): Likewise.
+
+2005-02-21 Thomas Fitzsimmons <fitzsim@redhat.com>
+
+ PR libgcj/19842
+ * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
+ (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
+
+2005-02-21 Bryce McKinlay <mckinlay@redhat.com>
+
+ Merge serialization from GNU Classpath.
+ * gcj/method.h: Add missing #includes.
+ * java/io/ObjectInputStream.java (readClassDescriptor): Check for
+ primitive class IDs on the stream here...
+ (resolveClass): ...not here.
+ * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
+ fields.
+ * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
+ setLongNative, setIntNative, setShortNative, setCharNative,
+ setByteNative, setBooleanNative, setObjectNative): New native methods.
+ * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
+ setLongNative, setIntNative, setShortNative, setCharNative,
+ setByteNative, setBooleanNative, setObjectNative): Implement them.
+ * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
+ from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
+ the constructor here.
+ (callConstructor): Removed.
+ (getCallersClassLoader): Removed.
+ * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
+ setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
+ to control whether setting final field values is permitted. Call
+ getAddr() with checkFinal parameter instead of setAddr().
+ * java/lang/reflect/natField.cc (getType): Lookup and resolve field
+ only if not done already.
+ (getAddr): Add checkFinal parameter. Do the final field check only if
+ checkFinal is set.
+ (setAddr): Removed.
+
+2005-02-21 Mark Wielaard <mark@klomp.org>
+
+ # Fixes bug #11957
+ * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
+ twice.
+
+2005-02-21 Mark Wielaard <mark@klomp.org>
+
+ Fixes bug #11618.
+ * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
+ without a super class and us ObjectStreamClass.lookupForClassObject().
+ (resolveClass): Check for primitive types.
+ (lookupClass): Return null when argument is null.
+
+2005-02-21 Jeroen Frijters <jeroen@frijters.net>
+
+ * java/io/ObjectInputStream.java
+ (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
+
+2005-02-21 Jeroen Frijters <jeroen@frijters.net>
+
+ * java/io/ObjectOutputStream.java
+ (writeObject, callWriteMethod): Replaced reflection with accessing
+ cached info in ObjectStreamClass.
+ (getMethod): Removed.
+ * java/io/ObjectStreamClass.java
+ (findMethod): Added check to make sure the method found has the
+ right modifiers.
+ (cacheMethods): Added writeReplace and writeObject methods.
+ (setFlags): Look at new writeObjectMethod field instead of doing
+ reflection again.
+ (writeReplaceMethod): New field.
+ (writeObjectMethod): New field.
+
+2005-02-21 Guilhem Lavaux <guilhem@kaffe.org>
+ Jeroen Frijters <jeroen@frijters.net>
+
+ * java/io/ObjectInputStream.java
+ (newObject): Changed prototype. Get a constructor reflect object
+ directly.
+ (callConstructor): Removed.
+ (allocateObject): Changed prototype.
+ (readClassDescriptor): Build the constructor reflection directly.
+ (readObject): Invoke newObject using the new prototype.
+
+ * java/io/ObjectStreamClass.java
+ (firstNonSerializableParent): Removed.
+ (firstNonSerializableParentConstructor): Added.
+
+2005-02-21 Mark Wielaard <mark@klomp.org>
+
+ * gnu/java/locale/LocaleInformation_en.java: Extend
+ localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
+
+2005-02-21 Mark Wielaard <mark@klomp.org>
+
+ * java/text/SimpleDateFormat.java
+ (SimpleDateFormat(String, DateFormatSymbols)): Throw
+ NullPointerException when formatData is null.
+
+2005-02-21 Mark Wielaard <mark@klomp.org>
+
+ * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
+ taking dstSavings into account.
+
+2005-02-21 Sven de Marothy <sven@physto.se>
+
+ * java/text/SimpleDateFormat.java,
+ (parse): Set correct DST_OFFSET to the correct value.
+
+2005-02-21 Mark Wielaard <mark@klomp.org>
+
+ * java/util/SimpleTimeZone.java (checkRule): Throw
+ IllegalArgumentException when month out of range.
+
+2005-02-21 Sven de Marothy <sven@physto.se>
+
+ * java/util/GregorianCalendar.java,
+ (add): Don't set fields directly anymore. Use set()
+
+2005-02-21 Mark Wielaard <mark@klomp.org>
+
+ * java/text/SimpleDateFormat.java (CompiledField.toString):
+ Use StringBuffer, not StringBuilder.
+ (toString): Likewise.
+
+2005-02-21 Sven de Marothy <sven@physto.se>
+
+ * java/util/Calendar.java
+ (clear): Dates should clear to local time.
+ * java/util/GregorianCalendar.java
+ (computeTime): Fix priority problem with DAY_OF_WEEK,
+ Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
+
+2005-02-21 Sven de Marothy <sven@physto.se>
+
+ * java/util/Calendar.java
+ (Calendar): Constructor should clear fields.
+
+2005-02-21 Sven de Marothy <sven@physto.se>
+
+ * java/text/SimpleDateFormat.java
+ (parse): Tweak handling of 2-year dates
+ * java/util/Calendar.java
+ (clear): Clear fields to correct value.
+ * java/util/GregorianCalendar.java
+ (computeTime): Correct handling of time zones.
+ Correct field minimum values.
+
+2005-02-21 Sven de Marothy <sven@physto.se>
+
+ * java/util/Calendar.java
+ (set) Invalidate all fields on first call to set().
+
+2005-02-21 Sven de Marothy <sven@physto.se>
+
+ * java/util/GregorianCalendar.java
+ (computeTime): Fixed handling of time zones.
+
+2005-02-21 Sven de Marothy <sven@physto.se>
+
+ * java/util/Calendar.java
+ (clear): Set values to Epoch instead of zero.
+ (set): Set isSet to the relevant field pattern instead of just
+ the field.
+ * java/util/GregorianCalendar.java
+ (getBundle): Removed.
+ (getDayOfYear): Removed.
+ (getFirstDayOfMonth): New private method.
+ (nonLeniencyCheck): New private method.
+ (computeTime): Correct handling of insufficient data.
+
+2005-02-21 Sven de Marothy <sven@physto.se>
+
+ * java/util/Calendar.java: Invalidate ERA field on setting
+ the YEAR.
+ * java/util/SimpleTimeZone.java:
+ (getDaysInMonth): Reimplemented.
+ * java/util/GregorianCalendar.java:
+ (getLinearTime): Removed.
+ (isLeapYear(int,boolean)): Removed.
+ (before(), after()): Removed.
+ (computeTime): Reimplemented.
+
+2005-02-21 Sven de Marothy <sven@physto.se>
+
+ * java/util/Calendar.java: Reformatted.
+ * java/util/GregorianCalendar.java: Reformatted.
+ * java/util/SimpleTimeZone.java: Reformatted.
+
+2005-02-21 Sven de Marothy <sven@physto.se>
+
+ * java/util/GregorianCalendar.java
+ (GregorianCalendar): Update fields in the constructor
+
+2005-02-21 Noa Resare <noa@resare.com>
+
+ * java/util/Calendar.java (explicitDSTOffset): New instance field.
+ (set(int,int)): Set and use new field.
+ (set(int,int,int)): Check new field.
+
+2005-02-21 Noa Resare <address@hidden>
+
+ * java/util/Calendar.java(set):
+ Fix for DST related regression.
+
+2005-02-21 Jeroen Frijters <jeroen@frijters.net>
+
+ * java/util/Calendar.java
+ (setTimeInMillis): Added call to clear, removed computeFields call.
+ * java/util/Date.java
+ (Date(int,int,int,int,int,int)): Removed workaround for
+ GregorianCalendar bug.
+ * java/util/GregorianCalendar.java
+ (GregorianCalendar): Chained all constructors to a (new)
+ common constructor.
+ (computeTime): Fixed support for lenient month treatment.
+ (getLinearDay): Return long instead of int.
+ (calculateDay): Added fields argument and changed day argument
+ to long.
+
+2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+ * java/text/SimpleDateFormat.java
+ Lots of documentation updates.
+ (readObject(java.io.ObjectInputStream)): Wraps
+ IllegalArgumentException as specified.
+ (compileFormat(String)): Uses standardChars
+ rather than the local pattern characters.
+ Throws IllegalArgumentException rather than
+ storing a -1 field.
+ (toString()): Extended to include all variables
+ in a better format.
+ (translateLocalizedPattern(String, String, String)):
+ Renamed to better define the use of this method.
+
+2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+ * java/text/DateFormat.java:
+ Documented pattern character offset constants and
+ added new ones.
+ (Field): Added new static fields for new pattern chars.
+ * java/text/SimpleDateFormat.java:
+ (CompiledField): Changed name of FieldSizePair class
+ to CompiledField after adding the character as an
+ attribute. Changed fields to private and added
+ accessors to give encapsulation.
+ (CompiledField.CompiledField(int,int,char)): Extended
+ with character field.
+ (CompiledField.getField()): New accessor method.
+ (CompiledField.getSize()): New acceessor method.
+ (CompiledField.getCharacter()): New accessor method.
+ (CompiledField.toString()): Added primarily for debugging.
+ (standardChars): Now uses extended 24 character sequence.
+ (compileFormat(String)): Changed to use CompiledField.
+ (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
+ java.text.FieldPosition)): Changed to use CompiledField.
+ New handler for RFC 822 timezones added.
+
+2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+ * java/text/SimpleDateFormat.java:
+ (parse(String, java.text.ParsePosition)):
+ Changed 'E' and 'M' cases to use both
+ short and long names. Extended 'z'
+ case to also handle 'Z', and deal
+ with simple GMT offsets such as +0100.
+ (computeOffset(String)): New private method,
+ which converts a GMT offset specification,
+ such as GMT-0500 to a numeric offset in
+ milliseconds.
+ * java/util/TimeZone.java:
+ (timezones()): Added "CEST", the daylight
+ savings time version of "CET", or Central
+ European Time.
+
+2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
+
+ * java/text/SimpleDateFormat.java:
+ (parse): Set the DST offset to 0 when parsing
+ GMT offset timezones.
+
+2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
+
+ * java/text/SimpleDateFormat.java:
+ (parse): Use offset to set ZONE_OFFSET
+ rather than the DST_OFFSET, so that
+ GMT offset timezones change the right
+ one.
+
+2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+ * java/text/SimpleDateFormat.java:
+ (getDateFormatSymbols()): return a copy
+ (setDateFormatSymbols(java.text.DateFormatSymbols)):
+ throw exception on null input
+ (clone()): implemented to clone
+ internal fields
+
+2005-02-21 Sven de Marothy <sven@physto.se>
+
+ * java/text/SimpleDateFormat.java
+ (parse): comparison should be case-insensitive, ignore null
+ strings.
+
+2005-02-21 Robert Schuster <theBohemian@gmx.net>
+
+ * gnu/java/beans/IntrospectionIncubator.java
+ (addMethod) Reverts the patch that ntroduced a regression (see bug
+ https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
+
+2005-02-21 Michael Koch <konqueror@gmx.de>
+
+ * java/awt/Checkbox.java
+ (next_checkbox_number): New static variable.
+ (generateName): New method.
+ (getUniqueLong): Likewise.
+ * java/awt/Window.java
+ (next_window_number): New static variable.
+ (generateName): New method.
+ (getUniqueLong): Likewise.
+
+2005-02-21 Mark Wielaard <mark@klomp.org>
+
+ * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
+ exists.
+
+2005-02-21 Andrew Haley <aph@redhat.com>
+
+ * Makefile.in: Rebuilt.
+ * Makefile.am (nat_source_files): Added natLogger.cc.
+ * java/util/logging/natLogger.cc: New file.
+ * java/util/logging/Logger.java (getCallerStackFrame): Now
+ native.
+
+2005-02-21 Andreas Tobler <a.tobler@schweiz.ch>
+
+ * Makefile.am (all_property_files): Remove left over.
+ (classes.stamp): Add stamp for the ONESTEP build, also known as
+ --enable-libgcj-multifile.
+ * Makefile.in: Regenerated.
+
+2005-02-21 Michael Koch <konqueror@gmx.de>
+
+ * java/awt/Button.java,
+ java/awt/Container.java,
+ java/awt/Font.java,
+ java/awt/Frame.java,
+ java/text/CollationElementIterator.java,
+ java/text/RuleBasedCollator.java,
+ java/util/PropertyPermission.java:
+ Fixed formatting issues all over.
+
2005-02-21 Mark Wielaard <mark@klomp.org>
* java/io/FileDescriptor.java (sync): Add real exception to