Age | Commit message (Collapse) | Author | Files | Lines |
|
* 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 Michael Koch <konqueror@gmx.de>
* java/security/BasicPermission.java:
New version from classpath.
From-SVN: r67934
|
|
2003-06-14 Michael Koch <konqueror@gmx.de>
* javax/naming/directory/Attribute.java:
New version from classpath.
From-SVN: r67933
|
|
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-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-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
|
|
* java/lang/ClassLoader.java (loadClass): Not deprecated.
* java/io/PrintStream.java: Not deprecated.
From-SVN: r67811
|
|
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
|
|
From-SVN: r67790
|
|
From-SVN: r67788
|
|
From-SVN: r67781
|
|
2003-06-11 Michael Koch <konqueror@gmx.de>
* java/awt/im/InputSubset.java:
New version from classpath.
From-SVN: r67770
|
|
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 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 Michael Koch <konqueror@gmx.de>
* java/net/DatagramSocket.java:
Partly merged with classpath.
From-SVN: r67755
|
|
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-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
|
|
* gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
field.
(getDescent): Likewise, for "descent".
From-SVN: r67695
|
|
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-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
|
|
* 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
|
|
* builtins.c (define_builtin_type, builtin_types): Delete.
(define_builtin): Rewritten to take just the built-in code,
the function's name, type and fallback library function name.
All built-ins used by Java are implicit and BUILT_IN_NORMAL.
(initialize_builtins): Overhaul to define the GCC builtins
used by gcj manually, providing the Java run-time's
implementations as the fallback library function.
* libjava.lang/MathBuiltin.java: New test case.
* libjava.lang/MathBuiltin.out: New file.
From-SVN: r67632
|
|
* 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
|
|
* 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
|
|
correctly)
PR libgcj/10886:
* gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
Test for empty vector.
From-SVN: r67610
|
|
* 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
|
|
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
|
|
* include/posix.h
(O_DSYNC): Define O_DSYNC on platforms not
supporting O_FSYNC (newlib).
From-SVN: r67587
|
|
* java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
AWTError.
From-SVN: r67542
|
|
* libjava.mauve/mauve.exp (test_mauve): Add -wno-deprecated to GCJ.
PR libgcj/6181:
* libjava.mauve/xfails: Remove getBeanInfo() failures.
PR libgcj/6293:
* libjava.mauve/xfails: Remove PipedStream.close() failure.
From-SVN: r67536
|
|
2003-06-06 Michael Koch <konqueror@gmx.de>
* javax/swing/plaf/basic/BasicOptionPaneUI.java:
More compile fixes from my stupid work yesterday.
From-SVN: r67531
|
|
* java/lang/w_exp.c (o_threshold, u_threshold): Define only
if _IEEE_LIBM is undefined.
From-SVN: r67526
|
|
* libjava/include/posix.h (O_SYNC): Define if not available
and a reasonable, perhaps more conservative, replacement exists.
(O_DSYNC): Likewise.
* java/io/natFileDescriptorPosix.cc (open): Revert last patch.
From-SVN: r67517
|
|
2003-06-05 Michael Koch <konqueror@gmx.de>
* javax/swing/plaf/BorderUIResource.java,
javax/swing/plaf/basic/BasicDefaults.java,
javax/swing/plaf/basic/BasicOptionPaneUI.java:
More compile fixes for latest Border commit. I should not commit
something in this heat here ...
From-SVN: r67513
|
|
* javax/swing/border/BevelBorder.java
(BevelBorder): Removed.
* javax/swing/border/EmptyBorder.java:
Reformatted.
(EmptyBorder): Removed.
(getBorderInsets): Dont use l, r, t and b.
* javax/swing/border/EtchedBorder.java
(EtchedBorder): Removed.
* javax/swing/border/LineBorder.java
(LineBorder): Removed.
* javax/swing/border/MatteBorder.java
(MatteBorder): Removed.
* javax/swing/border/TitledBorder.java
(defaultBorder): Use other default for now.
(defaultFont): Likewise.
(defaultColor): Likewise.
From-SVN: r67511
|
|
2003-06-05 Michael Koch <konqueror@gmx.de>
* javax/swing/border/Border.java:
New version from classpath.
From-SVN: r67508
|
|
2003-06-05 Michael Koch <konqueror@gmx.de>
* javax/swing/border/AbstractBorder.java,
javax/swing/border/BevelBorder.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:
New versions from Classpath.
From-SVN: r67507
|
|
2003-06-05 Michael Koch <konqueror@gmx.de>
* java/awt/Button.java,
java/awt/Checkbox.java,
java/awt/CheckboxMenuItem.java,
java/awt/Choice.java,
java/awt/Container.java,
java/awt/Dialog.java,
java/awt/EventQueue.java,
java/awt/FileDialog.java,
java/awt/Frame.java,
java/awt/Label.java,
java/awt/List.java,
java/awt/Menu.java,
java/awt/MenuItem.java,
java/awt/Panel.java,
java/awt/PopupMenu.java,
java/awt/Rectangle.java,
java/awt/ScrollPane.java,
java/awt/Scrollbar.java,
java/awt/TextArea.java,
java/awt/TextField.java,
java/awt/Window.java,
java/awt/datatransfer/DataFlavor.java,
java/awt/dnd/DragSource.java,
java/awt/dnd/DragSourceContext.java,
java/awt/event/HierarchyEvent.java,
java/awt/event/MouseWheelEvent.java,
java/awt/im/InputContext.java,
java/awt/image/BufferedImage.java,
java/awt/image/ComponentColorModel.java,
java/awt/image/Raster.java,
java/awt/image/WritableRaster.java,
java/awt/peer/ComponentPeer.java,
java/awt/print/PageFormat.java,
java/awt/print/PrinterJob.java:
New versions from Classpath.
From-SVN: r67506
|
|
numberFormat.setParseIntegerOnly(true).
2003-06-05 Scott Gilbertson <scottg@mantatest.com>
* java/text/SimpleDateFormat.java (SimpleDateFormat): Added
numberFormat.setParseIntegerOnly(true).
From-SVN: r67504
|
|
2003-06-05 Bert Deknuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
* include/posix-threads.h: Include <machine/pal.h> on OSF.
From-SVN: r67491
|
|
prevent optimization from removing it.
2003-06-03 Andrew Haley <aph@redhat.com>
* include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
stack volatile to prevent optimization from removing it.
From-SVN: r67379
|
|
* flags.h (flag_wrapv): New flag controlling overflow semantics.
* toplev.c (flag_wrapv): Declare the variable with default false.
(lang_independent_options): New option "-fwrapv" to set the above.
* fold-const.c (extract_muldiv_1): Disable optimization of (2*x)/2
as x, when signed arithmetic overflow wraps around.
(fold): Optimize "-A - B" as "-B - A" if overflow wraps around.
* loop.c (basic_induction_var): Ignore BIVs that rely on undefined
overflow when flag_wrapv is true.
* java/lang.c (java_init_options): Prescribe wrap-around two's
complement arithmetic overflow by setting flag_wrapv.
* doc/invoke.texi: Document new -fwrapv command line option.
* doc/c-tree.texi: Mention that the overflow semantics of
NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR and MULT_EXPR is dependent
upon both flag_wrapv and flag_trapv.
* gcc.dg/fwrapv-1.c: New test case.
* gcc.dg/fwrapv-2.c: New test case.
* libjava.lang/Overflow.java: New test.
* libjava.lang/Overflow.out: New file.
From-SVN: r67270
|
|
* java/util/zip/Deflater.java
(FILTERED): Merged documentation from classpath.
* java/util/zip/DeflaterOutputStream.java
(DeflaterOutputStream): Merged documentation and argument validity
check from classpath.
(deflate): Merged documentation from classpath.
(finish): Likewise.
* java/util/zip/Inflater.java
(Inflater): Merged class documentation from classpath.
(zstream): Reordered.
(is_finished): Reordered.
(dict_needed): Reordered.
(Inflater): Reordered, merged documentation from classpath.
(end): Likewise.
(finalize): Merged documentation from classpath.
(finished): Likewise.
(getAdler): Likewise.
(getRemaining): Likewise.
(getTotalIn): Likewise.
(getTotalOut): Likewise.
(inflate): Likewise.
(needsDictionary): Likewise.
(needsInput): Likewise.
(reset): Likewise.
(setDictionary): Likewise.
(setInput): Likewise.
From-SVN: r67185
|
|
* java/net/URLConnection.java
(getHeaderFieldInt): Merged with classpath.
From-SVN: r67184
|
|
* java/io/PrintStream.java
(PrintStream): Reformatted.
(PrintStream): New method, merged from classpath.
(write): Reformatted.
From-SVN: r67183
|
|
2003-05-27 Michael Koch <konqueror@gmx.de>
* java/lang/System.java:
Explicitely import needed classes.
From-SVN: r67182
|
|
2003-05-26 Michael Koch <konqueror@gmx.de>
* java/net/NetPermission.java,
java/net/NetworkInterface.java,
java/net/PasswordAuthentication.java,
java/net/SocketPermission.java:
New versions from classpath.
From-SVN: r67174
|
|
2003-05-25 Michael Koch <konqueror@gmx.de>
* java/io/PushbackInputStream.java,
java/net/Authenticator.java,
java/net/ContentHandler.java,
java/net/ContentHandlerFactory.java,
java/net/DatagramSocket.java,
java/net/DatagramSocketImpl.java,
java/net/DatagramSocketImplFactory.java,
java/net/FileNameMap.java,
java/net/SocketImplFactory.java,
java/net/SocketOptions.java,
java/net/URLStreamHandlerFactory.java:
Merged new versions from classpath.
From-SVN: r67165
|
|
2003-05-25 Michael Koch <konqueror@gmx.de>
* java/awt/Checkbox.java,
java/awt/Dialog.java,
java/awt/Font.java,
java/awt/Frame.java,
java/awt/ScrollPaneAdjustable.java,
java/awt/Scrollbar.java,
java/awt/Window.java:
New versions from classpath.
From-SVN: r67164
|
|
PR libgcj/10838:
* java/io/ObjectInputStream (enableResolveObject):
Fixed spelling of permission name.
From-SVN: r67111
|