summaryrefslogtreecommitdiffstats
path: root/libjava/java
Commit message (Collapse)AuthorAgeFilesLines
* * java/rmi/registry/RegistryHandler.java: Deprecate.tromey2003-03-011-1/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63630 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,tromey2003-03-0126-129/+272
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | isPaintPending): New methods. * gnu/awt/xlib/XFramePeer.java (getState, setState, setMaximizedBounds): New methods. (beginLayout, endLayout, isPaintPending): Likewise. * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method. (requestFocus): Likewise. (isObscured): Likewise. (canDetermineObscurity): Likewise. (coalescePaintEvent): Likewise. (updateCursorImmediately): Likewise. (createVolatileImage): Likewise. (handlesWheelScrolling): Likewise. (createBuffers): Likewise. (getBackBuffer): Likewise. (flip): Likewise. (destroyBuffers): Likewise. * Makefile.in: Rebuilt. * Makefile.am (awt_java_source_files): Added DropTargetPeer.java, RobotPeer.java. * gnu/java/awt/GLightweightPeer.java, gnu/java/awt/peer/gtk/GtkChoicePeer.java, gnu/java/awt/peer/gtk/GtkComponentPeer.java, gnu/java/awt/peer/gtk/GtkContainerPeer.java, gnu/java/awt/peer/gtk/GtkFramePeer.java, gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java, gnu/java/awt/peer/gtk/GtkTextComponentPeer.java, java/awt/dnd/peer/DragSourceContextPeer.java, java/awt/dnd/peer/DropTargetContextPeer.java, java/awt/peer/ButtonPeer.java, java/awt/peer/CheckboxMenuItemPeer.java, java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java, java/awt/peer/ComponentPeer.java, java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java, java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java, java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java, java/awt/peer/MenuBarPeer.java, java/awt/peer/MenuComponentPeer.java, java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java, java/awt/peer/PopupMenuPeer.java, java/awt/peer/ScrollPanePeer.java, java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java, java/awt/peer/TextComponentPeer.java, java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java: New versions from Classpath. * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath. * java/awt/peer/RobotPeer.java: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63627 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/ObjectInputStream.java: Reindent.mark2003-03-012-723/+703
| | | | | | | * java/io/ObjectOutputStream.java: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63614 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a fullhboehm2003-02-281-28/+19
| | | | | | | | | | jvalue for each argument. Simplify. * testsuite/libjava.jni/calls.c (docall), testsuite/libjava.jni/calls.java (longpb_f): check for argument misalignment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63563 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.am (nat_source_files): Removemark2003-02-285-643/+750
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | java/io/natObjectOutputStream.cc. * Makefile.in: Regenerated. * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests. * java/io/ObjectStreamField.java (typename): New field. (ObjectStreamField(String, Class)): Initialize new field. (ObjectStreamField(String, String)): New Constructor. (getTypeCode): Use new field. (getTypeString): Use new field. * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal ObjectStreamExceptions. Remember and reset old BlockDataMode. Handle reading of Proxy classes. Never drain(), just write TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions. (drain): Check writeDataAsBlocks before calling writeBlockDataHeader. (flush): Call flush(), not just drain(). (writeBoolean): Always use blockDataOutput. (writeByte): Likewise. (writeShort): Likewise. (writeChar): Likewise. (writeInt): Likewise. (writeLong): Likewise. (writeFloat): Likewise. (writeDouble): Likewise. (writeBytes): Likewise. (putfield (put(String,Object))): Throw IllegalArgumentException if field cannot be found. (putfield (write(ObjectOutput))): Remember old BlockDataMode. (writeArraySizeAndElements): Write byte[] in one go. (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise set BlockDataMode to false. (annotateProxyClass): New method. (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2 (getField): No longer native. (getMethod): Likewise. (setBlockDataMode): Always drain() on switch, return old mode. (static): New static code block. * java/io/natObjectOutputStream.cc: Removed. * java/io/ObjectInputStream.java (getField): No longer native. (getMethod): Likewise. (readObject): Remember and reset old BlockDataMode. Track whether object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and TC_LONGSTRING. (defaultReadObject): Set BlockDataMode to false during readFields. (resolveClass): Create new SecurityManager if necessary. Use Class.forName() if null ClassLoader found. (read(byte[],int,int): Copy remaining bytes to data before calling readNextBlock(). (readFields): Set and reset BlockDataMode on call_read_method. Catch NoSuchFieldErrors. (setBlockDataMode): Return old mode. (static): New static code block. * java/io/natObjectInputStream.cc (getField): Removed. (getMethod): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63556 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-27 Michael Koch <konqueror@gmx.de>mkoch2003-02-273-396/+526
| | | | | | | | | | * java/beans/Beans.java, java/beans/FeatureDescriptor.java java/beans/PropertyEditorManager.java: Reformated to GNU style. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63501 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/util/prefs/AbstractPreferences.java (isUserNode):tromey2003-02-241-4/+7
| | | | | | | Implemented. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63382 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/ClassLoader.java (defineClass(byte[],int,int)):tromey2003-02-243-3/+6
| | | | | | | | | | Deprecate. * java/lang/Thread.java (resume): Deprecate. * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo in @deprecated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63364 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natRuntime.cc (libraries_size, libraries_count,tromey2003-02-241-42/+17
| | | | | | | | | | | | | | libraries): Removed. (add_library): Removed. (_load): Don't call add_library. (loadLibraryInternal): Likewise. (init): Likewise. (lookup_data): New struct. (find_symbol): New function. (_Jv_FindSymbolInExecutable): Use it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63348 138bc75d-0d04-0410-961f-82ee72b054a4
* New docs for Thread.java, and little tweaks identified by japi.green2003-02-222-14/+554
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63284 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/util/zip/ZipEntry.java (setComment): Don't check length whenmark2003-02-211-1/+1
| | | | | | | argument is null. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63227 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is biggermark2003-02-211-2/+6
| | | | | | | then 65535 chars throw IllegalArgumentException. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63222 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/util/zip/ZipFile.java (finalize): New method.mark2003-02-211-0/+9
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63218 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-20 Raif S. Naffah <raif@fl.net.au>tromey2003-02-201-16/+13
| | | | | | | | | * java/math/BigInteger.java (euclidInv): Take result array as an argument. Updated all callers. (modInverse): Removed unused variables. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63170 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediatelyro2003-02-194-11/+7
| | | | | | | | | | | | | | after config.h. Use <> for consistency. * java/lang/natObject.cc: Likewise. * java/lang/natRuntime.cc: Likewise. * java/lang/natSystem.cc: Likewise. * java/util/natTimeZone.cc: Likewise. * win32.cc: Likewise. * include/posix.h (fcntl, socket, connect, close, bind, accept, listen, write, read): Undef to avoid interference from OS macros. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63122 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-19 Michael Koch <konqueror@gmx.de>mkoch2003-02-196-7/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/java/nio/ByteBufferImpl.java (ByteBufferImpl): Renamed two variables. * gnu/java/nio/CharBufferImpl.java (CharBufferImpl): Renamed two variables. * gnu/java/nio/DoubleBufferImpl.java (DoubleBufferImpl): Renamed two variables. * gnu/java/nio/FloatBufferImpl.java (FloatBufferImpl): Renamed two variables. * gnu/java/nio/IntBufferImpl.java (IntBufferImpl): Renamed two variables. * gnu/java/nio/LongBufferImpl.java (LongBufferImpl): Renamed two variables. * gnu/java/nio/ShortBufferImpl.java (ShortBufferImpl): Renamed two variables. * java/nio/CharBuffer.java (wrap): Fixed arguments to CharBufferImpl constructor. (hasArray): Only not read-only buffers have backing arrays. (length): Documentation added. (subSequence): Documentation added. * java/nio/DoubleBuffer.java (hasArray): Only not read-only buffers have backing arrays. * java/nio/FloatBuffer.java (hasArray): Only not read-only buffers have backing arrays. * java/nio/IntBuffer.java (hasArray): Only not read-only buffers have backing arrays. * java/nio/LongBuffer.java (hasArray): Only not read-only buffers have backing arrays. * java/nio/ShortBuffer.java (hasArray): Only not read-only buffers have backing arrays. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63101 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-19 Michael Koch <konqueror@gmx.de>mkoch2003-02-191-24/+18
| | | | | | | * java/awt/ScrollPaneAdjustable.java: Reformated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63099 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-19 Michael Koch <konqueror@gmx.de>mkoch2003-02-191-1/+5
| | | | | | | | | | | | * gnu/awt/j2d/Graphics2DImpl.java (getFontRenderContext): New method. (drawGlyphVector): New method. * java/awt/Graphics2D.java (getFontRenderContext): New abstract method. (drawGlyphVector): New abstract method. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63097 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-18 Hans Boehm <Hans.Boehm@hp.com>hboehm2003-02-195-15/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize if necessary. * gnu/java/awt/peer/gtk/GtkButtonPeer.java, gnu/java/awt/peer/gtk/GtkTextAreaPeer.java, gnu/java/awt/peer/gtk/GtkTextFieldPeer.java, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c (setFont, gtkSetFont): add. gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): Propagate font to peer. (setFont): add FIXME comment. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (gtkTextGetSize): fix height, width computation. * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer): Make X font name a bit less bogus. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c (post_adjustment_event): Pass on GTK_SCROLL_NONE. * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check. (processAdjustmentEvent): Adjust value. * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one logic errors. * java/awt/Component.java (setVisible, show, hide): Call show and hide methods in subclasses. (getPreferredSize): don't set prefSize before we have peer. * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize): Guess (0,0) if we don't have peer. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63077 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-18 Michael Koch <konqueror@gmx.de>mkoch2003-02-182-8/+243
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/nio/channels/FileChannel.java (toString): New implementation, added documentation. (map): Added exception documentation. (size): Added exception documentation. (write): New methods, documentation work. (read): New methods, documentation work. (implCloseChannel): Rewrote exception documentation. (force): Throws IOException, added documentation. (lock): New methods. (tryLock): New methods. (position): New methods. (transferTo): New method. (transferFrom): New method. (truncate): New method. * java/nio/channels/spi/SelectorProvider.java (provider): Implemented. * Makefile.am (ordinary_java_source_files): Added the following files: gnu/java/nio/DatagramChannelImpl.java gnu/java/nio/FileChannelImpl.java gnu/java/nio/PipeImpl.java gnu/java/nio/SelectionKeyImpl.java gnu/java/nio/SelectorImpl.java gnu/java/nio/SelectorProviderImpl.java gnu/java/nio/ServerSocketChannelImpl.java gnu/java/nio/SocketChannelImpl.java java/nio/channels/FileLock.java (nat_java_source_files): Added the following files: gnu/java/nio/natFileChannelImpl.cc gnu/java/nio/natSelectorImpl.cc gnu/java/nio/natSocketChannelImpl.cc * Makefile.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63028 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/awt/image/ColorModel.java: Re-merged with Classpath.tromey2003-02-182-10/+4
| | | | | | | * java/awt/image/ImageFilter.java: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63024 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-17 Raif S. Naffah <raif@fl.net.au>tromey2003-02-171-18/+15
| | | | | | | | * java/math/BigInteger.java (euclidInv): Return array of `BigInteger's. Changed all callers. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63014 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-17 Ranjit Mathew <rmathew@hotmail.com>tromey2003-02-171-33/+41
| | | | | | | | | | | | * java/util/Properties.java (store): Move the code formerly in list(), into this method. (list (PrintStream)): Just call list (PrintWriter) with a PrintWriter object constructed from the given PrintStream object. (list (PrintWriter)): Emulate the output of Properties.list() as found in JDK 1.3/1.4. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63006 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-17 Michael Koch <konqueror@gmx.de>mkoch2003-02-171-18/+26
| | | | | | | | | | | * java/net/DatagramSocket.java (connect): Merged with classpath. (disconnect): Merged documentation with classpath. (receice): Merged documentation with classpath. (send): Merged documentation with classpath. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63000 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-17 Michael Koch <konqueror@gmx.de>mkoch2003-02-1728-72/+2085
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/awt/dnd/DragSourceContext.java (addDragSourceListener): Added documentation. * java/awt/dnd/DragSourceDragEvent.java (serialVersionUID): New member variable. (getDropAction): Reformated. * java/awt/dnd/DragSourceDropEvent.java (serialVersionUID): New member variable. (dropSuccess): Renamed from success for serialization issues. * java/awt/dnd/DragSourceEvent.java (serialVersionUID): New member variable. * java/awt/dnd/DropTarget.java (serialVersionUID): New member variable. (DropTarget): Implemented, documentation reworked. (setComponent): Documentation added. (getComponent): Documentation added. (setDefaultActions): Documentation added. (getDefaultActions): Documentation added. (addDropTargetListener): Documentation added. * java/awt/dnd/DropTargetContext.java (DropTargetContext): Documentation added. (TransferableProxy.TransferableProxy): New method. (dropComplete): Fixed documentation. (getTransferable): Fixed documentation. (createTransferableProxy): Implemented. * java/awt/dnd/DropTargetDragEvent.java (DropTargetDragEvent): Documentation added. (serialVersionUID): New member variable. (DropTargetDragEvent): Throw exceptions, documentation added. (acceptDrag): Implemented. (getCurrentDataFlavors): Implemented.3yy (getCurrentDataFlavorsAsList): Implemented. (isDataFlavorSupported): Implemented. (rejectDrag): Implemented. * java/awt/dnd/DropTargetDropEvent.java (DropTargetDropEvent): Documentation added. (serialVersionUID): New member variable. (actions): Renamed from srcActions for serialization issues. (isLocalTx): Renamed from isLocalTx for serialization issues. (DropTargetDropEvent): New implementation, throw exceptions, documentation added. (getCurrentDataFlavors): Implemented. (getCurrentDataFlavorsAsList): Implemented. (isDataFlavorSupported): Implemented. (getSourceActions): Implemented. (getDropAction): Implemented. (getTransferable): Implemented. (acceptDrop): Implemented. (rejectDrop): Implemented. * java/awt/dnd/DropTargetListener.java (drop): Fixed documentation. * java/awt/dnd/MouseDragGestureRecognizer.java (MouseDragGestureRecognizer): Documentation added. 2003-02-17 Michael Koch <konqueror@gmx.de> * java/awt/font/FontRenderContext.java, java/awt/font/ShapeGraphicAttribute.java, java/awt/font/MultipleMaster.java, java/awt/font/TransformAttribute.java, java/awt/font/GlyphJustificationInfo.java, java/awt/font/LineBreakMeasurer.java, java/awt/font/TextMeasurer.java, java/awt/font/TextLayout.java, java/awt/font/LineMetrics.java, java/awt/font/TextAttribute.java, java/awt/font/GlyphMetrics.java, java/awt/font/OpenType.java, java/awt/font/GlyphVector.java, java/awt/font/GraphicAttribute.java, java/awt/font/ImageGraphicAttribute.java, java/awt/font/NumericShaper.java: New files. * Makefile.am (awt_java_source_files): Added the following files: java/awt/font/FontRenderContext.java java/awt/font/ShapeGraphicAttribute.java java/awt/font/MultipleMaster.java java/awt/font/TransformAttribute.java java/awt/font/GlyphJustificationInfo.java java/awt/font/LineBreakMeasurer.java java/awt/font/TextMeasurer.java java/awt/font/TextLayout.java java/awt/font/LineMetrics.java java/awt/font/TextAttribute.java java/awt/font/GlyphMetrics.java java/awt/font/OpenType.java java/awt/font/GlyphVector.java java/awt/font/GraphicAttribute.java java/awt/font/ImageGraphicAttribute.java java/awt/font/NumericShaper.java * Makefile.in: Regenerated. 2003-02-17 Michael Koch <konqueror@gmx.de> * java/awt/print/Paper.java (Paper): Implements Cloneable. * java/awt/print/PrinterJob.java (setJobName): Return value must be void. (print): Throws PrinterException. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62999 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-15 Michael Koch <konqueror@gmx.de>mkoch2003-02-151-24/+3
| | | | | | | | | | * java/awt/datatransfer/DataFlavor.java (isRepresentationClassByteBuffer): Removed try-catch block. (isRepresentationClassCharBuffer): Removed try-catch block. (isRepresentationClassReader): Removed try-catch block. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62935 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-15 Jesse Rosenstock <jmr@ugcs.caltech.edu>mkoch2003-02-152-2/+8
| | | | | | | | | | * java/nio/charset/Charset.java (isRegistered): Fixed method args and implementation. * java/nio/charset/CharsetEncoder.java (unmappableCharacterAction): New method. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62934 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-15 Michael Koch <konqueror@gmx.de>mkoch2003-02-1514-14/+406
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/awt/CheckboxMenuItem.java (CheckBoxMenuItem): Dont implement Serializable. (getListeners): New method, (getItemListeners): New method. * java/awt/Choice.java (getListeners): New method, (getItemListeners): New method. * java/awt/Container.java (getListeners): Added exception documentation. (setFocusTraversalKeys): Throw exceptions, added documentattion. (getFocusTraversalKeys): Added documentation. (areFocusTraversalKeysSet): Added documentation. (applyComponentOrientation): Added documentation. * java/awt/ContainerOrderFocusTraversalPolicy.java (implicitDownCycleTraversal): Renamed from downCycle for serialization. (ContainerOrderFocusTraversalPolicy): Added documentation. (accept): Reformated. * java/awt/Dialog.java (Dialog): Dont implement Serializable. (Dialog): Added documentation. * java/awt/Font.java (Font): Dont use absolute class name. * java/awt/Frame.java (Frame): Font implement Serializable. * java/awt/List.java (getListeners): New method, (getActionListeners): New method. (getItemListeners): New method. * java/awt/Menu.java (countItems): New deprecated method. * java/awt/Scrollbar.java (getListeners): New method, (getAdjustmentListeners): New method, * java/awt/TextComponent.java (getListeners): New method, (getTextListeners): New method, * java/awt/TextField.java (getListeners): New method, (getActionListeners): New method. * java/awt/Window.java (windowFocusListener): New member variable. (windowStateListener): New member variable. (getWindowFocusListeners): New method. (getWindowStateListeners): New method. (addWindowFocusListener): New method. (addWindowStateListener): New method. (removeWindowFocusListener): New method. (removeWindowStateListener): New method. * java/awt/datatransfer/DataFlavor.java (isRepresentationClassByteBuffer): New method. (isRepresentationClassCharBuffer): New method. (isRepresentationClassReader): New method. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62933 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/math/BigDecimal.java (BigDecimal(String)): Always set scale tomark2003-02-141-2/+4
| | | | | | | | zero when there is an exponent and the significant is zero. (divide): Always set scale to newScale even in special ZERO case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62908 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/System.java (properties): Use Properties.clone.tromey2003-02-141-3/+9
| | | | | | | (setProperties): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62903 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/InputStreamReader.java (getEncoding): Return null whenmark2003-02-132-4/+10
| | | | | | | | closed. * java/io/OutputStreamWriter.java (getEncoding): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62875 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/util/zip/InflaterInputStream.java (read): Return zero when lenmark2003-02-131-1/+3
| | | | | | | is zero. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62872 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/BufferedOutputStream.java (write(int)): Only flush whenmark2003-02-131-4/+4
| | | | | | | next byte cannot be buffered. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62867 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-13 Michael Koch <konqueror@gmx.de>mkoch2003-02-139-19/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/awt/Label.java (Label): Don't implement Serializable directly. (addNotify): Fixed typo in documentation. * java/awt/List.java (List): Don't implement Serializable directly. * java/awt/PopupMenu.java (PopupMenu): Don't implement Serializable directly. * java/awt/ScrollPane.java (ScrollPane): Don't implement Serializable directly. * java/awt/Scrollbar.java (Scrollbar): Don't implement Serializable directly. * java/awt/TextArea.java (preferredSize): Fixed method arguments. * java/awt/TextField.java (TextField): Don't implement Serializable directly. * java/awt/color/ICC_ColorSpace.java (fromCIOXYZ): Documentation added. (getMinValue): Documentation added. (getMaxValue): Documentation added. * java/awt/datatransfer/DataFlavor.java (isMimeTypeEqual): May not be final. (clone): Throws CloneNotSupportedException. (getReaderForText): Don't throws UnsupportedEncodingException. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62863 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-13 Michael Koch <konqueror@gmx.de>mkoch2003-02-131-0/+3
| | | | | | | | | | * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): New stubbed method. * java/awt/Graphics.java (drawString): New method. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62862 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-13 Casey Marshall <rsdio@metastatic.org>tromey2003-02-131-3/+5
| | | | | | | | PR libgcj/9271: * java/security/SecureRandom.java (next): Avoid bias in results. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62851 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-13 Michael Koch <konqueror@gmx.de>mkoch2003-02-132-6/+401
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/nio/ByteBuffer.java (endian): New member variable. (get): New methods. (equals): New method. (compareTo): New method. (order): New methods. (compact): New method. (isDirect): New method. (slice): New method. (duplicate): New method. (asReadOnlyBuffer): New method. (asCharBuffer): New method. (asDoubleBuffer): New method. (asFloatBuffer): New method. (asIntBuffer): New method. (asLongBuffer): New method. (asShortBuffer): New method. (get*): New methods. (put*): New methods. (toString): New method. * java/nio/CharBuffer.java (CharBuffer): Implement Comparable instead of Cloneable. (get): May not be final. (put): May not be final. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62836 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-13 Michael Koch <konqueror@gmx.de>mkoch2003-02-135-0/+60
| | | | | | | | | | | | | | | | | | | | | * gnu/java/nio/natByteBufferImpl.cc, gnu/java/nio/natCharBufferImpl.cc, gnu/java/nio/natDoubleBufferImpl.cc, gnu/java/nio/natFloatBufferImpl.cc, gnu/java/nio/natIntBufferImpl.cc, gnu/java/nio/natLongBufferImpl.cc, gnu/java/nio/natShortBufferImpl.cc: Added copyright and license. * java/nio/DoubleBuffer.java, java/nio/FloatBuffer.java, java/nio/IntBuffer.java, java/nio/LongBuffer.java, java/nio/ShortBuffer.java (array): Throw exceptions. (arrayOffset): Throw exceptions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62832 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-13 Michael Koch <konqueror@gmx.de>mkoch2003-02-139-0/+2528
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/java/util/prefs/FileBasedFactory.java, gnu/java/util/prefs/MemmoryBasedFactory.java, gnu/java/util/prefs/MemoryBasedPreferences.java, gnu/java/util/prefs/NodeReader.java, gnu/java/util/prefs/NodeWriter.java, java/util/prefs/AbstractPreferences.java, java/util/prefs/BackingStoreException.java, java/util/prefs/InvalidPreferencesFormatException.java, java/util/prefs/NodeChangeEvent.java, java/util/prefs/NodeChangeListener.java, java/util/prefs/PreferenceChangeEvent.java, java/util/prefs/PreferenceChangeListener.java, java/util/prefs/Preferences.java, java/util/prefs/PreferencesFactory.java: New files, all merged from classpath. * Makefile.am (ordinary_java_source_files): Added the following files: gnu/java/util/prefs/FileBasedFactory.java, gnu/java/util/prefs/MemmoryBasedFactory.java, gnu/java/util/prefs/MemoryBasedPreferences.java, gnu/java/util/prefs/NodeReader.java, gnu/java/util/prefs/NodeWriter.java, (core_java_source_files): Added the following files: java/util/prefs/AbstractPreferences.java, java/util/prefs/BackingStoreException.java, java/util/prefs/InvalidPreferencesFormatException.java, java/util/prefs/NodeChangeEvent.java, java/util/prefs/NodeChangeListener.java, java/util/prefs/PreferenceChangeEvent.java, java/util/prefs/PreferenceChangeListener.java, java/util/prefs/Preferences.java, java/util/prefs/PreferencesFactory.java * Makefile.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62827 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-13 Michael Koch <konqueror@gmx.de>mkoch2003-02-137-66/+104
| | | | | | | | | | | | | | | | * java/net/NetPermission.java (NetPermission): Make doucmentation match the method declaration. * java/net/NetworkInterface.java (equals): Reformated for GNU coding style. * java/net/ServerSocket.java: Merged with classpath. * java/net/Socket.java: Partly merged with classpath (Added some @since). * java/net/SocketImpl.java (localPort): Merged with classpath (initialize with -1). * java/net/SocketPermission.java: Merged with classpath (reindented). * java/net/URLDecoder.java: Merged with classpath (reindented). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62824 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-13 Michael Koch <konqueror@gmx.de>mkoch2003-02-134-3/+76
| | | | | | | | | | | | | | | | | | * java/awt/GridBagConstraints.java (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START, LINE_END, LINE_START, PAGE_END, PAGE_START): New constants. * java/awt/KeyboardFocusManager.java (setGlobalCurrentFocusCycleRoot): Must be public. * java/awt/MenuComponent.java (MenuComponent): Must be public. * java/awt/Toolkit.java: Added some empty lines to make documentation more readable. (getFontPeer): Added @deprecated. (getColorModel): Added exception documentation. (getProperty): Fixed documentation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62822 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-12 Michael Koch <konqueror@gmx.de>mkoch2003-02-121-0/+130
| | | | | | | | | | * java/nio/channels/Channels.java: New file. * Makefile.am (ordinary_java_source_files): Added java/nio/channels/Channels.java. * Makefile.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62762 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-12 Michael Koch <konqueror@gmx.de>mkoch2003-02-122-51/+174
| | | | | | | | | | | | | | | | | | | | * java/nio/ByteBuffer.java (allocate): Implemented. (wrap): Implemented. * java/nio/CharBuffer.java: Some documentation added and reworked. (endian): Removed. (allocate): Implemented. (wrap): Implemented. (array): Throw exceptions. (arrayOffset): Throw exceptions. (toString): Implemented. (length): Implemented. (put): Implemented. (charAt): Implemented. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62760 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-11 John Leuner <jewel@debian.org>tromey2003-02-121-1/+3
| | | | | | | * java/util/zip/ZipInputStream.java: idem git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62754 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-11 Ranjit Mathew <rmathew@hotmail.com>tromey2003-02-111-3/+16
| | | | | | | | | * java/io/natFileDescriptorWin32.cc (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( ) returns with Win32 error code ERROR_BROKEN_PIPE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62722 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-11 Michael Koch <konqueror@gmx.de>mkoch2003-02-112-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/java/nio/natCharBufferImpl.cc (nio_cast): Removed. (nio_put_*): Removed. (nio_get_*): Removed. * gnu/java/nio/natDoubleBufferImpl.cc (nio_cast): Removed. (nio_put_*): Removed. (nio_get_*): Removed. * gnu/java/nio/natFloatBufferImpl.cc (nio_cast): Removed. (nio_put_*): Removed. (nio_get_*): Removed. * gnu/java/nio/natIntBufferImpl.cc (nio_cast): Removed. (nio_put_*): Removed. (nio_get_*): Removed. * gnu/java/nio/natLongBufferImpl.cc (nio_cast): Removed. (nio_put_*): Removed. (nio_get_*): Removed. * gnu/java/nio/natShortBufferImpl.cc (nio_cast): Removed. (nio_put_*): Removed. (nio_get_*): Removed. * gnu/java/nio/SelectorProviderImpl.java (openDatagramChannel): Throws IOException. (openPipe): Throws IOException. (openSelector): Throws IOException. (openServerSocketChannel): Throws IOException. (openSocketChannel): Throws IOException. * gnu/java/nio/ServerSocketChannelImpl.java (ServerSocketChannelImpl): Throws IOException. (implCloseSelectableChannel): Throws IOException. (implConfigureBlocking): Throws IOException. * java/nio/ByteBuffer.java (readOnly): Removed. (hasArray): Use isReadOnly() instead of readOnly. (array): Use isReadOnly() instead of readOnly. (arrayOffset): Use isReadOnly() instead of readOnly. * java/nio/CharBuffer.java (CharBuffer): Implements Cloneable and CharSequence. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62688 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-11 Michael Koch <konqueror@gmx.de>mkoch2003-02-119-17/+202
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/nio/Buffer.java (cap, lim, pos, mark): Made private (Buffer): Added package private constructor. * java/nio/ByteBuffer.java (ByteBuffer): Implements Cloneable. (offset): New member variable. (readOnly): New member variable. (backing_buffer): New member variable. (allocateDirect): Throw exception and tell that direct buffers are not supported yet, documentation added. (allocate): Documentation added. (wrap): Documentation added. (ByteBuffer): New constructor. (hasArray): New method. (array): New method. (arrayOffset): New method. (get): Documentation added. (put): Documentation added. * java/nio/CharBuffer.java (CharBuffer): New constructor. (compareTo): Don't access member variables of Buffer directly. * java/nio/DoubleBuffer.java (allocateDirect): Throw exception and tell that direct buffers are not supported yet. * java/nio/FloatBuffer.java (allocateDirect): Throw exception and tell that direct buffers are not supported yet. * java/nio/IntBuffer.java (allocateDirect): Throw exception and tell that direct buffers are not supported yet. * java/nio/LongBuffer.java (allocateDirect): Throw exception and tell that direct buffers are not supported yet. * java/nio/MappedByteBuffer.java (MappedByteBuffer): New method. (force): New method. (isLoaded): New method. (load): New method. * java/nio/ShortBuffer.java (allocateDirect): Throw exception and tell that direct buffers are not supported yet. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62685 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-11 Michael Koch <konqueror@gmx.de>mkoch2003-02-115-240/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/nio/DoubleBuffer.java (DoubleBuffer): Implements Comparable. (endian): Removed. (array_offset): New member variable. (DoubleBuffer): New constuctor. (get): May not be final. (put): May not be final. (arrayOffset): Implemented. (order): Made abstract. (order): Removed. (as*Buffer): Removed. (get*): Removed. (put*): Removed. * java/nio/FloatBuffer.java (FloatBuffer): Implements Comparable. (endian): Removed. (array_offset): New member variable. (FloatBuffer): New constuctor. (get): May not be final. (put): May not be final. (arrayOffset): Implemented. (order): Made abstract. (order): Removed. (as*Buffer): Removed. (get*): Removed. (put*): Removed. * java/nio/IntBuffer.java (IntBuffer): Implements Comparable. (endian): Removed. (array_offset): New member variable. (IntBuffer): New constuctor. (get): May not be final. (put): May not be final. (arrayOffset): Implemented. (order): Made abstract. (order): Removed. (as*Buffer): Removed. (get*): Removed. (put*): Removed. * java/nio/LongBuffer.java (LongBuffer): Implements Comparable. (endian): Removed. (array_offset): New member variable. (LongBuffer): New constuctor. (get): May not be final. (put): May not be final. (arrayOffset): Implemented. (order): Made abstract. (order): Removed. (as*Buffer): Removed. (get*): Removed. (put*): Removed. * java/nio/ShortBuffer.java (ShortBuffer): Implements Comparable. (endian): Removed. (array_offset): New member variable. (ShortBuffer): New constuctor. (get): May not be final. (put): May not be final. (arrayOffset): Implemented. (order): Made abstract. (order): Removed. (as*Buffer): Removed. (get*): Removed. (put*): Removed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62684 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-11 Michael Koch <konqueror@gmx.de>mkoch2003-02-111-4/+4
| | | | | | | | | * java/nio/channels/SelectionKey.java (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct values. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62683 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-11 Michael Koch <konqueror@gmx.de>mkoch2003-02-118-27/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/nio/channels/DatagramChannel.java (write): Throws IOException. (connect): Throws IOException. (disconnect): Throws IOException. (read): Throws IOException. (receive): Throws IOException. (send): Throws IOException. * java/nio/channels/Pipe.java (open): Throws IOException. * java/nio/channels/SelectableChannel.java (configureBlocking): Throws IOException. * java/nio/channels/ServerSocketChannel.java (accept): Throws IOException. * java/nio/channels/SocketChannel.java (SocketChannel): Implements ByteChannel, ScatteringByteChannel, GatheringByteChannel. (read): Throws IOException. (write): Throws IOException. (finishConnect): Throws IOException. * java/nio/channels/spi/AbstractInterruptibleChannel.java (end): Throws AsynchronousCloseException. * java/nio/channels/spi/AbstractSelectableChannel.java (configureBlocking): Throws IOException. (implCloseChannel): Throws IOException. (implCloseSelectableChannel): Throws IOException. (implConfigureBlocking): Throws IOException. * java/nio/channels/spi/SelectorProvider.java (openDatagramChannel): Throws IOException. (openPipe): Throws IOException. (openSelector): Throws IOException. (openServerSocketChannel): Throws IOException. (openSocketChannel): Throws IOException. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62682 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud