aboutsummaryrefslogtreecommitdiff
path: root/libjava
AgeCommit message (Collapse)AuthorFilesLines
2000-12-07GridBagConstraints.java: Filled in values for static final fields.Tom Tromey2-15/+18
* java/awt/GridBagConstraints.java: Filled in values for static final fields. From-SVN: r38081
2000-12-06* java/util/BitSet.java: Updated copyright notice.Tom Tromey2-4/+23
From-SVN: r38078
2000-12-06Removed erroneous ChangeLog lineTom Tromey1-1/+0
From-SVN: r38077
2000-12-06Makefile.in: Rebuilt.Tom Tromey4-1/+99
* Makefile.in: Rebuilt. * Makefile.am (awt_java_source_files): Added new file. * java/awt/GridBagConstraints.java: New file. From-SVN: r38076
2000-12-06Collator.java (decomposeCharacter, [...]): Now package-private, not protected.Tom Tromey6-8/+17
* java/text/Collator.java (decomposeCharacter, decmp, strength): Now package-private, not protected. * java/text/DateFormatSymbols.java (equals): Now private. * java/text/DecimalFormatSymbols.java (safeGetChar): Now private. * java/util/BitSet.java: Class no longer final. * java/util/Set.java (toArray(Object[])): New method. From-SVN: r38075
2000-12-04TimeZone.java (getAvailableIDs): Activated commented out code dependent on ↵Warren Levy2-10/+5
compiler and library changes. * java/util/TimeZone.java (getAvailableIDs): Activated commented out code dependent on compiler and library changes. From-SVN: r37994
2000-12-04FilePermission.java: Made class final per spec.Warren Levy4-4/+11
* java/io/FilePermission.java: Made class final per spec. * java/text/DecimalFormatSymbols.java (setCurrencySymbol): Changed method name to match spec (fixed typo). * java/util/LinkedList.java: Implements List. From-SVN: r37993
2000-12-04natDouble.cc: Include fdlibm.h, not mprec.h.Bryce McKinlay2-1/+6
* java/lang/natDouble.cc: Include fdlibm.h, not mprec.h. From Edgar Villanueva <edgarvil@home.com>. From-SVN: r37991
2000-12-04Point2D.java: Added protected constructor.Tom Tromey7-18/+51
* java/awt/geom/Point2D.java: Added protected constructor. (equals): New method. (Float.setLocation(float,float)): New method. * java/awt/geom/Dimension2D.java: Added protected constructor. * java/awt/geom/AffineTransform.java: Made all constants public. (concatenate): Fixed typo in name. * java/awt/event/WindowAdapter.java: Class now abstract. * java/awt/event/KeyEvent.java (CHAR_UNDEFINED): Now final. * java/awt/event/FocusEvent.java: Extend ComponentEvent, not AWTEvent. From-SVN: r37988
2000-12-04AWTError.java: Extend Error, not IllegalStateException.Tom Tromey2-6/+9
* java/awt/AWTError.java: Extend Error, not IllegalStateException. From-SVN: r37987
2000-12-03Makefile.in: Rebuilt.Tom Tromey4-0/+352
* Makefile.in: Rebuilt. * Makefile.am (awt_java_source_files): Added new file. * java/awt/geom/RoundRectangle2D.java: New file. From-SVN: r37980
2000-12-03Makefile.in: Rebuilt.Tom Tromey4-14/+266
* Makefile.in: Rebuilt. * Makefile.am (awt_java_source_files): Added new file. * java/awt/FlowLayout.java: New file. From-SVN: r37968
2000-12-03Makefile.in: Rebuilt.Tom Tromey4-6/+287
* Makefile.in: Rebuilt. * Makefile.am (awt_java_source_files): Added new file. * java/awt/GridLayout.java: New file. From-SVN: r37967
2000-12-03Makefile.in: Rebuilt.Tom Tromey5-3/+416
* Makefile.in: Rebuilt. * Makefile.am (awt_java_source_files): Added new files. * java/awt/CardLayout.java: New file. * java/awt/AWTPermission.java: New file. From-SVN: r37965
2000-12-02Vector.java (insertElementAt): Unconditionally increment elementCount.Tom Tromey2-2/+13
* java/util/Vector.java (insertElementAt): Unconditionally increment elementCount. (removeRange): Clear unused slots in vector. From-SVN: r37944
2000-12-02From Adam Welc <welc@cs.purdue.edu>:Bryce McKinlay2-1/+16
* java/util/LinkedList.java (removeFirst): Update `first' field. Handle the last == first case. (removeLast): Update `last' field. Handle the last == first case. From-SVN: r37940
2000-12-02natMath.cc: Declare fabsf() function.Bryce McKinlay5-2/+13
2000-12-02 Bryce McKinlay <bryce@albatross.co.nz> * java/lang/natMath.cc: Declare fabsf() function. * java/lang/mprec.h: Don't include math.h. * java/lang/dtoa.c: Include string.h. * java/lang/natString.cc (toLowerCase): Initialize ch to prevent compiler warning. From-SVN: r37938
2000-12-01Really reverted erroneous checkinTom Tromey2-13/+6
From-SVN: r37930
2000-12-01Reverted erroneous checkinTom Tromey1-14/+13
From-SVN: r37929
2000-12-01more workTom Tromey4-7/+18
From-SVN: r37926
2000-12-01Makefile.am: Added entries for new java.sql modules.Warren Levy3-5/+33
* Makefile.am: Added entries for new java.sql modules. * Makefile.in: Rebuilt. From-SVN: r37919
2000-12-01mauve-libgcj: Turned on JDK1.2 and turned off tests for classes that aren't ↵Warren Levy2-4/+18
quite 1.2... * mauve-libgcj: Turned on JDK1.2 and turned off tests for classes that aren't quite 1.2 compatible yet. From-SVN: r37913
2000-12-01Fixed ChangeLog entry to be path specific.Warren Levy1-21/+21
From-SVN: r37908
2000-12-01Array.java: New file from classpath.Warren Levy22-20/+3810
* Array.java: New file from classpath. * BatchUpdateException.java: Ditto. * Blob.java: Ditto. * Clob.java: Ditto. * Ref.java: Ditto. * SQLData.java: Ditto. * SQLInput.java: Ditto. * SQLOutput.java: Ditto. * Struct.java: Ditto. * CallableStatement.java: Merged file from claspath. * Connection.java: Ditto. * DataTruncation.java: Ditto. * DatabaseMetaData.java: Ditto. * DriverManager.java: Ditto. * PreparedStatement.java: Ditto. * ResultSet.java: Ditto. * ResultSetMetaData.java: Ditto. * SQLException.java: Ditto. * SQLWarning.java: Ditto. * Statement.java: Ditto. * Types.java: Ditto. From-SVN: r37906
2000-11-29Check this.len, not len, when determining if there is no more input data.Bryce McKinlay1-1/+1
From-SVN: r37847
2000-11-29InflaterInputStream (read): Don't return -1 unless the infate() call didn't ↵Bryce McKinlay4-15/+18
deliver any output. * java/util/zip/InflaterInputStream (read): Don't return -1 unless the infate() call didn't deliver any output. Throw a ZipException if the needsDictionary() call returns true. * java/io/ByteArrayInputStream (read): Remove redundant bounds checks. * java/io/InputStreamReader: Use the default buffer size for the contained BufferedInputStream. From-SVN: r37846
2000-11-29natSystem.cc (init_properties): Set user.language and user.region.Bryce McKinlay5-4/+43
2000-11-29 Bryce McKinlay <bryce@albatross.co.nz> * java/lang/natSystem.cc (init_properties): Set user.language and user.region. * configure.in: Check for setlocale. * configure: Rebuilt. * include/config.h.in: Rebuilt. From-SVN: r37842
2000-11-28DateFormatSymbols.java (zoneStringsDefault): Added more time zone entries.Warren Levy3-3/+30
* java/text/DateFormatSymbols.java (zoneStringsDefault): Added more time zone entries. * java/text/SimpleDateFormat.java (format): Added case for TIMEZONE_FIELD. From-SVN: r37824
2000-11-28DataInputStream.java: Merge classpath docs.Bryce McKinlay3-58/+222
2000-11-28 Bryce McKinlay <bryce@abatross.co.nz> * java/io/DataInputStream.java: Merge classpath docs. Call in.read() directly rather than read() in all cases. Make primitive read implementations more efficient, as defined in JDK online docs. (skipBytes): Behave like the JDK's implementation. * java/io/BufferedReader.java: Merge classpath docs. Check for a closed stream with checkStatus() whenever an IOException can be thrown. (checkStatus): New private method. From-SVN: r37810
2000-11-28Makefile.am: Added natTimeZone.cc.Warren Levy8-560/+2221
* Makefile.am: Added natTimeZone.cc. * Makefile.in: Rebuilt. * gnu/gcj/text/LocaleData_en.java: Added DateFormat entries. * java/text/DateFormatSymbols.java (ampms): Made package private. (eras): Made package private. (months): Made package private. (shortMonths): Made package private. (shortWeekdays): Made package private. (weekdays): Made package private. (formatPrefixes): New private field. (localPatternCharsDefault): Made private. (dateFormats): New package private field. (timeFormats): New package private field. (formatsForKey): New private method. (DateFormatSymbols(Locale)): Set dateFormats and timeFormats. (DateFormatSymbols(DateFormatSymbols)): Ditto. * java/text/SimpleDateFormat.java: Merged with Classpath. * java/util/TimeZone.java: Merged with Classpath. * java/util/natTimeZone.cc: New file. From-SVN: r37808
2000-11-27MIssing ChangeLog entry for my last commits.Anthony Green1-0/+13
From-SVN: r37788
2000-11-27More new classes.Anthony Green10-0/+232
From-SVN: r37786
2000-11-27Vector.java (ensureCapacity): Don't increment modCount.Bryce McKinlay4-39/+55
2000-11-27 Bryce McKinlay <bryce@albatross.co.nz> * java/util/Vector.java (ensureCapacity): Don't increment modCount. (addElement): Don't increment elementCount twice. Doh. * java/util/ArrayList.java (add): Only call ensureCapacity if the array needs to be expanded. (addAll): Ditto. * java/util/Collections.java (UnmodifiableCollection): Implement toString(). (UnmodifiableList): Throw UnsupportedOperationException from modification methods. Set `l' from the one-parameter constructor. (UnmodifiableMap): Implement toString(). (SynchronizedCollection): Ditto. (SynchronizedList): Set `l' from the one-parameter constructor. (SynchronizedSortedSet): Set `ss' from the one-parameter constructor. (SynchronizedMap): Implement toString(). From-SVN: r37785
2000-11-27Replace stubs with actual implementationAnthony Green2-31/+45
From-SVN: r37782
2000-11-27More JNDI changes.Anthony Green28-3/+848
From-SVN: r37779
2000-11-27Reverted erroneous Makefile.am commitTom Tromey2-13/+6
From-SVN: r37774
2000-11-27Forgot to commit these ChangeLog entries.Bryce McKinlay1-0/+32
From-SVN: r37773
2000-11-27Makefile.in: Rebuilt.Tom Tromey8-37/+241
* Makefile.in: Rebuilt. * Makefile.am (core_java_source_files): Added RuntimePermission.java. * java/lang/RuntimePermission.java: Imported from Classpath. * java/lang/Thread.java (getContextClassLoader): Now synchronized. Added security code. (setContextClassLoader): Likewise. From-SVN: r37772
2000-11-27prims.cc (_Jv_NewObjectArray): Use const_cast to initialize length field of ↵Tom Tromey3-4/+23
array. * prims.cc (_Jv_NewObjectArray): Use const_cast to initialize length field of array. (_Jv_NewPrimArray): Likewise. * gcj/array.h (__JArray): `length' field now const. Added constructor. From-SVN: r37771
2000-11-27Initial jndi check-inAnthony Green19-0/+676
From-SVN: r37770
2000-11-26* libjava.compile/weirddecl.java: New file.Tom Tromey3-0/+13
From-SVN: r37767
2000-11-26Forgot to commit this ChangeLogAnthony Green1-1/+36
From-SVN: r37752
2000-11-26prims.cc (_Jv_NewObjectArray): Undo placement change.Anthony Green8-98/+191
2000-11-25 Anthony Green <green@redhat.com> * prims.cc (_Jv_NewObjectArray): Undo placement change. (_Jv_NewPrimArray): Likewise. * gcj/array.h (__JArray): Undo const change. Removed constructor. (class JArray): Removed constructor. * java/lang/Thread.java (context_class_loader): New private data. (getContextClassLoader): New method. (setContextClassLoader): New method. (Thread): Initialize context_class_loader. * java/net/URLClassLoader.java: Import java.util.Enumeration. (getResource): Rename to findResource. (findResource): New method. Used to be getResource. (getResourceAsStream): Deleted. (jarFileize): Extracted logic from URLClassLoader constructor into this new private method. (addURL): New protected method. (URLClassLoader): Call jarFileize. Use addElement instead of insertElementAt. (findResources): New method. * java/lang/ClassLoader.java: Import java.util.Enumeration. (getResource): Implement correct logic. (findResource): New method. (getResources): New method. (findClass): Create a ClassNotFoundException with the name of the class rather than nothing at all. (defineClass) Only throw ClassFormatError. * java/lang/Class.java (forName): New method. * java/lang/Class.h (forName): New method. * java/lang/natClass.cc (forName): New method. From-SVN: r37751
2000-11-26System.java (setProperties): Only call init_properties() if properties is null.Bryce McKinlay9-374/+371
2000-11-24 Bryce McKinlay <bryce@albatross.co.nz> * java/lang/System.java (setProperties): Only call init_properties() if properties is null. (getProperties): Ditto. (getProperty): Ditto. (setProperty): Call init_properties if properties are null. (prop_init): Remove field. * java/lang/natSystem.cc (init_properties): Synchronize the entire method. Check for null properties after synchronizing instead of prop_init flag. Set the properties field last for thread safety. * java/io/ObjectInputStream.java (ObjectInputStream): If DEBUG is set, test for gcj.dumpobjects property and enable object stream dumping if it is set. (dumpElement): No longer native. (dumpElementln): Ditto. (setDump): Do not define. * java/io/natObjectInputStream.cc (dumpElement): Removed. (dumpElementln): Removed. (setDump): Removed. 2000-11-24 Bryce McKinlay <bryce@albatross.co.nz> * configure: Rebuilt. * Makefile.in: Rebuilt. * Makefile.am (built_java_source_files): Add Configuration.java. * configure.in: Add Configuration.java to CONFIG_FILES. Set LIBGCJDEBUG substitution if --enable-libgcj-debug is specified. Create `gnu' directory in the build tree. * gnu/classpath/Configuration.java.in: New file. From-SVN: r37749
2000-11-24libjava.exp (bytecompile_file): Change default from javac to gcj -C.Anthony Green3-3/+13
Fri Nov 24 11:25:20 2000 Anthony Green <green@redhat.com> * lib/libjava.exp (bytecompile_file): Change default from javac to gcj -C. (libjava_arguments): Fix classpath. * libjava.compile/PR129_B.no-link: New file. From-SVN: r37719
2000-11-24prims.cc (_Jv_NewObjectArray): Use palcement new to create array.Tom Tromey3-7/+32
* prims.cc (_Jv_NewObjectArray): Use palcement new to create array. (_Jv_NewPrimArray): Likewise. Include <new>. * gcj/array.h (__JArray): `length' field now const. Added constructor. (class JArray): Added constructor. From-SVN: r37718
2000-11-24* libjava.compile/PR375.java: New file. For PR gcj/375.Tom Tromey2-0/+9
From-SVN: r37717
2000-11-24* libjava.compile/PR374.java: New file. For PR gcj/374.Tom Tromey2-0/+13
From-SVN: r37716
2000-11-23name-finder.cc (lookup): Check for a NULL _Jv_argv before attempting lookup.Mark Wielaard2-2/+7
2000-11-23 Mark Wielaard <mark@klomp.org> * name-finder.cc (lookup): Check for a NULL _Jv_argv before attempting lookup. From-SVN: r37687
2000-11-23Vector.java: Improve exception messages.Bryce McKinlay2-18/+32
2000-11-23 Bryce McKinlay <bryce@albatross.co.nz> * java/util/Vector.java: Improve exception messages. (Vector): Check initialCapacity for IllegalArgumentException. (tromToSize): Don't check for elementCount == elementData.length case. (toArray): Don't try to set null marker if target array is the same length as the vector. From-SVN: r37685