summaryrefslogtreecommitdiffstats
path: root/libjava/java
Commit message (Collapse)AuthorAgeFilesLines
* * java/lang/natClass.cc (getSignature): Don't try to dereferencebryce2001-02-142-16/+17
| | | | | | | | | | | | | | | param_types if it is null. Instead, take this to mean "no parameters". * java/lang/TreeMap.java (TreeIterator.next): Throw NoSuchElementException in preference to ConcurrentModificationException. (TreeIterator.remove): Throw IllegalStateException in preference to ConcurrentModificationException. (SubMap.firstKey): Do a better check for empty SubMap, and if it is, throw a NoSuchElementException. (SubMap.lastKey): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39658 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/util/TreeMap.java: New file.bryce2001-02-145-16/+1756
| | | | | | | | | | | | | | | | * java/util/TreeSet.java: New file. * Makefile.am: Add TreeMap and TreeSet. Enable WeakHashMap. * Makefile.in: Rebuilt. * java/util/HashSet.java (clone): Use constructor instead of calling clone on itself. * java/util/SortedSet.java: Sync with classpath. * java/util/HashMap.java (hash): Use if statement instead of ternary, for clarity. Resolves PR libgcj/1758. Resolves PR java/1684. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39657 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/PipedReader.java (ready): Throw IOException if pipetromey2001-02-134-19/+29
| | | | | | | | | | | | | closed. * java/io/FilterReader.java (close): Don't clear `in'. * java/io/CharArrayReader.java (mark): Throw IOException if stream closed. (read, ready, reset, skip): Added exception message. * java/io/BufferedReader.java (mark, reset, ready, read, skip): Perform checkStatus check inside synchronized block. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39641 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/BlockDataException.java: Removed.bryce2001-02-132-40/+1
| | | | | | | | | | * java/io/ObjectInputStream.java (readObject): Throw StreamCorruptedException, not BlockDataException. * Makefile.am: Remove BlockDataException. * Makefile.in: Rebuild. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39616 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/util/Timer.java: New version from Classpath.tromey2001-02-091-429/+492
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39573 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/Double.java (doubleToRawLongBits): Now native.bryce2001-02-094-17/+20
| | | | | | | | | * java/lang/Float.java (floatToRawIntBits): Likewise. * java/lang/natDouble.cc (doubleToRawLongBits): New method. * java/lang/natFloat.cc (floatToRawIntBits): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39572 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-02-09 Alexandre Petit-Bianco <apbianco@redhat.com>apbianco2001-02-091-0/+16
| | | | | | | | | | | | * java/io/File.java (java.net): Imported. (getAbsoluteFile): Added. (getCanonicalPath): Likewise. (toURL): Likewise. (http://gcc.gnu.org/ml/java-patches/2001-q1/msg00208.html) git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39562 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/OutputStreamWriter.java: (flush, writeChars): Throwbryce2001-02-091-1/+7
| | | | | | | IOException if stream closed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39559 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/Byte.java: Remove redundant instanceof and null checks.bryce2001-02-096-51/+39
| | | | | | | | | | | | | * java/lang/Integer.java: Likewise. * java/lang/Long.java: Likewise. * java/lang/Short.java: Likewise. * java/lang/Double.java: Likewise. (doubleToRawLongBits): New method. * java/lang/Float.java: As above. (floatToRawIntBits): New method. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39556 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/Float.java (parseFloat): New method.tromey2001-02-091-1/+9
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39555 138bc75d-0d04-0410-961f-82ee72b054a4
* From paul@dawa.demon.co.uk. Fix for PR libgcj/1913:tromey2001-02-091-1/+10
| | | | | | | | * java/io/InputStreamReader.java (ready, read): Throw IOException if stream has been closed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39553 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/java/:jsm282001-02-082-2/+2
| | | | | | | | | | | | | | | | * gcj.texi: Change sources.redhat.com reference to gcc.gnu.org. libffi/: * include/ffi.h.in: Change sourceware.cygnus.com references to gcc.gnu.org. libjava/: * README, gij.cc, java/lang/natClass.cc, java/lang/natSystem.cc: Change sources.redhat.com and sourceware.cygnus.com references to gcc.gnu.org. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39531 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix for PR libgcj/1906:tromey2001-02-071-25/+17
| | | | | | | | | | | * java/text/MessageFormat.java (setLocale): Use named class literals. (forName): Removed. (format(Object,StringBuffer,FieldPosition)): Special case if argument is an Object[]. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39529 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/util/Arrays.java: Removed "cmp" methods.bryce2001-02-071-88/+53
| | | | | | | | | | | | | (qsort): Don't use "cmp". (med3): Likewise. 2001-02-07 Mark Benvenuto <mcb54@columbia.edu> * java/util/Arrays.java (qsort): Handle N value of 7 with insertion sort. Fix for PR java/1895. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39514 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/ObjectInputStream.java (read): AND byte with 0xff to makebryce2001-01-272-15/+43
| | | | | | | | | | | | result unsigned. (read (byte[], int, int)): Only call readNextBlock() if the block buffer would actually be overrun. Increment blockDataPosition. (callReadMethod): Propagate exceptions from invocation target. * java/io/ObjectOutputStream.java (callWriteMethod): Propagate exceptions from invocation target. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39293 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natSystem.cc (getSystemTimeZone): Only use tm_gmtoffwarrenl2001-01-261-2/+15
| | | | | | | and timezone if they are available on the system. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39283 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/sf_fabs.c: Use uint32_t, not __uint32_t.tromey2001-01-251-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39269 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Rebuilt.tromey2001-01-241-0/+47
| | | | | | | | * Makefile.am (c_source_files): Added sf_fabs.c. * java/lang/sf_fabs.c: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39238 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/text/SimpleDateFormat.java (format): Compute hour for caseswarrenl2001-01-201-6/+6
| | | | | | | | | | HOUR_OF_DAY1_FIELD (1-24), HOUR1_FIELD (1-12), and HOUR0_FIELD (0-11) correctly. Adjust properly from 0-23 clock hour. Fixes failure in Mauve test java.text.SimpleDateFormat.Test (format). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39147 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/bean/Beans.java (instantiate): enable Applet code from Classpathmark2001-01-181-11/+9
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39105 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/Class.h (isInterface): Move implementation frombryce2001-01-173-13/+13
| | | | | | | | | | | natClass.cc. Declare inline. (Class): Add default constructor. * java/lang/Object.h: Update comments. * java/lang/natClass.cc (initializeClass): Use _Jv_InitClass to initialize superclass, saving a call if super is already initialized. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39091 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-01-16 Alexandre Petit-Bianco <apbianco@cygnus.com>apbianco2001-01-172-59/+20
| | | | | | | | | | | | | | | | * prims.cc (init_prim_class): Deleted. (DECLARE_PRIM_TYPE): Rewritten. * java/lang/Class.h (stdio.h): Include removed. (stddef.h): Included. (java/lang/reflect/Modifier.h): Likewise. (Class): Contructor now takes arguments, initializes fields. (initializePrim): Prototype deleted. * java/lang/natClass.cc (initializePrim): Deleted. (http://sources.redhat.com/ml/java-patches/2001-q1/msg00081.html) git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39088 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/math/BigInteger.java: Update Copyright year.warrenl2001-01-171-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39082 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-01-16 Hans Boehm <hans_boehm@hp.com>bryce2001-01-171-4/+6
| | | | | | | | * java/math/BigInteger.java (setShiftRight): Only do negative shift if count != 0. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39080 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-01-07 Alexandre Petit-Bianco <apbianco@cygnus.com>apbianco2001-01-153-19/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All files with updated copyright. * prims.cc (class _Jv_PrimClass): Removed. (init_prim_class): New function. (DECLARE_PRIM_TYPE): Rewritten. `java::lang::Class' replaces `_Jv_PrimClass' in primitive type declarations. Assign to the value returned by `init_prim_class.' * gcj/array.h: `java::lang::Class' replaces `_Jv_PrimClass' in primitive type declarations. (JvPrimClass): Cast to `jclass' removed. * java/lang/Class.h (Class): New constructor. (Class): New copy constructor. (initializePrim): New prototype. (_Jv_PrimClass): Field removed. * java/lang/Object.h (struct _JvObjectPrefix): New virtuals nacd_1 and nacd_2 (for compatibility with the new C++ ABI.) (class java::lang::Object): `finalize' moved up front. * java/lang/natClass.cc (isAssignableFrom): Turned outline. (isInstance): Likewise. (isInterface): Likewise, fixed indentation. (initializePrim): New function. (New C++ ABI compatibility patch: http://sources.redhat.com/ml/java-patches/2001-q1/msg00065.html) git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39032 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/net/URLDecoder.java: Thanks Edgar Villanueva (edgarvil@home.com)mark2001-01-151-21/+56
| | | | | | | (decode): Merge comments with Classpath, don't throw Exception git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39030 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natSystem.cc: Include locale.h if it exists.tromey2001-01-121-0/+4
| | | | | | | | * configure: Rebuilt. * configure.in: Check for locale.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38957 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/awt/Cursor.java (Cursor(String)): Set type to custom.tromey2001-01-111-3/+5
| | | | | | | | (Cursor(int), getPredefinedCursor): Throw exception if argument invalid. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38911 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/math/BigDecimal.java (divide): Fixed comment.warrenl2001-01-101-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38862 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix for PR libgcj/1596:warrenl2001-01-101-6/+28
| | | | | | | | | | * java/math/BigDecimal.java (divide): Check newScale for validity. Ensure that BigInteger.pow() is called with a non-negative value. (setScale (int)): New public method. (setScale (int,int)): New public method. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38861 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-01-09 Oskar Liljeblad <osk@hem.passagen.se>warrenl2001-01-091-49/+49
| | | | | | | | | Fix for PR libgcj/1338: * java/io/StreamTokenizer.java (nextToken): Handle // and /* before commentChar. Fixed typos in comments. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38830 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix for PR libgcj/1411:warrenl2001-01-096-139/+205
| | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am: Removed java/util/natTimeZone.cc. * Makefile.in: Rebuilt. * gnu/gcj/text/LocaleData_en_US.java (zoneStringsDefault): Added missing localized timezone names. * java/lang/System.java (getDefaultTimeZoneId): New private method. * java/lang/natSystem.cc (getSystemTimeZone): New private method. (init_properties): Set user.timezone property. * java/text/DateFormatSymbols.java (zoneStringsDefault): Added default timezone names; removed non-standard ones. Use standard ID names per JCL. * java/util/Date.java (toGMTString): Removed zoneGMT variable. (UTC): Ditto. * java/util/TimeZone.java: Add standard ID names per JCL; removed non-standard ones. (getDefaultTimeZoneId): Removed. (zoneGMT): Removed. (getDefaultTimeZoneId): Removed. * java/util/natTimeZone.cc: Removed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38816 138bc75d-0d04-0410-961f-82ee72b054a4
* In gcc/java:bryce2001-01-085-77/+119
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * class.c (make_class_data): Push initial value for "arrayclass". * decl.c (init_decl_processing): Add new class field "arrayclass". In libjava: * java/lang/Class.h (_Jv_InitClass): Use __builtin_expect. (_Jv_NewArrayClass): Renamed from _Jv_FindArrayClass. (_Jv_GetArrayClass): New inline function. (arrayclass): New field. * prims.cc (_Jv_NewObjectArray): Use _Jv_GetArrayClass. Don't use _Jv_GetArrayElementFromElementType. (_Jv_NewPrimArray): Ditto. (_Jv_PrimClass constructor): Initialize "depth", "ancestors", and "idt" for completeness. Initialze "arrayclass" using _Jv_NewArrayClass. Set Modifier::ABSTRACT. * java/lang/natClassLoader.cc (_Jv_NewClass): Initialize "arrayclass". (_Jv_NewArrayClass): Renamed from _Jv_FindArrayClass. Now void. Now synchronized. Array classes are now referenced from elementClass->arrayclass. Don't use _Jv_FindClassInCache. Set array classes' accessibility flags correctly. Optimize so that all array classes share the same IDT. * java/lang/reflect/natArray.cc (newInstance): Use _Jv_GetArrayClass. * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature): Ditto. * java/lang/natClass.cc (_getFields): Increment offset. Prevent fields in superclasses from overwriting classes own fields. (_Jv_IsAssignableFrom): Check for NULL source idt instead of calling Modifier::isAbstract(). (null_idt): New static field. (_Jv_PrepareConstantTimeTables): Optimize case where class implements no interfaces. (_Jv_IndexOf): Made inline. * boehm.cc (_Jv_MarkObj): Mark "arrayclass" field. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38808 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix bug in URLConnection and correct javadoc annotations in StringBuffer.green2001-01-072-4/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38781 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix comments for docletsgreen2001-01-067-14/+19
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38754 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/PipedReader: Synchronize on "lock" instead of this.bryce2001-01-051-118/+130
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38731 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/PipedInputStream: Rewrote to be simpler and more correct.bryce2001-01-054-1240/+856
| | | | | | | | | | * java/io/PipedOutputStream: Updated to match new PipedInputStream. * java/io/PipedReader: New implementation based on new PipedInputStream. * java/io/PipedWriter: Updated to match new PipedOutputStream. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38708 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/Thread.java: Update comment.bryce2001-01-051-6/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38697 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/awt/ScrollPane.java (setBlockIncrement): Throw error.tromey2001-01-032-21/+13
| | | | | | | | | | (getViewportSize): Insets include scrollbar size. (doLayout): Finished. (getScrollPosition): Wrote. * java/awt/peer/ScrollPanePeer.java (setBlockIncrement): Removed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38670 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/awt/ScrollPane.java: Wrote.tromey2001-01-036-98/+520
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/awt/peer/ScrollPanePeer.java (setBlockIncrement): New method. * java/awt/Panel.java (Panel()): Fixed. * java/awt/Component.java (isShowing): Return false if no peer exists, and true if component is visible and no parent exists. (getLocationOnScreen): Wrote. (getPreferredSize): Removed FIXME comment. (getMinimumSize): Likewise. (getAlignmentX, getAlignmentY): Wrote. (list): Wrote. (requestFocus): Wrote. (transferFocus): Wrote. (findNextFocusComponent): New method. (hasFocus()): Wrote. (checkImage): Wrote. (enableEvents): Call setEventMask on the peer. * java/awt/Container.java (list): Use super.list() to print self. (findNextFocusComponent): New method. (setLayout): Call invalidate. (findComponentAt): Wrote. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38639 138bc75d-0d04-0410-961f-82ee72b054a4
* For boehm-gc:bryce2000-12-301-6/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in: Rename THREADLIB to THREADLIBS. * Makefile.am (LINK): Add $(THREADLIBS) to libtool command line. This ensures that we link the correct version of the linuxthreads semaphore functions. * Makefile.in: Rebuilt. * configure: Rebuilt. * linux_thread.c (GC_thr_init, GC_suspend_handler): Add SIGABRT to the list of signals which are not blocked during suspend in the NO_SIGNALS case. For libjava: * Makefile.am (libgcj_la_LIBADD): Add $(THREADLIBS). This ensures that the correct versions of various linuxthreads functions get linked. * Makefile.in: Rebuilt. * java/lang/natThread.cc (finalize_native): New static function. Call _Jv_ThreadDestroyData. (initialize_native): Register finalizer for "data". * include/posix-threads.h (_Jv_ThreadInitData): New simpler prototype. (_Jv_ThreadDestroyData): New prototype. * include/win32-threads.h: Ditto. * include/no-threads.h: Ditto. * posix-threads.cc (_Jv_ThreadInitData): Implement new prototype. (_Jv_ThreadDestroyData): New function. Free native thread "data" and move mutex and condition variable destroy code from: (really_start): ...here. (_Jv_ThreadStart): Set PTHREAD_CREATE_DETACHED. * win32-threads.cc (_Jv_ThreadInitData): Implement new prototype. (_Jv_ThreadDestroyData): Implemented. * nogc.cc (_Jv_AllocObject): Use "void *" not "ptr_t". (_Jv_AllocArray): Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38557 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-12-27 Jeff Sturm <jeff.sturm@commerceone.com>bryce2000-12-281-2/+4
| | | | | | | | * java/sql/DriverManager.java (getConnection): Don't set user/password properties if null. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38516 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix for PR libgcj/1358:warrenl2000-12-285-16/+15
| | | | | | | | | | | | | | | | | * java/lang/System.java: Update Copyright date properly. * java/util/Calendar.java: Fix typo in comment. (set): Set 24-hour clock hour instead of 12-hour clock hour. * java/util/GregorianCalendar.java (GregorianCalendar): Properly initialize times. Spec says to set H:M:S values to zero only if a date is given. * java/util/TimeZone.java (getDefaultDisplayName): Casts to char needed for evaluating numbers '0' to '9' in printouts of GMT offsets. * java/util/natGregorianCalendar.cc (computeTime): Properly handle timezones and GMT offsets, being careful to account for units of milliseconds vs. seconds. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38508 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix for PR libgcj/1516:bryce2000-12-281-34/+34
| | | | | | | | | | | | | * java/lang/reflect/natMethod.cc (primitives): Remove void entry. Add boolean entry. (can_widen): Declared inline. Remove redundant checks for void arguments and char->short conversion. Add special case for boolean conversions. (ffi_type): Declared inline. (_Jv_CallAnyMethodA): Move unwrapping logic inside isPrimitive() block. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38506 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natClass.cc (_Jv_IsAssignableFrom): Primitive TYPEs canbryce2000-12-281-2/+2
| | | | | | | not be assigned to Object. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38505 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-12-26 Petter Reinholdtsen <pere@hungry.com>warrenl2000-12-271-1/+1
| | | | | | | * java/sql/SQLWarning.java: Fixed typo in comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38493 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/awt/MenuItem.java (paramString): Now protected.tromey2000-12-265-27/+409
| | | | | | | | | | | | | | | | | * java/awt/MenuShortcut.java: Implements Serializable. * java/awt/MenuBar.java: Rewrote from scratch. * java/awt/MenuComponent.java (removeNotify): Wrote. Implements Serializable. * java/awt/GridBagConstraints.java (GridBagConstraints): New constructor. * java/awt/CheckboxMenuItem.java: Wrote. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38488 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/awt/MenuContainer.java: Fixed typo.tromey2000-12-2618-50/+761
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.in: Rebuilt. * Makefile.am (awt_java_source_files): Added SystemColor.java. * java/awt/SystemColor.java: New file. * java/awt/Color.java (rgba): Now package-private. * java/awt/event/InputEvent.java (isAltGraphDown): New method. * java/awt/event/ContainerEvent.java (getContainer): Renamed from getComponent. * java/awt/MenuItem.java (addNotify): New method. (MenuItem(String,MenuShortcut)): New constructor. (setLabel): Notify peer of change. (setEnabled): Likewise. * java/awt/GridLayout.java (toString): New method. * java/awt/FlowLayout.java (LEADING, TRAILING): New constants. (FlowLayout): Check for LEADING and TRAILING. (setAlignment): Likewise. (layoutContainer): Handle component orientation. * java/awt/Component.java (orientatin): New field. (setComponentOrientation): Wrote. (getComponentOrientation): Wrote. * java/awt/Event.java (Event): Implements Serializable. (consumed): New field for serialization. * java/awt/Dimension.java (Dimension): Implements Serializable. * java/awt/Cursor.java (Cursor): Implements Serializable. * java/awt/Container.java (Container): No longer abstract. * java/awt/Choice.java: Wrote. * java/awt/Checkbox.java: Wrote. * java/awt/ItemSelectable.java: Documented. * java/awt/CheckboxGroup.java: Wrote. * java/awt/CardLayout.java (layoutContainer): Directly use fields in other classes. (getSize): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38486 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-12-24 Jeff Sturm <jeff.sturm@commerceone.com>tromey2000-12-261-7/+6
| | | | | | | | * java/io/FileDescriptor.java: Initialize fd to -1. Remove default constructor. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38485 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/mprec.h: Change C9X reference to refer to C99.jsm282000-12-231-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38481 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud