1 2003-06-24 Michael Koch <konqueror@gmx.de>
5 java/awt/color/ColorSpace.java,
6 java/awt/datatransfer/StringSelection.java,
7 java/awt/image/ColorModel.java:
8 New versions from classpath.
10 2003-06-24 Michael Koch <konqueror@gmx.de>
13 (awt_java_source_files): Added new files:
14 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
15 javax/swing/plaf/basic/BasicSplitPaneUI.java
16 * Makefile.in: Regenerated.
18 2003-06-24 Michael Koch <konqueror@gmx.de>
20 * javax/swing/text/JTextComponent.java:
21 New version from classpath.
23 2003-06-24 Michael Koch <konqueror@gmx.de>
25 * javax/swing/Timer.java,
26 javax/swing/plaf/ActionMapUIResource.java,
27 javax/swing/plaf/ButtonUI.java,
28 javax/swing/plaf/ColorChooserUI.java,
29 javax/swing/plaf/ColorUIResource.java,
30 javax/swing/plaf/ComboBoxUI.java,
31 javax/swing/plaf/ComponentInputMapUIResource.java,
32 javax/swing/plaf/basic/BasicBorders.java:
33 New versions from classpath.
34 * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
35 javax/swing/plaf/basic/BasicSplitPaneUI.java:
36 New file from classpath.
37 * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
38 javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
39 javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
40 javax/swing/plaf/doc-files/ComponentUI-1.dia,
41 javax/swing/plaf/doc-files/ComponentUI-1.png:
42 New binary files from classpath.
44 2003-06-24 Michael Koch <konqueror@gmx.de>
46 * java/io/LineNumberReader.java
47 (skip): Dont do line number accounting here as this is already done in
50 2003-06-21 Michael Koch <konqueror@gmx.de>
53 (static): Load javaio lib if existing (only in classpath).
54 (File): Revised documentation to show the correct argument name.
55 (createTempFile): Partly merged with classpath.
56 (compareTo): Simplified.
57 (lastModified): Throw exception if time < 0.
58 (deleteOnExit): Revised documentation.
60 2003-06-21 Michael Koch <konqueror@gmx.de>
62 * java/net/PlainSocketImpl.java:
64 (PlainSocketImpl): Merged class documentaion with classpath.
67 (PlainSocketImpl): New empty constructor.
69 (setOption): Merged documentation from classpath.
70 (getOption): Likewise.
76 (available): Likewise.
80 (getInputStream): Made synchronozed to get sure that only one stream
81 object can be created for this socket, merged documentation from
83 (getOutputStream): Likewise.
85 2003-06-21 Michael Koch <konqueror@gmx.de>
87 * java/net/PlainSocketImpl.java:
89 (static): New implicit method.
90 (read): Made package private.
93 2003-06-21 Michael Koch <konqueror@gmx.de>
95 * java/util/SimpleTimeZone.java:
96 Removed unneeded import, reformatting.
98 2003-06-21 Michael Koch <konqueror@gmx.de>
100 * java/text/DateFormat.java,
101 java/text/SimpleDateFormat.java,
102 java/util/Locale.java:
103 New versions from classpath.
105 2003-06-21 Michael Koch <konqueror@gmx.de>
107 * javax/swing/SpinnerModel.java:
108 New file from classpath.
109 * javax/swing/border/LineBorder.java,
110 javax/swing/border/SoftBevelBorder.java,
111 javax/swing/plaf/BorderUIResource.java,
112 javax/swing/plaf/basic/BasicBorders.java:
113 New versions from classpath.
114 * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
115 javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
116 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
117 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
118 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
119 javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
120 New binary files from classpath.
122 2003-06-21 Michael Koch <konqueror@gmx.de>
124 * java/util/logging/LogRecord.java,
125 java/util/logging/Logger.java,
126 java/util/logging/SocketHandler.java,
127 java/util/logging/SimpleFormatter.java,
128 java/util/logging/Formatter.java,
129 java/util/logging/ErrorManager.java,
130 java/util/logging/Handler.java,
131 java/util/logging/FileHandler.java,
132 java/util/logging/LogManager.java,
133 java/util/logging/Level.java,
134 java/util/logging/ConsoleHandler.java,
135 java/util/logging/StreamHandler.java,
136 java/util/logging/LoggingPermission.java,
137 java/util/logging/Filter.java,
138 java/util/logging/MemoryHandler.java,
139 java/util/logging/XMLFormatter.java:
140 New files from classpath.
142 2003-06-20 Michael Koch <konqueror@gmx.de>
144 * java/io/ObjectStreamField.java
145 (unshared): new member variable.
146 (ObjectStreamField): New constructor.
147 (isUnshared): New method.
149 2003-06-20 Michael Koch <konqueror@gmx.de>
151 * java/net/URLStreamHandler.java
152 (hostsEqual): Rewritten.
154 2003-06-20 Michael Koch <konqueror@gmx.de>
156 * gnu/java/nio/MappedByteFileBuffer.java,
157 gnu/java/nio/natMappedByteFileBuffer.cc:
159 * java/nio/MappedByteBufferImpl.java:
161 * gnu/java/nio/FileChannelImpl.java:
162 Use MappedByteBufferImpl instead of MappedByteFileBuffer.
164 (ordinary_java_source_files): Removed
165 gnu/java/nio/MappedByteFileBuffer.java and added
166 java/nio/MappedByteBufferImpl.java.
167 (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
168 * Makefile.in: Regenerated.
170 2003-06-19 Michael Koch <konqueror@gmx.de>
172 * gnu/java/nio/DatagramChannelImpl.java
174 (blocking): New member variable.
176 (DatagramChannelImpl): Throws IOException, initialize socket.
177 (socket):Implemented.
178 (implCloseSelectableChannel): Throws IOException, implemented.
179 (implConfigureBlocking): Likewise.
181 (disconnect): Likewise.
182 (isConnected): Likewise.
185 (receive): Throws IOException.
187 * gnu/java/nio/SocketChannelImpl.java
189 (write): Implemented.
191 2003-06-19 Michael Koch <konqueror@gmx.de>
193 * javax/swing/JComponent.java,
194 javax/swing/JInternalFrame.java,
195 javax/swing/MenuSelectionManager.java,
196 javax/swing/SwingUtilities.java,
197 javax/swing/ToggleButtonModel.java:
198 New versions from classpath.
200 2003-06-19 Michael Koch <konqueror@gmx.de>
202 * java/text/CollationElementIterator.java
203 (NULLORDER): Initialize with -1 as JDK documentation says.
205 2003-06-19 Michael Koch <konqueror@gmx.de>
207 * java/net/HttpURLConnection.java,
208 java/net/Inet4Address.java,
209 java/net/Inet6Address.java,
210 java/net/SocketImpl.java,
211 java/net/URLClassLoader.java:
212 Reworked import statements.
213 * java/net/InetAddress.java
214 (getByAddress): Simplified.
215 * java/net/ServerSocket.java
216 (ServerSocket): Moved special handling during bind operation to
218 (bind): Handle different cases when trying to bind a socket.
219 * java/net/URLConnection.java
220 (getHeaderFieldDate): Merged with classpath.
221 (getHeaderFieldInt): Likewise.
223 2003-06-19 Michael Koch <konqueror@gmx.de>
225 * java/util/zip/InflaterInputStream.java
226 (InflaterInputStream): Throw NullPointerException if in is null (as
229 2003-06-19 Michael Koch <konqueror@gmx.de>
232 javax/swing/UIManager.java
233 javax/swing/border/AbstractBorder.java
234 javax/swing/border/BevelBorder.java
235 javax/swing/border/Border.java
236 javax/swing/border/CompoundBorder.java
237 javax/swing/border/EmptyBorder.java
238 javax/swing/border/EtchedBorder.java
239 javax/swing/border/LineBorder.java
240 javax/swing/border/MatteBorder.java
241 javax/swing/border/TitledBorder.java
242 javax/swing/plaf/BorderUIResource.java
243 javax/swing/plaf/basic/BasicBorders.java
244 javax/swing/plaf/basic/BasicButtonUI.java
245 javax/swing/plaf/basic/BasicCheckBoxUI.java
246 javax/swing/plaf/basic/BasicGraphicsUtils.java
247 javax/swing/plaf/basic/BasicLabelUI.java
248 javax/swing/plaf/basic/BasicRadioButtonUI.java
249 javax/swing/plaf/basic/BasicToggleButtonUI.java:
250 New versions from classpath.
251 * javax/swing/border/SoftBevelBorder.java:
252 New file from classpath.
253 * javax/swing/border/doc-files/LineBorder-1.png,
254 javax/swing/border/doc-files/BevelBorder-1.png,
255 javax/swing/border/doc-files/BevelBorder-2.png,
256 javax/swing/border/doc-files/BevelBorder-3.png,
257 javax/swing/border/doc-files/EmptyBorder-1.png,
258 javax/swing/border/doc-files/EtchedBorder-1.png,
259 javax/swing/border/doc-files/EtchedBorder-2.png,
260 javax/swing/border/doc-files/MatteBorder-1.png,
261 javax/swing/border/doc-files/MatteBorder-2.png,
262 javax/swing/border/doc-files/MatteBorder-3.png,
263 javax/swing/border/doc-files/MatteBorder-4.png,
264 javax/swing/border/doc-files/MatteBorder-5.png,
265 javax/swing/border/doc-files/MatteBorder-6.png,
266 javax/swing/border/doc-files/SoftBevelBorder-1.png,
267 javax/swing/border/doc-files/SoftBevelBorder-2.png,
268 javax/swing/border/doc-files/SoftBevelBorder-3.png,
269 javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
270 javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
271 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
272 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
273 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
274 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
275 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
276 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
277 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
278 New binary files from classpath.
280 (awt_java_source_files): Added
281 javax/swing/border/SoftBevelBorder.java.
282 * Makefile.in: Regenerated.
284 2003-06-19 Michael Koch <konqueror@gmx.de>
286 * gnu/java/security/x509/X509Certificate.java
287 (writeReplace): Merged from classpath.
289 2003-06-19 Michael Koch <konqueror@gmx.de>
291 * gnu/java/nio/FileChannelImpl.java
292 (map_address): Made public.
293 (FileChannelImpl): Merged with classpath.
294 * gnu/java/nio/natFileChannelImpl.cc
295 (nio_mmap_file): Commented out unused arguments.
296 (nio_unmmap_file): Likewise.
297 (niu_msync): Likewise.
299 2003-06-19 Michael Koch <konqueror@gmx.de>
301 * java/awt/image/IndexColorModel.java:
302 New version from classpath.
304 2003-06-18 Tom Tromey <tromey@redhat.com>
306 * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
308 (isLoopbackAddress): Likewise.
309 * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
312 2003-06-18 Matt Kraai <kraai@alumni.cmu.edu>
314 * java/lang/natVMSecurityManager.cc (getClassContext):
315 Use maxlen instead of len for loop bound.
317 2003-06-18 Michael Koch <konqueror@gmx.de>
319 * gnu/java/nio/SelectorImpl.java
320 (register): Use fd with value 0 for now, will be fixed later.
321 * gnu/java/nio/ServerSocketChannelImpl.java
323 (local_port): Removed.
324 (InetSocketAddress): Removed.
325 (ServerSocketChannelImpl): Just initialize internal socket object.
326 (implCloseSelectableChannel): Close internal socket object.
327 (implConfigureBlocking): Added comment.
328 (accept): Use jaba.net stuff to accept socket.
329 * gnu/java/nio/SocketChannelImpl.java
331 (local_port): Removed.
332 (InetSocketAddress): Removed.
333 (SocketCreate): Removed.
334 (SocketConnect): Removed.
335 (SocketBind): Removed.
336 (SocketListen): Removed.
337 (SocketAvailable): Removed.
338 (SocketClose): Removed.
339 (SocketRead): Removed.
340 (SocketWrite): Removed.
341 (SocketChannelImpl): Just initialize internal socket object.
342 (implCloseSelectableChannel): Close internal socket object.
343 (implConfigureBlocking): Fixed implementation, added comment.
344 (connect): Use internal socket object to connect.
345 (socket): No need for sanity checks.
346 (read): Comment out some stuff, this will be reimplemented in the next
349 * gnu/java/nio/natFileChannelImpl.cc
350 (nio_mmap_file): Line wrapped.
351 * gnu/java/nio/natSocketChannelImpl.cc: Removed.
353 (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
354 * Makefile.in: Regenerated.
356 2003-06-18 Michael Koch <konqueror@gmx.de>
358 * java/util/Locale.java
359 (equals): Merged from classpath.
361 2003-06-18 Michael Koch <konqueror@gmx.de>
363 * java/net/InetAddress.java:
364 Reformatted to better match classpath's version.
366 (equals): Simplified.
367 * java/net/URLConnection.java
368 (setDoInput): Revised documentation.
369 (getDefaultUseCaches): Likewise.
370 (setRequestProperty): Added @since tag.
372 2003-06-17 Michael Koch <konqueror@gmx.de>
374 * java/net/InetSocketAddress.java
375 (InetSocketAddress): Use wildcard address if addr is null.
376 (InetSocketAddress): Dont duplicate implementation.
377 (InetSocketAddress): Throw exception when hostname is null.
378 * java/net/Socket.java:
380 (Socket): Throw exception when raddr is null, handle case when laddr
383 2003-06-17 Michael Koch <konqueror@gmx.de>
385 * java/nio/DirectByteBufferImpl.java
386 (address): Made package private.
387 (DirectByteBufferImpl): New constructor.
388 * java/nio/natDirectByteBufferImpl.cc
389 (allocateImpl): Moved to java.nio namespace, implemented.
390 (freeImpl): Likewise.
394 (_Jv_JNI_NewDirectByteBuffer): Implemented.
395 (_Jv_JNI_GetDirectBufferAddress): Implemented.
396 (_Jv_JNI_GetDirectBufferCapacity): Implemented.
398 2003-06-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
400 * include/powerpc-signal.h: New File.
401 * configure.in: Use it.
402 * configure: Regenerated.
404 2003-06-17 Michael Koch <konqueror@gmx.de>
406 * java/util/Locale.java
407 (getDisplayLanguage): Made it final.
408 (getDisplayCountry): Likewise.
409 (getDisplayVariant): Likewise.
410 (getDisplayName): Likewise.
412 2003-06-17 Michael Koch <konqueror@gmx.de>
414 * java/util/PropertyResourceBundle.java:
415 Removed unneeded import.
417 2003-06-17 Michael Koch <konqueror@gmx.de>
419 * java/util/prefs/AbstractPreferences.java,
420 java/util/prefs/PreferencesFactory.java:
421 Reworked imports, removed unused imports.
422 * java/util/prefs/Preferences.java
423 (systemNodeForPackage): Method takes a Class not an Object.
424 (userNodeForPackage): Likewise.
425 (nodeForPackage): Likewise.
427 2003-06-17 Michael Koch <konqueror@gmx.de>
429 * gnu/java/security/x509/X509Certificate.java:
430 Explicitely import used classes.
432 2003-06-17 Michael Koch <konqueror@gmx.de>
434 * java/util/zip/ZipEntry.java,
435 java/util/zip/ZipFile.java,
436 java/util/zip/ZipInputStream.java,
437 java/util/zip/ZipOutputStream.java:
438 Reworked imports, only import used classes.
440 2003-06-17 Michael Koch <konqueror@gmx.de>
442 * gnu/java/lang/ArrayHelper.java,
443 gnu/java/lang/ClassHelper.java:
444 Reformatted to match classpath's versions.
446 2003-06-14 Michael Koch <konqueror@gmx.de>
448 * gnu/java/nio/FileChannelImpl.java
449 (map_address): Removed incorrect comment.
450 * gnu/java/nio/SelectorImpl.java
451 (register): Remove code duplication and code for file channel handling.
452 * gnu/java/nio/ServerSocketChannelImpl.java
453 (serverSocket): Renamed from sock_object.
454 (ServerSocketChannel): Initialize serverSocket.
455 (socket): Return serverSocket.
456 * gnu/java/nio/SocketChannelImpl.java
457 (socket): Renamed from sock_object.
458 (isConnectionPenging): Simplified.
459 (socket): Return socket.
460 2003-06-14 Michael Koch <konqueror@gmx.de>
462 * java/security/BasicPermission.java:
463 New version from classpath.
465 2003-06-14 Michael Koch <konqueror@gmx.de>
467 * javax/naming/directory/Attribute.java:
468 New version from classpath.
470 2003-06-14 Michael Koch <konqueror@gmx.de>
472 * java/io/BufferedReader.java,
473 java/io/FileOutputStream.java:
474 New versions from classpath.
476 2003-06-12 Andrew Haley <aph@redhat.com>
478 * prims.cc (catch_segv): Create exception in handler.
479 (catch_fpe): Likewise.
480 (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
481 (_Jv_ThrowSignal): Remove.
483 * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
484 * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
485 to nullp and arithexception.
486 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
487 * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
488 * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
489 * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
490 * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
492 2003-06-11 Andrew Haley <aph@redhat.com>
494 * jni.cc (_Jv_JNI_check_types): New.
495 (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
496 (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
497 (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
498 (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
500 * java/lang/natVMSecurityManager.cc (getClassContext): Fix
503 2003-06-11 Tom Tromey <tromey@redhat.com>
505 * java/lang/ClassLoader.java (loadClass): Not deprecated.
506 * java/io/PrintStream.java: Not deprecated.
508 2003-06-11 Scott Gilbertson <scottg@mantatest.com>
510 * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
511 (fillOval): implemented
512 * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
513 (fillArc): implemented.
514 * gnu/gcj/xlib/GC.java (drawArc): added native method.
515 (fillArc): added native method.
516 * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
517 (fillArc): added native method.
519 2003-06-11 Michael Koch <konqueror@gmx.de>
521 * java/awt/im/InputSubset.java:
522 New version from classpath.
524 2003-06-11 Michael Koch <konqueror@gmx.de>
526 * javax/swing/AbstractAction.java,
527 javax/swing/AbstractButton.java,
528 javax/swing/AbstractCellEditor.java,
529 javax/swing/AbstractListModel.java,
530 javax/swing/BorderFactory.java,
531 javax/swing/Box.java,
532 javax/swing/BoxLayout.java,
533 javax/swing/ButtonGroup.java,
534 javax/swing/DefaultButtonModel.java,
535 javax/swing/DefaultListModel.java,
536 javax/swing/DefaultListSelectionModel.java,
537 javax/swing/FocusManager.java,
538 javax/swing/ImageIcon.java,
539 javax/swing/InputMap.java,
540 javax/swing/JApplet.java,
541 javax/swing/JButton.java,
542 javax/swing/JCheckBox.java,
543 javax/swing/JCheckBoxMenuItem.java,
544 javax/swing/JColorChooser.java,
545 javax/swing/JComboBox.java,
546 javax/swing/JComponent.java,
547 javax/swing/JDesktopPane.java,
548 javax/swing/JDialog.java,
549 javax/swing/JEditorPane.java,
550 javax/swing/JFileChooser.java,
551 javax/swing/JFormattedTextField.java,
552 javax/swing/JFrame.java,
553 javax/swing/JLabel.java,
554 javax/swing/JLayeredPane.java,
555 javax/swing/JList.java,
556 javax/swing/JMenuBar.java,
557 javax/swing/JMenuItem.java,
558 javax/swing/JOptionPane.java,
559 javax/swing/JPanel.java,
560 javax/swing/JPasswordField.java,
561 javax/swing/JPopupMenu.java,
562 javax/swing/JProgressBar.java,
563 javax/swing/JRadioButton.java,
564 javax/swing/JRadioButtonMenuItem.java,
565 javax/swing/JRootPane.java,
566 javax/swing/JScrollBar.java,
567 javax/swing/JScrollPane.java,
568 javax/swing/JSeparator.java,
569 javax/swing/JSlider.java,
570 javax/swing/JTabbedPane.java,
571 javax/swing/JTable.java,
572 javax/swing/JTextField.java,
573 javax/swing/JToggleButton.java,
574 javax/swing/JToolBar.java,
575 javax/swing/JToolTip.java,
576 javax/swing/JTree.java,
577 javax/swing/JViewport.java,
578 javax/swing/JWindow.java,
579 javax/swing/KeyStroke.java,
580 javax/swing/ListSelectionModel.java,
581 javax/swing/LookAndFeel.java,
582 javax/swing/RepaintManager.java,
583 javax/swing/ScrollPaneLayout.java,
584 javax/swing/SizeRequirements.java,
585 javax/swing/SwingConstants.java,
586 javax/swing/Timer.java,
587 javax/swing/UIDefaults.java,
588 javax/swing/UIManager.java,
589 javax/swing/border/AbstractBorder.java,
590 javax/swing/border/CompoundBorder.java,
591 javax/swing/colorchooser/AbstractColorChooserPanel.java,
592 javax/swing/colorchooser/ColorChooserComponentFactory.java,
593 javax/swing/colorchooser/ColorSelectionModel.java,
594 javax/swing/colorchooser/DefaultColorSelectionModel.java,
595 javax/swing/event/AncestorEvent.java,
596 javax/swing/event/HyperlinkEvent.java,
597 javax/swing/event/InternalFrameAdapter.java,
598 javax/swing/event/InternalFrameEvent.java,
599 javax/swing/event/ListDataEvent.java,
600 javax/swing/event/MouseInputAdapter.java,
601 javax/swing/event/SwingPropertyChangeSupport.java,
602 javax/swing/event/TableModelEvent.java,
603 javax/swing/event/TreeWillExpandListener.java,
604 javax/swing/event/UndoableEditEvent.java,
605 javax/swing/filechooser/FileFilter.java,
606 javax/swing/filechooser/FileSystemView.java,
607 javax/swing/filechooser/FileView.java,
608 javax/swing/plaf/BorderUIResource.java,
609 javax/swing/plaf/basic/BasicDefaults.java,
610 javax/swing/table/AbstractTableModel.java,
611 javax/swing/table/DefaultTableCellRenderer.java,
612 javax/swing/table/DefaultTableColumnModel.java,
613 javax/swing/table/DefaultTableModel.java,
614 javax/swing/table/TableColumn.java,
615 javax/swing/text/JTextComponent.java,
616 javax/swing/tree/AbstractLayoutCache.java,
617 javax/swing/tree/DefaultMutableTreeNode.java,
618 javax/swing/tree/DefaultTreeCellEditor.java,
619 javax/swing/tree/DefaultTreeCellRenderer.java,
620 javax/swing/tree/DefaultTreeModel.java,
621 javax/swing/tree/DefaultTreeSelectionModel.java,
622 javax/swing/tree/FixedHeightLayoutCache.java,
623 javax/swing/tree/TreeCellEditor.java,
624 javax/swing/tree/TreeModel.java,
625 javax/swing/tree/TreeNode.java,
626 javax/swing/tree/TreePath.java,
627 javax/swing/tree/TreeSelectionModel.java,
628 javax/swing/tree/VariableHeightLayoutCache.java,
629 javax/swing/undo/AbstractUndoableEdit.java,
630 javax/swing/undo/CompoundEdit.java,
631 javax/swing/undo/StateEdit.java,
632 javax/swing/undo/UndoManager.java,
633 javax/swing/undo/UndoableEditSupport.java:
634 New versions from classpath.
635 * javax/swing/table/JTableHeader.java:
636 New file from classpath.
638 (java_awt_sources): Added javax/swing/table/JTableHeader.java.
639 * Makefile.in: Regenerated.
641 2003-06-11 Michael Koch <konqueror@gmx.de>
643 * java/nio/MappedByteBuffer.java,
644 java/nio/channels/Channels.java,
645 java/nio/channels/ServerSocketChannel.java,
646 java/nio/channels/spi/AbstractSelector.java:
647 Removed unneeded imports.
649 2003-06-11 Michael Koch <konqueror@gmx.de>
651 * java/net/DatagramSocket.java:
652 Partly merged with classpath.
654 2003-06-11 Michael Koch <konqueror@gmx.de>
656 * java/awt/Frame.java,
657 java/awt/Graphics.java,
660 java/awt/image/ColorModel.java:
661 New versions from classpath.
663 2003-06-10 Michael Koch <konqueror@gmx.de>
665 * java/io/PrintStream.java:
666 Merged version from classpath.
667 (close): Removed sychronized keyword. This class is not garantied to
671 2003-06-09 Tom Tromey <tromey@redhat.com>
673 * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
675 (getDescent): Likewise, for "descent".
677 2003-06-09 Scott Gilbertson <scottg@mantatest.com>
679 * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
680 (getMaxDescent): adjusted return value.
681 (getAscent): modified to use metrics for 'O'.
682 (getDescent): modified to use metrics for 'y'.
684 2003-06-08 Anthony Green <green@redhat.com>
686 * java/net/URLStreamHandler.java (sameFile): Fix port value
688 * java/net/URL.java (handler): Make package private.
689 * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
691 2003-06-07 Tom Tromey <tromey@redhat.com>
694 * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
695 Limit number of characters in numeric field when required.
696 * java/text/DecimalFormat.java (parse(String,ParsePosition)):
697 Respect maximumIntegerDigits.
699 2003-06-08 Michael Koch <konqueror@gmx.de>
701 * java/net/Socket.java
702 (Socket): Dont initialize inputShutdown and outputShutdown twice,
703 call bind() and connect() to actually do the bind and connect tasks.
704 (bind): Connect to canonical address if bindpoint is null, create
705 socket and bind it to bindpoint.
706 (connect): Check for exceptions.
708 2003-06-08 Michael Koch <konqueror@gmx.de>
710 * java/net/DatagramSocket.java
711 (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
712 into the Multicast constructors.
713 * java/net/DatagramSocketImpl.java
714 (getOption): Removed.
715 (setOption): Removed.
716 * java/net/MulticastSocket.java
717 (MulticastSocket): Call setReuseAddress (true).
718 * java/net/SocketImpl.java
719 (getOption): Removed.
720 (setOption): Removed.
722 2003-06-07 Jeff Sturm <jsturm@one-point.com>
725 * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
726 Test for empty vector.
728 2003-06-06 Mark Wielaard <mark@klomp.org>
730 * java/security/Security.java (secprops): Initialize.
731 (loadProviders): Return boolean.
732 (static): Check result of loadProvider calls. If necessary
733 display WARNING and fallback to Gnu provider.
735 2002-06-06 James Clark <jjc@jclark.com>
737 Fix for PR libgcj/8738:
738 * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
739 * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
740 * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
741 * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
742 (write): Always decrease avail when count is increased.
743 * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
744 and whether output buffer is full before increasing size.
746 2002-06-06 Mark Wielaard <mark@klomp dot org>
748 * java/io/PrintStream.java (writeChars(char[],int, int)):
749 Check converter.havePendingBytes().
750 (writeChars(String,int,int)): Likewise.
751 * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
752 Check converter.havePendingBytes() and flush buffer when stalled.
754 2003-06-07 Michael Koch <konqueror@gmx.de>
757 (O_DSYNC): Define O_DSYNC on platforms not
758 supporting O_FSYNC (newlib).
760 2003-06-06 Mark Wielaard <mark@klomp.org>
762 * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
765 2003-06-06 Michael Koch <konqueror@gmx.de>
767 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
768 More compile fixes from my stupid work yesterday.
770 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
772 * java/lang/w_exp.c (o_threshold, u_threshold): Define only
773 if _IEEE_LIBM is undefined.
775 2002-06-05 Loren J. Rittle <ljrittle@acm.org>
777 * libjava/include/posix.h (O_SYNC): Define if not available
778 and a reasonable, perhaps more conservative, replacement exists.
780 * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
782 2003-06-05 Michael Koch <konqueror@gmx.de>
784 * javax/swing/plaf/BorderUIResource.java,
785 javax/swing/plaf/basic/BasicDefaults.java,
786 javax/swing/plaf/basic/BasicOptionPaneUI.java:
787 More compile fixes for latest Border commit. I should not commit
788 something in this heat here ...
790 2003-06-05 Michael Koch <konqueror@gmx.de>
792 * javax/swing/border/BevelBorder.java
793 (BevelBorder): Removed.
794 * javax/swing/border/EmptyBorder.java:
796 (EmptyBorder): Removed.
797 (getBorderInsets): Dont use l, r, t and b.
798 * javax/swing/border/EtchedBorder.java
799 (EtchedBorder): Removed.
800 * javax/swing/border/LineBorder.java
801 (LineBorder): Removed.
802 * javax/swing/border/MatteBorder.java
803 (MatteBorder): Removed.
804 * javax/swing/border/TitledBorder.java
805 (defaultBorder): Use other default for now.
806 (defaultFont): Likewise.
807 (defaultColor): Likewise.
809 2003-06-05 Michael Koch <konqueror@gmx.de>
811 * javax/swing/border/Border.java:
812 New version from classpath.
814 2003-06-05 Michael Koch <konqueror@gmx.de>
816 * javax/swing/border/AbstractBorder.java,
817 javax/swing/border/BevelBorder.java,
818 javax/swing/border/CompoundBorder.java,
819 javax/swing/border/EmptyBorder.java,
820 javax/swing/border/EtchedBorder.java,
821 javax/swing/border/LineBorder.java,
822 javax/swing/border/MatteBorder.java,
823 javax/swing/border/TitledBorder.java:
824 New versions from Classpath.
826 2003-06-05 Michael Koch <konqueror@gmx.de>
828 * java/awt/Button.java,
829 java/awt/Checkbox.java,
830 java/awt/CheckboxMenuItem.java,
831 java/awt/Choice.java,
832 java/awt/Container.java,
833 java/awt/Dialog.java,
834 java/awt/EventQueue.java,
835 java/awt/FileDialog.java,
840 java/awt/MenuItem.java,
842 java/awt/PopupMenu.java,
843 java/awt/Rectangle.java,
844 java/awt/ScrollPane.java,
845 java/awt/Scrollbar.java,
846 java/awt/TextArea.java,
847 java/awt/TextField.java,
848 java/awt/Window.java,
849 java/awt/datatransfer/DataFlavor.java,
850 java/awt/dnd/DragSource.java,
851 java/awt/dnd/DragSourceContext.java,
852 java/awt/event/HierarchyEvent.java,
853 java/awt/event/MouseWheelEvent.java,
854 java/awt/im/InputContext.java,
855 java/awt/image/BufferedImage.java,
856 java/awt/image/ComponentColorModel.java,
857 java/awt/image/Raster.java,
858 java/awt/image/WritableRaster.java,
859 java/awt/peer/ComponentPeer.java,
860 java/awt/print/PageFormat.java,
861 java/awt/print/PrinterJob.java:
862 New versions from Classpath.
864 2003-06-05 Scott Gilbertson <scottg@mantatest.com>
866 * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
867 numberFormat.setParseIntegerOnly(true).
869 2003-06-05 Bert Deknuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
871 * include/posix-threads.h: Include <machine/pal.h> on OSF.
873 2003-06-03 Andrew Haley <aph@redhat.com>
875 * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
876 stack volatile to prevent optimization from removing it.
878 2003-05-27 Michael Koch <konqueror@gmx.de>
880 * java/util/zip/Deflater.java
881 (FILTERED): Merged documentation from classpath.
882 * java/util/zip/DeflaterOutputStream.java
883 (DeflaterOutputStream): Merged documentation and argument validity
884 check from classpath.
885 (deflate): Merged documentation from classpath.
887 * java/util/zip/Inflater.java
888 (Inflater): Merged class documentation from classpath.
889 (zstream): Reordered.
890 (is_finished): Reordered.
891 (dict_needed): Reordered.
892 (Inflater): Reordered, merged documentation from classpath.
894 (finalize): Merged documentation from classpath.
895 (finished): Likewise.
896 (getAdler): Likewise.
897 (getRemaining): Likewise.
898 (getTotalIn): Likewise.
899 (getTotalOut): Likewise.
901 (needsDictionary): Likewise.
902 (needsInput): Likewise.
904 (setDictionary): Likewise.
905 (setInput): Likewise.
907 2003-05-27 Michael Koch <konqueror@gmx.de>
909 * java/net/URLConnection.java
910 (getHeaderFieldInt): Merged with classpath.
912 2003-05-27 Michael Koch <konqueror@gmx.de>
914 * java/io/PrintStream.java
915 (PrintStream): Reformatted.
916 (PrintStream): New method, merged from classpath.
917 (write): Reformatted.
919 2003-05-27 Michael Koch <konqueror@gmx.de>
921 * java/lang/System.java:
922 Explicitely import needed classes.
924 2003-05-26 Michael Koch <konqueror@gmx.de>
926 * java/net/NetPermission.java,
927 java/net/NetworkInterface.java,
928 java/net/PasswordAuthentication.java,
929 java/net/SocketPermission.java:
930 New versions from classpath.
932 2003-05-25 Michael Koch <konqueror@gmx.de>
934 * java/io/PushbackInputStream.java,
935 java/net/Authenticator.java,
936 java/net/ContentHandler.java,
937 java/net/ContentHandlerFactory.java,
938 java/net/DatagramSocket.java,
939 java/net/DatagramSocketImpl.java,
940 java/net/DatagramSocketImplFactory.java,
941 java/net/FileNameMap.java,
942 java/net/SocketImplFactory.java,
943 java/net/SocketOptions.java,
944 java/net/URLStreamHandlerFactory.java:
945 Merged new versions from classpath.
947 2003-05-25 Michael Koch <konqueror@gmx.de>
949 * java/awt/Checkbox.java,
950 java/awt/Dialog.java,
953 java/awt/ScrollPaneAdjustable.java,
954 java/awt/Scrollbar.java,
955 java/awt/Window.java:
956 New versions from classpath.
958 2003-05-22 Jeff Sturm <jsturm@one-point.com>
961 * java/io/ObjectInputStream (enableResolveObject):
962 Fixed spelling of permission name.
964 2003-05-20 Michael Koch <konqueror@gmx.de>
966 * java/io/DataInputStream.java
967 (convertFromUTF): Merged comment from classpath.
968 * java/io/PrintStream.java
969 (error_occured): Renamed from error, merged comment from classpath.
970 (PrintStream): No need to initialized error.
971 (checkError): Replace error with error_occurred.
972 (setError): Likewise.
974 2003-05-20 Michael Koch <konqueror@gmx.de>
976 * java/io/DataInputStream.java:
977 Reformatted, Replaced < and & with html entitites in documentation.
980 * java/io/PrintWriter.java:
981 Moved class documentation.
983 2003-05-20 Michael Koch <konqueror@gmx.de>
985 * gnu/java/nio/ByteBufferImpl.java,
986 gnu/java/nio/CharBufferImpl.java,
987 gnu/java/nio/CharViewBufferImpl.java,
988 gnu/java/nio/DirectByteBufferImpl.java,
989 gnu/java/nio/DoubleBufferImpl.java,
990 gnu/java/nio/DoubleViewBufferImpl.java,
991 gnu/java/nio/FloatBufferImpl.java,
992 gnu/java/nio/FloatViewBufferImpl.java,
993 gnu/java/nio/IntBufferImpl.java,
994 gnu/java/nio/IntViewBufferImpl.java,
995 gnu/java/nio/LongBufferImpl.java,
996 gnu/java/nio/LongViewBufferImpl.java,
997 gnu/java/nio/natDirectByteBufferImpl.cc,
998 gnu/java/nio/ShortBufferImpl.java,
999 gnu/java/nio/ShortViewBufferImpl.java:
1000 Moved files to java/nio.
1001 * gnu/java/nio/SocketChannelImpl.java
1003 * java/nio/ByteBuffer.java,
1004 java/nio/CharBuffer.java,
1005 java/nio/DoubleBuffer.java,
1006 java/nio/FloatBuffer.java,
1007 java/nio/IntBuffer.java,
1008 java/nio/LongBuffer.java,
1009 java/nio/ShortBuffer.java:
1010 Dont import anything.
1011 * java/nio/ByteBufferImpl.java,
1012 java/nio/CharBufferImpl.java,
1013 java/nio/CharViewBufferImpl.java,
1014 java/nio/DirectByteBufferImpl.java,
1015 java/nio/DoubleBufferImpl.java,
1016 java/nio/DoubleViewBufferImpl.java,
1017 java/nio/FloatBufferImpl.java,
1018 java/nio/FloatViewBufferImpl.java,
1019 java/nio/IntBufferImpl.java,
1020 java/nio/IntViewBufferImpl.java,
1021 java/nio/LongBufferImpl.java,
1022 java/nio/LongViewBufferImpl.java,
1023 java/nio/natDirectByteBufferImpl.cc,
1024 java/nio/ShortBufferImpl.java,
1025 java/nio/ShortViewBufferImpl.java:
1026 Moved from gnu/java/nio.
1028 (ordinary_java_source_files): Moved files from gnu/java/nio to
1030 (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
1032 * Makefile.in: Regenerated.
1034 2003-05-19 Michael Koch <konqueror@gmx.de>
1036 * java/util/Calendar.java
1037 (get): Not final anymore since JDK 1.4
1040 2003-05-19 Michael Koch <konqueror@gmx.de>
1042 * java/text/CollationKey.java:
1043 Merged copyright and dat from classpath.
1044 * java/text/RuleBasedCollator.java:
1045 Merged class documentation from classpath.
1047 2003-05-19 Michael Koch <konqueror@gmx.de>
1049 * java/nio/CharBuffer.java
1050 (toString): Compile fix.
1052 2003-05-19 Michael Koch <konqueror@gmx.de>
1054 * gnu/java/nio/ByteBufferImpl.java
1055 (putLong): Fixed conversion to bytes.
1056 (putDouble): Fixed conversion to bytes.
1057 * gnu/java/nio/DirectByteBufferImpl.java
1058 (putLong): Fixed conversion to bytes.
1059 (putDouble): Fixed conversion to bytes.
1060 * gnu/java/nio/FileLockImpl.java
1061 (isValid): Reformatted.
1062 * java/nio/Buffer.java
1063 (Buffer): Fixed off-by-one bug in handling mark.
1064 * java/nio/ByteBuffer.java:
1066 * java/nio/CharBuffer.java
1067 (toString): Don't use relative get to get string data.
1069 2003-05-16 Michael Koch <konqueror@gmx.de>
1071 * java/io/natFileDescriptorPosix.cc
1072 (open): Commented out the O_SYNC and O_DSYNC usage until its better
1075 2003-05-14 Michael Koch <konqueror@gmx.de>
1077 * gnu/java/nio/FileLockImpl.java
1078 (released): New member variable.
1079 (FileLockImpl): Initialize released.
1080 (releaseImpl): New native method.
1081 (release): Implemented.
1082 * gnu/java/nio/SelectorImpl.java: Reformatted.
1083 * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
1084 * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
1085 (accept): Throws IOException.
1086 * gnu/java/nio/SocketChannelImpl.java: Reformatted.
1087 (implConfigureBlocking): Throws IOException.
1088 (connect): Likewise.
1091 * gnu/java/nio/natFileLockImpl.cc: New file.
1092 * java/nio/channels/FileLock.java: Reformatted.
1094 (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
1095 (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
1096 * Makefile.in: Regenerated.
1098 2003-05-13 Michael Koch <konqueror@gmx.de>
1100 * gnu/java/nio/CharViewBufferImpl.java
1101 (CharViewBufferImpl): Fixed super constructor call, initialize offset.
1102 (get): Shift bits to the right direction.
1104 * gnu/java/nio/DoubleViewBufferImpl.java
1105 (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
1106 (get): Shift bits to the right direction.
1108 * gnu/java/nio/FloatViewBufferImpl.java
1109 (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
1110 (get): Shift bits to the right direction.
1112 * gnu/java/nio/IntViewBufferImpl.java
1113 (IntViewBufferImpl): Fixed super constructor call, initialize offset.
1114 (get): Shift bits to the right direction.
1116 * gnu/java/nio/LongViewBufferImpl.java
1117 (LongViewBufferImpl): Fixed super constructor call, initialize offset.
1118 (get): Shift bits to the right direction.
1120 * gnu/java/nio/ShortViewBufferImpl.java
1121 (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
1122 (get): Shift bits to the right direction.
1125 2003-05-13 Michael Koch <konqueror@gmx.de>
1127 * gnu/java/nio/natDirectByteBufferImpl.cc
1128 (allocateImpl): jlong -> RawData*.
1129 (freeImpl): Likewise.
1131 2003-05-13 Michael Koch <konqueror@gmx.de>
1133 * java/nio/channels/FileChannel.java
1134 (MapMode.m): Made it package-private to match JDK 1.4.
1135 * java/nio/charset/Charset.java
1136 (decode): Made it final to match JDK 1.4.
1138 2003-05-13 Michael Koch <konqueror@gmx.de>
1140 * java/io/FileDescriptor.java
1141 (SYNC): New constant.
1143 (getLength): Renamed from lenght() to match classpath's
1144 FileDescriptor.java.
1145 * java/io/RandomAccessFile.java
1146 (RandomAccessFile): Removed unneeded mode check, implemented mode
1147 "rws" and "rwd", merged documentation from classpath.
1148 (setLength): Reformatted.
1149 (length): Use new getLength() of FileDescriptor.
1150 * java/io/natFileDescriptorEcos.cc
1151 (getLength): Renamed from length().
1152 * java/io/natFileDescriptorPosix.cc
1153 (open): Implemented support for SYNC and DSYNC.
1154 (seek): Use getLength() instead of length().
1155 (getLength): Renamed from length().
1156 * java/io/natFileDescriptorWin32.cc
1157 (getLength): Renamed from length().
1158 (seek): Use getLength() instead of length().
1159 (available): Likewise.
1160 * gnu/java/nio/natFileChannelImpl.cc
1161 (size): Use getLength() instead of length().
1163 2003-05-13 Michael Koch <konqueror@gmx.de>
1165 * gnu/java/nio/ByteBufferImpl.java
1166 (ByteBufferImpl): All constructors revised.
1167 (slice): Reimplemented.
1168 (duplicate): Reimplemented.
1169 (asReadOnlyBuffer): Reimplemented.
1170 * java/nio/ByteBuffer.java:
1172 (array_offset): Renamed from "offset" to match all other buffer
1174 (ByteBuffer): All constructors revised.
1175 (allocateDirect): Implemented.
1176 (allocate): New implementation, documentation reworked.
1178 (get): Documentation reworked.
1179 (put): New implementation, documentation reworked.
1180 (hasArray): Documentation reworked.
1181 (arrayOffset): Likewise.
1182 (hashCode): Likewise.
1184 (compareTo): Likewise.
1186 (compact): Likewise.
1187 (isDirect): Likewise.
1189 (duplicate): Likewise.
1190 (asReadOnlyBuffer): Likewise.
1192 (ordinary_java_source_files):
1193 Added gnu/java/nio/DirectByteBufferImpl.java.
1195 Added gnu/java/nio/natDirectByteBufferImpl.cc.
1196 * Makefile.in: Regenerated.
1198 2003-05-12 Michael Koch <konqueror@gmx.de>
1200 * gnu/java/nio/ByteBufferImpl.java: Reformatted.
1201 (nio_get_*): Removed.
1202 (nio_put_*): Removed.
1203 (as*Buffer): Implemented.
1204 (compact): Implemented.
1205 (get): Documentation added.
1206 (put): Documentation added.
1207 (get*): Newly implemented.
1208 (put*): Newly implemented.
1209 * gnu/java/nio/CharBufferImpl.java: Reformatted.
1210 (CharBufferImpl): Revised.
1211 (slice): New implementation.
1212 (duplicate): New implementation.
1213 (compact): New implementation.
1214 (asReadOnlyBuffer): New implementation.
1215 (get): Documentation revised.
1216 (order): Return native byte order.
1217 * gnu/java/nio/DirectByteBufferImpl.java
1218 (allocateDirect): objects can be null not 0.
1219 * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
1220 (DoubleBufferImpl): Revised.
1221 (slice): New implementation.
1222 (duplicate): New implementation.
1223 (compact): New implementation.
1224 (asReadOnlyBuffer): New implementation.
1225 (get): Documentation revised.
1226 (order): Return native byte order.
1227 * gnu/java/nio/FloatBufferImpl.java: Reformatted.
1228 (FloatBufferImpl): Revised.
1229 (slice): New implementation.
1230 (duplicate): New implementation.
1231 (compact): New implementation.
1232 (asReadOnlyBuffer): New implementation.
1233 (get): Documentation revised.
1234 (order): Return native byte order.
1235 * gnu/java/nio/IntBufferImpl.java: Reformatted.
1236 (IntBufferImpl): Revised.
1237 (slice): New implementation.
1238 (duplicate): New implementation.
1239 (compact): New implementation.
1240 (asReadOnlyBuffer): New implementation.
1241 (get): Documentation revised.
1242 (order): Return native byte order.
1243 * gnu/java/nio/LongBufferImpl.java: Reformatted.
1244 (LongBufferImpl): Revised.
1245 (slice): New implementation.
1246 (duplicate): New implementation.
1247 (compact): New implementation.
1248 (asReadOnlyBuffer): New implementation.
1249 (get): Documentation revised.
1250 (order): Return native byte order.
1251 * gnu/java/nio/ShortBufferImpl.java: Reformatted.
1252 (ShortBufferImpl): Revised.
1253 (slice): New implementation.
1254 (duplicate): New implementation.
1255 (compact): New implementation.
1256 (asReadOnlyBuffer): New implementation.
1257 (get): Documentation revised.
1258 (order): Return native byte order.
1259 * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
1260 (CharBuffer): Revised.
1262 * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
1263 (DoubleBuffer): Revised.
1264 (allocateDirect): Removed.
1266 * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
1267 (FloatBuffer): Revised.
1268 (allocateDirect): Removed.
1270 * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
1271 (IntBuffer): Revised.
1272 (allocateDirect): Removed.
1274 * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
1275 (LongBuffer): Revised.
1276 (allocateDirect): Removed.
1278 * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
1279 (ShortBuffer): Revised.
1280 (allocateDirect): Removed.
1282 * gnu/java/nio/natByteBufferImpl.cc: Removed.
1283 * gnu/java/nio/natCharBufferImpl.cc: Removed.
1285 (ordinary_java_source_files): Added the following files:
1286 gnu/java/nio/CharViewBufferImpl.java,
1287 gnu/java/nio/DoubleViewBufferImpl.java,
1288 gnu/java/nio/FloatViewBufferImpl.java,
1289 gnu/java/nio/IntViewBufferImpl.java,
1290 gnu/java/nio/LongViewBufferImpl.java,
1291 gnu/java/nio/ShortViewBufferImpl.java
1292 (nat_source_files): Removed the following files:
1293 gnu/java/nio/natByteBufferImpl.cc,
1294 gnu/java/nio/natCharBufferImpl.cc
1295 * Makefile.in: Regenerated.
1297 2003-05-12 Michael Koch <konqueror@gmx.de>
1299 * gnu/java/nio/CharViewBufferImpl.java,
1300 gnu/java/nio/DirectByteBufferImpl.java,
1301 gnu/java/nio/DoubleViewBufferImpl.java,
1302 gnu/java/nio/FloatViewBufferImpl.java,
1303 gnu/java/nio/IntViewBufferImpl.java,
1304 gnu/java/nio/LongViewBufferImpl.java,
1305 gnu/java/nio/ShortViewBufferImpl.java,
1306 gnu/java/nio/natDirectByteBufferImpl.cc:
1307 New files, not yet to be compiled.
1309 2003-05-10 Michael Koch <konqueror@gmx.de>
1311 * javax/swing/plaf/ButtonUI.java,
1312 javax/swing/plaf/ColorUIResource.java,
1313 javax/swing/plaf/ComponentUI.java,
1314 javax/swing/plaf/DimensionUIResource.java,
1315 javax/swing/plaf/FontUIResource.java,
1316 javax/swing/plaf/IconUIResource.java,
1317 javax/swing/plaf/InsetsUIResource.java,
1318 javax/swing/plaf/LabelUI.java,
1319 javax/swing/plaf/ListUI.java,
1320 javax/swing/plaf/OptionPaneUI.java,
1321 javax/swing/plaf/PanelUI.java,
1322 javax/swing/plaf/TabbedPaneUI.java,
1323 javax/swing/plaf/TextUI.java,
1324 javax/swing/plaf/TreeUI.java,
1325 javax/swing/plaf/ViewportUI.java,
1326 javax/swing/plaf/basic/BasicBorders.java,
1327 javax/swing/plaf/basic/BasicButtonUI.java,
1328 javax/swing/plaf/basic/BasicCheckBoxUI.java,
1329 javax/swing/plaf/basic/BasicDefaults.java,
1330 javax/swing/plaf/basic/BasicGraphicsUtils.java,
1331 javax/swing/plaf/basic/BasicIconFactory.java,
1332 javax/swing/plaf/basic/BasicLabelUI.java,
1333 javax/swing/plaf/basic/BasicListUI.java,
1334 javax/swing/plaf/basic/BasicOptionPaneUI.java,
1335 javax/swing/plaf/basic/BasicPanelUI.java,
1336 javax/swing/plaf/basic/BasicRadioButtonUI.java,
1337 javax/swing/plaf/basic/BasicScrollPaneUI.java,
1338 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1339 javax/swing/plaf/basic/BasicTextUI.java,
1340 javax/swing/plaf/basic/BasicToggleButtonUI.java,
1341 javax/swing/plaf/basic/BasicTreeUI.java,
1342 javax/swing/plaf/basic/BasicViewportUI.java,
1343 javax/swing/plaf/metal/MetalLookAndFeel.java:
1344 New versions from classpath. This adds copyrights to all files and
1345 some serialVersionUIDs.
1347 2003-05-10 Michael Koch <konqueror@gmx.de>
1349 * java/nio/CharBuffer.java
1350 (offset): Make it package-private.
1351 (backing_buffer): Likewise.
1352 * java/nio/DoubleBuffer.java
1353 (offset): Make it package-private.
1354 (backing_buffer): Likewise.
1356 * java/nio/FloatBuffer.java
1357 (offset): Make it package-private.
1358 (backing_buffer): Likewise.
1359 * java/nio/IntBuffer.java
1360 (offset): Make it package-private.
1361 (backing_buffer): Likewise.
1362 * java/nio/LongBuffer.java
1363 (offset): Make it package-private.
1364 (backing_buffer): Likewise.
1365 * java/nio/ShortBuffer.java
1366 (offset): Make it package-private.
1367 (backing_buffer): Likewise.
1369 2003-05-10 Michael Koch <konqueror@gmx.de>
1371 * java/nio/CharBuffer.java
1372 (put): Fixed precondtion check.
1373 (toString): Make it work without backing array.
1374 (put): Skip one level of method calling.
1376 2003-05-10 Michael Koch <konqueror@gmx.de>
1378 * java/security/Identity.java,
1379 java/security/IdentityScope.java,
1380 java/security/Key.java,
1381 java/security/KeyPair.java,
1382 java/security/PrivateKey.java,
1383 java/security/Provider.java,
1384 java/security/PublicKey.java,
1385 java/security/SecureRandom.java,
1386 java/security/SecureRandomSpi.java,
1387 java/security/SignedObject.java,
1388 java/security/Signer.java,
1389 java/security/cert/Certificate.java,
1390 java/security/cert/PKIXCertPathBuilderResult.java,
1391 java/security/cert/X509Certificate.java:
1392 New versions from classpath.
1394 2003-05-09 Tom Tromey <tromey@redhat.com>
1396 * Makefile.in: Rebuilt.
1397 * Makefile.am (nat_source_files): Removed old files.
1398 * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
1399 * gnu/java/nio/natFloatBufferImpl.cc: Removed.
1400 * gnu/java/nio/natIntBufferImpl.cc: Removed.
1401 * gnu/java/nio/natLongBufferImpl.cc: Removed.
1402 * gnu/java/nio/natShortBufferImpl.cc: Removed.
1404 2003-05-09 Michael Koch <konqueror@gmx.de>
1406 * gnu/java/nio/ByteBufferImpl.java
1407 (nio_cast): Removed.
1408 (ByteBufferImpl): Removed.
1409 (nio_get_Byte): Removed.
1410 (nio_put_Byte): Removed.
1411 (asByteBuffer): Removed.
1412 (asCharBuffer): Removed implementation and throw exception.
1413 (asShortBuffer): Likewise.
1414 (asIntBuffer): Likewise.
1415 (asLongBuffer): Likewise.
1416 (asFloatBuffer): Likewise.
1417 (asDoubleBuffer): Likewise.
1418 * gnu/java/nio/CharBufferImpl.java
1419 (CharBufferImpl): Removed.
1420 (nio_get_Byte): Removed.
1421 (nio_put_Byte): Removed.
1422 (asByteBuffer): Removed.
1423 * gnu/java/nio/DoubleBufferImpl.java
1424 (DoubleBufferImpl): Removed.
1425 (nio_get_Byte): Removed.
1426 (nio_put_Byte): Removed.
1427 (asByteBuffer): Removed.
1428 * gnu/java/nio/FloatBufferImpl.java
1429 (FloatBufferImpl): Removed.
1430 (nio_get_Byte): Removed.
1431 (nio_put_Byte): Removed.
1432 (asByteBuffer): Removed.
1433 * gnu/java/nio/IntBufferImpl.java
1434 (IntBufferImpl): Removed.
1435 (nio_get_Byte): Removed.
1436 (nio_put_Byte): Removed.
1437 (asByteBuffer): Removed.
1438 * gnu/java/nio/LongBufferImpl.java
1439 (LongBufferImpl): Removed.
1440 (nio_get_Byte): Removed.
1441 (nio_put_Byte): Removed.
1442 (asByteBuffer): Removed.
1443 * gnu/java/nio/ShortBufferImpl.java
1444 (ShortBufferImpl): Removed.
1445 (nio_get_Byte): Removed.
1446 (nio_put_Byte): Removed.
1447 (asByteBuffer): Removed.
1448 * gnu/java/nio/natByteBufferImpl.cc
1449 (nio_cast): Removed.
1450 (nio_get_Byte): Removed.
1451 (nio_put_Byte): Removed.
1452 * gnu/java/nio/natCharBufferImpl.cc
1453 (nio_get_Byte): Removed.
1454 (nio_put_Byte): Removed.
1456 2003-05-09 Michael Koch <konqueror@gmx.de>
1458 * java/net/JarURLConnection.java
1459 (getJarEntry): Merged documentation from classpath.
1460 (getJarFile): Likewise.
1461 (getMainAttributes): Likewise.
1462 (getAttributes): Likewise.
1463 (getManifest): Likewise.
1464 (getCertificates): Reformatted.
1465 * java/net/URLConnection.java:
1466 Little classpath merge.
1468 2003-05-09 Michael Koch <konqueror@gmx.de>
1470 * java/io/DataOutputStream.java
1471 (writeShort): Made it synchronized.
1472 (writeChar): Likewise.
1473 (writeInt): Likewise.
1474 (writeLong): Liekwise.
1475 (writeUTF): Made it synchronized, renamed argument to match classpath.
1476 * java/io/InputStreamReader.java
1477 (converter): Added documentation.
1478 (read): Merged documentation from classpath.
1479 * java/io/OutputStreamWriter.java
1480 (OutputStreamWriter): Merged documentation from classpath.
1481 (close): Reformatted.
1482 (getEncoding): Likewise.
1484 (write): Merged documentation from classpath, reformatted.
1486 2003-05-08 Tom Tromey <tromey@redhat.com>
1488 * configure.host <powerpc64*-*>: Set with_libffi_default and
1489 libgcj_interpreter to "yes".
1491 2003-05-08 Scott Gilbertson <scottg@mantatest.com>
1493 * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
1495 2003-05-06 Tom Tromey <tromey@redhat.com>
1497 * verify.cc: Reverted previous patch.
1499 2003-05-06 Michael Koch <konqueror@gmx.de>
1501 * java/io/DataOutputStream.java
1502 (write): Renamed argument to "value", merged documentation from
1504 (writeBoolean): Likewise.
1505 (writeByte): Likewise.
1506 (writeShort): Likewise.
1507 (writeChar): Likewise.
1508 (writeInt): Likewise.
1509 (writeLong): Likewise.
1510 (writeFloat): Likewise.
1511 (writeDouble): Likewise.
1512 (writeBytes): Likewise.
1513 (writeChars): Likewise.
1514 (writeUTF): Likewise.
1516 (performDelete): Added documentation.
1517 (performList): Likewise.
1518 (performMkdir): Likewise.
1519 (performSetReadOnly): Likewise.
1520 (performRenameTo): Likewise.
1521 (performSetLastModified): Likewise.
1522 (delete): Made it sychronized.
1523 (renameTo): Made it sychronized.
1524 (equals): Reformatted.
1525 (isHidden): Likewise.
1526 (listFiles): Likewise.
1527 (setReadOnly): Likewise.
1528 (listRoots): Likewise.
1529 (setLastModified): Likewise.
1530 (checkRead): Likewise.
1531 (checkWrite): Likewise.
1532 * java/io/FileInputStream.java
1533 (skip): Made it sychronized, merged from classpath.
1534 * java/io/FileOutputStream.java
1535 (write): Merged from classpath.
1536 * java/io/InputStreamReader.java:
1537 (InputStreamReader): Merged documentation from classpath.
1539 2003-05-05 Michael Koch <konqueror@gmx.de>
1541 * java/net/NetworkInterface.java
1542 (networkInterfaces): Removed.
1543 (getByName): Use getRealNetworkInterfaces() instead of
1545 (getByInetAddress): Likewise.
1546 (getNetworkInterfaces): Likewise.
1547 (toString): Fix output of addresses of an interface.
1549 2003-05-05 Michael Koch <konqueror@gmx.de>
1551 * java/io/DataInputStream.java:
1552 Merged new documentation from classpath.
1554 2003-05-03 Matt Kraai <kraai@alumni.cmu.edu>
1556 * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
1558 * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
1559 * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
1560 * gnu/awt/gtk/GtkFramePeer.java: Likewise.
1561 * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
1562 * gnu/awt/gtk/GtkMainThread.java: Likewise.
1563 * gnu/awt/gtk/GtkToolkit.java: Likewise.
1564 * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
1565 * java/security/Key.java: Likewise.
1566 * java/security/PrivateKey.java: Likewise.
1567 * java/security/Provider.java: Likewise.
1568 * java/security/PublicKey.java: Likewise.
1570 2003-05-02 Michael Koch <konqueror@gmx.de>
1573 (create): Doesnt throws any exceptions.
1574 * java/net/URLConnection.java
1575 (URLConnection): Commend added.
1576 (getExpiration): The header field is called "expires" not
1578 (getHeaderField): Merged documentation with classpath.
1579 (getHeaderFieldInt): Likewise.
1580 (getHeaderFieldDate): Likewise.
1581 (getHeaderFieldKey): Likewise.
1582 (getPermission): Likewise.
1583 (setDefaultUseCaches): Likewise.
1584 (setRequestProperty): Likewise.
1585 (addRequestProperty): Likewise.
1586 (getRequestProperty): Likewise.
1587 (getRequestProperties): Likewise.
1588 (setDefaultRequestProperty): Likewise.
1589 (getDefaultRequestProperty): Likewise.
1590 (guessContentTypeFromStream): Likewise.
1591 (getFileNameMap): Likewise.
1592 (setFileNameMap): Likewise.
1593 (setDoInput): Merged implementation and documentation with classpath.
1594 (setDoOutput): Likewise.
1595 (setAllowUserInteraction): Likewise.
1596 (setDefaultAllowUserInteraction): Likewise.
1597 (setContentHandlerFactory): Made it synchronized, merged documentation
1599 (guessContentTypeFromName): Renamed argument fname to filename to
1600 match classpath, merged documentation with classpath.
1602 2003-05-02 Michael Koch <konqueror@gmx.de>
1604 * java/net/JarURLConnection.java
1605 (JarURLConnection): Class documentation merged with classpath.
1606 (getJarFileURL): Moved and documentation merged with classpath.
1607 (getEntryName): Likewise.
1608 (JarURLConnection): Documentation merged with classpath.
1609 (getJarEntry): Likewise.
1610 (getJarFile): Likewise.
1611 * java/net/PlainDatagramSocketImpl.java:
1612 Class documentation moved.
1613 * java/net/URLConnection.java
1614 (fileNameMap): Moved and documentation merged with classpath.
1615 (factory): Likewise.
1616 (defaultAllowUserInteraction): Likewis.
1617 (defaultUseCaches): Likewise.
1618 (allowUserInteraction): Likewise.
1619 (connected): Likewise.
1621 (connect): Documentation merged with classpath.
1623 (getContentLength): Likewise.
1624 (getContentType): Likewise.
1625 (getContentEncoding): Likewise.
1626 (getExpiration): Likewise.
1627 (getDate): Likewise.
1628 (getLastModified): Likewise.
1629 (getHeaderField): Likewise.
1630 (getContent): Likewise.
1631 (getPermission): Likewise.
1632 (getInputStream): Likewise.
1633 (getOutputStream): Likewise.
1634 (toString): Likewise.
1635 (getDoInput): Likewise.
1636 (getDoOutput): Likewise.
1637 (setAllowUserInteraction): Likewise.
1638 (getAllowUserInteraction): Likewise.
1639 (setDefaultAllowUserInteraction): Likewise.
1640 (getDefaultAllowUserInteraction): Likewise.
1641 (setUseCaches): Likewise.
1642 (getUseCaches): Likewise.
1643 (setIfModifiedSince): Likewise.
1644 (getIfModifiedSince): Likewise.
1645 (setDefaultRequestProperty): Likewise.
1646 (getDefaultRequestProperty): Likewise.
1647 (setContentHandlerFactory): Likewise.
1648 (setFileNameMap): Likewise.
1650 2003-05-02 Michael Koch <konqueror@gmx.de>
1652 * java/net/InetAddress.java:
1653 Merged class documentation with classpath.
1654 * java/net/JarURLConnection.java:
1655 Explicitely import all used classes.
1656 * java/net/URL.java:
1658 * java/net/ServerSocket.java,
1659 java/net/Socket.java:
1660 New versions from classpath.
1662 2003-05-02 Michael Koch <konqueror@gmx.de>
1664 * gnu/java/nio/FileChannelImpl.java
1665 (read): New implementation.
1666 (implRead): New methods.
1667 (write): New implementation, call other write insteal of read method.
1668 (implWrite): New methods.
1669 (map): Added comment.
1670 (transferFrom): Implemented.
1671 (transferTo): Implemented.
1672 (lock): Added checks to throw exceptions.
1673 (truncate): Added check to throw exception.
1674 * gnu/java/nio/natFileChannelImpl.cc
1675 (implRead): New method.
1676 (implWrite): New method.
1677 * java/nio/ByteBuffer.java
1678 (hashCode): Fixed comment.
1679 (get): Fixed exception documentation.
1680 (put): Fixed exception documentation.
1681 * java/nio/CharBuffer.java:
1682 Added comment for later optimizations.
1684 2003-04-30 Tom Tromey <tromey@redhat.com>
1687 * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
1689 (type::compatible): Use _Jv_IsAssignableFrom.
1690 * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
1691 (_Jv_IsAssignableFrom): Work even when source or target class is
1694 2003-04-30 Michael Koch <konqueror@gmx.de>
1696 * java/text/BreakIterator.java
1697 (clone): New method.
1699 2003-04-30 Michael Koch <konqueror@gmx.de>
1701 * java/text/CollationElementIterator.java,
1702 java/text/CollationKey.java,
1703 java/text/RuleBasedCollator.java:
1704 Merged copyright and documentation from classpath and
1705 rearranged some code. No code changes done.
1707 2003-04-30 Michael Koch <konqueror@gmx.de>
1709 * java/util/regex/Matcher.java
1710 (pattern): New member variable.
1711 (appendReplacement): New method.
1712 (appendTail): New method.
1715 (group): New method.
1716 (replaceFirst): Added documentation.
1717 (replaceAll): Added documentation.
1718 (groupCount): New method.
1719 (lookingAt): New method.
1720 (matches): New method.
1721 (reset): New method.
1722 (start): New method.
1723 * java/util/regex/Pattern.java
1724 (serialVersionUID): New constant.
1725 (CANON_EQ): New constant.
1726 (CASE_INSENSITIVE): New constant.
1727 (COMMENTS): New constant.
1728 (DOTALL): New constant.
1729 (MULTILINE): New constant.
1730 (UNICODE_CASE): New constant.
1731 (UNIX_LINES): New constant.
1732 (regex): New member variable.
1733 (flags): New member variable.
1734 (Pattern): New method.
1735 (compile): Documentation added.
1736 (flags): New method.
1737 (matches): Documentation added.
1738 (matcher): Documentation added.
1739 (split): Documentation added.
1740 (pattern): New method.
1742 2003-04-30 Michael Koch <konqueror@gmx.de>
1744 * gnu/java/security/Engine.java,
1745 gnu/java/security/OID.java,
1746 gnu/java/security/der/BitString.java,
1747 gnu/java/security/der/DER.java,
1748 gnu/java/security/der/DERReader.java,
1749 gnu/java/security/der/DERValue.java,
1750 gnu/java/security/der/DERWriter.java,
1751 gnu/java/security/provider/DSAKeyFactory.java,
1752 gnu/java/security/provider/X509CertificateFactory.java,
1753 gnu/java/security/x509/X500DistinguishedName.java,
1754 gnu/java/security/x509/X509CRL.java,
1755 gnu/java/security/x509/X509CRLEntry.java,
1756 gnu/java/security/x509/X509Certificate.java,
1757 java/security/cert/CRLSelector.java,
1758 java/security/cert/CertPathBuilder.java,
1759 java/security/cert/CertPathBuilderResult.java,
1760 java/security/cert/CertPathBuilderSpi.java,
1761 java/security/cert/CertPathParameters.java,
1762 java/security/cert/CertPathValidator.java,
1763 java/security/cert/CertPathValidatorResult.java,
1764 java/security/cert/CertPathValidatorSpi.java,
1765 java/security/cert/CertSelector.java,
1766 java/security/cert/CertStore.java,
1767 java/security/cert/CertStoreParameters.java,
1768 java/security/cert/CertStoreSpi.java,
1769 java/security/cert/CollectionCertStoreParameters.java,
1770 java/security/cert/LDAPCertStoreParameters.java,
1771 java/security/cert/PKIXBuilderParameters.java,
1772 java/security/cert/PKIXCertPathBuilderResult.java,
1773 java/security/cert/PKIXCertPathChecker.java,
1774 java/security/cert/PKIXCertPathValidatorResult.java,
1775 java/security/cert/PKIXParameters.java,
1776 java/security/cert/PolicyNode.java,
1777 java/security/cert/PolicyQualifierInfo.java,
1778 java/security/cert/TrustAnchor.java,
1779 javax/security/auth/x500/X500Principal.java:
1780 New files from classpath.
1781 * gnu/java/io/ASN1ParsingException.java,
1782 gnu/java/io/Base64InputStream.java,
1783 gnu/java/security/der/DEREncodingException.java,
1784 gnu/java/security/provider/DSAParameters.java,
1785 gnu/java/security/provider/DSASignature.java,
1786 gnu/java/security/provider/Gnu.java,
1787 gnu/java/security/provider/GnuDSAPrivateKey.java,
1788 gnu/java/security/provider/GnuDSAPublicKey.java,
1789 java/security/AlgorithmParameterGenerator.java,
1790 java/security/AlgorithmParameters.java,
1791 java/security/KeyFactory.java,
1792 java/security/KeyPairGenerator.java,
1793 java/security/KeyStore.java,
1794 java/security/MessageDigest.java,
1795 java/security/SecureClassLoader.java,
1796 java/security/SecureRandom.java,
1797 java/security/Security.java,
1798 java/security/Signature.java,
1799 java/security/cert/Certificate.java,
1800 java/security/cert/CertificateFactory.java,
1801 java/security/cert/CertificateFactorySpi.java,
1802 java/security/cert/X509CRL.java,
1803 java/security/cert/X509Certificate.java,
1804 java/security/spec/DSAPublicKeySpec.java:
1805 New versions from classpath.
1806 * gnu/java/security/provider/DERReader.java,
1807 gnu/java/security/provider/DERWriter.java,
1808 java/security/Engine.java: Removed.
1810 (java_source_files, javax_source_files): Added new files.
1811 * Makefile.in: Regenerated.
1813 2003-04-29 Michael Koch <konqueror@gmx.de>
1815 * javax/swing/JTable.java
1816 (AUTO_RESIZE_ALL_COLUMNS): New constant.
1817 (AUTO_RESIZE_LAST_COLUMN): New constant.
1818 (AUTO_RESIZE_NEXT_COLUMN): New constant.
1819 (AUTO_RESIZE_OFF): New constant.
1820 (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
1821 (JTable): New method.
1822 (columnAdded): New method.
1823 (columnMarginChanged): New method.
1824 (columnMoved): New method.
1825 (columnRemoved): New method.
1826 (columnSelectionChanged): New method.
1827 (editingCanceled): New method.
1828 (editingStopped): New method.
1829 (getColumnModel): New method.
1830 (getPreferredScrollableViewportSize): New method.
1831 (getScrollableBlockIncrement): New method.
1832 (getScrollableTracksViewportHeight): New method.
1833 (getScrollableTracksViewportWidth): New method.
1834 (getScrollableUnitIncrement): New method.
1835 (getSelectedRow): New method.
1836 (getSelectionModel): New method.
1837 (tableChanged): New method.
1838 (setModel): New method.
1839 (setSelectionMode): New method.
1840 (setSelectionModel): New method.
1841 (setShowGrid): New method.
1842 (valueChanged): New method.
1843 * javax/swing/text/DefaultEditorKit.java
1844 (backwardAction): New constant.
1845 (beepAction): New constant.
1846 (beginAction): New constant.
1847 (beginLineAction): New constant.
1848 (beginParagraphAction): New constant.
1849 (beginWordAction): New constant.
1850 (copyAction): New constant.
1851 (cutAction): New constant.
1852 (defaultKeyTypedAction): New constant.
1853 (deleteNextCharAction): New constant.
1854 (deletePrevCharAction): New constant.
1855 (downAction): New constant.
1856 (endAction): New constant.
1857 (endLineAction): New constant.
1858 (endOfLineStringProperty): New constant.
1859 (endParagraphAction): New constant.
1860 (endWordAction): New constant.
1861 (forwardAction): New constant.
1862 (insertBreakAction): New constant.
1863 (insertContentAction): New constant.
1864 (insertTabAction): New constant.
1865 (nextWordAction): New constant.
1866 (pageDownAction): New constant.
1867 (pageUpAction): New constant.
1868 (pasteAction): New constant.
1869 (previousWordAction): New constant.
1870 (readOnlyAction): New constant.
1871 (selectAllAction): New constant.
1872 (selectionBackwardAction): New constant.
1873 (selectionBeginAction): New constant.
1874 (selectionBeginLineAction): New constant.
1875 (selectionBeginParagraphAction): New constant.
1876 (selectionBeginWordAction): New constant.
1877 (selectionDownAction): New constant.
1878 (selectionEndAction): New constant.
1879 (selectionEndLineAction): New constant.
1880 (selectionEndParagraphAction): New constant.
1881 (selectionEndWordAction): New constant.
1882 (selectionForwardAction): New constant.
1883 (selectionNextWordAction): New constant.
1884 (selectionPreviousWordAction): New constant.
1885 (selectionUpAction): New constant.
1886 (selectLineAction): New constant.
1887 (selectParagraphAction): New constant.
1888 (selectWordAction): New constant.
1889 (upAction): New constant.
1890 (writableAction): New constant.
1892 2003-04-29 Michael Koch <konqueror@gmx.de>
1894 * java/util/PropertyPermission.java:
1895 New version from classpath
1896 * java/util/ResourceBundle.java:
1897 Partly merged from classpath
1898 (getObject): Reformated.
1899 (tryBundle): Set foundBundle = null if no bundle found.
1901 2003-04-29 Michael Koch <konqueror@gmx.de>
1903 * javax/swing/AbstractListModel.java,
1904 javax/swing/DefaultBoundedRangeModel.java,
1905 javax/swing/DefaultSingleSelectionModel.java:
1906 New Versions from classpath.
1908 2003-04-29 Michael Koch <konqueror@gmx.de>
1910 * java/awt/Window.java
1911 (show): Call super.show() instead of setVisible() to avoid endless
1913 (hide): Call super.hide() instead of setVisible() to avoid endless
1916 2003-04-29 Michael Koch <konqueror@gmx.de>
1918 * java/util/zip/Deflater.java,
1919 java/util/zip/DeflaterOutputStream.java:
1920 Partly merged with classpath.
1922 2003-04-27 Tom Tromey <tromey@redhat.com>
1924 * java/lang/natString.cc (_Jv_AllocString): Initialize
1927 (_Jv_NewStringUtf8Const): Likewise.
1929 2003-03-29 Mohan Embar <gnustuff@thisiscool.com>
1931 * include/jvm.h: (_Jv_GetNbArgs) added
1932 (_Jv_GetSafeArg) added
1934 * prims.cc: (_Jv_GetNbArgs) implemented
1935 (_Jv_GetSafeArg) implemented
1936 (_Jv_SetArgs) implemented
1937 (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
1938 setting _Jv_argc and _Jv_argv
1939 * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
1941 * java/lang/natRuntime.cc: (insertSystemProperties) use
1942 _Jv_GetSafeArg() instead of _Jv_argv
1944 2003-04-23 Tom Tromey <tromey@redhat.com>
1946 * resolve.cc (_Jv_PrepareClass): Round size up to alignment
1947 required by this object. Search superclasses to find required
1949 (get_alignment_from_class): Use alignment of type as it appears
1951 (ALIGNOF): New macro.
1952 (struct aligner): New helper structure.
1954 2003-04-20 Scott Gilbertson <scottg@mantatest.com>
1956 * java/awt/Container.java (addImpl): Enable paint events if adding
1957 a lightweight to a heavyweight.
1958 (addNotify): Ensure that peer is created before
1959 addNotifyContainerChildren.
1960 (addNotifyContainerChildren): Enable paint events if a heavyweight
1961 container contains a lightweight.
1963 2003-04-20 Tom Tromey <tromey@redhat.com>
1965 * java/io/BufferedReader.java, java/io/BufferedWriter.java,
1966 java/io/DataInput.java, java/io/DataOutput.java: Imports from
1969 2003-04-19 Tom Tromey <tromey@redhat.com>
1971 * java/sql/Date.java, java/sql/DriverManager.java,
1972 java/sql/Time.java, java/sql/Timestamp.java: New versions from
1975 * Makefile.in: Rebuilt.
1976 * Makefile.am (ordinary_java_source_files): Added new files.
1977 * java/security/AlgorithmParameterGenerator.java,
1978 java/security/AlgorithmParameters.java, java/security/Engine.java,
1979 java/security/Identity.java, java/security/IdentityScope.java,
1980 java/security/KeyFactory.java,
1981 java/security/KeyPairGenerator.java, java/security/KeyStore.java,
1982 java/security/MessageDigest.java, java/security/Policy.java,
1983 java/security/ProtectionDomain.java,
1984 java/security/SecureRandom.java, java/security/Security.java,
1985 java/security/Signature.java, java/security/SignatureSpi.java,
1986 java/security/SignedObject.java, java/security/Signer.java,
1987 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
1988 java/security/spec/PSSParameterSpec.java,
1989 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
1990 java/security/spec/RSAOtherPrimeInfo.java: New versions from
1993 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
1995 * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
1996 (dispose): Null metrics.
1997 * gnu/awt/xlib/XToolkit.java (sync): Implement.
1998 * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
2000 (finalize): Call dispose.
2001 * gnu/gcj/xlib/Drawable.java (gcCache): New field.
2002 (gcCachedCount): New field.
2003 (finalize): New method.
2004 (putGCInCache): New method.
2005 (getGCFromCache): New method.
2006 * gnu/gcj/xlib/GC.java (GC): Make protected.
2007 (clone): Get new GC from cache if possible.
2008 (create): New static method.
2009 (dispose): Save old GC in cache.
2010 * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
2012 * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
2014 * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
2015 * java/awt/Container.java (visitChild): Dispose gfx2 when
2018 2003-04-19 Jerry Quinn <jlquinn@optonline.net>
2020 * java/math/BigInteger.java (probablePrime): New.
2021 * java/math/BigDecimal.java (unscaledValue): New.
2023 2003-04-19 Ranjit Mathew <rmathew@hotmail.com>
2025 * java/io/File.java (getAbsolutePath): On Windows, take care
2026 of paths like "C:", "G:foo\bar", etc.
2027 (getName): Make it work correctly on Windows.
2028 (getParent): Make it work correctly on Windows. For UNIX,
2029 fix bug that causes "/" to be returned as the parent of "/",
2030 instead of null as returned by Sun's JRE.
2032 * java/io/natFileWin32.cc: Change copyright owner to FSF.
2034 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2036 * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
2038 (CACHE_SIZE_PER_DISPLAY): New field
2039 (fontMetricsCache): New field
2040 (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
2041 loading ISO10646-1 fonts.
2043 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2045 * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
2047 * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
2050 2003-04-16 Richard Earnshaw <rearnsha@arm.com>
2052 * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
2055 2003-04-15 Jakub Jelinek <jakub@redhat.com>
2057 * configure.host (*-linux*): Don't set slow_pthread_self if primary
2058 installed libpthread is either linuxthreads with floating stacks or
2061 2003-04-14 Tom Tromey <tromey@redhat.com>
2063 * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
2066 2003-04-10 Tom Tromey <tromey@redhat.com>
2068 * verify.cc (pop64): Removed.
2069 (verify_instructions_0) <op_pop2>: Inline code. Don't throw
2070 exception if top-of-stack is narrow.
2071 (initialize_stack): Check to ensure that <init> is not static and
2074 2003-04-07 Aaron M. Renn (arenn@urbanophile.com)
2076 * java/io/ObjectStreamException
2077 * java/io/FileFilter
2078 * java/io/FilenameFilter
2079 * java/io/ObjectInput
2080 * java/io/ObjectOutput
2081 * java/io/ObjectStreamConstants
2082 Minor doc fixes, format fixes, spelling corrections, etc.
2084 Corrected code samples in Javadocs to match reality
2085 * java/io/DataOutput
2086 * java/io/ObjectInputValidation
2087 Major documentation fixes - all Javadocs re-written or updated
2089 2003-04-06 Michael Koch <konqueror@gmx.de>
2091 * java/net/URLConnection.java:
2092 Import classes directly.
2093 (URLConnection): Merged class documentation with classpath.
2094 (url): Moved, documentation from classpath added.
2095 (doInput): Moved, documentation from classpath added.
2096 (doOutput): Moved, documentation from classpath added.
2097 (allowUserInteraction): Moved.
2098 (useCaches): Moved, documentation from classpath added.
2099 (ifModifiedSince): Moved, documentation from classpath added.
2100 (connected): Moved, documentation from classpath added.
2102 2003-04-06 Michael Koch <konqueror@gmx.de>
2104 * java/io/FileInputStream.java
2105 (skip): Renamed some variables to match classpath, added
2106 checks from classpath.
2108 2003-03-31 Michael Koch <konqueror@gmx.de>
2110 * javax/swing/AbstractAction.java
2111 (AbstractAction): Reformatted.
2112 (serialVersionUID): New private member variable.
2113 * javax/swing/plaf/BorderUIResource.java
2114 (serialVersionUID): New private member variable.
2115 * javax/swing/plaf/basic/BasicLookAndFeel.java
2116 (serialVersionUID): New private member variable.
2118 2003-03-31 Michael Koch <konqueror@gmx.de>
2120 * java/sql/Date.java
2121 (valueOf): Deprecated, reformatted.
2122 (toString): Deprecated, reformatted.
2123 * java/sql/Time.java
2124 (valueOf): Deprecated, reformatted.
2125 (toString): Deprecated, reformatted.
2127 2003-03-31 Michael Koch <konqueror@gmx.de>
2129 * java/rmi/dgc/VMID.java
2130 (isUnique): Deprecated.
2132 2003-03-31 Michael Koch <konqueror@gmx.de>
2135 (separator): Merged documentation from classpath.
2136 (separatorChar): Merged documentation from classpath.
2137 (pathSeparator): Merged documentation from classpath.
2138 (pathSeparatorChar): Merged documentation from classpath.
2139 (path): Merged documentation from classpath.
2140 (canRead): Merged documentation from classpath.
2141 (canWrite): Merged documentation from classpath.
2142 (createNewFile): Merged documentation from classpath.
2143 (delete): Merged documentation from classpath.
2144 (equals): Merged documentation from classpath.
2145 (exists): Merged documentation from classpath.
2146 (File): Renamed p to name to match classpath, merged documentation
2148 (getAbsolutePath): Merged documentation from classpath.
2149 (getCanonicalPath): Merged documentation from classpath.
2150 (getCanonicalFile): Merged documentation from classpath.
2151 (getName): Merged documentation from classpath.
2152 (getParent): Merged documentation from classpath.
2153 (getParentFile): Merged documentation from classpath.
2154 (getPath): Merged documentation from classpath.
2155 (hashCode): Merged documentation from classpath.
2156 (isAbsolute): Merged documentation from classpath.
2157 (isDirectory): Merged documentation from classpath.
2158 (isFile): Merged documentation from classpath.
2159 (isHidden): Merged documentation from classpath.
2160 (lastModified): Merged documentation from classpath.
2161 (length): Merged documentation from classpath.
2162 (list): Merged documentation from classpath.
2163 (listFiles): Merged documentation from classpath.
2164 (toString): Merged documentation from classpath.
2165 (toURL): Merged documentation from classpath.
2166 (mkdir): Merged documentation from classpath.
2167 (mkdirs): Merged documentation from classpath.
2168 (createTempFile): Merged documentation from classpath.
2169 (setReadOnly): Merged documentation from classpath.
2170 (listRoots): Merged documentation from classpath.
2171 (compareTo): Merged documentation from classpath.
2172 (renameTo): Merged documentation from classpath.
2173 (setLastModified): Merged documentation from classpath.
2174 * java/io/PrintStream.java
2175 (auto_flush): Merged documentation from classpath.
2176 (PrintStream): Merged documentation from classpath.
2177 (checkError): Merged documentation from classpath.
2178 (setError): Merged documentation from classpath.
2179 (close): Merged documentation from classpath.
2180 (flush): Merged documentation from classpath.
2181 (print): Merged documentation from classpath.
2182 (println): Merged documentation from classpath.
2183 (write): Renamed count to len to match classpath,
2184 merged documentation from classpath.
2185 * java/io/RandomAccessFile.java
2186 (readShort): Merged documentation from classpath.
2187 (readUnsignedByte): Merged documentation from classpath.
2188 (readUnsignedShort): Merged documentation from classpath.
2189 (readUTF): Merged documentation from classpath.
2190 (seek): Reformatted, merged documentation from classpath.
2191 (skipBytes): Renamed some variables to match classpath, reformatted,
2192 merged documentation from classpath.
2193 (write): Merged documentation from classpath.
2194 (writeBoolean): Merged documentation from classpath.
2195 (writeByte): Merged documentation from classpath.
2196 (writeShort): Merged documentation from classpath.
2197 (writeChar): Merged documentation from classpath.
2198 (writeInt): Merged documentation from classpath.
2199 (writeLong): Merged documentation from classpath.
2200 (writeFloat): Merged documentation from classpath.
2201 (writeDouble): Merged documentation from classpath.
2202 (writeBytes): Merged documentation from classpath.
2203 (writeChars): Merged documentation from classpath.
2204 (writeUTF): Reformatted.
2205 (getChannel): Reformatted.
2207 2003-03-31 Michael Koch <konqueror@gmx.de>
2209 * java/awt/font/TextAttribute.java
2210 (readResolve): Throws java.io.InvalidObjectException.
2212 2003-03-31 Michael Koch <konqueror@gmx.de>
2214 * java/rmi/server/LoaderHandler.java
2215 (loadClass): Deprecated.
2216 (getSecurityContext): Deprecated.
2217 * java/rmi/server/LogStream.java
2218 (getDefaultStream): Deprecated.
2219 (setDefaultStream): Deprecated.
2220 (getOutputStream): Deprecated.
2221 (setOutputStream): Deprecated.
2222 (write): Deprecated.
2223 (toString): Deprecated.
2224 (parseLevel): Deprecated.
2225 * java/rmi/server/Operation.java
2226 (Operation): Deprecated.
2227 (getOperation): Deprecated.
2228 (toString): Deprecated.
2229 * java/rmi/server/RemoteCall.java
2230 (getOutputStream): Deprecated.
2231 (releaseOutputStream): Deprecated.
2232 (getInputStream): Deprecated.
2233 (releaseInputStream): Deprecated.
2234 (getResultStream): Deprecated.
2235 (executeCall): Deprecated.
2237 * java/rmi/server/RemoteRef.java
2238 (invoke): Deprecated.
2239 (newCall): Deprecated.
2241 * java/rmi/server/RemoteStub.java
2242 (setRef): Deprecated.
2243 * java/rmi/server/Skeleton.java:
2244 No need to import java.lang.Exception explicitly.
2245 (dispatch): Deprecated.
2246 (getOperations): Deprecated.
2248 2003-03-31 Michael Koch <konqueror@gmx.de>
2250 * java/rmi/dgc/VMID.java,
2251 java/rmi/registry/RegistryHandler.java,
2252 java/rmi/server/LogStream.java,
2253 java/rmi/server/Operation.java,
2254 java/rmi/server/RemoteCall.java,
2255 java/rmi/server/RemoteRef.java,
2256 java/rmi/server/RemoteStub.java:
2259 2003-03-31 Michael Koch <konqueror@gmx.de>
2261 * javax/swing/AbstractCellEditor.java,
2262 javax/swing/AbstractListModel.java,
2263 javax/swing/ActionMap.java,
2264 javax/swing/BorderFactory.java,
2265 javax/swing/ButtonGroup.java,
2266 javax/swing/DefaultBoundedRangeModel.java,
2267 javax/swing/DefaultButtonModel.java,
2268 javax/swing/DefaultCellEditor.java,
2269 javax/swing/DefaultComboBoxModel.java,
2270 javax/swing/DefaultDesktopManager.java,
2271 javax/swing/DefaultListCellRenderer.java,
2272 javax/swing/DefaultSingleSelectionModel.java,
2273 javax/swing/InputMap.java,
2274 javax/swing/JComponent.java,
2275 javax/swing/JMenu.java,
2276 javax/swing/JSlider.java,
2277 javax/swing/KeyStroke.java,
2278 javax/swing/OverlayLayout.java,
2279 javax/swing/ScrollPaneLayout.java,
2280 javax/swing/SizeRequirements.java,
2281 javax/swing/UIManager.java,
2282 javax/swing/ViewportLayout.java,
2283 javax/swing/border/AbstractBorder.java,
2284 javax/swing/colorchooser/DefaultColorSelectionModel.java,
2285 javax/swing/event/EventListenerList.java,
2286 javax/swing/table/AbstractTableModel.java,
2287 javax/swing/table/DefaultTableCellRenderer.java,
2288 javax/swing/table/DefaultTableColumnModel.java,
2289 javax/swing/table/DefaultTableModel.java,
2290 javax/swing/table/TableColumn.java,
2291 javax/swing/text/StyledEditorKit.java,
2292 javax/swing/tree/DefaultMutableTreeNode.java,
2293 javax/swing/tree/DefaultTreeModel.java,
2294 javax/swing/tree/DefaultTreeSelectionModel.java,
2295 javax/swing/tree/TreePath.java,
2296 javax/swing/undo/AbstractUndoableEdit.java,
2297 javax/swing/undo/StateEdit.java,
2298 javax/swing/undo/StateEditable.java,
2299 javax/swing/undo/UndoableEditSupport.java:
2300 Merges from classpath.
2302 2003-03-30 Tom Tromey <tromey@redhat.com>
2304 * java/lang/String.java (data, boffset, count): Documented.
2305 (String(byte[],String)): Reformatted.
2306 (String(byte[])): Likewise.
2307 (lastIndexOf(int)): Likewise.
2308 (lastIndexOf(String)): Likewise.
2309 (substring(int)): Renamed argument to match Classpath.
2310 (String(StringBuffer)): Don't share buffer if it is nearly empty.
2312 * java/lang/String.java: Miscellaneous minor formatting changes
2313 to match Classpath more closely.
2315 2003-03-29 Eric Blake <ebb9@email.byu.edu>
2316 Tom Tromey <tromey@redhat.com>
2318 * java/lang/natString.cc (hashCode): Use cachedHashCode.
2320 (charAt): Put index in exception.
2321 (contentEquals): New method.
2322 Include StringBuffer.h.
2323 * java/lang/String.java (cachedHashCode): New field.
2324 (String()): Follow classpath implementation.
2326 (contentEquals): Declare.
2327 (subSequence): Don't declare IndexOutIfBoundsException in throws
2329 (matches, replaceFirst, replaceAll, split): New methods from
2332 2003-03-29 Tom Tromey <tromey@redhat.com>
2334 * java/lang/String.java: Reordered to follow Classpath; merged in
2337 * java/text/MessageFormat.java: Removed some whitespace.
2339 * Makefile.in: Rebuilt.
2340 * Makefile.am (awt_java_source_files): Added new files.
2341 * gnu/javax/rmi/PortableServer.java,
2342 gnu/javax/rmi/CORBA/DelegateFactory.java,
2343 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
2344 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
2345 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
2346 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
2347 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
2348 javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
2349 javax/rmi/PortableRemoteObject.java,
2350 javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
2351 javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
2352 javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
2353 javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
2354 javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
2355 javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
2357 * java/lang/natClass.cc (newInstance): Put method name in
2359 (getConstructor): Likewise.
2360 (getDeclaredConstructor): Likewise.
2361 (getPrivateMethod): Likewise.
2363 2003-03-28 Tom Tromey <tromey@redhat.com>
2365 * java/lang/reflect/Proxy.java: New version from Classpath.
2366 * java/lang/Package.java: New version from Classpath.
2368 2003-03-29 Ulrich Weigand <uweigand@de.ibm.com>
2370 * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
2371 * configure: Regenerate.
2373 2003-03-28 Michael Koch <konqueror@gmx.de>
2375 * java/io/File.java:
2376 Import needed classes instead of whole packages, merged class
2377 documentation with classpath, moved constants and variables to top of
2379 * java/io/PrintStream.java:
2380 Merged class documentation with classpath, moved constants and
2381 variables to top of class.
2382 * java/io/RandomAccessFile.java
2383 (RandomAccessFile): Merged with classpath.
2384 (read): Merged with classpath).
2385 (read*): Reformatted.
2387 2003-03-28 Michael Koch <konqueror@gmx.de>
2389 * java/io/FileDescriptor.java
2390 (finalize): Throws Throwable, not IOException.
2391 * java/io/ObjectOutputStream.java
2392 (PutField.put): Doesnt throws anything.
2394 2003Â03-28 Michael Koch <konqueror@gmx.de>
2396 * java/io/FileOutputStream.java:
2397 Merged class documentation and authors with classpath.
2398 (FileOutputStream): Partly merged with classpath.
2399 (write): Merged with classpath.
2400 (getChannel): Make it synchronized instead of explicit block in this
2402 * java/io/RandomAccessFile.java:
2403 Merged class documentation and authors with classpath.
2405 2003-03-26 Tom Tromey <tromey@redhat.com>
2407 * java/lang/natRuntime.cc (insertSystemProperties): Set
2408 gnu.classpath.home.url.
2409 * Makefile.in: Rebuilt.
2410 * Makefile.am: Define LIBDIR.
2412 2003-03-25 Michael Koch <konqueror@gmx.de>
2414 * java/io/FileInputStream.java
2415 (read): Renamed b to buf and off to offset.
2416 * java/io/FileOutputStream.java
2417 (ch): Documentation added.
2418 (FileOutputStream): Documentation added.
2419 (getFD): Documentation added.
2420 (write): Documentation added.
2421 (close): Documentation added.
2422 (getChannel): Documentation added.
2424 2003-03-24 Michael Koch <konqueror@gmx.de>
2426 * java/io/DataOutputStream.java
2427 (write): Merged from classpath.
2428 * java/io/File.java:
2429 Merged copyrigth with classpath.
2430 * java/io/FileInputStream.java
2431 (getChannel): Made it synchronized instead of using a synchronized
2433 * java/io/FileOutputStream.java: Reformatted.
2434 * java/io/InputStreamReader.java
2435 (InputStreamReader): Renamed enc to encoding_name.
2436 (close): Merged documentation from classpath.
2437 (getEncoding): Merged documentation from classpath.
2438 (ready): Merged documentation from classpath.
2439 (read): Merged documentation from classpath.
2440 * java/io/LineNumberReader.java
2441 (lineNumber): Made it private.
2442 (LineNumberReader): Use Constant instead of a direct value.
2443 * java/io/OutputStreamWriter.java
2444 (OutputStreamWriter): Renamed enc to encoding_scheme, merged
2445 documentation from classpath.
2446 (close): Merged documentation from classpath.
2447 (flush): Merged documentation from classpath.
2448 (write): Merged documentation from classpath.
2449 * java/io/PrintStream.java: Reformatted.
2451 2003-03-24 Michael Koch <konqueror@gmx.de>
2453 * javax/swing/text/ComponentView.java
2454 (getComponent): Must be final.
2455 * javax/swing/tree/DefaultTreeCellRenderer.java:
2457 * javax/swing/undo/StateEditable.java:
2460 2003-03-24 Michael Koch <konqueror@gmx.de>
2462 * java/rmi/activation/ActivationInstantiator.java:
2464 * java/rmi/activation/Activator.java:
2466 * java/rmi/registry/RegistryHandler.java:
2467 Remerged from classpath.
2469 2003-03-24 Michael Koch <konqueror@gmx.de>
2471 * java/util/Date.java:
2472 Fixed documentation starting tag to make javadoc happy.
2473 * java/util/regex/Pattern.java
2474 (Pattern): Implements Serializable.
2475 * java/util/PatternSyntaxException.java
2476 (serialVersionUID): New member variable.
2478 2003-03-24 Michael Koch <koqnueror@gmx.de>
2480 * java/awt/ContainerOrderFocusTraversalPolicy.java
2481 (getFirstComponent): Implemented.
2482 (getLastComponent): Implemented.
2483 (getDefaultComponent): Implemented.
2484 (setImplicitDownCycleTraversal): Fixed implementation.
2485 * java/awt/Robot.java
2486 (Robot): Added documentation.
2487 * java/awt/Toolkit.java
2488 (getFontList): Deprecated.
2489 (getFontMetrics): Deprecated.
2490 (getPrintJob): Added documentation.
2491 (getSystemSelection): Added documentation.
2492 (getLockingKeyState): Added documentation.
2493 (setLockingKeyState): Added documentation.
2494 (createCustomCursor): Added documentation.
2495 (getBestCursorSize): Added documentation.
2496 (getMaximumCursorColors): Added documentation.
2497 (isFrameStateSupported): Added documentation.
2499 2003-03-24 Michael Koch <konqueror@gmx.de>
2501 * java/io/RandomAccessFile.java:
2502 More little merges with classpath. No code changes.
2504 2003-03-24 Michael Koch <konqueror@gmx.de>
2506 * java/net/natInetAddressNoNet.cc:
2508 * java/net/natPlainDatagramSocketImplNoNet.cc:
2509 Fixed inlcude of java/net/DatagramPacket.h.
2510 * java/net/natPlainSocketImplNoNet.cc:
2511 Include some missing classes.
2513 2003-03-24 Michael Koch <konqueror@gmx.de>
2515 * java/awt/dnd/DropTarget.java
2516 (DropTargetAutoScroller): According to the online documentation, this
2517 is protected, but in reality it is public.
2518 * java/awt/dnd/DropTargetContext.java
2519 (TransferableProxy): According to the online documentation, this
2520 is protected, but in reality it is public.
2522 2003-03-24 Michael Koch <konqueror@gmx.de>
2524 * java/io/DataInputStream.java
2525 (): Wrapped documentation line.
2526 (): Fixed @return tag.
2527 * java/io/DataOutputStream.java
2528 (written): Moved to top of class.
2529 (all methods): Merged documentation from classpath.
2530 * java/io/File.java:
2531 Merged copyright year with classpath.
2532 * java/io/FileInputStream.java
2533 (all methods): Merged documentation from classpath.
2534 * java/io/LineNumberReader.java
2535 (getLineNumber): Fixed @return tag.
2536 * java/io/ObjectInputStream.java.
2538 * java/io/ObjectOutputStream.java:
2539 Reformatted, fixed some @see tags.
2540 * java/io/OutputStreamWriter.java:
2542 * java/io/Writer.java:
2545 2003-03-24 Michael Koch <konqueror@gmx.de>
2547 * java/awt/Frame.java
2548 (DEFAULT_CURSOR): Fixed @deprecated tag.
2549 (setCursor): Fixed @deprecated tag.
2551 2003-03-24 Michael Koch <konqueror@gmx.de>
2553 * java/beans/beancontext/BeanContextEvent.java:
2556 2003-03-23 Eric Blake <ebb9@email.byu.edu>
2558 * java/lang/natStringBuffer.cc (regionMatches): New function.
2559 * java/lang/String.java (count): Now package-private.
2560 * java/lang/StringBuffer.java: Merged with Classpath.
2562 2003-03-23 Michael Koch <konqueror@gmx.de>
2564 * java/io/BufferedOutputStream.java:
2566 * java/io/BufferedReader.java:
2568 * java/io/ByteArrayOutputStream.java
2569 (size): Fixed @see tag.
2570 * java/io/CharArrayWriter.java
2571 (size): Fixed @see tag.
2572 * java/io/DataInput.java:
2574 * java/io/DataOutput.java:
2576 * java/io/DataOutputStream.java:
2577 Merged copyright years with classpath.
2578 * java/io/Externalizable.java:
2580 * java/io/FileFilter.java:
2582 * java/io/FileInputStream.java:
2583 Merged copyright years with classpath.
2584 * java/io/FileOutputStream.java:
2585 Merged copyright years with classpath.
2586 * java/io/FilePermission.java
2587 (FilePermission): Replaced @XXX with FIXME:.
2588 * java/io/FileWriter.java:
2590 * java/io/FilenameFilter.java:
2592 * java/io/FilterInputStream.java:
2594 * java/io/FilterOutputStream.java:
2596 * java/io/FilterReader.java:
2598 * java/io/FilterWriter.java:
2600 * java/io/LineNumberInputStream.java
2601 (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
2603 (getLineNumber): Fixed @return tag.
2604 * java/io/ObjectInput.java:
2606 * java/io/ObjectOutput.java:
2608 * java/io/ObjectStreamClass.java:
2610 * java/io/PrintStream.java:
2611 Merged copyright years with classpath.
2612 * java/io/PushbackReader.java
2613 (PushbackReader): Replaced @code with @param.
2614 * java/io/SerializablePermission.java:
2616 * java/io/StreamTokenizer.java
2617 (resetSyntax): Fixed @see tag.
2619 2003-03-22 Richard Henderson <rth@redhat.com>
2621 * sysdep/ia64/locks.h: Include ia64intrin.h.
2622 (compare_and_swap): Use __sync_bool_compare_and_swap.
2623 (compare_and_swap_release): Expose ar.ccv assignment.
2625 2003-03-22 Andreas Tobler <a.tobler@schweiz.ch>
2627 * include/posix.h: Add suffix for darwin dynamic libraries.
2629 2003-03-21 Michael Koch <konqueror@gmx.de>
2631 * javax/swing/Action.java
2632 (ACCELERATOR_KEY): New constant.
2633 (ACTION_COMMAND_KEY): Likewise.
2634 (MNEMONIC_KEY): Likewise.
2635 * javax/swing/UnsupportedLookAndFeelException.java
2636 (UnsupportedLookAndFeelException): Must be public.
2637 * javax/swing/WindowConstants.java
2638 (EXIT_ON_CLOSE): New constant.
2639 * javax/swing/text/BadLocationException.java
2640 (offset): New member variable.
2641 (BadLocationException): New implementation, documentation added.
2642 (offsetRequested): New method.
2643 * javax/swing/text/Caret.java:
2645 * javax/swing/text/Document.java:
2648 2003-03-21 Michael Koch <konqueror@gmx.de>
2650 * java/rmi/activation/Activatable.java
2651 (serialVersionUID): New member variable.
2652 * java/rmi/activation/ActivationGroup.java
2653 (serialVersionUID): New member variable.
2654 * java/rmi/activation/ActivationGroupDesc.java
2655 (serialVersionUID): New member variable.
2656 * java/rmi/registry/Registry.java:
2658 (Registry): Deprecated.
2659 * java/rmi/server/LoaderHandler.java
2661 (LoaderHandler): Deprecated.
2662 * java/rmi/server/LogStream.java
2664 (LogStream): Deprecated.
2665 * java/rmi/server/Operation.java
2666 (Operation): Deprecated.
2667 * java/rmi/server/RMIFailureHandler.java:
2669 * java/rmi/server/RMISocketFactory.java:
2671 * java/rmi/server/RemoteCall.java
2672 (RemoteCall): Deprecated.
2673 * java/rmi/server/RemoteStub.java:
2675 * java/rmi/server/Skeleton.java
2677 (Skeleton): Deprecated.
2679 2003-03-21 Michael Koch <konqueror@gmx.de>
2681 * java/io/LineNumberReader.java
2682 (LineNumberReader): Merged documentation with classpath.
2683 (getLineNumber): Likewise.
2684 (setLineNumber): Likewise.
2688 (readLine): Likewise.
2691 2003-03-21 Michael Koch <konqueror@gmx.de>
2693 * java/rmi/RMISecurityManager.java
2694 (checkAccept): Removed.
2695 (checkAccess): Likewise.
2696 (checkAccess): Likewise.
2697 (checkAwtEventQueueAccess): Likewise.
2698 (checkConnect): Likewise.
2699 (checkCreateClassLoader): Likewise.
2700 (checkDelete): Likewise.
2701 (checkExec): Likewise.
2702 (checkExit): Likewise.
2703 (checkLink): Likewise.
2704 (checkListen): Likewise.
2705 (checkMemberAccess): Likewise.
2706 (checkMulticast): Likewise.
2707 (checkPackageAccess): Likewise.
2708 (checkPackageDefinition): Likewise.
2709 (checkPermission): Likewise.
2710 (checkPrintJobAccess): Likewise.
2711 (checkPropertiesAccess): Likewise.
2712 (checkPropertyAccess): Likewise.
2713 (checkRead): Likewise.
2714 (checkSecurityAccess): Likewise.
2715 (checkSetFactory): Likewise.
2716 (checkSystemClipboardAccess): Likewise.
2717 (checkTopLevelWindow): Likewise.
2718 (checkWrite): Likewise.
2720 2003-03-20 Michael Koch <konqueror@gmx.de>
2722 * gnu/java/nio/FileChannelImpl.java
2724 (map_address): New member variable.
2725 (length): Make it package private.
2726 (fd): Make it package private.
2727 (buf): Make it package private.
2728 (file_obj): Make it package private.
2729 (FileChannelImpl): New constructor.
2730 (nio_mmap_file): Use RawData instead of long.
2731 (nio_munmap_file): Use RawData instead of long.
2732 (nio_msync): Use RawData instead of long.
2733 (implCloseChannel): New implementation using map_address.
2736 (create_direct_mapped_buffer): Implemented, use RawData, throws
2738 (force): Use map_address instead of address.
2739 * gnu/java/nio/MappedByteFileBuffer.java
2741 (map_address): New member variable.
2742 (MappedByteFileBuffer): Use map_address instead of address, reformated.
2743 (several methods): Use map_address instead of address, replaced long
2744 with RawData where appropriate.
2745 * gnu/java/nio/natFileChannelImpl.cc
2746 (nio_mmap_file): Replaced long with RawData.
2747 (nio_munmap_file): Replaced long with RawData.
2748 (nio_msync): Replaced long with RawData.
2749 * gnu/java/nio/natMappedByteFileBuffer.cc
2750 (several methods): Replaced long with RawData where appropriate.
2752 2003-03-20 Michael Koch <konqueror@gmx.de>
2754 * java/net/InetAddress.java,
2755 java/net/JarURLConnection.java,
2756 java/net/PlainDatagramSocketImpl.java,
2757 java/net/PlainSocketImpl.java,
2758 java/net/URLConnection.java:
2759 Merged copyright statements with classpath for easier merging.
2761 2003-03-20 Michael Koch <konqueror@gmx.de>
2763 * java/io/FileInputStream.java
2764 (getChannel): New implementation.
2765 * java/io/FileOutputStream.java
2766 (ch): New member variable.
2767 (getChannel): Implemented.
2768 * java/io/RandomAccessFile.java
2769 (RandomAccessFile): Throws FileNotFoundException instead of
2771 (getChannel): New method.
2772 (ch): New member variable.
2774 2003-03-20 Michael Koch <konqueror@gmx.de>
2776 * java/io/DataOutputStream.java,
2778 java/io/FileInputStream.java,
2779 java/io/FileOutputStream.java,
2780 java/io/InputStreamReader.java,
2781 java/io/LineNumberReader.java,
2782 java/io/OutputStreamWriter.java,
2783 java/io/PrintStream.java,
2784 java/io/RandomAccessFile.java:
2785 Merged copyright statements with classpath for easier merging.
2787 2003-03-19 Michael Koch <konqueror@gmx.de>
2789 * java/lang/Process.java:
2790 Merged from classpath.
2792 2003-03-19 Michael Koch <konqueror@gmx.de>
2794 * java/io/FileOutputStream.java
2795 (FileOutputStream): New constructor, merged from classpath.
2796 * java/io/FileWriter.java
2797 (FileWriter): New constructor, merged from classpath.
2799 2003-03-18 Michael Koch <konqueror@gmx.de>
2801 * java/awt/ScrollPane.java
2802 (ScrollPane): Rewrote for new ScrollPaneAdjustable.
2803 (getViewportSize): Likewise.
2804 (addNotify): Likewise.
2805 (removeNotify): Likewise.
2806 * java/awt/ScrollPaneAdjustable.java
2807 (ScrollPaneAdjustable): No longer extends Scrollbar.
2808 * java/beans/beancontext/BeanContextServices.java:
2810 (getService): Added throws TooManyListenersException;
2811 * java/beans/beancontext/BeanContextServicesSupport.java:
2814 2003-03-18 Michael Koch <konqueror@gmx.de>
2816 * java/io/BufferedOutputStream.java,
2817 java/io/DataInput.java,
2818 java/io/DataInputStream.java,
2819 java/io/DataOutput.java,
2820 java/io/Externalizable.java:
2821 More merges from classpath.
2823 2003-03-18 Michael Koch <konqueror@gmx.de>
2825 * configure.in: Fixed links to platform dependant java.net files.
2826 * configure: Regenerated.
2827 * java/net/natInetAddress.cc,
2828 java/net/natNetworkInterface.cc,
2829 java/net/natPlainDatagramSocketImpl.cc,
2830 java/net/natPlainSocketImpl.cc:
2833 2003-03-18 Michael Koch <konqueror@gmx.de>
2835 * configure.in: Create links to architecture dependent files,
2836 introduced PLATFORMNET variable (set to NoNet for newlib usage).
2837 * configure: Regenerated.
2838 * java/net/natInetAddressNoNet.cc,
2839 java/net/natInetAddressPosix.cc,
2840 java/net/natInetAddressWin32.cc,
2841 java/net/natNetworkInterfaceNoNet.cc,
2842 java/net/natNetworkInterfacePosix.cc,
2843 java/net/natNetworkInterfaceWin32.cc,
2844 java/net/natPlainDatagramSocketImplNoNet.cc,
2845 java/net/natPlainDatagramSocketImplPosix.cc,
2846 java/net/natPlainDatagramSocketImplWin32.cc,
2847 java/net/natPlainSocketImplNoNet.cc,
2848 java/net/natPlainSocketImplPosix.cc,
2849 java/net/natPlainSocketImplWin32.cc: New files.
2851 2003-03-18 Michael Koch <konqueror@gmx.de>
2853 * java/io/BufferedReader.java,
2854 java/io/BufferedWriter.java,
2855 java/io/ByteArrayOutputStream.java,
2856 java/io/FileFilter.java,
2857 java/io/FilePermission.java,
2858 java/io/FileReader.java,
2859 java/io/FileWriter.java,
2860 java/io/FilenameFilter.java,
2861 java/io/FilterInputStream.java,
2862 java/io/FilterOutputStream.java,
2863 java/io/FilterReader.java,
2864 java/io/FilterWriter.java,
2865 java/io/ObjectInput.java,
2866 java/io/ObjectInputValidation.java,
2867 java/io/ObjectOutput.java,
2868 java/io/ObjectStreamField.java,
2869 java/io/PipedInputStream.java,
2870 java/io/PipedReader.java,
2871 java/io/PrintWriter.java,
2872 java/io/PushbackReader.java,
2873 java/io/Reader.java,
2874 java/io/SerializablePermission.java,
2875 java/io/StringReader.java,
2876 java/io/Writer.java:
2877 Merged from classpath.
2879 2003-03-17 Michael Koch <konqueror@gmx.de>
2881 * java/awt/ScrollPaneAdjustable.java:
2884 2003-03-17 Michael Koch <konqueror@gmx.de>
2886 * java/net/DatagramSocket.java
2887 (connect): Fixed comment.
2888 * java/nio/ByteBuffer.java
2889 (hasArray): Fixed comment.
2891 2003-03-17 Michael Koch <konqueror@gmx.de>
2893 * java/beans/Beans.java:
2894 Explicitely import classes not packages.
2895 * java/beans/FeatureDescriptor.java
2896 (preferred): New member variable.
2897 (isPreferred): New method.
2898 (setPreferred): New method.
2899 * java/beans/PropertyEditorManager.java:
2900 Explicitely import used classes.
2901 * java/beans/beancontext/BeanContextChild.java:
2902 Added line wrapping.
2903 * java/beans/beancontext/BeanContextChildSupport.java:
2905 * java/beans/beancontext/BeanContextEvent.java:
2908 2003-03-17 Michael Koch <konqueror@gmx.de>
2910 * java/awt/Dialog.java
2911 (Dialog): New constructor, changed implementations, added
2913 * java/awt/ScrollPaneAdjustable.java
2914 (ScrollPaneAdjustable): Extends Object, implements Adjustable and
2916 (serialVersionUID): New member variable.
2917 (sp): New member variable.
2918 (orientation): New member variable.
2919 (value): New member variable.
2920 (minimum): New member variable.
2921 (maximum): New member variable.
2922 (visibleAmount): New member variable.
2923 (unitIncrement): New member variable.
2924 (blockIncrement): New member variable.
2925 (AdjustmentListener): New member variable.
2926 (ScrollPaneAdjustable): New implementation.
2927 (addAdjustmentListener): New method.
2928 (removeAdjustmentListener): New method.
2929 (getAdjustmentListeners): New method.
2930 (getBlockIncrement): New method.
2931 (getMaximum): New method.
2932 (getMinimum): New method.
2933 (getOrientation): New method.
2934 (getUnitIncrement): New method.
2935 (getValue): New method.
2936 (getVisibleAmount): New method.
2937 (setBlockIncrement): New method.
2938 (setMaximum): Implemented.
2939 (setMinimum): Implemented.
2940 (setUnitIncrement): New method.
2941 (setValue): New method.
2942 (setVisibleAmount): Implemented.
2943 (paramString): New stubbed method.
2944 * java/awt/Window.java
2945 (show): Call setVisible().
2946 (hide): Call setVisible().
2947 (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
2948 and WINDOW_STATE_CHANGED.
2949 (processWindowFocusEvent): New method.
2950 (processWindowStateEvent): New method.
2951 (postEvent): Deprecated.
2952 (applyResourceBundle): Deprecated.
2953 * java/awt/datatransfer/DataFlavor.java
2954 (DataFlavor): Doesn't thow ClassNotFoundException.
2956 2003-03-17 Michael Koch
2958 * javax/print/attribute/Attribute.java,
2959 javax/print/attribute/AttributeSet.java,
2960 javax/print/attribute/PrintRequestAttributeSet.java:
2963 (javax_source_files): Added new files:
2964 javax/print/attribute/Attribute.java
2965 javax/print/attribute/AttributeSet.java
2966 javax/print/attribute/PrintRequestAttributeSet.java
2967 * Makefile.in: Regenerated.
2969 2003-03-17 Michael Koch
2971 * javax/print/attribute/Attribute.java,
2972 javax/print/attribute/AttributeSet.java,
2973 javax/print/attribute/PrintRequestAttributeSet.java:
2976 (awt_java_source_files): Added new files:
2977 javax/print/attribute/Attribute.java
2978 javax/print/attribute/AttributeSet.java
2979 javax/print/attribute/PrintRequestAttributeSet.java
2980 * Makefile.in: Regenerated.
2982 2003-03-16 Tom Tromey <tromey@redhat.com>
2984 * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
2986 * java/lang/natRuntime.cc (insertSystemProperties): Use
2987 _Jv_platform_path_separator.
2988 (nativeGetLibname): Use _Jv_platform_file_separator.
2989 (_load): Use _Jv_platform_onload_names.
2990 (onload_names): New global.
2991 * include/win32.h (_Jv_platform_file_separator): New define.
2992 (_Jv_platform_path_separator): Likewise.
2993 (_Jv_platform_onload_names): Likewise.
2994 (_Jv_platform_ffi_abi): Likewise.
2995 * include/posix.h (_Jv_platform_file_separator): New define.
2996 (_Jv_platform_path_separator): Likewise.
2997 (_Jv_platform_onload_names): Likewise.
2998 (_Jv_platform_ffi_abi): Likewise.
3000 2003-03-14 Hans Boehm <Hans.Boehm@hp.com>
3002 * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
3004 2003-02-14 Jeroen Frijters <jeroen@sumatra.nl>
3006 * java/io/ObjectInputStream.java (readObject): Cleaned up the class
3008 (readFields(Object,ObjectStreamField[],boolean)): Changed argument
3009 list to Object,ObjectStreamClass, moved callReadMethod code up into
3010 readObject and added Class argument to all setXxxField calls.
3011 (callReadMethod): Changed Class argument to ObjectStreamClass to be
3012 consistent with ObjectOutputStream and to facilitate caching the
3013 Method in the future.
3014 (setBooleanField): Added Class argument.
3015 (setByteField): Likewise.
3016 (setCharField): Likewise.
3017 (setDoubleField): Likewise.
3018 (setFloatField): Likewise.
3019 (setIntField): Likewise.
3020 (setLongField): Likewise.
3021 (setShortField): Likewise.
3022 (setObjectField): Likewise.
3023 * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
3024 class hierarchy loop.
3025 (defaultWriteObject): Call writeFields with new argument list.
3026 (writeFields(Object,ObjectStreamField[],boolean): Changed argument
3027 list to Object,ObjectStreamClass, moved callWriteMethod up into
3028 writeObject and added Class argument to all getXxxField calls.
3029 (callWriteMethod): Added ObjectStreamClass argument to be able to
3030 get the proper class to call getMethod on (each class can have (or
3031 not have) its own writeObject method).
3032 (getBooleanField): Added Class argument.
3033 (getByteField): Likewise.
3034 (getCharField): Likewise.
3035 (getDoubleField): Likewise.
3036 (getFloatField): Likewise.
3037 (getIntField): Likewise.
3038 (getLongField): Likewise.
3039 (getShortField): Likewise.
3040 (getObjectField): Likewise.
3041 * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
3042 facilitate caching the Method object in the future.
3044 2003-03-12 Andreas Schwab <schwab@suse.de>
3046 * configure.in: Avoid trailing /. in toolexeclibdir.
3047 * configure: Rebuilt.
3049 2003-03-11 Michael Koch <konqueror@gmx.de>
3051 * gnu/java/nio/ByteBufferImpl.java
3052 (putInt): Use limit() instead of limit.
3053 * gnu/java/nio/CharBufferImpl.java
3054 (slice): Fixed implementation.
3055 (subSequence): Better bounds checking.
3056 * gnu/java/nio/MappedByteFileBuffer.java:
3057 Import all needed classes directly.
3058 * java/nio/ByteBuffer.java
3059 (hashCode): New dummy method.
3060 * java/nio/CharBuffer.java
3061 (array_offset): New member variable.
3062 (hasArray): Fixed documentation.
3063 (arrayOffset): Return array_offset.
3065 2003-03-10 2003-02-27 Mohan Embar <gnustuff@thisiscool.com>
3067 * include/jvm.h: removed declaration of _Jv_ThisExecutable()
3068 setter; made return value of getter const char* instead of char*
3069 * prims.cc: removed all references to _Jv_ThisExecutable().
3070 These are in the platform-specific sections now.
3071 * posix.cc: define platform-specific _Jv_ThisExecutable().
3072 Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
3073 * win32.cc: define platform-specific _Jv_ThisExecutable()
3074 using GetModuleFilename()
3075 * java/lang/natRuntime.cc: set gnu.gcj.progname property
3076 to argv[0] instead of _Jv_ThisExecutable()
3078 2003-03-10 Ranjit Mathew <rmathew@hotmail.com>
3080 * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
3081 that is set if we are using addr2name.awk instead of addr2line.
3082 (NameFinder): Set usingAddr2name if using addr2name.awk.
3083 (getExternalLabel): New native method to convert a method
3084 name to an external label.
3085 (lookup): Convert name given by addr2line to an external label
3088 * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
3089 constant representing the prefix attached to method names to
3090 convert them to an external label.
3091 (gnu::gcj::runtime::NameFinder::getExternalLabel): Define
3094 2003-03-10 Tom Tromey <tromey@redhat.com>
3096 * Makefile.in: Rebuilt.
3097 * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
3098 (JC1FLAGS): Removed -Wno-deprecated.
3100 2003-03-10 Michael Koch <konqueror@gmx.de>
3102 * java/nio/ByteOrder.java
3103 (nativeOrder): Working implementation, added documentation.
3104 (toString): Added documentation.
3106 2003-03-10 Michael Koch <konqueror@gmx.de>
3108 * java/net/DatagramSocket.java,
3109 java/net/MulticastSocket.java,
3110 java/net/Socket.java,
3112 java/net/URLConnection.java:
3113 Fixed some documentation tags to make javadoc and friends happy.
3115 2003-03-10 Michael Koch <koqnueror@gmx.de>
3117 * java/beans/beancontext/BeanContextServicesSupport.java,
3118 java/beans/beancontext/BeanContextSupport.java: New files.
3120 (awt_source_files): Added new files.
3121 * Makefile.in: Regenerated.
3123 2003-03-10 Michael Koch <konqueror@gmx.de>
3125 * java/awt/FocusTraversalPolicy.java
3126 (FocusTraversalPolicy): Documentation added.
3127 (getComponentAfter): Documentation added.
3128 (getComponentBefore): Documentation added.
3129 (getFirstComponent): Documentation added.
3130 (getLastComponent): Documentation added.
3131 (getDefaultComponent): Documentation added.
3132 (getInitialComponent): Documentation added.
3133 * java/awt/ScrollPaneAdjustable.java
3134 (sp): New member variable.
3135 (orientation): New member variable.
3136 (value): New member variable.
3137 (minimum): New member variable.
3138 (maximum): New member variable.
3139 (visibleAmount): New member variable.
3140 (unitIncrement): New member variable.
3141 (blockIncrement): New member variable.
3142 (adjustmentListener): New member variable.
3143 (ScrollPaneAdjustable): Rewrote.
3144 (addAdjustmentListener): New method.
3145 (removeAdjustmentListener): New method.
3146 (getAdjustmentListeners): New method.
3147 (getBlockIncrement): New method.
3148 (getMaximum): New method.
3149 (getMinimum): New method.
3150 (getOrientation): New method.
3151 (getUnitIncrement): New method.
3152 (getValue): New method.
3153 (getVisibleAmount): New method.
3154 (setBlockIncrement): New method.
3155 (setUnitIncrement): New method.
3156 (setMaximum): Implemented.
3157 (setMinimum): Implemented.
3158 (setValue): New method.
3159 (setVisibleAmount): Implemented.
3160 (paramString): New method.
3161 * java/awt/Window.java
3162 (show): Use setVisible(true) instead of super.show().
3163 (hide): Use sevVisible(false) instead of super.hide().
3164 (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
3165 WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
3166 (postEvent): Deprecated.
3167 (applyResourceBundle): Deprecated.
3168 (processWindowFocusEvent): New method.
3169 (processWindowStateEvent): New method.
3170 * java/awt/datatransfer/DataFlavor.java: Reindented.
3171 * java/awt/font/TextHitInfo.java
3172 (charIndex): New member variable.
3173 (leadingEdge): New member variable.
3174 (TextHitInfo): New constructor.
3175 (getCharIndex): Implemented.
3176 (isLeadingEdge): Implemented.
3177 (getInsertionIndex): Implemented.
3178 (hashCode): Access charIndex directly.
3179 (equals): Reformated.
3180 (leading): Implemented.
3181 (trailing): Implemented.
3182 (beforeOffset): Implemented.
3183 (afterOffset): Implemented.
3184 (getOtherHit): Implemented.
3185 (getOffsetHit): Implemented.
3186 (toString): Implemented.
3187 * java/awt/image/BufferedImage.java
3188 (BufferedImage): Implements WritableRenderedImage.
3189 (observers): New member variable.
3190 (addTileObserver): New method.
3191 (removeTileObserver): New method.
3193 2003-03-09 Tom Tromey <tromey@redhat.com>
3196 * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
3197 to lseek. Return 0 if we can't compute the value.
3199 2003-03-03 Michael Koch <konqueror@gmx.de>
3201 * java/net/NetworkInterface.java: Merged with classpath.
3203 2003-03-03 Tom Tromey <tromey@redhat.com>
3205 * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
3207 (handle_ret_insn): Fail if returning to jsr that appears at end of
3210 2003-03-03 Michael Koch <konqueror@gmx.de>
3213 (ordinary_java_source_files):
3214 Added gnu/java/nio/MappedByteFileBuffer.java.
3216 Added gnu/java/nio/natMappedByteFileBuffer.cc.
3217 * Makefile.in: Regenerated.
3219 2003-03-03 Michael Koch <konqueror@gmx.de>
3221 * java/net/DatagramSocket.java
3222 (connect): Merged comment from classpath.
3223 (receive): Merged documentation from classpath.
3224 * java/net/Socket.java
3225 (setSoTimeout): Clarified documentation.
3227 (getPath): Merged from classpath.
3228 (getUserInfo): Merged from classpath.
3229 (getQuery): Merged from classpath.
3230 * java/net/URLStreamHandler.java
3231 (toExternalForm): Merged from classpath.
3233 2003-03-02 Mark Wielaard <mark@klomp.org>
3235 * java/util/Properties.java (load): Only skip line if the first
3236 character is a comment, whitespaces don't count.
3238 2003-03-02 Michael Koch <konqueror@gmx.de>
3240 * java/net/NetPermission.java:
3241 Merged copyright with classpath.
3243 2003-03-02 Michael Koch <konqueror@gmx.de>
3245 * java/lang/Package.java:
3246 Remerged from classpath.
3248 2003-03-02 Michael Koch <konqueror@gmx.de>
3250 * java/net/HttpURLConnection.java
3251 (HTTP_SERVER_ERROR): Deprecated.
3252 * java/net/MulticastSocket.java
3253 (send): Replaced checkMulticast with appropriate checkPermission call,
3255 * java/net/URLDecoder.java
3256 (decode): Deprecated.
3257 * java/net/URLEncoder.java
3258 (encode): Deprecated.
3260 2003-03-02 Michael Koch <konqueror@gmx.de>
3262 * javax/swing/text/Caret.java
3263 (getMagicCaretPosition): Fixed typo in method name.
3264 * javax/swing/text/DefaultCaret.java
3265 (getMagicCaretPosition): Fixed typo in method name.
3267 2003-03-02 Michael Koch <konqueror@gmx.de>
3269 * java/awt/List.java
3270 (setMultipleSelections): Deprecated.
3271 (delItem): Deprecated.
3272 * java/awt/MenuComponent.java
3273 (getPeer): Deprecated.
3274 * java/awt/ScrollPane.java
3275 (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
3276 * java/awt/dnd/MouseDragGestureRecognizer.java
3277 (mouseClicked): Added comment.
3278 (mousePressed): Added comment.
3279 (mouseReleased): Added comment.
3280 (mouseEntered): Added comment.
3281 (mouseExited): Added comment.
3282 (mouseDragged): Added comment.
3283 (mouseMoved): Added comment.
3284 * java/awt/event/KeyEvent.java
3285 (KeyEvent): Deprecated.
3286 (setModifiers): Deprecated.
3288 2003-03-02 Michael Koch <konqueror@gmx.de>
3290 * gnu/java/nio/FileChannelImpl.java
3291 (fd): Type FileDescriptor instead of int.
3292 (lengthInternal): Removed.
3293 (FileChannelImpl): Fixed arguments, check type of file object.
3294 (size): Made it native.
3295 (implPosition): New native method.
3296 (implTruncate): New native method.
3297 (position): Implemented.
3298 (truncate): Implemented.
3299 (nio_mmap_file): Changed arguments.
3300 (nio_munmap_file): Changed arguments.
3301 (nio_msync): Changed arguments.
3302 * gnu/java/nio/natFileChannelImpl.cc
3303 (lengthInternal): Removed.
3305 (implPosition): New method.
3306 (implTruncate): New method.
3307 (nio_mmap_file): Changed arguments.
3308 (nio_munmap_file): Changed arguments.
3309 (nio_msync): Changed arguments.
3311 2003-03-02 Michael Koch <konqueror@gmx.de>
3313 * java/awt/dnd/DropTargetContext.java:
3314 Compile fix: Forgot to commit import.
3316 2003-03-02 Michael Koch <konqueror@gmx.de>
3318 * java/awt/Component.java,
3319 java/awt/ScrollPane.java:
3322 2003-03-02 Michael Koch <konqueror@gmx.de>
3324 * java/awt/dnd/DnDEventMulticaster.java: New file.
3325 * java/awt/dnd/DragSource.java
3326 (flavorMap): New member variable.
3327 (dragSourceListener): New member variable.
3328 (dragSourceMotionListener): New member variable.
3329 (getFlavorMap): Implemented.
3330 (createDragGestureRecognizer): Implemented.
3331 (addDragSourceListener): Implemented.
3332 (removeDragSourceListener): Implemented.
3333 (getDragSourceListeners): Implemented.
3334 (addDragSourceMotionListener): Implemented.
3335 (removeDragSourceMotionListener): Implemented.
3336 (getDragSourceMotionListeners): Implemented.
3337 (getListeners): Implemented.
3338 * java/awt/dnd/DragSourceContext.java
3339 (peer): New member variable.
3340 (cursor): New member variable.
3341 (transferable): New member variable.
3342 (trigger): New member variable.
3343 (dragSourceListener): New member variable.
3344 (image): New member variable.
3345 (offset): New member variable.
3346 (DragSourceContext): Implemented.
3347 (getDragSource): Implemented.
3348 (getComponent): Implemented.
3349 (getTrigger): Implemented.
3350 (getSourceActions): Implemented.
3351 (setCursor): Implemented.
3352 (getCursor): Implemented.
3353 (addDragSourceListener): Implemented.
3354 (removeDragSourceListener): Implemented.
3355 (getTransferable): Implemented.
3356 * java/awt/dnd/DropTarget.java
3357 (DropTargetAutoScroller.component): New member variable.
3358 (DropTargetAutoScroller.point): New member variable.
3359 (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
3360 (DropTargetAutoScroller.updateLocation): Implemented.
3361 (active): Renamed from isActive, defaults to true now.
3362 (component): New member variable.
3363 (flavorMap): New member variable.
3364 (actions): New member variable.
3365 (dropTargetContext): New member variable.
3366 (dropTargetListener): New member variable.
3367 (DropTarget): Implemented.
3368 (getComponent): Implemented.
3369 (setComponent): Implemented.
3370 (setDefaultActions): Implemented.
3371 (getDefaultActions): Implemented.
3372 (setActive): Use active instead of isActive.
3373 (isActive): Use active instead of isActive.
3374 (addDropTargetListener): Implemented.
3375 (removeDropTargetListener): Implemented.
3376 (getFlavorMap): Implemented.
3377 (setFlavorMap): Implemented.
3378 (getDropTargetContext): Implemented.
3379 (createDropTargetContext): Implemented.
3380 (createDropTargetAutoScroller): Implemented.
3381 * java/awt/dnd/DropTargetContext.java
3382 (TransferableProxy.getTransferDataFlavors): Implemented.
3383 (TransferableProxy.isDataFlavorSupported): Implemented.
3384 (TransferableProxy.getTransferData): Implemented.
3385 (dropTarget): New member variable.
3386 (dtcp): New member variable.
3387 (DropTargetContext): New package private constructor.
3388 (getDropTarget): Implemented.
3389 (getComponent): Implemented.
3390 (addNotify): Implemented.
3391 (removeNotify): Implemented.
3392 (getCurrentDataFlavorsAsList): Implemented.
3393 (isDataFlavorSupported): Implemented.
3394 * java/awt/dnd/MouseDragGestureRecognizer.java
3395 (registerListeners): Implemented.
3396 (unregisterListeners): Implemented.
3398 (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
3399 * Makefile.in: Regenerated.
3401 2003-03-02 Michael Koch <konqueror@gmx.de>
3403 * java/awt/Component.java
3404 (eventTypeEnabled): New method.
3405 (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
3406 * java/awt/Container.java
3407 (changeSupport): New member variable.
3408 (addPropertyChangeListener): New methods.
3409 * java/awt/ContainerOrderFocusTraversalPolicy.java
3410 (ContainerOrderFocusTraversalPolicy): Added comment.
3411 (getComponentAfter): Throw exception, documentation added.
3412 (getComponentBefore): Throw exception, documentation added.
3413 (getFirstComponent): Throw exception, documentation added.
3414 (getLastComponent): Throw exception, documentation added.
3415 (getDefaultComponent): Throw exception, documentation added.
3416 * java/awt/EventQueue.java: Reindented.
3417 * java/awt/FocusTraversalPolicy.java:
3418 (FocusTraversalPolicy): Added comment.
3419 (getComponentAfter): Documentation added.
3420 (getComponentBefore): Documentation added.
3421 (getFirstComponent): Documentation added.
3422 (getLastComponent): Documentation added.
3423 (getDefaultComponent): Documentation added.
3424 (getInitialComponent): Documentation added.
3425 * java/awt/ScrollPane.java
3426 (wheelScrollingEnabled): New member variable.
3427 (ScrollPane): Initialize wheelScollingEnabled.
3428 (eventTypeEnabled): New method.
3429 (isWheelScrollingEnabled): New method.
3430 (setWheelScrollingEnabled): New method.
3432 2003-03-02 Michael Koch <konqueror@gmx.de>
3434 * java/net/DatagramSocket.java
3435 (closed): New member variable.
3436 (close): Use closed variable.
3437 (getInetAddress): No need to call isConnected().
3438 (getPort): No need to call isConnected().
3439 (disconnect): Reset remoteAddress and remotePort, fixed typo.
3440 (isClosed): Reimplemented.
3442 2003-03-02 Michael Koch <konqueror@gmx.de>
3444 * configure.in: Added check for memory mapping of files.
3445 * configure: Regenerated.
3446 * config.h.in: Regenerated.
3448 2003-03-01 Jason Thorpe <thorpej@wasabisystems.com>
3450 * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
3451 (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
3453 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
3455 * java/io/File.java (normalizePath): Remove trailing separator
3456 on Windows only if path is not of the form "x:\".
3458 * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
3459 (java::io::File::attr): Change formatting a bit and use
3460 WIN32_EPOCH_MILLIS instead of magic numbers.
3461 (java::io::File::isAbsolute): Path must have at least 3
3462 characters for a UNC network path.
3463 (java::io::File::init_native): Define.
3464 (java::io::File::performCreate): Likewise.
3465 (java::io::File::performSetReadOnly): Likewise.
3466 (java::io::File::performSetLastModified): Likewise.
3467 (java::io::File::performListRoots): Likewise.
3469 2003-03-01 Tom Tromey <tromey@redhat.com>
3471 * java/lang/natObject.cc: Don't include assert.h.
3472 (heavy_lock_obj_finalization_proc): Use JvAssert.
3473 (remove_all_heavy): Likewise.
3474 (_Jv_MonitorEnter): Likewise.
3475 (_Jv_MonitorExit): Likewise.
3478 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
3480 * java/io/File (getAbsolutePath): Prefix drive specifier on
3481 Windows for paths starting with a '\'.
3482 (toURL): Make URL more consistent with what Sun's JDK returns.
3484 * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
3485 true only if the path is a UNC network path or it starts with a
3488 * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
3489 Be prepared to handle either '/' or '\\' in the file path for
3490 Windows if using the "file" protocol.
3491 Canonicalise the file path if using a relative path in the given
3492 context and the "file" protocol.
3494 2003-03-01 Mohan Embar <gnustuff@thisiscool.com>
3496 * java/lang/natWin32Process.cc (startProcess): Double-quote each
3497 program array element passed to CreateProcess.
3499 2003-03-01 Tom Tromey <tromey@redhat.com>
3501 * java/rmi/registry/RegistryHandler.java: Deprecate.
3503 2003-03-01 Tom Tromey <tromey@redhat.com>
3505 * javax/accessibility/AccessibleEditableText.java,
3506 javax/accessibility/AccessibleHyperlink.java: New versions from
3509 * gnu/java/locale/LocaleInformation_af_ZA.java,
3510 gnu/java/locale/LocaleInformation_ar_AE.java,
3511 gnu/java/locale/LocaleInformation_ar_BH.java,
3512 gnu/java/locale/LocaleInformation_ar_DZ.java,
3513 gnu/java/locale/LocaleInformation_ar_EG.java,
3514 gnu/java/locale/LocaleInformation_ar_IN.java,
3515 gnu/java/locale/LocaleInformation_ar_IQ.java,
3516 gnu/java/locale/LocaleInformation_ar_JO.java,
3517 gnu/java/locale/LocaleInformation_ar_KW.java,
3518 gnu/java/locale/LocaleInformation_ar_LB.java,
3519 gnu/java/locale/LocaleInformation_ar_LY.java,
3520 gnu/java/locale/LocaleInformation_ar_MA.java,
3521 gnu/java/locale/LocaleInformation_ar_OM.java,
3522 gnu/java/locale/LocaleInformation_ar_QA.java,
3523 gnu/java/locale/LocaleInformation_ar_SD.java,
3524 gnu/java/locale/LocaleInformation_ar_SY.java,
3525 gnu/java/locale/LocaleInformation_ar_TN.java,
3526 gnu/java/locale/LocaleInformation_ar_YE.java,
3527 gnu/java/locale/LocaleInformation_be_BY.java,
3528 gnu/java/locale/LocaleInformation_bn_IN.java,
3529 gnu/java/locale/LocaleInformation_br_FR.java,
3530 gnu/java/locale/LocaleInformation_bs_BA.java,
3531 gnu/java/locale/LocaleInformation_ca_ES.java,
3532 gnu/java/locale/LocaleInformation_cs_CZ.java,
3533 gnu/java/locale/LocaleInformation_cy_GB.java,
3534 gnu/java/locale/LocaleInformation_da_DK.java,
3535 gnu/java/locale/LocaleInformation_de_AT.java,
3536 gnu/java/locale/LocaleInformation_de_BE.java,
3537 gnu/java/locale/LocaleInformation_de_CH.java,
3538 gnu/java/locale/LocaleInformation_de_DE.java,
3539 gnu/java/locale/LocaleInformation_de_LU.java,
3540 gnu/java/locale/LocaleInformation_el_GR.java,
3541 gnu/java/locale/LocaleInformation_en_AU.java,
3542 gnu/java/locale/LocaleInformation_en_BW.java,
3543 gnu/java/locale/LocaleInformation_en_CA.java,
3544 gnu/java/locale/LocaleInformation_en_DK.java,
3545 gnu/java/locale/LocaleInformation_en_GB.java,
3546 gnu/java/locale/LocaleInformation_en_HK.java,
3547 gnu/java/locale/LocaleInformation_en_IE.java,
3548 gnu/java/locale/LocaleInformation_en_IN.java,
3549 gnu/java/locale/LocaleInformation_en_NZ.java,
3550 gnu/java/locale/LocaleInformation_en_PH.java,
3551 gnu/java/locale/LocaleInformation_en_SG.java,
3552 gnu/java/locale/LocaleInformation_en_US.java,
3553 gnu/java/locale/LocaleInformation_en_ZA.java,
3554 gnu/java/locale/LocaleInformation_en_ZW.java,
3555 gnu/java/locale/LocaleInformation_es_AR.java,
3556 gnu/java/locale/LocaleInformation_es_BO.java,
3557 gnu/java/locale/LocaleInformation_es_CL.java,
3558 gnu/java/locale/LocaleInformation_es_CO.java,
3559 gnu/java/locale/LocaleInformation_es_CR.java,
3560 gnu/java/locale/LocaleInformation_es_DO.java,
3561 gnu/java/locale/LocaleInformation_es_EC.java,
3562 gnu/java/locale/LocaleInformation_es_ES.java,
3563 gnu/java/locale/LocaleInformation_es_GT.java,
3564 gnu/java/locale/LocaleInformation_es_HN.java,
3565 gnu/java/locale/LocaleInformation_es_MX.java,
3566 gnu/java/locale/LocaleInformation_es_NI.java,
3567 gnu/java/locale/LocaleInformation_es_PA.java,
3568 gnu/java/locale/LocaleInformation_es_PE.java,
3569 gnu/java/locale/LocaleInformation_es_PR.java,
3570 gnu/java/locale/LocaleInformation_es_PY.java,
3571 gnu/java/locale/LocaleInformation_es_SV.java,
3572 gnu/java/locale/LocaleInformation_es_US.java,
3573 gnu/java/locale/LocaleInformation_es_UY.java,
3574 gnu/java/locale/LocaleInformation_es_VE.java,
3575 gnu/java/locale/LocaleInformation_et_EE.java,
3576 gnu/java/locale/LocaleInformation_eu_ES.java,
3577 gnu/java/locale/LocaleInformation_fa_IR.java,
3578 gnu/java/locale/LocaleInformation_fi_FI.java,
3579 gnu/java/locale/LocaleInformation_fo_FO.java,
3580 gnu/java/locale/LocaleInformation_fr_BE.java,
3581 gnu/java/locale/LocaleInformation_fr_CA.java,
3582 gnu/java/locale/LocaleInformation_fr_CH.java,
3583 gnu/java/locale/LocaleInformation_fr_FR.java,
3584 gnu/java/locale/LocaleInformation_fr_LU.java,
3585 gnu/java/locale/LocaleInformation_ga_IE.java,
3586 gnu/java/locale/LocaleInformation_gd_GB.java,
3587 gnu/java/locale/LocaleInformation_gl_ES.java,
3588 gnu/java/locale/LocaleInformation_gv_GB.java,
3589 gnu/java/locale/LocaleInformation_he_IL.java,
3590 gnu/java/locale/LocaleInformation_hi_IN.java,
3591 gnu/java/locale/LocaleInformation_hr_HR.java,
3592 gnu/java/locale/LocaleInformation_hu_HU.java,
3593 gnu/java/locale/LocaleInformation_id_ID.java,
3594 gnu/java/locale/LocaleInformation_it_CH.java,
3595 gnu/java/locale/LocaleInformation_it_IT.java,
3596 gnu/java/locale/LocaleInformation_iw_IL.java,
3597 gnu/java/locale/LocaleInformation_ja_JP.java,
3598 gnu/java/locale/LocaleInformation_ka_GE.java,
3599 gnu/java/locale/LocaleInformation_kl_GL.java,
3600 gnu/java/locale/LocaleInformation_ko_KR.java,
3601 gnu/java/locale/LocaleInformation_kw_GB.java,
3602 gnu/java/locale/LocaleInformation_lt_LT.java,
3603 gnu/java/locale/LocaleInformation_lv_LV.java,
3604 gnu/java/locale/LocaleInformation_mi_NZ.java,
3605 gnu/java/locale/LocaleInformation_mk_MK.java,
3606 gnu/java/locale/LocaleInformation_mr_IN.java,
3607 gnu/java/locale/LocaleInformation_mt_MT.java,
3608 gnu/java/locale/LocaleInformation_nl_BE.java,
3609 gnu/java/locale/LocaleInformation_nl_NL.java,
3610 gnu/java/locale/LocaleInformation_nn_NO.java,
3611 gnu/java/locale/LocaleInformation_no_NO.java,
3612 gnu/java/locale/LocaleInformation_oc_FR.java,
3613 gnu/java/locale/LocaleInformation_pl_PL.java,
3614 gnu/java/locale/LocaleInformation_pt_BR.java,
3615 gnu/java/locale/LocaleInformation_pt_PT.java,
3616 gnu/java/locale/LocaleInformation_ro_RO.java,
3617 gnu/java/locale/LocaleInformation_ru_RU.java,
3618 gnu/java/locale/LocaleInformation_ru_UA.java,
3619 gnu/java/locale/LocaleInformation_se_NO.java,
3620 gnu/java/locale/LocaleInformation_sk_SK.java,
3621 gnu/java/locale/LocaleInformation_sl_SI.java,
3622 gnu/java/locale/LocaleInformation_sq_AL.java,
3623 gnu/java/locale/LocaleInformation_sr_YU.java,
3624 gnu/java/locale/LocaleInformation_sv_FI.java,
3625 gnu/java/locale/LocaleInformation_sv_SE.java,
3626 gnu/java/locale/LocaleInformation_ta_IN.java,
3627 gnu/java/locale/LocaleInformation_te_IN.java,
3628 gnu/java/locale/LocaleInformation_tg_TJ.java,
3629 gnu/java/locale/LocaleInformation_tl_PH.java,
3630 gnu/java/locale/LocaleInformation_tr_TR.java,
3631 gnu/java/locale/LocaleInformation_uk_UA.java,
3632 gnu/java/locale/LocaleInformation_ur_PK.java,
3633 gnu/java/locale/LocaleInformation_uz_UZ.java,
3634 gnu/java/locale/LocaleInformation_vi_VN.java,
3635 gnu/java/locale/LocaleInformation_yi_US.java,
3636 gnu/java/locale/LocaleInformation_zh_CN.java,
3637 gnu/java/locale/LocaleInformation_zh_HK.java,
3638 gnu/java/locale/LocaleInformation_zh_SG.java,
3639 gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
3640 info; from Classpath.
3642 * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
3643 isPaintPending): New methods.
3644 * gnu/awt/xlib/XFramePeer.java (getState, setState,
3645 setMaximizedBounds): New methods.
3646 (beginLayout, endLayout, isPaintPending): Likewise.
3647 * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
3648 (requestFocus): Likewise.
3649 (isObscured): Likewise.
3650 (canDetermineObscurity): Likewise.
3651 (coalescePaintEvent): Likewise.
3652 (updateCursorImmediately): Likewise.
3653 (createVolatileImage): Likewise.
3654 (handlesWheelScrolling): Likewise.
3655 (createBuffers): Likewise.
3656 (getBackBuffer): Likewise.
3658 (destroyBuffers): Likewise.
3660 * Makefile.in: Rebuilt.
3661 * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
3663 * gnu/java/awt/GLightweightPeer.java,
3664 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
3665 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3666 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
3667 gnu/java/awt/peer/gtk/GtkFramePeer.java,
3668 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
3669 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
3670 java/awt/dnd/peer/DragSourceContextPeer.java,
3671 java/awt/dnd/peer/DropTargetContextPeer.java,
3672 java/awt/peer/ButtonPeer.java,
3673 java/awt/peer/CheckboxMenuItemPeer.java,
3674 java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
3675 java/awt/peer/ComponentPeer.java,
3676 java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
3677 java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
3678 java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
3679 java/awt/peer/MenuBarPeer.java,
3680 java/awt/peer/MenuComponentPeer.java,
3681 java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
3682 java/awt/peer/PopupMenuPeer.java,
3683 java/awt/peer/ScrollPanePeer.java,
3684 java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
3685 java/awt/peer/TextComponentPeer.java,
3686 java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
3687 New versions from Classpath.
3688 * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
3689 * java/awt/peer/RobotPeer.java: Likewise.
3691 2003-03-01 Mark Wielaard <mark@klomp.org>
3693 * java/io/ObjectInputStream.java: Reindent.
3694 * java/io/ObjectOutputStream.java: Likewise.
3696 2003-02-28 Hans Boehm <Hans.Boehm@hp.com>
3698 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
3699 jvalue for each argument. Simplify.
3700 * testsuite/libjava.jni/calls.c (docall),
3701 testsuite/libjava.jni/calls.java (longpb_f): check for argument
3704 2003-02-28 Mark Wielaard <mark@klomp.org>
3706 * Makefile.am (nat_source_files): Remove
3707 java/io/natObjectOutputStream.cc.
3708 * Makefile.in: Regenerated.
3709 * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
3710 * java/io/ObjectStreamField.java (typename): New field.
3711 (ObjectStreamField(String, Class)): Initialize new field.
3712 (ObjectStreamField(String, String)): New Constructor.
3713 (getTypeCode): Use new field.
3714 (getTypeString): Use new field.
3715 * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
3716 ObjectStreamExceptions. Remember and reset old BlockDataMode.
3717 Handle reading of Proxy classes. Never drain(), just write
3718 TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
3719 (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
3720 (flush): Call flush(), not just drain().
3721 (writeBoolean): Always use blockDataOutput.
3722 (writeByte): Likewise.
3723 (writeShort): Likewise.
3724 (writeChar): Likewise.
3725 (writeInt): Likewise.
3726 (writeLong): Likewise.
3727 (writeFloat): Likewise.
3728 (writeDouble): Likewise.
3729 (writeBytes): Likewise.
3730 (putfield (put(String,Object))): Throw IllegalArgumentException if
3731 field cannot be found.
3732 (putfield (write(ObjectOutput))): Remember old BlockDataMode.
3733 (writeArraySizeAndElements): Write byte[] in one go.
3734 (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
3735 set BlockDataMode to false.
3736 (annotateProxyClass): New method.
3737 (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
3738 (getField): No longer native.
3739 (getMethod): Likewise.
3740 (setBlockDataMode): Always drain() on switch, return old mode.
3741 (static): New static code block.
3742 * java/io/natObjectOutputStream.cc: Removed.
3743 * java/io/ObjectInputStream.java (getField): No longer native.
3744 (getMethod): Likewise.
3745 (readObject): Remember and reset old BlockDataMode. Track whether
3746 object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
3748 (defaultReadObject): Set BlockDataMode to false during readFields.
3749 (resolveClass): Create new SecurityManager if necessary.
3750 Use Class.forName() if null ClassLoader found.
3751 (read(byte[],int,int): Copy remaining bytes to data before calling
3753 (readFields): Set and reset BlockDataMode on call_read_method.
3754 Catch NoSuchFieldErrors.
3755 (setBlockDataMode): Return old mode.
3756 (static): New static code block.
3757 * java/io/natObjectInputStream.cc (getField): Removed.
3758 (getMethod): Likewise.
3760 2003-02-27 Michael Koch <konqueror@gmx.de>
3762 * java/beans/Beans.java,
3763 java/beans/FeatureDescriptor.java
3764 java/beans/PropertyEditorManager.java:
3765 Reformated to GNU style.
3767 2003-02-25 Michael Koch <konqueror@gmx.de>
3769 * gnu/java/nio/MappedByteFileBuffer.java,
3770 gnu/java/nio/natMappedByteFileBuffer.cc:
3771 New files, both are not compiled yet to get not noncompiling CVS.
3773 2003-02-24 Tom Tromey <tromey@redhat.com>
3775 * java/util/prefs/AbstractPreferences.java (isUserNode):
3778 2003-02-24 Tom Tromey <tromey@redhat.com>
3780 * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
3782 * java/lang/Thread.java (resume): Deprecate.
3783 * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
3786 2003-02-23 Tom Tromey <tromey@redhat.com>
3788 * Makefile.in: Rebuilt.
3789 * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
3791 2003-02-23 Tom Tromey <tromey@redhat.com>
3793 * java/lang/natRuntime.cc (libraries_size, libraries_count,
3794 libraries): Removed.
3795 (add_library): Removed.
3796 (_load): Don't call add_library.
3797 (loadLibraryInternal): Likewise.
3799 (lookup_data): New struct.
3800 (find_symbol): New function.
3801 (_Jv_FindSymbolInExecutable): Use it.
3803 2002-02-21 Anthony Green <green@redhat.com>
3805 * java/lang/Thread.java (Thread): New constructor taking stack
3806 size parameter (ignored for now).
3807 * Many methods: Merged GNU Classpath documentation.
3809 * java/lang/Class.java (finalize): throws a Throwable.
3811 2003-02-21 Mark Wielaard <mark@klomp.org>
3813 * java/util/zip/ZipEntry.java (setComment): Don't check length when
3816 2003-02-21 Mark Wielaard <mark@klomp.org>
3818 * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
3819 then 65535 chars throw IllegalArgumentException.
3821 2003-02-21 Mark Wielaard <mark@klomp.org>
3823 * java/util/zip/ZipFile.java (finalize): New method.
3825 2003-02-21 Michael Koch <konqueror@gmx.de>
3827 * gnu/java/nio/natSocketChannelImpl.cc:
3828 Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
3829 <cato@df.lth.se> for pointing to it.
3831 2003-02-20 Raif S. Naffah <raif@fl.net.au>
3833 * java/math/BigInteger.java (euclidInv): Take result array as an
3834 argument. Updated all callers.
3835 (modInverse): Removed unused variables.
3837 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
3839 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
3841 * configure: Rebuilt.
3843 2003-02-19 Michael Koch <konqueror@gmx.de>
3845 * gnu/java/nio/natSocketChannelImpl.cc:
3846 Added support for platforms without network support.
3848 2003-02-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3850 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
3851 after config.h. Use <> for consistency.
3852 * java/lang/natObject.cc: Likewise.
3853 * java/lang/natRuntime.cc: Likewise.
3854 * java/lang/natSystem.cc: Likewise.
3855 * java/util/natTimeZone.cc: Likewise.
3856 * win32.cc: Likewise.
3857 * include/posix.h (fcntl, socket, connect, close, bind, accept,
3858 listen, write, read): Undef to avoid interference from OS macros.
3860 2003-02-19 Michael Koch <konqueror@gmx.de>
3862 * gnu/java/nio/ByteBufferImpl.java
3863 (ByteBufferImpl): Renamed two variables.
3864 * gnu/java/nio/CharBufferImpl.java
3865 (CharBufferImpl): Renamed two variables.
3866 * gnu/java/nio/DoubleBufferImpl.java
3867 (DoubleBufferImpl): Renamed two variables.
3868 * gnu/java/nio/FloatBufferImpl.java
3869 (FloatBufferImpl): Renamed two variables.
3870 * gnu/java/nio/IntBufferImpl.java
3871 (IntBufferImpl): Renamed two variables.
3872 * gnu/java/nio/LongBufferImpl.java
3873 (LongBufferImpl): Renamed two variables.
3874 * gnu/java/nio/ShortBufferImpl.java
3875 (ShortBufferImpl): Renamed two variables.
3876 * java/nio/CharBuffer.java
3877 (wrap): Fixed arguments to CharBufferImpl constructor.
3878 (hasArray): Only not read-only buffers have backing arrays.
3879 (length): Documentation added.
3880 (subSequence): Documentation added.
3881 * java/nio/DoubleBuffer.java
3882 (hasArray): Only not read-only buffers have backing arrays.
3883 * java/nio/FloatBuffer.java
3884 (hasArray): Only not read-only buffers have backing arrays.
3885 * java/nio/IntBuffer.java
3886 (hasArray): Only not read-only buffers have backing arrays.
3887 * java/nio/LongBuffer.java
3888 (hasArray): Only not read-only buffers have backing arrays.
3889 * java/nio/ShortBuffer.java
3890 (hasArray): Only not read-only buffers have backing arrays.
3892 2003-02-19 Michael Koch <konqueror@gmx.de>
3894 * javax/accessibility/AccessibleContext.java
3895 (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
3897 2003-02-19 Michael Koch <konqueror@gmx.de>
3899 * java/awt/ScrollPaneAdjustable.java: Reformated.
3901 2003-02-19 Michael Koch <konqueror@gmx.de>
3903 * gnu/awt/j2d/Graphics2DImpl.java
3904 (getFontRenderContext): New method.
3905 (drawGlyphVector): New method.
3906 * java/awt/Graphics2D.java
3907 (getFontRenderContext): New abstract method.
3908 (drawGlyphVector): New abstract method.
3910 2003-02-18 Hans Boehm <Hans.Boehm@hp.com>
3912 * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
3915 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
3916 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
3917 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
3918 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
3919 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
3920 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
3921 (setFont, gtkSetFont): add.
3922 gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
3923 Propagate font to peer. (setFont): add FIXME comment.
3925 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
3926 (gtkTextGetSize): fix height, width computation.
3928 * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
3929 Make X font name a bit less bogus.
3931 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
3932 (post_adjustment_event): Pass on GTK_SCROLL_NONE.
3934 * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
3935 (processAdjustmentEvent): Adjust value.
3937 * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
3940 * java/awt/Component.java (setVisible, show, hide): Call show and
3941 hide methods in subclasses.
3942 (getPreferredSize): don't set prefSize before we have peer.
3944 * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
3945 Guess (0,0) if we don't have peer.
3948 2003-02-18 Michael Koch <konqueror@gmx.de>
3950 * java/nio/channels/FileChannel.java
3951 (toString): New implementation, added documentation.
3952 (map): Added exception documentation.
3953 (size): Added exception documentation.
3954 (write): New methods, documentation work.
3955 (read): New methods, documentation work.
3956 (implCloseChannel): Rewrote exception documentation.
3957 (force): Throws IOException, added documentation.
3958 (lock): New methods.
3959 (tryLock): New methods.
3960 (position): New methods.
3961 (transferTo): New method.
3962 (transferFrom): New method.
3963 (truncate): New method.
3964 * java/nio/channels/spi/SelectorProvider.java
3965 (provider): Implemented.
3967 (ordinary_java_source_files): Added the following files:
3968 gnu/java/nio/DatagramChannelImpl.java
3969 gnu/java/nio/FileChannelImpl.java
3970 gnu/java/nio/PipeImpl.java
3971 gnu/java/nio/SelectionKeyImpl.java
3972 gnu/java/nio/SelectorImpl.java
3973 gnu/java/nio/SelectorProviderImpl.java
3974 gnu/java/nio/ServerSocketChannelImpl.java
3975 gnu/java/nio/SocketChannelImpl.java
3976 java/nio/channels/FileLock.java
3977 (nat_java_source_files): Added the following files:
3978 gnu/java/nio/natFileChannelImpl.cc
3979 gnu/java/nio/natSelectorImpl.cc
3980 gnu/java/nio/natSocketChannelImpl.cc
3981 * Makefile.in: Regenerated.
3983 2003-02-17 Tom Tromey <tromey@redhat.com>
3985 * java/awt/image/ColorModel.java: Re-merged with Classpath.
3986 * java/awt/image/ImageFilter.java: Likewise.
3988 2003-02-17 Raif S. Naffah <raif@fl.net.au>
3990 * java/math/BigInteger.java (euclidInv): Return array of
3991 `BigInteger's. Changed all callers.
3993 2003-02-17 Ranjit Mathew <rmathew@hotmail.com>
3995 * java/util/Properties.java (store): Move the code formerly in
3996 list(), into this method.
3997 (list (PrintStream)): Just call list (PrintWriter) with a
3998 PrintWriter object constructed from the given PrintStream object.
3999 (list (PrintWriter)): Emulate the output of Properties.list()
4000 as found in JDK 1.3/1.4.
4002 2003-02-17 Michael Koch <konqueror@gmx.de>
4004 * java/net/DatagramSocket.java
4005 (connect): Merged with classpath.
4006 (disconnect): Merged documentation with classpath.
4007 (receice): Merged documentation with classpath.
4008 (send): Merged documentation with classpath.
4010 2003-02-17 Michael Koch <konqueror@gmx.de>
4012 * java/awt/dnd/DragSourceContext.java
4013 (addDragSourceListener): Added documentation.
4014 * java/awt/dnd/DragSourceDragEvent.java
4015 (serialVersionUID): New member variable.
4016 (getDropAction): Reformated.
4017 * java/awt/dnd/DragSourceDropEvent.java
4018 (serialVersionUID): New member variable.
4019 (dropSuccess): Renamed from success for serialization issues.
4020 * java/awt/dnd/DragSourceEvent.java
4021 (serialVersionUID): New member variable.
4022 * java/awt/dnd/DropTarget.java
4023 (serialVersionUID): New member variable.
4024 (DropTarget): Implemented, documentation reworked.
4025 (setComponent): Documentation added.
4026 (getComponent): Documentation added.
4027 (setDefaultActions): Documentation added.
4028 (getDefaultActions): Documentation added.
4029 (addDropTargetListener): Documentation added.
4030 * java/awt/dnd/DropTargetContext.java
4031 (DropTargetContext): Documentation added.
4032 (TransferableProxy.TransferableProxy): New method.
4033 (dropComplete): Fixed documentation.
4034 (getTransferable): Fixed documentation.
4035 (createTransferableProxy): Implemented.
4036 * java/awt/dnd/DropTargetDragEvent.java
4037 (DropTargetDragEvent): Documentation added.
4038 (serialVersionUID): New member variable.
4039 (DropTargetDragEvent): Throw exceptions, documentation added.
4040 (acceptDrag): Implemented.
4041 (getCurrentDataFlavors): Implemented.3yy
4042 (getCurrentDataFlavorsAsList): Implemented.
4043 (isDataFlavorSupported): Implemented.
4044 (rejectDrag): Implemented.
4045 * java/awt/dnd/DropTargetDropEvent.java
4046 (DropTargetDropEvent): Documentation added.
4047 (serialVersionUID): New member variable.
4048 (actions): Renamed from srcActions for serialization issues.
4049 (isLocalTx): Renamed from isLocalTx for serialization issues.
4050 (DropTargetDropEvent): New implementation, throw exceptions,
4051 documentation added.
4052 (getCurrentDataFlavors): Implemented.
4053 (getCurrentDataFlavorsAsList): Implemented.
4054 (isDataFlavorSupported): Implemented.
4055 (getSourceActions): Implemented.
4056 (getDropAction): Implemented.
4057 (getTransferable): Implemented.
4058 (acceptDrop): Implemented.
4059 (rejectDrop): Implemented.
4060 * java/awt/dnd/DropTargetListener.java
4061 (drop): Fixed documentation.
4062 * java/awt/dnd/MouseDragGestureRecognizer.java
4063 (MouseDragGestureRecognizer): Documentation added.
4065 2003-02-17 Michael Koch <konqueror@gmx.de>
4067 * java/awt/font/FontRenderContext.java,
4068 java/awt/font/ShapeGraphicAttribute.java,
4069 java/awt/font/MultipleMaster.java,
4070 java/awt/font/TransformAttribute.java,
4071 java/awt/font/GlyphJustificationInfo.java,
4072 java/awt/font/LineBreakMeasurer.java,
4073 java/awt/font/TextMeasurer.java,
4074 java/awt/font/TextLayout.java,
4075 java/awt/font/LineMetrics.java,
4076 java/awt/font/TextAttribute.java,
4077 java/awt/font/GlyphMetrics.java,
4078 java/awt/font/OpenType.java,
4079 java/awt/font/GlyphVector.java,
4080 java/awt/font/GraphicAttribute.java,
4081 java/awt/font/ImageGraphicAttribute.java,
4082 java/awt/font/NumericShaper.java: New files.
4084 (awt_java_source_files): Added the following files:
4085 java/awt/font/FontRenderContext.java
4086 java/awt/font/ShapeGraphicAttribute.java
4087 java/awt/font/MultipleMaster.java
4088 java/awt/font/TransformAttribute.java
4089 java/awt/font/GlyphJustificationInfo.java
4090 java/awt/font/LineBreakMeasurer.java
4091 java/awt/font/TextMeasurer.java
4092 java/awt/font/TextLayout.java
4093 java/awt/font/LineMetrics.java
4094 java/awt/font/TextAttribute.java
4095 java/awt/font/GlyphMetrics.java
4096 java/awt/font/OpenType.java
4097 java/awt/font/GlyphVector.java
4098 java/awt/font/GraphicAttribute.java
4099 java/awt/font/ImageGraphicAttribute.java
4100 java/awt/font/NumericShaper.java
4101 * Makefile.in: Regenerated.
4103 2003-02-17 Michael Koch <konqueror@gmx.de>
4105 * java/awt/print/Paper.java
4106 (Paper): Implements Cloneable.
4107 * java/awt/print/PrinterJob.java
4108 (setJobName): Return value must be void.
4109 (print): Throws PrinterException.
4111 2003-02-16 Tom Tromey <tromey@redhat.com>
4113 * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
4116 2003-02-15 Michael Koch <konqueror@gmx.de>
4118 * java/awt/datatransfer/DataFlavor.java
4119 (isRepresentationClassByteBuffer): Removed try-catch block.
4120 (isRepresentationClassCharBuffer): Removed try-catch block.
4121 (isRepresentationClassReader): Removed try-catch block.
4123 2003-02-15 Jesse Rosenstock <jmr@ugcs.caltech.edu>
4125 * java/nio/charset/Charset.java
4126 (isRegistered): Fixed method args and implementation.
4127 * java/nio/charset/CharsetEncoder.java
4128 (unmappableCharacterAction): New method.
4130 2003-02-15 Michael Koch <konqueror@gmx.de>
4132 * java/awt/CheckboxMenuItem.java
4133 (CheckBoxMenuItem): Dont implement Serializable.
4134 (getListeners): New method,
4135 (getItemListeners): New method.
4136 * java/awt/Choice.java
4137 (getListeners): New method,
4138 (getItemListeners): New method.
4139 * java/awt/Container.java
4140 (getListeners): Added exception documentation.
4141 (setFocusTraversalKeys): Throw exceptions, added documentattion.
4142 (getFocusTraversalKeys): Added documentation.
4143 (areFocusTraversalKeysSet): Added documentation.
4144 (applyComponentOrientation): Added documentation.
4145 * java/awt/ContainerOrderFocusTraversalPolicy.java
4146 (implicitDownCycleTraversal): Renamed from downCycle for
4148 (ContainerOrderFocusTraversalPolicy): Added documentation.
4149 (accept): Reformated.
4150 * java/awt/Dialog.java
4151 (Dialog): Dont implement Serializable.
4152 (Dialog): Added documentation.
4153 * java/awt/Font.java
4154 (Font): Dont use absolute class name.
4155 * java/awt/Frame.java
4156 (Frame): Font implement Serializable.
4157 * java/awt/List.java
4158 (getListeners): New method,
4159 (getActionListeners): New method.
4160 (getItemListeners): New method.
4161 * java/awt/Menu.java
4162 (countItems): New deprecated method.
4163 * java/awt/Scrollbar.java
4164 (getListeners): New method,
4165 (getAdjustmentListeners): New method,
4166 * java/awt/TextComponent.java
4167 (getListeners): New method,
4168 (getTextListeners): New method,
4169 * java/awt/TextField.java
4170 (getListeners): New method,
4171 (getActionListeners): New method.
4172 * java/awt/Window.java
4173 (windowFocusListener): New member variable.
4174 (windowStateListener): New member variable.
4175 (getWindowFocusListeners): New method.
4176 (getWindowStateListeners): New method.
4177 (addWindowFocusListener): New method.
4178 (addWindowStateListener): New method.
4179 (removeWindowFocusListener): New method.
4180 (removeWindowStateListener): New method.
4181 * java/awt/datatransfer/DataFlavor.java
4182 (isRepresentationClassByteBuffer): New method.
4183 (isRepresentationClassCharBuffer): New method.
4184 (isRepresentationClassReader): New method.
4186 2003-02-14 Mark Wielaard <mark@klomp.org>
4188 * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
4189 zero when there is an exponent and the significant is zero.
4190 (divide): Always set scale to newScale even in special ZERO case.
4192 2003-02-14 Tom Tromey <tromey@redhat.com>
4194 * java/lang/System.java (properties): Use Properties.clone.
4195 (setProperties): Likewise.
4197 2003-02-14 Michael Koch <konqueror@gmx.de>
4199 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
4200 * gnu/java/nio/ServerSocketChannelImpl.java
4201 (SocketAccept): Removed.
4202 (accept): Commented out use of SocketAccept.
4204 2003-02-13 Tom Tromey <tromey@redhat.com>
4206 * verify.cc (state::seen_subrs): New field.
4207 (state::state): Initialize it.
4208 (state::clean_subrs): New method.
4209 (state::~state): Call it.
4210 (state::copy): Copy subroutine list.
4211 (state::add_subr): New method.
4212 (state::merge): Only register a change if the current subroutine
4213 hasn't yet been noted.
4215 2003-02-13 Mark Wielaard <mark@klomp.org>
4217 * java/io/InputStreamReader.java (getEncoding): Return null when
4219 * java/io/OutputStreamWriter.java (getEncoding): Likewise.
4221 2003-02-13 Mark Wielaard <mark@klomp.org>
4223 * java/util/zip/InflaterInputStream.java (read): Return zero when len
4226 2003-02-13 Mark Wielaard <mark@klomp.org>
4228 * java/io/BufferedOutputStream.java (write(int)): Only flush when
4229 next byte cannot be buffered.
4231 2003-02-13 Michael Koch <konqueror@gmx.de>
4233 * java/awt/Label.java
4234 (Label): Don't implement Serializable directly.
4235 (addNotify): Fixed typo in documentation.
4236 * java/awt/List.java
4237 (List): Don't implement Serializable directly.
4238 * java/awt/PopupMenu.java
4239 (PopupMenu): Don't implement Serializable directly.
4240 * java/awt/ScrollPane.java
4241 (ScrollPane): Don't implement Serializable directly.
4242 * java/awt/Scrollbar.java
4243 (Scrollbar): Don't implement Serializable directly.
4244 * java/awt/TextArea.java
4245 (preferredSize): Fixed method arguments.
4246 * java/awt/TextField.java
4247 (TextField): Don't implement Serializable directly.
4248 * java/awt/color/ICC_ColorSpace.java
4249 (fromCIOXYZ): Documentation added.
4250 (getMinValue): Documentation added.
4251 (getMaxValue): Documentation added.
4252 * java/awt/datatransfer/DataFlavor.java
4253 (isMimeTypeEqual): May not be final.
4254 (clone): Throws CloneNotSupportedException.
4255 (getReaderForText): Don't throws UnsupportedEncodingException.
4257 2003-02-13 Michael Koch <konqueror@gmx.de>
4259 * gnu/java/awt/peer/gtk/GdkGraphics.java
4260 (drawString): New stubbed method.
4261 * java/awt/Graphics.java
4262 (drawString): New method.
4264 2003-02-13 Casey Marshall <rsdio@metastatic.org>
4267 * java/security/SecureRandom.java (next): Avoid bias in results.
4269 2003-02-13 Michael <konqueror@gmx.de>
4271 * gnu/java/nio/FileChannelImpl.java
4272 (lengthInternal): Must be native.
4273 (size): Check if channel is already closed.
4274 (implCloseChannel): Reformated.
4275 (read): w was unused, removed it.
4278 (write): New method.
4279 (map): Check arguments.
4280 (force): Throws IOException, check if channel is closed.
4281 (transferTo): New method.
4282 (transferFrom): New method.
4284 (tryLock): New method.
4285 (position): New method.
4286 (truncate): New method.
4287 (nio_mmap_file): Uncommented.
4288 (nio_munmap_file): Uncommented.
4289 (nio_msync): Uncommented.
4290 * gnu/java/nio/natFileChannelImpl.cc: New file.
4292 2003-02-13 Michael Koch <konqueror@gmx.de>
4294 * java/nio/ByteBuffer.java
4295 (endian): New member variable.
4297 (equals): New method.
4298 (compareTo): New method.
4299 (order): New methods.
4300 (compact): New method.
4301 (isDirect): New method.
4302 (slice): New method.
4303 (duplicate): New method.
4304 (asReadOnlyBuffer): New method.
4305 (asCharBuffer): New method.
4306 (asDoubleBuffer): New method.
4307 (asFloatBuffer): New method.
4308 (asIntBuffer): New method.
4309 (asLongBuffer): New method.
4310 (asShortBuffer): New method.
4311 (get*): New methods.
4312 (put*): New methods.
4313 (toString): New method.
4314 * java/nio/CharBuffer.java
4315 (CharBuffer): Implement Comparable instead of Cloneable.
4316 (get): May not be final.
4317 (put): May not be final.
4319 2002-02-13 Ranjit Mathew <rmathew@hotmail.com>
4321 * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
4322 lastIndexOf( ) instead of indexOf( ) to find the colon before
4323 the line number, because Win32 file names might contain a
4324 drive letter and a colon at the start of an absolute path.
4326 2003-02-13 Michael Koch <konqueror@gmx.de>
4328 * gnu/java/nio/natSocketChannelImpl.cc
4329 (SocketConnect): This is not implemented yet.
4330 (SocketBind): This is not implemented yet.
4332 2003-02-13 Michael Koch <konqueror@gmx.de>
4334 * gnu/java/nio/natByteBufferImpl.cc,
4335 gnu/java/nio/natCharBufferImpl.cc,
4336 gnu/java/nio/natDoubleBufferImpl.cc,
4337 gnu/java/nio/natFloatBufferImpl.cc,
4338 gnu/java/nio/natIntBufferImpl.cc,
4339 gnu/java/nio/natLongBufferImpl.cc,
4340 gnu/java/nio/natShortBufferImpl.cc:
4341 Added copyright and license.
4342 * java/nio/DoubleBuffer.java,
4343 java/nio/FloatBuffer.java,
4344 java/nio/IntBuffer.java,
4345 java/nio/LongBuffer.java,
4346 java/nio/ShortBuffer.java
4347 (array): Throw exceptions.
4348 (arrayOffset): Throw exceptions.
4350 2003-02-13 Michael Koch <konqueror@gmx.de>
4352 * gnu/java/util/prefs/FileBasedFactory.java,
4353 gnu/java/util/prefs/MemmoryBasedFactory.java,
4354 gnu/java/util/prefs/MemoryBasedPreferences.java,
4355 gnu/java/util/prefs/NodeReader.java,
4356 gnu/java/util/prefs/NodeWriter.java,
4357 java/util/prefs/AbstractPreferences.java,
4358 java/util/prefs/BackingStoreException.java,
4359 java/util/prefs/InvalidPreferencesFormatException.java,
4360 java/util/prefs/NodeChangeEvent.java,
4361 java/util/prefs/NodeChangeListener.java,
4362 java/util/prefs/PreferenceChangeEvent.java,
4363 java/util/prefs/PreferenceChangeListener.java,
4364 java/util/prefs/Preferences.java,
4365 java/util/prefs/PreferencesFactory.java:
4366 New files, all merged from classpath.
4368 (ordinary_java_source_files): Added the following files:
4369 gnu/java/util/prefs/FileBasedFactory.java,
4370 gnu/java/util/prefs/MemmoryBasedFactory.java,
4371 gnu/java/util/prefs/MemoryBasedPreferences.java,
4372 gnu/java/util/prefs/NodeReader.java,
4373 gnu/java/util/prefs/NodeWriter.java,
4374 (core_java_source_files): Added the following files:
4375 java/util/prefs/AbstractPreferences.java,
4376 java/util/prefs/BackingStoreException.java,
4377 java/util/prefs/InvalidPreferencesFormatException.java,
4378 java/util/prefs/NodeChangeEvent.java,
4379 java/util/prefs/NodeChangeListener.java,
4380 java/util/prefs/PreferenceChangeEvent.java,
4381 java/util/prefs/PreferenceChangeListener.java,
4382 java/util/prefs/Preferences.java,
4383 java/util/prefs/PreferencesFactory.java
4384 * Makefile.in: Regenerated.
4386 2003-02-13 Michael Koch <konqueror@gmx.de>
4388 * java/net/NetPermission.java
4389 (NetPermission): Make doucmentation match the method declaration.
4390 * java/net/NetworkInterface.java
4391 (equals): Reformated for GNU coding style.
4392 * java/net/ServerSocket.java: Merged with classpath.
4393 * java/net/Socket.java: Partly merged with classpath (Added some @since).
4394 * java/net/SocketImpl.java
4395 (localPort): Merged with classpath (initialize with -1).
4396 * java/net/SocketPermission.java: Merged with classpath (reindented).
4397 * java/net/URLDecoder.java: Merged with classpath (reindented).
4399 2003-02-13 Michael Koch <konqueror@gmx.de>
4401 * java/awt/GridBagConstraints.java
4402 (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
4403 LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
4404 * java/awt/KeyboardFocusManager.java
4405 (setGlobalCurrentFocusCycleRoot): Must be public.
4406 * java/awt/MenuComponent.java
4407 (MenuComponent): Must be public.
4408 * java/awt/Toolkit.java:
4409 Added some empty lines to make documentation more readable.
4410 (getFontPeer): Added @deprecated.
4411 (getColorModel): Added exception documentation.
4412 (getProperty): Fixed documentation.
4414 2003-02-12 Jeff Sturm <jsturm@one-point.com>
4416 * configure.host (alpha*-*): Default to -mieee.
4417 * configure.in (IEEESPEC): New.
4418 * libgcj.spec.in (jc1): Add IEEESPEC.
4419 * configure: Rebuild.
4421 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
4423 * include/win32.h: Include ws2tcpip.h instead of
4424 winsock.h to obtain definition of the socklen_t type.
4425 Remove IP_TOS definition - not needed with ws2tcpip.h
4426 (_Jv_connect): Correct slight formatting error.
4428 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
4430 * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
4431 size of the arguments for a JNI function. For Win32,
4432 modify to search for all forms of possible exported
4433 names of an stdcall JNI function.
4434 (_Jv_JNIMethod::call): Modify to calculate the size
4435 of the arguments passed to a JNI function and pass
4436 it to _Jv_LookupJNIMethod.
4438 2003-02-12 Michael Koch <konqueror@gmx.de>
4440 * java/nio/channels/Channels.java: New file.
4442 (ordinary_java_source_files): Added java/nio/channels/Channels.java.
4443 * Makefile.in: Regenerated.
4445 2003-02-12 Michael Koch <konqueror@gmx.de>
4447 * java/nio/ByteBuffer.java
4448 (allocate): Implemented.
4449 (wrap): Implemented.
4450 * java/nio/CharBuffer.java:
4451 Some documentation added and reworked.
4453 (allocate): Implemented.
4454 (wrap): Implemented.
4455 (array): Throw exceptions.
4456 (arrayOffset): Throw exceptions.
4457 (toString): Implemented.
4458 (length): Implemented.
4460 (charAt): Implemented.
4462 2003-02-11 John Leuner <jewel@debian.org>
4464 * java/util/zip/ZipInputStream.java: Fix problem with 0-length
4465 reads from end of file.
4467 2003-02-11 Ranjit Mathew <rmathew@hotmail.com>
4469 * java/io/natFileDescriptorWin32.cc
4470 (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
4471 returns with Win32 error code ERROR_BROKEN_PIPE.
4473 2003-02-11 Michael Koch <konqueror@gmx.de>
4476 (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
4478 2003-02-11 Michael Koch <konqueror@gmx.de>
4480 * gnu/java/nio/ByteBufferImpl.java:
4481 Reformated and removed some code.
4482 (backing_buffer): Removed.
4483 (array_offset): Removed.
4484 (ro): Renamed to readOnly.
4485 (ByteBufferImpl): Use parent constructor, initialize readOnly.
4486 * gnu/java/nio/CharBufferImpl.java:
4487 Reformated and removed some code.
4488 (array_offset): Removed.
4489 (ro): Renamed to readOnly.
4490 (CharBufferImpl): Use parent constructor, initialize readOnly.
4492 (order): New method.
4493 * gnu/java/nio/DoubleBufferImpl.java:
4494 Reformated and removed some code.
4495 (array_offset): Removed.
4496 (ro): Renamed to readOnly.
4497 (DoubleBufferImpl): Use parent constructor, initialize readOnly.
4499 (order): New method.
4500 * gnu/java/nio/FloatBufferImpl.java:
4501 Reformated and removed some code.
4502 (array_offset): Removed.
4503 (ro): Renamed to readOnly.
4504 (FloatBufferImpl): Use parent constructor, initialize readOnly.
4506 (order): New method.
4507 * gnu/java/nio/IntBufferImpl.java:
4508 Reformated and removed some code.
4509 (array_offset): Removed.
4510 (ro): Renamed to readOnly.
4511 (IntBufferImpl): Use parent constructor, initialize readOnly.
4513 (order): New method.
4514 * gnu/java/nio/LongBufferImpl.java:
4515 Reformated and removed some code.
4516 (array_offset): Removed.
4517 (ro): Renamed to readOnly.
4518 (LongBufferImpl): Use parent constructor, initialize readOnly.
4520 (order): New method.
4521 * gnu/java/nio/ShortBufferImpl.java:
4522 Reformated and removed some code.
4523 (array_offset): Removed.
4524 (ro): Renamed to readOnly.
4525 (ShortBufferImpl): Use parent constructor, initialize readOnly.
4527 (order): New method.
4529 (ordinary_java_source_files): Added the following files:
4530 gnu/java/nio/ByteBufferImpl.java
4531 gnu/java/nio/CharBufferImpl.java
4532 gnu/java/nio/DoubleBufferImpl.java
4533 gnu/java/nio/FloatBufferImpl.java
4534 gnu/java/nio/IntBufferImpl.java
4535 gnu/java/nio/LongBufferImpl.java
4536 gnu/java/nio/ShortBufferImpl.java
4537 java/nio/DoubleBuffer.java
4538 java/nio/FloatBuffer.java
4539 java/nio/IntBuffer.java
4540 java/nio/LongBuffer.java
4541 java/nio/ShortBuffer.java
4542 (nat_source_files): Added the following files:
4543 gnu/java/nio/natByteBufferImpl.cc
4544 gnu/java/nio/natCharBufferImpl.cc
4545 gnu/java/nio/natDoubleBufferImpl.cc
4546 gnu/java/nio/natFloatBufferImpl.cc
4547 gnu/java/nio/natIntBufferImpl.cc
4548 gnu/java/nio/natLongBufferImpl.cc
4549 gnu/java/nio/natShortBufferImpl.cc
4550 * Makefile.in: Regenerated.
4552 2003-02-11 Michael Koch <konqueror@gmx.de>
4554 * gnu/java/nio/natCharBufferImpl.cc
4555 (nio_cast): Removed.
4556 (nio_put_*): Removed.
4557 (nio_get_*): Removed.
4558 * gnu/java/nio/natDoubleBufferImpl.cc
4559 (nio_cast): Removed.
4560 (nio_put_*): Removed.
4561 (nio_get_*): Removed.
4562 * gnu/java/nio/natFloatBufferImpl.cc
4563 (nio_cast): Removed.
4564 (nio_put_*): Removed.
4565 (nio_get_*): Removed.
4566 * gnu/java/nio/natIntBufferImpl.cc
4567 (nio_cast): Removed.
4568 (nio_put_*): Removed.
4569 (nio_get_*): Removed.
4570 * gnu/java/nio/natLongBufferImpl.cc
4571 (nio_cast): Removed.
4572 (nio_put_*): Removed.
4573 (nio_get_*): Removed.
4574 * gnu/java/nio/natShortBufferImpl.cc
4575 (nio_cast): Removed.
4576 (nio_put_*): Removed.
4577 (nio_get_*): Removed.
4578 * gnu/java/nio/SelectorProviderImpl.java
4579 (openDatagramChannel): Throws IOException.
4580 (openPipe): Throws IOException.
4581 (openSelector): Throws IOException.
4582 (openServerSocketChannel): Throws IOException.
4583 (openSocketChannel): Throws IOException.
4584 * gnu/java/nio/ServerSocketChannelImpl.java
4585 (ServerSocketChannelImpl): Throws IOException.
4586 (implCloseSelectableChannel): Throws IOException.
4587 (implConfigureBlocking): Throws IOException.
4588 * java/nio/ByteBuffer.java
4589 (readOnly): Removed.
4590 (hasArray): Use isReadOnly() instead of readOnly.
4591 (array): Use isReadOnly() instead of readOnly.
4592 (arrayOffset): Use isReadOnly() instead of readOnly.
4593 * java/nio/CharBuffer.java
4594 (CharBuffer): Implements Cloneable and CharSequence.
4596 2003-02-11 Michael Koch <konqueror@gmx.de>
4598 * java/nio/DoubleBuffer.java
4599 (DoubleBuffer): Implements Comparable.
4601 (array_offset): New member variable.
4602 (DoubleBuffer): New constuctor.
4603 (get): May not be final.
4604 (put): May not be final.
4605 (arrayOffset): Implemented.
4606 (order): Made abstract.
4608 (as*Buffer): Removed.
4611 * java/nio/FloatBuffer.java
4612 (FloatBuffer): Implements Comparable.
4614 (array_offset): New member variable.
4615 (FloatBuffer): New constuctor.
4616 (get): May not be final.
4617 (put): May not be final.
4618 (arrayOffset): Implemented.
4619 (order): Made abstract.
4621 (as*Buffer): Removed.
4624 * java/nio/IntBuffer.java
4625 (IntBuffer): Implements Comparable.
4627 (array_offset): New member variable.
4628 (IntBuffer): New constuctor.
4629 (get): May not be final.
4630 (put): May not be final.
4631 (arrayOffset): Implemented.
4632 (order): Made abstract.
4634 (as*Buffer): Removed.
4637 * java/nio/LongBuffer.java
4638 (LongBuffer): Implements Comparable.
4640 (array_offset): New member variable.
4641 (LongBuffer): New constuctor.
4642 (get): May not be final.
4643 (put): May not be final.
4644 (arrayOffset): Implemented.
4645 (order): Made abstract.
4647 (as*Buffer): Removed.
4650 * java/nio/ShortBuffer.java
4651 (ShortBuffer): Implements Comparable.
4653 (array_offset): New member variable.
4654 (ShortBuffer): New constuctor.
4655 (get): May not be final.
4656 (put): May not be final.
4657 (arrayOffset): Implemented.
4658 (order): Made abstract.
4660 (as*Buffer): Removed.
4664 2003-02-11 Michael Koch <konqueror@gmx.de>
4666 * java/nio/channels/SelectionKey.java
4667 (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
4670 2003-02-11 Michael Koch <konqueror@gmx.de>
4672 * java/nio/channels/DatagramChannel.java
4673 (write): Throws IOException.
4674 (connect): Throws IOException.
4675 (disconnect): Throws IOException.
4676 (read): Throws IOException.
4677 (receive): Throws IOException.
4678 (send): Throws IOException.
4679 * java/nio/channels/Pipe.java
4680 (open): Throws IOException.
4681 * java/nio/channels/SelectableChannel.java
4682 (configureBlocking): Throws IOException.
4683 * java/nio/channels/ServerSocketChannel.java
4684 (accept): Throws IOException.
4685 * java/nio/channels/SocketChannel.java
4686 (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
4687 GatheringByteChannel.
4688 (read): Throws IOException.
4689 (write): Throws IOException.
4690 (finishConnect): Throws IOException.
4691 * java/nio/channels/spi/AbstractInterruptibleChannel.java
4692 (end): Throws AsynchronousCloseException.
4693 * java/nio/channels/spi/AbstractSelectableChannel.java
4694 (configureBlocking): Throws IOException.
4695 (implCloseChannel): Throws IOException.
4696 (implCloseSelectableChannel): Throws IOException.
4697 (implConfigureBlocking): Throws IOException.
4698 * java/nio/channels/spi/SelectorProvider.java
4699 (openDatagramChannel): Throws IOException.
4700 (openPipe): Throws IOException.
4701 (openSelector): Throws IOException.
4702 (openServerSocketChannel): Throws IOException.
4703 (openSocketChannel): Throws IOException.
4705 2003-02-11 Michael Koch <konqueror@gmx.de>
4707 * gnu/java/nio/FileLockImpl.java,
4708 java/nio/channels/FileLock.java: New files.
4710 2003-02-11 Michael Koch <konqueror@gmx.de>
4712 * java/nio/charset/IllegalCharsetNameException.java
4713 (serialVersionUID): New member variable.
4714 (charsetName): New member variable.
4715 (IllegalCharsetException): New implementation.
4716 (getCharsetName): New implementation.
4717 * java/nio/charset/UnsupportedCharsetException.java
4718 (serialVersionUID): New member variable.
4719 (charsetName): New member variable.
4720 (UnsupportedCharsetException): New implementation.
4721 (getCharsetName): New implementation.
4723 2003-02-10 Tom Tromey <tromey@redhat.com>
4725 * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
4726 (ex): Renamed from sqlException.
4728 2003-02-10 Raif S. Naffah <raif@fl.net.au>
4730 * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new
4731 method used to ensure seeding has occurred and that a specific
4732 seed can be set and used.
4734 2003-02-10 Ranjit Mathew <rmathew@hotmail.com>
4736 * java/lang/Win32Process.java (destroy): Declare as native.
4737 (hasExited): New native method.
4738 (exitValue): Define.
4739 (getErrorStream): Likewise.
4740 (getInputStream): Likewise.
4741 (getOutputStream): Likewise.
4742 (waitFor): Declare as native.
4743 (startProcess): New native method.
4744 (cleanup): Likewise.
4745 (ConcreteProcess): Define.
4746 (outputStream, inputStream, errorStream): New members.
4747 (procHandle, exitCode): Likewise.
4749 * java/lang/natWin32Process.cc
4750 (java::lang::ConcreteProcess::cleanup): Define.
4751 (java::lang::ConcreteProcess::destroy): Likewise.
4752 (java::lang::ConcreteProcess::hasExited): Likewise.
4753 (java::lang::ConcreteProcess::waitFor): Likewise.
4754 (new_string): Likewise.
4755 (java::lang::ConcreteProcess::startProcess): Likewise.
4757 2003-02-10 Raif S. Naffah <raif@fl.net.au>
4759 * java/math/BigInteger.java:
4760 Updated notice to include years 2002 and 3.
4761 Added 2 private (int) arrays with values from the HAC (Handbook of
4762 Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
4763 and t[] that contains nbr. of tests --used in isProbablePrime().
4765 * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
4767 * java/math/BigInteger.java (make(int[],int), add(int,int),
4768 add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
4769 isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
4770 bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
4773 * java/math/BigInteger.java (euclidInv): Reduce number of work vars
4774 (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
4775 (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
4776 BIs and returns void.
4777 (modInverse(BI)): Use new signatures of euclidInv().
4779 * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
4780 static small primes instead of remainder().
4781 Use pre-computed max nbr of trials based on bitlength of BI to test.
4782 Use pre-computed small primes for the trial tests instead of random
4785 * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
4788 * java/math/BigInteger.java (format(int,StringBuffer)): Removed
4789 invoacation of MPN.chars_per_word(). not used.
4791 * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
4792 local var and used where needed.
4794 * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
4795 Combined declaration with initialisation of locals.
4798 * java/math/BigInteger.java: Style changes
4799 (pow(int)): Removed 'else' keyword.
4800 (toString(int)): idem.
4801 (doubleValue()): idem.
4802 (bitLength()): idem.
4803 (equals(Object)): Use static methods name in same class w/o prepending
4805 (doubleValue()): idem.
4806 (setNegative(BI)): idem.
4808 (and(BI,int)): idem.
4811 (byteArrayToIntArray()): Removed casting to (int). this is
4813 (canonicalize()): idem.
4814 (alloc(int)): Always instantiate a new BI.
4816 2003-02-10 Tom Tromey <tromey@redhat.com>
4818 * java/sql/Timestamp.java (compareTo(Object)): New method.
4819 (compareTo(Timestamp)): Likewise.
4820 (serialVersionUID): Updated.
4822 2003-02-07 Mark Wielaard <mark@klomp.org>
4824 * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
4825 when verify is true.
4826 (JarFile(File, boolean)): Likewise.
4827 (manifestRead): Set manifestRead field correctly.
4829 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
4831 * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
4832 tests; see patch #1016 on Savannah.
4834 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
4836 * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
4837 (toString): do not return Strings starting with . and - erroneously.
4838 Improves Mauve results to 12 of 600 instead of 16 of 338 on
4841 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
4843 * java/beans/PropertyDescriptor.java
4844 (PropertyDescriptor(String, Class)): Sanity check getter and setter
4846 (PropertyDescriptor(String, Class, String, String)): Likewise.
4847 (PropertyDescriptor(String, Method, Method): Factor out getter and
4848 setter method sanity checks into new method.
4849 (findMethods): Don't do parameter sanity checking of get method here.
4850 (checkMethods): New method.
4852 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
4854 * java/beans/PropertyDescriptor.java: Reformat.
4856 2003-02-04 Tom Tromey <tromey@redhat.com>
4858 * java/io/PipedOutputStream.java (flush): Declare as throwing
4861 * java/io/PipedWriter.java (close): Declare as throwing
4863 * java/io/StringWriter.java (close): Declare as throwing
4866 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
4868 * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
4869 of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
4870 could also have been exported as "JNI_OnLoad@8" (MinGW) or
4871 "_JNI_OnLoad@8" (MSVC).
4873 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
4875 * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
4876 convention on Win32 to invoke native JNI methods.
4878 2003-02-03 Andrew Haley <aph@redhat.com>
4880 * configure.host (x86_64): Enable interpreter.
4882 2003-02-03 Andrew Haley <aph@redhat.com>
4884 * libgcj.spec.in (jc1): Add BACKTRACESPEC.
4885 * configure.host (x86_64): Default to -fno-omit-frame-pointer.
4886 * configure.in (BACKTRACESPEC): New.
4887 * configure: Regenerate.
4889 2003-02-02 Tom Tromey <tromey@redhat.com>
4891 * configure: Rebuilt.
4892 * configure.in (TOOLKIT) [xlib]: Set correctly.
4894 * Makefile.in: Rebuilt.
4895 * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
4898 2003-01-31 Mark WIelaard <mark@klomp.org>
4900 * Makefile.in: Rebuilt.
4901 * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
4903 2003-01-31 Tom Tromey <tromey@redhat.com>
4905 * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
4906 cast to element type.
4907 (_Jv_JNI_SetObjectArrayElement): Check array bounds.
4908 (_Jv_JNI_GetObjectArrayElement): Likewise.
4910 * Makefile.in: Rebuilt.
4911 * Makefile.am (cond_x_ltlibrary): Renamed library to
4912 lib-gnu-awt-xlib.la.
4913 (lib_gnu_awt_xlib_la_SOURCES): Renamed.
4914 (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
4915 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
4916 (lib_gnu_awt_xlib_la_LIBADD): Likewise.
4917 (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
4918 (lib_gnu_awt_xlib_la_LINK): Likewise.
4919 (install-exec-hook): Removed.
4920 (lib-gnu-awt-xlib.la): Renamed.
4922 2003-01-31 Tom Tromey <tromey@redhat.com>
4924 * aclocal.m4, configure, include/config.h.in: Rebuilt.
4925 * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
4926 aclocal.m4 and lost in some merge.
4928 * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
4929 Don't try to find graphics configuration.
4930 * java/awt/Toolkit.java (default_toolkit_name): Use new
4931 Configuration entry.
4932 * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
4934 * configure: Rebuilt.
4935 * configure.in (TOOLKIT): New subst.
4936 (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
4937 Do AWT tests much earlier. Run Gtk tests. Make jniinclude
4938 directory. Make output directories for .c files.
4939 * Makefile.in: Rebuilt.
4940 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
4941 (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
4942 (all_java_source_files): Added new sources.
4943 ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
4944 (gtk_c_files): New macro.
4945 (gtk_c_source_files): New macro.
4946 (cond_gtk_ltlibrary): New macro.
4947 ($(gtk_c_files)): New target.
4948 (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
4949 (gtk_awt_peer_sources): New macro.
4950 (gtk_c_headers): New macro.
4951 ($(gtk_c_headers)): New target.
4952 (ACLOCAL_AMFLAGS): New macro.
4953 * gtk.m4, glib.m4, libart.m4: New files.
4954 * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
4955 gnu/java/awt/peer/gtk/GdkGraphics.java,
4956 gnu/java/awt/peer/gtk/GtkArg.java,
4957 gnu/java/awt/peer/gtk/GtkArgList.java,
4958 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4959 gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
4960 gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
4961 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
4962 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
4963 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4964 gnu/java/awt/peer/gtk/GtkClipboard.java,
4965 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4966 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4967 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4968 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4969 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4970 gnu/java/awt/peer/gtk/GtkFramePeer.java,
4971 gnu/java/awt/peer/gtk/GtkGenericPeer.java,
4972 gnu/java/awt/peer/gtk/GtkImage.java,
4973 gnu/java/awt/peer/gtk/GtkImagePainter.java,
4974 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4975 gnu/java/awt/peer/gtk/GtkListPeer.java,
4976 gnu/java/awt/peer/gtk/GtkMainThread.java,
4977 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
4978 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
4979 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4980 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
4981 gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
4982 gnu/java/awt/peer/gtk/GtkPanelPeer.java,
4983 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
4984 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
4985 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4986 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
4987 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4988 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4989 gnu/java/awt/peer/gtk/GtkToolkit.java,
4990 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4991 gnu/java/awt/peer/gtk/TestAWT.java,
4992 gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
4993 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
4994 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
4995 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4996 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
4997 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
4998 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
4999 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
5000 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
5001 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
5002 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
5003 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
5004 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
5005 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
5006 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
5007 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5008 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
5009 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
5010 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
5011 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
5012 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
5013 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
5014 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
5015 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5016 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
5017 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
5018 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
5019 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
5020 jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
5021 jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
5022 jni/classpath/jnilink.c, jni/classpath/jnilink.h,
5023 jni/classpath/native_state.c, jni/classpath/native_state.h,
5024 jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
5026 2003-01-31 Julian Dolby <dolby@us.ibm.com>
5028 * java/util/Properties.java (load): Ignore backslash before EOF.
5030 2003-01-30 Jeff Sturm <jsturm@one-point.com>
5032 * java/lang/natClass.cc (initializeClass): Check tables when
5033 (state == JV_STATE_IN_PROGRESS).
5034 (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
5035 * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
5036 interpreted classes.
5037 (linkClass0): Use _Jv_WaitForState.
5039 2003-01-28 Oscar Pearce <oscar@pearceenterprises.com>
5041 * java/awt/Component.java (processPaintEvent): Dispose of Graphics
5042 object when finished.
5044 2003-01-28 Andreas Tobler <a.tobler@schweiz.ch>
5046 * libjava/configure.host: Disable can_unwind_signal on darwin.
5048 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
5051 * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
5052 additionally containing id of the owner thread as well as
5053 the number of nested times the thread has acquired the mutex.
5054 (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
5055 (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
5056 (_Jv_MutexUnlock): Check if really the owner thread, reset
5057 owner thread id to 0 before leaving, if leaving for the last
5059 (_Jv_MutexLock): Set owner thread id in the mutex and increment
5061 (_Jv_ThreadYield): Yield using a call to Sleep(0).
5062 * win32-threads.cc (_Jv_CondWait): Check if really owner of
5064 Pass handle of the broadcast event, instead of a pointer to it
5065 in Win32 ResetEvent( ) call.
5066 Remove incorrect return values.
5067 (_Jv_CondDestroy): Close both event handles and delete
5069 (_Jv_CondNotify): Check if really the owner thread.
5070 (_Jv_CondNotifyAll): Check if really the owner thread.
5071 (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
5072 (really_start): Use SetEvent( ) to signal daemon_cond.
5073 (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
5074 WaitForSingleObject( ) instead to wait for daemon_cond to be
5077 2003-01-27 Ranjit Mathew <rmathew@hotmail.com>
5079 * configure.in: Specifically define HAVE_BACKTRACE if building
5081 * include/win32.h: Remove HAVE_BACKTRACE definition.
5082 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
5083 * configure: Rebuilt.
5085 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
5087 * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
5088 Set and AC_SUBST. Remove USE_LIBDIR conditional.
5089 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
5090 (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
5091 * Makefile.in, configure: Rebuilt.
5093 2003-01-24 Ranjit Mathew <rmathew@hotmail.com>
5096 * java/io/natFileWin32.cc (performList): Append only "*.*"
5097 if the canonical file path already has a "\" at the end.
5099 2003-01-24 Tom Tromey <tromey@redhat.com>
5101 * defineclass.cc (handleMethodsEnd): Precompute code for static
5103 (handleCodeAttribute): Likewise.
5104 * resolve.cc (ncode): Use run_class for unsynchronized static
5106 * include/java-interp.h (class _Jv_InterpMethod): Declare
5108 * interpret.cc (run_synch_class): Initialize class.
5109 (run) [insn_invokestatic]: Don't initialize class.
5110 [insn_anewarray]: Likewise.
5111 [insn_multianewarray]: Likewise.
5112 (run_class): New function.
5114 2003-01-24 Tom Tromey <tromey@redhat.com>
5116 * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
5119 2003-01-22 Andrew Haley <aph@redhat.com>
5121 * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
5122 * configure.host (CHECKREFSPEC): Define for x86_64.
5124 2003-01-21 Tom Tromey <tromey@redhat.com>
5126 * java/util/natResourceBundle.cc (getCallingClassLoader): Start
5129 2003-01-21 Vladimir Puskas <vpuskas@eunet.yu>
5131 * java/io/natFileWin32.cc (isAbsolute): Check path length before
5132 looking at any characters.
5133 * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
5135 (isAbsolute): Check path's length as well.
5137 2003-01-17 Mark Wielaard <mark@klomp.org>
5139 * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
5140 (nat_source_files): Add natVMObjectStreamClass.cc.
5141 * Makefile.in: Regenerated.
5142 * gcj/javaprims.h (namespace java): Regenerated.
5143 * java/io/ObjectStreamClass.java (getClassUID): Call
5144 VMObjectStreamClass.hasClassInitializer().
5145 (hasClassInitializer): Removed.
5146 * java/io/VMObjectStreamClass.java: New class.
5147 * java/io/natVMObjectStreamClass.cc: New file.
5148 * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
5150 2003-01-16 Mark Wielaard <mark@klomp.org>
5152 * java/net/SocketImpl.java (toString): Don't explicitly call
5153 toString() on possible null address.
5155 2003-01-16 Michael Koch <konqueror@gmx.de>
5157 * java/net/MulticastSocket.java
5158 (setInterface): Reindented.
5160 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5162 * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
5163 * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
5164 * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
5165 translateY arguments. Implement.
5166 * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
5167 down translation arguments.
5168 (drawPolyline, drawPolygon): Fix incorrect tests.
5169 * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
5170 translateX and translateY arguments.
5172 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5174 * Makefile.in: Rebuilt.
5175 * Makefile.am (xlib_includes): New macro.
5178 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5180 * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
5181 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
5182 16-bit display mode.
5184 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5186 * java/awt/CardLayout.java (show): Rewrote.
5187 (gotoComponent): Removed `target' argument. Simplified code.
5188 Don't pre-compute `choice' unless `what' is FIRST or LAST.
5189 Changed all callers.
5192 2003-01-14 Michael Koch <konqueror@gmx.de>
5194 * java/net/InetSocketAddress.java
5195 (serialVersionUID): New member variable.
5196 * java/net/NetPermission.java
5197 (NetPermission): Dont implement java.io.Serialization directly.
5198 * java/net/SocketAddress.java:
5199 (serialVersionUID): Documentation added.
5201 2003-01-14 Michael Koch <konqueror@gmx.de>
5203 * java/awt/Label.java
5204 (Label): Implements javax.accessibility.Accessible;
5205 * java/awt/List.java
5206 (List): Implements javax.accessibility.Accessible;
5207 * java/awt/ScrollPane.java
5208 (ScrollPane): Implements javax.accessibility.Accessible;
5209 * java/awt/Scrollbar.java
5210 (Scrollbar): Implements javax.accessibility.Accessible;
5211 * java/awt/TextComponent.java
5212 (setCaretPosition): Throw exception, documentation added.
5213 * java/awt/Toolkit.java:
5214 Added some newlines in method documentations.
5215 (createButton): Exception documentation added.
5216 (createTextField): Exception documentation added.
5217 (createLabel): Exception documentation added.
5218 (createList): Exception documentation added.
5219 (createCheckbox): Exception documentation added.
5220 (createScrollbar): Exception documentation added.
5221 (createScrollPane): Exception documentation added.
5222 (createTextArea): Exception documentation added.
5223 (createChoice): Exception documentation added.
5224 (createFrame): Exception documentation added.
5225 (createWindow): Exception documentation added.
5226 (createDialog): Exception documentation added.
5227 (createMenuBar): Exception documentation added.
5228 (createMenu): Exception documentation added.
5229 (createMenuItem): Exception documentation added.
5230 (createFileDialog): Exception documentation added.
5231 (createCheckboxMenuItem): Exception documentation added.
5232 (loadSystemColors): Exception documentation added.
5233 (setDynamicLayout): Exception documentation added.
5234 (isDynamicLayoutSet): Exception documentation added.
5235 (isDynamicLayoutActive): Exception documentation added.
5236 (getScreenSize): Exception documentation added.
5237 (getScreenResolution): Exception documentation added.
5238 (getScreenInsets): Exception documentation added.
5239 (getColorModel): Exception documentation added.
5240 (getSystemClipboard): Exception documentation added.
5241 (getSystemSelection): Exception documentation added.
5242 (getMenuShortcutKeyMask): Exception documentation added.
5243 (getSystemEventQueue): Exception documentation added.
5244 * java/awt/Window.java:
5245 Reindented some code.
5246 (Window): Centralized implementation, documentation added.
5247 (finalize): Documentation added.
5248 (hide): Fixed typo in comment.
5249 (getWindowListeners): Documentation added.
5250 * java/awt/color/ColorSpace.java
5251 (toRGB): Documentation added.
5252 * java/awt/color/ICC_ColorSpace.java
5253 (ICC_ColorSpace): Documentation added.
5254 (toRGB): Throw exception, documentation added.
5255 (fromRGB): Throw exception, documentation added.
5256 (toCIEXYZ): Documentation added.
5257 (fromCIEXYZ): Documentation added.
5258 (getMinValue): Documentation added.
5259 (getMaxValue): Documentation added.
5260 * java/awt/geom/Dimension2D.java
5261 (clone): Documentation added.
5262 * java/awt/geom/GeneralPath.java
5263 (clone): Documentation added.
5264 * java/awt/geom/Line2D.java
5265 (clone): Documentation added.
5266 * java/awt/geom/QuadCurve2D.java
5267 (clone): Documentation added.
5268 * java/awt/image/ColorModel.java
5269 (ColorModel): Throw exception, documentation added.
5270 * java/awt/image/ImageFilter.java
5271 (clone): Doesnt throw CloneNotSupportedException.
5273 2003-01-14 Andrew Haley <aph@redhat.com>
5275 * java/lang/natRuntime.cc (_load): StackTrace access needs to be
5278 2003-01-10 Andrew Haley <aph@redhat.com>
5280 * include/dwarf2-signal.h: Remove x86_64.
5281 * configure.host (x86_64 DIVIDESPEC): Remove.
5282 * include/x86_64-signal.h: New file.
5283 * configure.in: Regenerate.
5285 2003-01-10 Michael Koch <konqueror@gmx.de>
5287 * java/net/DatagramSocket.java
5288 (ch): Description added.
5289 (remotePort): Initialize with -1.
5290 (connect): Doesnt throws SocketException.
5291 * java/net/MulticastSocket.java
5292 (setInterface): Merge with Classpath.
5293 * java/net/ServerSocket.java
5294 (closed): New member variable.
5295 (bind): Check if socket is closed.
5296 (close): Close an associated channel too, set new value to closed.
5297 (isBound): Reindented.
5298 (isClosed): Implemented.
5299 * java/net/Socket.java
5300 (closed): New member variable.
5301 (bind): Check if socket is closed.
5302 (connect): Check if socket is closed.
5303 (close): Close an associated channel too, set new value to closed.
5304 (isClosed): Implemented.
5306 2003-01-10 Michael Koch <konqueror@gmx.de>
5308 * java/awt/DisplayMode.java
5309 (equals): Fixed argument type and implementation.
5311 2003-01-07 Tom Tromey <tromey@redhat.com>
5313 * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
5314 JV_HASH_SYNCHRONIZATION.
5315 * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
5316 JV_HASH_SYNCHRONIZATION.
5318 2003-01-07 Michael Koch <konqueror@gmx.de>
5320 * java/net/DatagramSocket.java:
5321 Added classpath license info.
5322 (DatagramSocket): Merged description with classpath.
5323 (close): Merged description with classpath.
5324 (getChannel): Merged description with classpath.
5325 (getInetAddress): Merged description with classpath.
5326 (getPort): Merged description with classpath.
5327 (getLocalAddress): Merged description with classpath.
5328 (getLocalPort): Merged description with classpath.
5329 (getSoTimeout): Merged description with classpath.
5330 (setSoTimeout): Merged description with classpath.
5331 (getSendBufferSize): Merged description with classpath.
5332 (setSendBufferSize): Merged description with classpath.
5333 (getReceiveBufferSize): Merged description with classpath.
5334 (setReceiveBufferSize): Merged description with classpath.
5336 2003-01-04 Tom Tromey <tromey@redhat.com>
5338 * java/awt/List.java: Merged with Classpath.
5340 2003-01-03 Mark Wielaard <mark@klomp.org>
5342 * java/io/FileDescriptor.java (position): New private field.
5343 * java/io/natFileDescriptorPosix.cc (write): Up position.
5344 (setLength): Use and set position.
5345 (seek): Set position.
5346 (getFilePointer): Return position.
5347 (read): Up position.
5349 2003-01-03 Mark Wielaard <mark@klomp.org>
5351 Merge with Classpath:
5352 * java/io/ObjectStreamClass.java (lookup): Split method and call
5353 lookupForClassObject().
5354 (lookupForClassObject): New method.
5355 (isProxyClass): New field.
5356 (setClass): Set isProxyClass, add object to classLookupTable, set
5357 superClass and calculateOffsets.
5358 (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
5359 and not a proxy class.
5360 (setFields): Set accessible true for serialPersistentFields.
5361 (getClassUID): Same for suid. And check if suid is of type long.
5362 (hasClassInitializer): Don't throw NoSuchMethodError.
5364 2003-01-03 Mark Wielaard <mark@klomp.org>
5366 * java/io/FileInputStream.java (finalize): Don't explicitly
5367 finalize FileDescriptor.
5369 2003-01-03 Jeff Sturm <jsturm@one-point.com>
5371 * configure.host (sparc*-*): Enable bytecode interpreter.
5373 2003-01-03 Dhek Bhun Kho <bhun@chello.nl>
5375 * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
5376 Don't throw RemoteException.
5377 * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
5378 throw RemoteException.
5380 2003-01-03 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
5382 * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
5383 proxyHost): New static fields.
5384 (<clinit>): Initialize new fields.
5385 (connect): Use proxy if necessary.
5386 (usingProxy): Implement.
5388 2003-01-03 Eric Blake <ebb9@email.byu.edu>
5390 * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
5391 (TreeIterator.remove): Prefer IllegalStateException over
5392 ConcurrentModificationException, to match Sun.
5394 2002-12-22 Anthony Green <green@redhat.com>
5396 * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
5398 2003-01-02 Mark Wielaard <mark@klomp.org>
5400 * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
5402 (HTTP_USE_PROXY): Add field.
5403 (getResponseVals): Only set responseCode when not yet explicitly
5406 2003-01-02 Artur Biesiadowski <abies@pg.gda.pl>
5407 Mark Wielaard <mark@klomp.org>
5409 * java/util/zip/ZipFile.java (entries): Now HashMap.
5410 (readLeShort(DataInput, byte[])): Read from given byte array.
5411 (readLeInt(DataInput, byte[]): Likewise.
5412 (readLeShort(byte[] b, int off)): New method.
5413 (readLeInt(byte[] b, int off)): Likewise.
5414 (readEntries): Use byte arrays to read info in bigger chunks.
5415 (getEntries): Return HashMap.
5416 (getEntry): Use HashMap.
5417 (locBuf): New private field.
5418 (checkLocalHeader): Use locBuf to read info in one chunk.
5419 (getInputStream): Use entries HashMap, wrap PartialInputStream
5420 in BufferedInputStream.
5421 (ZipEntryEnumeration): Use HashMap and Interator.
5423 2003-01-02 Mark Wielaard <mark@klomp.org>
5424 Jeroen Frijters <jeroen@sumatra.nl>
5426 * java/net/URLClassLoader.java (Resource.getCodeSource):
5427 Fix check certs == null.
5428 (getCanonicalFileURL): Removed method.
5429 (JarURLLoader): Don't call removed method.
5430 (FileURLLoader): Likewise.
5431 (FileURLLoader.getResource): Don't canonicalize file name.
5433 2003-01-01 Tom Tromey <tromey@redhat.com>
5435 * Makefile.in: Rebuilt.
5436 * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
5437 * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
5438 java/awt/BufferCapabilities.java, java/awt/Button.java,
5439 java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
5440 java/awt/Container.java, java/awt/Cursor.java,
5441 java/awt/EventQueue.java, java/awt/FileDialog.java,
5442 java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
5443 java/awt/MenuBar.java, java/awt/MenuComponent.java,
5444 java/awt/PopupMenu.java, java/awt/ScrollPane.java,
5445 java/awt/Scrollbar.java, java/awt/TextArea.java,
5446 java/awt/TextField.java, java/awt/color/CMMException.java,
5447 java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
5448 java/awt/color/ProfileDataException.java,
5449 java/awt/datatransfer/Clipboard.java,
5450 java/awt/datatransfer/DataFlavor.java,
5451 java/awt/datatransfer/FlavorMap.java,
5452 java/awt/datatransfer/SystemFlavorMap.java,
5453 java/awt/dnd/DragGestureEvent.java,
5454 java/awt/dnd/DragGestureRecognizer.java,
5455 java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
5456 java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
5457 java/awt/im/InputMethodHighlight.java,
5458 java/io/PipedOutputStream.java, java/io/PipedWriter.java,
5459 java/rmi/server/RMIClassLoader.java: Merged from Classpath.
5461 * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
5462 `op' to BufferedImageOp.
5464 2002-12-31 Tom Tromey <tromey@redhat.com>
5466 Fix for PR libgcj/7416:
5467 * javax/naming/InitialContext.java (init): Use
5468 gnu.classpath.home.url.
5469 * java/security/Security.java: Use new properties.
5470 (loadProviders): Accept base url; use it.
5471 * java/lang/System.java: Document gnu.classpath.vm.shortname, and
5472 gnu.classpath.home.url.
5473 (gnu.classpath.home.url): Define.
5474 (gnu.classpath.vm.shortname): Likewise.
5476 2002-12-31 Tom Tromey <tromey@redhat.com>
5477 Ranjit Mathew <rmathew@hotmail.com>
5479 Fix for PR libgcj/8997:
5480 * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
5482 * include/posix.h (_Jv_platform_usleep): New function.
5483 * include/win32.h (_Jv_platform_usleep): New function.
5485 2002-12-29 Tom Tromey <tromey@redhat.com>
5487 * gcj/javaprims.h: Updated.
5488 * scripts/classes.pl (scan): Removed stray semicolon.
5490 2002-12-30 Mark Wielaard <mark@klomp.org>
5492 * java/net/URLStreamHandler.java (toExternalForm): Ignore port
5495 2002-12-30 Mark Wielaard <mark@klomp.org>
5497 * java/util/Properties (formatForOutput): Don't fall through to
5498 default case after escaping character.
5500 2002-12-30 Mark Wielaard <mark@klomp.org>
5502 * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
5505 2002-12-27 Mark Mitchell <mark@codesourcery.com>
5507 * boehm.cc: Remove stray semicolon.
5508 * interpret.cc: Likewise.
5509 * prims.cc: Likewise.
5510 * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
5511 earlier to ensure default arguments are processed.
5512 * gcj/array.h (JArray): Add forward declaration.
5513 (elements): Likewise.
5514 * gcj/javaprim.h: Remove stray semicolons.
5515 * include/bohm-gc.h: Likewise.
5516 * include/jni.h: Likewise.
5517 * include/jvm.h: Likewise.
5518 * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
5520 2002-12-23 Jeff Sturm <jsturm@one-point.com>
5522 * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
5524 * java/lang/natClass.cc (initializeClass): Link vtable, otable,
5525 idt tables after initializing superclass.
5526 * java/lang/natClassLoader.cc (uaddr): New typedef.
5527 (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
5528 if they are constant pool indicies. Don't link vtable, otable yet.
5530 2002-12-21 Anthony Green <green@redhat.com>
5532 * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
5534 * Makefile.in: Rebuilt.
5536 2002-12-19 Anthony Green <green@redhat.com>
5538 * Makefile.am (ordinary_java_source_files): Add
5539 org/xml/sax/helpers/NewInstance.java.
5540 * Makefile.in: Rebuilt.
5541 * org/xml/sax/package.html, org/xml/sax/ext/package.html,
5542 org/xml/sax/helpers/package.html: New files.
5543 * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
5544 http://www.saxproject.org.
5546 2002-12-19 Andrew Haley <aph@redhat.com>
5548 * java/util/natResourceBundle.cc: Include
5549 ArrayIndexOutOfBoundsException.h.
5550 (getCallingClassLoader): Don't put upper bound on stack search.
5551 Catch ArrayIndexOutOfBoundsException.
5553 2002-12-19 Tom Tromey <tromey@redhat.com>
5555 * libtool-version: Increased `current'.
5557 2002-12-19 Tom Tromey <tromey@redhat.com>
5559 * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
5561 * java/lang/ClassLoader.java (defineClass): Use chained
5562 exception when rethrowing.
5563 * defineclass.cc (handleClassBegin): Mark class as interpreted.
5564 * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
5566 * resolve.cc (_Jv_PrepareMissingMethods): New function.
5567 (_Jv_PrepareClass): Use it.
5568 * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
5569 (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
5570 * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
5571 (Class): _Jv_PrepareMissingMethods now friend.
5572 * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
5573 Record `NULL' for system class loader.
5574 (_Jv_RegisterInitiatingLoader): Use JvSynchronize. Special case
5575 system class loader.
5576 (_Jv_FindClassInCache): Likewise.
5577 (_Jv_UnregisterClass): Use JvSynchronize. Free old loader info.
5578 (_Jv_FindClass): Special case system class loader.
5579 * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
5580 (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
5582 (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
5584 (_getDeclaredMethod): Don't return synthetic methods.
5585 (getDeclaredMethods): Likewise.
5586 (_getMethod): Likewise.
5587 (_getMethods): Likewise.
5589 2002-12-18 Raif Naffah <raif@fl.net.au>
5591 * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
5592 canonical form after divide().
5593 (modInverse): Likewise.
5595 2002-12-13 Casey Marshall <rsdio@metastatic.org>
5596 Mark Wielaard <mark@klomp.org>
5598 * java/security/SecurityRandom (digest): Removed field.
5599 (SecureRandom): Check all providers for case-insensitive SecureRandom
5600 implementation. Don't ignore classname == null. Fallback to SHA1PRNG
5602 (getInstance(String,Provider,boolean): New method.
5603 (getInstance(String)): Use new method.
5604 (getInstance(String,String)): Likewise.
5605 (getInstance(String,Provider)): Likewise.
5607 2002-12-13 Casey Marshall <rsdio@metastatic.org>
5609 * java/security/Security.java (loadProviders): Increment i only once.
5611 2002-12-12 Mark Wielaard <mark@klomp.org>
5613 * java/lang/ClassLoader.java (resolveClass0): Transform
5614 ClassNotFoundException to NoClassDefFoundError. Transform all other
5615 throwables to LinkageError.
5617 2002-12-11 Tom Tromey <tromey@redhat.com>
5619 * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
5621 * java/lang/ClassLoader.java (loadedClasses): New field.
5622 (defineClass): Fixed indentation. Put new class in
5624 (findLoadedClass): Implement here.
5625 * java/lang/natClassLoader.cc (findLoadedClass): Removed.
5627 2002-12-10 Tom Tromey <tromey@redhat.com>
5629 * Makefile.in: Rebuilt.
5630 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
5631 * gnu/gcj/runtime/natVMClassLoader.cc: New file.
5632 (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
5633 * java/lang/natClassLoader.cc
5634 (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
5636 2002-12-10 Mark Wielaard <mark@klomp.org>
5637 Tom Tromey <tromey@redhat.com>
5639 * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
5640 (JarURLLoader): Use it.
5641 (FileURLLoader): Likewise.
5642 (JarURLResource.getURL): Use chained exception.
5643 (FileResource.getURL): Likewise.
5644 (FileURLLoader.getResource): Use canonical file name.
5645 (addURL): Indentation fix.
5647 2002-12-10 Tom Tromey <tromey@redhat.com>
5649 * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
5650 From Laurent Bardet <l.bardet@magic.fr>.
5652 2002-12-09 Tom Tromey <tromey@redhat.com>
5654 * include/win32.h (_Jv_platform_solib_prefix): New define.
5655 (_Jv_platform_solib_suffix): Likewise.
5656 * include/posix.h (_Jv_platform_solib_prefix): New define.
5657 (_Jv_platform_solib_suffix): Likewise.
5658 * java/lang/natRuntime.cc: Include StackTrace.h.
5659 (_load): Use findLibrary and new platform defines.
5660 (nativeGetLibname): Use new platform defines.
5662 * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
5665 2002-12-08 Mark Wielaard <mark@klomp.org>
5667 * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
5668 cache remote jar files.
5669 * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
5670 add File.separator to URL when it is a directory.
5671 * java/lang/ClassLoader.java: Add Classpath javadoc.
5673 (getParent): Add (disabled) security check.
5674 (findLibrary): New default method.
5675 * java/net/JarURLConnection.java (getManifest): Implement.
5676 (getInputStream): Only create InputStream when entry exists.
5677 (getHeaders): Only use jarFileURLConnection or JarEntry to set length
5679 * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
5681 2002-12-08 Mark Wielaard <mark@klomp.org>
5683 * java/util/ResourceBundle.java (resourceBundleCache): Not final.
5684 (lastDefaultLocale): New field.
5685 (getBundle): When Locale.getDefault != lastDefaultLocale reset
5686 resourceBundleCache.
5688 2002-12-06 Mark Wielaard <mark@klomp.org>
5690 * java/net/InetAddress.java (toString): Use hostname when not null,
5691 don't do an explicit reverse getHostName() lookup.
5692 * java/net/Socket.java (setSocketImplFactory): When fac == null throw
5693 NullPointerException.
5695 2002-12-06 Tom Tromey <tromey@redhat.com>
5697 * include/java-interp.h (class _Jv_InterpMethod): Added
5699 * boehm.cc (_Jv_MarkObj): Consolidated interpreter code. Also
5700 mark `prepared' field of interpreted method.
5701 * interpret.cc (compile): Use _Jv_AllocBytes.
5703 2002-12-05 Andrew Haley <aph@redhat.com>
5705 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
5706 #ifdef (HAVE_BACKTRACE) around the whole function body.
5708 2002-12-05 Tom Tromey <tromey@redhat.com>
5710 * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
5711 * resolve.cc: Don't include AbstractMethodError.h.
5712 (_Jv_abstractMethodError): Removed.
5713 * defineclass.cc (handleMethodsBegin): Initialize method index to
5715 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
5716 method index for "new" final method.
5717 (_Jv_SetVTableEntries): Compare index against -1 instead of using
5718 isVirtualMethod. Added `flags' argument.
5719 (_Jv_MakeVTable): Throw exception for abstract method in concrete
5722 2002-12-04 Tom Tromey <tromey@redhat.com>
5724 * java/net/SocketPermission.java (hashCode): Rewrote.
5726 2002-12-04 Tom Tromey <tromey@redhat.com>
5728 * Makefile.in: Rebuilt.
5729 * Makefile.am (nat_source_files): Added natVMSecurityManager,
5731 * java/util/ResourceBundle.java (Security): Removed.
5732 (getCallingClassLoader): Now native.
5733 * java/util/natResourceBundle.cc: New file.
5734 * java/lang/natVMSecurityManager.cc: New file.
5735 * java/lang/VMSecurityManager.java (getClassContext): Now native.
5737 2002-12-03 Mark Wielaard <mark@klomp.org>
5739 * java/util/jar/JarFile.java (manifest): Not final.
5740 (manifestRead): New field.
5741 (JarFile): Don't read Manifest in constructor.
5742 (getManifest): New method.
5743 (JarEnumeration.nextElement): Use new method.
5744 (getEntry): Likewise.
5745 * java/util/zip/ZipFile.java (name): Final.
5747 (entries): Change type to Hashtable.
5748 (closed): New field.
5749 (ZipFile): Don't read enties in constructor.
5750 (readEntries): Use Hashtable.
5751 (close): Set new close flag and set entries to null inside
5753 (entries): Contruct enumeration using new getEntries() method and
5755 (getEntryIndex): Removed.
5756 (getEntries): New method.
5757 (getEntry): Use new getEntries() method and entries Hastable.
5758 (getInputStream): Likewise.
5759 (size): Return getEntries().size().
5760 (ZipEntryEnumeration): Wrap entries Hashtable elements.
5761 * java/util/zip/ZipEntry.java (cal): Don't initialize.
5763 (dostime): New field.
5764 (zipFileIndex): Removed.
5765 (ZipEntry(ZipEntry)): Copy dostime.
5766 (setDOSTime): Now final and doesn't convert dos time.
5767 (getDOSTime): Likewise.
5768 (setTime): Convert dos time.
5769 (getTime): Likewise.
5770 (getCalendar): New method.
5771 (setExtra): Use setTime().
5772 * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
5774 2002-12-03 Tom Tromey <tromey@redhat.com>
5776 * java/lang/Character.java (forDigit): Formatting fix.
5778 2002-12-03 Raif Naffah <raif@fl.net.au>
5780 * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
5781 * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
5782 * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
5784 2002-12-03 Andrew Haley <aph@redhat.com>
5786 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
5788 (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
5789 (_Jv_PopClass): New.
5790 (_Jv_PushClass): New.
5791 * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
5792 discover the ClassLoader of our caller.
5793 (_Jv_CheckArrayStore): Don't check that a class is assignment
5794 compatible with Object.
5795 * java/lang/natVMTHrowable.cc: Delete.
5796 * gnu/gcj/runtime/StackTrace.java: New, partly copied from
5797 java.lang.VMThrowable.
5798 (StackTrace(), StackTrace(int)): New constructors.
5799 (classAt, methodAt, update, methodAtAddress): New methods.
5801 * java/lang/VMThrowable.java: Use StackTrace instead of
5803 * java/lang/Class.h (getClassLoaderInternal): New.
5804 (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
5805 Be friendly with gnu::gcj::runtime::StackTrace.
5806 (Object.chain): New field.
5807 * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
5808 gnu::gcj::runtime::StackTrace.
5809 * gnu/gcj/runtime/natStackTrace.cc: New file.
5810 * gnu/gcj/runtime/MethodRef.java: New file.
5811 * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
5812 instead of getClassLoader().
5813 * verify.cc (class _Jv_BytecodeVerifier): Likewise.
5814 java::lang::VMThrowable.
5815 * Makefile.am (core_java_source_files): Add MethodRef.java,
5817 (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
5818 * Makefile.in: Rebuild.
5820 2002-12-02 Kaz Kojima <kkojima@gcc.gnu.org>
5822 * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
5823 CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
5824 yes also for sh-linux* and sh[34]*-linux*.
5825 * configure.in: Add sh-linux* and sh[34]*-linux* cases and
5826 set SIGNAL_HANDLER to use DWARF2 exception for them.
5827 * configure: Regenerate.
5829 2002-12-02 Tom Tromey <tromey@redhat.com>
5831 * jni.cc: Added `name' argument.
5832 * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
5833 `const char *' argument.
5834 (class _Jv_JNIEnv) [DefineClass]: Likewise.
5836 2002-12-01 Tom Tromey <tromey@redhat.com>
5838 Bug compatibility, for PR libgcj/8738:
5839 * java/io/CharArrayWriter.java (close): Do nothing.
5841 (reset): Don't touch `closed'.
5842 (write(int)): Don't throw IOException.
5843 (write(char[],int,int)): Likewise.
5844 (write(String,int,int)): Likewise.
5847 2002-12-01 Mark Wielaard <mark@klomp.org>
5849 * java/lang/SecurityManager.java: Remerge comments, indenting and
5850 checkXXX methods with Classpath.
5852 2002-11-29 Scott Gilbertson <scottg@mantatest.com>
5854 * java/awt/image/ColorModel.java (getUnnormalizedComponents,
5855 getNormalizedComponents): Fix calculation which was using one too
5856 many bits in the unnormalized format.
5858 2002-11-29 Gary Benson <gbenson@redhat.com>
5861 * java/beans/Introspector.java (flushCaches): New method.
5862 (flushFromCaches): Likewise.
5864 2002-11-29 Michael Koch <konqueror@gmx.de>
5866 * java/nio/channels/DatagramChannel.java
5867 (open): Added exception documentation.
5868 (write): Added exception documentation.
5869 (connect): Added exception documentation.
5870 (disconnect): Added exception documentation.
5871 (isConnected): Added exception documentation.
5872 (read): Added exception documentation.
5873 (receive): Added exception documentation.
5874 (send): Added exception documentation.
5875 (validOps): Added exception documentation.
5876 * java/nio/channels/SocketChannel.java
5877 (open): Added exception documentation.
5878 (read): Added exception documentation.
5879 (write): Added exception documentation.
5880 (connect): Added exception documentation.
5881 (finishConnect): Added exception documentation.
5883 2002-11-29 Michael Koch <konqueror@gmx.de>
5885 * gnu/java/nio/DatagramChannelImpl:
5886 (fd): New member variable to store file descriptor of socket.
5887 * gnu/java/nio/SelectionKeyImpl.java:
5889 (readyOps): New member variable.
5890 (interestOps): New member variable.
5891 (readyOps): Implemented.
5892 (readyOps): New method to set member variable readyOps.
5893 (interestOps): Replaced ops by interestOps.
5894 * gnu/java/nio/SelectorImpl.java:
5895 (SelectorImpl): Initialize key sets.
5896 (select): Call select with -1 instead of Long.MAX_VALUE).
5897 (java_do_select): Make it a native method.
5898 (getFDsAsArray): New helper method.
5899 (select): Remove canceled keys, give only interested file discriptors
5900 to java_do_select, set ready ops.
5901 (add): No need to initialize keys set here.
5902 (add_selected): No need to initialize selected set here.
5903 (deregisterCanceledKeys): New helper method.
5904 (register): Set interest ops, set attachments, added handling of datagram
5906 * gnu/java/nio/ServerSocketChannelImpl:
5907 (SocketAccept): Renamed from NioSocketAccept.
5908 (implConfigureBlocking): Implemented.
5909 (accept): Use SocketAccept instead of NioSocketAccept.
5910 * gnu/java/nio/SocketChannelImpl:
5911 Reactivate native methods.
5913 2002-11-29 Michael Koch <konqueror@gmx.de>
5915 * gnu/java/nio/natByteBufferImpl.cc,
5916 gnu/java/nio/natCharBufferImpl.cc,
5917 gnu/java/nio/natDoubleBufferImpl.cc,
5918 gnu/java/nio/natFloatBufferImpl.cc,
5919 gnu/java/nio/natIntBufferImpl.cc,
5920 gnu/java/nio/natLongBufferImpl.cc,
5921 gnu/java/nio/natSelectorImpl.cc,
5922 gnu/java/nio/natServerSocketChannelImpl.cc,
5923 gnu/java/nio/natShortBufferImpl.cc,
5924 gnu/java/nio/natSocketChannelImpl.cc:
5925 New files that implement native functionalities.
5927 2002-11-29 Michael Koch <konqueror@gmx.de>
5929 * gnu/java/nio/ByteBufferImpl.java
5930 (ByteBufferImpl): Moved position() after limit.
5931 (nio_*): Use native implementation.
5932 * gnu/java/nio/CharBufferImpl.java:
5934 (endian): New member variable string endianess of buffer.
5935 (CharBufferImpl): Moved position() after limit.
5936 (nio_*): Use native implementation.
5937 (subSequence): Implemented.
5938 * gnu/java/nio/DoubleBufferImpl.java
5939 (DoubleBufferImpl): Moved position() after limit.
5940 (nio_*): Use native implementation.
5941 * gnu/java/nio/FloatBufferImpl.java
5943 (FloatBufferImpl): Moved position() after limit.
5944 (nio_*): Use native implementation.
5945 * gnu/java/nio/IntBufferImpl.java
5946 Added needed imports, Reformated.
5947 (IntBufferImpl): Moved position() after limit.
5948 (nio_*): Use native implementation.
5949 * gnu/java/nio/LongBufferImpl.java
5951 (LongBufferImpl): Moved position() after limit.
5952 (nio_*): Use native implementation.
5953 * gnu/java/nio/ShortBufferImpl.java
5955 (ShortBufferImpl): Moved position() after limit.
5956 (nio_*): Use native implementation.
5958 2002-11-27 Julian Dolby <dolby@us.ibm.com>
5960 * java/util/Locale.java (toString): Improve efficiency if country
5961 and variant are both empty.
5963 2002-11-26 Tom Tromey <tromey@redhat.com>
5965 * verify.cc (pop_init_ref): New method.
5966 (verify_instructions_0) [op_iaload, op_laload, op_faload,
5967 op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
5968 op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
5969 op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
5970 op_instanceof, op_monitorenter, op_monitorexit]: Use it.
5971 (verify_instructions_0) [op_invokevirtual, op_invokespecial,
5972 op_invokestatic, op_invokeinterface]: Use pop_init_ref. Don't
5973 let `this' argument be uninitialized. Don't let `null' be passed
5974 as `this' to construtor.
5976 2002-11-26 Mark Wielaard <mark@klomp.org>
5978 * javax/transaction/HeuristicCommitException.java: Classpath merge.
5979 * javax/transaction/HeuristicMixedException.java: Likewise.
5980 * javax/transaction/HeuristicRollbackException.java: Likewise.
5981 * javax/transaction/InvalidTransactionException.java: Likewise.
5982 * javax/transaction/NotSupportedException.java: Likewise.
5983 * javax/transaction/RollbackException.java: Likewise.
5984 * javax/transaction/Status.java: Likewise.
5985 * javax/transaction/Synchronization.java: Likewise.
5986 * javax/transaction/SystemException.java: Likewise.
5987 * javax/transaction/Transaction.java: Likewise.
5988 * javax/transaction/TransactionManager.java: Likewise.
5989 * javax/transaction/TransactionRequiredException.java: Likewise.
5990 * javax/transaction/TransactionRolledbackException.java: Likewise.
5991 * javax/transaction/UserTransaction.java: Likewise.
5992 * javax/transaction/xa/XAException.java: Likewise.
5993 * javax/transaction/xa/XAResource.java: Likewise.
5994 * javax/transaction/xa/Xid.java: Likewise.
5996 2002-11-26 Andreas Tobler <a.tobler@schweiz.ch>
5998 * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
6000 * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
6001 * include/posix.h (socklen_t): Define if not already defined.
6003 2002-11-25 Tom Tromey <tromey@redhat.com>
6005 * verify.cc (type::compatible): Backed out broken change.
6007 * verify.cc (type::compatible): Check initialization status
6009 * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
6010 Don't use NULLCHECK.
6012 2002-11-23 H.J. Lu <hjl@gnu.org>
6014 * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
6015 Include ../config/accross.m4.
6016 * aclocal.m4; Rebuild.
6017 * configure: Likewise.
6019 2002-11-23 Mark Wielaard <mark@klomp.org>
6021 * javax/naming/AuthenticationException.java: Update copyright header.
6022 * javax/naming/AuthenticationNotSupportedException.java: Likewise.
6023 * javax/naming/Binding.java: Likewise.
6024 * javax/naming/CannotProceedException.java: Likewise.
6025 * javax/naming/CommunicationException.java: Likewise.
6026 * javax/naming/CompositeName.java: Likewise.
6027 * javax/naming/CompoundName.java: Likewise.
6028 * javax/naming/ConfigurationException.java: Likewise.
6029 * javax/naming/Context.java: Likewise.
6030 * javax/naming/ContextNotEmptyException.java: Likewise.
6031 * javax/naming/InitialContext.java: Likewise.
6032 * javax/naming/InsufficientResourcesException.java: Likewise.
6033 * javax/naming/InterruptedNamingException.java: Likewise.
6034 * javax/naming/LimitExceededException.java: Likewise.
6035 * javax/naming/LinkException.java: Likewise.
6036 * javax/naming/LinkLoopException.java: Likewise.
6037 * javax/naming/LinkRef.java: Likewise.
6038 * javax/naming/MalformedLinkException.java: Likewise.
6039 * javax/naming/NameAlreadyBoundException.java: Likewise.
6040 * javax/naming/NameClassPair.java: Likewise.
6041 * javax/naming/NameNotFoundException.java: Likewise.
6042 * javax/naming/NameParser.java: Likewise.
6043 * javax/naming/NamingEnumeration.java: Likewise.
6044 * javax/naming/NamingSecurityException.java: Likewise.
6045 * javax/naming/NoInitialContextException.java: Likewise.
6046 * javax/naming/NoPermissionException.java: Likewise.
6047 * javax/naming/NotContextException.java: Likewise.
6048 * javax/naming/OperationNotSupportedException.java: Likewise.
6049 * javax/naming/PartialResultException.java: Likewise.
6050 * javax/naming/Reference.java: Likewise.
6051 * javax/naming/Referenceable.java: Likewise.
6052 * javax/naming/ReferralException.java: Likewise.
6053 * javax/naming/ServiceUnavailableException.java: Likewise.
6054 * javax/naming/SizeLimitExceededException.java: Likewise.
6055 * javax/naming/TimeLimitExceededException.java: Likewise.
6056 * javax/naming/directory/Attribute.java: Likewise.
6057 * javax/naming/directory/AttributeInUseException.java: Likewise.
6058 * javax/naming/directory/AttributeModificationException.java: Likewise.
6059 * javax/naming/directory/Attributes.java: Likewise.
6060 * javax/naming/directory/BasicAttribute.java: Likewise.
6061 * javax/naming/directory/BasicAttributes.java: Likewise.
6062 * javax/naming/directory/DirContext.java: Likewise.
6063 * javax/naming/directory/InitialDirContext.java: Likewise.
6064 * javax/naming/directory/InvalidAttributeIdentifierException.java:
6066 * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
6067 * javax/naming/directory/InvalidAttributesException.java: Likewise.
6068 * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
6069 * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
6070 * javax/naming/directory/ModificationItem.java: Likewise.
6071 * javax/naming/directory/NoSuchAttributeException.java: Likewise.
6072 * javax/naming/directory/SchemaViolationException.java: Likewise.
6073 * javax/naming/directory/SearchControls.java: Likewise.
6074 * javax/naming/directory/SearchResult.java: Likewise.
6075 * javax/naming/event/EventContext.java: Likewise.
6076 * javax/naming/event/EventDirContext.java: Likewise.
6077 * javax/naming/event/NamespaceChangeListener.java: Likewise.
6078 * javax/naming/event/NamingEvent.java: Likewise.
6079 * javax/naming/event/NamingExceptionEvent.java: Likewise.
6080 * javax/naming/event/NamingListener.java: Likewise.
6081 * javax/naming/event/ObjectChangeListener.java: Likewise.
6082 * javax/naming/ldap/Control.java: Likewise.
6083 * javax/naming/ldap/ControlFactory.java: Likewise.
6084 * javax/naming/ldap/ExtendedRequest.java: Likewise.
6085 * javax/naming/ldap/ExtendedResponse.java: Likewise.
6086 * javax/naming/ldap/HasControls.java: Likewise.
6087 * javax/naming/ldap/InitialLdapContext.java: Likewise.
6088 * javax/naming/ldap/LdapContext.java: Likewise.
6089 * javax/naming/ldap/LdapReferralException.java: Likewise.
6090 * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
6091 * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
6092 * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
6093 * javax/naming/spi/DirObjectFactory.java: Likewise.
6094 * javax/naming/spi/DirStateFactory.java: Likewise.
6095 * javax/naming/spi/DirectoryManager.java: Likewise.
6096 * javax/naming/spi/InitialContextFactory.java: Likewise.
6097 * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
6098 * javax/naming/spi/NamingManager.java: Likewise.
6099 * javax/naming/spi/ObjectFactory.java: Likewise.
6100 * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
6101 * javax/naming/spi/ResolveResult.java: Likewise.
6102 * javax/naming/spi/Resolver.java: Likewise.
6103 * javax/naming/spi/StateFactory.java: Likewise.
6105 * javax/naming/spi/NamingManager.java (ofb): Package private.
6107 2002-11-21 Mark Wielaard <mark@klomp.org>
6109 * java/net/URL.java: Merge with Classpath (partly).
6110 * java/net/URLStreamHandler: Merge with Classpath.
6112 2002-11-22 Michael Koch <konqueror@gmx.de>
6115 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6117 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6118 (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
6120 2002-11-21 Michael Koch <konqueror@gmx.de>
6122 * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
6123 Only the new network functions should be in it.
6125 2002-11-21 Michael Koch <konqueror@gmx.de>
6127 * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6128 * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6130 2002-11-21 Michael Koch <konqueror@gmx.de>
6132 * java/nio/channels/AsynchronousCloseException.java,
6133 java/nio/channels/CancelledKeyException.java,
6134 java/nio/channels/ClosedByInterruptException.java,
6135 java/nio/channels/ConnectionPendingException.java,
6136 java/nio/channels/FileLockInterruptionException.java,
6137 java/nio/channels/IllegalSelectorException.java,
6138 java/nio/channels/NoConnectionPendingException.java,
6139 java/nio/channels/NonReadableChannelException.java,
6140 java/nio/channels/NonWritableChannelException.java,
6141 java/nio/channels/NotYetBoundException.java,
6142 java/nio/channels/NotYetConnectedException.java,
6143 java/nio/channels/OverlappingFileLockException.java,
6144 java/nio/channels/UnresolvedAddressException.java,
6145 java/nio/channels/UnsupportedAddressTypeException.java:
6147 * Makefile.am (ordinary_java_source_files): Added new files.
6148 * Makefile.in: Regenerated.
6150 2002-11-21 Michael Koch <konqueror@gmx.de>
6153 (_Jv_socket): New method.
6154 (_Jv_connect): New method.
6155 (_Jv_close): New method.
6156 (_Jv_platform_close_on_exec): Prefixed system function with "::".
6157 (_Jv_bind): New method.
6158 (_Jv_listen): New method.
6159 (_Jv_write): New method.
6160 (_Jv_read): New method.
6162 (_Jv_socket): New method.
6163 (_Jv_connect): New method.
6164 (_Jv_close): New method.
6165 (_Jv_bind): New method.
6166 (_Jv_listen): New method.
6167 (_Jv_write): New method.
6168 (_Jv_read): New method.
6169 * java/net/natNetworkInterface.cc:
6170 Include platform.h, removed inclusion of socket.h
6171 (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
6172 ::close() by _Jv_close().
6173 * java/net/natPlainDatagramSocketImpl.cc:
6174 Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
6175 added some new lines to make code more readable.
6176 (create): Replaced ::socket() by _Jv_socket().
6177 (close): Replaced NATIVE_CLOSE() by _Jv_close().
6178 * java/net/natPlainSocketImpl.cc:
6179 Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
6180 removed include of socket.h, removed some windows defines
6181 (now in include/win32.h).
6182 (create): Replaced ::socket() by _Jv_socket().
6183 (close): Replaced NATIVE_CLOSE() by _Jv_close().
6184 (write): Replaced ::read by _Jv_write().
6185 (read): Replaced ::read by _Jv_read().
6187 2002-11-20 Michael Koch <konqueror@gmx.de>
6189 * Makefile.am (ordinary_java_source_files):
6190 Added java/nio/channels/FileChannel.java.
6191 * Makefile.in: Regenerated.
6193 2002-11-20 Michael Koch <konqueror@gmx.de>
6195 * java/io/FileInputStream.java
6196 (getChannel): New method.
6197 * java/io/FileOutputStream.java
6198 (getChannel): New method.
6199 * java/net/ServerSocket.java
6200 (bind): Removed duplicate code and called another bind method instead.
6201 * java/nio/channels/SelectionKey.java
6202 (isValid): Removed wrong exception documentation.
6203 * java/nio/channels/ServerSocketChannel.java
6204 (accept): Added exception documentation.
6205 (open): Fixed typo, added exception documentation.
6206 * java/nio/channels/spi/AbstractSelectableChannel.java
6207 (implCloseChannel): Added exception documentation.
6209 (register): Added exception documentation.
6211 2002-11-20 Andreas Jaeger <aj@suse.de>
6213 * configure: Regenerated with new libtool.m4.
6215 2002-11-19 Tom Tromey <tromey@redhat.com>
6217 * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
6219 (finalize_referred_to_object): Don't modify `referent' or `copy'
6221 (add_to_hash): Correctly set `n->next' when updating list.
6222 * java/lang/ref/Reference.java (enqueue): Return false if already
6225 2002-11-19 Ranjit Mathew <rmathew@hotmail.com>
6227 * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
6228 to function and function pointer declarations in accordance with
6229 Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
6230 based on whether __GCJ_JNI_IMPL__ has been defined or not.
6231 * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
6232 JNI function definitions.
6234 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
6236 * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
6237 that was causing CoderResults to be cached, not WeakReferences
6240 2002-11-18 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
6242 * java/security/KeyStore.java (getInstance): Fix
6243 comment and throw IllegalArgumentException if
6244 given provider is null.
6245 (getInstance): New method for jdk1.4 compatibility.
6247 2002-11-18 Michael Koch <konqueror@gmx.de>
6249 * java/net/PlainSocketImpl.java: Fix imports.
6251 2002-11-18 Michael Koch <konqueror@gmx.de>
6253 * java/nio/channels/SelectionKey.java
6254 (isValid): Added exception documentation.
6255 * java/nio/channels/Selector.java
6256 (open): Declare "throws IOException".
6258 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
6260 * java/nio/charset/Charset.java
6261 (<clinit>): New method.
6262 (encode): Synchronize use of cached encoder object.
6263 (decode): Synchronize use of cached encoder object.
6265 2002-11-18 Michael Koch <konqueror@gmx.de>
6267 * gnu/java/nio/ByteBufferImpl.java,
6268 gnu/java/nio/CharBufferImpl.java,
6269 gnu/java/nio/DatagramChannelImpl.java,
6270 gnu/java/nio/DoubleBufferImpl.java,
6271 gnu/java/nio/FileChannelImpl.java,
6272 gnu/java/nio/FloatBufferImpl.java,
6273 gnu/java/nio/IntBufferImpl.java,
6274 gnu/java/nio/LongBufferImpl.java,
6275 gnu/java/nio/PipeImpl.java,
6276 gnu/java/nio/SelectionKeyImpl.java,
6277 gnu/java/nio/SelectorImpl.java,
6278 gnu/java/nio/SelectorProviderImpl.java,
6279 gnu/java/nio/ServerSocketChannelImpl.java,
6280 gnu/java/nio/ShortBufferImpl.java,
6281 gnu/java/nio/SocketChannelImpl.java,
6282 java/nio/DoubleBuffer.java,
6283 java/nio/FloatBuffer.java,
6284 java/nio/IntBuffer.java,
6285 java/nio/LongBuffer.java,
6286 java/nio/ShortBuffer.java,
6287 java/nio/channels/FileChannel.java: New files.
6289 2002-11-18 Michael Koch <konqueror@gmx.de>
6291 * Makefile.am (ordinary_java_source_files):
6292 Added java/nio/ReadOnlyBufferException.java and
6293 java/nio/channels/ClosedSelectorException.java.
6294 * Makefile.in: Regenerated.
6296 2002-11-18 Michael Koch <konqueror@gmx.de>
6298 * java/net/PlainSocketImpl.java: Reworked imports.
6299 * java/net/ServerSocket.java
6300 (ServerSocket): Create socket.
6301 * java/net/SocketAddress.java: Documentation added.
6302 * java/net/natPlainSocketImpl.cc: Reindented.
6303 * java/nio/ReadOnlyBufferException.java: New file
6304 * java/nio/channels/ClosedChannelException.java: Documentation added.
6305 * java/nio/channels/ClosedSelectorException.java: New file.
6307 2002-11-17 Mark Wielaard <mark@klomp.org>
6309 * java/net/HttpURLConnection.java ((getPermission): Take port
6311 (getErrorStream): Implement.
6313 2002-11-17 Mark Wielaard <mark@klomp.org>
6315 * java/net/HttpURLConnection.java: Merge with GNU Classpath.
6317 2002-11-16 Mark Wielaard <mark@klomp.org>
6319 Integrate work by Raif S. Naffah (raif@fl.net.au)
6320 * java/security/DummyKeyPairGenerator.java (clone): New method.
6321 * java/security/DummyMessageDigest.java (clone): New method.
6322 (engineUpdate): Now public.
6323 (engineReset): Likewise.
6324 (engineDigest): Likewise.
6325 (engineGetDigestLength): New method.
6326 * java/security/DummySignature.java (clone): New method.
6327 * java/security/KeyPairGenerator.java (provider): Now package private.
6328 (getInstance(String)): Use getInstance(String,Provider).
6329 (getInstance(String,String): Use getInstance(String,Provider)
6330 (getInstance(String,Provider): New method.
6331 (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
6332 * java/security/KeyPairGeneratorSpi.java (clone): New method.
6333 * java/security/MessageDigest.java (provider): Now package private.
6334 (getInstance(String): Use getInstance(String,Provider).
6335 (getInstance(String,String): Use getInstance(String,Provider)
6336 (getInstance(String,Provider): New method.
6337 * java/security/Provider.java (toCanonicalKey): New method.
6338 (get): New method that uses toCanonicalKey().
6339 (put): Use toCanonicalKey().
6341 * java/security/Security.java (insertProviderAt): Provider index is one
6342 based, not zero based.
6343 (addProvider): Likewise.
6344 (removeProvider): Likewise.
6345 * java/security/Signature.java (provider): Now package private.
6346 (getInstance(String)): Use getInstance(String,Provider).
6347 (getInstance(String,String): Use getInstance(String,Provider)
6348 (getInstance(String,Provider): New method.
6349 (getInstance(String,String,Provider): Don't cast DummySignature.
6351 2002-11-15 Tom Tromey <tromey@redhat.com>
6354 * java/util/zip/GZIPInputStream.java (read): Check file size.
6355 Look in inflater for remaining input bytes.
6356 (read4): Added buf and offset arguments.
6358 2002-11-12 Eric Blake <ebb9@email.byu.edu>
6360 * java/applet/AppletContext.java: Fix typo and remove redundant
6363 2002-11-14 Tom Tromey <tromey@redhat.com>
6365 * java/lang/natRuntime.cc (insertSystemProperties): Set
6368 2002-11-13 Michael Koch <konqueror@gmx.de>
6370 * java/nio/ByteBuffer.java
6371 (allocate): New method.
6376 2002-11-13 Michael Koch <konqueror@gmx.de>
6378 * java/nio/channels/AlreadyConnectedException.java:
6379 Removed unneeded import.
6380 (AlreadyConnectedException): Documentation added.
6381 * java/nio/channels/Pipe.java
6382 (SinkChannel.SinkChannel): Documentation added.
6383 (SinkChannel.validOps): New method.
6384 (SourceChannel.SourceChannel): Documentation added.
6385 (SourceChannel.validOps): New method.
6386 (Pipe): Documentation added.
6387 (open): Documentation added.
6388 (SinkChannel.channel): Documentation added.
6389 (SourceChannel.channel): Documentation added.
6390 * java/nio/channel/SelectableChannel.java
6391 (SelectableChannel): Documentation added.
6392 (blockingLock): Documentation added.
6393 (configureBlocking):Documentation added.
6394 (isBlocking):Documentation added.
6395 (isRegistered):Documentation added.
6396 (keyFor):Documentation added.
6397 (provider):Documentation added.
6398 (register): Documentation added.
6399 (validOps): Documentation added.
6400 * jaba/nio/channels/SelectionKey.java
6401 (SelectionKey): Documentation added.
6402 (attach): Documentation added.
6403 (attachment): Documentation added.
6404 (isAcceptable): Documentation added.
6405 (isConnetable): Documentation added.
6406 (isReadable): Documentation added.
6407 (isWritable): Documentation added.
6408 (cancel): Documentation added.
6409 (channel): Documentation added.
6410 (interestOps): Documentation added.
6411 (isValid): Documentation added.
6412 (readyOps): Documentation added.
6413 (selector): Documentation added.
6414 * jaba/nio/channels/Selector.java
6415 (Selector): Documentation added.
6416 (open): Documentation added.
6417 (close): Documentation added.
6418 (isOpen): Documentation added.
6419 (keys): Documentation added.
6420 (provider): Documentation added.
6421 (select): Documentation added.
6422 (selectedKeys): Documentation added.
6423 (selectNow): Documentation added.
6424 (wakeup): Documentation added.
6425 * java/nio/channels/spi/AbstractInterruptibleChannel.java
6426 (AbstractInterruptibleChannel): Documentation added.
6427 (opened): Default to true;
6428 (begin): Documentation added.
6429 (close): Set opened to false, documentation added.
6430 (isOpen): Documentation added.
6431 * java/nio/channels/spi/AbstractSelectionKey.java
6432 (AbstractSelectionKey): Documentation added.
6433 (cancel): Documentation added.
6434 (isValid): Documentation added.
6435 * java/nio/channels/spi/AbstractSelector.java
6436 (AbstractSelector): Documentation added.
6437 (begin): Documentation added.
6438 (close): Documentation added.
6439 (isOpen): Documentation added.
6440 (deregister): Documentation added.
6441 (end): Documentation added.
6442 (provider): Documentation added.
6443 (implCloseSelector): Documentation added.
6444 (register): Documentation added.
6445 * java/nio/channels/spi/SelectorProvider.java
6446 (SelectorProvider): Documentation added.
6447 (openDatagramChannel): Documentation added.
6448 (openPipe): Documentation added.
6449 (openSelector): Documentation added.
6450 (openServerSocketChannel): Documentation added.
6451 (openSocketChannel): Documentation added.
6452 (provider): Documentation added.
6454 2002-11-12 Michael Koch <konqueror@gmx.de>
6456 * java/nio/Buffer.java: Implemented.
6457 * java/nio/CharBuffer.java: New file.
6458 * java/nio/InvalidMarkException.java: New file.
6459 * java/nio/channels/DatagramChannel.java: Implemented.
6460 * java/nio/channels/ServerSocketChannel.java: Implemented.
6461 * java/nio/channels/SocketChannel.java: Implemented.
6462 * java/nio/channels/spi/AbstractChannel.java: Removed.
6463 * java/nio/channels/spi/AbstractSelectableChannel.java:
6465 * java/nio/charset/Charset.java:
6466 Merge from Classpath.
6467 * java/nio/charset/CharsetDecoder.java: New file.
6468 * java/nio/charset/CharsetEncoder.java: New file.
6469 * java/nio/charset/CoderResult.java: New file.
6470 * Makefile.am (ordinary_java_source_files): Added new files.
6471 * Makefile.in: Regenerated.
6473 2002-11-11 Jesse Rosenstock <jmr@ugcs.caltech.edu>
6475 * gnu/java/nio/charset/ISO_8859_1.java,
6476 gnu/java/nio/charset/Provider.java,
6477 gnu/java/nio/charset/US_ASCII.java,
6478 gnu/java/nio/charset/UTF_16.java,
6479 gnu/java/nio/charset/UTF_16BE.java,
6480 gnu/java/nio/charset/UTF_16Decoder.java,
6481 gnu/java/nio/charset/UTF_16Encoder.java,
6482 gnu/java/nio/charset/UTF_16LE.java,
6483 gnu/java/nio/charset/UTF_8.java: New files.
6485 2002-11-11 Michael Koch <konqueror@gmx.de>
6487 * java/nio/charset/CharacterCodingException.java:
6488 This class must be public.
6489 * java/nio/charset/CoderMalfunctionError.java:
6490 This class must be public.
6491 * java/nio/charset/CodingErrorAction.java:
6492 This class must be public.
6493 * java/nio/charset/IllegalCharsetNameException.java:
6494 This class must be public, better implementation.
6495 * java/nio/charset/MalformedInputException.java:
6496 This class must be public, better implementation.
6497 * java/nio/charset/UnmappableCharacterException.java:
6498 This class must be public, better implementation.
6499 * java/nio/charset/UnsupportedCharsetException.java:
6500 This class must be public, better implementation.
6502 2002-11-11 Michael Koch <konqueror@gmx.de>
6504 * java/nio/BufferOverflowException.java,
6505 java/nio/BufferUnderflowException.java: New file.
6506 * Makefile.am (ordinary_java_source_files):
6508 * Makefile.in: Regenerated.
6510 2002-11-10 Tom Tromey <tromey@redhat.com>
6512 * java/awt/Container.java (validate): Use tree lock.
6513 (getComponent): Likewise.
6514 (getComponents): Likewise.
6515 (addImpl): Likewise.
6517 (removeAll): Likewise.
6518 (processEvent): Fixed indentation.
6519 (getComponentAt): Use tree lock.
6520 (findComponentAt): Likewise.
6521 (removeNotify): Likewise.
6522 (isAncestorOf): Likewise.
6524 (visitChildren): Likewise.
6525 (findNextFocusComponent): Likewise.
6526 (addNotifyContainerChildren): Likewise.
6527 (getAccessibleChildrenCount): Likewise.
6528 (getAccessibleChild): Likewise.
6530 * java/awt/GridLayout.java (layoutContainer): Use tree lock.
6531 (getSize): Likewise.
6532 * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
6533 (getSize): Likewise.
6534 * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
6535 (calcSize): Likewise.
6536 * java/awt/CardLayout.java (getSize): Use tree lock.
6537 (gotoComponent): Likewise.
6538 (layoutContainer): Likewise.
6540 * java/io/natFileDescriptorWin32.cc (read): Handle case where
6542 * java/io/natFileDescriptorPosix.cc (read): Handle case where
6545 * java/io/Externalizable.java, java/io/FilePermission.java,
6546 java/io/ObjectStreamConstants.java, java/io/Serializable.java,
6547 java/io/SerializablePermission.java, java/text/Format.java,
6548 java/util/AbstractMap.java, java/util/HashMap.java,
6549 java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
6550 versions from Classpath.
6552 2002-11-10 Anthony Green <green@redhat.com>
6554 * java/util/jar/Attributes.java (Name): Fix name check.
6556 2002-11-10 Mark Wielaard <mark@klomp.org>
6558 * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
6559 with getName() as message.
6560 (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
6563 * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
6566 2002-11-08 Ranjit Mathew <rmathew@hotmail.com>
6568 * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
6569 for Win32. JNICALL has been defined to __stdcall to be compatible
6572 2002-11-10 Tom Tromey <tromey@redhat.com>
6574 * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
6575 (setRows): Check newRows, not rows.
6577 * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
6579 2002-11-09 Tom Tromey <tromey@redhat.com>
6581 * java/applet/Applet.java, java/applet/AppletContext.java,
6582 java/applet/AppletStub.java, java/applet/AudioClip.java,
6583 java/awt/CardLayout.java,
6584 java/awt/ContainerOrderFocusTraversalPolicy.java,
6585 java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
6586 java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
6587 java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
6588 java/awt/color/ICC_ColorSpace.java,
6589 java/awt/color/ICC_Profile.java,
6590 java/awt/color/ICC_ProfileGray.java,
6591 java/awt/color/ICC_ProfileRGB.java,
6592 java/awt/datatransfer/DataFlavor.java,
6593 java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
6594 java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
6595 New versions from Classpath.
6596 * Makefile.in: Rebuilt.
6597 * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
6600 * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
6603 * java/awt/List.java (processEvent): Added missing `else's.
6605 * java/awt/Window.java (show): validate() before showing. Make
6607 (isDisplayable): New method.
6609 2002-11-07 Mark Wielaard <mark@klomp.org>
6611 Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
6612 * java/rmi/MarshalledObject.java (equals): Check hashcode first.
6614 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
6616 (loadClass): Take String as codebases.
6617 (getClassAnnotation): Use MyClassLoader annotations.
6618 * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
6619 call exportObject(this).
6621 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
6622 (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
6623 (setAnnotation): Don't set locBytesStream and locStream.
6624 (replaceObject): Removed.
6625 (flush): Don't test locStream.
6626 (getLocBytes): LikeWise.
6627 * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
6628 (leaseCache): New field.
6629 (dirty): Use leaseCache.
6630 (LeaseRecord): New inner class.
6631 * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
6632 explicitly call exportObject().
6633 * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
6634 false to communicate with Sun JDK130.
6635 * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
6636 * gnu/java/rmi/server/RMIObjectInputStream.java
6637 (UnicastConnectionManager): Removed field.
6638 * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
6639 Use UnicastServer.getExportedRef().
6640 * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
6641 (expireTime): Likewise.
6642 (CONNECTION_TIMEOUT): Likewise.
6643 (disconnect): Call sock.close().
6644 (isExpired): New method.
6645 (resetTime): Likewise.
6646 (run): Use do while loop and catch Exception for discardConnection().
6647 * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
6648 * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
6649 * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
6650 * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
6651 (exportObject): Use refcache.
6652 (unexportObject): Likewise.
6653 (getExportedRef): New method.
6654 * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
6656 (exportObject): Save manager.serverobj.
6657 (getStub): New method.
6659 2002-11-07 Mark Wielaard <mark@klomp.org>
6661 * java/lang/reflect/natField.cc (getBoolean): Use getType().
6662 (getByte): Likewise.
6663 (getShort): Likewise.
6665 (getLong): Likewise.
6666 (getFloat): Likewise.
6667 (getDouble): Likewise.
6669 (setChar): Likewise.
6670 (setByte): Likewise.
6671 (setShort): Likewise.
6673 (setLong): Likewise.
6674 (setFloat): Likewise.
6675 (setDouble): Likewise.
6677 2002-11-07 Michael Koch <konqueror@gmx.de>
6679 * java/awt/Choice.java,
6680 java/awt/Container.java,
6681 java/awt/GridBagLayout.java:
6682 Fixed documentation.
6683 * java/awt/peer/ContainerPeer.java:
6686 2002-11-07 Michael Koch <konqueror@gmx.de>
6688 * java/awt/color/ICC_Profile.java:
6689 Added missing constants.
6690 * java/awt/color/ICC_ColorSpace.java
6691 (getMinValue): Added dummy implementation.
6692 (getMaxValue): Added dummy implementation.
6693 * java/awt/datatransfer/DataFlavor.java
6694 (imageFlavor): Added.
6695 (isMimeTypeEqual): Must be final.
6696 (getDefaultRepresentationClass): Must be non-static.
6697 (getDefaultRepresentationClassAsString): Must be non-static.
6698 * java/awt/dnd/DragSourceContext.java
6699 (dragExit): Corrected argument.
6700 (dragDropEnd): Corrected argument.
6701 * java/awt/dnd/DragSourceListener.java.java
6702 (dragExit): Corrected argument.
6703 (dragDropEnd): Corrected argument.
6704 * java/awt/font/TextHitInfo.java
6705 (toString): Added stubbed implementation.
6706 * java/awt/geom/PathIterator.java:
6707 The constants must be static.
6708 * java/awt/image/VolatileImage.java
6709 (IMAGE_INCOMPATIBLE): Fixed typo.
6710 * java/awt/image/renderable/RenderableImage.java
6711 (HINTS_OBSERVED): Must be static.
6712 * java/beans/BeanInfo.java:
6713 Constants must be final.
6715 2002-11-06 Tom Tromey <tromey@redhat.com>
6717 From svens@it.uu.se. For PR libgcj/8481.
6718 * java/util/Random.java (nextInt(int)): Only use 31 bits.
6720 2002-11-06 Tom Tromey <tromey@redhat.com>
6722 * jni.cc (array_from_valist): Assume that jlong won't be
6725 2002-11-04 R. A. Rivas Diaz <rivasdiaz@yahoo.com>
6727 * gnu/java/security/provider/SHA.java (engineGetDigestLength):
6729 * gnu/java/security/provider/MD5.java (engineGetDigestLength):
6732 2002-11-03 Tom Tromey <tromey@redhat.com>
6734 * java/lang/ClassLoader.java (loadClass): Call loadClass on
6735 VMClassLoader, not findClass.
6737 2002-11-03 Jeff Sturm <jsturm@one-point.com>
6739 * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
6740 (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
6741 _Jv_DetermineVTableIndex, to determine vtable offset.
6742 (_Jv_DetermineVTableIndex): Remove.
6743 (_Jv_PrepareClass): Don't layout vtable. Use _Jv_MakeVTable instead.
6745 * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
6747 2002-11-03 Tom Tromey <tromey@redhat.com>
6749 * java/nio/channels/AlreadyConnectedException.java: Extend
6750 IllegalStateException, per spec.
6752 2002-10-31 Stephen Crawley <crawley@dstc.edu.au>
6754 * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
6756 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
6758 * java/util/ArrayList.java (readObject, writeObject): Only read/write
6761 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
6763 * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
6764 initial estimated size to avoid enlarge buffer frequently.
6766 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
6768 * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
6769 ClassLoader when null.
6770 (ProxyType.hashCode): Loader null check no longer needed.
6771 (ProxyType.sameTypes): New method.
6772 (ProxyType.equals): Use new method.
6774 2002-10-31 Mark Wielaard <mark@klomp.org>
6776 * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
6778 * java/net/URLEncoder.java (encode): Likewise.
6780 2002-10-31 Mark Wielaard <mark@klomp.org>
6782 * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
6783 when stream is closed.
6784 (closeEntry): Likewise.
6786 * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
6787 ZipException when no entry active.
6788 (closeEntry): Likewise.
6791 2002-11-02 Tom Tromey <tromey@redhat.com>
6793 * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
6794 * java/lang/natClass.cc (initializeClass): Don't return just
6795 because self==thread.
6798 * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
6799 * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
6801 2002-11-02 Andreas Schwab <schwab@suse.de>
6803 * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
6805 (FLAGS_TO_PASS): Define.
6806 * Makefile.in: Regenerated.
6808 2002-11-01 Michael Koch <konqueror@gmx.de>
6810 * java/nio/ByteOrder.java: New file.
6811 * java/nio/channels/DatagramChannel.java:
6812 (DatagramChannel): New constructor.
6813 * java/nio/channels/Pipe.java: New file.
6814 * java/nio/channels/SelectableChannel.java: New file.
6815 * java/nio/channels/SelectionKey.java: New file.
6816 * java/nio/channels/Selector.java: New file.
6817 * java/nio/channels/ServerSocketChannel.java
6818 (ServerSocketChannel): New constructor.
6819 * java/nio/channels/SocketChannel.java
6820 (SocketChannel): New constructor.
6821 * java/nio/channels/Pipe.java: New file.
6822 * java/nio/channels/spi/AbstractChannel.java: New file.
6823 * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
6824 * java/nio/channels/spi/AbstractSelectableChannel.java:
6826 (AbstractSelectableChannel): New stubbed method.
6827 * java/nio/channels/spi/AbstractSelectionKey.java: New file.
6828 * java/nio/channels/spi/AbstractSelector.java: New file.
6829 * java/nio/channels/spi/SelectorProvider.java: New file.
6830 * java/nio/charset/Charset.java: New file.
6831 * java/nio/charset/CoderMalfunctionError.java: New file.
6832 * java/nio/charset/CodingErrorAction.java: New file.
6833 * java/nio/charset/spi/CharsetProvider.java
6834 (charsetForName): Uncommented.
6835 * Makefile.am (java_native_source_files): Added new files.
6836 * Makefile.in: Regenerated.
6838 2002-11-01 Michael Koch <konqueror@gmx.de>
6840 * java/net/InetAddress.java:
6841 (isAnyLocalAddress): Implemented.
6842 (isLoopbackAddress): Implemented, comment added.
6843 (isLinkLocalAddress): Implemented, documentation added.
6844 (isSiteLocalAddress): Implemented, documentation added.
6845 (isMCGlobal): Implemented, documentation added.
6846 (isMCNodeLocal): Implemented, documentation added.
6847 (isMCLinkLocal): Implemented, documentation added.
6848 (isMCSiteLocal): Implemented, documentation added.
6849 (isMCOrgLocal): Implemented, documentation added.
6850 (getHostName): Documentation added.
6851 (getCanonicalHostName): Implemented, documentation added.
6852 (getAddress): Documentation added.
6853 (hashCode): Documentation added.
6854 (equals): Documentation added.
6855 (toString): Fixed implementation.
6856 (getByAddress): Use Inet4Address and Inet6Address.
6857 (lookup): New linewrap.
6858 (getByName): SecurityManager check added, support Inet4Address and
6859 Inet6address, comments added.
6860 (getAllByName): SecurityManager check added, comments added.
6861 * java/net/Inet6Address.java:
6862 (Inet6Address): Initialize parent class with addr instead of null.
6864 (equals): Documentation added.
6865 (getFile): Documentation added.
6866 (hashCode): Documentation added.
6867 * java/net/natInetAddress.cc:
6868 (aton): Fix IPv6 support.
6869 * java/net/natPlainDatagramSocketImpl.cc:
6870 (peek): Throw PortUnreachableException when suitable.
6871 (peekData): Throw PortUnreachableException when suitable.
6872 (send): Throw PortUnreachableException when suitable.
6873 (receive): Throw PortUnreachableException when suitable.
6875 2002-10-27 Mark Wielaard <mark@klomp.org>
6877 * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
6879 (readLeShort): Likewise and use byte[].
6880 (readLeInt): Likewise.
6881 (readEntries): Use new versions of methods and use byte[] for reading
6882 a complete zip entry. Add ZipFile name to exceptions.
6883 (entries): Add ZipFile name to exceptions.
6884 (getEntry): Likewise.
6885 (checkLocalHeader): Use new versions of methods and add ZipFile name
6888 2002-10-31 Mark Anderson <mark@panonet.net>
6890 * java/awt/GridBagLayout.java (setConstraints): New stubbed method
6893 2002-10-25 Krister Walfridsson <cato@df.lth.se>
6895 * configure.in: Disable hash sync when not using threads.
6896 * configure: Regenerated.
6898 2002-10-24 Tom Tromey <tromey@redhat.com>
6900 * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
6901 (_Jv_FindSymbolInExecutable): Removed argument name.
6902 (insertSystemProperties): Call _Jv_SetDLLSearchPath if
6903 java.library.path is set.
6905 * gij.cc (help): Document --showversion.
6906 (version): Don't exit.
6907 (main): Handle --showversion. Exit if --version given.
6909 2002-10-23 Tom Tromey <tromey@redhat.com>
6911 * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
6912 (array_from_valist): Correctly handle promotion for jint, jlong,
6913 jfloat, and jdouble.
6915 2002-10-23 Ranjit Mathew <rmathew@hotmail.com>
6917 * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
6918 GetFileAttributesEx( ) to find file length and modification times,
6919 as the latter is not present on Windows 95.
6921 2002-10-21 Michael Koch <konqueror@gmx.de>
6924 (URL): Activate SecurityManager checks.
6925 (equals): Use URLStreamHandler implementation instead of doing it
6926 alone. This allows special protocol stream handlers to change default
6928 (hashCode): Use URLStreamHandler implementation instead of doing it
6929 alone. This allows special protocol stream handlers to change default
6931 * java/net/URLStreamHandler.java
6932 (equals): Implemented default URL equality check.
6933 (hostsEqual): Implemented default URL equality check.
6934 (hashCode): Implemented default URL hashCode algorithm.
6935 * java/net/natPlainDatagramSocketImpl.cc:
6936 No lines longer then 80 characters.
6938 2002-10-20 Adam Megacz <adam@xwt.org>
6940 * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
6941 * configure.in: enabled hash sync on Win32
6942 * include/win32-threads.h (_Jv_ThreadId_t): added.
6943 * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
6944 heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
6945 removed some posix-isms, use Thread::sleep() instead of usleep,
6946 added code to clear bottom three bits if platform has a broken
6948 * include/win32-threads.h (_Jv_ThreadId_t): added.
6950 2002-10-19 Ranjit Mathew <rmathew@hotmail.com>
6952 * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
6953 runtime property "gnu.gcj.progname" containing the name used to
6954 invoke the current Java program (similar to argv[0] for C
6957 2002-10-15 Tom Tromey <tromey@redhat.com>
6959 Fix for PR libgcj/8234:
6960 * java/util/zip/natInflater.cc (reset): Reset avail_in.
6961 * java/util/zip/natDeflater.cc (reset): Reset avail_in.
6963 2002-10-13 Mark Wielaard <mark@klomp.org>
6965 * mauve-libgcj: Enable Mauve tests that compile now.
6967 2002-10-11 Mark Wielaard <mark@klomp.org>
6969 Fix for PR libgcj/8142
6970 * java/lang/natClassLoader.cc (findClass): Skip inner classes when
6971 loading native modules.
6973 2002-10-10 Michael Koch <konqueror@gmx.de>
6975 * javax/swing/AbstractListModel.java
6976 (getListDataListeners): New stubbed method.
6977 javax/swing/DefaultBoundedRangeModel.java
6978 (getChangeListeners): New stubbed method.
6979 javax/swing/DefaultSingleSelectionModel.java
6980 (getChangeListeners): New stubbed method.
6982 2002-10-10 Michael Koch <konqueror@gmx.de>
6984 * gcj/.cvsignore: New file to ignore files generated during build.
6985 * include/.cvsignore: New file to ignore files generated during build.
6987 2002-10-10 Michael Koch <konqueror@gmx.de>
6989 * java/net/HttpURLConnection.java
6990 (getPermission): New method.
6991 (getErrorStream): New stub method.
6992 (getHeaderFieldDate): New stub method.
6993 * java/net/Inet4Address.java:
6994 (isLinkLocalAddress): Typo fixed.
6995 * java/net/InetAddress.java:
6996 (readResolve): New stubbed method (for serialization).
6997 (isAnyLocalAddress): New stubbed method.
6998 (isLoopbackAddress): New stubbed method.
6999 (isLinkLocalAddress): New stubbed method.
7000 (isSiteLocalAddress): New stubbed method.
7001 (isMCGlobal): New stubbed method.
7002 (isMCNodeGlobal): New stubbed method.
7003 (isMCLinkLocal): New stubbed method.
7004 (isMCSiteLocal): New stubbed method.
7005 (isMCOrgLocal): New stubbed method.
7006 (getCanonicalHostName): New stubbed method.
7007 (getByAddress): Create instances of Inet4Address/Inet6Address,
7008 instead of InetAddress, documentation added.
7009 * java/net/MulticastSocket.java
7010 (getInterface): Removed FIXME.
7011 (getNetworkInterface): New method.
7012 (setNetworkInterface): New method.
7013 * java/net/NetworkInterface.java:
7014 (toString): Use property "line.separator" instead of "\n".
7015 * java/net/URLConnection.java
7016 (getContent): New stubbed method.
7017 * java/net/URLStreamHandler.java:
7018 (equals): New stubbed method.
7019 (hostsEqual): New stubbed method.
7020 (hashCode): New stubbed method.
7021 * java/net/natNetworkInterface.cc:
7022 (getRealNetworkInterfaces): Create Inet4Address object
7023 instead of InetAddress.
7025 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
7027 * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
7028 unsigned long temporary to implement insn_iushr shifts.
7030 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
7032 * configure.host [s390*-*]: Enable Java interpreter.
7033 Enable hash synchronization. Add sysdeps dir.
7034 * sysdep/s390/locks.h: New file.
7036 2002-10-06 Mark Wielaard <mark@klomp.org>
7038 * java/lang/Thread.java (setDaemon): Check startable_flag,
7041 2002-10-07 Michael Koch <konqueror@gmx.de>
7043 * java/nio/Buffer.java: New stub file.
7044 * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
7046 * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
7047 * Makefile.in: Regenerated.
7049 2002-10-07 Michael Koch <konqueror@gmx.de>
7051 * java/nio/ByteBuffer.java:
7052 removed import of not commited class.
7054 2002-10-07 Michael Koch <konqueror@gmx.de>
7056 * java/nio/ByteBuffer.java,
7057 java/nio/MappedByteBuffer.java:
7058 New files, forgot to add these dummies.
7059 * Makefile.am (java_native_source_files): Added new files.
7060 * Makefile.in: Regenerated.
7062 2002-10-07 Michael Koch <konqueror@gmx.de>
7064 * java/nio/channels/AlreadyConnectedException.java,
7065 java/nio/channels/ClosedChannelException.java,
7066 java/nio/channels/ReadableByteChannel.java,
7067 java/nio/channels/InterruptibleChannel.java,
7068 java/nio/channels/Channel.java,
7069 java/nio/channels/ByteChannel.java,
7070 java/nio/channels/GatheringByteChannel.java,
7071 java/nio/channels/ScatteringByteChannel.java,
7072 java/nio/channels/WritableByteChannel.java,
7073 java/nio/charset/CharacterCodingException.java,
7074 java/nio/charset/IllegalCharsetNameException.java,
7075 java/nio/charset/MalformedInputException.java,
7076 java/nio/charset/UnmappableCharacterException.java,
7077 java/nio/charset/UnsupportedCharsetException.java,
7078 java/nio/charset/spi/CharsetProvider.java: New file.
7079 These files are exceptions or interfaces,
7080 no real or abstract classes.
7081 * Makefile.am (java_native_source_files): Added new files.
7082 * Makefile.in: Regenerated.
7084 2002-10-05 Michael Koch <konqueror@gmx.de>
7086 * java/net/InetAddress.java
7087 (getByAddress): Fixed documentation.
7088 (getByAddress): New method.
7089 * java/net/Inet4Address.java: New file.
7091 (URL): Documentation added.
7092 (getContent): Documentation added.
7093 (getContent): New stubbed method.
7094 (getQuery): New method.
7095 (openConnection): Documentation added.
7096 (openStream): Documentation added.
7097 (setURLStreamHandlerFactory): Documentation added.
7098 * java/net/URI.java: New stub file.
7100 (java_native_source_files): Added java/net/Inet4Address.java,
7101 java/net/Inet6Address.java and java/net/URI.java.
7102 * Makefile.in: Regenerated.
7104 2002-10-04 C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
7106 * java/lang/ProtectionDomain.java (linesep): Remove field.
7107 (toString): Use System.getProperty("line.separator").
7109 2002-10-04 Michael Koch <konqueror@gmx.de>
7111 * java/security/Identity.java: Added serialVersionUID.
7112 * java/security/KeyPair.java: Added serialVersionUID.
7113 * java/security/Provider.java: Added serialVersionUID.
7114 * java/security/SecureRandom.java: Added serialVersionUID.
7115 * java/security/SecureRandomSpi.java: Added serialVersionUID.
7116 * java/security/SignedObject.java: Added serialVersionUID.
7117 * java/security/cert/Certificate.java: Added serialVersionUID.
7119 2002-10-04 Mark Wielaard <mark@klomp.org>
7121 * java/security/Security.java: Use java.home or gnu.classpath.home
7123 (loadProviders): Extra dir argument.
7124 (getProvider): Return null when not found.
7126 2002-10-04 Mark Wielaard <mark@klomp.org>
7128 * java/lang/Throwable.java: Remerge with Classpath.
7130 2002-10-04 Michael Koch <konqueror@gmx.de>
7132 * java/net/InetAddress.java:
7133 (isMulticastAddress): Added documentation.
7134 (getHostAddress): Added documentation.
7135 (toString): Added documentation.
7136 (getByAddress): Fixed documentation.
7137 (getByName): Added documentation.
7138 (getAllByName): Added documentation.
7139 (getLocalHost): Added documentation.
7141 2002-10-04 Michael Koch <konqueror@gmx.de>
7143 * java/beans/beancontext/BeanContextChildSupport.java:
7144 Added serialVersionUID.
7145 * java/text/Collator.java: (compare): Made documentation HTML-aware.
7146 * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
7147 * javax/naming/Name.java: Added serialVersionUID.
7149 2002-10-03 Adam Megacz <adam@xwt.org>
7151 * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
7152 some functionality that isn't supported yet on WIN32.
7154 2002-10-03 Tom Tromey <tromey@redhat.com>
7156 * Makefile.in: Rebuilt.
7157 * Makefile.am (awt_java_source_files): Added new files.
7159 2002-10-03 Michael Koch <konqueror@gmx.de>
7161 * java/net/InetAddress.java
7162 (class InetAddress): Removed final keyword.
7163 (equals): Fixed typo.
7164 (getByAddress): New method.
7166 2002-10-03 Michael Koch <konqueror@gmx.de>
7168 * java/awt/dnd/Autoscroll.java:
7169 New file, merge from Classpath.
7170 * java/awt/dnd/DragSourceAdapter.java:
7171 (dragExit): Fixed typos in argument type.
7172 (dragDropEnd): Fixed typos in argument type.
7173 * java/awt/dnd/DragSourceDropEvent.java:
7174 New file, merge from Classpath.
7175 * java/awt/dnd/DropTarget.java:
7176 Added stubs, merge from Classpath.
7177 * java/awt/dnd/DropTargetAdapter.java:
7178 New file, merge from Classpath.
7179 * java/awt/dnd/DropTargetContext.java:
7180 New file, merge from Classpath.
7181 * java/awt/dnd/DropTargetDragEvent.java:
7182 New file, merge from Classpath.
7183 * java/awt/dnd/DropTargetDropEvent.java:
7184 New file, merge from Classpath.
7185 * java/awt/dnd/DropTargetEvent.java:
7186 New file, merge from Classpath.
7187 * java/awt/dnd/DropTargetListener.java:
7188 New file, merge from Classpath.
7189 * java/awt/dnd/MouseDragGestureRecognizer.java:
7190 New file, merge from Classpath.
7191 * java/awt/dnd/peer/DropTargetContextPeer.java:
7192 New file, merge from Classpath.
7194 2002-10-03 Michael Koch <konqueror@gmx.de>
7196 * java/net/DatagramPacket.java
7197 (setLength): Fixed typo and be HTML-aware.
7198 * java/net/InetSocketAddress.java
7199 (InetSocketAddress): Correct initialization of hostname, fixed typo.
7200 (equals): Added comment about equality of InetSocketAddress objects.
7201 * java/net/ServerSocket.java
7202 (accept): Added checks.
7203 (isClosed): New stubbed method.
7204 * java/net/SocketOptions.java: Reindention.
7205 * java/net/SocketPermission
7206 (SocketPermission): Documentation fixed.
7208 2002-10-03 Michael Koch <konqueror@gmx.de>
7210 * java/net/DatagramSocket.java
7211 (receive): Check with SecurityManager AFTER the packet is received,
7212 check if connected to multicast address, documentation added.
7213 (send): Only check SecurityManager if connected, check address of
7215 (connect): Implemented, documentation added.
7216 * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
7217 * java/net/InetSocketAddress.java
7218 (whole file): Reindented.
7219 (hostname): New attribute.
7220 (InetSocketAddress): Initialize new attribute.
7221 (getAddress): Documentation added.
7222 (getHostName): Documentation added.
7223 (getPort): Documentation added.
7224 (hashCode): Documentation added.
7225 (isUnresolved): Documentation added.
7226 (toString): Conform to output of JDK 1.4.1, documentation added.
7227 * java/net/MulticastSocket.java
7228 (joinGroup): Removed FIXME, documentation added.
7229 (leaveGroup): Removed FIXME, documentation added.
7230 (send): Documentation added.
7231 * java/net/Socket.java
7232 (inputShutdown): New variable.
7233 (outputShutdown): New variable.
7234 (Socket): Initialize new variables.
7235 (getRemoteSocketAddress): Check if connected.
7236 (shutdownInput): Set new variable.
7237 (shutdownOutput): Set new variable.
7238 (isConnected): New method.
7239 (isClosed): New method.
7240 (isInputShutdown): New method.
7241 (isOutputShutdown): New method.
7242 * java/net/URLStreamHandler.java
7243 (URLStreamHandler): New method.
7244 (openConnection): Added documentation.
7245 (parseURL): Added documentation.
7246 (getHostAddress): New method.
7247 (getDefaultPort): New method.
7249 2002-10-02 Tom Tromey <tromey@redhat.com>
7251 * java/rmi/activation/ActivationDesc.java,
7252 java/rmi/activation/ActivationGroupDesc.java,
7253 java/rmi/activation/ActivationGroupID.java,
7254 java/rmi/activation/ActivationID.java: New versions from
7257 2002-09-30 Bo Thorsen <bo@suse.de>
7259 * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
7261 2002-09-30 Tom Tromey <tromey@redhat.com>
7263 * java/io/ObjectInputStream.java (resolveProxyClass): New method
7265 * Makefile.in: Rebuilt.
7266 * Makefile.am (rmi_java_source_files): Added new files.
7267 * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
7268 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
7269 gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
7271 * gnu/java/rmi/dgc/DGCImpl.java,
7272 gnu/java/rmi/dgc/DGCImpl_Skel.java,
7273 gnu/java/rmi/dgc/DGCImpl_Stub.java,
7274 gnu/java/rmi/registry/RegistryImpl_Skel.java,
7275 gnu/java/rmi/registry/RegistryImpl_Stub.java,
7276 gnu/java/rmi/server/RMIHashes.java,
7277 gnu/java/rmi/server/RMIObjectInputStream.java,
7278 gnu/java/rmi/server/RMIObjectOutputStream.java,
7279 gnu/java/rmi/server/UnicastConnection.java,
7280 gnu/java/rmi/server/UnicastConnectionManager.java,
7281 gnu/java/rmi/server/UnicastRef.java,
7282 gnu/java/rmi/server/UnicastServer.java,
7283 gnu/java/rmi/server/UnicastServerRef.java,
7284 java/rmi/MarshalledObject.java,
7285 java/rmi/server/RMIClassLoader.java,
7286 java/rmi/server/RemoteObject.java,
7287 java/rmi/server/UnicastRemoteObject.java,
7288 java/security/SecureClassLoader.java: Merged from Classpath.
7290 2002-09-29 Anthony Green <green@redhat.com>
7292 * java/lang/reflect/UndeclaredThrowableException.java: New file.
7293 Imported from GNU Classpath.
7294 * java/lang/reflect/natProxy.cc: New file.
7295 * java/lang/reflect/InvocationHandler.java: New file. Imported
7297 * java/lang/reflect/Proxy.java: New file. Imported from GNU
7299 * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
7301 * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
7302 HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
7304 * gcj/javaprims.h ("Java"): Add new classes.
7305 * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
7306 * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
7307 java/lang/reflect/Proxy$$ProxyType.h): And this.
7308 (inner_nat_headers): Add these new headers.
7309 (ordinary_java_source_files): Add new files.
7310 (nat_source_files): Add new file.
7311 * Makefile.in: Rebuilt.
7313 2002-09-28 Richard Earnshaw <rearnsha@arm.com>
7315 * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
7316 a single configuration.
7318 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7320 * java/util/TimeZone.java (getDSTSavings): New method.
7321 Fixes PR libgcj/7786.
7323 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7325 * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
7326 to see if `the_method == 0' before looking up vtable index.
7327 Fixes PR libgcj/7709.
7329 2002-09-25 Tom Tromey <tromey@redhat.com>
7331 * java/lang/natClassLoader.cc:
7332 (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
7333 * resolve.cc: Include NoClassDefFoundError.h, not
7334 ClassNotFoundException.h.
7335 (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
7337 * defineclass.cc: Don't include ClassNotFoundException.h.
7339 * resolve.cc: Include StringBuffer.
7340 (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
7342 * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
7343 allocated but not initialized.
7345 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7347 Fix for PR libgcj/7766:
7348 * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
7349 (getNextEntry): Set it.
7350 (closeEntry): Likewise.
7353 (available): Use it.
7355 2002-09-25 Michael Koch <konqueror@gmx.de>
7357 * java/net/DatagramSocket.java
7358 (DatagramSocket): Initialize new instance variables.
7359 (close): Reset new instance variables.
7360 (getLocalAddress): Remove unneeded SecurityManager usage.
7361 (getLocalPort): Check if socket is already bound.
7362 (isConnected): New method.
7363 (getInetAddress): Implemented.
7364 (getPort): Better Implementation, documentation fixed.
7365 (getRemoteSocketAddress): New method.
7366 * java/net/JarURLConnection.java
7367 (element): Typo fixed.
7368 (getMainAttributes): New method.
7369 (getAttributes): New method (stub only).
7370 (getManifest): New method (stub only).
7371 * java/net/NetPermission.java: Added serialVersionsUID.
7372 * java/net/Socket.java
7373 (connect): Check blocking mode of associated channel,
7374 documentation added.
7375 (getLocalSocketAddress): Better implementation.
7376 (getRemoteSocketAddress): Implemented.
7377 (isBound): New method.
7378 (setSendBufferSize): Documentation added.
7379 * java/net/SocketAddress.java: Added serialVersionsUID.
7380 * java/net/SocketPermission.java: Added serialVersionsUID.
7382 (URL): Wrap for shorter lines, initialize new instance variables,
7383 documentation added.
7384 (equals): Check new instance variables too.
7385 (getContent): Documentation added.
7386 (getPath): Documentation added.
7387 (getAuthority): New method.
7388 (getHost): Documentation added.
7389 (getPort): Documentation added.
7390 (getDefaultPort): New method.
7391 (getProtocol): Documentation added.
7392 (getUserInfo): Documentation added.
7393 (set): Initialize new instance variables, documentation added.
7394 * java/net/URLStreamHandler.java
7395 (setURL): New method.
7396 * java/net/natPlainDatagramSocketImpl.cc
7397 (connect): Fix exception name.
7398 (disconnect): Fix exception name.
7400 2002-09-25 Michael Koch <konqueror@gmx.de>
7402 * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
7403 * java/nio/channels/DatagramChannel.java:
7404 extends AbstractSelectableChannel
7405 * java/nio/channels/ServerSocketChannel.java:
7406 extends AbstractSelectableChannel
7407 * java/nio/channels/SocketChannel.java:
7408 extends AbstractSelectableChannel
7409 * Makefile.am (ordinary_java_source_files):
7410 java/nio/channels/spi/AbstractSelectableChannel.java added.
7411 * Makefile.in: Regenerated.
7413 2002-09-25 Michael Koch <konqueror@gmx.de>
7415 * java/net/DatagramSocket.java
7416 (DatagramSocket): Exception documentation added.
7417 (bind): Exception documentation added, addded SecurityManager check,
7418 added SocketAddress type check.
7419 (getSoTimeout): Check impl.
7420 (receive): Fix SecurityManager check, check impl, documentation added.
7421 (send): Check channel mode, documentation added.
7422 (connect): New method.
7423 (disconnect): Implemented.
7424 (getLocalSocketAddress): New method.
7425 (getReceiveBufferSize): Check impl.
7426 (setReuseAddress): Check impl.
7427 (getReuseAddress): Check impl.
7428 (setBroadcast): Check impl.
7429 (getBroadcast): Check impl.
7430 (setTrafficClass): Check impl, Documentation cleared.
7431 (getTrafficClass): Check impl.
7432 (getSendBufferSize): Check impl.
7433 (setReceiveBufferSize): Check impl, documentation added.
7434 (setSendBufferSize): Documentation added.
7435 (setDatagramSocketImplFactory): New method.
7436 * java/net/HttpURLConnection.java
7437 (HTTP_INTERNAL_ERROR): The correct code is 500.
7438 (HTTP_NOT_IMPLEMENTED): Added new constant.
7439 (setFollowRedirects): Documentation added.
7440 (getInstanceFollowRedirects): New method.
7441 (setInstanceFollowRedirects): New method.
7442 (setRequestMethod): Documentation added.
7443 (getResponseCode): Documentation added.
7444 (getResponseMessage): Documentation added.
7445 * java/net/JarURLConnection.java
7446 (JarURLConnection): protected since JDK 1.4.
7447 (getJarEntry): java.io.IOException to IOException, documentation added.
7448 (getJarFile): Documentation added.
7449 * java/net/ServerSocket.java
7450 (ServerSocket): Private to public, exception added.
7451 (ServerSocket): java.io.IOException to IOException, documentation added.
7452 (bind): Check socket address type, documentation added.
7453 (bind): java.io.IOException to IOException, documentation added.
7454 (accept): Documentation added.
7455 (implAccept): Check ch is not non-blocking, documentation added.
7456 (setSoTimeout): Documentation fixed.
7457 (setReceiveBufferSize): Documentation added.
7458 * java/net/Socket.java
7459 (Socket): Documentation added.
7460 (bind): Documentation added.
7461 (connect): Check socket address type, documentation added.
7462 (getRemoteSocketAddress): New method.
7463 (getLocalSocketAddress): New method.
7464 (setSoLinger): Documentation added.
7465 (getReuseAddress): New method.
7466 (setReuseAddress): New method.
7467 (getTrafficClass): New method.
7468 (setTrafficClass): New method.
7469 * java/net/URLStreamHandler.java
7470 (openConnection): java.io.IOException to IOException.
7471 (parseURL): Documentation added.
7472 (sameFile): public to protected, documentation added.
7473 (setURL): Documentation added.
7474 * java/nio/IllegalBlockingModeException.java: New file.
7475 * Makefile.am (ordinary_java_source_files):
7476 added java/nio/IllegalBlockingModeException.java
7477 * Makefile.in: Regenerated.
7479 2002-09-25 Michael Koch <konqueror@gmx.de>
7481 * java/net/DatagramPacket
7482 (DatagramPacket): Exception documentation added.
7483 (setData): Likewise.
7484 (setSocketAddress): Likewise.
7485 * java/net/DatagramSocketImpl.java
7486 (peek): Documentation addded.
7487 (peekData): Documentation addded.
7488 (send): Documentation addded.
7489 (receive): Documentation addded.
7490 (connect): New method.
7491 (disconnect): New method.
7492 (joinGroup): New abstract method.
7493 (leaveGroup): New abstract method.
7494 * java/net/InetSocketAddress.java
7495 (InetSocketAddress): Documentation added.
7496 (equals): final keyword added.
7497 (getAddress): final keyword added.
7498 (getHostName): final keyword added.
7499 (getPort): final keyword added.
7500 (hashCode): final keyword added.
7501 (isUnresolved): final keyword added.
7502 * java/net/MulticastSocket.java
7503 (MulticastSocket): Documentation added.
7504 (MulticastSocket): New method.
7505 (joinGroup): Documentation added.
7506 (joinGroup): New method.
7507 (leaveGroup): Documentation added.
7508 (leaveGroup): New method.
7509 (send): Documentation added.
7510 * java/net/NetworkInterface.java
7511 (getByName): Documentation added.
7512 (getByInetAddress): Documentation added.
7513 (getNetworkInterfaces): Documentation added.
7514 * java/net/PlainDatagramSocketImpl.java
7515 (connect): New method.
7516 (disconnect): New method.
7517 * java/net/SocketImpl.java
7518 (create): Documentation added.
7519 (shutdownInput): Convert public to protected, as it always was.
7520 (shutdownOutput): Convert public to protected, as it always was.
7521 * java/net/SocketOptions.java
7522 (whole file): Reintented.
7523 * java/net/URLClassLoader.java
7524 (URLClassLoader): SecurityManager check added, documentation added.
7525 (findResources): Documentation added.
7526 (findClass): Documentation added.
7527 (newInstance): More correct method arguments.
7528 * java/net/URLConnection.java
7529 (connect): Documentation added.
7530 (getContent): Documentation added.
7531 (getPermission): Documentation added.
7532 (getInputStream): Documentation added.
7533 (getOutputStream): Documentation added.
7534 (setDoInput): Throw correct exception, documentation added.
7535 (setDoOutput): Throw correct exception, documentation added.
7536 (setAllowUserInteraction): Throw correct exception, documentation added.
7537 (setUseCaches): Throw correct exception, documentation added.
7538 (setIfModifiedSince): Throw correct exception, documentation added.
7539 (setRequestProperty): Throw exception, documentation added.
7540 (addRequestProperty): Throw exception, documentation added.
7541 (getRequestProperty): Throw exception, documentation added.
7542 (getRequestProperties): Documentation added.
7543 (setContentHandlerFactory): Documentation added.
7544 (guessContentTypeFromName): protected to public.
7545 (setFileNameMap): Documentation added.
7546 * java/net/URLDecoder.java
7547 (URLDecoder): New method.
7548 (decode): Documentation added.
7549 (whole file): Reindented.
7550 * java/net/URLEncoder.java
7551 (encode): Documentation added.
7552 * java/net/natPlainDatagramSocketImpl.cc
7553 (connect): New method.
7554 (disconnect): New method.
7555 * javax/naming/RefAddr:
7556 (addrType): addrType was never final.
7557 (equals): Fix typo in method name.
7558 * javax/naming/BinaryRefAddr:
7559 (equals): Fix typo in method name.
7561 2002-09-22 Tom Tromey <tromey@redhat.com>
7563 Fix for PR libgcj/6576:
7564 * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
7565 didn't find a given bundle.
7566 (getBundle): Don't require base bundle.
7567 (setParent): Removed old comment.
7568 (tryLocalBundle): Try components even if preceding components were
7571 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7573 * Makefile.am (all-multi): Fix multilib parallel build.
7575 2002-09-21 Michael Koch <konqueror@gmx.de>
7577 * java/net/Socket.java
7578 (sendUrgentData): New method.
7579 (getChannel): New method.
7580 * java/net/ServerSocket.java
7581 (getChannel): New method.
7582 (isBound): New method.
7583 * java/net/DatagramSocket.java
7584 (DatagramSocket): Two new methods.
7586 (getChannel): New method.
7587 (isBound): New method.
7588 (send): Added newline to to make shorter lines.
7589 * java/net/PlainDatagramSocketImpl.java
7590 (mcastGrp): Added argument.
7591 (join): Use new mcastGrp.
7592 (leave): Use new mcastGrp.
7593 (joinGroup): New method.
7594 (leaveGroup): New method.
7595 * java/net/natPlainDatagramSocketImpl.cc
7596 (mcastGrp): Added argument, no yet really implemented.
7597 (getOption): Added newline for shorter lines.
7598 * java/net/natPlainSocketImpl.cc
7599 (read, setOption, getOption): Added newline for shorter lines.
7601 2002-09-19 Tom Tromey <tromey@redhat.com>
7603 * java/lang/ClassLoader.java (resolveClass0): Set cause for
7604 newly-created exception.
7606 2002-09-18 Michael Koch <konqueror@gmx.de>
7608 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
7609 java/util/regex/PatternSyntaxException.java:
7610 Merge with classpath, new files.
7611 * Makefile.am (core_java_source_files):
7612 Added java/util/regex/Matcher.java,
7613 java/util/regex/Pattern.java,
7614 java/util/regex/PatternSyntaxException.java
7615 * Makefile.in: Regenerated.
7616 * include/config.h.in: Added HAVE_NET_IF_H.
7617 * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
7618 Removed #if 0 ... #endif.
7620 2002-09-17 Michael Koch <konqueror@gmx.de>
7622 * java/net/natNetworkInterface.cc:
7623 Removed unneed and yet wrong includes.
7625 2002-09-17 Michael Koch <konqueror@gmx.de>
7627 * java/net/NetworkInterface.java: New file.
7628 * java/net/natNetworkInterface.java: New file.
7629 * configure.in: Added check for net/if.h.
7630 * configure: Regenerated.
7632 (ordinary_java_source_files): Added NetworkInterface.java.
7633 (nat_source_files): Added natNetworkInterface.cc.
7634 * Makefile.in: Regenerated.
7636 2002-09-16 Tom Tromey <tromey@redhat.com>
7638 * java/net/URLClassLoader.java (findClass): Code source for a
7639 class from a jar is not necessarily a jar: URL.
7641 2002-09-16 Michael Koch <konqueror@gmx.de>
7643 * java/lang/AssertionError.java:
7644 Merge with classpath, fixes HTML.
7645 * java/rmi/server/LogStream.java:
7646 Merge with classpath, fixes some constants.
7647 * java/net/server/RemoteServer.java:
7648 Merge with classpath, adds serialVersionUID.
7649 * javax/naming/BinaryRefAddr.java:
7650 Merge with classpath, s/equal/equals/.
7651 * javax/naming/NamingException.java:
7652 Merge with classpath, fixed typo.
7653 * javax/naming/RefAddr.java:
7654 Merge with classpath, s/equal/equals/.
7655 * java/awt/Toolkit.java:
7656 s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
7659 2002-09-15 Adam Megacz <adam@xwt.org>
7661 * java/net/natPlainSocketImpl.cc: fixed typo.
7663 2002-09-15 Adam Megacz <adam@xwt.org>
7665 * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
7666 which don't work on Win32 (yet).
7668 2002-09-14 Adam Megacz <adam@xwt.org>
7670 * java/net/natPlainDatagramSocket.cc: removed #include
7671 <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
7672 * include/win32.h: included definition for IP_TOS to satisfy
7673 natPlainDatagramSocket.cc
7675 2002-09-13 Michael Koch <konqueror@gmx.de>
7677 * java/net/DatagramPacket.java (DatagramPacket):
7678 Added linebreak for 80 chars per line.
7679 * java/net/JarURLConection.java
7680 (getInputStreami, getJarEntry): Likewise.
7681 * java/net/SocketPErmission.java
7682 (SocketPermission class docu, implies): Likewise.
7683 * java/net/URLClassLoader.java (findResources): Likewise.
7684 * java/net/URLConnection.java: Reindendet remark for 80 chars per line
7686 2002-09-13 Michael Koch <konqueror@gmx.de>
7688 * java/nio/channels/DatagramChannel.java,
7689 java/nio/channels/ServerSocketChannel.java
7690 java/nio/channels/SocketChannel.java:
7691 New dummy files to make java.net fully JDK 1.4 compatible
7692 * Makefile.am (ordinary_java_source_files): Added
7693 java/net/DatagramSocketImplFactory.java (long forgotten),
7694 java/nio/SocketChannel.java,
7695 java/nio/ServerSocketChannel.java,
7696 java/nio/DatagramChannel.java
7697 * Makefile.in: Regenrated.
7699 2002-09-12 Michael Koch <konqueror@gmx.de>
7701 * java/net/DatagramSocketImpl.java
7702 (peekData): New method.
7703 * java/net/PlainDatagramSocketImpl.java
7704 (peekData): New method.
7705 * java/net/natPlainDatagramSocketImpl.cc
7706 (peekData): New method.
7707 * java/net/URLConnection
7708 (getPermission): New method.
7709 (addRequestProperty): New method.
7710 (getRequestProperties): New method.
7711 (guessContentTypeFromStream): New method, not really implemented.
7712 (URLConnection): Added/updated documentation.
7713 (connect): Added/updated documentation.
7714 (getURL): Added/updated documentation.
7715 (getContentLength): Added/updated documentation.
7716 (getContentType: Added/updated documentation.
7717 (getContentEncoding): Added/updated documentation.
7718 (getExpiration): Added/updated documentation.
7719 (getDate): Added/updated documentation.
7720 (getLastModified): Added/updated documentation.
7721 (getHeaderField): Added/updated documentation.
7722 (getHeaderFields): Added/updated documentation.
7723 (getHeaderFieldInt): Added/updated documentation.
7724 (getHeaderFieldDate): Added/updated documentation.
7725 (getHeaderFieldKey): Added/updated documentation.
7726 (getContent): Added/updated documentation.
7727 (getInputStream): Added/updated documentation.
7728 (getOutputStream): Added/updated documentation.
7729 (toString): Added/updated documentation.
7730 (setDoInput): Added/updated documentation.
7731 (getDoInput): Added/updated documentation.
7732 (setDoOutput): Added/updated documentation.
7733 (getDoOutput): Added/updated documentation.
7734 (setAllowUserInteraction): Added/updated documentation.
7735 (getAllowUserInteraction): Added/updated documentation.
7736 (setDefaultAllowUserInteraction): Added/updated documentation.
7737 (getDefaultAllowUserInteraction): Added/updated documentation.
7738 (setUseCaches): Added/updated documentation.
7739 (getUseCaches): Added/updated documentation.
7740 (setIfModifiedSince): Added/updated documentation.
7741 (getIfModifiedSince): Added/updated documentation.
7742 (getDefaultUseCaches): Added/updated documentation.
7743 (setDefaultUseCaches): Added/updated documentation.
7744 (setRequestProperty): Added/updated documentation.
7745 (getRequestProperty): Added/updated documentation.
7746 (setDefaultRequestProperty): Added/updated documentation.
7747 (getDefaultRequestProperty): Added/updated documentation.
7748 (setContentHandlerFactory): Added/updated documentation.
7749 (guessContentTypeFromName): Added/updated documentation.
7750 (getFileNameMap): Added/updated documentation.
7751 (setFileNameMap): Added/updated documentation.
7753 2002-09-11 Michael Koch <konqueror@gmx.de>
7755 * java/net/Socket.java
7756 (Socket): protected to public (since JDK 1.4). Added @specnote.
7758 (connect): Two new methods.
7759 (getKeepalive): Get correct socket option.
7760 (setKeepalive): Set correct socket option.
7761 (getOOBInline): New method.
7762 (setOOBInline): New method.
7763 * java/net/ServerSocket.java
7764 (bind): Two new methods.
7765 (getInetAddress): Reimplemented, catch exception.
7766 (getLocalSocketAddress): New method.
7767 (setReuseAddress): New method.
7768 (getReuseAdress): New method.
7769 (setReceiveBufferSize): New method.
7770 (getReceiveBufferSize): New method.
7771 (toString): Made string JDK 1.4 compliant.
7773 2002-09-10 Michael Koch <konqueror@gmx.de>
7775 * java/net/SocketImpl.java
7776 (connect): New method.
7777 (supportsUrgentData): New method.
7778 (sendUrgentData): New method.
7779 * java/net/PlainSocketImpl.java
7780 (connect): One new method and two new implementation.
7781 (sendUrgentData): New method.
7782 * java/natPlainSocketImpl.cc
7783 (connect): Arguments changed, added support for timeouts.
7784 (getOption): Another __java_boolean to jboolean.
7786 2002-09-07 Adam Megacz <adam@xwt.org>
7788 * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
7789 definition of IP_TOS.
7791 2002-09-04 Michael Koch <konqueror@gmx.de>
7793 * java/net/DatagramSocket.java
7794 (DatagramSocket): Added documentation.
7796 (getLocalAddress): Likewise.
7797 (getLocalPort): Likewise.
7798 (receive): Likewise.
7800 (setSoTimeout): Likewise.
7801 (connect): New method.
7802 (disconnect): New method.
7803 (getInetAddress): New method (FIXME)
7804 (getPort): New method.
7805 (setReuseAddress): New method.
7806 (getReuseAddress): New method.
7807 (setBroadcast): New method.
7808 (getBroadcast): New method.
7809 (setTrafficClass): New method.
7810 (getTrafficClass): New method.
7811 * java/net/MulticastSocket.java):
7812 (getTTL): Added @see in documentation.
7813 (setTTL): Added @see in documentation.
7814 (setLoopbackMode): New method.
7815 (getLoopbackMode): New method.
7816 * java/net/PlainSocketImpl.java:
7817 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
7818 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7819 * java/net/PlainDatagramSocketImpl.java
7820 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
7821 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7822 * java/net/natPlainSocketImpl.cc
7823 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7824 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7825 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7826 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7827 This should also fix SO_KEEPALIVE
7828 * java/net/natPlainDatagramSocketImpl.cc
7829 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7830 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7831 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7832 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7834 2002-09-04 Michael Koch <konqueror@gmx.de>
7836 * java/net/SocketOptions.java: added static variables to be JDK 1.4
7837 compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
7838 IP_MULTICAST_LOOP, IP_TOS
7840 2002-09-03 Tom Tromey <tromey@redhat.com>
7842 * java/lang/Class.h (_getDeclaredMethod): Declare.
7843 (_getMethod): Now private.
7844 * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
7845 getDeclaredMethod. Now returns NULL on failure.
7846 * java/lang/Class.java (_getDeclaredMethod): Declare.
7847 (getDeclaredMethod): No longer native; implements access checks.
7849 2002-09-01 Mark Wielaard <mark@klomp.org>
7851 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
7852 (sanitizeStack): Correctly reset unknown and interpreter counters,
7853 detect interpreter runtime frames.
7854 (demangleInterpreterMethod): New method.
7855 * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
7856 * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
7859 2002-09-02 Michael Koch <konqueror@gmx.de>
7861 * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
7862 re-indented documentation.
7864 2002-08-30 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7866 * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
7867 public, per 1.4 spec. Fixes PR libgcj/7785.
7869 2002-08-30 Jeff Sturm <jsturm@one-point.com>
7871 * Makefile.in: Rebuilt.
7872 * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
7874 2002-08-29 Tom Tromey <tromey@redhat.com>
7876 * java/net/JarURLConnection.java (getCertificates): New method
7878 * java/net/URLClassLoader.java (URLClassLoader): Extends
7880 (definePackage): New method from Classpath.
7881 (getPermissions): Likewise.
7882 (newInstance): Likewise.
7883 (findClass): Construct CodeSource for new class (from Classpath).
7884 * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
7886 * java/net/URL.java (getUserInfo): New method.
7887 (set(String,String,int,String,String,String,String,String)): New
7889 * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
7890 (shutdownInput, shutdownOutput): Declare.
7891 * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
7893 * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
7894 (getOption): Likewise.
7895 (shutdownInput): New method.
7896 (shutdownOutput): Likewise.
7897 * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
7899 (getOption): Likewise.
7900 * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
7901 * java/net/Socket.java (setKeepAlive): New method.
7902 (getKeepAlive): Likewise.
7903 (shutdownInput, shutdownOutput): New methods.
7905 2002-08-29 Michael Koch <konqueror@gmx.de>
7907 * java/net/DatagramPacket.java: updated to JDK 1.4 API
7909 DatagramPacket(byte[] buf, int offset, int length, SocketAddress
7911 DatagramPacket(byte[] buf, int length, SocketAddress address),
7912 void setSocketAddress(SocketAddress address)
7913 public SocketAddress getSocketAddress()
7915 2002-08-29 Tom Tromey <tromey@redhat.com>
7917 * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
7918 ftruncate is missing.
7919 * configure, include/config.h.in: Rebuilt.
7920 * acconfig.h (HAVE_FTRUNCATE): Mention.
7921 * configure.in: Check for ftruncate.
7923 2002-08-29 Tom Tromey <tromey@redhat.com>
7925 * include/jvm.h (struct _Jv_frame_info): New structure.
7926 * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
7928 (lookupInterp): New method.
7929 (getAddrAsString): Use _Jv_frame_info.
7930 (dladdrLookup): Likewise.
7931 * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
7933 (lookupInterp): Declare.
7934 * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
7935 (fillInStackTrace): Collect information on interpreted frames.
7937 * interpret.cc: Include Thread.h.
7938 (run): Create and push _Jv_MethodChain object.
7939 (_Jv_EndOfInterpreter): New global.
7940 * java/lang/Thread.java (interp_frame): New field.
7941 * include/java-interp.h (struct _Jv_MethodChain): New structure.
7942 Include NameFinder.h.
7944 2002-08-28 Tom Tromey <tromey@redhat.com>
7946 * java/lang/Class.h: Include Package.h.
7947 (Class::getProtectionDomain): Declare.
7948 (Class::getPackage): Declare.
7950 2002-08-28 Michael Koch <konqueror@gmx.de>
7952 * java/net/InetSocketAddress.java: Added some documentation and argument
7953 checks for the port numbers.
7954 * java/net/DatagramSocketImplFactory.java: New file.
7956 2002-08-28 Michael Koch <konqueror@gmx.de>
7958 * java/net/Authenticator.java: added some documentation.
7960 2002-08-27 Tom Tromey <tromey@redhat.com>
7962 * java/lang/reflect/natConstructor.cc (newInstance): Initialize
7964 * java/lang/reflect/natMethod.cc (invoke): Initialize class.
7966 2002-08-27 Michael Koch <konqueror@gmx.de>
7968 * java/net/BindException.java,
7969 java/net/JarURLConnection.java,
7970 java/net/FileNameMap.java,
7971 java/net/HttpURLConnection.java,
7972 java/net/InetSocketAddress.java,
7973 java/net/DatagramPacket.java,
7974 java/net/DatagramSocket.java,
7975 java/net/DatagramSocketImpl.java,
7976 java/net/MulticastSocket.java,
7977 java/net/PasswordAuthentication.java,
7978 java/net/ServerSocket.java,
7979 java/net/Socket.java,
7980 java/net/URLClassLoader.java,
7981 java/net/URLConnection.java: add/update of some @since/@deprecated
7983 2002-08-27 Tony Kimball <alk@pobox.com>
7984 Tom Tromey <tromey@redhat.com>
7986 * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
7989 (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
7990 * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
7992 (PlainSocketImpl::close): Use NATIVE_CLOSE.
7993 * include/win32.h (getcwd): Removed declaration. Include io.h.
7995 2002-08-25 Adam Megacz <adam@xwt.org>
7997 * include/win32.h (getcwd): copied function declaration as
7998 temporary fix for header confusion.
8000 2002-08-24 Mark Wielaard <mark@klomp.org>
8002 * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
8003 (core_java_source_files): Add VMThrowable.java and NameFinder.java
8004 (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
8005 and natNameFinder.cc.
8006 * Makefile.in: Regenerate.
8007 * prims.cc: Use trace_enabled from VMThrowable.
8008 * name-finder.cc: Removed.
8009 * gcj/javaprims.h: Add class VMThrowable.
8010 * gnu/gcj/runtime/NameFinder.java: New file.
8011 * gnu/gcj/runtime/natNameFinder.cc: Likewise.
8012 * include/name-finder.h: Removed.
8013 * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
8014 method stackTraceString().
8015 (printStackTrace (PrintWriter)): Likewise.
8016 (stackTraceString): Complete rewrite of old printStackTrace using
8018 (stackTraceStringBuffer): New helper method for stackTraceString().
8019 (fillInStackTrace): Delegate to VMTrowable.
8020 (getStackTrace): Likewise.
8021 (getStackTrace0): Removed.
8022 (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
8023 (setStackTrace): Copy given array.
8024 * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
8025 * java/lang/VMThrowable.java: New class.
8026 * java/lang/natVMThrowable.cc: New file.
8028 2003-08-23 Michael Koch <konqueror@gmx.de>
8030 * java/net/URLConnection.java,
8031 java/netJarURLConnection.java,
8032 gnu/gcj/protocol/core/Connection.java,
8033 gnu/gcj/protocol/file/Connection.java,
8034 gnu/gcj/protocol/http/Connection.java: Added implementation of
8037 2002-08-22 Tom Tromey <tromey@redhat.com>
8039 * gij.cc (help): Document -cp and -classpath.
8040 (main): Handle -classpath.
8042 2002-08-21 Tom Tromey <tromey@redhat.com>
8044 * Makefile.in: Rebuilt.
8045 * Makefile.am (ordinary_java_source_files): Added
8046 SocketAddress.java, InetSocketAddress.java.
8047 * java/net/PortUnreachableException.java: Merged with Classpath.
8048 * java/net/SocketTimeoutException.java: Likewise.
8049 * java/net/URISyntaxException.java: Likewise.
8050 * java/net/SocketAddress.java: New class from Classpath.
8051 * java/net/InetSocketAddress.java: Likewise.
8053 2003-08-21 Michael Koch <konqueror@gmx.de>
8055 * java/net/Authenticator.java: updated JDK 1.4
8056 * java/net/ContentHandler.java: updated JDK 1.4
8058 2002-08-20 Michael Koch <konqueror@gmx.de>
8060 * java/net/URISyntaxException.java: New file.
8061 * java/net/SocketTimeoutException.java: New file.
8062 * java/net/PortUnreachableException.java: New file.
8063 * Makefile.am: Updated.
8064 * Makefile.in: Rebuilt.
8066 2002-08-18 Mark Wielaard <mark@klomp.org>
8068 Thanks to Vladimir Puskas <vpuskas@eunet.yu>
8069 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
8070 MessageDigestSpi (fixes Classpath bug #783).
8072 2002-08-14 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8074 * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
8075 (startProcess): Allocate path for chdir in async-signal-safe way.
8077 2002-08-13 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8079 Fix for PR libgcj/7570 and PR libgcj/7578:
8080 * java/lang/natPosixProcess.cc: Include java/io/File.h.
8081 (startProcess): Handle new `dir' argument.
8082 * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
8084 * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
8086 (startProcess): Likewise.
8087 * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
8089 * java/lang/Runtime.java (execInternal): Added `dir' argument.
8090 (exec): Don't create new environment if ENV==null. Pass DIR to
8092 * java/lang/natRuntime.cc: Include java/io/File.h.
8093 (execInternal): Added `dir' argument.
8095 2002-08-13 Jesse Rosenstock <jmr@fulcrummicro.com>
8097 * java/io/RandomAccessFile.java (skipBytes): Return number of
8100 2002-08-01 Mark Wielaard <mark@klomp.org>
8102 Reenable patch since shared library troubles on powerpc are solved:
8103 * gnu/java/security/provider/Gnu.java: Reference all implementation
8104 classes by using Class.getName().
8105 * gnu/java/security/der/DEREncodingException.java,
8106 gnu/java/security/provider/DERReader.java,
8107 gnu/java/security/provider/DERWriter.java,
8108 gnu/java/security/provider/DSAKeyPairGenerator.java,
8109 gnu/java/security/provider/DSAParameterGenerator.java,
8110 gnu/java/security/provider/DSAParameters.java,
8111 gnu/java/security/provider/DSASignature.java,
8112 gnu/java/security/provider/GnuDSAPrivateKey.java,
8113 gnu/java/security/provider/GnuDSAPublicKey.java,
8114 gnu/java/security/provider/MD5.java,
8115 gnu/java/security/util/Prime.java: New classes
8116 * Makefile.am (ordinary_java_source_files): Add above files.
8117 * Makefile.in: Regenerate.
8118 * gnu/java/security/provider/DefaultPolicy.java
8119 (getPermissions): Don't maintain static class variable of Permissions.
8120 * gnu/java/security/provider/SHA.java
8121 (engineUpdate): algorithm change.
8122 (engineDigest): algorithm change.
8124 2002-08-09 Mark Wielaard <mark@klomp.org>
8126 * java/awt/image/MemoryImageSource.java: Change constructor to take
8128 * java/awt/Graphics2D.java: Uncomment methods that can now be
8130 * java/awt/GridBagLayout.java: New stub implementation.
8131 * javax/swing/text/html/HTML.java: Stub implementation.
8132 * javax/swing/text/html/parser/ParserDelegator.java: New stub
8135 * Makefile.am: Add new files.
8136 * Makefile.in: Rebuilt.
8138 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8140 * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
8141 methods in Graphics2D.
8143 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8145 AWT/Swing merge from GNU Classpath.
8147 * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
8148 java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
8149 java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
8150 java/awt/color/ProfileDataException.java,
8151 java/awt/CompositeContext.java, java/awt/Composite.java,
8152 java/awt/ContainerOrderFocusTraversalPolicy.java,
8153 java/awt/datatransfer/FlavorTable.java,
8154 java/awt/DefaultFocusTraversalPolicy.java,
8155 java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
8156 java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
8157 java/awt/dnd/DragGestureListener.java,
8158 java/awt/dnd/DragGestureRecognizer.java,
8159 java/awt/dnd/DragSourceAdapter.java,
8160 java/awt/dnd/DragSourceContext.java,
8161 java/awt/dnd/DragSourceDragEvent.java,
8162 java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
8163 java/awt/dnd/DragSourceListener.java,
8164 java/awt/dnd/DragSourceMotionListener.java,
8165 java/awt/dnd/DropTarget.java,
8166 java/awt/dnd/InvalidDnDOperationException.java,
8167 java/awt/dnd/peer/DragSourceContextPeer.java,
8168 java/awt/event/AWTEventListenerProxy.java,
8169 java/awt/event/MouseWheelEvent.java,
8170 java/awt/event/MouseWheelListener.java,
8171 java/awt/event/WindowFocusListener.java,
8172 java/awt/event/WindowStateListener.java,
8173 java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
8174 java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
8175 java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
8176 java/awt/geom/FlatteningPathIterator.java,
8177 java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
8178 java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
8179 java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
8180 java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
8181 java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
8182 java/awt/image/ImagingOpException.java,
8183 java/awt/image/RasterFormatException.java,
8184 java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
8185 java/awt/image/VolatileImage.java,
8186 java/awt/image/WritableRenderedImage.java,
8187 java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
8188 java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
8189 java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
8190 java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
8191 java/awt/PageAttributes.java, java/awt/print/Book.java,
8192 java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
8193 java/awt/print/Paper.java, java/awt/print/Printable.java,
8194 java/awt/print/PrinterAbortException.java,
8195 java/awt/print/PrinterException.java,
8196 java/awt/print/PrinterGraphics.java,
8197 java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
8198 java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
8199 java/awt/Stroke.java, java/awt/TexturePaint.java,
8200 javax/accessibility/AccessibleAction.java,
8201 javax/accessibility/AccessibleBundle.java,
8202 javax/accessibility/AccessibleComponent.java,
8203 javax/accessibility/AccessibleContext.java,
8204 javax/accessibility/AccessibleEditableText.java,
8205 javax/accessibility/AccessibleExtendedComponent.java,
8206 javax/accessibility/AccessibleExtendedTable.java,
8207 javax/accessibility/AccessibleHyperlink.java,
8208 javax/accessibility/AccessibleHypertext.java,
8209 javax/accessibility/AccessibleIcon.java,
8210 javax/accessibility/Accessible.java,
8211 javax/accessibility/AccessibleKeyBinding.java,
8212 javax/accessibility/AccessibleRelation.java,
8213 javax/accessibility/AccessibleRelationSet.java,
8214 javax/accessibility/AccessibleResourceBundle.java,
8215 javax/accessibility/AccessibleRole.java,
8216 javax/accessibility/AccessibleSelection.java,
8217 javax/accessibility/AccessibleState.java,
8218 javax/accessibility/AccessibleStateSet.java,
8219 javax/accessibility/AccessibleTable.java,
8220 javax/accessibility/AccessibleTableModelChange.java,
8221 javax/accessibility/AccessibleText.java,
8222 javax/accessibility/AccessibleValue.java,
8223 javax/swing/AbstractAction.java,
8224 javax/swing/AbstractButton.java,
8225 javax/swing/AbstractCellEditor.java,
8226 javax/swing/AbstractListModel.java,
8227 javax/swing/AbstractSet.java, javax/swing/Action.java,
8228 javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
8229 javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
8230 javax/swing/border/CompoundBorder.java,
8231 javax/swing/border/EmptyBorder.java,
8232 javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
8233 javax/swing/border/LineBorder.java,
8234 javax/swing/border/MatteBorder.java,
8235 javax/swing/border/TitledBorder.java,
8236 javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
8237 javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
8238 javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
8239 javax/swing/CellRendererPane.java,
8240 javax/swing/colorchooser/AbstractColorChooserPanel.java,
8241 javax/swing/colorchooser/ColorChooserComponentFactory.java,
8242 javax/swing/colorchooser/ColorSelectionModel.java,
8243 javax/swing/colorchooser/DefaultColorSelectionModel.java,
8244 javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
8245 javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
8246 javax/swing/DefaultBoundedRangeModel.java,
8247 javax/swing/DefaultButtonModel.java,
8248 javax/swing/DefaultCellEditor.java,
8249 javax/swing/DefaultCellRenderer.java,
8250 javax/swing/DefaultComboBoxModel.java,
8251 javax/swing/DefaultDesktopManager.java,
8252 javax/swing/DefaultFocusManager.java,
8253 javax/swing/DefaultListCellRenderer.java,
8254 javax/swing/DefaultListModel.java,
8255 javax/swing/DefaultListSelectionModel.java,
8256 javax/swing/DefaultSingleSelectionModel.java,
8257 javax/swing/DesktopManager.java,
8258 javax/swing/event/AncestorEvent.java,
8259 javax/swing/event/AncestorListener.java,
8260 javax/swing/event/CaretEvent.java,
8261 javax/swing/event/CaretListener.java,
8262 javax/swing/event/CellEditorListener.java,
8263 javax/swing/event/ChangeEvent.java,
8264 javax/swing/event/ChangeListener.java,
8265 javax/swing/event/DocumentEvent.java,
8266 javax/swing/event/DocumentListener.java,
8267 javax/swing/event/EventListenerList.java,
8268 javax/swing/event/HyperlinkEvent.java,
8269 javax/swing/event/HyperlinkListener.java,
8270 javax/swing/event/InternalFrameAdapter.java,
8271 javax/swing/event/InternalFrameEvent.java,
8272 javax/swing/event/InternalFrameListener.java,
8273 javax/swing/event/ListDataEvent.java,
8274 javax/swing/event/ListDataListener.java,
8275 javax/swing/event/ListSelectionEvent.java,
8276 javax/swing/event/ListSelectionListener.java,
8277 javax/swing/event/MenuDragMouseEvent.java,
8278 javax/swing/event/MenuDragMouseListener.java,
8279 javax/swing/event/MenuEvent.java,
8280 javax/swing/event/MenuKeyEvent.java,
8281 javax/swing/event/MenuKeyListener.java,
8282 javax/swing/event/MenuListener.java,
8283 javax/swing/event/MouseInputAdapter.java,
8284 javax/swing/event/MouseInputListener.java,
8285 javax/swing/event/PopupMenuEvent.java,
8286 javax/swing/event/PopupMenuListener.java,
8287 javax/swing/event/SwingPropertyChangeSupport.java,
8288 javax/swing/event/TableColumnModelEvent.java,
8289 javax/swing/event/TableColumnModelListener.java,
8290 javax/swing/event/TableModelEvent.java,
8291 javax/swing/event/TableModelListener.java,
8292 javax/swing/event/TreeExpansionEvent.java,
8293 javax/swing/event/TreeExpansionListener.java,
8294 javax/swing/event/TreeModelEvent.java,
8295 javax/swing/event/TreeModelListener.java,
8296 javax/swing/event/TreeSelectionEvent.java,
8297 javax/swing/event/TreeSelectionListener.java,
8298 javax/swing/event/TreeWillExpandListener.java,
8299 javax/swing/event/UndoableEditEvent.java,
8300 javax/swing/event/UndoableEditListener.java,
8301 javax/swing/filechooser/FileFilter.java,
8302 javax/swing/filechooser/FileSystemView.java,
8303 javax/swing/filechooser/FileView.java,
8304 javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
8305 javax/swing/Icon.java, javax/swing/ImageIcon.java,
8306 javax/swing/InputMap.java, javax/swing/InputVerifier.java,
8307 javax/swing/JApplet.java, javax/swing/JButton.java,
8308 javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
8309 javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
8310 javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
8311 javax/swing/JDialog.java, javax/swing/JEditorPane.java,
8312 javax/swing/JFileChooser.java, javax/swing/JFrame.java,
8313 javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
8314 javax/swing/JLayeredPane.java, javax/swing/JList.java,
8315 javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
8316 javax/swing/JMenu.java, javax/swing/JOptionPane.java,
8317 javax/swing/JPanel.java, javax/swing/JPasswordField.java,
8318 javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
8319 javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
8320 javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
8321 javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
8322 javax/swing/JSlider.java, javax/swing/JSplitPane.java,
8323 javax/swing/JTabbedPane.java, javax/swing/JTable.java,
8324 javax/swing/JTextField.java, javax/swing/JTextPane.java,
8325 javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
8326 javax/swing/JToolTip.java, javax/swing/JTree.java,
8327 javax/swing/JViewport.java, javax/swing/JWindow.java,
8328 javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
8329 javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
8330 javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
8331 javax/swing/MenuSelectionManager.java,
8332 javax/swing/MutableComboBoxModel.java,
8333 javax/swing/OverlayLayout.java,
8334 javax/swing/plaf/ActionMapUIResource.java,
8335 javax/swing/plaf/basic/BasicBorders.java,
8336 javax/swing/plaf/basic/BasicButtonUI.java,
8337 javax/swing/plaf/basic/BasicCheckBoxUI.java,
8338 javax/swing/plaf/basic/BasicDefaults.java,
8339 javax/swing/plaf/basic/BasicGraphicsUtils.java,
8340 javax/swing/plaf/basic/BasicIconFactory.java,
8341 javax/swing/plaf/basic/BasicLabelUI.java,
8342 javax/swing/plaf/basic/BasicListUI.java,
8343 javax/swing/plaf/basic/BasicLookAndFeel.java,
8344 javax/swing/plaf/basic/BasicOptionPaneUI.java,
8345 javax/swing/plaf/basic/BasicPanelUI.java,
8346 javax/swing/plaf/basic/BasicRadioButtonUI.java,
8347 javax/swing/plaf/basic/BasicScrollPaneUI.java,
8348 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
8349 javax/swing/plaf/basic/BasicTextUI.java,
8350 javax/swing/plaf/basic/BasicToggleButtonUI.java,
8351 javax/swing/plaf/basic/BasicTreeUI.java,
8352 javax/swing/plaf/basic/BasicViewportUI.java,
8353 javax/swing/plaf/BorderUIResource.java,
8354 javax/swing/plaf/ButtonUI.java,
8355 javax/swing/plaf/ColorChooserUI.java,
8356 javax/swing/plaf/ColorUIResource.java,
8357 javax/swing/plaf/ComboBoxUI.java,
8358 javax/swing/plaf/ComponentInputMapUIResource.java,
8359 javax/swing/plaf/ComponentUI.java,
8360 javax/swing/plaf/DesktopIconUI.java,
8361 javax/swing/plaf/DesktopPaneUI.java,
8362 javax/swing/plaf/DimensionUIResource.java,
8363 javax/swing/plaf/FileChooserUI.java,
8364 javax/swing/plaf/FontUIResource.java,
8365 javax/swing/plaf/IconUIResource.java,
8366 javax/swing/plaf/InputMapUIResource.java,
8367 javax/swing/plaf/InsetsUIResource.java,
8368 javax/swing/plaf/InternalFrameUI.java,
8369 javax/swing/plaf/LabelUI.java,
8370 javax/swing/plaf/ListUI.java,
8371 javax/swing/plaf/MenuBarUI.java,
8372 javax/swing/plaf/MenuItemUI.java,
8373 javax/swing/plaf/OptionPaneUI.java,
8374 javax/swing/plaf/PanelUI.java,
8375 javax/swing/plaf/PopupMenuUI.java,
8376 javax/swing/plaf/ProgressBarUI.java,
8377 javax/swing/plaf/RootPaneUI.java,
8378 javax/swing/plaf/ScrollBarUI.java,
8379 javax/swing/plaf/ScrollPaneUI.java,
8380 javax/swing/plaf/SeparatorUI.java,
8381 javax/swing/plaf/SliderUI.java,
8382 javax/swing/plaf/SplitPaneUI.java,
8383 javax/swing/plaf/TabbedPaneUI.java,
8384 javax/swing/plaf/TableHeaderUI.java,
8385 javax/swing/plaf/TableUI.java,
8386 javax/swing/plaf/TextUI.java,
8387 javax/swing/plaf/ToolBarUI.java,
8388 javax/swing/plaf/ToolTipUI.java,
8389 javax/swing/plaf/TreeUI.java,
8390 javax/swing/plaf/UIResource.java,
8391 javax/swing/plaf/ViewportUI.java,
8392 javax/swing/ProgressMonitorInputStream.java,
8393 javax/swing/ProgressMonitor.java,
8394 javax/swing/Renderer.java,
8395 javax/swing/RepaintManager.java,
8396 javax/swing/RootPaneContainer.java,
8397 javax/swing/Scrollable.java,
8398 javax/swing/ScrollPaneConstants.java,
8399 javax/swing/ScrollPaneLayout.java,
8400 javax/swing/SingleSelectionModel.java,
8401 javax/swing/SizeRequirements.java,
8402 javax/swing/SizeSequence.java,
8403 javax/swing/SwingConstants.java,
8404 javax/swing/SwingUtilities.java,
8405 javax/swing/table/AbstractTableModel.java,
8406 javax/swing/table/DefaultTableCellRenderer.java,
8407 javax/swing/table/DefaultTableColumnModel.java,
8408 javax/swing/table/DefaultTableModel.java,
8409 javax/swing/table/TableCellEditor.java,
8410 javax/swing/table/TableCellRenderer.java,
8411 javax/swing/table/TableColumn.java,
8412 javax/swing/table/TableColumnModel.java,
8413 javax/swing/table/TableModel.java,
8414 javax/swing/text/AbstractDocument.java,
8415 javax/swing/text/AttributeSet.java,
8416 javax/swing/text/BadLocationException.java,
8417 javax/swing/text/Caret.java,
8418 javax/swing/text/CharacterIterator.java,
8419 javax/swing/text/ComponentView.java,
8420 javax/swing/text/DefaultCaret.java,
8421 javax/swing/text/DefaultEditorKit.java,
8422 javax/swing/text/Document.java,
8423 javax/swing/text/EditorKit.java,
8424 javax/swing/text/Element.java,
8425 javax/swing/text/GapContent.java,
8426 javax/swing/text/JTextComponent.java,
8427 javax/swing/text/Keymap.java,
8428 javax/swing/text/MutableAttributeSet.java,
8429 javax/swing/text/PlainDocument.java,
8430 javax/swing/text/PlainEditorKit.java,
8431 javax/swing/text/Position.java,
8432 javax/swing/text/Segment.java,
8433 javax/swing/text/StyledDocument.java,
8434 javax/swing/text/StyledEditorKit.java,
8435 javax/swing/text/Style.java,
8436 javax/swing/text/TextAction.java,
8437 javax/swing/text/ViewFactory.java,
8438 javax/swing/text/View.java,
8439 javax/swing/Timer.java,
8440 javax/swing/ToggleButtonModel.java,
8441 javax/swing/ToolTipManager.java,
8442 javax/swing/tree/AbstractLayoutCache.java,
8443 javax/swing/tree/DefaultMutableTreeNode.java,
8444 javax/swing/tree/DefaultTreeCellEditor.java,
8445 javax/swing/tree/DefaultTreeCellRenderer.java,
8446 javax/swing/tree/DefaultTreeModel.java,
8447 javax/swing/tree/DefaultTreeSelectionModel.java,
8448 javax/swing/tree/ExpandVetoException.java,
8449 javax/swing/tree/FixedHeightLayoutCache.java,
8450 javax/swing/tree/MutableTreeNode.java,
8451 javax/swing/tree/RowMapper.java,
8452 javax/swing/tree/TreeCellEditor.java,
8453 javax/swing/tree/TreeCellRenderer.java,
8454 javax/swing/tree/TreeModel.java,
8455 javax/swing/tree/TreeNode.java,
8456 javax/swing/tree/TreePath.java,
8457 javax/swing/tree/TreeSelectionModel.java,
8458 javax/swing/tree/VariableHeightLayoutCache.java,
8459 javax/swing/UIDefaults.java,
8460 javax/swing/UIManager.java,
8461 javax/swing/undo/AbstractUndoableEdit.java,
8462 javax/swing/undo/CannotRedoException.java,
8463 javax/swing/undo/CannotUndoException.java,
8464 javax/swing/undo/CompoundEdit.java,
8465 javax/swing/undo/StateEditable.java,
8466 javax/swing/undo/StateEdit.java,
8467 javax/swing/undo/UndoableEdit.java,
8468 javax/swing/undo/UndoableEditSupport.java,
8469 javax/swing/undo/UndoManager.java,
8470 javax/swing/UnsupportedLookAndFeelException.java,
8471 javax/swing/ViewportLayout.java,
8472 javax/swing/WindowConstants.java: New files, from GNU Classpath.
8474 * java/awt/ActiveEvent.java,
8475 java/awt/Adjustable.java, java/awt/AWTError.java,
8476 java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
8477 java/awt/AWTException.java, java/awt/AWTPermission.java,
8478 java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
8479 java/awt/Color.java, java/awt/Component.java,
8480 java/awt/ComponentOrientation.java, java/awt/Container.java,
8481 java/awt/datatransfer/MimeTypeParseException.java,
8482 java/awt/datatransfer/Transferable.java,
8483 java/awt/datatransfer/UnsupportedFlavorException.java,
8484 java/awt/Dimension.java, java/awt/event/ActionEvent.java,
8485 java/awt/event/ActionListener.java,
8486 java/awt/event/AdjustmentEvent.java,
8487 java/awt/event/AdjustmentListener.java,
8488 java/awt/event/AWTEventListener.java,
8489 java/awt/event/ComponentAdapter.java,
8490 java/awt/event/ComponentEvent.java,
8491 java/awt/event/ComponentListener.java,
8492 java/awt/event/ContainerAdapter.java,
8493 java/awt/event/ContainerEvent.java,
8494 java/awt/event/ContainerListener.java,
8495 java/awt/event/FocusAdapter.java,
8496 java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
8497 java/awt/event/HierarchyBoundsAdapter.java,
8498 java/awt/event/HierarchyBoundsListener.java,
8499 java/awt/event/HierarchyEvent.java,
8500 java/awt/event/HierarchyListener.java,
8501 java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
8502 java/awt/event/InputMethodListener.java,
8503 java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
8504 java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
8505 java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
8506 java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
8507 java/awt/event/MouseListener.java,
8508 java/awt/event/MouseMotionAdapter.java,
8509 java/awt/event/MouseMotionListener.java,
8510 java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
8511 java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
8512 java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
8513 java/awt/event/WindowListener.java, java/awt/Font.java,
8514 java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
8515 java/awt/geom/Ellipse2D.java,
8516 java/awt/geom/IllegalPathStateException.java,
8517 java/awt/geom/Line2D.java,
8518 java/awt/geom/NoninvertibleTransformException.java,
8519 java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
8520 java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
8521 java/awt/geom/RoundRectangle2D.java,
8522 java/awt/GraphicsConfiguration.java,
8523 java/awt/IllegalComponentStateException.java,
8524 java/awt/image/IndexColorModel.java,
8525 java/awt/Image.java, java/awt/image/MemoryImageSource.java,
8526 java/awt/image/PixelGrabber.java, java/awt/Insets.java,
8527 java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
8528 java/awt/LayoutManager.java, java/awt/MenuContainer.java,
8529 java/awt/MenuItem.java, java/awt/PaintContext.java,
8530 java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
8531 java/awt/Polygon.java, java/awt/PrintGraphics.java,
8532 java/awt/PrintJob.java, java/awt/Rectangle.java,
8533 java/awt/RenderingHints.java, java/awt/ScrollPane.java,
8534 java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
8535 java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
8537 * java/awt/im/spi/InputMethod.java,
8538 java/awt/im/spi/InputMethodContext.java,
8539 java/awt/im/spi/InputMethodDescriptor.java,
8540 java/awt/image/renderable/ContextualRenderedImageFactory.java,
8541 java/awt/image/renderable/ParameterBlock.java,
8542 java/awt/image/renderable/RenderContext.java,
8543 java/awt/image/renderable/RenderableImage.java,
8544 java/awt/image/renderable/RenderableImageOp.java,
8545 java/awt/image/renderable/RenderableImageProducer.java,
8546 java/awt/image/renderable/RenderedImageFactory.java: New files from
8549 * gnu/java/awt/EventModifier.java,
8550 gnu/java/awt/image/ImageDecoder.java,
8551 gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
8553 * gnu/awt/xlib/XGraphicsConfiguration.java,
8554 gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
8557 * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
8560 * Makefile.am: Add new files.
8561 * Makefile.in: Rebuilt.
8563 2002-08-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8565 * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
8566 defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
8567 findResource, getResources, findResources): Add javadoc from classpath.
8568 (getSystemResources): Implemented.
8570 2002-08-01 Mark Wielaard <mark@klomp.org>
8572 Revert patch that breaks libgcj shared library on powerpc:
8573 * gnu/java/security/provider/Gnu.java: Reverse referencing all
8574 implementation classes by using Class.getName(). Uses Strings again.
8575 * gnu/java/security/der/DEREncodingException.java,
8576 gnu/java/security/provider/DERReader.java,
8577 gnu/java/security/provider/DERWriter.java,
8578 gnu/java/security/provider/DSAKeyPairGenerator.java,
8579 gnu/java/security/provider/DSAParameterGenerator.java,
8580 gnu/java/security/provider/DSAParameters.java,
8581 gnu/java/security/provider/DSASignature.java,
8582 gnu/java/security/provider/GnuDSAPrivateKey.java,
8583 gnu/java/security/provider/GnuDSAPublicKey.java,
8584 gnu/java/security/provider/MD5.java,
8585 gnu/java/security/util/Prime.java: Removed.
8586 * Makefile.am (ordinary_java_source_files): Remove above files.
8587 * Makefile.in: Regenerate.
8588 * gnu/java/security/provider/DefaultPolicy.java
8589 (getPermissions): Revert to maintaining static class variable of
8591 * gnu/java/security/provider/SHA.java
8592 (engineUpdate): Revert algorithm change.
8593 (engineDigest): Revert algorithm change.
8595 2002-08-01 Kaz Kojima <kkojima@gcc.gnu.org>
8597 * configure.host: Add SH support.
8598 * sysdep/sh/locks.h: New file.
8600 2002-07-31 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8602 * java/awt/Frame.java (Frame): Remove println calls.
8604 2002-07-30 Jeff Sturm <jsturm@one-point.com>
8606 * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
8607 * configure: Rebuilt.
8609 2002-07-27 Alan Modra <amodra@bigpond.net.au>
8611 * sysdep/powerpc/locks.h: Formatting.
8614 (compare_and_swap): Use _LARX and _STCX.
8615 (compare_and_swap_release): Likewise.
8617 2002-07-26 Tom Tromey <tromey@redhat.com>
8619 * java/net/Authenticator.java: New version from Classpath.
8620 * java/net/DatagramSocketImpl.java: New version from Classpath.
8622 2002-07-27 Alan Modra <amodra@bigpond.net.au>
8624 * configure.host: Add powerpc64*-* entry.
8626 2002-07-26 Tom Tromey <tromey@redhat.com>
8628 * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
8631 2002-07-24 Tom Tromey <tromey@redhat.com>
8633 * java/lang/Runtime.java (loadLibrary): Pass `true' as search
8636 2002-07-24 Tom Tromey <tromey@redhat.com>
8637 Tony Kimball <alk@pobox.com>
8639 * java/io/natFileDescriptorWin32.cc (setLength): New method.
8640 * java/io/natFileDescriptorPosix.cc (setLength): New method.
8641 * java/io/RandomAccessFile.java (setLength): New method.
8642 * java/io/natFileDescriptorEcos.cc (setLength): New method.
8643 * java/io/FileDescriptor.java (setLength): New method.
8645 2002-07-24 Mark Wielaard <mark@klomp.org>
8647 * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
8648 * java/io/ObjectInputStream.java (setBooleanField): Before setting
8649 field call setAccessible(true).
8650 (setByteField): Likewise.
8651 (setCharField): Likewise.
8652 (setDoubleField): Likewise.
8653 (setFloatField): Likewise.
8654 (setIntField): Likewise.
8655 (setLongField): Likewise.
8656 (setShortField): Likewise.
8657 (setObjectField): Likewise.
8659 2002-07-24 Tom Tromey <tromey@redhat.com>
8661 * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
8662 use toString() to format array element.
8664 2002-07-23 Mark Wielaard <mark@klomp.org>
8666 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
8667 MessageDigestSpi (fixes Classpath bug #783).
8669 2002-07-21 Mark Wielaard <mark@klomp.org>
8671 * gnu/java/security/provider/Gnu.java: Reference all implementation
8672 classes by using Class.getName().
8674 2002-07-19 Bo Thorsen <bo@berlioz.suse.de>
8676 * java/lang/ieeefp.h: Add x86-64 support.
8677 * configure.in: Likewise.
8678 * configure.host: Likewise.
8679 * configure: Regenerated.
8680 * sysdep/x86-64/locks.h: New file with x86-64 locks.
8682 2002-07-16 Mark Wielaard <mark@klomp.org>
8684 * java/io/StreamTokenizer.java (pushBack): Update documentation.
8685 (whitespaceChars): call resetChar().
8687 2002-07-15 Tom Tromey <tromey@redhat.com>
8689 * Makefile.in: Rebuilt.
8690 * Makefile.am (awt_java_source_files): Added new files.
8691 * java/beans/ExceptionListener.java: Merged with Classpath.
8692 * java/beans/PropertyChangeEvent.java: Merged with Classpath.
8693 * java/beans/PropertyChangeListener.java: Merged with Classpath.
8694 * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
8695 * java/beans/PropertyChangeSupport.java: Merged with Classpath.
8696 * java/beans/VetoableChangeListener.java: Merged with Classpath.
8697 * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
8698 * java/beans/VetoableChangeSupport.java: Merged with Classpath.
8700 2002-07-14 Mark Wielaard <mark@klomp.org>
8702 * gnu/java/security/der/DEREncodingException.java,
8703 gnu/java/security/provider/DERReader.java,
8704 gnu/java/security/provider/DERWriter.java,
8705 gnu/java/security/provider/DSAKeyPairGenerator.java,
8706 gnu/java/security/provider/DSAParameterGenerator.java,
8707 gnu/java/security/provider/DSAParameters.java,
8708 gnu/java/security/provider/DSASignature.java,
8709 gnu/java/security/provider/GnuDSAPrivateKey.java,
8710 gnu/java/security/provider/GnuDSAPublicKey.java,
8711 gnu/java/security/provider/MD5.java,
8712 gnu/java/security/util/Prime.java: New files from Classpath.
8713 * Makefile.am (ordinary_java_source_files): Add new files.
8714 * Makefile.in: Regenerate.
8716 2002-07-14 C. Brian Jones <cbj@gnu.org>
8718 * gnu/java/security/provider/DefaultPolicy.java
8719 (getPermissions): do not maintain static class variable of
8721 * gnu/java/security/provider/SHA.java
8722 (engineUpdate): algorithm change
8723 (engineDigest): algorithm change
8725 2002-07-12 Jesse Rosenstock <jmr@fulcrummicro.com>
8728 * java/lang/Character.java (toString(char)): Now static.
8730 2002-07-12 Mark Wielaard <mark@klomp.org>
8732 * java/lang/natThrowable.cc (printRawStackTrace): removed.
8733 (getStackTrace0): new method.
8734 * java/lang/Throwable.java (CPlusPlusDemangler): removed.
8735 (printStackTrace(PrintWriter)): replace with pure java implementation.
8736 (printRawStackTrace): removed.
8737 (getStackTrace0): new method.
8738 * java/lang/StackTraceElement.java (toString): add extra whitespace.
8739 * gcj/javaprims.h: regenerate class list.
8740 * include/name-finder.h (lookup): new returns StackTraceElement*.
8741 (method_name, file_name): fields removed.
8742 (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
8743 (~_Jv_name_finder): close new descriptors.
8744 * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
8745 (createStackTraceElement): new method.
8746 (lookup): returns StackTraceElement*, uses createStackTraceElement().
8748 2002-07-10 Tom Tromey <tromey@redhat.com>
8750 * configure: Rebuilt.
8751 * configure.in: Use `test' after `&&'. From Chris Faylor.
8753 2002-07-08 Mark Wielaard <mark@klomp.org>
8755 * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
8756 java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
8757 java.sql.DatabaseMetaData.TestJdbc20
8759 2002-07-05 Tony Kimball <alk@pobox.com>
8761 * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
8763 2002-07-04 Tom Tromey <tromey@redhat.com>
8764 Jeff Sturm <jsturm@one-point.com>
8766 Fix for PR libgcj/7060:
8767 * java/lang/Class.h (_getMethod): Renamed from getMethod.
8768 * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
8769 Recurse into superinterfaces. Don't throw NoSuchMethodException.
8770 * java/lang/Class.java (getMethod): New Java implementation;
8772 (_getMethod): New native method.
8774 2002-07-02 Tom Tromey <tromey@redhat.com>
8775 David Hovemeyer <daveho@cs.umd.edu>
8777 * java/text/ChoiceFormat.java
8778 (format(double,StringBuffer,FieldPosition)): Fix fencepost error
8780 * java/text/MessageFormat.java
8781 (format(Object[],StringBuffer,FieldPosition): Pass all arguments
8784 2002-07-01 Tom Tromey <tromey@redhat.com>
8786 * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
8787 StringTokenizer on null string. For PR libgcj/7180.
8788 From daveho@cs.umd.edu.
8790 2002-06-24 Tom Tromey <tromey@redhat.com>
8792 * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
8793 (IntegerClass): Likewise.
8794 * java/lang/natClass.cc (CloneableClass): Removed.
8795 (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
8796 ConstructorClass): Likewise.
8797 * java/lang/natClassLoader.cc (CloneableClass): Removed.
8798 (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
8799 SerializableClass): Likewise.
8800 * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
8801 (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
8802 LongClass, FloatClass, DoubleClass): Likewise.
8804 * verify.cc (branch_prepass): Updated for change to exception
8806 (verify_instructions_0): Likewise.
8807 * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
8808 (handleExceptionTableEntry): Updated for change to exception
8810 * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
8811 * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
8812 (union _Jv_InterpPC): New.
8813 (class _Jv_InterpException): Changed types to _Jv_InterpPC.
8814 (class _Jv_InterpMethod): Added new `prepared' field.
8815 (class _Jv_InterpMethod): Added `compile' method. Removed
8816 `continue1' and `find_exception'. Changed arguments to `run'.
8817 * interpret.cc (union insn_slot): New.
8818 (find_exception): Removed.
8819 (run_normal): Removed most logic.
8820 (run_synch_object): Likewise; also, use JvSynchronize.
8821 (run_synch_class): Likewise.
8823 (continue1): Renamed as `run'. Compile bytecode if required.
8824 Add new code to allow refinement of direct-threaded code at
8825 runtime. Handle exceptions.
8827 (compile): New method.
8828 (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
8829 (NULLARRAYCHECK): Don't use SAVE_PC.
8830 (pc_t): New typedef.
8831 (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
8832 SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
8834 2002-06-23 Tom Tromey <tromey@redhat.com>
8836 * configure: Rebuilt.
8837 * configure.in (INTERPRETER): New subst.
8838 (AM_RUNTESTFLAGS): Don't subst.
8840 * Makefile.in: Rebuilt.
8841 * Makefile.am ($(srcdir)/java/lang/Object.h,
8842 $(srcdir)/java/lang/Class.h): Added dummy targets.
8844 2002-06-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8846 Reformat JDBC classes and add new JDK 1.4 classes and methods.
8848 * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
8849 java/sql/Savepoint.java: New files.
8850 * java/sql/Array.java, java/sql/BatchUpdateException.java,
8851 java/sql/Blob.java, java/sql/CallableStatement.java,
8852 java/sql/Clob.java, java/sql/Connection.java,
8853 java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
8854 java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
8855 java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
8856 java/sql/Ref.java, java/sql/ResultSet.java,
8857 java/sql/ResultSetMetaData.java, java/sql/SQLData.java
8858 java/sql/SQLException.java, java/sql/SQLInput.java,
8859 java/sql/SQLOutput.java, java/sql/SQLWarning.java
8860 java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
8861 java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
8862 (JDK 1.4) specification.
8863 * javax/sql/ConnectionEvent.java,
8864 javax/sql/ConnectionEventListener.java,
8865 javax/sql/ConnectionPoolDataSource.java,
8866 javax/sql/DataSource.java, javax/sql/PooledConnection.java,
8867 javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
8868 javax/sql/RowSet.java, javax/sql/RowSetListener.java,
8869 javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
8870 javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
8871 javax/sql/XADataSource.java: New files.
8872 * Makefile.am: Add new files.
8873 * Makefile.in: Rebuilt.
8875 2002-06-20 Tom Tromey <tromey@redhat.com>
8878 * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
8880 * defineclass.cc (handleClassBegin): Superclass for interface is
8883 2002-06-18 Tom Tromey <tromey@redhat.com>
8885 * gcj/javaprims.h: Updated class declaration list.
8886 * Makefile.in: Rebuilt.
8887 * Makefile.am (core_java_source_files): Removed
8889 * java/util/BasicMapEntry.java: Removed.
8891 2002-06-18 Jeff Sturm <jsturm@one-point.com>
8893 * java/net/natPlainDatagramSocketImpl.cc (receive):
8894 Check bounds of argument to FD_SET.
8895 (setOption): Throw exception if socket is closed.
8897 * java/net/natPlainSocketImpl.cc (accept, read):
8898 Check bounds of argument to FD_SET.
8899 (setOption): Throw exception if socket is closed.
8901 2002-06-18 Tom Tromey <tromey@redhat.com>
8903 * gcj/javaprims.h: Updated class declaration list.
8904 * Makefile.in: Rebuilt.
8905 * Makefile.am (core_java_source_files): Added
8906 PropertyPermissionCollection.java.
8907 * java/lang/Thread.java (group, name): Now package-private.
8908 * java/lang/ThreadGroup.java: Re-merge with Classpath.
8909 * java/util/AbstractList.java: Likewise.
8910 * java/util/AbstractMap.java: Likewise.
8911 * java/util/Calendar.java: Likewise.
8912 * java/util/Collections.java: Likewise.
8913 * java/util/HashMap.java: Likewise.
8914 * java/util/Hashtable.java: Likewise.
8915 * java/util/LinkedHashMap.java: Likewise.
8916 * java/util/LinkedList.java: Likewise.
8917 * java/util/List.java: Likewise.
8918 * java/util/ListResourceBundle.java: Likewise.
8919 * java/util/Map.java: Likewise.
8920 * java/util/Observable.java: Likewise.
8921 * java/util/Properties.java: Likewise.
8922 * java/util/PropertyPermission.java: Likewise.
8923 * java/util/PropertyPermissionCollection.java: Likewise.
8924 * java/util/PropertyResourceBundle.java: Likewise.
8925 * java/util/Random.java: Likewise.
8926 * java/util/SimpleTimeZone.java: Likewise.
8927 * java/util/StringTokenizer.java: Likewise.
8928 * java/util/TimerTask.java: Likewise.
8929 * java/util/TreeMap.java: Likewise.
8930 * java/util/WeakHashMap.java: Likewise.
8931 * java/util/jar/Attributes.java: Likewise.
8932 * java/util/jar/JarException.java: Likewise.
8933 * java/util/jar/Manifest.java: Likewise.
8935 2002-06-17 Tom Tromey <tromey@redhat.com>
8937 * gcj/javaprims.h: Updated class declaration list.
8938 * Makefile.in: Rebuilt.
8939 * Makefile.am (core_java_source_files): Added new file.
8940 * java/util/EventListenerProxy.java: New file.
8941 * java/util/EventListener.java: Re-merge with Classpath.
8942 * java/util/EventObject.java: Re-merge with Classpath.
8944 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
8946 * java/lang/ClassNotFoundException.java: New Classpath version.
8948 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
8950 * java/rmi/activation/ActivateFailedException.java: Remerge from
8952 * java/rmi/activation/ActivationException.java: Ditto.
8953 * java/rmi/activation/UnknownGroupException.java: Ditto.
8954 * java/rmi/activation/UnknownObjectException.java: Ditto.
8955 * java/rmi/server/ExportException: Ditto.
8956 * java/rmi/server/ServerCloneException: Ditto.
8957 * java/rmi/server/ServerNotActiveException: Ditto.
8958 * java/rmi/server/SkeletonMismatchException: Ditto.
8959 * java/rmi/server/SkeletonNotFoundException: Ditto.
8960 * java/rmi/server/SocketSecurityException: Ditto.
8962 2002-06-16 Tom Tromey <tromey@redhat.com>
8964 * gcj/javaprims.h: Updated class declaration list.
8966 * java/io/LineNumberInputStream.java: Merged with Classpath.
8968 * java/lang/RuntimeException.java: Re-merge with Classpath.
8969 * java/util/ArrayList.java: Likewise.
8970 * java/util/Arrays.java: Likewise.
8971 * java/util/BitSet.java: Likewise.
8972 * java/util/Dictionary.java: Likewise.
8973 * java/util/IdentityHashMap.java: Likewise.
8974 * java/util/MissingResourceException.java: Likewise.
8975 * java/util/Observer.java: Likewise.
8976 * java/util/TooManyListenersException.java: Likewise.
8977 * java/util/zip/DataFormatException.java: Likewise.
8978 * java/util/zip/ZipException.java: Likewise.
8980 2002-06-16 Nathanael Nerode <neroden@twcny.rr.com>
8982 * java/rmi/AccessException.java: Remerge from Classpath.
8983 * java/rmi/AlreadyBoundException.java: Ditto.
8984 * java/rmi/ConnectException.java: Ditto.
8985 * java/rmi/ConnectIOException.java: Ditto.
8986 * java/rmi/MarshalException.java: Ditto.
8987 * java/rmi/NoSuchObjectException.java: Ditto.
8988 * java/rmi/NotBoundException.java: Ditto.
8989 * java/rmi/RemoteException.java: Ditto.
8990 * java/rmi/RMISecurityException.java: Ditto.
8991 * java/rmi/ServerError.java: Ditto.
8992 * java/rmi/ServerException.java: Ditto.
8993 * java/rmi/ServerRuntimeException.java: Ditto.
8994 * java/rmi/StubNotFoundException.java: Ditto.
8995 * java/rmi/UnexpectedExcpetion.java: Ditto.
8996 * java/rmi/UnknownHostException.java: Ditto.
8997 * java/rmi/UnmarshalException.java: Ditto.
8999 2002-06-15 Tom Tromey <tromey@redhat.com>
9001 * java/lang/AbstractMethodError.java: Re-merged with Classpath.
9002 * java/lang/ArithmeticException.java: Likewise.
9003 * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
9004 * java/lang/ArrayStoreException.java: Likewise.
9005 * java/lang/Byte.java: Likewise.
9006 * java/lang/CharSequence.java: Likewise.
9007 * java/lang/ClassCastException.java: Likewise.
9008 * java/lang/ClassCircularityError.java: Likewise.
9009 * java/lang/ClassFormatError.java: Likewise.
9010 * java/lang/CloneNotSupportedException.java: Likewise.
9011 * java/lang/Cloneable.java: Likewise.
9012 * java/lang/Comparable.java: Likewise.
9013 * java/lang/Compiler.java: Likewise.
9014 * java/lang/Error.java: Likewise.
9015 * java/lang/ExceptionInInitializerError.java: Likewise.
9016 * java/lang/IllegalAccessError.java: Likewise.
9017 * java/lang/IllegalAccessException.java: Likewise.
9018 * java/lang/IllegalArgumentException.java: Likewise.
9019 * java/lang/IllegalMonitorStateException.java: Likewise.
9020 * java/lang/IllegalStateException.java: Likewise.
9021 * java/lang/IllegalThreadStateException.java: Likewise.
9022 * java/lang/IncompatibleClassChangeError.java: Likewise.
9023 * java/lang/IndexOutOfBoundsException.java: Likewise.
9024 * java/lang/InheritableThreadLocal.java: Likewise.
9025 * java/lang/InstantiationError.java: Likewise.
9026 * java/lang/InstantiationException.java: Likewise.
9027 * java/lang/InternalError.java: Likewise.
9028 * java/lang/InterruptedException.java: Likewise.
9029 * java/lang/LinkageError.java: Likewise.
9030 * java/lang/NegativeArraySizeException.java: Likewise.
9031 * java/lang/NoClassDefFoundError.java: Likewise.
9032 * java/lang/NoSuchFieldError.java: Likewise.
9033 * java/lang/NoSuchFieldException.java: Likewise.
9034 * java/lang/NoSuchMethodError.java: Likewise.
9035 * java/lang/NoSuchMethodException.java: Likewise.
9036 * java/lang/NullPointerException.java: Likewise.
9037 * java/lang/NumberFormatException.java: Likewise.
9038 * java/lang/OutOfMemoryError.java: Likewise.
9039 * java/lang/Process.java: Likewise.
9040 * java/lang/Runnable.java: Likewise.
9041 * java/lang/RuntimePermission.java: Likewise.
9042 * java/lang/SecurityException.java: Likewise.
9043 * java/lang/Short.java: Likewise.
9044 * java/lang/StackOverflowError.java: Likewise.
9045 * java/lang/StringIndexOutOfBoundsException.java: Likewise.
9046 * java/lang/ThreadDeath.java: Likewise.
9047 * java/lang/ThreadLocal.java: Likewise.
9048 * java/lang/UnknownError.java: Likewise.
9049 * java/lang/UnsatisfiedLinkError.java: Likewise.
9050 * java/lang/UnsupportedClassVersionError.java: Likewise.
9051 * java/lang/UnsupportedOperationException.java: Likewise.
9052 * java/lang/VerifyError.java: Likewise.
9053 * java/lang/VirtualMachineError.java: Likewise.
9054 * java/lang/reflect/InvocationTargetException.java: Likewise.
9055 * java/net/BindException.java: Likewise.
9056 * java/net/ConnectException.java: Likewise.
9057 * java/net/MalformedURLException.java: Likewise.
9058 * java/net/NoRouteToHostException.java: Likewise.
9059 * java/net/ProtocolException.java: Likewise.
9060 * java/net/SocketException.java: Likewise.
9061 * java/net/UnknownHostException.java: Likewise.
9062 * java/net/UnknownServiceException.java: Likewise.
9064 * java/io/BufferedOutputStream.java: Re-merged with Classpath.
9065 * java/io/CharConversionException.java: Likewise.
9066 * java/io/EOFException.java: Likewise.
9067 * java/io/FileNotFoundException.java: Likewise.
9068 * java/io/IOException.java: Likewise.
9069 * java/io/InterruptedIOException.java: Likewise.
9070 * java/io/InvalidClassException.java: Likewise.
9071 * java/io/InvalidObjectException.java: Likewise.
9072 * java/io/NotActiveException.java: Likewise.
9073 * java/io/NotSerializableException.java: Likewise.
9074 * java/io/ObjectStreamException.java: Likewise.
9075 * java/io/ObjectStreamConstants.java: Likewise.
9076 * java/io/OptionalDataException.java: Likewise.
9077 * java/io/PipedInputStream.java: Likewise.
9078 * java/io/PushbackInputStream.java: Likewise.
9079 * java/io/StreamCorruptedException.java: Likewise.
9080 * java/io/SyncFailedException.java: Likewise.
9081 * java/io/UTFDataFormatException.java: Likewise.
9082 * java/io/UnsupportedEncodingException.java: Likewise.
9083 * java/io/WriteAbortedException.java: Likewise.
9085 2002-06-15 Nathanael Nerode <neroden@twcny.rr.com>
9087 * java/text/ChoiceFormat.java: Update comments from Classpath.
9088 * java/text/ParseException.java (serialVersionUID): New
9089 field from Classpath.
9090 * java/text/ParseException.java: Update formatting & comments
9093 2002-06-15 Tom Tromey <tromey@redhat.com>
9095 * java/util/zip/InflaterInputStream.java (read): Loop if data has
9096 been read but none output by inflater.
9097 * java/util/zip/natDeflater.cc (reset): Set is_finished.
9098 * java/util/zip/natInflater.cc (reset): Set dist_needed and
9100 * java/util/zip/ZipOutputStream.java: Replaced with Classpath
9102 * java/util/zip/ZipFile.java: Replaced with Classpath version.
9103 * java/util/zip/ZipEntry.java: Replaced with Classpath version.
9104 * java/util/zip/ZipInputStream.java: Replaced with Classpath
9106 * java/util/zip/ZipConstants.java: Replaced with Classpath version.
9108 2002-06-13 Tom Tromey <tromey@redhat.com>
9110 * java/lang/natString.cc (init): Handle case where DONT_COPY is
9112 * java/lang/String.java (String(char[],int,int,boolean): New
9114 * java/lang/Long.java: Imported new version from Classpath.
9115 * java/lang/Number.java: Likewise.
9116 * java/lang/Integer.java: Likewise.
9117 * java/lang/Long.java: Likewise.
9118 * java/lang/Float.java: Likewise.
9119 * java/lang/Boolean.java: Likewise.
9120 * java/lang/Double.java: Likewise.
9121 * java/lang/Void.java: Likewise.
9123 2002-06-12 Tom Tromey <tromey@redhat.com>
9125 * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
9126 Fixes PR libgcj/6652.
9128 2002-06-10 Tom Tromey <tromey@redhat.com>
9130 * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
9131 (Class::getPackagePortion): Likewise.
9132 * java/lang/Class.java (desiredAssertionStatus): New method from
9134 (getPackagePortion): Likewise.
9135 * java/lang/VMClassLoader.java (defaultAssertionStatus,
9136 packageAssertionStatus, classAssertionStatus): New methods from
9138 * java/lang/ClassLoader.java (defaultAssertionStatus,
9139 systemPackageAssertionStatus, packageAssertionStatus,
9140 systemClassAssertionStatus, classAssertionStatus): New fields from
9142 (setDefaultAssertionStatus, setPackageAssertionStatus,
9143 setClassAssertionStatus, clearAssertionStatus): New methods from
9145 * Makefile.in: Rebuilt.
9146 * Makefile.am (core_java_source_files): Added AssertionError.java.
9147 * java/lang/AssertionError.java: New from Classpath.
9149 2002-06-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9151 * configure.host: Disable hash synchronization and slow_pthread_self
9154 2002-06-06 Adam Megacz <adam@xwt.org>
9156 * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
9157 locking, just like the Sun JVM does.
9159 2002-06-05 H.J. Lu (hjl@gnu.org)
9161 * Makefile.am (libgcj_convenience.la): Revert the last change.
9162 (libgcj.la): Likewise.
9163 * Makefile.in: Regenerated.
9165 2002-06-04 H.J. Lu (hjl@gnu.org)
9167 * Makefile.am (libgcj_convenience.la): New target.
9168 (libgcj.la): Depend on libgcj_convenience.la.
9169 * Makefile.in: Regenerated.
9171 2002-06-04 H.J. Lu (hjl@gnu.org)
9173 * configure.in (--with-newlib): New option:
9174 Check ${with_newlib} instead of ${with_cross_host} for newlib.
9175 (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
9177 * configure: Regenerated.
9179 2002-06-04 Tom Tromey <tromey@redhat.com>
9181 * java/util/natTimeZone.cc: Include <stdio.h>.
9183 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com>
9185 * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
9186 * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
9187 Set SIGNAL_HANDLER=include/s390-linux.h.
9188 * configure: Regenerate.
9189 * include/s390-linux.h: New file.
9191 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9193 * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
9196 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9198 Merge JDK 1.4 java.security changes from classpath.
9200 * java/security/AccessControlException.java: Merge from Classpath.
9201 * java/security/AccessController.java: Likewise.
9202 * java/security/AllPermission.java: Likewise.
9203 * java/security/BasicPermission.java: Likewise.
9204 * java/security/Certificate.java: Likewise.
9205 * java/security/CodeSource.java: Likewise.
9206 * java/security/DigestException.java: Likewise.
9207 * java/security/DigestOutputStream.java: Likewise.
9208 * java/security/DomainCombiner.java: Likewise.
9209 * java/security/GeneralSecurityException.java: Likewise.
9210 * java/security/Guard.java: Likewise.
9211 * java/security/GuardedObject.java: Likewise.
9212 * java/security/InvalidAlgorithmParameterException.java: Likewise.
9213 * java/security/InvalidKeyException.java: Likewise.
9214 * java/security/InvalidParameterException.java: Likewise.
9215 * java/security/Key.java: Likewise.
9216 * java/security/KeyException.java: Likewise.
9217 * java/security/KeyManagementException.java: Likewise.
9218 * java/security/KeyStoreException.java: Likewise.
9219 * java/security/MessageDigest.java: Likewise.
9220 * java/security/NoSuchAlgorithmException.java: Likewise.
9221 * java/security/NoSuchProviderException.java: Likewise.
9222 * java/security/Permission.java: Likewise.
9223 * java/security/PermissionCollection.java: Likewise.
9224 * java/security/Permissions.java: Likewise.
9225 * java/security/Policy.java: Likewise.
9226 * java/security/Principal.java: Likewise.
9227 * java/security/PrivateKey.java: Likewise.
9228 * java/security/PrivilegedAction.java: Likewise.
9229 * java/security/PrivilegedActionException.java: Likewise.
9230 * java/security/PrivilegedExceptionAction.java: Likewise.
9231 * java/security/ProtectionDomain.java: Likewise.
9232 * java/security/ProviderException.java: Likewise.
9233 * java/security/PublicKey.java: Likewise.
9234 * java/security/SecureClassLoader.java: Likewise.
9235 * java/security/SecurityPermission.java: Likewise.
9236 * java/security/SignatureException.java: Likewise.
9237 * java/security/UnrecoverableKeyException.java: Likewise.
9238 * java/security/UnresolvedPermission.java: Likewise.
9239 * java/security/acl/AclNotFoundException.java: Likewise.
9240 * java/security/acl/LastOwnerException.java: Likewise.
9241 * java/security/acl/NotOwnerException.java: Likewise.
9242 * java/security/cert/CRLException.java: Likewise.
9243 * java/security/cert/CertificateEncodingException.java: Likewise.
9244 * java/security/cert/CertificateException.java: Likewise.
9245 * java/security/cert/CertificateExpiredException.java: Likewise.
9246 * java/security/cert/CertificateFactory.java: Likewise.
9247 * java/security/cert/CertificateNotYetValidException.java: Likewise.
9248 * java/security/cert/CertificateParsingException.java: Likewise.
9249 * java/security/spec/InvalidKeySpecException.java: Likewise.
9250 * java/security/spec/InvalidParameterSpecException.java: Likewise.
9252 * java/security/cert/CertPath.java: New file.
9253 * java/security/cert/CertPathBuilderException.java: New file.
9254 * java/security/cert/CertPathValidatorException.java: New file.
9255 * java/security/cert/CertStoreException.java: New file.
9257 * Makefile.am: Add new CertPath classes.
9258 * Makefile.in: Rebuilt.
9260 * gnu/java/util/EmptyEnumeration.java: New file from classpath.
9262 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9264 Merge JDK 1.4 exception chaining support from classpath.
9266 * java/lang/Throwable.java: Merge 1.4 support from classpath.
9267 (stackTraceBytes): Rename from stackTrace.
9268 * java/lang/Exception.java: Merge from classpath.
9269 * java/lang/StackTraceElement: New file from classpath.
9270 * gcj/javaprims.h: Rebuild CNI namespace declarations.
9271 * Makefile.am: Add StackTraceElement.
9272 * Makefile.in: Rebuilt.
9274 2002-05-23 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9276 * Makefile.am (all-recursive): Depend on $all_java_class_files so that
9278 * Makefile.in: Rebuilt.
9280 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9282 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
9283 * configure.in: Likewise.
9284 * aclocal.m4: Regenerate.
9285 * configure: Regenerate.
9287 2002-05-13 Tom Tromey <tromey@redhat.com>
9289 * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
9290 * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
9293 Fixes PR libgcj/6389:
9294 * Makefile.in: Rebuilt.
9295 * Makefile.am (nat_source_files): Added natTimeZone.cc.
9296 * java/util/natTimeZone.cc: New file.
9297 * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
9298 * java/lang/System.java: Merged with Classpath.
9299 * java/lang/Runtime.java: Merged with Classpath.
9300 * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
9302 (setIn0): Renamed from setIn; don't run security check.
9303 (setOut0): Renamed from setOut; don't run security check.
9304 (file_encoding, getpwuid_adaptor, getSystemTimeZone,
9305 init_properties): Moved to natRuntime.cc.
9306 Moved many includes to natRuntime.cc.
9307 (isWordsBigEndian): New method.
9308 * java/lang/natRuntime.cc: Include Long.h, also other includes
9309 previously in natSystem.cc.
9310 (maxMemory): New function.
9311 (exitInternal): Renamed from `_exit'.
9313 (init): Don't set finalize_on_exit.
9314 (exitInternal): Use `finalizeOnExit'.
9315 (file_encoding, getpwuid_adaptor): New functions from
9317 (insertSystemProperties): New method, renamed from
9318 System::init_properties. Don't set user.timezone.
9319 (_load): Don't call checkLink.
9320 (execInternal): New method.
9321 (availableProcessors): Likewise.
9322 (nativeGetLibname): Likewise.
9324 2002-05-11 Mark Wielaard <mark@klomp.org>
9326 * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
9328 (previous_internal): Likewise.
9330 2002-05-09 Tom Tromey <tromey@redhat.com>
9332 * jni.cc (_Jv_JNIFunctions): Fixed typo.
9334 * java/util/ResourceBundle.java: New version from Classpath.
9335 * java/util/Locale.java: Likewise.
9337 2002-05-09 Jakub Jelinek <jakub@redhat.com>
9339 * testsuite/lib/libjava.exp (libjava_arguments): Append all
9340 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
9343 2002-05-08 Mark Mitchell <mark@codesourcery.com>
9345 * libjava/Makefile.am (all_java_source_files): New variable.
9346 (all_java_class_files): Likewise.
9347 .java.class: New rule.
9348 (CLEANFILES): Remove tmp-list.
9349 * libjava/Makefile.in: Regenerated.
9351 2002-05-09 David.Billinghurst <David.Billinghurst@riotinto.com>
9353 * testsuite/lib/libjava.exp (test_libjava_from_javac):
9354 Append .exe to executable names. Fix for cygwin.
9356 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
9358 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
9359 script entry, and set LD to it when configuring multilibs.
9360 * configure: Rebuilt.
9362 2002-05-07 Tom Tromey <tromey@redhat.com>
9364 * java/lang/natString.cc (unintern): Fixed typo.
9366 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
9368 * testsuite/lib/libjava.exp (libjava_arguments): Don't link
9369 with -no-install on *-*-cygwin*.
9371 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
9373 * testsuite/lib/libjava.exp (test_libjava_from_source):
9374 Add comment explaining last patch
9376 2002-05-04 David Billinghurst <David.Billinghurst@riotinto.com>
9378 * testsuite/lib/libjava.exp (test_libjava_from_source):
9379 Append .exe to executable names. If no suffix is present,
9380 then ".exe" is added by default on win32. Harmless
9381 elsewhere so always do it.
9383 2002-05-03 David Billinghurst <David.Billinghurst@riotinto.com>
9384 Tom Tromey <tromey@redhat.com>
9386 * java/lang/natSystem.cc (getSystemTimeZone): Use
9387 HAVE_UNDERSCORE_TIMEZONE.
9388 * include/config.h.in: Rebuilt.
9389 * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
9390 * aclocal.m4, configure: Rebuilt.
9391 * acinclude.m4: Run AC_EXEEXT.
9392 * configure.in: Adjust test for `timezone' so it fails on Cygwin.
9393 Add test for `_timezone'.
9395 2002-05-03 Alexandre Oliva <aoliva@redhat.com>
9397 Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9398 * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
9399 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
9400 * Makefile.in: Rebuilt.
9402 2002-05-02 Hans Boehm <Hans_Boehm@hp.com>
9404 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
9405 use sigaction instead of __libc_sigaction.
9407 2002-05-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9409 * testsuite/lib/libjava.exp (libjava_find_spec): New function.
9410 (libjava_init): Use it to find libgcj.spec.
9411 (libjava_arguments): Likewise.
9413 2002-05-02 David S. Miller <davem@redhat.com>
9416 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
9417 __libc_sigaction on Sparc.
9419 2002-05-02 Jerome Marc <marcjero@yahoo.com>
9421 * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
9422 sys/filio.h, if present.
9424 2002-04-30 Tom Tromey <tromey@redhat.com>
9426 * java/io/BufferedReader.java (fill): Handle case where markPos
9427 point to ignored \n. Fixes PR libgcj/6301.
9429 2002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
9431 * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
9433 2002-04-29 Adam King <aking@dreammechanics.com>
9435 * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
9436 of file in APPEND mode.
9438 2002-04-25 David S. Miller <davem@redhat.com>
9441 * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
9442 program counter to next program counter minus 8. Update
9443 comments in this macro to explain why.
9445 2002-04-26 Tom Tromey <tromey@redhat.com>
9447 * verify.cc (construct_primitive_array_type) [void_type]: New
9449 (branch_prepass): Added dummy entries for unused instruction
9451 (verify_instructions_0): Likewise.
9452 * interpret.cc (continue1): Comment fix.
9453 * include/java-insns.h (op_xxxunusedxxx1): Removed.
9454 * Makefile.in: Rebuilt.
9455 * Makefile.am: Added -Wswitch-enum.
9457 2002-04-24 Tom Tromey <tromey@redhat.com>
9459 * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
9460 correct length of UTF-8 encoded name. Strip leading `/'.
9461 (_Jv_RegisterResource): Use _Jv_Malloc.
9463 2002-04-23 Adam Megacz <adam@xwt.org>
9465 * win32.cc, include/win32.cc (backtrace): Added this function
9466 because Win32 does not supply it.
9468 2002-04-21 David S. Miller <davem@redhat.com>
9470 * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
9471 magic instruction reading sequence.
9473 2002-04-21 Mark Wielaard <mark@klomp.org>
9475 * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
9477 2002-04-19 David S. Miller <davem@redhat.com>
9479 * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
9481 (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
9482 (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
9484 * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
9486 (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
9487 * sysdeps/sparc/locks.h: New file.
9488 * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
9489 on all sparc Solaris configurations. Set to
9490 include/dwarf2-signal.h on sparc Linux.
9491 * configure: Regenerate
9492 * configure.host (can_unwind_signal): sparc*-linux* can do it now.
9494 2002-04-19 Hans Boehm <Hans_Boehm@hp.com>
9496 * configure: Rebuilt.
9497 * configure.in (backtrace): Function doesn't work on IA-64.
9499 2002-04-17 Adam King <aking@dreammechanics.com>
9501 * java/io/File.java (normalizePath): Add Win32 support for auto
9502 conversion of a '/' path separator to Win32's '\' separator.
9504 2002-04-16 Tom Tromey <tromey@redhat.com>
9506 Fix for PR libgcj/6081:
9507 * Makefile.in: Rebuilt.
9508 * Makefile.am (install-data-local): Use GNU make trick to avoid
9511 2002-04-16 Adam King <aking@dreammechanics.com>
9512 Tom Tromey <tromey@redhat.com>
9514 * java/io/natFileWin32.cc (performList): Return the correct array
9515 type. Don't duplicate the creation of a File since it's already
9516 done earlier in the method and the existing code would cause a
9517 ArrayStoreException. Don't use fixed-size array.
9518 (_access, _stat, attr, getCanonicalPath, performMkdir,
9519 performRenameTo): Don't use fixed-size array.
9520 (getCanonicalPath): Use throw, not _Jv_Throw.
9522 2002-04-15 DJ Delorie <dj@redhat.com>
9524 * configure.in: Allow building in $srcdir.
9525 * configure: Regenerated.
9527 2002-04-14 Mark Wielaard <mark@klomp.org>
9529 * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
9530 * java/net/natSocketImpl.cc (close): Likewise.
9532 2002-04-14 Mark Wielaard <mark@klomp.org>
9534 * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
9536 2002-04-13 Adam King <aking@dreammechanics.com>
9538 * java/lang/natDouble.cc (parseDouble): Allow a number to end with
9539 the f/F/d/D modifiers.
9541 2002-04-12 Anthony Green <green@redhat.com>
9543 * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
9544 Create libgcj-@gcc_version@.jar instead of libgcj.jar.
9545 * Makefile.in: Rebuilt.
9546 * configure.in: Substitute gcc_version.
9547 * configure: Rebuilt.
9549 2002-04-11 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9551 * configure.host: Set can_unwind_signal on hosts which support it.
9552 Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
9553 * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
9554 exceptions and can_unwind_signal isn't set.
9555 * configure: Rebuilt.
9557 2002-04-11 Tom Tromey <tromey@redhat.com>
9559 * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
9561 2002-04-11 Adam King <aking@dreammechanics.com>
9562 Tom Tromey <tromey@redhat.com>
9564 * include/jvm.h (_Jv_ThrowBadArrayIndex,
9565 _Jv_ThrowNullPointerException): Mark as noreturn.
9566 * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
9567 and _Jv_free. Correctly invoke GetTempPath(). Indentation
9570 2002-04-10 Tom Tromey <tromey@redhat.com>
9572 * Makefile.in: Rebuilt.
9573 * Makefile.am (java/lang/Thread.h): Mark
9574 _Jv_AttachCurrentThreadAsDaemon as friend.
9575 * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
9576 * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
9577 * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
9579 * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
9580 * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
9581 (_Jv_JNI_InvokeFunctions): Added
9582 _Jv_JNI_AttachCurrentThreadAsDaemon.
9583 (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
9584 (JNI_GetDefaultJavaVMInitArgs): Likewise.
9585 (JNI_CreateJavaVM): Likewise.
9586 (_Jv_JNI_AttachCurrentThread): Likewise.
9587 (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
9588 (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
9589 (_Jv_JNIFunctions): Initialize new fields.
9590 (_Jv_JNI_NewDirectByteBuffer): New function.
9591 (_Jv_JNI_GetDirectBufferAddress): Likewise.
9592 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
9593 * include/jni.h (JNI_VERSION_1_4): New macro.
9594 (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
9595 (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
9596 (JNINativeInterface::NewDirectByteBuffer): New field.
9597 (JNINativeInterface::GetDirectBufferAddress): New field.
9598 (JNINativeInterface::GetDirectBufferCapacity): New field.
9599 (_Jv_JNIEnv::NewDirectByteBuffer): New method.
9600 (_Jv_JNIEnv::GetDirectBufferAddress): New method.
9601 (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
9603 2002-04-09 Tom Tromey <tromey@redhat.com>
9605 * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
9607 2002-04-08 Alberto Biancardi <alberto.biancardi@unipv.it>
9609 Fix for PR libgcj/6187:
9610 * java/awt/geom/Point2D.java (distance): Call distanceSq, not
9613 2002-04-07 Mark Wielaard <mark@klomp.org>
9615 * java/util/AbstractMap.java (putAll): Use entrySet size.
9616 (toString): Explicitly use getKey() and getValue().
9618 2002-04-07 Mark Wielaard <mark@klomp.org>
9620 * java/util/Hashtable.java (contains): Remove NullPointer check.
9621 (containsValue): Add NullPointer check.
9622 (remove): Always throw NullPointerException when key
9625 2002-04-07 Adam King <aking@dreammechanics.com>
9627 * java/lang/natSystem.cc (init_properties): Call new function
9628 _Jv_platform_initProperties.
9629 * win32.cc (_Jv_platform_initProperties): New function that adds Win32
9630 support for the System properties os.name, os.arch, os.version,
9631 user.name, user.home, and user.dir.
9632 * include/posix.h, include/win32.h, posix.cc: New function
9633 _Jv_platform_initProperties.
9635 2002-04-06 Mark Wielaard <mark@klomp.org>
9637 * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
9639 2002-04-06 Mark Wielaard <mark@klomp.org>
9641 * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
9642 all of the remaining elements.
9643 * java/util/Vector.java (addAll(int,Collection)): Likewise.
9644 (removeRange): If toIndex == fromIndex do
9645 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
9646 (removeAll): Always throw NullPointerException when collection is
9648 (retrainAll): Likewise.
9650 2002-04-05 Mark Wielaard <mark@klomp.org>
9652 * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
9653 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
9655 2002-04-05 Adam Megacz <adam@xwt.org>
9657 * exception.cc (abort): added static modifier
9659 2002-04-04 Adam Megacz <adam@xwt.org>
9661 * include/win32.h (_Jv_platform_close_on_exec): added inline
9664 2002-04-04 Loren J. Rittle <ljrittle@acm.org>
9666 * configure.host: Add case statement to support generic port
9667 properties. Add *-*-freebsd* section.
9669 2002-04-04 Mark Wielaard <mark@klomp.org>
9671 * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
9673 * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
9674 FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
9675 that depend on awt code and BufferedByteOutputStream.interrupt.
9677 2002-04-04 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9679 * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
9680 incorrect "hi" value when count > 40.
9682 2002-04-03 Mark Wielaard <mark@klomp.org>
9684 * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
9687 2002-04-02 Tom Tromey <tromey@redhat.com>
9689 * java/lang/natClassLoader.cc (findClass): Compare against `3',
9692 2002-04-02 Mark Wielaard <mark@klomp.org>
9694 * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
9695 list of testsuite crashers.
9697 2002-04-02 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9699 * java/util/IdentityHashMap.java (put): Set new threshold correctly
9700 when resizing table.
9702 2002-04-01 Mark Wielaard <mark@klomp.org>
9704 * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
9705 NegativeArraySizeException
9706 (clear(int)): Use sign extended shift.
9707 (flip(int)): Likewise.
9708 (get(int)): Likewise.
9709 (nextClearBit(int)): Likewise.
9710 (nextSetBit(int)): Likewise.
9711 (set(int)): Likewise.
9713 2002-04-01 Mark Wielaard <mark@klomp.org>
9715 * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
9716 that can be compiled now and add testsuite crashers to ignore list.
9718 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
9720 * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
9722 * libgcj.spec.in: Override libgcc, not lib.
9723 * libgcj-test.spec.in: Likewise.
9725 2002-03-29 Tom Tromey <tromey@redhat.com>
9727 * java/net/natPlainDatagramSocketImpl.cc (close): New function.
9728 * java/net/natPlainSocketImpl.cc (close): Indentation fix.
9730 2002-03-27 Jeff Sturm <jsturm@one-point.com>
9732 * java/net/PlainDatagramSocketImpl.java
9733 (close): Use native implementation.
9734 (finalize): New method.
9736 * java/net/PlainSocketImpl.java (finalize): New method.
9738 * java/net/natPlainDatagramSocketImpl.cc
9739 (java/io/FileDescriptor.h): Don't include.
9740 (close): Implement method here.
9741 (create): Don't assign fd.
9743 * java/net/natPlainSocketImpl.cc
9744 (java/io/FileDescriptor.h): Don't include.
9745 (create): Don't assign fd.
9747 (close): Synchronize.
9749 2002-03-27 Richard Henderson <rth@redhat.com>
9751 * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
9753 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
9755 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
9756 (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
9757 instead of syscall on IA-64.
9760 2002-03-27 Anthony Green <green@redhat.com>
9762 * libgcj.spec.in: Add CHECKREFSPEC.
9763 * configure.in: Ditto.
9764 * configure.host: Ditto. Check references for xscale-elf.
9765 * configure: Rebuilt.
9767 2002-03-26 Hans Boehm <Hans_Boehm@hp.com>
9769 * include/dwarf2-signal.h: Temporarily back out last change.
9771 2002-03-26 Loren J. Rittle <ljrittle@acm.org>
9773 * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
9775 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
9777 * configure.in, configure: enable dwarf2-exception-style
9778 exception handling on IA-64.
9779 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
9780 (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
9783 2002-03-25 Tom Tromey <tromey@redhat.com>
9785 * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
9786 (jv_convert_LDFLAGS): Likewise.
9787 (gij_LDFLAGS): Likewise.
9788 (rmic_LDFLAGS): Likewise.
9789 (rmiregistry_LDFLAGS): Likewise.
9790 * configure.in (THREADLDFLAGS): New subst; set correctly for
9793 2002-03-25 Tom Tromey <tromey@redhat.com>
9796 * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
9799 (version): Likewise.
9800 * gnu/gcj/convert/Convert.java (version): Removed extraneous
9802 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
9805 2002-03-25 Tom Tromey <tromey@redhat.com>
9807 * java/awt/Component.java (processEvent): Check ComponentEvent
9810 2002-03-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9812 * java/io/PushbackReader.java: Reformat.
9814 * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
9815 calculate correct number of bytes skipped.
9817 Based on patch from Intel's ORP team:
9818 * java/io/PushbackInputStream.java (available): Calculate correct
9819 number of bytes in buffer.
9820 (read): Remove redundant bound check. Return bytes from both the
9821 buffer and the stream.
9823 2002-03-24 Tom Tromey <tromey@redhat.com>
9825 * java/awt/TextComponent.java (TextComponent): Editable by
9828 * java/awt/MenuItem.java (eventMask): No longer private.
9829 * java/awt/Button.java (dispatchEventImpl): Only dispatch to
9830 superclass if we didn't handle event.
9831 * java/awt/Checkbox.java (dispatchEventImpl): New method.
9832 * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
9833 * java/awt/Choice.java (dispatchEventImpl): New method.
9834 * java/awt/List.java (dispatchEventImpl): New method.
9835 * java/awt/Scrollbar.java (dispatchEventImpl): New method.
9836 * java/awt/TextComponent.java (dispatchEventImpl): New method.
9837 * java/awt/TextField.java (dispatchEventImpl): New method.
9839 2002-03-24 Eric Blake <ebb9@email.byu.edu>
9841 * java/beans/IntrospectionException.java: Update to 1.4.
9842 * java/beans/PropertyVetoException.java: Ditto.
9844 2002-03-24 Eric Blake <ebb9@email.byu.edu>
9846 * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
9847 Arrays.equals instead of ArrayHelper.equalsArray.
9849 2002-03-24 C. Brian Jones <cbj@gnu.org>
9851 * java/beans/Introspector.java: added new static final fields
9852 introduced in 1.2, lots of other updates remain to be done
9854 2002-03-24 C. Brian Jones <cbj@gnu.org>
9856 * java/beans/Introspector.java: reformatting
9858 2002-03-24 C. Brian Jones <cbj@gnu.org>
9860 * java/beans/Introspector.java: default beanInfoSearchPath will
9861 not include sun.beans.infos given we provide no such package and
9862 the API doesn't really require it; gnu.java.beans.info is the
9865 2002-03-24 Mark Wielaard <mark@klomp.org>
9867 Thanks to Orp developers
9868 * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
9869 switch TRUE and FALSE return values.
9871 2002-03-23 Tom Tromey <tromey@redhat.com>
9873 * include/name-finder.h (_Jv_name_finder::myclose): New method.
9874 * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
9876 2002-03-23 Michael Smith <msmith@spinnakernet.com>
9878 * java/util/GregorianCalendar.java (minimums, maximums): Correct
9879 MONTH entry. Fixes PR libgcj/6045.
9881 2002-03-23 Jeff Sturm <jsturm@one-point.com>
9883 * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
9885 2002-03-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9887 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
9889 * sysdep/powerpc/locks.h (write_barrier): New function.
9890 * sysdep/i386/locks.h (write_barrier): New function.
9892 2002-03-19 Martin Kahlert <martin.kahlert@infineon.com>
9894 * include/jni.h Use correct C comments.
9896 2002-03-18 Tom Tromey <tromey@redhat.com>
9898 * include/jni.h (JNIIMPORT): New macro.
9899 (JNIEXPORT): Likewise.
9900 (JNICALL): Likewise.
9902 2002-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9904 * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
9907 2002-03-18 Andrew Haley <aph@cambridge.redhat.com>
9909 * include/i386-signal.h (old_i386_kernel_sigaction): New.
9910 INIT_SEGV: Use old_i386_kernel_sigaction.
9913 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9915 * java/lang/natSystem.cc (init_properties): Update VM version
9917 * configure.in: Set GCJVERSION.
9918 * acconfig.h: Add GCJVERSION.
9919 * configure: Rebuilt.
9920 * include/config.h.in: Rebuilt.
9922 2002-03-17 Anthony Green <green@redhat.com>
9924 * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
9926 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9928 Build a single libgcj.so, without separate gc and zlib libraries.
9929 * configure.in: Use convenience libraries for boehm-gc and zlib. Set
9930 SYS_ZLIBS if system zlib is used.
9931 * configure: Rebuilt.
9932 * Makefile.am: Use boehm-gc and zlib convenience libraries.
9933 * Makefile.in: Rebuilt.
9934 * libtool-version: Increment .so version number.
9936 * Makefile.am: Escape quotes in echo.
9937 * Makefile.in: Rebuilt.
9939 2002-03-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9941 * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
9942 * Makefile.in: Rebuilt.
9944 2002-03-15 Anthony Green <green@redhat.com>
9946 * configure.host (FILE): New macro for specifing File
9948 * configure: Rebuilt.
9949 * configure.in: Use FILE. Define HAVE_TIME for newlib targets.
9951 2002-03-15 Alexandre Oliva <aoliva@redhat.com>
9953 * Makefile.am (jv_convert_LDADD): Don't list libraries that are
9954 already implicitly brought in from libgcj.la.
9955 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
9956 * Makefile.in: Rebuilt.
9958 2002-03-15 Eric Blake <ebb9@email.byu.edu>
9960 * THANKS: Fix punctuation, alphabetization.
9962 2002-03-15 Tom Tromey <tromey@redhat.com>
9963 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9965 Fix for PR libgcj/5944.
9966 * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
9968 2002-03-15 Anthony Green <green@redhat.com>
9970 * configure.in (tool_include_dir): Define.
9971 * configure: Rebuilt.
9972 * gcj/Makefile.am: Install libgcj-config.h relative to
9974 * gcj/Makefile: Rebuilt.
9975 * gcj/libgcj-config.h: Add warning comment.
9977 2002-03-12 Andreas Tobler <a.tobler@schweiz.ch>
9979 * configure.host (powerpc*-darwin*): Enable interpreter.
9981 2002-03-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9983 * include/posix.h: Add multiple include header protection.
9984 * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
9986 2002-03-10 Adam Megacz <adam@xwt.org>
9988 * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
9990 2002-03-10 Tom Tromey <tromey@redhat.com>
9992 * java/awt/GridLayout.java (layoutContainer): Handle case where
9993 there are no items in container.
9995 * java/lang/Win32Process.java: Added comment.
9996 * include/posix.h (_Jv_platform_close_on_exec): New function.
9998 * include/win32.h (_Jv_platform_close_on_exec): New function.
9999 * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
10001 (accept): Likewise.
10002 * java/net/natPlainDatagramSocketImpl.cc (create): Set
10003 close-on-exec flag.
10004 * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
10007 2002-03-09 Tom Tromey <tromey@redhat.com>
10009 * verify.cc (state::NO_STACK): New constant.
10010 (state::is_unmerged_ret_state): Handle case where stacktop is
10012 (state::merge): Handle NO_STACK merges.
10013 (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
10014 for instruction following jsr.
10015 (stacktop, stackdepth): Removed unused variables.
10016 (pop_jump): Ignore case where all remaining states are skipped.
10018 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10020 * java/awt/ImageMediaEntry: Removed.
10021 * java/awt/MediaEntry: Removed.
10023 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10025 Hashtable synchronization for PowerPC.
10026 * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
10027 slow_pthread_self. Set up symlink for sysdeps directory.
10028 * configure: Rebuild.
10029 * configure.host: Document more shell variables. Set sysdeps_dir
10030 for most platforms. Set slow_pthread_self for i686. Set
10031 enable_hash_synchronization_default and slow_pthread_self for PowerPC.
10032 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
10033 that memory barrier is emitted where required.
10034 * prims.cc: 64-bit align static primitive class instances.
10035 * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
10036 read_barrier() to enforce ordering of reads.
10037 * sysdep/powerpc/locks.h: New file. Implementation of synchronization
10038 primitives for PowerPC.
10039 * sysdep/i386/locks.h: New file. Synchronization primitives for i386
10040 moved from natObject.cc.
10041 * sysdep/alpha/locks.h: Likewise.
10042 * sysdep/ia64/locks.h: Likewise.
10043 * sysdep/generic/locks.h: Likewise.
10044 * java/lang/natObject.cc: Move thread synchronization primitives to
10045 system-dependent headers.
10047 2002-03-09 Adam Megacz <adam@xwt.org>
10049 * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
10050 bytes read and no failure code returned.
10052 2002-03-09 Adam Megacz <adam@xwt.org>
10054 * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
10055 definitions to simulate -mthreads.
10057 2002-03-09 Adam Megacz <adam@xwt.org>
10059 * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
10060 avoid precision loss.
10062 2002-03-09 Per Bothner <per@bothner.com>
10064 * gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.
10065 * gnu/gcj/xlib/XImage.java: Likewise.
10066 * gnu/gcj/xlib/XColor.java: Likewise.
10068 2002-03-09 Adam Megacz <adam@xwt.org>
10070 * java/lang/Win32Process.java (ConcreteProcess): Now throws an
10071 IOException so that Throwable.printStackTrace fails correctly.
10073 2002-03-08 Adam Megacz <adam@xwt.org>
10075 * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
10078 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10080 * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
10083 2002-03-08 Tom Tromey <tromey@redhat.com>
10085 * include/jni.h: Include stdio.h.
10087 2002-03-08 Tom Tromey <tromey@redhat.com>
10089 * posix.cc (internal_gettimeofday): New function.
10090 (_Jv_select): Use it.
10092 2002-03-07 Adam Megacz <adam@xwt.org>
10094 * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
10095 WIN32, and added thunks for read(), write(), and close().
10096 * java/net/natPlainSocketImpl.cc (accept, read, read):
10097 Disabled timeouts on WIN32 pending discussion.
10099 2002-03-07 Adam Megacz <adam@xwt.org>
10101 * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
10102 returns jlong. Added implementation
10103 * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
10105 * win32.h (_Jv_platform_gettimeofday): Now takes no args,
10107 * posix.h (_Jv_platform_gettimeofday): Now takes no args,
10109 * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
10110 _Jv_platform_gettimeofday signature.
10112 2002-03-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10114 * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
10115 (read): Call recv() directly, not _Jv_recv().
10117 2002-03-06 Tom Tromey <tromey@redhat.com>
10119 * java/io/natFileDescriptorEcos.cc (init): Don't use
10121 * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
10123 (init): Don't use GetStdHandle.
10125 * include/config.h.in: Rebuilt.
10126 * configure: Rebuilt.
10127 * Makefile.in: Rebuilt.
10129 2002-03-06 Adam Megacz <adam@xwt.org>
10131 * java/io/FileDescriptor.java: Initialize in/out/err in init().
10132 * java/io/natFileDescriptorWin32.cc (init()): Added function.
10133 * java/io/natFileDescriptorPosix.cc (init()): Added function.
10134 * java/io/natFileDescriptorEcos.cc (init()): Added function.
10136 2002-03-06 Eric Blake <ebb9@email.byu.edu>
10138 * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
10139 the code for generating include/java-chartables.h.
10140 * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
10141 merge with Classpath.
10142 * scripts/unicode-muncher.pl: Copy from Classpath.
10143 * scritps/MakeCharTables.java: New file.
10144 * gnu/gcj/convert/Blocks-3.txt: New file.
10145 * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
10146 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
10147 * gnu/java/lang/CharData.java: Copy from Classpath.
10148 * Makefile.am (ordinary_java_source_files): Add
10149 gnu/java/lang/CharData.java.
10150 * configure.in: Remove --enable-fast-character option.
10151 * java/lang/Character.java: Merge algorithms and Javadoc with
10153 * java/lang/natCharacter.cc: Implement Unicode lookup table more
10155 * include/java-chardecomp.h: Regenerate.
10156 * include/java-chartables.h: Regenerate.
10158 2002-03-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10160 * java/awt/MediaTracker.java: Implemented.
10161 * Makefile.am: Add MediaTracker.
10162 * Makefile.in: Rebuilt.
10164 2002-03-05 Tom Tromey <tromey@redhat.com>
10166 * java/lang/natPosixProcess.cc (fail): Removed.
10167 (startProcess): Simplified error-handling. Preserve
10168 LD_LIBRARY_PATH across exec.
10170 * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
10171 AbstractMethodError.
10173 2002-03-03 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10175 * Makefile.am: Use -bootclasspath, not -CLASSPATH.
10176 * Makefile.in: Rebuilt.
10178 2002-03-03 Mark Wielaard <mark@klomp.org>
10180 * java/util/Timer (TaskQueue.stop): set elements to zero.
10182 2002-02-28 Anthony Green <green@redhat.com>
10184 * java/lang/reflect/natMethod.cc (result): Add void* element.
10185 (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments. Move
10188 2002-02-27 Adam Megacz <adam@xwt.org>
10190 * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
10193 2002-02-26 Tom Tromey <tromey@redhat.com>
10195 * java/lang/natSystem.cc (init_properties): Use __VERSION__.
10196 * gij.cc (version): Use __VERSION__.
10197 * include/config.h.in: Rebuilt.
10198 * acconfig.h (GCJVERSION): Removed.
10199 * configure: Rebuilt.
10200 * configure.in (GCJVERSION): Removed.
10202 2002-02-26 Andreas Schwab <schwab@suse.de>
10204 * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
10205 glibcpp_CXX, since libjava uses even another CXX.
10206 * aclocal.m4, configure: Regenerated.
10208 2002-02-26 Tom Tromey <tromey@redhat.com>
10210 * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
10213 2002-02-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10215 * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
10216 dependency tracking for .java files.
10217 * Makefile.in: Rebuilt.
10219 2002-02-24 Adam Megacz <adam@xwt.org>
10221 * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
10224 2002-02-24 Adam Megacz <adam@xwt.org>
10226 * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
10227 for Win32, changed #ifdefs to check WIN32 instead of the
10228 (now-obsolete) USE_WINSOCK, and removed support for socket
10229 timeouts on Win32 pending further discussion.
10231 2002-02-24 Adam Megacz <adam@xwt.org>
10233 * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
10234 * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
10237 2002-02-24 Adam Megacz <adam@xwt.org>
10239 * java/lang/Win32Process.java: Created a dummy class to allow
10240 build process to run to completion.
10242 2002-02-24 Jeff Sturm <jsturm@one-point.com>
10244 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
10245 Define ffi_result union for ffi_call result. Cast
10246 ffi_result members to jvalue.
10248 2002-02-23 Alexandre Oliva <aoliva@redhat.com>
10250 * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
10251 * testsuite/Makefile.in: Likewise.
10253 2002-02-20 Per Bothner <per@bothner.com>
10255 * java/net/URL.java (getPath): New JDK 1.3 method.
10257 * java/net/URLStreamHandler.java (parseURL):
10258 It is wrong to prepend '/' to the file part of a relative url.
10260 * java/net/URLStreamHandler.java (parseURL):
10261 Minor optizations - append '/' rather than "/".
10263 * java/net/URLStreamHandler.java (parseURL):
10264 Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
10265 We probably should canonicalize for a context-relative url, though.
10266 * java/net/URL.java (sameFile): Delegate to URLStreamHandler.
10267 * java/net/URLStreamHandler.java (canonicalizeFilename): New helper.
10268 (sameFile): New method. Uses canonicalizeFilename.
10270 2002-02-22 Tom Tromey <tromey@redhat.com>
10272 * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
10273 java.vendor and java.vm.vendor.
10274 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
10275 recent copyright date.
10276 * gnu/gcj/convert/Convert.java (version): Print `Inc'.
10277 * gij.cc (version): Print `Inc'.
10279 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
10281 * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
10282 * aclocal.m4, configure: Rebuilt.
10284 2002-02-20 Per Bothner <per@bothner.com>
10286 * gnu/gcj/protocol/file/Connection.java (conect): Open the input
10287 and/or output streams immediately here, instead of using File.exists.
10288 (inputStream, outputStream): New fields to save open streams.
10289 (getInputStream, getOutputStream): Use already-opened streams.
10291 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
10293 * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
10295 * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
10296 * aclocal.m4, configure, Makefile.in: Rebuilt.
10298 2002-02-19 Tom Tromey <tromey@redhat.com>
10300 Fix for PR libgcj/5696:
10301 * verify.cc (is_assignable_from_slow): Never call
10302 _Jv_IsAssignableFrom.
10303 (verify_instructions_0): Added new debug statement.
10304 (state::print): Print information about whether local has
10306 (state::merge): Don't call note_variable when merging locals.
10307 (state::set_exception): Removed old FIXME comment.
10309 2002-02-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10311 * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
10312 enable SO_BROADCAST.
10314 2002-02-18 Jason Merrill <jason@redhat.com>
10316 * name-finder.cc (toHex): Use word mode, not long long.
10318 * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
10320 2002-02-15 Tom Tromey <tromey@redhat.com>
10322 Fix for PR libgcj/5695:
10323 * verify.cc (is_assignable_from_slow): Check to see if target is
10324 an Object before checking to see if source is an interface.
10325 (verify_instructions_0) [op_invokeinterface]: Handle case where
10326 we're making an interface call on Object.
10328 2002-02-15 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10330 * Makefile.in: Rebuilt with Eric's change below.
10332 * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
10333 round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
10334 Removed functions which are now implemented in Math.java.
10336 2002-02-14 Eric Blake <ebb9@email.byu.edu>
10338 * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
10339 * Makefile.am (core_java_source_files): Add
10340 java/lang/StrictMath.java.
10341 * java/lang/Math.java: Merge with Classpath.
10342 * java/lang/StrictMath.java: New file - merge with Classpath.
10344 2002-02-14 Mark Wielaard <mark@klomp.org>
10346 * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
10347 package as a workaround for gcj 3.0.x
10349 2002-02-14 Mark Wielaard <mark@klomp.org>
10351 * java/security/BasicPermission.java: extends with fully qualified
10352 classname as workaround for gcj 3.0.4.
10354 2002-02-14 Eric Blake <ebb9@email.byu.edu>
10356 * java/net/DatagramSocketImpl.java (setOption, getOption): Work
10357 around gcj bug of wrong emitted qualifier for inherited method.
10358 * java/net/SocketImpl.java (setOption, getOption): Ditto.
10359 * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
10360 constructor to reduce amount of emitted bytecode. While this
10361 happens to work around a jikes 1.15 bug, it is still a useful
10362 patch even for correct compilers.
10363 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
10364 * gnu/java/rmi/server/UnicastRemoteCall.java
10365 (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
10367 2002-02-14 Eric Blake <ebb9@email.byu.edu>
10369 * java/net/DatagramSocketImpl.java: Reformat (no code changes).
10370 * java/net/SocketImpl.java: Ditto.
10371 * java/rmi/server/RMIClassLoader.java: Ditto.
10372 * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
10374 2002-02-14 Mark Wielaard <mark@klomp.org>
10376 Thanks to Takashi Okamoto
10377 * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
10378 * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
10379 * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
10381 2002-02-13 Todd Stock <toddastock@yahoo.com>
10383 Fix for PR libgcj/5670:
10384 * verify.cc (is_assignable_from_slow): If `source' is interface,
10385 recursively look for merge with `target'.
10387 2002-02-14 Martin Kahlert <martin.kahlert@infineon.com>
10389 * include/jni.h: Fix typo.
10391 2002-02-13 Martin Kahlert <martin.kahlert@infineon.com>
10393 * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
10396 2002-02-13 Todd Stock <toddastock@yahoo.com>
10398 Fix for PR libgcj/5671:
10399 * verify.cc (state::merge): Handle case where we're merging
10400 against an interface.
10402 2002-02-12 Tom Tromey <tromey@redhat.com>
10404 * exception.cc (std::abort): Mark as noreturn.
10406 2002-02-12 Adam Megacz <adam@xwt.org>
10408 * java/lang/Win32Process.java: Filled in a placeholder
10409 implementation so Win32 will build.
10411 2002-02-12 Adam Megacz <adam@xwt.org>
10413 * java/io/natFilePosix.cc: Copied this from natFile.cc.
10414 * java/io/natFile.cc: Removed from repository.
10415 * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
10417 2002-02-12 Adam Megacz <adam@xwt.org>
10419 * win32.cc: Added two #includes to make win32.cc compile.
10421 2002-02-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10423 * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
10425 (_Jv_InitGC): Don't bother locking, as this is always called from a
10426 single-thread. Turn off GC_all_interior_pointers. Remove dead code.
10428 2002-02-11 Adam Megacz <adam@xwt.org>
10430 * include/win32.h: Added _Jv_platform_gettimeofday.
10431 * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
10433 2002-02-11 Adam Megacz <adam@xwt.org>
10435 * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
10436 Added #undef STRICT to make windows.h and
10437 java/lang/reflect/Modifier.h cooperate.
10439 2002-02-11 Adam Megacz <adam@xwt.org>
10441 * java/io/natFileWin32.cc: Created a placeholder class with lots
10444 2002-02-11 Adam Megacz <adam@xwt.org>
10446 * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
10447 std::abort() to simply abort(). Also added "fake" std::abort() so
10448 we can #include unwind-pe.h without having to link against
10451 2002-02-10 Andreas Tobler <toa@pop.agri.ch>
10453 * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
10455 2002-02-08 Tom Tromey <tromey@redhat.com>
10457 * interpret.cc (convert): New function.
10458 (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
10462 2002-02-08 Anthony Green <green@redhat.com>
10464 * configure.host: Add support for xscale-elf embedded target.
10466 2002-02-08 Martin Kahlert <martin.kahlert@infineon.com>
10468 * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
10470 (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
10473 2002-02-07 Tom Tromey <tromey@redhat.com>
10475 * java/io/natFile.cc (_access): Use __builtin_alloca.
10478 (getCanonicalPath): Likewise.
10479 (performList): Likewise.
10480 (performMkdir): Likewise.
10481 (performSetReadOnly): Likewise.
10482 (performRenameTo): Likewise.
10483 (performSetLastModified): Likewise.
10484 (performCreate): Likewise.
10485 (performDelete): Likewise.
10487 2002-02-08 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10489 * HACKING: Fix URL for the automake-gcj.
10491 2002-02-07 Tom Tromey <tromey@redhat.com>
10493 * java/lang/natThrowable.cc: Updated copyright.
10494 * java/io/natFileWin32.cc: Updated copyright.
10495 * java/io/natFileDescriptorWin32.cc: Updated copyright.
10496 * win32-threads.cc: Updated copyright.
10497 * name-finder.cc: Updated copyright.
10498 * include/name-finder.h: Updated copyright.
10500 * include/name-finder.h: Conditionally include sys/wait.h.
10501 * include/config.h.in: Rebuilt.
10503 * java/io/natFile.cc (_access): Don't stack-allocate buffer.
10504 Size buffer based on real size of string.
10507 (getCanonicalPath): Likewise.
10508 (performList): Likewise.
10509 (performMkdir): Likewise.
10510 (performSetReadOnly): Likewise.
10511 (unixroot): Removed.
10512 (performRenameTo): Likewise.
10513 (performSetLastModified): Likewise.
10514 (performCreate): Likewise.
10515 (performDelete): Likewise.
10516 (performListRoots): Always return new array.
10518 * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
10519 * win32.cc (win32_exception_handler): Now static.
10520 * include/win32.h (_Jv_platform_initialize): Declare.
10521 (win32_exception_handler): Don't declare.
10522 * java/lang/natSystem.cc (currentTimeMillis): Use
10523 _Jv_platform_gettimeofday.
10524 * posix.cc (_Jv_platform_gettimeofday): Renamed.
10525 (_Jv_select): Use new name.
10526 (_Jv_platform_initialize): New function.
10527 * include/posix.h (_Jv_platform_gettimeofday): Renamed from
10529 (_Jv_platform_initialize): Declare.
10531 * configure: Rebuilt.
10532 * configure.in: Removed unnecessary parens.
10534 2002-02-06 Adam Megacz <adam@xwt.org>
10536 * configure.in: Changed mingw) to *mingw*).
10537 * win32.cc: Created this file.
10538 * win32.h: Created this file.
10539 * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
10540 win32_exception_handler from prims.cc to win32.cc, added
10542 * prims.cc: removed some #ifdef-WIN32'd headers which are no
10543 longer needed now that we have platform.h
10545 2002-02-06 Adam Megacz <adam@xwt.org>
10547 * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
10548 use uint<n>_t instead of LONG and BYTE
10550 2002-02-06 Adam Megacz <adam@xwt.org>
10552 * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
10554 2002-02-06 Anthony Green <green@redhat.com>
10556 * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
10557 Implement missing method stubs.
10558 java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
10560 * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
10561 concept of timezones.
10562 (init_properties): Don't refer to _Jv_Environment_Properties
10563 when this feature is not available.
10564 * include/config.h.in: Rebuilt.
10565 * acconfig.h: Add DISABLE_MAIN_ARGS.
10566 * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
10567 * configure: Rebuilt.
10568 * configure.in: Add --disable-main-args option. Test for
10569 opendir function. Replace AC_CHECK_SIZEOF with
10570 AC_COMPILE_CHECK_SIZEOF.
10571 * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
10572 * aclocal.m4: Rebuilt.
10573 * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
10575 2002-02-06 Tom Tromey <tromey@redhat.com>
10577 * verify.cc (require_array_type): If argument is a null array of
10578 references, return null as the element type.
10580 2002-02-06 Mark Wielaard <mark@klomp.org>
10582 * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
10583 duplicate of a wide type.
10585 2002-02-06 Tom Tromey <tromey@redhat.com>
10587 * verify.cc (type::isnull): New method.
10588 (require_array_type): Handle case where array is null.
10589 (verify_instructions_0) [op_arraylength]: Likewise.
10591 2002-02-05 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10593 * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
10594 Symlink PLATFORMH to platform.h.
10595 * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
10597 * java/lang/natSystem.cc: #include platform.h not posix.h.
10598 * Makefile.in: Rebuilt with libgcj automake.
10599 * configure: Rebuilt.
10601 2002-02-05 Richard Henderson <rth@redhat.com>
10603 * Makefile.in: Undo munging last change.
10605 2002-02-04 Adam Megacz <adam@xwt.org>
10607 * win32.cc: Created it.
10608 * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
10609 which is set to posix.cc or win32.cc.
10610 * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
10612 2002-02-04 Adam Megacz <adam@xwt.org>
10614 * configure.in: Corrected mingw case branches; added * before
10617 2002-02-04 Adam Megacz <adam@xwt.org>
10619 * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
10620 if compiling for win32
10622 2002-02-04 Adam Megacz <adam@xwt.org>
10624 * win32-threads.cc: #undef STRICT after gc.h inclusion
10626 2002-02-02 Tom Tromey <tromey@redhat.com>
10628 * Makefile.in: Rebuilt.
10630 2002-02-02 Jason Merrill <jason@redhat.com>
10632 * Makefile.am (clean-nat): New target.
10634 2002-02-02 Tom Tromey <tromey@redhat.com>
10636 * java/io/natFile.cc: Removed old "FIXME" comments.
10638 2002-02-01 Tom Tromey <tromey@redhat.com>
10640 * java/lang/natPosixProcess.cc (myclose): New function.
10642 (startProcess): Likewise.
10644 2002-02-01 Adam Megacz <adam@xwt.org>
10646 * prims.cc: Added #undef STRICT after #include<windows.h>.
10648 2002-02-01 Adam Megacz <adam@xwt.org>
10651 (_Jv_CreateJavaVM): We now use WIN32 instead of
10652 USE_WIN32_SIGNALLING and USE_WINSOCK.
10653 (win32_exception_handler): Now throws an exception out of
10654 the signal handler; assumes SJLJ.
10656 2002-02-01 Adam Megacz <adam@xwt.org>
10658 * win32-threads.cc:
10659 (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
10660 wait() algorithm to make it safe.
10661 (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
10662 Added lazy creation of Win32 Events for better performance
10663 (really_start): This now uses GC_CreateThread so boehm-gc
10664 knows about new threads even when statically linked.
10666 2002-02-01 Adam Megacz <adam@xwt.org>
10668 * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
10669 enable safer wait() algorithm.
10670 (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
10671 _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
10672 (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
10673 _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
10675 (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
10677 2002-02-01 Adam Megacz <adam@xwt.org>
10679 * configure.in: Added support for mingw.
10680 * java/lang/Win32Process.java: Created as empty file.
10681 * java/lang/natWin32Process.cc: Created as empty file.
10683 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
10686 * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
10687 for libiconv in LIBICONV variable.
10688 * configure: Regenerated.
10690 2002-01-31 Tom Tromey <tromey@redhat.com>
10692 * verify.cc (state::enter_subroutine): New method.
10693 (handle_jsr_insn): Use it.
10694 (state::merge): When processing a `ret', correctly use
10695 subroutine's state to determine which local variables have
10697 (push_exception_jump): Don't let stack overflow.
10699 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
10701 * gnu/gcj/convert/Convert.java: Only include one copyright year in
10704 2002-01-30 Tom Tromey <tromey@redhat.com>
10706 * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
10707 parameter for `recv' return type.
10709 * verify.cc (handle_ret_insn): Check for subroutine merge here...
10710 (state::merge): ... not here.
10711 (subr_entry_info): New structure.
10712 (entry_points): New field.
10713 (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs. Free
10716 2002-01-29 Tom Tromey <tromey@redhat.com>
10718 * java/awt/List.java (addNotify): Correctly check to see if peer
10721 * java/awt/GridLayout.java (layoutContainer): Use number of rows
10722 to compute height of each cell, and number of columns to compute
10723 width of each cell.
10724 * java/awt/Window.java (getOwnedWindows): Don't return null.
10725 * java/awt/FlowLayout.java (layoutContainer): Set width and height
10726 of component. Increment x using horizontal gap, not vertical
10729 2002-01-28 Tom Tromey <tromey@redhat.com>
10731 * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
10732 `nargs' byte is number of words, not number of arguments.
10734 2002-01-27 Tom Tromey <tromey@redhat.com>
10736 * java/awt/event/MouseEvent.java (modifiers): Removed field.
10738 * java/awt/event/InputEvent.java (modifiers, when): Now
10741 * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
10743 (state::merge): Use current class' class loader.
10744 (state::print): Print subroutine.
10745 (state::merge): Don't look at subroutine of unmerged `ret'.
10747 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
10749 * nogc.cc: Remove warnings.
10750 (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
10753 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10755 * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
10756 int, int): Remove empty "if" statement to work around compiler bug.
10757 (newPixels(int[], ColorModel, int, int): Likewise.
10759 2002-01-25 Per Bothner <per@bothner.com>
10761 * verify.cc (verify_fail): Change from being a top-level function
10762 to e method of _Jv_BytecodeVerifier. Emit current method name.
10763 Pass the current verifier to type: and state: methods as needed,
10764 for better error messages, and for resolve.
10765 (resolve): Pass current class's loader for Class.forName and
10766 _Jv_FindClassFromSignature, rather than using the default loader.
10767 (various type: and state: methods): Take _Jv_BytecodeVerifier* arg.
10768 (get_type_val_for_signature): Make non-static.
10769 (various methods): Pass start_PC implicitly, not explicitly.
10771 2002-01-25 Tom Tromey <tromey@redhat.com>
10773 * java/awt/FlowLayout.java (layoutContainer): Correctly compute
10774 loop termination condition.
10775 * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
10778 2002-01-24 Tom Tromey <tromey@redhat.com>
10780 * java/awt/Shape.java: Merged with Classpath.
10781 * java/awt/Scrollbar.java: Merged with Classpath.
10783 * java/awt/Container.java (addNotify): Unconditionally call
10784 addNotifyContainerChildren and superclass addNotify.
10786 * java/awt/image/ColorModel.java (getAlpha(Object)): Call
10787 getAlpha, not getBlue.
10789 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10791 * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
10793 * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
10794 (grabPixels(long)): Wait to be notified that the ImageProducer has
10797 2002-01-24 Per Bothner <per@bothner.com>
10799 * verify.cc (is_assignable_from_slow): If target is an interface,
10800 we must still check the source's superclass before giving up.
10802 2002-01-24 Tom Tromey <tromey@redhat.com>
10804 * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
10806 2002-01-23 Tom Tromey <tromey@redhat.com>
10808 * java/awt/BorderLayout.java (addLayoutComponent): Added missing
10811 * Makefile.in: Rebuilt.
10812 * Makefile.am (awt_java_source_files): Added new files.
10813 * java/awt/Toolkit.java: Merged with Classpath.
10814 * java/awt/PrintGraphics.java: New file from Classpath.
10815 * java/awt/PrintJob.java: New file from Classpath.
10816 * java/awt/datatransfer/Clipboard.java: New file from Classpath.
10817 * java/awt/datatransfer/ClipboardOwner.java: New file from
10819 * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
10820 * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
10821 * java/awt/datatransfer/MimeTypeParseException.java: New file from
10823 * java/awt/datatransfer/StringSelection.java: New file from
10825 * java/awt/datatransfer/SystemFlavorMap.java: New file from
10827 * java/awt/datatransfer/Transferable.java: New file from
10829 * java/awt/datatransfer/UnsupportedFlavorException.java: New file
10832 * Makefile.in: Rebuilt.
10833 * Makefile.am (awt_java_source_files): Added new files.
10834 * java/awt/image/AreaAveragingScaleFilter.java: New file from
10836 * java/awt/image/CropImageFilter.java: New file from Classpath.
10837 * java/awt/image/FilteredImageSource.java: New file from
10839 * java/awt/image/ImageFilter.java: New file from Classpath.
10840 * java/awt/image/MemoryImageSource.java: New file from Classpath.
10841 * java/awt/image/PixelGrabber.java: New file from Classpath.
10842 * java/awt/image/RGBImageFilter.java: New file from Classpath.
10843 * java/awt/image/ReplicateScaleFilter.java: New file from
10845 * java/awt/image/ImageProducer.java: Replaced with Classpath
10847 * java/awt/image/ImageObserver.java: Replaced with Classpath
10849 * java/awt/image/ImageConsumer.java: Replaced with Classpath
10851 * java/awt/GridBagConstraints.java (clone): Catch
10852 CloneNotSupportedException.
10854 2002-01-23 Per Bothner <per@bothner.com>
10856 * java/lang/reflect/natField.cc (setAddr): New function.
10857 Calls getAddr and then checks that the field isn't final.
10858 (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
10859 setDouble, set): Use setAddr instead of getAddr, to check for FINAL.
10860 (set): Call setAddr before check that new value has right type,
10861 to better match specified semantics.
10863 2002-01-22 Tom Tromey <tromey@redhat.com>
10865 * java/awt/TextField.java: Replaced with Classpath version.
10866 * java/awt/TextArea.java: Replaced with Classpath version.
10867 * java/awt/TextComponent.java: Replaced with Classpath version.
10869 * java/awt/GridBagConstraints.java: Updated copyright.
10871 2002-01-22 Mark Wielaard <mark@klomp.org>
10873 * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
10874 java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
10875 java/awt/Dialog.java java/awt/FileDialog.java
10876 java/awt/Font.java java/awt/FontMetrics.java
10877 java/awt/Image.java java/awt/ImageMediaEntry.java
10878 java/awt/Insets.java java/awt/List.java
10879 java/awt/MediaEntry.java java/awt/MediaTracker.java
10880 java/awt/Menu.java java/awt/MenuBar.java
10881 java/awt/MenuContainer.java java/awt/MenuShortcut.java
10882 java/awt/PaintContext.java java/awt/Panel.java
10883 java/awt/PopupMenu.java java/awt/SystemColor.java
10884 java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
10885 java/awt/peer/CheckboxMenuItemPeer.java
10886 java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
10887 java/awt/peer/ComponentPeer.java
10888 java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
10889 java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
10890 java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
10891 java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
10892 java/awt/peer/MenuBarPeer.java
10893 java/awt/peer/MenuComponentPeer.java
10894 java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
10895 java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
10896 java/awt/peer/ScrollPanePeer.java
10897 java/awt/peer/ScrollbarPeer.java
10898 java/awt/peer/TextAreaPeer.java
10899 java/awt/peer/TextComponentPeer.java
10900 java/awt/peer/TextFieldPeer.java
10901 java/awt/peer/WindowPeer.java: Add license clarification.
10903 2002-01-22 Mark Wielaard <mark@klomp.org>
10905 * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
10906 gnu/gcj/runtime/StringBuffer.java
10907 gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
10908 gnu/java/awt/ComponentDataBlitOp.java
10909 gnu/java/awt/GLightweightPeer.java
10910 gnu/java/beans/BeanInfoEmbryo.java
10911 gnu/java/beans/EmptyBeanInfo.java
10912 gnu/java/beans/ExplicitBeanInfo.java
10913 gnu/java/beans/IntrospectionIncubator.java
10914 gnu/java/beans/editors/ColorEditor.java
10915 gnu/java/beans/editors/FontEditor.java
10916 gnu/java/beans/editors/NativeBooleanEditor.java
10917 gnu/java/beans/editors/NativeByteEditor.java
10918 gnu/java/beans/editors/NativeDoubleEditor.java
10919 gnu/java/beans/editors/NativeFloatEditor.java
10920 gnu/java/beans/editors/NativeIntEditor.java
10921 gnu/java/beans/editors/NativeLongEditor.java
10922 gnu/java/beans/editors/NativeShortEditor.java
10923 gnu/java/beans/editors/StringEditor.java
10924 gnu/java/beans/info/ComponentBeanInfo.java
10925 gnu/java/io/ClassLoaderObjectInputStream.java
10926 gnu/java/io/NullOutputStream.java
10927 gnu/java/io/ObjectIdentityWrapper.java
10928 gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
10929 gnu/java/lang/reflect/TypeSignature.java
10930 gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
10931 gnu/java/locale/Calendar_en.java
10932 gnu/java/locale/Calendar_nl.java
10933 gnu/java/locale/LocaleInformation.java
10934 gnu/java/locale/LocaleInformation_de.java
10935 gnu/java/locale/LocaleInformation_en.java
10936 gnu/java/locale/LocaleInformation_nl.java
10937 gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
10938 gnu/java/rmi/registry/RegistryImpl.java
10939 gnu/java/rmi/rmic/Compile_gcj.java
10940 gnu/java/rmi/rmic/Compiler.java
10941 gnu/java/rmi/rmic/CompilerProcess.java
10942 gnu/java/rmi/rmic/RMIC.java
10943 gnu/java/rmi/rmic/TabbedWriter.java
10944 gnu/java/rmi/server/ProtocolConstants.java
10945 gnu/java/rmi/server/RMIDefaultSocketFactory.java
10946 gnu/java/rmi/server/RMIHashes.java
10947 gnu/java/rmi/server/RMIObjectInputStream.java
10948 gnu/java/rmi/server/RMIObjectOutputStream.java
10949 gnu/java/rmi/server/UnicastConnection.java
10950 gnu/java/rmi/server/UnicastConnectionManager.java
10951 gnu/java/rmi/server/UnicastRef.java
10952 gnu/java/rmi/server/UnicastRemoteCall.java
10953 gnu/java/rmi/server/UnicastRemoteStub.java
10954 gnu/java/rmi/server/UnicastServer.java
10955 gnu/java/rmi/server/UnicastServerRef.java
10956 gnu/java/security/provider/DefaultPolicy.java
10957 gnu/java/security/provider/Gnu.java
10958 gnu/java/security/provider/SHA.java
10959 gnu/java/security/provider/SHA1PRNG.java
10960 gnu/java/text/BaseBreakIterator.java
10961 gnu/java/text/CharacterBreakIterator.java
10962 gnu/java/text/LineBreakIterator.java
10963 gnu/java/text/SentenceBreakIterator.java
10964 gnu/java/text/WordBreakIterator.java
10965 gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
10966 java/applet/AppletContext.java java/applet/AppletStub.java
10967 java/applet/AudioClip.java java/awt/AWTError.java
10968 java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
10969 java/awt/AWTException.java java/awt/AWTPermission.java
10970 java/awt/ActiveEvent.java java/awt/BorderLayout.java
10971 java/awt/Button.java java/awt/Canvas.java
10972 java/awt/CardLayout.java java/awt/Checkbox.java
10973 java/awt/CheckboxGroup.java java/awt/Component.java
10974 java/awt/ComponentOrientation.java java/awt/Container.java
10975 java/awt/Dimension.java java/awt/Event.java
10976 java/awt/EventDispatchThread.java java/awt/EventQueue.java
10977 java/awt/FlowLayout.java java/awt/Frame.java
10978 java/awt/Graphics.java java/awt/Graphics2D.java
10979 java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
10980 java/awt/IllegalComponentStateException.java
10981 java/awt/ItemSelectable.java java/awt/Label.java
10982 java/awt/LayoutManager.java java/awt/LayoutManager2.java
10983 java/awt/MenuComponent.java java/awt/MenuItem.java
10984 java/awt/Paint.java java/awt/Point.java
10985 java/awt/Rectangle.java java/awt/RenderingHints.java
10986 java/awt/Transparency.java java/awt/Window.java
10987 java/awt/color/ColorSpace.java
10988 java/awt/color/ICC_ColorSpace.java
10989 java/awt/color/ICC_Profile.java
10990 java/awt/event/HierarchyBoundsAdapter.java
10991 java/awt/event/HierarchyBoundsListener.java
10992 java/awt/event/HierarchyEvent.java
10993 java/awt/event/HierarchyListener.java
10994 java/awt/geom/AffineTransform.java
10995 java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
10996 java/awt/geom/IllegalPathStateException.java
10997 java/awt/geom/Line2D.java
10998 java/awt/geom/NoninvertibleTransformException.java
10999 java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
11000 java/awt/geom/Rectangle2D.java
11001 java/awt/geom/RectangularShape.java
11002 java/awt/geom/RoundRectangle2D.java
11003 java/awt/image/BufferedImage.java
11004 java/awt/image/ColorModel.java
11005 java/awt/image/ComponentColorModel.java
11006 java/awt/image/ComponentSampleModel.java
11007 java/awt/image/DataBuffer.java
11008 java/awt/image/DataBufferByte.java
11009 java/awt/image/DataBufferInt.java
11010 java/awt/image/DataBufferUShort.java
11011 java/awt/image/DirectColorModel.java
11012 java/awt/image/PackedColorModel.java
11013 java/awt/image/Raster.java java/awt/image/RasterOp.java
11014 java/awt/image/SampleModel.java
11015 java/awt/image/SinglePixelPackedSampleModel.java
11016 java/awt/image/WritableRaster.java
11017 java/beans/AppletInitializer.java
11018 java/beans/BeanDescriptor.java java/beans/BeanInfo.java
11019 java/beans/Beans.java java/beans/Customizer.java
11020 java/beans/DesignMode.java java/beans/EventSetDescriptor.java
11021 java/beans/FeatureDescriptor.java
11022 java/beans/IndexedPropertyDescriptor.java
11023 java/beans/IntrospectionException.java
11024 java/beans/Introspector.java java/beans/MethodDescriptor.java
11025 java/beans/ParameterDescriptor.java
11026 java/beans/PropertyChangeEvent.java
11027 java/beans/PropertyChangeListener.java
11028 java/beans/PropertyChangeSupport.java
11029 java/beans/PropertyDescriptor.java
11030 java/beans/PropertyEditor.java
11031 java/beans/PropertyEditorManager.java
11032 java/beans/PropertyEditorSupport.java
11033 java/beans/PropertyVetoException.java
11034 java/beans/SimpleBeanInfo.java
11035 java/beans/VetoableChangeListener.java
11036 java/beans/VetoableChangeSupport.java
11037 java/beans/Visibility.java
11038 java/beans/beancontext/BeanContext.java
11039 java/beans/beancontext/BeanContextChild.java
11040 java/beans/beancontext/BeanContextChildComponentProxy.java
11041 java/beans/beancontext/BeanContextChildSupport.java
11042 java/beans/beancontext/BeanContextContainerProxy.java
11043 java/beans/beancontext/BeanContextEvent.java
11044 java/beans/beancontext/BeanContextMembershipEvent.java
11045 java/beans/beancontext/BeanContextMembershipListener.java
11046 java/beans/beancontext/BeanContextProxy.java
11047 java/beans/beancontext/BeanContextServiceAvailableEvent.java
11048 java/beans/beancontext/BeanContextServiceProvider.java
11049 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
11050 java/beans/beancontext/BeanContextServiceRevokedEvent.java
11051 java/beans/beancontext/BeanContextServiceRevokedListener.java
11052 java/beans/beancontext/BeanContextServices.java
11053 java/beans/beancontext/BeanContextServicesListener.java
11054 java/io/BufferedInputStream.java
11055 java/io/BufferedOutputStream.java java/io/BufferedReader.java
11056 java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
11057 java/io/ByteArrayOutputStream.java
11058 java/io/CharArrayReader.java java/io/CharArrayWriter.java
11059 java/io/CharConversionException.java java/io/DataInput.java
11060 java/io/DataInputStream.java java/io/DataOutput.java
11061 java/io/EOFException.java java/io/Externalizable.java
11062 java/io/FileFilter.java java/io/FileNotFoundException.java
11063 java/io/FilePermission.java java/io/FileReader.java
11064 java/io/FileWriter.java java/io/FilenameFilter.java
11065 java/io/FilterInputStream.java java/io/FilterOutputStream.java
11066 java/io/FilterReader.java java/io/FilterWriter.java
11067 java/io/IOException.java java/io/InputStream.java
11068 java/io/InterruptedIOException.java
11069 java/io/InvalidClassException.java
11070 java/io/InvalidObjectException.java
11071 java/io/NotActiveException.java
11072 java/io/NotSerializableException.java java/io/ObjectInput.java
11073 java/io/ObjectInputStream.java
11074 java/io/ObjectInputValidation.java java/io/ObjectOutput.java
11075 java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
11076 java/io/ObjectStreamConstants.java
11077 java/io/ObjectStreamException.java
11078 java/io/ObjectStreamField.java
11079 java/io/OptionalDataException.java java/io/OutputStream.java
11080 java/io/PipedInputStream.java java/io/PipedOutputStream.java
11081 java/io/PipedReader.java java/io/PipedWriter.java
11082 java/io/PrintWriter.java java/io/PushbackInputStream.java
11083 java/io/PushbackReader.java java/io/Reader.java
11084 java/io/SequenceInputStream.java java/io/Serializable.java
11085 java/io/SerializablePermission.java
11086 java/io/StreamCorruptedException.java
11087 java/io/StreamTokenizer.java
11088 java/io/StringBufferInputStream.java java/io/StringReader.java
11089 java/io/StringWriter.java java/io/SyncFailedException.java
11090 java/io/UTFDataFormatException.java
11091 java/io/UnsupportedEncodingException.java
11092 java/io/WriteAbortedException.java java/io/Writer.java
11093 java/lang/AbstractMethodError.java
11094 java/lang/ArithmeticException.java
11095 java/lang/ArrayIndexOutOfBoundsException.java
11096 java/lang/ArrayStoreException.java java/lang/Boolean.java
11097 java/lang/Byte.java java/lang/CharSequence.java
11098 java/lang/ClassCastException.java
11099 java/lang/ClassCircularityError.java
11100 java/lang/ClassFormatError.java
11101 java/lang/ClassNotFoundException.java
11102 java/lang/CloneNotSupportedException.java
11103 java/lang/Cloneable.java java/lang/Comparable.java
11104 java/lang/Compiler.java java/lang/Double.java
11105 java/lang/Error.java java/lang/Exception.java
11106 java/lang/ExceptionInInitializerError.java
11107 java/lang/Float.java java/lang/IllegalAccessError.java
11108 java/lang/IllegalAccessException.java
11109 java/lang/IllegalArgumentException.java
11110 java/lang/IllegalMonitorStateException.java
11111 java/lang/IllegalStateException.java
11112 java/lang/IllegalThreadStateException.java
11113 java/lang/IncompatibleClassChangeError.java
11114 java/lang/IndexOutOfBoundsException.java
11115 java/lang/InheritableThreadLocal.java
11116 java/lang/InstantiationError.java
11117 java/lang/InstantiationException.java java/lang/Integer.java
11118 java/lang/InternalError.java
11119 java/lang/InterruptedException.java
11120 java/lang/LinkageError.java java/lang/Long.java
11121 java/lang/NegativeArraySizeException.java
11122 java/lang/NoClassDefFoundError.java
11123 java/lang/NoSuchFieldError.java
11124 java/lang/NoSuchFieldException.java
11125 java/lang/NoSuchMethodError.java
11126 java/lang/NoSuchMethodException.java
11127 java/lang/NullPointerException.java java/lang/Number.java
11128 java/lang/NumberFormatException.java
11129 java/lang/OutOfMemoryError.java java/lang/Package.java
11130 java/lang/Process.java java/lang/Runnable.java
11131 java/lang/RuntimeException.java
11132 java/lang/RuntimePermission.java
11133 java/lang/SecurityException.java
11134 java/lang/SecurityManager.java java/lang/Short.java
11135 java/lang/StackOverflowError.java java/lang/StringBuffer.java
11136 java/lang/StringIndexOutOfBoundsException.java
11137 java/lang/ThreadDeath.java java/lang/ThreadGroup.java
11138 java/lang/ThreadLocal.java java/lang/UnknownError.java
11139 java/lang/UnsatisfiedLinkError.java
11140 java/lang/UnsupportedClassVersionError.java
11141 java/lang/UnsupportedOperationException.java
11142 java/lang/VerifyError.java java/lang/VirtualMachineError.java
11143 java/lang/Void.java java/lang/ref/PhantomReference.java
11144 java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
11145 java/lang/ref/SoftReference.java
11146 java/lang/ref/WeakReference.java
11147 java/lang/reflect/AccessibleObject.java
11148 java/lang/reflect/InvocationTargetException.java
11149 java/lang/reflect/Member.java java/lang/reflect/Modifier.java
11150 java/lang/reflect/ReflectPermission.java
11151 java/math/BigDecimal.java java/math/BigInteger.java
11152 java/net/Authenticator.java java/net/BindException.java
11153 java/net/ConnectException.java java/net/ContentHandler.java
11154 java/net/ContentHandlerFactory.java
11155 java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
11156 java/net/FileNameMap.java java/net/MalformedURLException.java
11157 java/net/MulticastSocket.java java/net/NetPermission.java
11158 java/net/NoRouteToHostException.java
11159 java/net/PasswordAuthentication.java
11160 java/net/ProtocolException.java java/net/ServerSocket.java
11161 java/net/Socket.java java/net/SocketException.java
11162 java/net/SocketImpl.java java/net/SocketImplFactory.java
11163 java/net/SocketOptions.java java/net/SocketPermission.java
11164 java/net/URLDecoder.java java/net/URLEncoder.java
11165 java/net/URLStreamHandlerFactory.java
11166 java/net/UnknownHostException.java
11167 java/net/UnknownServiceException.java
11168 java/rmi/AccessException.java
11169 java/rmi/AlreadyBoundException.java
11170 java/rmi/ConnectException.java
11171 java/rmi/ConnectIOException.java
11172 java/rmi/MarshalException.java java/rmi/MarshalledObject.java
11173 java/rmi/Naming.java java/rmi/NoSuchObjectException.java
11174 java/rmi/NotBoundException.java
11175 java/rmi/RMISecurityException.java
11176 java/rmi/RMISecurityManager.java java/rmi/Remote.java
11177 java/rmi/RemoteException.java java/rmi/ServerError.java
11178 java/rmi/ServerException.java
11179 java/rmi/ServerRuntimeException.java
11180 java/rmi/StubNotFoundException.java
11181 java/rmi/UnexpectedException.java
11182 java/rmi/UnknownHostException.java
11183 java/rmi/UnmarshalException.java
11184 java/rmi/activation/Activatable.java
11185 java/rmi/activation/ActivateFailedException.java
11186 java/rmi/activation/ActivationDesc.java
11187 java/rmi/activation/ActivationException.java
11188 java/rmi/activation/ActivationGroup.java
11189 java/rmi/activation/ActivationGroupDesc.java
11190 java/rmi/activation/ActivationGroupID.java
11191 java/rmi/activation/ActivationID.java
11192 java/rmi/activation/ActivationInstantiator.java
11193 java/rmi/activation/ActivationMonitor.java
11194 java/rmi/activation/ActivationSystem.java
11195 java/rmi/activation/Activator.java
11196 java/rmi/activation/UnknownGroupException.java
11197 java/rmi/activation/UnknownObjectException.java
11198 java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
11199 java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
11200 java/rmi/registry/Registry.java
11201 java/rmi/registry/RegistryHandler.java
11202 java/rmi/server/ExportException.java
11203 java/rmi/server/LoaderHandler.java
11204 java/rmi/server/LogStream.java java/rmi/server/ObjID.java
11205 java/rmi/server/Operation.java
11206 java/rmi/server/RMIClassLoader.java
11207 java/rmi/server/RMIClientSocketFactory.java
11208 java/rmi/server/RMIFailureHandler.java
11209 java/rmi/server/RMIServerSocketFactory.java
11210 java/rmi/server/RMISocketFactory.java
11211 java/rmi/server/RemoteCall.java
11212 java/rmi/server/RemoteObject.java
11213 java/rmi/server/RemoteRef.java
11214 java/rmi/server/RemoteServer.java
11215 java/rmi/server/RemoteStub.java
11216 java/rmi/server/ServerCloneException.java
11217 java/rmi/server/ServerNotActiveException.java
11218 java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
11219 java/rmi/server/SkeletonMismatchException.java
11220 java/rmi/server/SkeletonNotFoundException.java
11221 java/rmi/server/SocketSecurityException.java
11222 java/rmi/server/UID.java
11223 java/rmi/server/UnicastRemoteObject.java
11224 java/rmi/server/Unreferenced.java
11225 java/security/AccessControlContext.java
11226 java/security/AccessControlException.java
11227 java/security/AccessController.java
11228 java/security/AlgorithmParameterGenerator.java
11229 java/security/AlgorithmParameterGeneratorSpi.java
11230 java/security/AlgorithmParameters.java
11231 java/security/AlgorithmParametersSpi.java
11232 java/security/AllPermission.java
11233 java/security/BasicPermission.java
11234 java/security/Certificate.java java/security/CodeSource.java
11235 java/security/DigestException.java
11236 java/security/DigestInputStream.java
11237 java/security/DigestOutputStream.java
11238 java/security/DomainCombiner.java
11239 java/security/DummyKeyPairGenerator.java
11240 java/security/DummyMessageDigest.java
11241 java/security/DummySignature.java
11242 java/security/GeneralSecurityException.java
11243 java/security/Guard.java java/security/GuardedObject.java
11244 java/security/Identity.java java/security/IdentityScope.java
11245 java/security/InvalidAlgorithmParameterException.java
11246 java/security/InvalidKeyException.java
11247 java/security/InvalidParameterException.java
11248 java/security/Key.java java/security/KeyException.java
11249 java/security/KeyFactory.java java/security/KeyFactorySpi.java
11250 java/security/KeyManagementException.java
11251 java/security/KeyPair.java java/security/KeyPairGenerator.java
11252 java/security/KeyPairGeneratorSpi.java
11253 java/security/KeyStore.java
11254 java/security/KeyStoreException.java
11255 java/security/KeyStoreSpi.java
11256 java/security/MessageDigest.java
11257 java/security/MessageDigestSpi.java
11258 java/security/NoSuchAlgorithmException.java
11259 java/security/NoSuchProviderException.java
11260 java/security/Permission.java
11261 java/security/PermissionCollection.java
11262 java/security/Permissions.java java/security/Policy.java
11263 java/security/Principal.java java/security/PrivateKey.java
11264 java/security/PrivilegedAction.java
11265 java/security/PrivilegedActionException.java
11266 java/security/PrivilegedExceptionAction.java
11267 java/security/ProtectionDomain.java
11268 java/security/Provider.java
11269 java/security/ProviderException.java
11270 java/security/PublicKey.java
11271 java/security/SecureClassLoader.java
11272 java/security/SecureRandom.java
11273 java/security/SecureRandomSpi.java java/security/Security.java
11274 java/security/SecurityPermission.java
11275 java/security/Signature.java
11276 java/security/SignatureException.java
11277 java/security/SignatureSpi.java
11278 java/security/SignedObject.java java/security/Signer.java
11279 java/security/UnrecoverableKeyException.java
11280 java/security/UnresolvedPermission.java
11281 java/security/acl/Acl.java java/security/acl/AclEntry.java
11282 java/security/acl/AclNotFoundException.java
11283 java/security/acl/Group.java
11284 java/security/acl/LastOwnerException.java
11285 java/security/acl/NotOwnerException.java
11286 java/security/acl/Owner.java java/security/acl/Permission.java
11287 java/security/cert/CRL.java
11288 java/security/cert/CRLException.java
11289 java/security/cert/Certificate.java
11290 java/security/cert/CertificateEncodingException.java
11291 java/security/cert/CertificateException.java
11292 java/security/cert/CertificateExpiredException.java
11293 java/security/cert/CertificateFactory.java
11294 java/security/cert/CertificateFactorySpi.java
11295 java/security/cert/CertificateNotYetValidException.java
11296 java/security/cert/CertificateParsingException.java
11297 java/security/cert/X509CRL.java
11298 java/security/cert/X509CRLEntry.java
11299 java/security/cert/X509Certificate.java
11300 java/security/cert/X509Extension.java
11301 java/security/interfaces/DSAKey.java
11302 java/security/interfaces/DSAKeyPairGenerator.java
11303 java/security/interfaces/DSAParams.java
11304 java/security/interfaces/DSAPrivateKey.java
11305 java/security/interfaces/DSAPublicKey.java
11306 java/security/interfaces/RSAKey.java
11307 java/security/interfaces/RSAPrivateCrtKey.java
11308 java/security/interfaces/RSAPrivateKey.java
11309 java/security/interfaces/RSAPublicKey.java
11310 java/security/spec/AlgorithmParameterSpec.java
11311 java/security/spec/DSAParameterSpec.java
11312 java/security/spec/DSAPrivateKeySpec.java
11313 java/security/spec/DSAPublicKeySpec.java
11314 java/security/spec/EncodedKeySpec.java
11315 java/security/spec/InvalidKeySpecException.java
11316 java/security/spec/InvalidParameterSpecException.java
11317 java/security/spec/KeySpec.java
11318 java/security/spec/PKCS8EncodedKeySpec.java
11319 java/security/spec/RSAKeyGenParameterSpec.java
11320 java/security/spec/RSAPrivateCrtKeySpec.java
11321 java/security/spec/RSAPrivateKeySpec.java
11322 java/security/spec/RSAPublicKeySpec.java
11323 java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
11324 java/sql/BatchUpdateException.java java/sql/Blob.java
11325 java/sql/CallableStatement.java java/sql/Clob.java
11326 java/sql/Connection.java java/sql/DataTruncation.java
11327 java/sql/DatabaseMetaData.java java/sql/Date.java
11328 java/sql/Driver.java java/sql/DriverManager.java
11329 java/sql/DriverPropertyInfo.java
11330 java/sql/PreparedStatement.java java/sql/Ref.java
11331 java/sql/ResultSet.java java/sql/ResultSetMetaData.java
11332 java/sql/SQLData.java java/sql/SQLException.java
11333 java/sql/SQLInput.java java/sql/SQLOutput.java
11334 java/sql/SQLWarning.java java/sql/Statement.java
11335 java/sql/Struct.java java/sql/Time.java
11336 java/sql/Timestamp.java java/sql/Types.java
11337 java/text/Annotation.java
11338 java/text/AttributedCharacterIterator.java
11339 java/text/AttributedString.java
11340 java/text/AttributedStringIterator.java
11341 java/text/BreakIterator.java java/text/CharacterIterator.java
11342 java/text/ChoiceFormat.java java/text/Collator.java
11343 java/text/DateFormat.java java/text/DateFormatSymbols.java
11344 java/text/DecimalFormat.java
11345 java/text/DecimalFormatSymbols.java
11346 java/text/FieldPosition.java java/text/Format.java
11347 java/text/MessageFormat.java java/text/NumberFormat.java
11348 java/text/ParseException.java java/text/ParsePosition.java
11349 java/text/SimpleDateFormat.java
11350 java/text/StringCharacterIterator.java
11351 java/util/AbstractCollection.java java/util/AbstractList.java
11352 java/util/AbstractMap.java
11353 java/util/AbstractSequentialList.java
11354 java/util/AbstractSet.java java/util/ArrayList.java
11355 java/util/Arrays.java java/util/BasicMapEntry.java
11356 java/util/BitSet.java java/util/Calendar.java
11357 java/util/Collection.java java/util/Collections.java
11358 java/util/Comparator.java
11359 java/util/ConcurrentModificationException.java
11360 java/util/Date.java java/util/Dictionary.java
11361 java/util/EmptyStackException.java java/util/Enumeration.java
11362 java/util/EventListener.java java/util/EventObject.java
11363 java/util/GregorianCalendar.java java/util/HashMap.java
11364 java/util/HashSet.java java/util/Hashtable.java
11365 java/util/IdentityHashMap.java java/util/Iterator.java
11366 java/util/LinkedHashMap.java java/util/LinkedHashSet.java
11367 java/util/LinkedList.java java/util/List.java
11368 java/util/ListIterator.java java/util/ListResourceBundle.java
11369 java/util/Locale.java java/util/Map.java
11370 java/util/MissingResourceException.java
11371 java/util/NoSuchElementException.java
11372 java/util/Observable.java java/util/Observer.java
11373 java/util/Properties.java java/util/PropertyPermission.java
11374 java/util/PropertyResourceBundle.java java/util/Random.java
11375 java/util/RandomAccess.java java/util/ResourceBundle.java
11376 java/util/Set.java java/util/SimpleTimeZone.java
11377 java/util/SortedMap.java java/util/SortedSet.java
11378 java/util/Stack.java java/util/StringTokenizer.java
11379 java/util/TimeZone.java java/util/Timer.java
11380 java/util/TimerTask.java
11381 java/util/TooManyListenersException.java
11382 java/util/TreeMap.java java/util/TreeSet.java
11383 java/util/Vector.java java/util/WeakHashMap.java
11384 java/util/jar/Attributes.java java/util/jar/JarEntry.java
11385 java/util/jar/JarException.java java/util/jar/JarFile.java
11386 java/util/jar/JarInputStream.java
11387 java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
11388 java/util/zip/Adler32.java java/util/zip/CRC32.java
11389 java/util/zip/CheckedInputStream.java
11390 java/util/zip/CheckedOutputStream.java
11391 java/util/zip/Checksum.java
11392 java/util/zip/DataFormatException.java
11393 java/util/zip/Deflater.java
11394 java/util/zip/DeflaterOutputStream.java
11395 java/util/zip/GZIPInputStream.java
11396 java/util/zip/GZIPOutputStream.java
11397 java/util/zip/Inflater.java
11398 java/util/zip/InflaterInputStream.java
11399 java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
11400 java/util/zip/ZipException.java java/util/zip/ZipFile.java
11401 java/util/zip/ZipInputStream.java
11402 java/util/zip/ZipOutputStream.java
11403 javax/naming/BinaryRefAddr.java
11404 javax/naming/InvalidNameException.java javax/naming/Name.java
11405 javax/naming/NamingException.java javax/naming/RefAddr.java
11406 javax/naming/StringRefAddr.java: Add license clarification.
11408 2002-01-22 Tom Tromey <tromey@redhat.com>
11410 * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
11411 * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
11412 * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
11414 * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
11415 * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
11416 * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
11417 * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
11418 * java/awt/peer/DialogPeer.java: Replace with Classpath version.
11419 * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
11420 * java/awt/peer/FontPeer.java: Replace with Classpath version.
11421 * java/awt/peer/FramePeer.java: Replace with Classpath version.
11422 * java/awt/peer/LabelPeer.java: Replace with Classpath version.
11423 * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
11424 * java/awt/peer/ListPeer.java: Replace with Classpath version.
11425 * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
11426 * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
11427 * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
11428 * java/awt/peer/MenuPeer.java: Replace with Classpath version.
11429 * java/awt/peer/PanelPeer.java: Replace with Classpath version.
11430 * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
11431 * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
11432 * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
11433 * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
11434 * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
11435 * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
11436 * java/awt/peer/WindowPeer.java: Replace with Classpath version.
11437 * gnu/awt/xlib/XPanelPeer.java (insets): New method.
11438 * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
11439 (minimumSize, preferredSize, reshape): Likewise.
11440 * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
11441 getColorModel): New methods.
11442 * java/awt/PopupMenu.java: Merged with Classpath.
11443 * java/awt/MenuBar.java: Merged with Classpath.
11444 * java/awt/SystemColor.java: Replace with Classpath version.
11445 * java/awt/Panel.java: Merged with Classpath.
11446 * java/awt/PaintContext.java: Updated copyright.
11447 * java/awt/MenuShortcut.java: Merged with Classpath.
11448 * java/awt/MenuContainer.java: Merged with Classpath.
11449 * java/awt/Menu.java: Merged with Classpath.
11450 * java/awt/MediaEntry.java: New file from Classpath.
11451 * java/awt/MediaTracker.java: New file from Classpath.
11452 * java/awt/List.java: Merged with Classpath version.
11453 * java/awt/Insets.java: Merged with Classpath version.
11454 * java/awt/ImageMediaEntry.java: New file from Classpath.
11455 * java/awt/Image.java: Replaced with Classpath version.
11456 * java/awt/FontMetrics.java: Merged with Classpath version.
11457 * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
11459 * java/awt/Font.java: Merged with Classpath version.
11460 * java/awt/Dialog.java: Merged with Classpath version.
11461 * java/awt/Color.java: Merged with Classpath version.
11462 * java/awt/Choice.java: Merged with Classpath version.
11463 * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
11464 * java/awt/Adjustable.java: Replace with Classpath version.
11465 * java/awt/MenuItem.java (paramString): Don't include class name
11466 or brackets. Call superclass paramString.
11467 * java/awt/MenuComponent.java (toString): Call paramString.
11468 (paramString): Compute string; don't call toString.
11469 * java/awt/Label.java (paramString): Don't include class name
11470 or brackets. Call superclass paramString.
11471 * java/awt/Checkbox.java (paramString): Don't include class name
11472 or brackets. Call superclass paramString.
11473 * java/awt/Button.java (paramString): Don't include class name or
11474 brackets. Call superclass paramString.
11475 * java/awt/MenuComponent.java (getTreeLock): Now protected.
11477 2002-01-20 Andreas Schwab <schwab@suse.de>
11479 * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
11480 function and of parameter recv_func to ssize_t, as specified by
11483 2002-01-19 Per Bothner <per@bothner.com>
11485 * java/util/zip/ZipOutputStream.java (putNextEntry): Clear
11486 uncompressed_size in readiness for next entry.
11488 2002-01-18 Tom Tromey <tromey@redhat.com>
11490 * java/net/natPlainSocketImpl.cc: Include
11491 IllegalArgumentException.h.
11492 (_Jv_recv): New template function.
11493 (BooleanClass): Removed.
11494 (read): Use _Jv_recv.
11495 (setOption): Use Boolean::class$. Throw exception if object is
11496 not Boolean or Integer.
11498 2002-01-17 Tom Tromey <tromey@redhat.com>
11500 * java/awt/MenuComponent.java: Merged with Classpath.
11501 * java/awt/MenuItem.java: Merged with Classpath.
11502 * java/awt/Button.java: Merged with Classpath.
11504 * java/awt/ActiveEvent.java: Updated copyright.
11506 * java/awt/AWTError.java: Replaced with Classpath version.
11507 * java/awt/AWTException.java: Replaced with Classpath version.
11508 * java/awt/IllegalComponentStateException.java: Replaced with
11511 2002-01-16 Tom Tromey <tromey@redhat.com>
11513 * java/awt/Canvas.java (serialVersionUID): New constant.
11514 Updated copyright. Added javadoc from Classpath.
11515 * java/awt/ItemSelectable.java: Replaced with Classpath version.
11517 * java/awt/CheckboxGroup.java: Merged with Classpath.
11518 * java/awt/Checkbox.java: Merged with Classpath.
11520 * java/awt/Dimension.java: Updated copyright. Added javadoc from
11522 * java/awt/Point.java: Updated copyright.
11524 * java/awt/Point.java (toString): Use getClass().getName().
11527 * java/util/IdentityHashMap.java (IdentityHashMap): Removed
11529 (hash): Correctly compute initial value for `h'.
11531 * java/awt/Label.java: Merged with Classpath.
11533 2002-01-15 Tom Tromey <tromey@redhat.com>
11535 * java/awt/AWTPermission.java: Updated copyright.
11537 * java/awt/LayoutManager2.java: Merged with Classpath.
11538 * java/awt/LayoutManager.java: Merged with Classpath.
11539 * java/awt/GridLayout.java: Updated copyright and javadoc.
11540 (getSize): Use `parent.ncomponents'. Handle insets.
11541 (layoutContainer): Use `parent.ncomponents'. Handle case where
11542 there are fewer children than columns. Correctly compute size of
11543 each cell in the grid. Handle case where there isn't enough
11545 * java/awt/CardLayout.java (tab): Renamed from `map'. Updated
11547 (gotoComponent): Use parent.ncomponents. Ensure child exists
11548 before calling setVisible() on it. Last item is `num - 1', not
11550 (layoutContainer): Hoist invariants out of loop.
11552 Start of AWT merge with Classpath:
11553 * Makefile.in: Rebuilt.
11554 * Makefile.am (awt_java_source_files): Reference files in
11555 gnu/java/awt, not gnu/gcj/awt.
11556 * java/awt/image/BufferedImage.java: Updated copyright.
11557 * java/awt/image/ComponentColorModel.java: Updated copyright.
11558 * java/awt/image/ComponentSampleModel.java: Updated copyright.
11559 * java/awt/image/DataBuffer.java: Updated copyright.
11560 * java/awt/image/DataBufferByte.java: Updated copyright.
11561 * java/awt/image/DataBufferInt.java: Updated copyright.
11562 * java/awt/image/DataBufferUShort.java: Updated copyright.
11563 * java/awt/image/IndexColorModel.java: Updated copyright.
11564 * java/awt/image/PackedColorModel.java: Updated copyright.
11565 * java/awt/image/Raster.java: Updated copyright.
11566 * java/awt/image/RasterOp.java: Updated copyright.
11567 * java/awt/image/SampleModel.java: Updated copyright.
11568 * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
11569 * java/awt/image/WritableRaster.java: Updated copyright.
11570 * java/awt/color/ColorSpace.java: Updated copyright.
11571 * java/awt/color/ICC_ColorSpace.java: Updated copyright
11572 * java/awt/color/ICC_Profile.java: Updated copyright.
11573 * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
11574 * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
11575 * java/awt/event/HierarchyEvent.java: Updated copyright.
11576 * java/awt/event/HierarchyListener.java: Updated copyright.
11577 * java/awt/geom/AffineTransform.java: Updated copyright.
11578 * java/awt/geom/Dimension2D.java: Updated copyright.
11579 * java/awt/geom/Ellipse2D.java: Updated copyright.
11580 * java/awt/geom/IllegalPathStateException.java: Updated copyright.
11581 * java/awt/geom/Line2D.java: Updated copyright.
11582 * java/awt/geom/NoninvertibleTransformException.java: Updated
11584 * java/awt/geom/PathIterator.java: Updated copyright.
11585 * java/awt/geom/Point2D.java: Updated copyright.
11586 * java/awt/geom/Rectangle2D.java: Updated copyright.
11587 * java/awt/geom/RectangularShape.java: Updated copyright.
11588 * java/awt/geom/RoundRectangle2D.java: Updated copyright.
11589 * java/awt/Toolkit.java: Updated import for file moves.
11590 * java/awt/Rectangle.java: Updated copyright; added javadoc from
11592 (hashCode): New method from Classpath.
11593 * java/awt/Graphics2D.java: Updated copyright.
11594 * java/awt/Transparency.java: Updated copyright.
11595 * java/awt/Paint.java: Updated copyright.
11596 * java/awt/Graphics.java: New version from Classpath.
11597 * java/awt/EventDispatchThread.java: Updated copyright.
11598 * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
11600 (gotoComponent): Wrap around on next/previous.
11601 * gnu/gcj/awt/BitMaskExtent.java: Removed.
11602 * gnu/gcj/awt/Buffers.java: Removed.
11603 * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
11604 * gnu/gcj/awt/GLightweightPeer.java: Removed.
11605 * gnu/java/awt/BitMaskExtent.java: Added.
11606 * gnu/java/awt/Buffers.java: Added.
11607 * gnu/java/awt/ComponentDataBlitOp.java: Added.
11608 * gnu/java/awt/GLightweightPeer.java: Added.
11609 * java/awt/geom/Line2D.java (clone): Ignore
11610 CloneNotSupportedException.
11611 * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
11612 * java/awt/Frame.java: Merged with Classpath.
11613 * java/awt/RenderingHints.java: Copyright update.
11614 * java/awt/Paint.java: Copyright update.
11615 * java/awt/image/DirectColorModel.java: Merged with Classpath.
11616 * java/awt/image/ColorModel.java: Merged with Classpath.
11617 * java/awt/Window.java (show): New Implementation from Classpath.
11618 (isShowing): Use super.isShowing().
11619 * java/awt/EventQueue.java: Merged with Classpath.
11620 * java/awt/AWTEventMulticaster.java (save): Throw
11622 (saveInternal): Likewise.
11623 * java/awt/AWTEvent.java: Now implements Serializable.
11624 * java/awt/Event.java: Copyright update.
11625 * java/awt/peer/ComponentPeer.java: Merged with Classpath.
11626 * java/awt/image/BufferedImage.java: Copyright update.
11627 * java/awt/GraphicsConfiguration.java: Copyright update.
11628 * java/awt/Component.java: (addNotify): Don't call
11629 addNotifyContainerChildren().
11630 (addNotifyContainerChildren): Removed.
11631 (setPeer): New method from Classpath.
11632 (setTreeLock): Likewise.
11633 (setVisible): Rewrote.
11636 (validate): Set `valid'.
11637 (checkImage(Image,ImageObserver)): Implementation from Classpath.
11638 (createImage(ImageProducer)): Likewise.
11639 (prepareImage): Likewise.
11640 * java/awt/Container.java (addImpl): Handle case where constraint
11641 is not a String. Post event via system event queue.
11642 (remove): Post event via system event queue.
11643 (validateTree): Only validate child if it is invalid.
11644 (getAlignmentX): Call super method as default.
11645 (getAlignmentY): Likewise.
11646 (addContainerListener): Now synchronized.
11647 (removeContainerListener): Likewise.
11648 (addNotifyContainerChildren): Now private.
11649 * java/awt/ComponentOrientation.java: Updated copyright. Added
11651 * java/awt/FlowLayout.java (serialVersionUID): New field.
11652 (setAlignment): Better exception message.
11653 (layoutContainer): Don't compute component's preferred size unless
11654 we're going to use it.
11655 * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
11656 BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
11657 (firstLine, lastLine, firstItem, lastItem): New fields.
11658 (addLayoutComponent): Handle case where constraints is null.
11659 Also, handle relative locations.
11660 (removeLayoutComponent): Handle relative locations.
11661 (MIN, MAX, PREF): New constants.
11662 (calcCompSize): New method.
11663 (calcSize): New method.
11664 (minimumLayoutSize): Use it.
11665 (preferredLayoutSize): Likewise.
11666 (maximumLayoutSize): Likewise.
11667 (toString): Include more information.
11668 (setBounds): New method.
11669 (layoutContainer): Use libgcj implementation; extended to handle
11670 relative locations.
11672 2002-01-15 Tom Tromey <tromey@redhat.com>
11674 * java/lang/Float.java (equals): Preserve old code.
11675 * java/lang/Double.java (equals): Preserve old code.
11677 2002-01-15 Eric Blake <ebb9@email.byu.edu>
11679 * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
11680 * java/lang/Float.java (equals, compare): Ditto.
11682 2002-01-13 Mark Wielaard <mark@klomp.org>
11684 * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
11685 * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
11686 * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
11687 * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
11689 2002-01-11 Mark Wielaard <mark@klomp.org>
11691 * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
11692 * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
11694 * java/net/MulticastSocket.java (MulticastSocket): Likewise.
11695 * java/net/Socket.java: Merge with Classpath.
11696 * java/net/ServerSocket.java: Likewise.
11698 2002-01-11 Chris Sears <cbsears_sf@yahoo.com>
11700 * interpret.cc (NULLARRAYCHECK): New macro.
11701 (SAVE_PC): Just store `pc'.
11702 (find_exception): Subtract one from `pc' here.
11703 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
11704 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
11705 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
11706 insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
11707 don't call SAVE_PC.
11708 (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
11711 2002-01-11 Tom Tromey <tromey@redhat.com>
11713 * java/lang/natSystem.cc (init_properties): Only look for default
11714 locale if LC_MESSAGES is defined.
11715 * aclocal.m4, configure, include/config.h.in: Rebuilt.
11716 * configure.in: Call AM_LC_MESSAGES.
11717 * acinclude.m4 (AM_LC_MESSAGES): New macro.
11719 2002-01-10 Tom Tromey <tromey@redhat.com>
11721 For PR libgcj/5303:
11722 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
11723 --version. Recognize GNU-style long options. Print GNU-style
11725 (usage): Print GNU-style help. Exit with status 0.
11726 (error): New method.
11727 (run): Print error message if no class names found.
11728 (main): Don't print usage on error.
11730 2002-01-09 Tom Tromey <tromey@redhat.com>
11732 * gnu/gcj/convert/Convert.java (version): Use java.vm.name
11734 (help, version): Use println(), not println("").
11736 For PR libgcj/5303:
11737 * gnu/gcj/convert/Convert.java (error): Program is called
11738 `jv-convert'. Print GNU-style message. Exit with status 1, not
11740 (main): Handle --help and --version.
11741 (help): New method.
11742 (version): Likewise.
11744 2002-01-08 Tom Tromey <tromey@redhat.com>
11746 * Makefile.in: Rebuilt.
11747 * Makefile.am (ordinary_java_source_files): Added new files.
11748 * gnu/java/locale/LocaleInformation.java: Extend
11749 LocaleInformation_en.
11750 * gnu/java/locale/LocaleInformation_en.java: Added zone strings
11751 and time/date formats.
11752 * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
11754 * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
11755 * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
11756 * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
11757 * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
11758 * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
11759 * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
11760 * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
11761 * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
11762 * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
11763 * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
11764 * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
11765 * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
11766 * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
11767 * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
11768 * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
11769 * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
11770 * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
11771 * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
11772 * gnu/java/locale/LocaleInformation_be_BY.java: New file.
11773 * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
11774 * gnu/java/locale/LocaleInformation_br_FR.java: New file.
11775 * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
11776 * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
11777 * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
11778 * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
11779 * gnu/java/locale/LocaleInformation_da_DK.java: New file.
11780 * gnu/java/locale/LocaleInformation_de_AT.java: New file.
11781 * gnu/java/locale/LocaleInformation_de_BE.java: New file.
11782 * gnu/java/locale/LocaleInformation_de_CH.java: New file.
11783 * gnu/java/locale/LocaleInformation_de_DE.java: New file.
11784 * gnu/java/locale/LocaleInformation_de_LU.java: New file.
11785 * gnu/java/locale/LocaleInformation_el_GR.java: New file.
11786 * gnu/java/locale/LocaleInformation_en_AU.java: New file.
11787 * gnu/java/locale/LocaleInformation_en_BW.java: New file.
11788 * gnu/java/locale/LocaleInformation_en_CA.java: New file.
11789 * gnu/java/locale/LocaleInformation_en_DK.java: New file.
11790 * gnu/java/locale/LocaleInformation_en_GB.java: New file.
11791 * gnu/java/locale/LocaleInformation_en_HK.java: New file.
11792 * gnu/java/locale/LocaleInformation_en_IE.java: New file.
11793 * gnu/java/locale/LocaleInformation_en_IN.java: New file.
11794 * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
11795 * gnu/java/locale/LocaleInformation_en_PH.java: New file.
11796 * gnu/java/locale/LocaleInformation_en_SG.java: New file.
11797 * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
11798 * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
11799 * gnu/java/locale/LocaleInformation_es_AR.java: New file.
11800 * gnu/java/locale/LocaleInformation_es_BO.java: New file.
11801 * gnu/java/locale/LocaleInformation_es_CL.java: New file.
11802 * gnu/java/locale/LocaleInformation_es_CO.java: New file.
11803 * gnu/java/locale/LocaleInformation_es_CR.java: New file.
11804 * gnu/java/locale/LocaleInformation_es_DO.java: New file.
11805 * gnu/java/locale/LocaleInformation_es_EC.java: New file.
11806 * gnu/java/locale/LocaleInformation_es_ES.java: New file.
11807 * gnu/java/locale/LocaleInformation_es_GT.java: New file.
11808 * gnu/java/locale/LocaleInformation_es_HN.java: New file.
11809 * gnu/java/locale/LocaleInformation_es_MX.java: New file.
11810 * gnu/java/locale/LocaleInformation_es_NI.java: New file.
11811 * gnu/java/locale/LocaleInformation_es_PA.java: New file.
11812 * gnu/java/locale/LocaleInformation_es_PE.java: New file.
11813 * gnu/java/locale/LocaleInformation_es_PR.java: New file.
11814 * gnu/java/locale/LocaleInformation_es_PY.java: New file.
11815 * gnu/java/locale/LocaleInformation_es_SV.java: New file.
11816 * gnu/java/locale/LocaleInformation_es_US.java: New file.
11817 * gnu/java/locale/LocaleInformation_es_UY.java: New file.
11818 * gnu/java/locale/LocaleInformation_es_VE.java: New file.
11819 * gnu/java/locale/LocaleInformation_et_EE.java: New file.
11820 * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
11821 * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
11822 * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
11823 * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
11824 * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
11825 * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
11826 * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
11827 * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
11828 * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
11829 * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
11830 * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
11831 * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
11832 * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
11833 * gnu/java/locale/LocaleInformation_he_IL.java: New file.
11834 * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
11835 * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
11836 * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
11837 * gnu/java/locale/LocaleInformation_id_ID.java: New file.
11838 * gnu/java/locale/LocaleInformation_it_CH.java: New file.
11839 * gnu/java/locale/LocaleInformation_it_IT.java: New file.
11840 * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
11841 * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
11842 * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
11843 * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
11844 * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
11845 * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
11846 * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
11847 * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
11848 * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
11849 * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
11850 * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
11851 * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
11852 * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
11853 * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
11854 * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
11855 * gnu/java/locale/LocaleInformation_no_NO.java: New file.
11856 * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
11857 * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
11858 * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
11859 * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
11860 * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
11861 * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
11862 * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
11863 * gnu/java/locale/LocaleInformation_se_NO.java: New file.
11864 * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
11865 * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
11866 * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
11867 * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
11868 * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
11869 * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
11870 * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
11871 * gnu/java/locale/LocaleInformation_te_IN.java: New file.
11872 * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
11873 * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
11874 * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
11875 * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
11876 * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
11877 * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
11878 * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
11879 * gnu/java/locale/LocaleInformation_yi_US.java: New file.
11880 * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
11881 * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
11882 * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
11883 * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
11885 For PR libgcj/5031:
11886 * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
11887 choose default locale.
11889 * Makefile.in: Rebuilt.
11890 * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
11892 2002-01-08 Nic Ferrier <nferrier@tf1.tapsellferrier.co.uk>
11894 * java/net/natPlainSocketImpl.cc: Added timeout handling for
11896 (close): New function closes the socket.
11897 (write): New functions for output to socket.
11898 (read): New functions for reading from socket.
11899 * java/net/PlainSocketImpl.java: Glue for new timeout
11901 (write): Call the native impl.
11903 (getInputStream): Get a stream to read from the socket.
11904 (getOutputStream): Get a stream to write to the socket.
11906 2002-01-08 Tom Tromey <tromey@redhat.com>
11908 * resolve.cc (_Jv_PrepareClass): Enable verifier.
11910 2002-01-07 Andreas Tobler <a.tobler@schweiz.ch>
11912 * java/lang/reflect/natMethod.cc: Don't include alloca.h.
11913 (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
11915 2002-01-08 Chris Sears <cbsears_sf@yahoo.com>
11917 * interpret.cc (ARRAYBOUNDSCHECK): New macro.
11918 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
11919 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
11920 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
11921 insn_bastore, insn_castore, insn_sastore]: Use it.
11922 (continue1) [insn_arraylength]: Check for null array.
11924 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
11926 * configure, include/config.h.in: Rebuilt.
11927 * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
11928 * configure.in: Call AC_STRUCT_TIMEZONE.
11930 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
11932 * configure.host: Disable the interpreter for Darwin.
11934 2002-01-04 Tom Tromey <tromey@redhat.com>
11936 * java/lang/Thread.java (stop): No longer synchronized.
11939 2002-01-02 Tom Tromey <tromey@redhat.com>
11941 * java/lang/ieeefp.h: Fix bug in my hand-application of previous
11944 2002-1-1 Andrew Pinski <pinskia@physics.uc.edu>
11946 * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
11947 PPC Darwin, not for all of Darwin.