summaryrefslogtreecommitdiffstats
path: root/libjava
Commit message (Collapse)AuthorAgeFilesLines
* * java/awt/geom/Point2D.java: Added protected constructor.tromey2000-12-047-18/+51
| | | | | | | | | | | | | | | (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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37988 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/awt/AWTError.java: Extend Error, nottromey2000-12-042-6/+9
| | | | | | | IllegalStateException. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37987 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Rebuilt.tromey2000-12-034-0/+352
| | | | | | | | * Makefile.am (awt_java_source_files): Added new file. * java/awt/geom/RoundRectangle2D.java: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37980 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Rebuilt.tromey2000-12-034-14/+266
| | | | | | | | * Makefile.am (awt_java_source_files): Added new file. * java/awt/FlowLayout.java: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37968 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Rebuilt.tromey2000-12-034-6/+287
| | | | | | | | * Makefile.am (awt_java_source_files): Added new file. * java/awt/GridLayout.java: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37967 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Rebuilt.tromey2000-12-035-3/+416
| | | | | | | | | * Makefile.am (awt_java_source_files): Added new files. * java/awt/CardLayout.java: New file. * java/awt/AWTPermission.java: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37965 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/util/Vector.java (insertElementAt): Unconditionallytromey2000-12-022-2/+13
| | | | | | | | increment elementCount. (removeRange): Clear unused slots in vector. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37944 138bc75d-0d04-0410-961f-82ee72b054a4
* From Adam Welc <welc@cs.purdue.edu>:bryce2000-12-022-1/+16
| | | | | | | | | * java/util/LinkedList.java (removeFirst): Update `first' field. Handle the last == first case. (removeLast): Update `last' field. Handle the last == first case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37940 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-12-02 Bryce McKinlay <bryce@albatross.co.nz>bryce2000-12-025-2/+13
| | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37938 138bc75d-0d04-0410-961f-82ee72b054a4
* Really reverted erroneous checkintromey2000-12-012-13/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37930 138bc75d-0d04-0410-961f-82ee72b054a4
* Reverted erroneous checkintromey2000-12-011-14/+13
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37929 138bc75d-0d04-0410-961f-82ee72b054a4
* more worktromey2000-12-014-7/+18
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37926 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.am: Added entries for new java.sql modules.warrenl2000-12-013-5/+33
| | | | | | | * Makefile.in: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37919 138bc75d-0d04-0410-961f-82ee72b054a4
* * mauve-libgcj: Turned on JDK1.2 and turned off tests for classeswarrenl2000-12-012-4/+18
| | | | | | | that aren't quite 1.2 compatible yet. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37913 138bc75d-0d04-0410-961f-82ee72b054a4
* Fixed ChangeLog entry to be path specific.warrenl2000-12-011-21/+21
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37908 138bc75d-0d04-0410-961f-82ee72b054a4
* * Array.java: New file from classpath.warrenl2000-12-0122-20/+3810
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37906 138bc75d-0d04-0410-961f-82ee72b054a4
* Check this.len, not len, when determining if there is no more input data.bryce2000-11-291-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37847 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/util/zip/InflaterInputStream (read): Don't return -1 unlessbryce2000-11-294-15/+18
| | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37846 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-11-29 Bryce McKinlay <bryce@albatross.co.nz>bryce2000-11-295-4/+43
| | | | | | | | | | | * java/lang/natSystem.cc (init_properties): Set user.language and user.region. * configure.in: Check for setlocale. * configure: Rebuilt. * include/config.h.in: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37842 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/text/DateFormatSymbols.java (zoneStringsDefault): Addedwarrenl2000-11-283-3/+30
| | | | | | | | | more time zone entries. * java/text/SimpleDateFormat.java (format): Added case for TIMEZONE_FIELD. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37824 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-11-28 Bryce McKinlay <bryce@abatross.co.nz>bryce2000-11-283-58/+222
| | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37810 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.am: Added natTimeZone.cc.warrenl2000-11-288-560/+2221
| | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37808 138bc75d-0d04-0410-961f-82ee72b054a4
* MIssing ChangeLog entry for my last commits.green2000-11-271-0/+13
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37788 138bc75d-0d04-0410-961f-82ee72b054a4
* More new classes.green2000-11-2710-0/+232
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37786 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-11-27 Bryce McKinlay <bryce@albatross.co.nz>bryce2000-11-274-39/+55
| | | | | | | | | | | | | | | | | | | | * 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(). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37785 138bc75d-0d04-0410-961f-82ee72b054a4
* Replace stubs with actual implementationgreen2000-11-272-31/+45
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37782 138bc75d-0d04-0410-961f-82ee72b054a4
* More JNDI changes.green2000-11-2728-3/+848
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37779 138bc75d-0d04-0410-961f-82ee72b054a4
* Reverted erroneous Makefile.am committromey2000-11-272-13/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37774 138bc75d-0d04-0410-961f-82ee72b054a4
* Forgot to commit these ChangeLog entries.bryce2000-11-271-0/+32
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37773 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Rebuilt.tromey2000-11-278-37/+241
| | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37772 138bc75d-0d04-0410-961f-82ee72b054a4
* * prims.cc (_Jv_NewObjectArray): Use const_cast to initializetromey2000-11-273-4/+23
| | | | | | | | | | length field of array. (_Jv_NewPrimArray): Likewise. * gcj/array.h (__JArray): `length' field now const. Added constructor. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37771 138bc75d-0d04-0410-961f-82ee72b054a4
* Initial jndi check-ingreen2000-11-2719-0/+676
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37770 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.compile/weirddecl.java: New file.tromey2000-11-263-0/+13
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37767 138bc75d-0d04-0410-961f-82ee72b054a4
* Forgot to commit this ChangeLoggreen2000-11-261-1/+36
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37752 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-11-25 Anthony Green <green@redhat.com>green2000-11-268-98/+191
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37751 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-11-24 Bryce McKinlay <bryce@albatross.co.nz>bryce2000-11-269-374/+371
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37749 138bc75d-0d04-0410-961f-82ee72b054a4
* Fri Nov 24 11:25:20 2000 Anthony Green <green@redhat.com>green2000-11-243-3/+13
| | | | | | | | | | | * lib/libjava.exp (bytecompile_file): Change default from javac to gcj -C. (libjava_arguments): Fix classpath. * libjava.compile/PR129_B.no-link: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37719 138bc75d-0d04-0410-961f-82ee72b054a4
* * prims.cc (_Jv_NewObjectArray): Use palcement new to createtromey2000-11-243-7/+32
| | | | | | | | | | | | array. (_Jv_NewPrimArray): Likewise. Include <new>. * gcj/array.h (__JArray): `length' field now const. Added constructor. (class JArray): Added constructor. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37718 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.compile/PR375.java: New file. For PR gcj/375.tromey2000-11-242-0/+9
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37717 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.compile/PR374.java: New file. For PR gcj/374.tromey2000-11-242-0/+13
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37716 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-11-23 Mark Wielaard <mark@klomp.org>bryce2000-11-232-2/+7
| | | | | | | | * name-finder.cc (lookup): Check for a NULL _Jv_argv before attempting lookup. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37687 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-11-23 Bryce McKinlay <bryce@albatross.co.nz>bryce2000-11-232-18/+32
| | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37685 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-11-22 Bryce McKinlay <bryce@albatross.co.nz>bryce2000-11-228-421/+2824
| | | | | | | | | | | | | | | | | | * Makefile.in: Rebuilt. * Makefile.am (core_java_source_files): Added Collections.java. * java/util/List.java: Merged from classpath. * java/util/Vector.java: Ditto. * java/util/Collections.java: From classpath. * java/util/ArrayList.java (addAll(Collection)): Call addAll(int,Collection) instead of duplicating code. (indexOf): Clean up int initialization. (clear): Set cleared array entries to null, to allow garbage collection. * java/util/List.java: Minor formatting fixes. * java/util/SimpleTimeZone.java: ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37652 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Rebuilt.tromey2000-11-206-3/+370
| | | | | | | | | | * Makefile.am (core_java_source_files): Added new files. * java/lang/reflect/ReflectPermission.java: New class. * java/io/FileFilter.java: From Classpath * java/io/FilePermission.java: From Classpath. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37586 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/reflect/AccessibleObject.java (isAccessible,tromey2000-11-182-26/+29
| | | | | | | setAccessible): Now public. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37540 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natString.cc: Include Locale.h.tromey2000-11-187-159/+327
| | | | | | | | | | | | | | | | | | | | | | | | | | | (toUpperCase): Added `locale' argument. Handle locale sensitivity. (toLowerCase): Added `locale' argument. Handle locale sensitivity. (ESSET, CAPITAL_S, SMALL_I, CAPITAL_I_WITH_DOT, SMALL_DOTLESS_I, CAPITAL_I): New defines. * java/lang/String.java (CASE_INSENSITIVE_ORDER): Now public and final. Import Locale. (toUpperCase, toLowerCase): New methods. Variants which accept locale now native. * java/lang/ExceptionInInitializerError.java (printStackTrace): New methods. * java/util/PropertyPermission.java: Re-merged from Classpath. * java/text/RuleBasedCollator.java (getCollationElementIterator): New method. * java/text/StringCharacterIterator.java: Reindented. (setText): New method. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37539 138bc75d-0d04-0410-961f-82ee72b054a4
* Merge with Classpath (changes by Bryce McKinlay)mark2000-11-188-1323/+1461
| | | | | | | | * java/util/jar/*.java: Reformat all to unofficial standard coding style. No changes of substance. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37538 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/util/zip/*.java: Javadoc and copyright updates.mark2000-11-1719-195/+670
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37526 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/text/CollationKey.java: Implement Comparable.tromey2000-11-175-10/+78
| | | | | | | | | | | | | | | (compareTo(Object)): New method. * java/text/Collator.java (compare(Object,Object)): New method. Implement Comparator. * java/util/zip/InflaterInputStream.java (available): New method. (close): New method. (read, available, skip, fill): Throw exception if stream closed. * java/util/zip/ZipInputStream.java (read, skip, readFully, fill, getNextEntry): Throw exception if closed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37525 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/PushbackReader.java: Merged with Classpath.tromey2000-11-177-811/+1790
| | | | | | | | | | | | | | | | | | * java/util/Arrays.java: Updated from Classpath. * scripts/blocks.pl: New file. * java/lang/Character.java (Subset): New class. (UnicodeBlock): New class. * java/lang/Math.java (toDegrees, toRadians): New methods. * java/lang/Float.java: Implement Comparable. (compareTo): New methods. * java/lang/Double.java: Implement Comparable. (compareTo): New methods. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37512 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud