Michael Koch
f8b7363eed
2003-06-20 Michael Koch <konqueror@gmx.de>
...
* java/net/URLStreamHandler.java
(hostsEqual): Rewritten.
From-SVN: r68260
2003-06-20 12:07:22 +00:00
Michael Koch
c52c9fec50
MappedByteFileBuffer.java, [...]: Removed
...
2003-06-20 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/MappedByteFileBuffer.java,
gnu/java/nio/natMappedByteFileBuffer.cc:
Removed
* java/nio/MappedByteBufferImpl.java:
New file.
* gnu/java/nio/FileChannelImpl.java:
Use MappedByteBufferImpl instead of MappedByteFileBuffer.
* Makefile.am
(ordinary_java_source_files): Removed
gnu/java/nio/MappedByteFileBuffer.java and added
java/nio/MappedByteBufferImpl.java.
(nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
* Makefile.in: Regenerated.
From-SVN: r68259
2003-06-20 12:01:54 +00:00
Michael Koch
98a91a724e
2003-06-19 Michael Koch <konqueror@gmx.de>
...
* gnu/java/nio/DatagramChannelImpl.java
(fd): Removed.
(blocking): New member variable.
(socket): Likewise.
(DatagramChannelImpl): Throws IOException, initialize socket.
(socket):Implemented.
(implCloseSelectableChannel): Throws IOException, implemented.
(implConfigureBlocking): Likewise.
(connect): Likewise.
(disconnect): Likewise.
(isConnected): Likewise.
(write): Likewise.
(read): Likewise.
(receive): Throws IOException.
(send): Likewise.
* gnu/java/nio/SocketChannelImpl.java
(read): Implemented.
(write): Implemented.
From-SVN: r68208
2003-06-19 16:42:25 +00:00
Michael Koch
536a695f04
JComponent.java, [...]: New versions from classpath.
...
2003-06-19 Michael Koch <konqueror@gmx.de>
* javax/swing/JComponent.java,
javax/swing/JInternalFrame.java,
javax/swing/MenuSelectionManager.java,
javax/swing/SwingUtilities.java,
javax/swing/ToggleButtonModel.java:
New versions from classpath.
From-SVN: r68207
2003-06-19 16:30:09 +00:00
Michael Koch
2e5d98ced6
2003-06-19 Michael Koch <konqueror@gmx.de>
...
* java/text/CollationElementIterator.java
(NULLORDER): Initialize with -1 as JDK documentation says.
From-SVN: r68199
2003-06-19 15:13:31 +00:00
Michael Koch
a05f6447e3
HttpURLConnection.java, [...]: Reworked import statements.
...
2003-06-19 Michael Koch <konqueror@gmx.de>
* java/net/HttpURLConnection.java,
java/net/Inet4Address.java,
java/net/Inet6Address.java,
java/net/SocketImpl.java,
java/net/URLClassLoader.java:
Reworked import statements.
* java/net/InetAddress.java
(getByAddress): Simplified.
* java/net/ServerSocket.java
(ServerSocket): Moved special handling during bind operation to
bind().
(bind): Handle different cases when trying to bind a socket.
* java/net/URLConnection.java
(getHeaderFieldDate): Merged with classpath.
(getHeaderFieldInt): Likewise.
From-SVN: r68198
2003-06-19 15:08:22 +00:00
Michael Koch
3580a7d585
2003-06-19 Michael Koch <konqueror@gmx.de>
...
* java/util/zip/InflaterInputStream.java
(InflaterInputStream): Throw NullPointerException if in is null (as
JDK does).
From-SVN: r68197
2003-06-19 14:46:21 +00:00
Michael Koch
8993c12bee
Font.java [...]: New versions from classpath.
...
2003-06-19 Michael Koch <konqueror@gmx.de>
* java/awt/Font.java
javax/swing/UIManager.java
javax/swing/border/AbstractBorder.java
javax/swing/border/BevelBorder.java
javax/swing/border/Border.java
javax/swing/border/CompoundBorder.java
javax/swing/border/EmptyBorder.java
javax/swing/border/EtchedBorder.java
javax/swing/border/LineBorder.java
javax/swing/border/MatteBorder.java
javax/swing/border/TitledBorder.java
javax/swing/plaf/BorderUIResource.java
javax/swing/plaf/basic/BasicBorders.java
javax/swing/plaf/basic/BasicButtonUI.java
javax/swing/plaf/basic/BasicCheckBoxUI.java
javax/swing/plaf/basic/BasicGraphicsUtils.java
javax/swing/plaf/basic/BasicLabelUI.java
javax/swing/plaf/basic/BasicRadioButtonUI.java
javax/swing/plaf/basic/BasicToggleButtonUI.java:
New versions from classpath.
* javax/swing/border/SoftBevelBorder.java:
New file from classpath.
* javax/swing/border/doc-files/LineBorder-1.png,
javax/swing/border/doc-files/BevelBorder-1.png,
javax/swing/border/doc-files/BevelBorder-2.png,
javax/swing/border/doc-files/BevelBorder-3.png,
javax/swing/border/doc-files/EmptyBorder-1.png,
javax/swing/border/doc-files/EtchedBorder-1.png,
javax/swing/border/doc-files/EtchedBorder-2.png,
javax/swing/border/doc-files/MatteBorder-1.png,
javax/swing/border/doc-files/MatteBorder-2.png,
javax/swing/border/doc-files/MatteBorder-3.png,
javax/swing/border/doc-files/MatteBorder-4.png,
javax/swing/border/doc-files/MatteBorder-5.png,
javax/swing/border/doc-files/MatteBorder-6.png,
javax/swing/border/doc-files/SoftBevelBorder-1.png,
javax/swing/border/doc-files/SoftBevelBorder-2.png,
javax/swing/border/doc-files/SoftBevelBorder-3.png,
javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
New binary files from classpath.
* Makefile.am
(awt_java_source_files): Added
javax/swing/border/SoftBevelBorder.java.
* Makefile.in: Regenerated.
From-SVN: r68190
2003-06-19 10:48:46 +00:00
Michael Koch
d5b73c26ac
2003-06-19 Michael Koch <konqueror@gmx.de>
...
* gnu/java/security/x509/X509Certificate.java
(writeReplace): Merged from classpath.
From-SVN: r68187
2003-06-19 09:45:44 +00:00
Michael Koch
b7a793afb7
2003-06-19 Michael Koch <konqueror@gmx.de>
...
* gnu/java/nio/FileChannelImpl.java
(map_address): Made public.
(FileChannelImpl): Merged with classpath.
* gnu/java/nio/natFileChannelImpl.cc
(nio_mmap_file): Commented out unused arguments.
(nio_unmmap_file): Likewise.
(niu_msync): Likewise.
From-SVN: r68186
2003-06-19 09:33:58 +00:00
Michael Koch
16e4b777c8
IndexColorModel.java: New version from classpath.
...
2003-06-19 Michael Koch <konqueror@gmx.de>
* java/awt/image/IndexColorModel.java:
New version from classpath.
From-SVN: r68185
2003-06-19 09:33:40 +00:00
Tom Tromey
7cbd1918f5
Inet6Address.java (isAnyLocalAddress): Don't use "==" on arrays.
...
* java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
on arrays.
(isLoopbackAddress): Likewise.
* java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
on arrays.
From-SVN: r68173
2003-06-19 01:19:27 +00:00
Matt Kraai
7b4a4fceef
natVMSecurityManager.cc (getClassContext): Use maxlen instead of len for loop bound.
...
* java/lang/natVMSecurityManager.cc (getClassContext):
Use maxlen instead of len for loop bound.
From-SVN: r68153
2003-06-18 14:13:59 +00:00
Michael Koch
299f5809e2
2003-06-18 Michael Koch <konqueror@gmx.de>
...
* gnu/java/nio/SelectorImpl.java
(register): Use fd with value 0 for now, will be fixed later.
* gnu/java/nio/ServerSocketChannelImpl.java
(fd): Removed.
(local_port): Removed.
(InetSocketAddress): Removed.
(ServerSocketChannelImpl): Just initialize internal socket object.
(implCloseSelectableChannel): Close internal socket object.
(implConfigureBlocking): Added comment.
(accept): Use jaba.net stuff to accept socket.
* gnu/java/nio/SocketChannelImpl.java
(fd): Removed.
(local_port): Removed.
(InetSocketAddress): Removed.
(SocketCreate): Removed.
(SocketConnect): Removed.
(SocketBind): Removed.
(SocketListen): Removed.
(SocketAvailable): Removed.
(SocketClose): Removed.
(SocketRead): Removed.
(SocketWrite): Removed.
(SocketChannelImpl): Just initialize internal socket object.
(implCloseSelectableChannel): Close internal socket object.
(implConfigureBlocking): Fixed implementation, added comment.
(connect): Use internal socket object to connect.
(socket): No need for sanity checks.
(read): Comment out some stuff, this will be reimplemented in the next
commit.
(write): Likewise.
* gnu/java/nio/natFileChannelImpl.cc
(nio_mmap_file): Line wrapped.
* gnu/java/nio/natSocketChannelImpl.cc: Removed.
* Makefile.am
(nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
* Makefile.in: Regenerated.
From-SVN: r68145
2003-06-18 08:56:55 +00:00
Michael Koch
20d513ff66
2003-06-18 Michael Koch <konqueror@gmx.de>
...
* java/util/Locale.java
(equals): Merged from classpath.
From-SVN: r68144
2003-06-18 08:15:42 +00:00
Michael Koch
75da2103e4
InetAddress.java: Reformatted to better match classpath's version.
...
2003-06-18 Michael Koch <konqueror@gmx.de>
* java/net/InetAddress.java:
Reformatted to better match classpath's version.
* java/net/URL.java
(equals): Simplified.
* java/net/URLConnection.java
(setDoInput): Revised documentation.
(getDefaultUseCaches): Likewise.
(setRequestProperty): Added @since tag.
From-SVN: r68143
2003-06-18 08:09:48 +00:00
Michael Koch
7d8f4ff955
2003-06-17 Michael Koch <konqueror@gmx.de>
...
* java/net/InetSocketAddress.java
(InetSocketAddress): Use wildcard address if addr is null.
(InetSocketAddress): Dont duplicate implementation.
(InetSocketAddress): Throw exception when hostname is null.
* java/net/Socket.java:
Reworked imports.
(Socket): Throw exception when raddr is null, handle case when laddr
is null.
From-SVN: r68106
2003-06-17 19:11:56 +00:00
Michael Koch
6f3aed57fb
2003-06-17 Michael Koch <konqueror@gmx.de>
...
* java/nio/DirectByteBufferImpl.java
(address): Made package private.
(DirectByteBufferImpl): New constructor.
* java/nio/natDirectByteBufferImpl.cc
(allocateImpl): Moved to java.nio namespace, implemented.
(freeImpl): Likewise.
(getImpl): Likewise.
(putImpl): Likewise.
* jni.cc
(_Jv_JNI_NewDirectByteBuffer): Implemented.
(_Jv_JNI_GetDirectBufferAddress): Implemented.
(_Jv_JNI_GetDirectBufferCapacity): Implemented.
From-SVN: r68105
2003-06-17 19:09:56 +00:00
Franz Sirl
beea232412
powerpc-signal.h: New File.
...
2003-06-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* include/powerpc-signal.h: New File.
* configure.in: Use it.
* configure: Regenerated.
From-SVN: r68088
2003-06-17 15:56:09 +00:00
Michael Koch
b98cf05972
2003-06-17 Michael Koch <konqueror@gmx.de>
...
* java/util/Locale.java
(getDisplayLanguage): Made it final.
(getDisplayCountry): Likewise.
(getDisplayVariant): Likewise.
(getDisplayName): Likewise.
From-SVN: r68086
2003-06-17 14:16:22 +00:00
Michael Koch
99657762e9
PropertyResourceBundle.java: Removed unneeded import.
...
2003-06-17 Michael Koch <konqueror@gmx.de>
* java/util/PropertyResourceBundle.java:
Removed unneeded import.
From-SVN: r68084
2003-06-17 14:05:17 +00:00
Michael Koch
2a352ff13d
AbstractPreferences.java, [...]: Reworked imports, removed unused imports.
...
2003-06-17 Michael Koch <konqueror@gmx.de>
* java/util/prefs/AbstractPreferences.java,
java/util/prefs/PreferencesFactory.java:
Reworked imports, removed unused imports.
* java/util/prefs/Preferences.java
(systemNodeForPackage): Method takes a Class not an Object.
(userNodeForPackage): Likewise.
(nodeForPackage): Likewise.
From-SVN: r68081
2003-06-17 13:01:21 +00:00
Michael Koch
12d08f3a22
X509Certificate.java: Explicitely import used classes.
...
2003-06-17 Michael Koch <konqueror@gmx.de>
* gnu/java/security/x509/X509Certificate.java:
Explicitely import used classes.
From-SVN: r68080
2003-06-17 12:57:35 +00:00
Michael Koch
efc5eec6f3
ZipEntry.java, [...]: Reworked imports, only import used classes.
...
2003-06-17 Michael Koch <konqueror@gmx.de>
* java/util/zip/ZipEntry.java,
java/util/zip/ZipFile.java,
java/util/zip/ZipInputStream.java,
java/util/zip/ZipOutputStream.java:
Reworked imports, only import used classes.
From-SVN: r68079
2003-06-17 12:07:56 +00:00
Michael Koch
cea5ca6af4
ArrayHelper.java, [...]: Reformatted to match classpath's versions.
...
2003-06-17 Michael Koch <konqueror@gmx.de>
* gnu/java/lang/ArrayHelper.java,
gnu/java/lang/ClassHelper.java:
Reformatted to match classpath's versions.
From-SVN: r68078
2003-06-17 12:01:37 +00:00
Michael Koch
81d2d258f5
2003-06-14 Michael Koch <konqueror@gmx.de>
...
* gnu/java/nio/FileChannelImpl.java
(map_address): Removed incorrect comment.
* gnu/java/nio/SelectorImpl.java
(register): Remove code duplication and code for file channel handling.
* gnu/java/nio/ServerSocketChannelImpl.java
(serverSocket): Renamed from sock_object.
(ServerSocketChannel): Initialize serverSocket.
(socket): Return serverSocket.
* gnu/java/nio/SocketChannelImpl.java
(socket): Renamed from sock_object.
(isConnectionPenging): Simplified.
(socket): Return socket.
From-SVN: r67940
2003-06-14 11:53:02 +00:00
Michael Koch
e8fb93c94f
BasicPermission.java: New version from classpath.
...
2003-06-14 Michael Koch <konqueror@gmx.de>
* java/security/BasicPermission.java:
New version from classpath.
From-SVN: r67934
2003-06-14 05:45:12 +00:00
Michael Koch
d10341eaa2
Attribute.java: New version from classpath.
...
2003-06-14 Michael Koch <konqueror@gmx.de>
* javax/naming/directory/Attribute.java:
New version from classpath.
From-SVN: r67933
2003-06-14 05:44:54 +00:00
Michael Koch
6b4683e27c
BufferedReader.java, [...]: New versions from classpath.
...
2003-06-14 Michael Koch <konqueror@gmx.de>
* java/io/BufferedReader.java,
java/io/FileOutputStream.java:
New versions from classpath.
From-SVN: r67932
2003-06-14 05:44:38 +00:00
Andrew Haley
bec3e66d1a
prims.cc (catch_segv): Create exception in handler.
...
2003-06-12 Andrew Haley <aph@redhat.com>
* prims.cc (catch_segv): Create exception in handler.
(catch_fpe): Likewise.
(_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
(_Jv_ThrowSignal): Remove.
* include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
* include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
to nullp and arithexception.
* include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
* include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
* include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
* include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
* include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
From-SVN: r67892
2003-06-13 12:20:45 +00:00
Andrew Haley
e976ed37ef
jni.cc (_Jv_JNI_check_types): New.
...
2003-06-11 Andrew Haley <aph@redhat.com>
* jni.cc (_Jv_JNI_check_types): New.
(_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
(_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
(_Jv_JNI_GetPrimitiveArrayElements): Ditto.
(_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
* java/lang/natVMSecurityManager.cc (getClassContext): Fix
infinite loop.
From-SVN: r67835
2003-06-12 15:39:17 +00:00
Tom Tromey
3ad93a3475
ClassLoader.java (loadClass): Not deprecated.
...
* java/lang/ClassLoader.java (loadClass): Not deprecated.
* java/io/PrintStream.java: Not deprecated.
From-SVN: r67811
2003-06-12 03:13:14 +00:00
Scott Gilbertson
a28853b01b
IntegerGraphicsState.java (drawOval): implemented.
...
2003-06-11 Scott Gilbertson <scottg@mantatest.com>
* gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
(fillOval): implemented
* gnu/awt/xlib/XGraphics.java (drawArc): implemented.
(fillArc): implemented.
* gnu/gcj/xlib/GC.java (drawArc): added native method.
(fillArc): added native method.
* gnu/gcj/xlib/natGC.cc (drawArc): added native method.
(fillArc): added native method.
From-SVN: r67810
2003-06-12 03:08:58 +00:00
Michael Koch
1d5d594da5
InputSubset.java: New version from classpath.
...
2003-06-11 Michael Koch <konqueror@gmx.de>
* java/awt/im/InputSubset.java:
New version from classpath.
From-SVN: r67770
2003-06-11 13:47:49 +00:00
Michael Koch
d6c2458f4e
AbstractAction.java, [...]: New versions from classpath.
...
2003-06-11 Michael Koch <konqueror@gmx.de>
* javax/swing/AbstractAction.java,
javax/swing/AbstractButton.java,
javax/swing/AbstractCellEditor.java,
javax/swing/AbstractListModel.java,
javax/swing/BorderFactory.java,
javax/swing/Box.java,
javax/swing/BoxLayout.java,
javax/swing/ButtonGroup.java,
javax/swing/DefaultButtonModel.java,
javax/swing/DefaultListModel.java,
javax/swing/DefaultListSelectionModel.java,
javax/swing/FocusManager.java,
javax/swing/ImageIcon.java,
javax/swing/InputMap.java,
javax/swing/JApplet.java,
javax/swing/JButton.java,
javax/swing/JCheckBox.java,
javax/swing/JCheckBoxMenuItem.java,
javax/swing/JColorChooser.java,
javax/swing/JComboBox.java,
javax/swing/JComponent.java,
javax/swing/JDesktopPane.java,
javax/swing/JDialog.java,
javax/swing/JEditorPane.java,
javax/swing/JFileChooser.java,
javax/swing/JFormattedTextField.java,
javax/swing/JFrame.java,
javax/swing/JLabel.java,
javax/swing/JLayeredPane.java,
javax/swing/JList.java,
javax/swing/JMenuBar.java,
javax/swing/JMenuItem.java,
javax/swing/JOptionPane.java,
javax/swing/JPanel.java,
javax/swing/JPasswordField.java,
javax/swing/JPopupMenu.java,
javax/swing/JProgressBar.java,
javax/swing/JRadioButton.java,
javax/swing/JRadioButtonMenuItem.java,
javax/swing/JRootPane.java,
javax/swing/JScrollBar.java,
javax/swing/JScrollPane.java,
javax/swing/JSeparator.java,
javax/swing/JSlider.java,
javax/swing/JTabbedPane.java,
javax/swing/JTable.java,
javax/swing/JTextField.java,
javax/swing/JToggleButton.java,
javax/swing/JToolBar.java,
javax/swing/JToolTip.java,
javax/swing/JTree.java,
javax/swing/JViewport.java,
javax/swing/JWindow.java,
javax/swing/KeyStroke.java,
javax/swing/ListSelectionModel.java,
javax/swing/LookAndFeel.java,
javax/swing/RepaintManager.java,
javax/swing/ScrollPaneLayout.java,
javax/swing/SizeRequirements.java,
javax/swing/SwingConstants.java,
javax/swing/Timer.java,
javax/swing/UIDefaults.java,
javax/swing/UIManager.java,
javax/swing/border/AbstractBorder.java,
javax/swing/border/CompoundBorder.java,
javax/swing/colorchooser/AbstractColorChooserPanel.java,
javax/swing/colorchooser/ColorChooserComponentFactory.java,
javax/swing/colorchooser/ColorSelectionModel.java,
javax/swing/colorchooser/DefaultColorSelectionModel.java,
javax/swing/event/AncestorEvent.java,
javax/swing/event/HyperlinkEvent.java,
javax/swing/event/InternalFrameAdapter.java,
javax/swing/event/InternalFrameEvent.java,
javax/swing/event/ListDataEvent.java,
javax/swing/event/MouseInputAdapter.java,
javax/swing/event/SwingPropertyChangeSupport.java,
javax/swing/event/TableModelEvent.java,
javax/swing/event/TreeWillExpandListener.java,
javax/swing/event/UndoableEditEvent.java,
javax/swing/filechooser/FileFilter.java,
javax/swing/filechooser/FileSystemView.java,
javax/swing/filechooser/FileView.java,
javax/swing/plaf/BorderUIResource.java,
javax/swing/plaf/basic/BasicDefaults.java,
javax/swing/table/AbstractTableModel.java,
javax/swing/table/DefaultTableCellRenderer.java,
javax/swing/table/DefaultTableColumnModel.java,
javax/swing/table/DefaultTableModel.java,
javax/swing/table/TableColumn.java,
javax/swing/text/JTextComponent.java,
javax/swing/tree/AbstractLayoutCache.java,
javax/swing/tree/DefaultMutableTreeNode.java,
javax/swing/tree/DefaultTreeCellEditor.java,
javax/swing/tree/DefaultTreeCellRenderer.java,
javax/swing/tree/DefaultTreeModel.java,
javax/swing/tree/DefaultTreeSelectionModel.java,
javax/swing/tree/FixedHeightLayoutCache.java,
javax/swing/tree/TreeCellEditor.java,
javax/swing/tree/TreeModel.java,
javax/swing/tree/TreeNode.java,
javax/swing/tree/TreePath.java,
javax/swing/tree/TreeSelectionModel.java,
javax/swing/tree/VariableHeightLayoutCache.java,
javax/swing/undo/AbstractUndoableEdit.java,
javax/swing/undo/CompoundEdit.java,
javax/swing/undo/StateEdit.java,
javax/swing/undo/UndoManager.java,
javax/swing/undo/UndoableEditSupport.java:
New versions from classpath.
* javax/swing/table/JTableHeader.java:
New file from classpath.
* Makefile.am
(java_awt_sources): Added javax/swing/table/JTableHeader.java.
* Makefile.in: Regenerated.
From-SVN: r67769
2003-06-11 13:20:41 +00:00
Michael Koch
6bd883297e
MappedByteBuffer.java, [...]: Removed unneeded imports.
...
2003-06-11 Michael Koch <konqueror@gmx.de>
* java/nio/MappedByteBuffer.java,
java/nio/channels/Channels.java,
java/nio/channels/ServerSocketChannel.java,
java/nio/channels/spi/AbstractSelector.java:
Removed unneeded imports.
From-SVN: r67756
2003-06-11 10:38:58 +00:00
Michael Koch
39b3ceceee
DatagramSocket.java: Partly merged with classpath.
...
2003-06-11 Michael Koch <konqueror@gmx.de>
* java/net/DatagramSocket.java:
Partly merged with classpath.
From-SVN: r67755
2003-06-11 10:38:38 +00:00
Michael Koch
37f3981f80
Frame.java, [...]: New versions from classpath.
...
2003-06-11 Michael Koch <konqueror@gmx.de>
* java/awt/Frame.java,
java/awt/Graphics.java,
java/awt/Menu.java,
java/awt/Robot.java,
java/awt/image/ColorModel.java:
New versions from classpath.
From-SVN: r67754
2003-06-11 10:37:48 +00:00
Michael Koch
fbd98522de
PrintStream.java: Merged version from classpath.
...
2003-06-10 Michael Koch <konqueror@gmx.de>
* java/io/PrintStream.java:
Merged version from classpath.
(close): Removed sychronized keyword. This class is not garantied to
be thread-safe.
(write): Likewise.
From-SVN: r67717
2003-06-10 17:15:19 +00:00
Tom Tromey
4982b6384a
natFont.cc (getAscent): Correctly access "ascent" field.
...
* gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
field.
(getDescent): Likewise, for "descent".
From-SVN: r67695
2003-06-10 02:45:07 +00:00
Scott Gilbertson
0940ed88c4
natFont.cc (getMaxAscent): adjusted return value.
...
2003-06-09 Scott Gilbertson <scottg@mantatest.com>
* gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
(getMaxDescent): adjusted return value.
(getAscent): modified to use metrics for 'O'.
(getDescent): modified to use metrics for 'y'.
From-SVN: r67692
2003-06-10 01:50:12 +00:00
Anthony Green
a8a8de4875
URLStreamHandler.java (sameFile): Fix port value comparison.
...
2003-06-08 Anthony Green <green@redhat.com>
* java/net/URLStreamHandler.java (sameFile): Fix port value
comparison.
* java/net/URL.java (handler): Make package private.
* gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
From-SVN: r67640
2003-06-08 22:07:48 +00:00
Tom Tromey
0a56537c16
For PR libgcj/11085:
...
* java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
Limit number of characters in numeric field when required.
* java/text/DecimalFormat.java (parse(String,ParsePosition)):
Respect maximumIntegerDigits.
From-SVN: r67633
2003-06-08 19:00:02 +00:00
Michael Koch
742ed2f3da
2003-06-08 Michael Koch <konqueror@gmx.de>
...
* java/net/Socket.java
(Socket): Dont initialize inputShutdown and outputShutdown twice,
call bind() and connect() to actually do the bind and connect tasks.
(bind): Connect to canonical address if bindpoint is null, create
socket and bind it to bindpoint.
(connect): Check for exceptions.
From-SVN: r67618
2003-06-08 10:12:09 +00:00
Michael Koch
f61e212582
2003-06-08 Michael Koch <konqueror@gmx.de>
...
* java/net/DatagramSocket.java
(DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
into the Multicast constructors.
* java/net/DatagramSocketImpl.java
(getOption): Removed.
(setOption): Removed.
* java/net/MulticastSocket.java
(MulticastSocket): Call setReuseAddress (true).
* java/net/SocketImpl.java
(getOption): Removed.
(setOption): Removed.
From-SVN: r67617
2003-06-08 09:25:54 +00:00
Jeff Sturm
31de261d68
re PR libgcj/10886 (The RMI registry that comes with GCJ does not work correctly)
...
PR libgcj/10886:
* gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
Test for empty vector.
From-SVN: r67610
2003-06-08 01:35:32 +00:00
Mark Wielaard
39072dc8df
Security.java (secprops): Initialize.
...
* java/security/Security.java (secprops): Initialize.
(loadProviders): Return boolean.
(static): Check result of loadProvider calls. If necessary
display WARNING and fallback to Gnu provider.
From-SVN: r67597
2003-06-07 18:38:09 +00:00
Mark Wielaard
60e9f0d726
re PR libgcj/8738 (java.io.CharArrayWriter's write methods erroneously throw IOExceptions)
...
2002-06-06 James Clark <jjc@jclark.com>
Fix for PR libgcj/8738:
* gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
* gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
* gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
* gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
(write): Always decrease avail when count is increased.
* java/lang/natString.cc (getBytes): Check converter havePendingBytes()
and whether output buffer is full before increasing size.
2002-06-06 Mark Wielaard <mark@klomp dot org>
* java/io/PrintStream.java (writeChars(char[],int, int)):
Check converter.havePendingBytes().
(writeChars(String,int,int)): Likewise.
* java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
Check converter.havePendingBytes() and flush buffer when stalled.
From-SVN: r67595
2003-06-07 18:35:00 +00:00
Michael Koch
248e983efb
2003-06-07 Michael Koch <konqueror@gmx.de>
...
* include/posix.h
(O_DSYNC): Define O_DSYNC on platforms not
supporting O_FSYNC (newlib).
From-SVN: r67587
2003-06-07 14:30:32 +00:00
Mark Wielaard
6d8176f059
Toolkit.java (getDefaultToolkit): Add exception cause to AWTError.
...
* java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
AWTError.
From-SVN: r67542
2003-06-06 13:12:47 +00:00