aboutsummaryrefslogtreecommitdiff
path: root/libjava/java
AgeCommit message (Collapse)AuthorFilesLines
2004-01-25TextArea.java: Fix indentation.Thomas Fitzsimmons1-554/+578
2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com> * java/awt/TextArea.java: Fix indentation. Flesh out javadocs. (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0) when peer is null. (setColumns): Remove FIXME -- peer will retrieve number of columns by calling getColumns. (setRows): Likewise for number of rows. (next_text_number): New field. (paramString): Fix param string. (generateName): New method. (getUniqueLong): New method. From-SVN: r76577
2004-01-25Class.java: Imports reworked, reformated.Michael Koch1-93/+542
2004-01-25 Michael Koch <konqueror@gmx.de> * java/lang/Class.java: Imports reworked, reformated. (Class): Javadoc added. (forName): Likewise. (getClasses): Likewise. (getClassLoader): Likewise. (getComponentType): Likewise. (getConstructor): Likewise. (getConstructors): Likewise. (getDeclaredConstructor): Likewise. (getDeclaredClasses): Likewise. (getDeclaredConstructors): Likewise. (getDeclaredField): Likewise. (getDeclaredMethod): Likewise. (getDeclaredMethods): Likewise. (getDeclaringClass): Likewise. (getField): Likewise. (getInterfaces): Likewise. (getMethod): Likewise. (getMethods): Likewise. (getModifiers): Likewise. (getName): Likewise. (getResource): Likewise. (getResourceAsStream): Likewise. (getSigners): Likewise. (setSigners): Likewise. (getSuperclass): Likewise. (isArray): Likewise. (isAssignableFrom): Likewise. (isInstance): Likewise. (isInterface): Likewise. (isPrimitive): Likewise. (newInstance): Likewise. (getProtectionDomain): Likewise. (toString): Likewise. (Class): Moved. (initializeClass): Likewise. (finalize): Likewise. From-SVN: r76554
2004-01-24InflaterInputStream.java: Merged class documentation with classpath.Michael Koch1-8/+11
2004-01-24 Michael Koch <konqueror@gmx.de> * java/util/zip/InflaterInputStream.java: Merged class documentation with classpath. From-SVN: r76519
2004-01-23VMClassLoader.java: Reworked imports.Michael Koch1-9/+7
2004-01-23 Michael Koch <konqueror@gmx.de> * java/lang/VMClassLoader.java: Reworked imports. From-SVN: r76426
2004-01-232004-01-23 Michael Koch <konqueror@gmx.de>Michael Koch1-1/+22
* java/text/CollationElementIterator.java: (setText): New method. From-SVN: r76423
2004-01-23FileLockImpl.java: Fixed filename in copyright.Michael Koch2-4/+53
2004-01-23 Michael Koch <konqueror@gmx.de> * gnu/java/nio/FileLockImpl.java: Fixed filename in copyright. (released): Removed. (finalize): New method. * gnu/java/nio/natFileLockImpl.cc (releaseImpl): Implemented. * java/nio/channels/FileChannelImpl.java: Reworked imports. (lock): Implemented. (lockImpl): New method. (tryLock): Implemented. (tryLockImpl): New method. * java/nio/channels/natFileChannelImpl.cc (lockImpl): New method. (tryLockImpl): New method. From-SVN: r76422
2004-01-232004-01-23 Michael Koch <konqueror@gmx.de>Michael Koch4-0/+91
* java/io/FileDescriptor.java (lock): New method. (tryLock): New method. (unlock): New method. * java/io/natFileDescriptorEcos.cc (lock): New method. (tryLock): New method. (unlock): New method. * java/io/natFileDescriptorPosix.cc (lock): New method. (tryLock): New method. (unlock): New method. * java/io/natFileDescriptorWin32.cc (lock): New method. (tryLock): New method. (unlock): New method. From-SVN: r76421
2004-01-232004-01-23 Michael Koch <konqueror@gmx.de>Michael Koch1-28/+79
* java/io/FileDescriptor.java (sync): Moved around, added javadoc. (valid): Likewise. (open): Likewise. (write): Likewise. (close): Likewise. (setLength): Likewise. (seek): Likewise. (getLength): Likewise. (getFilePointer): Likewise. (read): Likewise. (available): Likewise. (finalize): Likewise. From-SVN: r76419
2004-01-232004-01-23 Michael Koch <konqueror@gmx.de>Michael Koch1-13/+44
* java/io/FileDescriptor.java (in, out, err): Added javadoc. (static): Merged loading code. (fd, position): Moved around. From-SVN: r76411
2004-01-23Class.java, [...]: Merged copyright with classpath.Michael Koch3-26/+112
2004-01-23 Michael Koch <konqueror@gmx.de> * java/lang/Class.java, java/lang/Object.java, java/lang/Thread.java: Merged copyright with classpath. From-SVN: r76409
2004-01-23FileDescriptor.java: Merged copyright with classpath to start merging this ↵Michael Koch1-20/+47
class. 2004-01-23 Michael Koch <konqueror@gmx.de> * java/io/FileDescriptor.java: Merged copyright with classpath to start merging this class. From-SVN: r76408
2004-01-222004-01-22 Graydon Hoare <graydon@redhat.com>Graydon Hoare1-0/+1
* gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java: * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Predicate static initialization on GtkToolkit.useGraphics2D(). * java/awt/Component.java (processPaintEvent): Consume event. * javax/swing/AbstractButton.java: Reimplement, document. * javax/swing/DefaultButtonModel.java: Reimplement, document. * javax/swing/JComponent.java (paint): Use double buffer. (listenerList): Enable member. * javax/swing/ToggleButtonModel.java: Remove incorrect constructor. * javax/swing/JToggleButton.java (JToggleButton): Modify model constructor. * javax/swing/SwingUtilities.java (layoutCompoundLabel): Adjust arithmetic. * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document. * javax/swing/plaf/basic/BasicGraphicsUtils.java (getPreferredButtonSize): Include margins in calculation. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals): Receive up events from subordinate layout component. From-SVN: r76344
2004-01-22Component.java (show): Set visible to true before showing the peer.Thomas Fitzsimmons1-1/+6
2004-01-21 Thomas Fitzsimmons <fitzsim@redhat.com> * java/awt/Component.java (show): Set visible to true before showing the peer. From-SVN: r76325
2004-01-212004-01-21 David Jee <djee@redhat.com>David Jee1-1/+11
* java/awt/Container.java (LightweightDispatcher.handleEvent): Add an extra check to avoid dispatching MOUSE_ENTERED event twice. Translate the point for the mouse event target before dispatching the event. From-SVN: r76278
2004-01-19EventQueue.java (invokeAndWait): Use list-aware isDispatchThread method to ↵Fernando Nasser1-2/+3
replace wrong test condition. * java/awt/EventQueue.java (invokeAndWait): Use list-aware isDispatchThread method to replace wrong test condition. From-SVN: r76165
2004-01-19EventQueue.java (pop): Prevent racing condition to add events to the queue ↵Fernando Nasser1-18/+20
out of order by acquiring... * java/awt/EventQueue.java (pop): Prevent racing condition to add events to the queue out of order by acquiring locks in the proper order and not by releasing one before acquiring the other. From-SVN: r76161
2004-01-19EventQueue.java (getCurrentEvent): Consider that system events may be ↵Fernando Nasser1-2/+12
handled by any queue in the stack. * java/awt/EventQueue.java (getCurrentEvent): Consider that system events may be handled by any queue in the stack. From-SVN: r76150
2004-01-19GtkFramePeer.java (getMenuBarHeight): Added MenuBarPeer parameter.Kim Ho4-7/+22
2004-01-19 Kim Ho <kho@redhat.com> * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added MenuBarPeer parameter. (removeMenuBarPeer): New native method. (setMenuBar): Call remove if menu bar is null. Adjust insets appropriately. (postSizeAllocateEvent): New method. Called when menu bar size is allocated. Adjust insets and redo layout. (GtkFramePeer): Set menu bar during frame creation. (postConfigureEvent): Adjust position and size to accomodate menu bar. * java/awt/Frame.java (setMenuBar): addNotify to create menu bar. * java/awt/Menu.java (addSeparator): Use peer's addSeparator. (addNotify): Create the peer if it doesn't exist and call addNotify for the menu's items. * java/awt/MenuBar.java (addNotify): Create this menu bar's menus. * java/awt/MenuItem.java (addNotify): Create the peer if it doesn't exist. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (removeMenuBarPeer): New method. Remove menu bar on the current frame. (setMenuBarPeer): Add the menu bar to the current frame and the callback for size-allocate events on the menu bar. (getMenuBarHeight): Add menu bar parameter. (menubar_resize_cb): New callback method for postSizeAllocate events. Also: Fix indentation on last ChangeLog entry. From-SVN: r76149
2004-01-17* java/awt/Container.java: Typo and indentation fixes.Tom Tromey1-19/+19
From-SVN: r76004
2004-01-16natClassLoader.cc: Moved VMClassLoader methods...Tom Tromey2-107/+134
* java/lang/natClassLoader.cc: Moved VMClassLoader methods... * java/lang/natVMClassLoader.cc: ...here. New file. * Makefile.in: Rebuilt. * Makefile.am (nat_source_files): Added natVMClassLoader.cc. From-SVN: r76003
2004-01-16EventQueue.java (pop): Prevent breaking the chain if pop is called for an ↵Fernando Nasser1-1/+3
intermediate queue. * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop is called for an intermediate queue. From-SVN: r75998
2004-01-16EventDispatchThread.java (run): Stop running when interrupted.Fernando Nasser2-2/+23
* java/awt/EventDispatchThread.java (run): Stop running when interrupted. * java/awt/EventQueue.java (pop): Stop dispatch thread when done. Reset the queue after transferring its contents. (push): Start a new dispatch thread if none is running. From-SVN: r75977
2004-01-14re PR libgcj/2429 (java.text.MessageFormat should usefully set text on ↵Michael Koch1-6/+9
exceptions) 2004-01-14 Michael Koch <konqueror@gmx.de> * java/text/MessageFormat.java: Added descriptions to exceptions. This fixes PR libgcj/2429. From-SVN: r75877
2004-01-13* java/awt/EventQueue.java (isDispatchThread): Do check on top of stack. ↵Fernando Nasser1-2/+16
(push): Make sure push is performed at the top of the thread stack. From-SVN: r75820
2004-01-13Dialog.java (show): Enable blocking for all modal dialogs and run secondary ↵Fernando Nasser1-9/+22
dispatch thread to... * java/awt/Dialog.java (show): Enable blocking for all modal dialogs and run secondary dispatch thread to process event queue while this thread is blocked. From-SVN: r75788
2004-01-09natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve a Utf8Const field ↵Andrew Haley1-0/+1
before looking at its class. 2004-01-09 Andrew Haley <aph@redhat.com> * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve a Utf8Const field before looking at its class. From-SVN: r75591
2004-01-092004-01-09 Michael Koch <konqueror@gmx.de>Michael Koch6-13/+11
* java/awt/geom/PathIterator.java (WIND_EVEN_ODD): Removed redundant modifiers. (WIND_NON_ZERO): Likewise. (SEG_MOVETO): Likewise. (SEG_LINETO): Likewise. (SEG_QUADTO): Likewise. (SEG_CUBICTO): Likewise. (SEG_CLOSE): Likewise. * java/awt/image/SinglePixelPackedSampleModel.java: Removed redundant semicolon. * java/io/ObjectInputStream.java (inputGetObjectStreamClasses): Removed unused variable "ret_val". * java/util/logging/Filter.java (isLoggable): Removed redundant modifier. * java/util/logging/LogManager.java: Removed redundant semicolon. * java/util/logging/XMLFormatter.java (format): Removed unused variable "key". From-SVN: r75570
2004-01-08GtkFileDialogPeer.java (nativeSetFile): New name for the former setFile ↵Fernando Nasser1-5/+77
native method. * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile): New name for the former setFile native method. (setFile): New method. (setDirectory): Implemented. (connectSignals): New native method. (setFilenameFilter): Improve comment. (getGraphics): Comment. (gtkHideFileDialog): New method. (gtkDisposeFileDialog): New method. (gtkSetFilename): New method. * java/awt/Dialog.java (show): Block on modal dialogs, but only for FileDialog for now. (hide): New method. (dispose): New method. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace deprecated creation functions. Make dialog modal. Add it to the window group. (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New function. (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename): Rename to... (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New name. (window_closed): New function. (ok_clicked): New function. (cancel_clicked): New function. From-SVN: r75557
2004-01-08Container.java (LightweightDispatcher): Implement.Graydon Hoare1-27/+121
2004-01-07 Graydon Hoare <graydon@redhat.com> * java/awt/Container.java (LightweightDispatcher): Implement. (visitChild): Reuse graphics object. (dispatchEventImpl): Optionally dispatch to lightweight. (addNotifyContainerChildren): Build LightweightDispatcher. From-SVN: r75531
2004-01-072004-01-07 David Jee <djee@redhat.com>David Jee1-2/+6
* java/awt/Container.java (update): Clear only the clipped region, instead of clearing the entire Container. (visitChildren): Visit children in descending order. From-SVN: r75517
2004-01-07Array.java: Merged documentation with classpath.Michael Koch1-34/+414
2004-01-07 Michael Koch <konqueror@gmx.de> * java/lang/reflect/Array.java: Merged documentation with classpath. From-SVN: r75512
2004-01-072004-01-07 Michael Koch <konqueror@gmx.de>Michael Koch3-31/+42
* java/text/CollationElementIterator.java (textIndex): Renamed from index. * java/text/CollationKey.java (collator): New member. (CollationKey): New argument for parent collator. (equals): Check for same collator, source string and key array. * java/text/RuleBasedCollator.java: Reformated. (RuleBasedCollator): Don't re-initialize frenchAccents with default value. (getCollationElementIterator): Rewritten. (getCollationKey): Added new argument to CollationKey constructor. From-SVN: r75510
2004-01-072004-01-07 Michael Koch <konqueror@gmx.de>Michael Koch1-5/+5
* gnu/java/nio/DatagramChannelImpl.java (blocking): Removed. (DatagramChannelImpl): Call configureBlocking(). (implConfigureBlocking): Dont initialize blocking. * gnu/java/nio/ServerSocketChannelImpl.java (blocking): Removed. (ServerSocketChannelImpl): Call configureBlocking(). (implConfigureBlocking): Dont initialize blocking. * gnu/java/nio/SocketChannelImpl.java (blocking): Removed. (SocketChannelImpl): Call configureBlocking(). (implConfigureBlocking): Dont initialize blocking. (connect): Use isBlocking(). * java/nio/channels/spi/AbstractSelectableChannel.java (configureBlocking): Use blockingLock() instead of LOCK. Set blocking after successfully called implConfigureBlocking(). (register): Use blockingLock() instead of LOCK. From-SVN: r75507
2004-01-07ServerSocket.java (isBound): Fixed documentation.Michael Koch1-1/+1
2004-01-07 Michael Koch <konqueror@gmx.de> * java/net/ServerSocket.java (isBound): Fixed documentation. From-SVN: r75506
2004-01-07Container.java (swapComponents): Add forgotten function, required for ↵Graydon Hoare1-0/+19
JLayeredPane change. 2004-01-06 Graydon Hoare <graydon@redhat.com> * java/awt/Container.java (swapComponents): Add forgotten function, required for JLayeredPane change. From-SVN: r75491
2004-01-06CollationElementIterator.java: Reformated.Michael Koch2-38/+50
2004-01-06 Michael Koch <konqueror@gmx.de> * java/text/CollationElementIterator.java: Reformated. (CollationElementIterator): Changed order of arguments. * java/text/RuleBasedCollator.java (RuleBasedCollator): Merged class documentation. (CollationElement): Added documentation. (compare): Reformated, renamed arguments. (equals): Likewise. (getCollationElementIterator): Likewise. (getCollationKey): Likewise. From-SVN: r75484
2004-01-062004-01-06 Michael Koch <konqueror@gmx.de>Michael Koch1-11/+14
* java/net/URLConnection.java (contentHandler): Removed. (locale): Removed. (getHeaderFields): Return an empty map instead of null. (getContent): Connect if needed, renamed "cType" to "type" and "contentHandler" to "ch" and made it a local variable. (getPermission): Don't use package in class name. (setDefaultRequestProperty): Fixed typo in documentation. (initializeDateFormats): Made locale a local variable. From-SVN: r75466
2004-01-062004-01-06 Michael Koch <konqueror@gmx.de>Michael Koch2-11/+16
* java/lang/Package.java (getPackage): Get the current class loader directly. * java/lang/SecurityManager.java (currentLoadedClass): Dont iterate over class contexts. (classLoaderDepth): Don't check class loaders if everything is allowed. From-SVN: r75465
2004-01-052004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>Thomas Fitzsimmons1-7/+78
* gnu/java/awt/peer/gtk/GtkScrollPanePeer.java, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c (create(int, int)): New method. (create): Call new create method. (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove methods. (childResized): Remove native implementation. Implement in Java. (getHScrollbarHeight, getVScrollbarWidth): Call gtk_widget_size_request to get scrollbar dimensions. * java/awt/ScrollPane.java (getViewportSize): Reimplement. Only call getVScrollbarWidth and getHScrollbarHeight when vertical and horizontal scrollbars respectively are needed. (doLayout): Enlarge child if it is smaller than the viewport. From-SVN: r75446
2004-01-05Dialog.java (constructor): Accept null title as per spec.Fernando Nasser2-4/+13
* java/awt/Dialog.java (constructor): Accept null title as per spec. * java/awt/FileDialog.java (constructor): Throw exception on invalid argument as per spec. From-SVN: r75444
2004-01-05Choice.java (add): Leave posting of ItemEvents to peer.Fernando Nasser1-49/+9
2004-01-05 Fernando Nasser <fnasser@redhat.com> * java/awt/Choice.java (add): Leave posting of ItemEvents to peer. (insert): Ditto. (remove): Ditto. Also, Check for valid argument. (removeAll): Use peer interface method. * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for native add function. (nativeRemove): New name for native remove function. (getHistory): New native function. (constructor): Generate ItemEvent. (add): Ditto, if selection is changed. (remove): Ditto, ditto. (removeAll): Add implementation. (handleEvent): Remove. Dead code. (choicePostItemEvent): Add comment. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments. (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to... (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name. Add comments and fix condition to change selection. (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to... (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name. Add remove all capability. (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function. (item_activate): Add cast to remove compiler warning. From-SVN: r75443
2004-01-05Thanks to Brian Gough <bjg@network-theory.com>Sascha Brawer2-16/+294
2004-01-05 Sascha Brawer <brawer@dandelis.ch> Thanks to Brian Gough <bjg@network-theory.com> * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented. * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written. From-SVN: r75437
2004-01-03Date.java (parse): Fix a number of problems.Per Bothner1-87/+74
* java/util/Date.java (parse): Fix a number of problems. (skipParens): Remove no-longer-needed method. From-SVN: r75381
2003-12-312003-12-31 Guilhem Lavaux <guilhem@kaffe.org>Guilhem Lavaux1-138/+238
* java/io/ObjectOutputStream.java (putFields): Reindented. Fixed behaviour: currentPutField should be null before calling this method. (writeFields): Likewise. (markFieldsWritten): Fixed the exception message. (callWriteMethod): Ensure currentPutField is null. (getBooleanField): Translate IllegalArgumentException into InvalidClassException. (getByteField): Likewise. (getCharField): Likewise. (getDoubleField): Likewise. (getFloatField): Likewise. (getIntField): Likewise. (getLongField): Likewise. (getShortField): Likewise. (getObjectField): Check the type code before returning the object. (getField): Translate NoSuchFieldException into InvalidClassException directly. From-SVN: r75265
2003-12-312003-12-31 Guilhem Lavaux <guilhem@kaffe.org>Guilhem Lavaux1-0/+4
* java/net/URL.java (URL): Change context path to "/" if it is empty. From-SVN: r75264
2003-12-31configure.in: Add --enable-gtk-cairo check.Graydon Hoare1-226/+203
2003-12-16 Graydon Hoare <graydon@redhat.com> * configure.in: Add --enable-gtk-cairo check. * configure: Regenerate. * Makefile.am: Conditionally link against cairo. * Makefile.in: Regenerate. * acinclude.m4: Include PKG_CHECK_MODULES. * aclocal.m4: Regenerate. * gnu/java/awt/peer/gtk/GtkToolkit.java (useGraphics2D): New method. (getFontMetrics, getClasspathFontPeer): * gnu/java/awt/peer/gtk/GtkCanvasPeer.java (getGraphics): * gnu/java/awt/peer/gtk/GtkComponentPeer.java (createImage): * gnu/java/awt/peer/gtk/GtkContainerPeer.java (getGraphics): * gnu/java/awt/peer/gtk/GtkFramePeer.java (getGraphics): Switch behavior depending on GtkToolkit.useGraphics2D(). * gnu/java/awt/peer/gtk/GtkFontPeer.java: Extend ClasspathFontPeer. * java/awt/Font.java: Switch to peer model. * jni/gtk-peer/gtkcairopeer.h: Definitions of cairo stuff. * jni/gtk-peer/gdkfont.h: Include gtkcairopeer.h. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Include gtkcairopeer.h. * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c: Un-include gtkpeer.h. From-SVN: r75260
2003-12-30[multiple changes]Michael Koch1-2/+6
2003-12-30 Guilhem Lavaux <guilhem@kaffe.org> * java/util/GregorianCalendar.java (computeFields): Reported by Ito Kazumitsu <kaz@maczuka.gcd.org>. Fixed the computation of DAY_OF_WEEK_IN_MONTH. (computeTime): 12:00 midnight is AM and 12:00 noon is PM. 2003-12-30 Michael Koch <konqueror@gmx.de> * testsuite/libjava.mauve/xfails: Removed the following testcase because it passes now: FAIL: gnu.testlet.java.text.SimpleDateFormat.Test: parse() strict (number 1) From-SVN: r75244
2003-12-30ObjectInputStream.java, [...]: Reformated, no functional code changes.Michael Koch3-1126/+1144
2003-12-30 Michael Koch <konqueror@gmx.de> * java/io/ObjectInputStream.java, java/io/ObjectOutputStream.java, java/io/ObjectStreamClass.java: Reformated, no functional code changes. From-SVN: r75236
2003-12-302003-12-30 Guilhem Lavaux <guilhem@kaffe.org>Guilhem Lavaux1-56/+64
* java/io/LineNumberReader.java (countLines): Removed. (fill): New private method. (mark): Changed logic to use and matchedNewLine. (reset): Likewise. (read): Likewise. (skipRedundantLF): Likewise. From-SVN: r75232
2003-12-282003-12-28 Guilhem Lavaux <guilhem@kaffe.org>Guilhem Lavaux3-8/+29
* java/io/LineNumberReader.java (mark): Improved error checking. (read): Likewise. (skip): Likewise. Skip is now really eating the specified number of characters. * java/io/CharArrayReader.java (read): It should throw IndexOutOfBoundsException and not ArrayIndexOutOfBoundsException (see mauve). * java/io/BufferedReader.java (readLine): Make readLine() really block until either EOF is reached or a true error happens. From-SVN: r75180