1 2003-10-21 Mark Wielaard <mark@klomp.org>
3 Reported by M.Negovanovic
4 * java/beans/Introspector.java (getBeanInfo(ClassLoader, String)): New
6 (reallyFindExplicitBeanInfo): Use new getBeanInfo() method.
8 2003-10-21 Sascha Brawer <brawer@dandelis.ch>
10 Fix for Classpath bug #6076.
11 * java/awt/geom/GeneralPath.java (append): Re-written.
13 2003-10-21 Sascha Brawer <brawer@dandelis.ch>
15 Fix for Classpath bug #6089.
16 * java/awt/geom/GeneralPath.java (curveTo): Set correct segment type.
17 (getPathIterator, GeneralPathIterator): Re-written from scratch.
19 2003-10-21 Sascha Brawer <brawer@dandelis.ch>
21 * java/awt/geom/GeneralPath.java (getCurrentPoint): Return last
22 point, not start of subpath. Fixes Classpath bug #6075.
24 2003-10-21 Michael Koch <konqueror@gmx.de>
26 * java/nio/ByteOrder.java,
27 java/nio/DirectByteBufferImpl.java,
28 java/nio/channels/FileChannelImpl.java:
29 Add code to load library with code for native methods if needed.
31 2003-10-21 Michael Koch <konqueror@gmx.de>
33 * gnu/java/net/PlainDatagramSocketImpl.java,
34 gnu/java/net/PlainSocketImpl.java,
35 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
36 gnu/java/net/natPlainDatagramSocketImplWin32.cc,
37 gnu/java/net/natPlainSocketImplPosix.cc,
38 gnu/java/net/natPlainSocketImplWin32.cc:
39 Renamed fnum to native_fd to match classpath more.
41 2003-10-21 Jerry Quinn <jlquinn@optonline.net>
43 * posix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename
44 _Jv_PthreadCheckMonitor to _Jv_MutexCheckMonitor.
45 * include/no-threads.h (_Jv_MutexCheckMonitor): New.
46 * include/posix-threads.h (_Jv_MutexCheckMonitor): Rename from
47 _Jv_PthreadCheckMonitor. Simplify code.
48 (_Jv_MutexUnlock): Use _Jv_MutexCheckMonitor.
49 * include/win32-threads.h (_Jv_MutexCheckMonitor): New.
50 * java/lang/Object.h (_Jv_ObjectCheckMonitor): Declare.
51 * java/lang/Thread.java (holdsLock): New.
52 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): New, with and
53 without JV_HASH_SYNCHRONIZATION.
54 * java/lang/natThread.cc (java::lang::Thread::holdsLock): New.
56 2003-10-20 Michael Koch <konqueror@gmx.de>
58 * java/text/RuleBasedCollator.java
59 (RuleBasedCollator): Check rules not empty, fixed search in already
60 existing collation elements.
61 (is_special): Removed common whitespace characters.
62 (text_argument): Dont return on whitespaces, add characters between
63 two ' to string buffer.
65 2003-10-18 Michael Koch <konqueror@gmx.de>
67 * gnu/java/net/protocol/file/Connection.java,
68 gnu/java/net/protocol/file/Handler.java,
69 gnu/java/net/protocol/http/Connection.java,
70 gnu/java/net/protocol/http/Handler.java,
71 gnu/java/net/protocol/jar/Connection.java,
72 gnu/java/net/protocol/jar/Handler.java:
73 Merged copyright text from classpath to make
74 it possible to merge the classes.
76 2003-10-18 Mark Wielaard <mark@klomp.org>
78 Reported by M.Negovanovic
79 * java/beans/IndexedPropertyDescriptor.java
80 (IndexedPropertyDescriptor): this.setIndex = setIndex, not getIndex.
82 2003-10-17 Mohan Embar <gnustuff@thisiscool.com>
84 * win32.cc (_Jv_pipe): Implemented.
85 * gnu/java/nio/natPipeImpl.cc (nativeInit): Use
86 _Jv_pipe instead of ::pipe.
87 * include/posix.h (_Jv_pipe): New inline.
88 * include/win32.h (_Jv_pipe): New declaration.
90 2003-10-17 Ralph Loader <rcl@ihug.co.nz>
92 * java/lang/StringBuffer.java (getChars): Fix array index checks.
93 (append, substring, insert): Likewise.
94 * testsuite/libjava.lang/StringBuffer_overflow.java: New file.
95 * testsuite/libjava.lang/StringBuffer_overflow.out: New file.
97 2003-10-17 Ralph Loader <rcl@ihug.co.nz>
99 * java/lang/natString.cc (getChars):
100 Fix validation of array indexes.
101 (getBytes, regionMatches, startsWith, valueOf): Likewise.
102 * testsuite/libjava.lang/String_overflow.java: New file.
103 * testsuite/libjava.lang/String_overflow.out: New file.
105 2003-10-17 Ralph Loader <rcl@ihug.co.nz>
107 * prims.cc (_Jv_NewObjectArray): Make sure byte size doesn't
109 (_Jv_NewPrimArray): Check for overflowing a jint, replacing a
110 check for overflowing size_t, since the lower level functions
112 * testsuite/libjava.lang/newarray_overflow.java: New file.
113 * testsuite/libjava.lang/newarray_overflow.out: New file.
115 2003-10-15 Michael Koch <konqueror@gmx.de>
117 * java/text/RuleBasedCollator.java
118 (RuleBasedCollator): Moved around, documentation added.
119 (compare): Documentation added.
121 (getCollationElementIterator): Likewise.
122 (getCollationKey): Likewise.
123 (getRules): Likewise.
124 (hashCode): Likewise.
126 2003-10-15 Michael Koch <konqueror@gmx.de>
128 * java/text/RuleBasedCollator.java
129 (CollationElement): Renamed from RBCElement and moved into
130 RuledBasedCollator as inner class.
132 2003-10-15 Michael Koch <konqueror@gmx.de>
134 * java/text/CollationElementIterator.java
135 (CollationElementIterator): Moved, documenatation added, call setText.
138 (setText): New method.
139 (getOffset): New method.
140 * java/text/CollationKey.java
141 (getSourceString): Reformated.
142 (hashCode): Reformated.
143 (toByteArray): Reformated.
145 2003-10-15 Michael Koch <konqueror@gmx.de>
147 * java/util/zip/InflaterInputStream.java
148 (InflaterInputStream): Renamed infl to inf and bufsize to size,
149 added description to exception, check for inf == null and size < 0.
151 2003-10-15 Michael Koch <konqueror@gmx.de>
153 * java/text/AttributedCharacterIterator.java,
154 java/text/CharacterIterator.java: Reformated.
156 2003-10-15 Michael Koch <konqueror@gmx.de>
158 * javax/swing/UIDefaults.java (putDefaults):
159 Readded accidently removed "public" modifier.
161 2003-10-14 Paolo Bonzini <bonzini@gnu.org>
163 * interpret.cc (_Jv_InterpMethod::run): Don't
164 use libffi types, they were meant to be internal.
165 * gcj/javaprims.h (_Jv_ulong): New typedef.
167 2003-10-13 Tom Tromey <tromey@redhat.com>
169 * java/lang/natClassLoader.cc (_Jv_InitNewClassFields): Removed.
170 (defineClass): Updated.
171 (_Jv_NewClass): Likewise.
172 * prims.cc (_Jv_InitPrimClass): Don't call
173 _Jv_InitNewClassFields.
175 2003-10-13 Taras Glek <taras.judge@shaw.ca>
178 * gnu/java/net/protocol/http/Connection.java (connect): Use \r\n,
181 2003-10-13 Michael Koch <konqueror@gmx.de>
183 * java/io/File.java: Reformated.
184 (equals): Check for obj == null.
186 2003-10-13 Michael Koch <konqueror@gmx.de>
188 * java/net/JarURLConnection.java
189 (jarFileURL): Added dcoumentation.
190 (jarFileURLConnection): Reformated documentation.
191 (entryName): Renamed from "element", documentation rewritten.
192 (connectionCache): Renamed from "conn_cache", documentation
194 (JarURLConnection): Check URL protocol.
195 (getEntryName): Use entryName.
196 (connect): Use connectionCache.
197 (getInputStream): Use entryName, fixed comment.
198 (getJarEntry): Use entryName.
199 (getHeaders): Use entryName.
200 * java/net/URLConnection.java
201 (addRequestProperty): Fixed documentation.
202 (setDefaultRequestProptery): Added comment that it does nothing since
204 (getDefaultRequestProperty): Likewise.
206 2003-10-13 Michael Koch <konqueror@gmx.de>
208 * java/net/java/net/URLStreamHandlerFactory.java
209 (createURLStreamHandler): Removed redundant "public" modifier.
210 * java/sql/DatabaseMetaData.java:
211 (DatabaseMetaData): Readded accidently removed "public" modifier.
212 * java/sql/ParameterMetaData.java:
213 (ParameterMetaData): Readded accidently removed "public" modifier.
214 * java/sql/PreparedStatement.java:
215 (PreparedStatement): Readded accidently removed "public" modifier.
217 (Ref): Readded accidently removed "public" modifier.
219 2003-10-13 Michael Koch <konqueror@gmx.de>
221 * java/nio/Buffer.java
222 (hasRemaining): Made implementation more clear.
223 * java/nio/MappedByteBuffer.java
224 (loaded): New member variable.
225 (force): Added comment.
226 (isLoaded): Return value of loaded.
227 (load): Set loaded to true, added comment.
229 2003-10-12 Michael Koch <konqueror@gmx.de>
231 * gnu/java/nio/PipeImpl.java
232 (SourceChannelImpl): New inner class.
233 (SinkChannelImpl): New inner class.
234 (sink): New member variable.
235 (source): New member variable.
236 (PipeImpl): Add SelectorProvider argument, implemented.
237 (nativeInit): New method.
238 (sink): Return sink channel.
239 (source): Return source channel.
240 * gnu/java/nio/SelectorProviderImpl.java
241 (openPipe): Give provider as argument to PipeImpl constructor.
242 * java/nio/channels/spi/SelectorProvider.java
244 (systemDefaultProvider): New member variable.
245 (provider): Made it synchronized, use property
246 java.nio.channels.spi.SelectorProvider.
247 * gnu/java/nio/natPipeImpl.cc: New file.
248 * Makefile.am (nat_source_files): Added gnu/java/nio/natPipeImpl.cc.
249 * Makefile.in: Regenerated.
251 2003-10-12 Michael Koch <konqueror@gmx.de>
253 * javax/swing/table/DefaultTableModel.java,
254 javax/swing/table/TableCellEditor.java,
255 javax/swing/table/TableCellRenderer.java,
256 javax/swing/table/TableColumnModel.java,
257 javax/swing/table/TableModel.java,
258 javax/swing/text/AbstractDocument.java,
259 javax/swing/text/Document.java,
260 javax/swing/text/MutableAttributeSet.java,
261 javax/swing/text/StyledDocument.java,
262 javax/swing/text/ViewFactory.java,
263 javax/swing/tree/DefaultMutableTreeNode.java,
264 javax/swing/tree/MutableTreeNode.java,
265 javax/swing/tree/RowMapper.java,
266 javax/swing/tree/TreeCellEditor.java,
267 javax/swing/tree/TreeCellRenderer.java,
268 javax/swing/tree/TreeModel.java,
269 javax/swing/tree/TreeNode.java,
270 javax/swing/tree/TreeSelectionModel.java,
271 javax/swing/undo/StateEditable.java,
272 javax/swing/undo/UndoableEdit.java:
273 Removed redundant modifiers.
275 2003-10-12 Michael Koch <konqueror@gmx.de>
277 * javax/swing/event/AncestorListener.java,
278 javax/swing/event/CaretListener.java,
279 javax/swing/event/CellEditorListener.java,
280 javax/swing/event/ChangeListener.java,
281 javax/swing/event/DocumentEvent.java,
282 javax/swing/event/DocumentListener.java,
283 javax/swing/event/HyperlinkListener.java,
284 javax/swing/event/InternalFrameListener.java,
285 javax/swing/event/ListDataListener.java,
286 javax/swing/event/ListSelectionListener.java,
287 javax/swing/event/MenuDragMouseListener.java,
288 javax/swing/event/MenuKeyListener.java,
289 javax/swing/event/MenuListener.java,
290 javax/swing/event/MouseInputListener.java,
291 javax/swing/event/PopupMenuListener.java,
292 javax/swing/event/TableColumnModelListener.java,
293 javax/swing/event/TableModelListener.java,
294 javax/swing/event/TreeExpansionListener.java,
295 javax/swing/event/TreeModelListener.java,
296 javax/swing/event/TreeSelectionListener.java,
297 javax/swing/event/TreeWillExpandListener.java,
298 javax/swing/event/UndoableEditListener.java,
299 javax/swing/plaf/UIResource.java,
300 javax/swing/plaf/metal/MetalLookAndFeel.java:
301 Removed redundant modifiers.
303 2003-10-12 Michael Koch <konqueror@gmx.de>
305 * javax/swing/Action.java,
306 javax/swing/BoundedRangeModel.java,
307 javax/swing/CellEditor.java,
308 javax/swing/ComboBoxEditor.java,
309 javax/swing/ComboBoxModel.java,
310 javax/swing/DesktopManager.java,
311 javax/swing/JComboBox.java,
312 javax/swing/ListCellRenderer.java,
313 javax/swing/ListSelectionModel.java,
314 javax/swing/MenuElement.java,
315 javax/swing/MutableComboBoxModel.java,
316 javax/swing/Renderer.java,
317 javax/swing/RootPaneContainer.java,
318 javax/swing/ScrollPaneConstants.java,
319 javax/swing/SingleSelectionModel.java,
320 javax/swing/SpinnerModel.java,
321 javax/swing/SwingConstants.java,
322 javax/swing/UIDefaults.java,
323 javax/swing/WindowConstants.java,
324 javax/swing/border/Border.java,
325 javax/swing/colorchooser/ColorSelectionModel.java:
326 Removed redundant modifiers.
328 2003-10-11 Michael Koch <konqueror@gmx.de>
330 * javax/transaction/Status.java,
331 javax/transaction/Synchronization.java,
332 javax/transaction/Transaction.java,
333 javax/transaction/TransactionManager.java,
334 javax/transaction/UserTransaction.java,
335 javax/transaction/xa/XAResource.java,
336 javax/transaction/xa/Xid.java:
337 Removing redundant modifiers.
339 2003-10-11 Michael Koch <konqueror@gmx.de>
341 * javax/print/attribute/Attribute.java,
342 javax/print/attribute/AttributeSet.java,
343 javax/print/attribute/PrintRequestAttributeSet.java:
344 Removing redundant modifiers.
346 2003-10-11 Michael Koch <konqueror@gmx.de>
348 * javax/sql/ConnectionEventListener.java,
349 javax/sql/ConnectionPoolDataSource.java,
350 javax/sql/DataSource.java,
351 javax/sql/PooledConnection.java,
352 javax/sql/RowSet.java,
353 javax/sql/RowSetInternal.java,
354 javax/sql/RowSetListener.java,
355 javax/sql/RowSetMetaData.java,
356 javax/sql/RowSetReader.java,
357 javax/sql/RowSetWriter.java,
358 javax/sql/XAConnection.java,
359 javax/sql/XADataSource.java:
360 Removing redundant modifiers.
362 2003-10-11 Michael Koch <konqueror@gmx.de>
364 * javax/naming/Context.java,
365 javax/naming/Name.java,
366 javax/naming/NameParser.java,
367 javax/naming/NamingEnumeration.java,
368 javax/naming/Referenceable.java,
369 javax/naming/directory/Attribute.java,
370 javax/naming/directory/Attributes.java,
371 javax/naming/directory/DirContext.java,
372 javax/naming/event/EventContext.java,
373 javax/naming/event/EventDirContext.java,
374 javax/naming/event/NamespaceChangeListener.java,
375 javax/naming/event/NamingListener.java,
376 javax/naming/event/ObjectChangeListener.java,
377 javax/naming/ldap/Control.java,
378 javax/naming/ldap/ExtendedRequest.java,
379 javax/naming/ldap/ExtendedResponse.java,
380 javax/naming/ldap/HasControls.java,
381 javax/naming/ldap/LdapContext.java,
382 javax/naming/ldap/UnsolicitedNotification.java,
383 javax/naming/ldap/UnsolicitedNotificationListener.java,
384 javax/naming/spi/DirObjectFactory.java,
385 javax/naming/spi/DirStateFactory.java,
386 javax/naming/spi/InitialContextFactory.java,
387 javax/naming/spi/InitialContextFactoryBuilder.java,
388 javax/naming/spi/ObjectFactory.java,
389 javax/naming/spi/ObjectFactoryBuilder.java,
390 javax/naming/spi/Resolver.java,
391 javax/naming/spi/StateFactory.java:
392 Removing redundant modifiers.
394 2003-10-11 Michael Koch <konqueror@gmx.de>
396 * java/security/Key.java,
397 * java/security/PrivateKey.java,
398 * java/security/PublicKey.java,
399 * java/security/acl/Acl.java,
400 * java/security/acl/AclEntry.java,
401 * java/security/acl/Group.java,
402 * java/security/acl/Owner.java,
403 * java/security/acl/Permission.java,
404 * java/security/cert/X509Extension.java,
405 * java/security/interfaces/DSAKey.java,
406 * java/security/interfaces/DSAKeyPairGenerator.java,
407 * java/security/interfaces/DSAParams.java,
408 * java/security/interfaces/DSAPrivateKey.java,
409 * java/security/interfaces/DSAPublicKey.java,
410 * java/security/interfaces/RSAKey.java,
411 * java/security/interfaces/RSAPrivateCrtKey.java,
412 * java/security/interfaces/RSAPrivateKey.java,
413 * java/security/interfaces/RSAPublicKey.java:
414 Removed redundant modifiers.
416 2003-10-11 Michael Koch <konqueror@gmx.de>
418 * gnu/java/rmi/server/ProtocolConstants.java,
419 gnu/java/security/der/DER.java:
420 Removing redundant modifiers.
422 2003-10-11 Michael Koch <konqueror@gmx.de>
424 * java/util/Map.java,
425 java/util/Observer.java,
426 java/util/zip/Checksum.java,
427 java/util/zip/ZipConstants.java:
428 Removed redundant modifiers.
430 2003-10-11 Michael Koch <konqueror@gmx.de>
432 * java/text/AttributedCharacterIterator.java,
433 java/text/CharacterIterator.java:
434 Removed redundant modifiers.
436 2003-10-11 Michael Koch <konqueror@gmx.de>
438 * java/sql/Array.java,
440 java/sql/CallableStatement.java,
442 java/sql/Connection.java,
443 java/sql/DatabaseMetaData.java,
444 java/sql/Driver.java,
445 java/sql/ParameterMetaData.java,
446 java/sql/PreparedStatement.java,
448 java/sql/ResultSet.java,
449 java/sql/ResultSetMetaData.java,
450 java/sql/SQLData.java,
451 java/sql/SQLInput.java,
452 java/sql/SQLOutput.java,
453 java/sql/Savepoint.java,
454 java/sql/Statement.java,
455 java/sql/Struct.java:
456 Removed redundant modifiers.
458 2003-10-11 Michael Koch <konqueror@gmx.de>
460 * java/nio/channels/Channel.java,
461 java/nio/channels/GatheringByteChannel.java,
462 java/nio/channels/ReadableByteChannel.java,
463 java/nio/channels/ScatteringByteChannel.java,
464 java/nio/channels/WritableByteChannel.java:
465 Removed redundant modifiers.
467 2003-10-11 Michael Koch <konqueror@gmx.de>
469 * java/rmi/activation/ActivationInstantiator.java,
470 java/rmi/activation/ActivationMonitor.java,
471 java/rmi/activation/ActivationSystem.java,
472 java/rmi/activation/Activator.java,
473 java/rmi/dgc/DGC.java,
474 java/rmi/registry/Registry.java,
475 java/rmi/registry/RegistryHandler.java,
476 java/rmi/server/LoaderHandler.java,
477 java/rmi/server/RMIClientSocketFactory.java,
478 java/rmi/server/RMIFailureHandler.java,
479 java/rmi/server/RMIServerSocketFactory.java,
480 java/rmi/server/RemoteCall.java,
481 java/rmi/server/RemoteRef.java,
482 java/rmi/server/ServerRef.java,
483 java/rmi/server/Skeleton.java,
484 java/rmi/server/Unreferenced.java:
485 Removed redundant modifiers.
487 2003-10-11 Michael Koch <konqueror@gmx.de>
489 * java/net/ContentHandlerFactory.java,
490 java/net/DatagramSocketImplFactory.java,
491 java/net/FileNameMap.java,
492 java/net/SocketImplFactory.java,
493 java/net/SocketOptions.java,
494 java/net/URLStreamHandlerFactory.java:
495 Removed redundant modifiers.
497 2003-10-11 Michael Koch <konqueror@gmx.de>
499 * java/io/Externalizable.java,
500 java/io/FileFilter.java,
501 java/io/FilePermission.java,
502 java/io/ObjectInput.java,
503 java/io/ObjectInputValidation.java,
504 java/io/ObjectOutput.java,
505 java/io/ObjectStreamClass.java,
506 java/io/ObjectStreamConstants.java,
507 java/io/Serializable.java:
508 Removed redundant modifiers.
510 2003-10-11 Ingo Proetel <proetel@aicas.com>
512 * java/rmi/server/RMIClassLoader.java: Identify cached classloaders by
513 codebase and context classloader.
515 2003-10-11 Michael Koch <konqueror@gmx.de>
517 * java/beans/beancontext/BeanContext.java,
518 java/beans/beancontext/BeanContextChild.java,
519 java/beans/beancontext/BeanContextChildComponentProxy.java,
520 java/beans/beancontext/BeanContextChildSupport.java,
521 java/beans/beancontext/BeanContextContainerProxy.java,
522 java/beans/beancontext/BeanContextMembershipListener.java,
523 java/beans/beancontext/BeanContextProxy.java,
524 java/beans/beancontext/BeanContextServiceProvider.java,
525 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java,
526 java/beans/beancontext/BeanContextServiceRevokedListener.java,
527 java/beans/beancontext/BeanContextServices.java,
528 java/beans/beancontext/BeanContextServicesListener.java:
529 Removed redundant modifiers.
531 2003-10-11 Michael Koch <konqueror@gmx.de>
533 * java/beans/AppletInitializer.java,
534 java/beans/BeanInfo.java,
535 java/beans/Customizer.java,
536 java/beans/DesignMode.java,
537 java/beans/PropertyEditor.java,
538 java/beans/Visibility.java:
539 Removed redundant modifiers.
541 2003-10-11 Michael Koch <konqueror@gmx.de>
543 * java/awt/print/Pageable.java,
544 * java/awt/print/Printable.java,
545 java/awt/print/PrinterGraphics.java:
546 Removed redundant modifiers.
548 2003-10-11 Michael Koch <konqueror@gmx.de>
550 * java/awt/peer/ButtonPeer.java,
551 java/awt/peer/CheckboxMenuItemPeer.java,
552 java/awt/peer/CheckboxPeer.java,
553 java/awt/peer/ChoicePeer.java,
554 java/awt/peer/ComponentPeer.java,
555 java/awt/peer/ContainerPeer.java,
556 java/awt/peer/DialogPeer.java,
557 java/awt/peer/FileDialogPeer.java,
558 java/awt/peer/FramePeer.java,
559 java/awt/peer/LabelPeer.java,
560 java/awt/peer/ListPeer.java,
561 java/awt/peer/MenuBarPeer.java,
562 java/awt/peer/MenuComponentPeer.java,
563 java/awt/peer/MenuItemPeer.java,
564 java/awt/peer/MenuPeer.java,
565 java/awt/peer/PopupMenuPeer.java,
566 java/awt/peer/RobotPeer.java,
567 java/awt/peer/ScrollPanePeer.java,
568 java/awt/peer/ScrollbarPeer.java,
569 java/awt/peer/TextAreaPeer.java,
570 java/awt/peer/TextComponentPeer.java,
571 java/awt/peer/TextFieldPeer.java,
572 java/awt/peer/WindowPeer.java:
573 Removed redundant modifiers.
575 2003-10-11 Michael Koch <konqueror@gmx.de>
577 * gnu/java/nio/NIOSocket.java (setChannel): Initialize impl.
578 * gnu/java/nio/ServerSocketChannelImpl.java
579 (serverSocket): Made it a NIOServerSocket.
581 (ServerSocketChannelImpl): Initialize only serverSocket.
582 (initServerSocket): Removed.
583 (getNativeFD): Rewritten.
584 (implConfigureBlocking): Set socket timeout and removed comment.
586 * gnu/java/nio/SocketChannelImpl.java
587 (impl): New variable.
588 (connected): Removed.
589 (SocketChannelImpl): Initialize impl too.
590 (getImpl): New method.
591 (isConnected): Rewritten.
592 (read): Rewritten, set position in buffer correctly.
593 (write): Set position in buffer correctly.
594 * java/net/ServerSocket.java (getImpl): New method.
595 * gnu/java/nio/NIOServerSocket.java,
596 gnu/java/nio/natNIOServerSocket.cc: New files.
597 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
599 (ordinary_java_source_files):
600 Added gnu/java/nio/NIOServerSocket.java.
602 Removed gnu/java/nio/natServerSocketChannelImpl.cc
603 and added gnu/java/nio/natNIOServerSocket.cc.
604 * Makefile.in: Regenerated.
606 2003-10-11 Michael Koch <konqueror@gmx.de>
608 * java/awt/ActiveEvent.java,
609 java/awt/datatransfer/ClipboardOwner.java,
610 java/awt/datatransfer/FlavorMap.java,
611 java/awt/datatransfer/Transferable.java,
612 java/awt/dnd/Autoscroll.java,
613 java/awt/dnd/peer/DragSourceContextPeer.java,
614 java/awt/dnd/peer/DropTargetContextPeer.java,
615 java/awt/dnd/peer/DropTargetPeer.java,
616 java/awt/font/MultipleMaster.java,
617 java/awt/font/OpenType.java,
618 java/awt/im/spi/InputMethodDescriptor.java,
619 java/awt/image/ImageObserver.java,
620 java/awt/image/ImageConsumer.java,
621 java/awt/image/ImageProducer.java,
622 java/awt/image/RGBImageFilter.java,
623 java/awt/image/RasterOp.java,
624 java/awt/image/renderable/RenderableImage.java:
625 Removed redundant modifiers.
627 2003-10-11 Michael Koch <konqueror@gmx.de>
629 * gnu/awt/j2d/DirectRasterGraphics.java,
630 gnu/java/awt/EmbeddedWindowSupport.java:
631 Removed redundant modifiers.
633 2003-10-09 Michael Koch <konqueror@gmx.de>
635 * gnu/java/nio/SelectorImpl.java (register):
636 Use ServerSocketChannelSelectionKey for server socket channels,
637 removed unneeded comments.
638 * gnu/java/nio/ServerSocketChannelImpl.java
639 (ServerSocketChannelImpl): Made class public final.
640 (impl): New member variable.
641 (ServerSocketChannelImpl): Initialize member variables correctly.
642 (initServerSocket): New method.
643 (getNativeFD): Likewise.
644 * gnu/java/nio/ServerSocketChannelSelectionKey.java,
645 gnu/java/nio/natServerSocketChannelImpl.cc: New files.
646 * Makefile.am (ordinary_java_source_files):
647 Added gnu/java/nio/ServerSocketChannelSelectionKey.java.
648 (nat_source_files): Added gnu/java/nio/natServerSocketChannelImpl.cc.
649 * Makefile.in: Regenrated.
651 2003-10-09 Michael Koch <konqueror@gmx.de>
653 * java/nio/channels/spi/AbstractSelectableChannel.java
654 (registered): Made private.
655 (blocking): Likewise.
657 (provider): Likewise.
658 (keys): Made it a private LinkedList.
659 (AbstractSelectableChannel): Initialize keys.
660 (isRegistered): New implementation.
662 (register): Rewritten.
663 * java/nio/channels/spi/AbstractSelectionKey.java
665 (cancelled): New member variable.
667 (isValid): Rewritten.
668 * java/nio/channels/spi/AbstractSelector.java:
670 (closed): Make private.
671 (provider): Likewise.
672 (cancelledKeys): New member variable.
673 (AbstractSelector): Initialize cancelledKeys.
674 (cancelKey): New method.
676 2003-10-09 Tom Tromey <tromey@redhat.com>
678 * java/lang/ClassLoader.java (setSigners): Implemented.
679 * boehm.cc (_Jv_MarkObj): Mark `signers' field.
680 * java/lang/natClassLoader.cc (_Jv_InitNewClassFields):
681 Initialize new fields.
682 * java/lang/Class.java (getSigners): Now native.
683 (setSigners): Declare.
684 * java/lang/natClass.cc (getSigners): New method.
685 (getSigners): Likewise.
686 * java/lang/Class.h (Class::signers): New field.
687 (Class::setSigners): New method.
689 2003-10-09 Michael Koch <konqueror@gmx.de>
691 * java/rmi/server/RMIClassLoader.java:
692 Removed unused imports, little reformatings.
693 (getClassLoader): New method, implementation was part of old loadCLass
695 (loadClass): Simplified by moving functionality to new method and
696 reworking the code a bit.
697 (getClassAnnotation): Merged documentation from classpath.
699 2003-10-09 Michael Koch <konqueror@gmx.de>
701 * java/math/BigInteger.java
702 (add): Removed unused local variable len.
704 2003-10-08 Thomas Fitzsimmons <fitzsim@redhat.com>
706 * gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Remove
708 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
709 Initialize insets to use latest insets.
710 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
711 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (latestInsets): New
713 (postConfigureEvent): Update latestInsets field when insets
714 change. Remove call to setSize. Move validate call outside of
716 (setVisible): Call setBounds before showing window.
717 (nativeSetVisible): New native method.
718 * java/awt/Window.java (show): Show visible owned windows.
719 (hide): Hide visible owned windows.
720 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
721 (awt_event_handler): Implement modality using GTK grabs.
722 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
723 (global_gtk_window_group): New global variable.
724 (gtkInit): Initialize global_gtk_window_group.
725 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
726 Clamp width and height values to at least 1. Add this window to
727 the global GTK window group.
728 (setVisible): Rename to nativeSetVisible.
729 (setup_window): Remove function.
730 (setSize): Clamp width and height values to at least 1.
731 (nativeSetBounds): Likewise.
732 (gdk_window_get_root_geometry): Remove function.
733 * jni/gtk-peer/gtkpeer.h: Remove gdk_window_get_root_geometry
734 and setup_window declarations. Declare global_gtk_window_group.
736 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
737 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
738 (gtkSetFont): Handle BOLD and ITALIC style specifiers.
739 (gtkWidgetSetForeground): New method.
740 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
741 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
742 (gtkWidgetSetBackground, gtkWidgetSetForeground): New methods.
743 (setBackground, setForeground): Implement.
744 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
745 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
746 (gtkSetFont): Handle BOLD and ITALIC style specifiers.
747 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
748 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
749 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
750 Position PangoLayout relative to text's baseline.
751 * jni/gtk-peer/gtkpeer.h: Define AWT font style constants.
753 * java/awt/FlowLayout.java (layoutContainer): Fix offset problem
754 for CENTER and RIGHT alignments.
756 2003-10-08 Michael Koch <konqueror@gmx.de>
758 * java/security/Security.java: Reformated.
760 2003-10-08 Michael Koch <konqueror@gmx.de>
762 * java/text/SimpleDateFormat.java
763 (compileFormat): Replace Character.isLetter() test with
764 Character.isLowerCase() || Character.isUpperCase().
766 2003-10-08 Tom Tromey <tromey@redhat.com>
768 * java/lang/StrictMath.java (toDegrees): Multiply before
770 (toRadians): Likewise.
772 2003-10-08 C. Brian Jones <cbj@gnu.org>
774 * java/lang/Math.java
775 (toRadians): multiply before dividing to reduce decimal error
778 2003-10-08 Michael Koch <konqueror@gmx.de>
780 * gnu/gcj/protocol/core/Connection.java,
781 gnu/gcj/protocol/core/CoreInputStream.java,
782 gnu/gcj/protocol/core/Handler.java,
783 gnu/gcj/protocol/core/natCoreInputStream.cc,
784 gnu/gcj/protocol/file/Connection.java,
785 gnu/gcj/protocol/file/Handler.java,
786 gnu/gcj/protocol/gcjlib/Connection.java,
787 gnu/gcj/protocol/gcjlib/Handler.java,
788 gnu/gcj/protocol/http/Connection.java,
789 gnu/gcj/protocol/http/Handler.java,
790 gnu/gcj/protocol/jar/Connection.java,
791 gnu/gcj/protocol/jar/Handler.java: Moved to gnu/java/net/protocol.
792 * gnu/java/net/protocol/core/Connection.java,
793 gnu/java/net/protocol/core/CoreInputStream.java,
794 gnu/java/net/protocol/core/Handler.java,
795 gnu/java/net/protocol/core/natCoreInputStream.cc,
796 gnu/java/net/protocol/file/Connection.java,
797 gnu/java/net/protocol/file/Handler.java,
798 gnu/java/net/protocol/gcjlib/Connection.java,
799 gnu/java/net/protocol/gcjlib/Handler.java,
800 gnu/java/net/protocol/http/Connection.java,
801 gnu/java/net/protocol/http/Handler.java,
802 gnu/java/net/protocol/jar/Connection.java,
803 gnu/java/net/protocol/jar/Handler.java: Moved from gnu/gcj/protocol.
804 * gnu/gcj/runtime/FirstThread.java,
805 java/net/URL.java: Use moved protocol handlers.
807 (ordinary_java_source_files): Moved files.
808 (nat_source_files): Likewise.
809 * Makefile.in: Regenerated.
811 2003-10-08 Michael Koch <konqueror@gmx.de>
813 * gnu/java/nio/SocketChannelImpl.java
814 (read): Write only read data to buffer.
816 2003-10-08 Thomas Fitzsimmons <fitzsim@redhat.com>
818 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (setEnabled): Stub
820 * jni/classpath/jcl.c [!__GNUC__]: Elide __attribute__.
821 (JCL_free): Attach "unused" attribute to env parameter.
822 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
823 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
824 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
825 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
826 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
827 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
828 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
829 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
830 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
831 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
832 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
833 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
834 jni/gtk-peer/gthread-jni.c: Attach "unused" attribute to unused
836 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
837 (initNativeState): Pass 0 as info argument to
838 gtk_selection_add_target.
839 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
840 (setVisible, gtkFixedNew, gtkFixedPut, gtkFixedMove): Remove
841 unused method implementations.
842 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
843 (awt_event_handler): Add break statement after default label.
844 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
845 (drawPixels): Remove unused variable i.
846 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
847 (setEnabled): Remove method implementation.
848 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
849 (accel_attach): Call _gtk_accel_group_attach with G_OBJECT
851 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (sr): Remove
853 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
854 (menu_pos): Assign TRUE to push_in.
855 (setupAccelGroup): Call _gtk_accel_group_attach with G_OBJECT
857 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
858 (create): Remove unused variable layout.
859 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
860 Pass window_widget, rather than window, to
861 gtk_widget_set_size_request.
862 * jni/gtk-peer/gthread-jni.c (g_thread_jni_functions): Fill out
863 structure initialization with NULL values.
864 * jni/gtk-peer/gtkpeer.h [!__GNUC__]: Elide __attribute__.
866 2003-10-08 Michael Koch <konqueror@gmx.de>
868 * java/util/LinkedList.java:
869 Removed whitespace to match classpath's version again.
871 2003-10-08 Michael Koch <konqueror@gmx.de>
873 * java/util/prefs/Preferences.java
874 (defaultFactoryClass): Fixed class name.
875 (getFactory): Create instance of class returned by Class.forName(),
878 2003-10-08 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
880 * javax/swing/table/AbstractTableModel.java
881 (getColumnName): Simplified code much. Thanks to Yannick Boogaerts who
882 helped stop pulling my hair on this +1 then -1 tricky thing!
884 2003-10-07 Thomas Fitzsimmons <fitzsim@redhat.com>
886 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (gtkTextGetSize):
887 Remove unused parameters.
888 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkEntryGetSize):
890 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
891 (keyevent_state_to_awt_mods): Export function.
892 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
893 (getCaretPosition): Fix TextArea case.
894 (textcomponent_commit_cb): Get exact event time and modifier
896 * jni/gtk-peer/gtkpeer.h: Declare keyevent_state_to_awt_mods.
898 2003-10-02 Guilhem Lavaux <guilhem@kaffe.org>
900 * java/net/InetSocketAddress.java
901 (InetSocketAddress): Made exception more clear.
902 (equals): Handle case when addr is null.
903 (toString): Likewise.
904 * java/net/NetworkInterface.java
905 (static): Load native library.
906 (getNetworkInterfaces): Rewritten.
908 2003-10-02 Thomas Fitzsimmons <fitzsim@redhat.com>
910 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (insets): New
912 (initializeInsets): New method.
913 (GtkComponentPeer): Call initializeInsets. Call setCursor and
914 setBounds unconditionally.
915 (setBounds): Convert coordinates if parent is a Window.
916 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (insets): Move
917 field to GtkComponentPeer.
918 (GtkContainerPeer): Don't initialize insets.
919 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
921 (create): Call new GtkWindowPeer create method.
922 * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
924 (create): Call new GtkWindowPeer create method.
925 (setBounds): Remove method.
926 (postConfigureEvent): Likewise.
927 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Replace GTK window
928 type constants with GDK window type constants.
929 (create(int,boolean,int,int,GtkWindowPeer)): New method.
930 (create(int,boolean)): Likewise.
931 (create()): Call create(int,boolean).
932 (nativeSetBounds): New native method declaration.
933 (setBounds): Call native method declaration.
934 (setSize): New native method declaration.
935 (setBoundsCallback): Likewise.
936 (postConfigureEvent): Handle change in insets. Call setSize and
937 setBoundsCallback methods.
938 * java/awt/Window.java (Window): Set visible to false.
939 (setBoundsCallback): New method.
940 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
941 (gtkWidgetGetLocationOnScreen): If this component is not a
942 container, adjust the location returned based on the peer's
944 (set(String,boolean)): Revert change from 2003-09-19.
945 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
946 (awt_event_handler): Fix inset calculation.
947 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
948 glue for Window.setBoundsCallback.
949 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
950 Set up stacking order, window decorations and window manager
952 (setBoundsCallback): New method.
953 (setSize): New method.
954 (nativeSetBounds): New method.
955 * jni/gtk-peer/gtkpeer.h: Declare setBoundsCallbackID.
957 2003-10-02 Tom Tromey <tromey@redhat.com>
959 * java/lang/VMClassLoader.java (loadClass): Now native.
960 * java/lang/natClassLoader.cc (loadClass): Implement.
961 * prims.cc (_Jv_RunMain): Initialize ClassLoader.
963 2003-10-02 Michael Koch <konqueror@gmx.de>
965 * java/net/InetAddress.java
967 (ANY_IF): Initalizie in static block.
968 (static): Load library with native methods here and initialize ANY_IF.
969 (isAnyLocalAddress): Check if equal to ANY_IF.
970 (equals): Use addr directly instead of addr1. Simplify for loop.
971 (toString): Rename "result" to "host" and add IP address allways.
972 (getLocalHost): Merged documentation from classpath.
973 * java/net/ServerSocket.java
974 (ServerSocket): New package-private constructor used by java.nio.
975 * java/net/URLConnection.java
976 (getRequestProperties): Check if already connected.
978 2003-10-02 Michael Koch <konqueror@gmx.de>
980 * java/nio/ByteBufferHelper.java:
981 Rewrote all methods by suggestions from Eric Blake.
983 2003-10-02 Michael Koch <konqueror@gmx.de>
986 (DEFAULT_SEARCH_PATH): New static variable.
987 (ph_cache): Made it a HashMap.
988 (getURLStreamHandler): Rename propVal to ph_search_path and use
991 2003-10-02 Michael Koch <konqueror@gmx.de>
993 * javax/swing/table/AbstractTableModel.java
994 (findColumnName): Prevent from NullPointerException if argument
997 2003-10-02 Michael Koch <konqueror@gmx.de>
999 * javax/swing/table/AbstractTableModel.java:
1000 This patch is based on a patch done by Arnaud Vandyck
1001 <arnaud.vandyck@ulg.ac.be>.
1002 (getColumnName): Fixed method documentation.
1003 (findColumn): Likewise.
1004 (getColumnClass): Likewise.
1005 (isCellEditable): Likewise.
1006 (setValueAt): Likewise.
1007 (addTableModelListener): Likewise.
1008 (removeTableModelListener): Likewise.
1009 (getTableModelListeners): New method.
1011 2003-10-02 Michael Koch <konqueror@gmx.de>
1013 * javax/swing/table/AbstractTableModel.java:
1016 2003-10-01 Bryce McKinlay <bryce@mckinlay.net.nz>
1019 * gnu/gcj/runtime/StackTrace.java (finalize): Declare.
1020 * gnu/gcj/runtime/natStackTrace.cc (finalize): New. Free "addrs".
1022 2003-10-01 Tom Tromey <tromey@redhat.com>
1024 * gnu/gcj/runtime/FirstThread.java (getMain): Fixed indentation.
1026 2003-10-01 Andrew Haley <aph@redhat.com>
1028 * java/lang/natClass.cc (initializeClass): Check for otable and
1030 (_Jv_LinkOffsetTable): Check for existence of atable. Rewrite
1031 loops using for(). Search superinterfaces. Check for fields as
1032 well as methods. Initialize atable as well as otable: check for
1033 static methods as well as virtual methods.
1034 * java/lang/Class.h (struct _Jv_AddressTable): New.
1037 * include/jvm.h (_Jv_equalUtf8Consts): constify.
1038 * prims.cc (_Jv_equalUtf8Consts): constify.
1040 2003-09-29 Tom Tromey <tromey@redhat.com>
1043 * include/jvm.h (_Jv_FinalizeString,
1044 _Jv_RegisterStringFinalizer): Declare.
1045 * java/lang/natString.cc (_Jv_FinalizeString): Renamed from
1048 (_Jv_NewStringUtf8Const): Likewise.
1049 * java/lang/ref/natReference.cc (finalize_referred_to_object):
1050 Add special case when finalizing a String.
1051 (in_hash): New function.
1052 (_Jv_RegisterStringFinalizer): Likewise.
1053 (maybe_add_finalize): Likewise.
1055 2003-09-29 Michael Koch <konqueror@gmx.de>
1057 * java/net/InetAddress.java:
1058 (isMulticastAddress): Dont use local variable to store address length.
1059 Let the compiler optimize this.
1060 (getHostName): Merged dcoumentation from classpath.
1061 (getAddress): Likewise.
1062 (getHostAddress): Likewise.
1063 (hashCode): Likewise.
1065 (toString): Likewise.
1066 (getByName): Likewise.
1067 (getAllByName): Likewise.
1069 2003-09-29 Michael Koch <konqueror@gmx.de>
1071 * java/awt/image/IndexColorModel.java: Reformated.
1073 2003-09-29 Michael Koch <konqueror@gmx.de>
1075 * java/net/InetAddress.java,
1076 java/net/URL.java: Reformated.
1078 2003-09-29 Bryce McKinlay <bryce@mckinlay.net.nz>
1080 * boehm.cc (_Jv_BuildGCDescr): Put first word of object in most
1081 significant bit of descriptor. Include the vtable and sync_info
1084 2003-09-28 Bryce McKinlay <bryce@mckinlay.net.nz>
1086 * java/text/DateFormat.java (format): Throw IllegalArgumentException
1087 if `obj' is not a Number or Date instance.
1088 * java/text/SimpleDateFormat.java (tokens): Make it an ArrayList
1091 2003-09-28 Bryce McKinlay <bryce@mckinlay.net.nz>
1093 * java/text/SimpleDateFormat.java (parse): Revert patch of 2003-09-25.
1094 Don't call setTimeZone on calendar.
1096 2003-09-27 Michael Koch <konqueror@gmx.de>
1098 * java/net/URL.java (getURLStreamHandler): Compile fixes.
1100 2003-09-27 Michael Koch <konqueror@gmx.de>
1102 * java/net/URL.java (getURLStreamHandler):
1103 Check if we have to use cache before trying to retrieve handler from
1104 cache. Rename facName to clsName to match classpath more. Reformated
1107 2003-09-27 Michael Koch <konqueror@gmx.de>
1109 * gnu/java/nio/SelectionKeyImpl.java
1110 (ch): Make package-private again. Jikes found this bug.
1111 Jeff Sturm submitted PR12426 for this to bugzilla
1112 to fix this bug in gcj.
1114 2003-09-26 Michael Koch <konqueror@gmx.de>
1116 * java/rmi/server/RMIClassLoader.java:
1117 Reformatted file, no functional code changes.
1119 2003-09-26 Sascha Brawer <brawer@dandelis.ch>
1121 * java/awt/image/SinglePixelPackedSampleModel.java (createDataBuffer):
1122 Save space for some pixels at the buffer end. Added Javadoc.
1124 2003-09-26 Tom Tromey <tromey@redhat.com>
1126 * java/io/ObjectOutputStream.java (writeFields): Fixed
1128 (putFields): Likewise.
1130 2003-09-26 Michael Koch <konqueror@gmx.de>
1132 * java/nio/ByteBufferHelper.java:
1133 Totally reworked with help from Eric Blake.
1135 2003-09-26 Tom Tromey <tromey@redhat.com>
1137 * java/awt/geom/RoundRectangle2D.java (getPathIterator): Wrote.
1138 * java/awt/geom/PathIterator.java: Documentation fixes.
1140 2003-09-25 Jeff Sturm <jsturm@one-point.com>
1142 * gnu/java/nio/SelectorImpl.java (getFDsAsArray): Use getNativeFD().
1144 (register): Use DatagramChannelSelectionKey, SocketChannelSelectionKey.
1146 2003-09-25 Michael Koch <konqueror@gmx.de>
1148 * gnu/java/nio/DatagramChannelImpl.java
1149 (getNativeFD): New method.
1150 * gnu/java/nio/SelectionKeyImpl.java
1151 (SelectionKeyImpl): Class made abstract.
1153 (SelectionKeyImpl): Remove fd argument.
1154 (getNativeFD): New method.
1155 * gnu/java/nio/SocketChannelImpl.java
1156 (getNativeFD): New method.
1157 gnu/java/nio/DatagramChannelSelectionKey.java,
1158 * gnu/java/nio/SocketChannelSelectionKey.java:
1160 * Makefile.am (ordinary_java_source_files):
1161 Added new files gnu/java/nio/DatagramChannelSelectionKey.java and
1162 gnu/java/nio/SocketChannelSelectionKey.java.
1163 * Makefile.in: Regenerated.
1165 2003-09-25 Michael Koch <konqueror@gmx.de>
1167 * java/lang/reflect/Proxy.java
1168 (getProxyClass): Remove workaround for gcj 3.0.x.
1170 2003-09-25 Michael Koch <konqueror@gmx.de>
1172 * gnu/java/net/PlainDatagramSocketImpl.java
1173 (finalize): Moved to directly after constructor.
1174 (getNativeFD): New method.
1175 * gnu/java/net/PlainSocketImpl.java
1176 (getNativeFD): New method.
1178 2003-09-25 Ingo Proetel <proetel@aicas.com>
1180 * java/io/ObjectOutputStream.java:
1181 Allow putFields be called more than once.
1183 2003-09-25 Sascha Brawer <brawer@dandelis.ch>
1185 * java/awt/image/Raster.java(Raster): Interpret null origin as (0,0).
1186 * java/awt/image/WritableRaster.java(WritableRaster): Likewise.
1187 * java/awt/image/BufferedImage.java (toString): Implement.
1189 2003-09-25 Jeff Sturm <jsturm@one-point.com>
1191 * aclocal.m4: Rebuilt.
1192 * configure: Rebuilt.
1194 2003-09-25 Guilhem Lavaux <guilhem@kaffe.org>
1196 * java/text/SimpleDateFormat.java (parse): Don't use class calendar
1199 2003-09-25 Michael Koch <konqueror@gmx.de>
1201 * gnu/java/nio/SelectorImpl.java
1202 (implSelect): Renamed from java_do_select.
1203 (select): Call native implSelect() and add support for Thread
1205 * gnu/java/nio/natSelectorImpl.cc
1206 (implSelect): Renamed from java_do_select.
1208 2003-09-25 Michael Koch <konqueror@gmx.de>
1210 * gnu/java/nio/SelectorImpl.java
1211 (selectNow): Made final, throws IOException.
1213 (getFDsAsArray): Made final.
1214 (selectedKeys): Likewise.
1216 (deregisterCancelledKeys): Likewise.
1217 (register): Likewise.
1219 (add_selected): Removed.
1220 * gnu/java/nio/natSelectorImpl.cc:
1221 No need to include bstring.h or gcj/cni.h.
1222 (helper_put_filedescriptors): Rewritten.
1223 (helper_get_filedescriptors): Rewritten.
1225 2003-09-25 Sascha Brawer <brawer@dandelis.ch>
1227 * java/awt/font/FontRenderContext.java (getTransform): Return
1228 copy of internal transform object. Add Javadoc.
1229 * java/awt/geom/Rectangle2D.java (getPathIterator): Use the same
1230 winding rule as Sun J2SE.
1231 * javax/swing/border/MatteBorder.java (MatteBorder(Icon)): Docfix.
1233 2003-09-25 Ingo Proetel <proetel@aicas.com>
1235 * java/rmi/Naming.java:
1236 Added comments, now accepts pseudo protocol "rmi".
1238 2003-09-25 Guilhem Lavaux <guilhem@kaffe.org>
1240 * java/text/DecimalFormat.java (format): Don't immediatly round
1242 (setMinimumIntegerDigits): Call super.
1243 (setMinimumFractionDigits): Likewise.
1244 (setMaximumIntegerDigits): Likewise.
1245 (setMaximumFractionDigits): Likewise.
1247 2003-09-25 Michael Koch <konqueror@gmx.de>
1249 * gnu/java/nio/DatagramChannelImpl.java
1250 (DatagramChannelImpl): Made class final.
1251 (blocking): Made private.
1252 (socket): Made it a NIODatagramSocket and private.
1253 (DatagramChannelImpl): create NIODatagramSocket instead of
1255 (implConfigureBlocking): Set socket timeout.
1256 (connect): Check that channel is not closed.
1257 (write): Implemented.
1259 (read): Implemented.
1261 (receive): Implemented.
1262 (send): Implemented.
1263 * gnu/java/nio/SelectionKeyImpl.java
1264 (readyOps): Made private.
1265 (interestOps): Made private.
1266 (impl): Made private.
1268 (readyOps): Check if selection key is valid.
1269 (interestOps): Likewise.
1270 * gnu/java/nio/SelectorImpl.java
1272 (keys): Made private.
1273 (selected): Made private.
1274 (finalize): New method.
1275 (implCloseSelector): Rewritten.
1276 (keys): Return unmodifiable Set.
1277 (deregisterCancelledKeys): Fixed typo in method name.
1278 * gnu/java/nio/SocketChannelImpl.java
1279 (SocketChannelImpl): Made class final.
1280 (socket): Made it a NIOSocket and private.
1281 (blocking): Made private.
1282 (connected): Made private.
1283 (connectionPending): New member variable.
1284 (SocketChannelImpl): New implementation.
1285 (finalizer): Use isConnected().
1286 (connect): Rewritten.
1287 (finishConnect): Throws IOException, implemented.
1288 (isConnectionPending): Return connectionPending.
1291 * gnu/java/nio/NIOConstants.java: New file.
1292 * Makefile.am (ordinary_java_source_files):
1293 Added gnu/java/nio/NIOConstants.java.
1294 * Makefile.in: Regenerated.
1296 2003-09-25 Michael Koch <konqueror@gmx.de>
1298 * java/net/InetAddress.java:
1299 Reorder imports, remove implementation comment.
1300 (isMulticastAddress): Merged documentation from classpath.
1301 * java/net/URLConnection.java
1302 (setRequestProperty): Check key for null, fix documentation.
1303 (adREquestProperty): Check key for null, remove wrong implementation
1304 and replace it with comment to overwrite this method in subclasses,
1307 2003-09-25 Tom Tromey <tromey@redhat.com>
1309 * java/lang/reflect/Proxy.java (generate): Uncomment protection
1311 * java/lang/natClassLoader.cc (defineClass): Added `loader'
1313 (linkClass0): Now in VMClassLoader.
1314 (markClassErrorState0): Likewise.
1315 (getSystemClassLoaderInternal): New method.
1316 * java/lang/natClass.cc (initializeClass): Use
1317 VMClassLoader::resolveClass.
1318 * java/lang/ClassLoader.java: New version, from Classpath.
1319 * java/lang/Class.java (getProtectionDomain):
1320 protectionDomainPermission and unknownProtectionDomain now in
1322 * java/lang/Class.h: VMClassLoader now a friend class.
1323 * gnu/gcj/runtime/VMClassLoader.java (instance): Now
1325 * gcj/javaprims.h: Regenerated class list.
1326 * resolve.cc (_Jv_PrepareClass): Use VMClassLoader::resolveClass.
1327 * java/lang/VMClassLoader.java: New version from Classpath;
1328 modified for libgcj use.
1330 2003-09-25 Michael Koch <konqueror@gmx.de>
1332 * java/nio/ByteBufferHelper.java:
1334 * java/nio/ByteBufferImpl.java,
1335 java/nio/DirectByteBufferImpl.java,
1336 java/nio/MappedByteBufferImpl.java
1337 (getType,putType): Use new helper class ByteBufferHelper.
1338 * Makefile.am (ordinary_java_source_files):
1339 Added java/nio/ByteBufferHelper.java.
1340 * Makefile.in: Regenerated.
1342 2003-09-25 Bryce McKinlay <bryce@mckinlay.net.nz>
1344 * gnu/java/net/natPlainSocketImplWin32.cc: Add missing #includes.
1347 2003-09-24 Bryce McKinlay <bryce@mckinlay.net.nz>
1349 * java/lang/StringBuffer.java (substring): Don't set `shared' on small
1350 Strings, even if buffer is already shared.
1352 2003-09-24 Michael Koch <konqueror@gmx.de>
1354 * acinclude.m4 (AM_LC_LOCALES): Added check for locale.h.
1356 2003-09-24 Bryce McKinlay <bryce@mckinlay.net.nz>
1358 * gnu/java/net/PlainSocketImpl.java (read): Remove declaration.
1360 (SocketInputStream): Declare `read' and `write' methods native.
1361 Remove implementations which called back into PlainSocketImpl.
1362 Remove unneccessary overridden methods.
1363 * gnu/java/net/natPlainSocketImplNoNet.cc (read): Move implementation
1364 to inner class PlainSocketImpl.SocketInputStream.
1366 * gnu/java/net/natPlainSocketImplPosix.cc: As above.
1367 * gnu/java/net/natPlainSocketImplWin32.cc: As above.
1368 * gnu/java/net/SocketInputStream.java: Remove unused file.
1369 * gnu/java/net/SocketOutputStream.java: Likewise.
1370 * Makefile.am: Build CNI headers for PlainSocketImpl.SocketInputStream
1371 and SocketOutputStream.
1372 * Makefile.in: Rebuilt.
1374 2003-09-23 Nathanael Nerode <neroden@gcc.gnu.org>
1376 * java/lang/System.java: Add GCJ LOCAL note about encoding aliases.
1378 * java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL
1381 2003-09-22 Anthony Green <green@redhat.com>
1383 * configure.in (HAVE_USLEEP_DECL): Define for newlib build.
1384 * configure: Rebuilt.
1386 2003-09-21 Ralph Loader <suckfish@ihug.co.nz>
1389 * java/lang/StringBuffer.java (substring): Fix handling of shared flag.
1391 2003-09-22 Michael Koch <konqueror@gmx.de>
1393 * jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
1394 compiler warning but produces a different one now.
1396 2003-09-22 Michael Koch <konqueror@gmx.de>
1398 * java/net/InetAddress.java:
1399 Moves around some code, reformats and adds documentation.
1400 No functional changes.
1402 2003-09-22 Michael Koch <konqueror@gmx.de>
1404 * java/net/JarURLConnection.java
1405 (JarURLConnection): Modifed code to match classpath more, fixed comment.
1406 (getCertificates): Made it more error prone.
1407 (getMainAttributes): Likewise.
1408 (getAttributes): Implemented.
1409 (getManifest): Reformatted code.
1411 2003-09-20 Tom Tromey <tromey@redhat.com>
1413 * java/awt/Component.java: Indentation cleanup from Classpath.
1415 2003-09-20 Dalibor Topic <robilad@kaffe.org>
1417 * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument
1418 checking to follow 1.4.2 spec.
1420 2003-08-11 Ingo Proetel <proetel@aicas.com>
1422 * gnu/java/rmi/server/UnicastRef.java: make constructor public and check if serverobject
1423 is compatible in case client and server are running in the same VM
1424 (remerged from Classpath on 2003-09-20)
1426 2003-09-19 David Daney <ddaney@avtrex.com>
1428 * java/lang/ref/Reference.java (clear): Set referent to null and
1431 2003-09-19 Michael Koch <konqueror@gmx.de>
1433 * gnu/java/nio/NIODatagramSocket.java,
1434 gnu/java/nio/NIOSocket.java: New files.
1435 * Makefile.am (ordinary_java_source_files):
1436 Added gnu/java/nio/NIODatagramSocket.java and
1437 gnu/java/nio/NIOSocket.java.
1438 * Makefile.in: Regenerated.
1440 2003-09-19 Thomas Fitzsimmons <fitzsim@redhat.com>
1442 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a
1443 top-level GTK window.
1444 (getArgs): Add "title" property.
1445 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use
1446 "allow_shrink" and "allow_grow" properties.
1447 * java/awt/Dialog.java: Initialize resizable to true and change
1448 comments accordingly. Initialize visible to false in
1450 * java/awt/Frame.java (dispose): Remove method.
1451 * java/awt/Window.java (ownedWindows): New field.
1452 (Window(Window,GraphicsConfiguration)): Add a weak reference to
1453 owner's ownedWindows vector.
1454 (finalize): Remove method.
1455 (hide): Hide owned windows.
1456 (dispose): Dispose of owned windows.
1457 (getOwnedWindows): Implement.
1458 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove
1460 (set(String,boolean)): Clamp gboolean parameter to g_object_set
1462 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1463 (create): Set window's size requisition.
1464 (connectHooks): Fix indentation.
1465 (setResizable): Remove function.
1466 (static setBounds): Likewise.
1467 (setBounds): Replace call to setBounds with GTK size requisition
1470 2003-09-19 Mohan Embar <gnustuff@thisiscool.com>
1472 * win32-threads.cc: (ensure_interrupt_event_initialized) New
1473 function for lazy initialization of an auto-reset event.
1474 (_Jv_CondWait) Added thread interrupt support.
1475 (_Jv_ThreadInitData) Added initialization of interrupt support
1477 (_Jv_ThreadDestroyData) Added cleanup of interrupt support members.
1478 (_Jv_ThreadStart) Removed unused code.
1479 (_Jv_Win32GetInterruptEvent) New method for returning interrupt event
1480 to an external caller.
1481 (_Jv_ThreadInterrupt) Implemented.
1482 * include/win32-threads.h: (_Jv_Thread_t) Added a Win32 auto-reset
1483 event for interrupt support as well as a mutex which regulates
1485 (_Jv_Win32GetInterruptEvent) Declared new method for returning interrupt
1486 event to an external caller.
1487 * java/lang/natWin32Process.cc: (cleanup) Close handle to spawned
1489 (waitFor) Added interrupt support.
1491 2003-09-19 Michael Koch <konqueror@gmx.de>
1493 * java/net/DatagramSocket.java (getLocalAddress):
1494 Renamed result variable to localAddr.
1495 * java/net/MulticastSocket.java:
1496 No need to import gnu.java.net.PlainDatagramSocketImpl.
1498 2003-09-18 Sascha Brawer <brawer@dandelis.ch>
1500 * java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl):
1501 Replace UTF-8 characters in Javadoc by XML/HTML escape sequence.
1503 2003-09-18 Tom Tromey <tromey@redhat.com>
1505 * javax/naming/InitialContext.java: Reindented.
1507 2003-09-18 Dalibor Topic <robilad@kaffe.org>,
1508 Helmer Kraemer <hkraemer@freenet.de>
1510 * javax/naming/spi/NamingManager.java (getURLContext,
1511 getObjectInstance, getStateToBind): Always use current thread's
1512 context class loader when calling Class.forName.
1514 2003-09-18 Michael Koch <konqueror@gmx.de>
1516 * java/util/Timer.java (finalize): Added "throws Throwable".
1518 2003-09-18 Michael Koch <konqueror@gmx.de>
1520 * java/net/DatagramSocket.java
1522 (receive): Use getChannel() instead of ch.
1524 (getChannel): Return null.
1525 * java/net/ServerSocket.java
1527 (setChannel): Removed.
1528 (implAccept): Use getChannel() instead of ch.
1530 (getChannel): Return null.
1531 * java/net/Socket.java
1533 (connect): Use getChannel() instead of ch.
1534 (setChannel): Removed.
1535 (getChannel): Return null.
1537 2003-09-18 Mark Wielaard <mark@klomp.org>
1539 Reported by Guilhem Lavaux and Julian Dolby
1540 * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the
1541 field "serialPersistentFields", not "getSerialPersistentFields".
1543 2003-09-18 Ingo Proetel <proetel@aicas.com>
1545 * java/util/TimeZone.java: Initialize lazily.
1546 * java/util/Locale.java (readManifest): Fix check for country.
1547 * java/util/GregorianCalendar.java: Make use of ResourceBundle better
1549 * java/util/Calendar.java: Make use of ResourceBundle better
1552 2003-09-18 Jeroen Frijters <jeroen@frijters.net>
1554 * java/sql/Timestamp.java
1555 (valueOf): Fixed confusion of java.sql.Date and java.util.Date
1557 2003-09-18 David P Grove <groved@us.ibm.com>
1559 * java/io/LineNumberReader (read): Don't reset pos & limit when
1562 2003-09-18 Dalibor Topic <robilad@kaffe.org>
1564 * gnu/java/rmi/rmic/Compile_gcj.java (COMPILER_ARGS): New private
1566 (computeArguments): use computeTypicalArguments.
1568 * gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Add Compile_kjc.java,
1569 Compile_jikes.java and RMICException.java.
1570 * gnu/java/rmi/rmic/Compile_kjc.java: New file.
1571 * gnu/java/rmi/rmic/Compile_jikes.java: Likewise.
1572 * gnu/java/rmi/rmic/RMICException.java: Likewise.
1574 * gnu/java/rmi/rmic/Compiler.java (getDestination): New method.
1576 * gnu/java/rmi/rmic/CompilerProcess.java: Import java.io.InputStream.
1577 (computeTypicalArguments): New method.
1578 (compile): Print compiler output to System.out. Collect compiler
1579 error output and use it in exception message.
1581 * gnu/java/rmi/rmic/RMIC.java: Import java.util.Set.
1582 (destination): Initialize to null.
1583 (run): Replace file separator with '.' when processing class.
1584 (processClass): Replace '.' with file separator when compiling
1586 (findClass): Use SystemClassLoader to load class.
1587 (generateStub): Use full class name for generated stub, that puts
1588 it in right path. Replace '.' with file separator when generating
1589 stub file name. Write just the stub class name without package
1590 information as class name, and constructor name. Write only
1591 interface names for interfaces extending java.rmi.Remote as
1593 (generateSkel): Use full class name for generated skel, that puts
1594 it in right path. Replace '.' with file separator when generating
1595 stub file name. Write just the stub class name without package
1596 information as class name.
1598 2003-09-18 Michael Koch <konqueror@gmx.de>
1600 * Makefile.am (rmi_java_source_files):
1601 Added gnu/java/rmi/rmic/Compile_kjc.java,
1602 gnu/java/rmi/rmic/Compile_jikes.java and
1603 gnu/java/rmi/rmic/RMICException.java
1604 * Makefile.in: Regenerated.
1606 2003-09-17 Graydon Hoare <graydon@redhat.com>
1608 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1609 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
1610 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
1611 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
1614 2003-09-16 Graydon Hoare <graydon@redhat.com>
1616 * java/awt/BufferedImage.java (setData): Support non-component
1620 2003-09-10 Graydon Hoare <graydon@redhat.com>
1622 * java/awt/geom/AffineTransform.java(transform): Fix airthmetic bugs.
1623 * java/awt/geom/Arc2D.java: Approximate arc segments with cubics.
1625 2003-09-17 Mohan Embar <gnustuff@thisiscool.com>
1627 * configure.in: Standardized help text case of
1628 --enable-hash-synchronization
1629 New configure switch --enable-libgcj-multifile and corresponding
1630 automake conditional ONESTEP.
1631 * configure: Rebuilt.
1632 * Makefile.am: Use automake conditional ONESTEP to determine
1633 whether classfiles should be compiled individually or all
1635 * Makefile.in: Rebuilt.
1637 2003-09-16 Thomas Fitzsimmons <fitzsim@redhat.com>
1639 * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java (construct):
1640 Remove method declaration.
1641 (create()): Call native create.
1642 (create(int)): New method.
1643 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
1644 (create): Add window_id parameter. Call gtk_plug_new with
1645 window_id parameter.
1646 (construct): Remove method implementation.
1648 2003-09-16 Mohan Embar <gnustuff@thisiscool.com>
1650 * Makefile.am: (MOSTLYCLEANFILES) Removed libtool objects.
1651 (mostlyclean-local): New target patterned after clean-local
1652 which recursively deletes all libtool objects using 'libtool rm'.
1653 (clean-local): Slightly modified comment to alleviate monotony.
1654 (distclean-local): New target patterned after clean-local
1655 which recursively deletes all .d files.
1656 * Makefile.in: Rebuilt.
1658 2003-09-11 Tom Tromey <tromey@redhat.com>
1660 * java/net/URLStreamHandler.java (parseURL): If original file
1661 ends with "/", so must canonical result.
1662 * java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus
1663 with nul-termination and finding previous "/".
1665 2003-09-11 Michael Koch <konqueror@gmx.de>
1667 * acconfig.h: Removed most items.
1668 * configure.in: Added descriptions to AC_DEFINE macros that where in
1670 * include/config.h.in: Regenerated.
1672 2003-09-11 Sascha Brawer <brawer@dandelis.ch>
1674 * java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager
1675 if one is installed. Improve Javadoc.
1676 (getSystemEventQueueImpl): Improve Javadoc.
1678 2003-09-11 Tom Tromey <tromey@redhat.com>
1680 * java/io/natFilePosix.cc (getCanonicalPath): Handle case where
1681 file does not exist.
1683 2003-09-10 Anthony Green <green@redhat.com>
1685 * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
1686 Specify full name when referencing ::java::net::InetAddress.
1687 * gnu/java/net/natPlainSocketImplWin32.cc (accept): Ditto.
1690 2003-09-10 Michael Koch <konqueror@gmx.de>
1692 * acconfig.h (__NO_MATH_INLINES): Removed.
1693 * configure.in: Removed check for g++ math inlining bug from 2000.
1694 * configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
1696 * configure: Regenerated.
1698 2003-09-10 David Daney <ddaney@avtrex.com>
1700 * java/util/Arrays.java (equals(all variants)): Quit using
1701 NullPointerException catching to detect null valued parameters.
1703 2003-09-10 Michael Koch <konqueror@gmx.de>
1705 * java/net/DatagramSocket.java,
1706 java/net/MulticastSocket.java,
1707 java/net/ServerSocket.java,
1708 java/net/Socket.java:
1709 Use gnu.java.net.Plain*SocketImpl instead of
1710 java.net.PlainSocketImpl.
1711 * java/net/PlainDatagramSocketImpl.java,
1712 java/net/PlainSocketImpl.java,
1713 java/net/SocketInputStream.java,
1714 java/net/SocketOutputStream.java,
1715 java/net/natPlainDatagramSocketImplNoNet.cc,
1716 java/net/natPlainDatagramSocketImplPosix.cc,
1717 java/net/natPlainDatagramSocketImplWin32.cc,
1718 java/net/natPlainSocketImplNoNet.cc,
1719 java/net/natPlainSocketImplPosix.cc,
1720 java/net/natPlainSocketImplWin32.cc:
1722 * gnu/java/net/PlainDatagramSocketImpl.java,
1723 gnu/java/net/PlainSocketImpl.java,
1724 gnu/java/net/SocketInputStream.java,
1725 gnu/java/net/SocketOutputStream.java,
1726 gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
1727 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
1728 gnu/java/net/natPlainDatagramSocketImplWin32.cc,
1729 gnu/java/net/natPlainSocketImplNoNet.cc,
1730 gnu/java/net/natPlainSocketImplPosix.cc,
1731 gnu/java/net/natPlainSocketImplWin32.cc:
1732 New files (moved from java/net).
1733 * configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc
1734 instead of java/net/natPlain*SocketImpl.cc.
1735 * configure: Regenerated.
1736 * Makefile.am: Moved files from java/net to gnu/java/net.
1737 * Makefile.in: Regenerated.
1739 2003-09-09 Alan Modra <amodra@bigpond.net.au>
1741 * configure: Regenerate.
1743 2003-09-04 Tom Tromey <tromey@redhat.com>
1745 * configure.host: Removed erroneous comment.
1747 * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
1748 lvalue cast; use correct rvalue cast.
1750 2003-09-02 Thomas Fitzsimmons <fitzsim@redhat.com>
1752 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
1753 and height arguments to GtkWindowPeer.create method call.
1754 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
1755 (create(int,int,int)): New method.
1756 (create(int)): Add call to new create method.
1757 (create()): Add width and height arguments to create method
1759 (GtkWindowPeer): Remove call to setBounds.
1760 * java/awt/Frame.java (Frame(String)): Initialize visible field
1762 (Frame(GraphicsConfiguration)): Likewise.
1763 (Frame(String,GraphicsConfiguration)): Likewise.
1764 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
1765 Add width and height parameters. Call
1766 gtk_window_set_default_size.
1767 (connectHooks): Remove unused name variable.
1768 (static setBounds): Call gtk_window_resize not
1769 gtk_widget_set_usize.
1770 (setBounds): Remove unused nchildren variable.
1772 2003-08-31 Ingo Proetel <proetel@aicas.com>
1774 * java/util/logging/Logger.java: provide class and method information
1775 * java/util/logging/LogManager.java: create handlers
1776 * java/util/logging/SimpleFormatter.java: print souceClassName and
1779 2003-08-28 Mohan Embar <gnustuff@thisiscool.com>
1781 * win32.cc: fixed tab, indentation and whitespace
1783 removed jvm.h include
1784 added includes java/lang/UnsupportedOperationException.h,
1785 java/io/IOException.h, java/net/SocketException.h
1786 (WSAEventWrapper): class implementation
1787 (_Jv_WinStrError): implemented both overloads
1788 (_Jv_ThrowIOException): implemented both overloads
1789 (_Jv_ThrowSocketException): implemented both overloads
1790 (_Jv_select): implemented
1791 * include/win32.h: fixed tab, indentation and whitespace
1793 wrapped <windows.h> include with #define WIN32_LEAN_AND_MEAN
1795 (WSAEventWrapper): added class declaration
1796 (_Jv_WinStrError): added both overload declarations
1797 (_Jv_ThrowIOException): added both overload declarations
1798 (_Jv_ThrowSocketException): added both overload declarations
1799 removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
1800 (_Jv_select): added declaration
1801 (_Jv_socket): removed
1802 (_Jv_connect): removed
1803 (_Jv_close): removed
1805 (_Jv_accept): removed
1806 (_Jv_listen): removed
1807 (_Jv_write): removed
1809 * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
1810 whitespace inconsistencies
1811 replaced <windows.h> #include with <platform.h>
1812 removed jvm.h include
1813 (testCanUseGetHandleInfo): new function which tests whether Win32
1814 GetHandleInformation() call can be used with console buffer handles
1815 (only supported on >=WinNT 5.0)
1816 (winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
1817 (valid): rewrote implementation using GetHandleInformation()
1818 (sync): changed exception throwing to use error string and exception
1819 helper methods declared in include/win32.h
1822 (setLength): likewise
1825 (getFilePointer): likewise
1827 * java/io/natFileWin32.cc: fixed tab, indentation and
1828 whitespace inconsistencies
1829 replaced <windows.h> #include with <platform.h>
1830 removed jvm.h include
1831 (_access): use JV_TEMP_UTF_STRING
1833 (performMkDir): use JV_TEMP_UTF_STRING
1834 (performRenameTo): likewise
1835 (performDelete): likewise
1836 (performCreate): likewise
1837 (performSetReadOnly): likewise
1838 (performSetLastModified): likewise
1839 * java/lang/natWin32Process.cc: fixed tab, indentation and
1840 whitespace inconsistencies
1841 replaced <windows.h> #include with <platform.h>
1842 removed includes gcj/cni.h, jvm.h
1843 (new_string): removed
1844 (startProcess): use JV_TEMP_UTF_STRING,
1845 changed exception throwing to use error string and exception
1846 helper methods declared in include/win32.h
1847 * java/net/natInetAddressWin32.cc: fixed tab, indentation and
1848 whitespace inconsistencies
1849 replaced <windows.h> #include with <platform.h>
1850 removed jvm.h include
1851 removed DISABLE_JAVA_NET conditional code
1852 removed POSIX conditional code not relevant to Win32
1853 (aton): use JV_TEMP_UTF_STRING
1854 removed POSIX conditional code not relevant to Win32
1856 (getLocalHostName): likewise
1857 * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
1858 whitespace inconsistencies
1859 removed unnecessary windows.h, winsock.h and gcj/cni.h includes
1860 removed DISABLE_JAVA_NET conditional code
1861 removed POSIX conditional code not relevant to Win32
1862 (winsock2GetRealNetworkInterfaces): new function to compute network
1863 interfaces via Winsock2 API
1864 (determineGetRealNetworkInterfacesFN): new function for returning
1865 a function pointer to the function used to compute network interfaces.
1866 (getRealNetworkInterfaces): implemented
1867 * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
1868 whitespace inconsistencies
1869 removed gcj/cni.h include
1870 removed DISABLE_JAVA_NET conditional code
1871 removed POSIX conditional code not relevant to Win32
1872 changed net POSIXisms to Win32isms
1873 replaced _Jv socket-related calls with their real Win32 equivalents
1874 changed exception throwing to use error string and exception
1875 helper methods declared in include/win32.h
1876 (peekData): implemented timeout support
1878 * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
1879 whitespace inconsistencies
1880 removed gcj/cni.h and gcj/javaprims.h includes
1881 removed DISABLE_JAVA_NET conditional code
1882 removed POSIX conditional code not relevant to Win32
1883 changed net POSIXisms to Win32isms
1884 replaced _Jv socket-related calls with their real Win32
1886 changed exception throwing to use error string and exception
1887 helper methods declared in include/win32.h
1888 (throwConnectException): helper function for connect()
1889 (connect): implemented timeout support
1891 (doRead): new helper function common to both read() method overloads,
1892 includes timeout support
1893 (read): implemented both overloads in terms of doRead()
1894 (available): implemented using ioctlsocket()
1896 2003-08-28 Mohan Embar <gnustuff@thisiscool.com>
1898 * java/net/natInetAddressWin32.cc,
1899 java/net/natNetworkInterfaceWin32.cc,
1900 java/net/natPlainDatagramSocketImplWin32.cc,
1901 java/net/natPlainSocketImplWin32.cc:
1902 Readded code enclosed in DISABLE_JAVA_NET defines
1903 in preparation for MinGW cleanup / networking
1906 2003-08-28 Mohan Embar <gnustuff@thisiscool.com>
1908 * Makefile.am: Fixed problems with parallel makes.
1909 (all_java_class_files): Readded definition.
1910 (all_java_class_files): New target which depends on
1911 libgcj-@gcc_version@.jar
1912 * Makefile.in: Rebuilt
1914 2003-08-28 Tom Tromey <tromey@redhat.com>
1916 * Makefile.in: Rebuilt.
1917 * Makefile.am (ordinary_java_source_files): Added new files.
1918 * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
1920 * java/net/URLClassLoader.java (findClass): Don't use
1921 findURLResource. Use loader's getClass method.
1922 (URLLoader.getClass): New method.
1923 (addURL): Handle `gcjlib' URLs.
1924 (SoURLLoader): New class.
1925 (SoResource): Likewise.
1926 * gnu/gcj/protocol/gcjlib/Connection.java: New file.
1927 * gnu/gcj/protocol/gcjlib/Handler.java: New file.
1928 * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
1929 (_Jv_RegisterCoreHook): Declare.
1930 (_Jv_FindCore): Declare.
1931 * gnu/gcj/runtime/SharedLibHelper.java: New file.
1932 * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
1934 (core_hook): New function.
1935 (struct SharedLibDummy) [saved_core]: New field.
1936 (init): Set _Jv_RegisterCoreHook. Throw exception on failure.
1937 (register_hook): Set protection domain and class loader on new
1939 (finalize): Free core chain.
1940 * gnu/gcj/Core.java (Core): New constructor.
1941 * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
1943 * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
1944 (_Jv_create_core): New function.
1946 (default_register_resource): New function.
1947 (_Jv_RegisterCoreHook): New global.
1948 (_Jv_RegisterResource): Use it.
1949 (core_chain_struct): Removed.
1950 (_Jv_FindCore): New function.
1951 (_Jv_FreeCoreChain): New function.
1953 2003-08-29 Michael Koch <konqueror@gmx.de>
1955 * java/net/natInetAddressWin32.cc,
1956 java/net/natNetworkInterfaceWin32.cc,
1957 java/net/natPlainDatagramSocketImplWin32.cc,
1958 java/net/natPlainSocketImplWin32.cc:
1959 Removed code enclosed in DISABLE_JAVA_NET defines.
1961 2003-08-26 Mohan Embar <gnustuff@thisiscool.com>
1963 * Makefile.am: (write_entries_to_file) New parameterized
1964 function for writing entries to a file one line at a time.
1965 (all_java_class_files): Removed definition.
1966 (.java.class) Removed.target.
1967 (libgcj-@gcc_version@.jar): Changed dependency to
1968 $(all_java_source_files); added compilation step which compiles
1969 all changed source files in one pass.
1970 (libgcj.la) Refactored to use write_entries_to_file.
1971 (lib-gnu-awt-xlib.la) Likewise.
1972 (install-data-local) Likewise.
1973 (write-entries-to-file-check) New target which tests write_entries_to_file.
1974 (all-recursive): Changed dependency from $(all_java_class_files)
1975 to libgcj-@gcc_version@.jar
1976 * Makefile.in: Rebuilt.
1978 2003-08-26 Tom Tromey <tromey@redhat.com>
1980 * java/lang/StrictMath.java: Typo fix.
1981 * java/lang/Math.java: Typo fix.
1983 2003-08-26 Stephen Crawley <crawley@dstc.edu.au>
1985 * java/lang/ThreadGroup.java (removeThread): null the 'group' field
1986 of the removed Thread.
1988 2003-08-26 Mark Wielaard <mark@klomp.org>
1990 Reported by David Holmes <dholmes@dltech.com.au>.
1991 * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside
1992 Collections.synchronizedMap.
1993 * java/lang/ThreadLocal.java (valueMap): Likewise.
1995 2003-08-26 Mark Wielaard <mark@klomp.org>
1997 * java/security/acl/Acl.java: Fix broken p tag.
1998 * java/text/DateFormatSymbols.java: Correctly open and close li tags.
1999 * javax/swing/border/LineBorder.java: Close img tag alt attributes.
2000 * javax/swing/plaf/TreeUI.java: Likewise.
2001 * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
2002 * java/util/Properties.java: Use the word umlaut, not ä in api
2004 * java/util/PropertyResourceBundle.java: Likewise and add closing code
2007 2003-08-26 Tom Tromey <tromey@redhat.com>
2009 * Makefile.in: Rebuilt.
2010 * Makefile.am: Removed all GNU-make-specific FIXME comments.
2012 * java/lang/ref/Reference.java (get): Indentation fix.
2013 (clear): Comment fix.
2014 (enqueue): Likewise.
2016 (referent): Likewise.
2018 2003-08-26 Tom Tromey <tromey@redhat.com>
2021 * java/lang/reflect/natArray.cc (set): Allow null as argument.
2023 * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.
2024 (ProxyData.getPackage): New method.
2025 (ProxyData.getProxyData): Use package name, not Package.
2026 (ClassFactory.ClassFactory): Updated.
2028 2003-08-25 Scott Gilbertson <scottg@mantatest.com>
2029 * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.
2030 * Makefile.in: re-generated.
2031 * gnu/awt/j2d/IntegerGraphicsState.java
2032 (ScreenCoupledImage): new interface.
2033 (drawImage): detect ScreenCoupledImage instances.
2034 * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented.
2035 * gnu/awt/xlib/XEventLoop.java
2036 (createEvent): re-formatted, and rearranged to avoid null pointer.
2037 * gnu/awt/xlib/XGraphics.java
2038 (drawImage): added XOffScreenImage handling.
2039 * gnu/awt/xlib/XOffScreenImage.java: new file.
2040 * gnu/gcj/xlib/Drawable.java (getDepth): new native method.
2041 * gnu/gcj/xlib/GC.java (copyArea): new native method.
2042 * gnu/gcj/xlib/XAnyEvent.java
2043 (TYPE_KEY_PRESS): new constant.
2044 (TYPE_KEY_RELEASE): new constant.
2045 (TYPE_MOTION_NOTIFY): new constant.
2046 (TYPE_ENTER_NOTIFY): new constant.
2047 (TYPE_LEAVE_NOTIFY): new constant.
2048 (TYPE_FOCUS_IN): new constant.
2049 (TYPE_FOCUS_OUT): new constant.
2050 (TYPE_KEYMAP_NOTIFY): new constant.
2051 (TYPE_GRAPHICS_EXPOSE): new constant.
2052 (TYPE_NO_EXPOSE): new constant.
2053 (TYPE_VISIBILITY_NOTIFY): new constant.
2054 (TYPE_CREATE_NOTIFY): new constant.
2055 (TYPE_DESTROY_NOTIFY): new constant.
2056 (TYPE_MAP_REQUEST): new constant.
2057 (TYPE_CONFIGURE_REQUEST): new constant.
2058 (TYPE_GRAVITY_NOTIFY): new constant.
2059 (TYPE_RESIZE_REQUEST): new constant.
2060 (TYPE_CIRCULATE_NOTIFY): new constant.
2061 (TYPE_CIRCULATE_REQUEST): new constant.
2062 (TYPE_PROPERTY_NOTIFY): new constant.
2063 (TYPE_SELECTION_CLEAR): new constant.
2064 (TYPE_SELECTION_REQUEST): new constant.
2065 (TYPE_SELECTION_NOTIFY): new constant.
2066 (TYPE_COLORMAP_NOTIFY): new constant.
2067 (TYPE_MAPPING_NOTIFY): new constant.
2068 * gnu/gcj/xlib/natDrawable.cc (getDepth): new method.
2069 * gnu/gcj/xlib/natGC.cc (copyArea): new method
2070 * java/awt/Component.java (createImage): changed to use peer method.
2072 2003-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
2074 * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
2075 name, not XLFD, to native drawString.
2076 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
2077 Replace XLFD-based implementation with Pango-based
2080 2003-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
2082 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
2083 GTK_WINDOW_DIALOG. Set GTK_WINDOW_POPUP to 1.
2085 2003-08-21 David Daney <ddaney@avtrex.com>
2087 Fix for PR libgcj/12013:
2088 * java/lang/ref/natReference.cc (finalize_referred_to_object):
2089 Check `cleared' field.
2090 * java/lang/ref/Reference.java (copy): Updated comments.
2091 (cleared): New field.
2094 2003-08-21 Scott Gilbertson <scottg@mantatest.com>
2095 Thomas Fitzsimmons <fitzsim@redhat.com>
2097 * Makefile.am (gtk_awt_peer_sources): Add
2098 gnu/java/awt/peer/GLightweightPeer.java. Remove
2099 gnu/java/awt/GLightweightPeer.java.
2100 * gnu/java/awt/GLightweightPeer.java: Remove file.
2101 * gnu/java/awt/peer/GLightweightPeer.java: New file.
2102 * java/awt/Component.java (getToolkit): Add comment about
2103 lightweight components.
2104 * java/awt/Toolkit.java (createComponent): Return
2105 gnu.java.awt.peer.GLightweightPeer.
2107 2003-08-21 Richard Earnshaw <rearnsha@arm.com>
2109 * configure.in: Fix detection of gcj when building with newlib.
2110 * configure: Regenerated.
2112 2003-08-20 Graydon Hoare <graydon@redhat.com>
2114 * jni.cc: Replace "cheating" pointer-casting code with
2115 extract_from_jvalue<> template.
2117 2003-08-20 Andrew Haley <aph@redhat.com>
2119 * gnu/gcj/runtime/StackTrace.java (getClass): New method.
2120 * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
2121 (classAt): Break out class lookup function into getClass().
2122 * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
2123 handlers when using -fno-assume-compiled.
2125 2003-08-20 Tom Tromey <tromey@redhat.com>
2127 Fix for PR libgcj/9125:
2128 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
2129 object outside of loop. Respect lib_control setting.
2130 * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
2132 (lib_control): New field.
2133 (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
2134 (VMClassLoader): Initialize new field.
2136 * java/lang/ref/natReference.cc (finalize_referred_to_object):
2137 Set `list->reference' to DELETED_REFERENCE when removing dead
2139 (find_slot): Added an assert.
2140 (DELETED_REFERENCE): New define.
2141 (add_to_hash): Check for DELETED_REFERENCE.
2142 (remove_from_hash): Just return if found slot isn't ours.
2144 2003-08-19 Andrew Haley <aph@redhat.com>
2146 * prims.cc (unblock_signal): New function.
2147 (catch_segv): Use it.
2148 (catch_fpe): Likewise.
2150 2003-08-19 Danny Smith <dannysmith@users.sourceforge.net>
2153 * java/io/natFileDescriptorWin32.cc (open): Set create
2154 flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
2155 Honor EXCL when openning with WRITE flag.
2157 2003-08-19 Mohan Embar <gnustuff@thisiscool.com>
2159 * include/jvm.h: New class _Jv_TempUTFString (helper class for
2160 getting a temporary C string from a jstring)
2161 New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
2162 but uses a stack buffer if the string length is less than 256
2165 2003-08-18 Tom Tromey <tromey@redhat.com>
2168 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
2169 void. Throw VirtualMachineError if ffi fails. Initialize return
2170 value. Added is_jni_call argument; only wrap exception if not a
2171 JNI call. Use descriptive message if operation not supported.
2172 (_Jv_GetTypesFromSignature): Use declaring class' loader to find
2174 * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
2175 * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
2177 (_Jv_JNI_CallAnyMethodA): Likewise.
2178 (_Jv_JNI_CallAnyVoidMethodV): Likewise.
2179 (_Jv_JNI_CallAnyVoidMethodA): Likewise.
2181 2003-08-13 Tom Tromey <tromey@redhat.com>
2183 * gij.cc (help): Document -? and -X.
2185 2003-08-12 Graydon Hoare <graydon@redhat.com>
2187 * java/awt/Font.java:
2188 Stub out more recent API.
2190 2003-08-12 Graydon Hoare <graydon@redhat.com>
2192 * java/awt/Color.java (getAlpha):
2193 Prevent sign-extended alpha values.
2195 2003-08-12 Tom Tromey <tromey@redhat.com>
2197 * gij.cc (main): Handle -? and -X.
2199 2003-08-10 Jeroen Frijters <jeroen@frijters.net>
2201 * java/awt/Container.java
2202 (getPreferredSize): Call preferredSize.
2203 (preferredSize): Moved body of getPreferredSize here.
2204 (getMinimumSize): Call minimumSize.
2205 (minimumSize): Moved body of getMinimumSize here.
2207 2003-08-11 Tom Tromey <tromey@redhat.com>
2209 * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
2210 (postEvent): Removed FIXME comment.
2211 (isDispatchThread): Documented.
2212 (getCurrentEvent): New method.
2213 (dispatchEvent): Set currentEvent and lastWhen.
2214 (getMostRecentEventTime): Rewrote.
2215 (invokeLater): Documented.
2217 2003-08-10 Bryce McKinlay <bryce@mckinlay.net.nz>
2219 * java/io/PrintStream.java (print): Always flush if auto_flush is
2220 set. Don't check for newline characters.
2221 (write (int)): Implement without using a temporary array.
2222 (write (byte[], int, int): Always flush if auto_flush is set. Don't
2223 check for newline characters.
2224 Fixes PR libgcj/11778.
2226 2003-08-08 Andrew Haley <aph@redhat.com>
2228 * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
2229 * Makefile.in: Rebuild.
2230 * java/lang/natRuntime.cc (insertSystemProperties): Add
2231 "sun.boot.class.path".
2233 2003-08-07 Andrew Haley <aph@redhat.com>
2235 * java/io/PrintStream.java: Don't crash on a null string.
2237 2003-08-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2239 * configure.in: Don't initialize GCINCS to boehm-gc/include.
2240 * configure: Regenerate.
2242 2003-08-07 Bryce McKinlay <bryce@mckinlay.net.nz>
2244 * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
2245 SocketImpl. Update Javadoc.
2246 (bind): Call close() not impl.close() in event of exception.
2247 (connect): Likewise.
2248 Remove superfluous null checks throughout.
2249 * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
2250 Don't create an extra socket. Fix for PR libgcj/10868.
2251 (bind): Clean up exception handling.
2252 Remove superfluous null checks throughout.
2254 2003-08-07 Jacob Gladish <gladish@spinnakernet.com>
2255 Bryce McKinlay <bryce@mckinlay.net.nz>
2257 * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
2258 ready-to-write argument to _Jv_Select. Reset the socket back to
2259 non-blocking state after connecting.
2260 (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
2261 Throw SocketTimeoutException not InterruptedIOException.
2262 (read): Throw SocketTimeoutException not InterruptedIOException.
2264 2003-08-07 Bryce McKinlay <bryce@mckinlay.net.nz>
2266 * java/lang/Thread.java (Thread): Check for null "name" from
2267 start of private constructor, not after calling the private
2270 2003-08-06 Tom Tromey <tromey@redhat.com>
2272 * java/io/FilePermission.java (equals): Use correct index for
2273 last character of path.
2275 2003-08-06 Alan Modra <amodra@bigpond.net.au>
2277 * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
2278 * configure.in: Compare with_cross_host to build_alias, not build.
2279 * aclocal.m4: Regenerate.
2280 * configure: Regenerate.
2282 2003-08-05 Tom Tromey <tromey@redhat.com>
2284 Fix for PR libgcj/11779:
2285 * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
2288 * java/lang/reflect/Method.java: Updated status comment.
2289 Imported javadoc from Classpath and re-ordered methods.
2290 * java/lang/reflect/Constructor.java: Reindented. Updated
2291 status comment. Imported javadoc from Classpath and re-ordered
2294 2003-08-05 Thomas Fitzsimmons <fitzsim@redhat.com>
2296 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
2297 Add keyLocation parameter.
2298 * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
2300 (paramString): Generate keyChar string according to keyChar, not
2302 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2303 (state_to_awt_mods): Handle ALT key.
2304 (keyevent_state_to_awt_mods): New function.
2305 (get_first_keyval_from_keymap): New function.
2306 (keysym_to_awt_keycode): Get virtual key code from keymap.
2307 Handle missing VK_ values.
2308 (keysym_to_awt_keylocation): New function.
2309 (keyevent_to_awt_keychar): New function.
2310 (generates_key_typed_event): Handle non-text-component case.
2311 Handle GDK_KP_Delete and GDK_KP_Enter.
2312 (awt_event_handler): Call new functions to get postKeyEvent
2314 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
2315 Update postKeyEvent method signature.
2316 * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines. Add missing
2319 2003-08-05 Matthias Klose <doko@debian.org>
2321 * aclocal.m4: check for libart-config binary
2322 under the name libart2-config as well.
2323 * configure: regenerated.
2325 2003-08-04 David P Grove <groved@us.ibm.com>
2327 * java/text/DecimalFormat.java (format): avoid ArithmeticException
2328 when groupingSize is 0.
2331 2003-08-04 Matthias Klose <doko@debian.org>
2333 * libart.m4: check for libart-config binary
2334 under the name libart2-config as well.
2335 * configure, aclocal.m4: regenerated.
2337 2003-08-02 Michael Koch <konqueror@gmx.de>
2339 * java/nio/ByteBufferImpl.java
2340 (getChar): Check remaining bytes, fixed comment about endianess.
2341 (putChar): Likewise.
2342 (getShort): Likewise.
2343 (putShort): Likewise.
2344 (getInt): Check remaining bytes, fixed conversion, fixed comment about
2347 (getLong): Likewise.
2348 (putLong): Likewise.
2349 (getFloat): Likewise.
2350 (putFloat): Likewise.
2351 (getDouble): Likewise.
2352 (putDouble): Likewise.
2353 * java/nio/DirectByteBufferImpl.java
2354 (getChar): Wrapped code, fixed comment about endianess.
2355 (putchar): Likewise.
2356 (getShort): Likewise.
2357 (putShort): Likewise.
2358 (getInt): Fixed conversion, fixed comment about endianess.
2360 (getLong): Likewise.
2361 (putLong): Likewise.
2362 (getFloat): Likewise.
2363 (putFloat): Likewise.
2364 (getDouble): Likewise.
2365 (putDouble): Likewise.
2366 * java/nio/MappedByteBufferImpl.java
2367 (compact): Implemented.
2368 (getChar): Implemented.
2369 (putChar): Implemented.
2370 (getDouble): Implemented.
2371 (putdouble): Implemented.
2372 (getFloat): Implemented.
2373 (putFloat): Implemented.
2374 (getInt): Implemented.
2375 (putInt): Implemented.
2376 (getLong): Implemented.
2377 (putLong): Implemented.
2378 (getShort): Implemented.
2379 (putShort): Implemented.
2380 * java/nio/channels/FileChannelImpl.java
2381 (read): Set position where to access file.
2383 (transferTo): Flip buffer after read and before write.
2384 (transferFrom): Likewise.
2386 2003-08-02 Michael Koch <konqueror@gmx.de>
2388 * gnu/java/lang/ArrayHelper.java
2389 (equalsArray): Reformated, added method documentation.
2391 2003-08-02 Michael Koch <konqueror@gmx.de>
2394 (URL): Added paragraph about the
2395 gnu.java.net.nocache_protocol_handlers property.
2396 (ph_cache): Renamed from handlers to match classpath's implementation.
2397 Reordered it with factory and serialVersionUID member variables.
2398 (cache_handlers): New member variable.
2399 (static): New static initializer to initialize cache_handlers from
2400 gnu.java.net.nocache_protocol_handlers property.
2401 (URL): Use ph_cache instead of handlers, reformatted some code to
2402 match classpath's implementation.
2404 2003-08-01 Tom Tromey <tromey@redhat.com>
2406 Fix for PR libgcj/11241:
2407 * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
2408 initialCapacity is 0, set it to 1.
2410 2003-08-01 Stephen Crawley <crawley@dstc.edu.au>
2412 * java/net/SocketImpl.java (toString): Display the remote address
2413 of an unconnected server socket as "0.0.0.0/0.0.0.0".
2415 2003-08-01 Sascha Brawer <brawer@dandelis.ch>
2417 * javax/swing/border/BevelBorder.java,
2418 javax/swing/border/EtchedBorder.java,
2419 javax/swing/border/LineBorder.java,
2420 javax/swing/border/MatteBorder.java,
2421 javax/swing/border/SoftBevelBorder.java,
2422 javax/swing/plaf/BorderUIResource.java,
2423 javax/swing/plaf/ComponentUI.java,
2424 javax/swing/plaf/TreeUI.java,
2425 javax/swing/plaf/basic/BasicBorders.java,
2426 javax/swing/plaf/basic/BasicGraphicsUtils.java,
2427 javax/swing/plaf/basic/BasicTreeUI.java:
2428 Prepend "doc-files" to all paths to embedded Javadoc images, so
2429 that the generated documentation contains the correct URL.
2431 2003-08-01 Tom Tromey <tromey@redhat.com>
2433 * configure: Rebuilt.
2434 * configure.in (tool_include_dir): Redefine to match gcc.
2436 2003-08-01 Jerry Quinn <jlquinn@optonline.net>
2437 Mark Wielaard <mark@klomp.org>
2439 * java/math/BigDecimal (divide): Correctly handle
2440 ROUND_HALF_EVEN when amount is greater than 0.5.
2441 Simplify and optimize code.
2443 2003-07-31 Tom Tromey <tromey@redhat.com>
2445 More for PR libgcj/11737:
2446 * java/io/ObjectInputStream.java (processResolution): Use
2448 (getMethod): Make method accessible.
2449 (getField): Make field accessible.
2450 (setBooleanField): Don't call setAccessible here.
2451 (setByteField, setCharField, setDoubleField, setFloatField,
2452 setIntField, setLongField, setShortField, setObjectField):
2454 (callReadMethod): Don't check whether method is null. Catch
2455 NoSuchMethodException.
2456 * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
2457 cause on thrown exceptions.
2459 2003-07-31 Stepan Koltsov <yozh@mx1.ru>
2461 Fix for PR libgcj/11728:
2462 * java/util/HashMap.java (readObject): Set size.
2464 2003-07-31 Tom Tromey <tromey@redhat.com>
2466 Fix for PR libgcj/11737:
2467 * java/io/ObjectOutputStream.java (getMethod): Make method
2469 (getField): Likewise.
2470 (writeObject): Use getMethod.
2471 Import PrivilegedAction and AccessController.
2472 (callWriteMethod): Don't check whether m is null. Catch
2473 NoSuchMethodException.
2475 * java/awt/geom/Arc2D.java (getBounds2D): Implement.
2476 (containsAngle): Likewise.
2477 (getStartPoint): Rewrote.
2478 (getEndPoint): Likewise.
2479 (setAngleStart(Point2D)): Likewise.
2481 2003-07-31 Roger Sayle <roger@eyesopen.com>
2482 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2484 * configure.in: Add new THREADCXXFLAGS variable.
2485 Handle POSIX threads on alpha*-dec-osf*.
2486 * configure: Regenerate.
2487 * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
2488 * Makefile.in: Regenerate.
2490 2003-07-08 Andrew Haley <aph@redhat.com>
2492 * include/i386-signal.h (RESTORE): New.
2493 (INIT_SEGV): Set restorer.
2494 (INIT_FPE): Likewise.
2496 2003-07-29 Thomas Fitzsimmons <fitzsim@redhat.com>
2498 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
2500 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
2501 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
2502 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2503 (gtkSetFont): Scale size parameter by PANGO_SCALE.
2504 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
2506 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
2509 2003-07-29 Tom Tromey <tromey@redhat.com>
2511 * defineclass.cc (handleField): Throw exception if field name is
2513 (handleMethod): Throw exception for duplicate method.
2515 2003-07-29 Tom Tromey <tromey@redhat.com>
2517 * gnu/gcj/convert/natIconv.cc (write): Handle case where
2518 output buffer is too small.
2520 2003-07-28 Tom Tromey <tromey@redhat.com>
2522 * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
2524 Include gnu/gcj/runtime/StringBuffer.h.
2525 * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
2527 (String(gnu.gcj.runtime.StringBuffer)): Use it.
2529 2003-07-27 Anthony Green <green@redhat.com>
2531 * configure.in: Fix newlib check.
2532 * configure: Rebuilt.
2534 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com>
2536 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
2537 Create vbox and layout for GtkPlug.
2539 2003-07-27 Michael Koch <konqueror@gmx.de>
2541 * java/awt/Window.java
2542 (Window): Removed now unused constructor. It became oboslete with the
2543 new embedded window patch.
2545 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com.h>
2546 Michael Koch <konqueror@gmx.de>
2548 * gnu/java/awt/EmbeddedWindow.java
2549 (EmbeddedWindow): Extends Frame instead of Window.
2550 (window_id): New member variable to store the native window handle.
2552 (EmbeddedWindow): New constructor.
2553 (addNotify): New method.
2554 (getHandler): Likewise.
2555 (setWindowPeer): New native method.
2556 * gnu/java/awt/EmbeddedWindowSupport.java
2557 (EmbeddedWindowSupport): Fixed documentation.
2558 (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
2559 WindowPeer, give it an EmbeddedWindow instance instead of the raw
2561 * gnu/java/awt/natEmbeddedWindow.cc
2563 (setWindowPeer): New method.
2564 * gnu/java/awt/peer/EmbeddedWindowPeer.java,
2565 gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
2566 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
2568 * gnu/java/awt/peer/gtk/GtkToolkit.java
2569 (GtkToolkit): Implements EmbeddedWindowSupport.
2570 (createEmbeddedWindow): New method.
2571 * java/awt/Window.java
2574 (java_source_files): Added EmbeddedWindowPeer.java.
2575 (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
2576 (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
2577 * Makefile.in: Regenerated.
2579 2003-07-26 Ranjit Mathew <rmathew@hotmail.com>
2581 * java/lang/Win32Process.java (ConcreteProcess): Surround
2582 a command line element with quotes if it contains an
2583 embedded space or tab.
2584 * java/lang/natWin32Process.cc (startProcess): Do not
2585 surround command line elements with quotes here.
2587 * configure.host: Use -fcheck-references and
2588 -fuse-divide-subroutine for MinGW until we fix
2589 win32_exception_handler( ) in win32.cc w.r.t. Win32
2590 Structured Exception Handling (SEH).
2592 * win32.cc (_Jv_platform_initProperties): Use generic names
2593 like "x86" for the "os.arch" property to be consistent with
2594 what Sun's JDK produces. Use the wProcessorArchitecture
2595 member of the Win32 SYSTEM_INFO structure, filled in a call
2596 to GetSystemInfo( ), instead of dwProcessorType.
2598 2003-07-26 Mohan Embar <gnustuff@thisiscool.com>
2599 Ranjit Mathew <rmathew@hotmail.com>
2601 * Makefile.am: Use cross-compiling gcjh from the path for
2602 a crossed-native build.
2603 * Makefile.in: Rebuilt.
2604 * configure.in: Include libltdl in non-newlib builds.
2605 Moved determination of gcj used to build libraries to
2606 its own section. Fixed cross-compilation issues for
2608 * configure: Rebuilt.
2610 2003-07-25 Tom Tromey <tromey@redhat.com>
2612 * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
2617 2003-07-25 Mark Wielaard <mark@klomp.org>
2619 * java/lang/natRuntime.cc (_load): Add library name to
2620 UnsatisfiedLinkError when thrown.
2622 2003-07-25 Mark Wielaard <mark@klomp.org>
2624 * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
2626 * Makefile.in: Likewise.
2628 2003-07-25 Jeroen Frijters <jeroen@frijters.net>
2630 * java/awt/Component.java
2631 (getPreferredSize): Call preferredSize.
2632 (preferredSize): Moved body of getPreferredSize here.
2633 (getMinimumSize): Call minimumSize.
2634 (minimumSize): Moved body of getMinimumSize here.
2635 (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
2636 (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
2638 * java/awt/Container.java
2639 (validate): Don't validate if there is no peer.
2640 (update): Clear background before calling paint.
2641 * java/awt/GridBagLayout.java
2642 Completed the implementation and fixed several bugs.
2643 * java/awt/MediaTracker.java
2644 (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
2646 * java/awt/Window.java
2647 (Window): Don't call setVisible(false). Windows are invisible by
2648 default and calling virtual methods from constructor causes
2649 compatibility problems (e.g. subclasses may assume that the peer
2652 2003-07-25 Michael Koch <konqueror@gmx.de>
2654 * java/awt/GridBagLayout.java:
2655 Totally reworked and partly implemented.
2656 * java/awt/GridBagLayoutInfo.java:
2659 2003-07-24 Thomas Fitzsimmons <fitzsim@redhat.com>
2661 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
2662 Don't pack label in an event box.
2664 2003-07-24 Tom Tromey <tromey@redhat.com>
2667 * verify.cc (ref_intersection): New class.
2668 (type_val): Removed unresolved_reference_type,
2669 uninitialized_unresolved_reference_type.
2670 (is_assignable_from_slow): Rewrote.
2671 (type::data): Removed.
2672 (type::klass): New field.
2673 (type::type): Added verifier argument.
2674 (type::resolve): Removed.
2675 (type::set_uninitialized): Updated for change to type_val.
2676 (type::set_initialized): Likewise.
2677 (type::isinitialized): Likewise.
2678 (type::print): Likewise.
2679 (construct_primitive_array_type): Likewise.
2680 (type::compatible): Updated for change to type_val and to use
2682 (type::isarray): Updated to use ref_intersection.
2683 (type::isinterface): Likewise.
2684 (type::element_type): Likewise.
2685 (type::to_array): Likewise.
2686 (type::verify_dimensions): Rewrote.
2687 (type::merge): Likewise.
2688 (check_class_constant): Updated for type constructor change.
2689 (check_constant): Likewise.
2690 (check_field_constant): Likewise.
2691 (get_one_type): Likewise.
2692 (initialize_stack): Likewise.
2693 (verify_instructions_0): Likewise.
2694 (verify_instructions_0) [op_invokeinterface]: Removed special
2696 (isect_list): New field.
2697 (_Jv_BytecodeVerifier): Initialize it.
2698 (~_Jv_BytecodeVerifier): Destroy ref_intersection objects.
2700 2003-07-24 H. Väisänen <hvaisane@joyx.joensuu.fi>
2702 * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
2703 unless field size is 2.
2705 2003-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
2707 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
2708 (connectHooks): New method.
2709 (handleEvent): Remove.
2710 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
2711 (createHooks): Remove declaration.
2712 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2713 (generates_key_typed_event): Change to handle only certain
2715 (awt_event_handler): Add special handling for GtkTextView.
2716 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
2717 (textcomponent_commit_cb): New function.
2718 (textcomponent_changed_cb): Likewise.
2719 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
2720 (connectHooks): Remove.
2722 2003-07-23 Tom Tromey <tromey@redhat.com>
2724 * java/lang/natSystem.cc (arraycopy): Check for overflow.
2726 * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
2728 2003-07-22 Tom Tromey <tromey@redhat.com>
2730 * boehm.cc (_Jv_BuildGCDescr): Wrote.
2733 2003-07-22 Tom Tromey <tromey@redhat.com>
2735 * java/awt/Window.java (getWarningString): Just return the
2737 (Window): Set warningString; check with security manager.
2739 2003-07-22 Scott Gilbertson <scottg@mantatest.com>
2741 * gnu/awt/xlib/XGraphicsConfiguration.java
2742 (FontMetricsCache): Made static.
2744 2003-07-22 Tom Tromey <tromey@redhat.com>
2746 * java/net/URLEncoder.java (encode(String)): Use platform default
2748 (encode(String,String)): Convert to 2-digit upper-case hex
2752 2003-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2754 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2755 (create): Remove unused method implementation.
2756 (connectHooks): Remove debug messages.
2758 2003-07-20 Anthony Green <green@redhat.com>
2760 * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
2761 CloneNotSupportedException.
2762 * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
2763 * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
2764 * gnu/gcj/xlib/GC.java (clone): Ditto.
2765 * gnu/awt/xlib/XGraphics.java (clone): Ditto.
2766 * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
2768 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
2770 * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
2772 2003-07-20 Steve Pribyl <steve@netfuel.com.>
2774 * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
2775 String. Put dlerror() message into exception.
2776 Include UnsatisfiedLinkError.
2777 * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
2780 2003-07-20 Tom Tromey <tromey@redhat.com>
2782 * java/lang/Runtime.java: Comment fix.
2783 * java/lang/ClassLoader.java (isAncestorOf): New method.
2784 (getParent): Uncommented security check. Use isAncestorOf.
2785 * include/jvm.h (_Jv_CheckAccess): Declare.
2786 * java/lang/reflect/natConstructor.cc (newInstance): Perform
2788 Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
2789 * java/lang/reflect/natArray.cc (newInstance): Pass caller's
2790 class loader to _Jv_GetArrayClass.
2791 Include ArrayIndexOutOfBoundsException.h.
2792 * java/lang/reflect/Field.java: Update comment to reflect status.
2793 (equals): Fixed indentation.
2794 * java/lang/Class.h (Class): Declare memberAccessCheck, not
2795 checkMemberAccess. Make _Jv_CheckAccess a friend.
2796 * java/lang/Class.java (memberAccessCheck): New method from
2798 (checkMemberAccess): Removed.
2799 (getDeclaredMethod): Use memberAccessCheck.
2800 (getField): Likewise.
2801 (getMethod): Likewise.
2802 * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
2803 (_Jv_SearchMethodInClass): Likewise.
2804 * prims.cc (_Jv_CheckAccess): New function.
2805 * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
2806 (_Jv_JNI_GetAnyFieldID): Likewise.
2807 * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
2808 (getClassLoader): Added security check.
2809 (getConstructor): Call memberAccessCheck.
2810 (getDeclaredClasses): Likewise.
2811 (getDeclaredField): Likewise.
2812 (getDeclaredFields): Likewise.
2813 (_getConstructors): Likewise.
2814 (getDeclaredConstructor): Likewise.
2815 (getDeclaredMethods): Likewise.
2816 (getFields): Likewise.
2817 (getMethods): Likewise.
2818 (newInstance): Likewise.
2819 (_Jv_MakeVTable): Put method name in exception.
2820 * java/lang/reflect/natMethod.cc (getType): Use
2821 getClassLoaderInternal.
2822 (_Jv_GetTypesFromSignature): Likewise.
2823 (invoke): Perform access check.
2824 (_Jv_CallAnyMethodA): Removed old FIXME comments.
2825 Include ArrayIndexOutOfBoundsException.h.
2826 * java/lang/reflect/natField.cc (getType): Use
2827 getClassLoaderInternal.
2828 (_Jv_CheckFieldAccessibility): Removed.
2829 (getAddr): Use _Jv_CheckAccess; find caller.
2830 Include ArrayIndexOutOfBoundsException.h.
2832 2003-07-20 Michael Koch <konqueror@gmx.de>
2835 (URL): Fixed documentation to name an argument correcty, Reformatted
2836 one method declaration.
2837 (getURLStreamHandler): Added documentation from classpath.
2839 2003-07-19 Tom Tromey <tromey@redhat.com>
2841 * mauve-libgcj: Don't run CollationElementIterator tests.
2843 2003-07-19 Jeroen Frijters <jeroen@sumatra.nl>
2845 * java/net/URLClassLoader.java (addURL): Moved implementation to
2846 private addURLImpl() to avoid calling addURL from the constructor.
2847 (addURLImpl): Contains the code that was previously in addURL.
2848 (addURLs): Call addURLImpl(), not addURL().
2850 2003-07-18 Graydon Hoare <graydon@redhat.com>
2852 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
2853 Handle missing event cases, connect to "value-changed" signal.
2855 2003-07-18 Graydon Hoare <graydon@redhat.com>
2857 * java/awt/geom/CubicCurve2D.java,
2858 java/awt/geom/Line2D.java,
2859 java/awt/geom/QuadCurve2D.java,
2860 java/awt/geom/Rectangle2D.java:
2861 Fix path some calculations, make path iterators follow
2864 2003-07-18 Mark Wielaard <mark@klomp.org>
2866 * java/util/logging/Handler.java (isLoggable): Check record level
2869 2003-07-17 Michael Koch <konqueror@gmx.de>
2871 * gnu/java/awt/peer/gtk/GtkToolkit.java:
2874 2003-07-14 Michael Koch <konqueror@gmx.de>
2876 * gnu/java/rmi/server/UnicastServerRef.java:
2877 New version from classpath.
2879 2003-07-14 Michael Koch <konqueror@gmx.de>
2881 * java/awt/image/MemoryImageSource.java,
2882 java/beans/PropertyEditorManager.java,
2883 javax/naming/CompoundName.java,
2884 javax/naming/spi/NamingManager.java,
2885 javax/swing/AbstractButton.java,
2886 javax/swing/ButtonModel.java,
2887 javax/swing/SwingUtilities.java,
2888 javax/swing/UIManager.java,
2889 javax/swing/colorchooser/DefaultColorSelectionModel.java,
2890 javax/swing/event/AncestorEvent.java,
2891 javax/swing/event/InternalFrameEvent.java,
2892 java/util/zip/ZipFile.java:
2893 New versions from classpath.
2895 2003-07-13 Michael Koch <konqueror@gmx.de>
2897 * gnu/java/nio/FileChannelImpl.java,
2898 gnu/java/nio/natFileChannelImpl.cc: Removed.
2899 * java/io/FileInputStream.java,
2900 java/io/FileOutputStream.java,
2901 java/io/RandomAccessFile.java,
2902 java/nio/MappedByteBufferImpl.java:
2903 Import java.nio.channels.FileChannelImpl instead of
2904 gnu.java.nio.FileChannelImpl.
2905 * java/nio/channels/FileChannelImpl.java,
2906 java/nio/channels/natFileChannelImpl.cc:
2909 (ordinary_java_source_files):
2910 Removed gnu/java/nio/FileChannelImpl.java and added
2911 java/nio/channels/FileChannelImpl.java.
2913 Removed gnu/java/nio/natFileChannelImpl.cc and added
2914 java/nio/channels/natFileChannelImpl.cc.
2915 * Makefile.in: Regenerated.
2917 2003-07-13 Michael Koch <konqueror@gmx.de>
2919 * javax/swing/plaf/basic/BasicBorders.java,
2920 javax/swing/plaf/basic/BasicLabelUI.java,
2921 javax/swing/plaf/basic/BasicLookAndFeel.java,
2922 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
2923 javax/swing/plaf/basic/BasicTextUI.java,
2924 javax/swing/plaf/metal/MetalLookAndFeel.java:
2925 New versions from classpath.
2927 2003-07-13 Michael Koch <konqueror@gmx.de>
2929 * gnu/java/awt/peer/gtk/GdkFontMetrics.java
2930 * gnu/java/awt/peer/gtk/GdkGraphics.java
2931 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
2932 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
2933 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
2934 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
2935 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
2936 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
2937 * gnu/java/awt/peer/gtk/GtkClipboard.java
2938 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
2939 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2940 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2941 * gnu/java/awt/peer/gtk/GtkGenericPeer.java
2942 * gnu/java/awt/peer/gtk/GtkImage.java
2943 * gnu/java/awt/peer/gtk/GtkImagePainter.java
2944 * gnu/java/awt/peer/gtk/GtkLabelPeer.java
2945 * gnu/java/awt/peer/gtk/GtkListPeer.java
2946 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
2947 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
2948 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
2949 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
2950 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
2951 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
2952 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
2953 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
2954 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
2955 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
2956 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
2957 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
2959 2003-07-13 Michael Koch <konqueror@gmx.de>
2961 * gnu/java/locale/LocaleInformation_de.java
2962 * gnu/java/locale/LocaleInformation_en.java
2963 * gnu/java/locale/LocaleInformation_nl.java
2965 2003-07-13 Michael Koch <konqueror@gmx.de>
2967 * gnu/java/awt/EmbeddedWindow.java,
2968 gnu/java/awt/EmbeddedWindowSupport.java,
2969 gnu/java/awt/natEmbeddedWindow.cc:
2971 * java/awt/Window.java
2972 (Window): New constructor to support embedded windows.
2974 (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
2975 gnu/java/awt/EmbeddedWindowSupport.java.
2976 (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
2977 * Makefile.in: Regenerated.
2979 2003-07-11 Matt Kraai <kraii@alumni.cmu.edu>
2981 * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
2982 * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
2983 * java/awt/im/InputContext.java: Remove a redundant
2986 2003-07-09 Tom Tromey <tromey@redhat.com>
2988 * Makefile.in: Rebuilt.
2989 * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
2991 2003-07-09 Mark Wielaard <mark@klomp.org>
2993 * java/io/ObjectOutputStream.java (writeObject): break after
2994 calling writeClassDescriptor().
2996 2003-07-09 Mark Mitchell <mark@codesourcery.com>
2998 * gcj/array.h (JvPrimClass): Don't parenthesize the output.
3000 2003-07-09 Michael Koch <konqueror@gmx.de>
3002 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3003 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
3004 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
3005 gnu/java/awt/peer/gtk/GtkWindowPeer.java:
3006 Explicitly import used classes.
3007 * java/awt/Container.java: New version from classpath.
3009 2003-07-09 Michael Koch <konqueror@gmx.de>
3011 * libgcj.pc.in: New file.
3012 * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
3013 * Makefile.in: Regenerated.
3014 * configure: Regenrated.
3015 * configure.in: Create libgcj.pc from libgcj.pc.in.
3017 2003-07-08 Mark Wielaard <mark@klomp.org>
3019 * gcj/cni.h: CNI now expands to Compiled Native Interface.
3021 * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
3022 * java/lang/fdlibm.h: Likewise.
3024 2003-07-07 Adam Megacz <adam@xwt.org>
3026 * posix.cc: added #include<stdio.h>
3028 2003-07-07 Thomas Fitzsimmons <fitzsim@redhat.com>
3030 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
3033 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
3034 (setCaretPosition, setEditable): Rely entirely on native
3037 (postTextEvent): New method.
3038 (handleEvent): New method.
3039 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
3041 * java/awt/event/ActionEvent.java (paramString): Fix formatting.
3042 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3043 (keysym_to_awt_keycode): Fix range checks.
3044 (generates_key_typed_event): New function.
3045 (awt_event_handler): Post AWT_KEY_RELEASED events to event
3047 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3048 (gtkInit): Store TextComponent's postTextEvent method ID.
3049 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3050 (setText): Post TEXT_VALUE_CHANGED event to event queue.
3052 2003-07-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3054 * configure.in: Check for usleep declaration.
3055 * acconfig.h (HAVE_USLEEP_DECL): Provide template.
3056 * configure: Regenerate.
3057 * include/config.h.in: Likewise.
3058 * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
3060 2003-07-01 Michael Koch <konqueror@gmx.de>
3062 * gnu/gcj/convert/natIconv.cc
3063 (iconv_init): Fixed possible memory leak by releasing allocated iconv
3066 2003-06-30 Thomas Fitzsimmons <fitzsim@redhat.com>
3068 * glib-2.0.m4: New file.
3069 * gtk-2.0.m4: New file.
3072 * configure.in: Update AM_PATH_GTK macro call to
3073 AM_PATH_GTK_2_0. Likewise for AM_PATH_GLIB.
3074 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
3075 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
3076 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
3077 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
3078 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
3079 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
3080 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
3081 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
3082 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
3083 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
3084 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
3085 jni/gtk-peer/gthread-jni.c,
3086 jni/gtk-peer/gthread-jni.h:
3087 New versions from classpath.
3088 * aclocal.m4: Regenerate.
3089 * configure: Regenerate.
3090 * Makefile.in: Regenerate.
3091 * gcj/Makefile.in: Regenerate.
3092 * include/Makefile.in: Regenerate.
3093 * testsuite/Makefile.in: Regenerate.
3095 2003-06-30 Gary Benson <gbenson@redhat.com>
3097 For PR libgcj/11349:
3098 * javax/naming/spi/NamingManager.java (getURLContext): Use
3099 correct name for factory class.
3101 2003-06-28 Michael Koch <konqueror@gmx.de>
3103 * java/io/PrintStream.java
3104 (checkError): Call flush() instead of direct flushing of the Writer
3106 (print): Call print(String) instead of direct print method of the
3108 (println): Call println(String) instead of direct println method of the
3110 (write): Simplified.
3112 2003-06-28 Michael Koch <konqueror@gmx.de>
3114 * java/net/ServerSocket.java
3115 (setChannel): New method.
3116 * java/net/Socket.java
3117 (setChannel): New method.
3119 2003-06-27 Michael Koch <konqueror@gmx.de>
3121 * java/beans/beancontext/BeanContextSupport.java:
3122 New version from classpath.
3124 2003-06-27 Michael Koch <konqueror@gmx.de>
3126 * java/awt/Window.java,
3127 java/awt/font/GraphicAttribute.java,
3128 java/awt/font/ImageGraphicAttribute.java,
3129 java/awt/image/DataBufferByte.java,
3130 java/awt/image/DataBufferInt.java,
3131 java/awt/image/DataBufferUShort.java,
3132 java/awt/image/DirectColorModel.java,
3133 java/awt/image/PixelGrabber.java:
3134 New versions from classpath.
3136 2003-06-27 Michael Koch <konqueror@gmx.de>
3138 * java/security/Certificate.java
3139 (getGuarantor): Removed wrong @deprecated tag.
3140 (getPrincipal): Likewise.
3141 (getPublicKey): Likewise.
3144 (getFormat): Likewise.
3145 (toString): Likewise.
3146 * java/security/cert/PolicyQualifierInfo.java
3147 (PolicyQualifierInfo): Made final.
3148 * javax/security/auth/x500/X500Principal.java
3149 (serialVersionUID): New member variable.
3151 2003-06-27 Michael Koch <konqueror@gmx.de>
3153 * java/text/Format.java
3154 (serialVersionUID): Fixed value.
3156 2003-06-27 Michael Koch <konqueror@gmx.de>
3158 * java/net/Inet4Address.java
3159 (Inet4Address): Made package-private.
3160 * java/net/Inet6Address.java
3161 (Inet4Address): Made package-private.
3163 2003-06-27 Michael Koch <konqueror@gmx.de>
3165 * java/io/RandomAccessFile.java
3166 (readLine): Removed wrong @deprecated tag.
3167 (getChannel): Made final.
3169 2003-06-27 Michael Koch <konqueror@gmx.de>
3171 * gnu/java/nio/FileChannelImpl.java
3174 2003-06-27 Michael Koch <konqueror@gmx.de>
3176 * java/nio/ByteBufferImpl.java
3177 (ByteBufferImpl): Made it a package-private class
3178 * java/nio/CharBufferImpl.java
3179 (CharBufferImpl): Made it a package-private class
3180 * java/nio/DirectByteBufferImpl.java
3181 (DirectByteBufferImpl): Made it a package-private class
3182 * java/nio/DoubleBufferImpl.java
3183 (DoubleBufferImpl): Made it a package-private class
3184 * java/nio/FloatBufferImpl.java
3185 (FloatBufferImpl): Made it a package-private class
3186 * java/nio/IntBufferImpl.java
3187 (IntBufferImpl): Made it a package-private class
3188 * java/nio/LongBufferImpl.java
3189 (LongBufferImpl): Made it a package-private class
3190 * java/nio/ShortBufferImpl.java
3191 (ShortBufferImpl): Made it a package-private class
3192 * java/nio/channels/FileChannel.java
3193 (write): Made final.
3194 * java/nio/channels/ServerSocketChannel.java
3195 (ServerSocketChanne): Made protected.
3197 2003-06-27 Michael Koch <konqueror@gmx.de>
3199 * javax/naming/CompositeName.java
3200 (serialVersionUID): New member variable.
3201 * javax/naming/CompoundName.java
3202 (serialVersionUID): New member variable.
3203 * javax/naming/InitialContext.java
3204 (InitialContext): Throws NamingException.
3206 * javax/naming/LinkRef.java
3207 (serialVersionUID): New member variable.
3208 (gteLinkName): Throws NamingException.
3209 * javax/naming/NamingException.java
3210 (serialVersionUID): New member variable.
3211 * javax/naming/NamingSecurityException.java
3212 (NamingSecurityException): Made abstract.
3213 (serialVersionUID): New member variable.
3214 * javax/naming/ReferralException.java
3215 (serialVersionUID): New member variable.
3216 * javax/naming/StringRefAddr.java
3217 (serialVersionUID): New member variable.
3218 * javax/naming/directory/BasicAttribute.java:
3220 (serialVersionUID): New member variable.
3221 (get): Throws NamingException.
3222 (getAll): Throws NamingException.
3223 * javax/naming/directory/BasicAttributes.java:
3225 (serialVersionUID): New member variable.
3226 * javax/naming/ldap/UnsolicitedNotificationEvent.java
3227 (serialVersionUID): New member variable.
3229 2003-06-27 Michael Koch <konqueror@gmx.de>
3232 (awt_java_source_files): Added new files:
3233 javax/swing/Popup.java,
3234 javax/swing/PopupFactory.java
3235 * Makefile.in: Regenerated.
3237 2003-06-27 Michael Koch <konqueror@gmx.de>
3239 * javax/swing/JWindow.java,
3240 javax/swing/event/AncestorEvent.java,
3241 javax/swing/event/HyperlinkEvent.java,
3242 javax/swing/event/InternalFrameEvent.java,
3243 javax/swing/event/ListDataEvent.java,
3244 javax/swing/event/TableModelEvent.java,
3245 javax/swing/plaf/PopupMenuUI.java,
3246 javax/swing/plaf/SplitPaneUI.java,
3247 javax/swing/plaf/TabbedPaneUI.java,
3248 javax/swing/plaf/TextUI.java,
3249 javax/swing/plaf/TreeUI.java,
3250 javax/swing/plaf/basic/BasicTextUI.java,
3251 javax/swing/plaf/basic/BasicTreeUI.java:
3252 New versions from classpath.
3253 * javax/swing/Popup.java,
3254 javax/swing/PopupFactory.jav:
3255 New source files from classpath.
3256 * javax/swing/plaf/doc-files/TreeUI-1.png:
3257 New binary files from classpath.
3259 2003-06-25 Michael Koch <konqueror@gmx.de>
3262 (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
3263 * Makefile.in: Regenerated.
3265 2003-06-25 Michael Koch <konqueror@gmx.de>
3267 * javax/swing/plaf/ActionMapUIResource.java,
3268 javax/swing/plaf/BorderUIResource.java,
3269 javax/swing/plaf/ButtonUI.java,
3270 javax/swing/plaf/ColorChooserUI.java,
3271 javax/swing/plaf/ColorUIResource.java,
3272 javax/swing/plaf/ComboBoxUI.java,
3273 javax/swing/plaf/ComponentInputMapUIResource.java,
3274 javax/swing/plaf/ComponentUI.java,
3275 javax/swing/plaf/DesktopIconUI.java,
3276 javax/swing/plaf/DesktopPaneUI.java,
3277 javax/swing/plaf/DimensionUIResource.java,
3278 javax/swing/plaf/FileChooserUI.java,
3279 javax/swing/plaf/FontUIResource.java,
3280 javax/swing/plaf/IconUIResource.java,
3281 javax/swing/plaf/InputMapUIResource.java,
3282 javax/swing/plaf/InsetsUIResource.java,
3283 javax/swing/plaf/InternalFrameUI.java,
3284 javax/swing/plaf/LabelUI.java,
3285 javax/swing/plaf/ListUI.java,
3286 javax/swing/plaf/MenuBarUI.java,
3287 javax/swing/plaf/MenuItemUI.java,
3288 javax/swing/plaf/OptionPaneUI.java,
3289 javax/swing/plaf/PanelUI.java,
3290 javax/swing/plaf/ProgressBarUI.java,
3291 javax/swing/plaf/RootPaneUI.java,
3292 javax/swing/plaf/ScrollBarUI.java,
3293 javax/swing/plaf/ScrollPaneUI.java,
3294 javax/swing/plaf/SeparatorUI.java,
3295 javax/swing/plaf/SliderUI.java,
3296 javax/swing/plaf/TableHeaderUI.java,
3297 javax/swing/plaf/TableUI.java,
3298 javax/swing/plaf/ToolBarUI.java,
3299 javax/swing/plaf/ToolTipUI.java,
3300 javax/swing/plaf/ViewportUI.java:
3301 New versions from classpath.
3302 * javax/swing/plaf/SpinnerUI.java:
3303 New file from classpath
3305 2003-06-25 Michael Koch <konqueror@gmx.de>
3307 * java/awt/image/ColorModel.java:
3308 New version from classpath.
3310 2003-06-25 Michael Koch <konqueror@gmx.de>
3312 * java/net/PlainDatagramSocketImpl.java:
3313 Partly merged with classpath, this mainly adds documentation.
3315 2003-06-25 Michael Koch <konqueror@gmx.de>
3317 * java/io/ObjectInputStream.java
3318 (readClassDescriptor): New method.
3319 (readObject): Moved functionality to readClassDescriptor().
3320 * java/io/ObjectOutputStream.java
3321 (writeClassDescriptor): New method.
3322 (writeObject): Moved functionality to writeClassDescriptor().
3324 2003-06-25 Michael Koch <konqueror@gmx.de>
3326 * javax/swing/plaf/basic/BasicListUI.java,
3327 javax/swing/plaf/basic/BasicOptionPaneUI.java:
3328 Added missing methods.
3330 2003-06-25 Michael Koch <konqueror@gmx.de>
3332 * javax/swing/event/AncestorEvent.java
3333 javax/swing/event/HyperlinkEvent.java
3334 javax/swing/event/InternalFrameEvent.java
3335 javax/swing/event/ListDataEvent.java
3336 javax/swing/event/TableModelEvent.java:
3339 2003-06-24 Michael Koch <konqueror@gmx.de>
3341 * java/net/URL.java:
3342 Renamed "handler" to "ph" in the whole file to match classpaths
3344 * java/net/URLStreamHandler.java:
3345 (equals): Renamed "handler" to "ph".
3347 2003-06-24 Michael Koch <konqueror@gmx.de>
3349 * javax/swing/event/AncestorEvent.java,
3350 javax/swing/event/HyperlinkEvent.java,
3351 javax/swing/event/InternalFrameEvent.java,
3352 javax/swing/event/ListDataEvent.java,
3353 javax/swing/event/TableModelEvent.java,
3354 javax/swing/event/TreeWillExpandListener.java,
3355 javax/swing/plaf/ComponentUI.java,
3356 javax/swing/plaf/DesktopIconUI.java,
3357 javax/swing/plaf/DesktopPaneUI.java,
3358 javax/swing/plaf/DimensionUIResource.java,
3359 javax/swing/plaf/FileChooserUI.java,
3360 javax/swing/plaf/FontUIResource.java,
3361 javax/swing/plaf/IconUIResource.java,
3362 javax/swing/plaf/InputMapUIResource.java,
3363 javax/swing/plaf/InsetsUIResource.java,
3364 javax/swing/plaf/InternalFrameUI.java,
3365 javax/swing/plaf/LabelUI.java,
3366 javax/swing/plaf/ListUI.java,
3367 javax/swing/plaf/MenuBarUI.java,
3368 javax/swing/plaf/MenuItemUI.java,
3369 javax/swing/plaf/OptionPaneUI.java,
3370 javax/swing/plaf/PanelUI.java,
3371 javax/swing/plaf/ProgressBarUI.java,
3372 javax/swing/plaf/doc-files/ComponentUI-1.dia,
3373 javax/swing/plaf/doc-files/ComponentUI-1.png:
3374 New versions from classpath.
3376 2003-06-24 Michael Koch <konqueror@gmx.de>
3378 * java/nio/Buffer.java
3379 (cap): Made package-private.
3384 2003-06-24 Michael Koch <konqueror@gmx.de>
3386 * java/net/SocketImpl.java
3387 (shutdownInput): Made it non-abstract method throwing an exception
3389 (shutdownOutput): Likewise.
3390 * java/net/SocketInputStream.java,
3391 java/net/SocketOutputStream.java:
3392 New files from classpath.
3394 2003-06-24 Michael Koch <konqueror@gmx.de>
3396 * java/awt/Font.java,
3397 java/awt/Window.java,
3398 java/awt/color/ColorSpace.java,
3399 java/awt/datatransfer/StringSelection.java,
3400 java/awt/image/ColorModel.java:
3401 New versions from classpath.
3403 2003-06-24 Michael Koch <konqueror@gmx.de>
3406 (awt_java_source_files): Added new files:
3407 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
3408 javax/swing/plaf/basic/BasicSplitPaneUI.java
3409 * Makefile.in: Regenerated.
3411 2003-06-24 Michael Koch <konqueror@gmx.de>
3413 * javax/swing/text/JTextComponent.java:
3414 New version from classpath.
3416 2003-06-24 Michael Koch <konqueror@gmx.de>
3418 * javax/swing/Timer.java,
3419 javax/swing/plaf/ActionMapUIResource.java,
3420 javax/swing/plaf/ButtonUI.java,
3421 javax/swing/plaf/ColorChooserUI.java,
3422 javax/swing/plaf/ColorUIResource.java,
3423 javax/swing/plaf/ComboBoxUI.java,
3424 javax/swing/plaf/ComponentInputMapUIResource.java,
3425 javax/swing/plaf/basic/BasicBorders.java:
3426 New versions from classpath.
3427 * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
3428 javax/swing/plaf/basic/BasicSplitPaneUI.java:
3429 New file from classpath.
3430 * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
3431 javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
3432 javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
3433 javax/swing/plaf/doc-files/ComponentUI-1.dia,
3434 javax/swing/plaf/doc-files/ComponentUI-1.png:
3435 New binary files from classpath.
3437 2003-06-24 Michael Koch <konqueror@gmx.de>
3439 * java/io/LineNumberReader.java
3440 (skip): Dont do line number accounting here as this is already done in
3443 2003-06-21 Michael Koch <konqueror@gmx.de>
3446 (static): Load javaio lib if existing (only in classpath).
3447 (File): Revised documentation to show the correct argument name.
3448 (createTempFile): Partly merged with classpath.
3449 (compareTo): Simplified.
3450 (lastModified): Throw exception if time < 0.
3451 (deleteOnExit): Revised documentation.
3453 2003-06-21 Michael Koch <konqueror@gmx.de>
3455 * java/net/PlainSocketImpl.java:
3457 (PlainSocketImpl): Merged class documentaion with classpath.
3460 (PlainSocketImpl): New empty constructor.
3462 (setOption): Merged documentation from classpath.
3463 (getOption): Likewise.
3465 (connect): Likewise.
3469 (available): Likewise.
3473 (getInputStream): Made synchronozed to get sure that only one stream
3474 object can be created for this socket, merged documentation from
3476 (getOutputStream): Likewise.
3478 2003-06-21 Michael Koch <konqueror@gmx.de>
3480 * java/net/PlainSocketImpl.java:
3482 (static): New implicit method.
3483 (read): Made package private.
3486 2003-06-21 Michael Koch <konqueror@gmx.de>
3488 * java/util/SimpleTimeZone.java:
3489 Removed unneeded import, reformatting.
3491 2003-06-21 Michael Koch <konqueror@gmx.de>
3493 * java/text/DateFormat.java,
3494 java/text/SimpleDateFormat.java,
3495 java/util/Locale.java:
3496 New versions from classpath.
3498 2003-06-21 Michael Koch <konqueror@gmx.de>
3500 * javax/swing/SpinnerModel.java:
3501 New file from classpath.
3502 * javax/swing/border/LineBorder.java,
3503 javax/swing/border/SoftBevelBorder.java,
3504 javax/swing/plaf/BorderUIResource.java,
3505 javax/swing/plaf/basic/BasicBorders.java:
3506 New versions from classpath.
3507 * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
3508 javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
3509 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
3510 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
3511 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
3512 javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
3513 New binary files from classpath.
3515 2003-06-21 Michael Koch <konqueror@gmx.de>
3517 * java/util/logging/LogRecord.java,
3518 java/util/logging/Logger.java,
3519 java/util/logging/SocketHandler.java,
3520 java/util/logging/SimpleFormatter.java,
3521 java/util/logging/Formatter.java,
3522 java/util/logging/ErrorManager.java,
3523 java/util/logging/Handler.java,
3524 java/util/logging/FileHandler.java,
3525 java/util/logging/LogManager.java,
3526 java/util/logging/Level.java,
3527 java/util/logging/ConsoleHandler.java,
3528 java/util/logging/StreamHandler.java,
3529 java/util/logging/LoggingPermission.java,
3530 java/util/logging/Filter.java,
3531 java/util/logging/MemoryHandler.java,
3532 java/util/logging/XMLFormatter.java:
3533 New files from classpath.
3535 2003-06-20 Michael Koch <konqueror@gmx.de>
3537 * java/io/ObjectStreamField.java
3538 (unshared): new member variable.
3539 (ObjectStreamField): New constructor.
3540 (isUnshared): New method.
3542 2003-06-20 Michael Koch <konqueror@gmx.de>
3544 * java/net/URLStreamHandler.java
3545 (hostsEqual): Rewritten.
3547 2003-06-20 Michael Koch <konqueror@gmx.de>
3549 * gnu/java/nio/MappedByteFileBuffer.java,
3550 gnu/java/nio/natMappedByteFileBuffer.cc:
3552 * java/nio/MappedByteBufferImpl.java:
3554 * gnu/java/nio/FileChannelImpl.java:
3555 Use MappedByteBufferImpl instead of MappedByteFileBuffer.
3557 (ordinary_java_source_files): Removed
3558 gnu/java/nio/MappedByteFileBuffer.java and added
3559 java/nio/MappedByteBufferImpl.java.
3560 (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
3561 * Makefile.in: Regenerated.
3563 2003-06-19 Michael Koch <konqueror@gmx.de>
3565 * gnu/java/nio/DatagramChannelImpl.java
3567 (blocking): New member variable.
3569 (DatagramChannelImpl): Throws IOException, initialize socket.
3570 (socket):Implemented.
3571 (implCloseSelectableChannel): Throws IOException, implemented.
3572 (implConfigureBlocking): Likewise.
3573 (connect): Likewise.
3574 (disconnect): Likewise.
3575 (isConnected): Likewise.
3578 (receive): Throws IOException.
3580 * gnu/java/nio/SocketChannelImpl.java
3581 (read): Implemented.
3582 (write): Implemented.
3584 2003-06-19 Michael Koch <konqueror@gmx.de>
3586 * javax/swing/JComponent.java,
3587 javax/swing/JInternalFrame.java,
3588 javax/swing/MenuSelectionManager.java,
3589 javax/swing/SwingUtilities.java,
3590 javax/swing/ToggleButtonModel.java:
3591 New versions from classpath.
3593 2003-06-19 Michael Koch <konqueror@gmx.de>
3595 * java/text/CollationElementIterator.java
3596 (NULLORDER): Initialize with -1 as JDK documentation says.
3598 2003-06-19 Michael Koch <konqueror@gmx.de>
3600 * java/net/HttpURLConnection.java,
3601 java/net/Inet4Address.java,
3602 java/net/Inet6Address.java,
3603 java/net/SocketImpl.java,
3604 java/net/URLClassLoader.java:
3605 Reworked import statements.
3606 * java/net/InetAddress.java
3607 (getByAddress): Simplified.
3608 * java/net/ServerSocket.java
3609 (ServerSocket): Moved special handling during bind operation to
3611 (bind): Handle different cases when trying to bind a socket.
3612 * java/net/URLConnection.java
3613 (getHeaderFieldDate): Merged with classpath.
3614 (getHeaderFieldInt): Likewise.
3616 2003-06-19 Michael Koch <konqueror@gmx.de>
3618 * java/util/zip/InflaterInputStream.java
3619 (InflaterInputStream): Throw NullPointerException if in is null (as
3622 2003-06-19 Michael Koch <konqueror@gmx.de>
3624 * java/awt/Font.java
3625 javax/swing/UIManager.java
3626 javax/swing/border/AbstractBorder.java
3627 javax/swing/border/BevelBorder.java
3628 javax/swing/border/Border.java
3629 javax/swing/border/CompoundBorder.java
3630 javax/swing/border/EmptyBorder.java
3631 javax/swing/border/EtchedBorder.java
3632 javax/swing/border/LineBorder.java
3633 javax/swing/border/MatteBorder.java
3634 javax/swing/border/TitledBorder.java
3635 javax/swing/plaf/BorderUIResource.java
3636 javax/swing/plaf/basic/BasicBorders.java
3637 javax/swing/plaf/basic/BasicButtonUI.java
3638 javax/swing/plaf/basic/BasicCheckBoxUI.java
3639 javax/swing/plaf/basic/BasicGraphicsUtils.java
3640 javax/swing/plaf/basic/BasicLabelUI.java
3641 javax/swing/plaf/basic/BasicRadioButtonUI.java
3642 javax/swing/plaf/basic/BasicToggleButtonUI.java:
3643 New versions from classpath.
3644 * javax/swing/border/SoftBevelBorder.java:
3645 New file from classpath.
3646 * javax/swing/border/doc-files/LineBorder-1.png,
3647 javax/swing/border/doc-files/BevelBorder-1.png,
3648 javax/swing/border/doc-files/BevelBorder-2.png,
3649 javax/swing/border/doc-files/BevelBorder-3.png,
3650 javax/swing/border/doc-files/EmptyBorder-1.png,
3651 javax/swing/border/doc-files/EtchedBorder-1.png,
3652 javax/swing/border/doc-files/EtchedBorder-2.png,
3653 javax/swing/border/doc-files/MatteBorder-1.png,
3654 javax/swing/border/doc-files/MatteBorder-2.png,
3655 javax/swing/border/doc-files/MatteBorder-3.png,
3656 javax/swing/border/doc-files/MatteBorder-4.png,
3657 javax/swing/border/doc-files/MatteBorder-5.png,
3658 javax/swing/border/doc-files/MatteBorder-6.png,
3659 javax/swing/border/doc-files/SoftBevelBorder-1.png,
3660 javax/swing/border/doc-files/SoftBevelBorder-2.png,
3661 javax/swing/border/doc-files/SoftBevelBorder-3.png,
3662 javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
3663 javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
3664 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
3665 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
3666 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
3667 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
3668 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
3669 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
3670 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
3671 New binary files from classpath.
3673 (awt_java_source_files): Added
3674 javax/swing/border/SoftBevelBorder.java.
3675 * Makefile.in: Regenerated.
3677 2003-06-19 Michael Koch <konqueror@gmx.de>
3679 * gnu/java/security/x509/X509Certificate.java
3680 (writeReplace): Merged from classpath.
3682 2003-06-19 Michael Koch <konqueror@gmx.de>
3684 * gnu/java/nio/FileChannelImpl.java
3685 (map_address): Made public.
3686 (FileChannelImpl): Merged with classpath.
3687 * gnu/java/nio/natFileChannelImpl.cc
3688 (nio_mmap_file): Commented out unused arguments.
3689 (nio_unmmap_file): Likewise.
3690 (niu_msync): Likewise.
3692 2003-06-19 Michael Koch <konqueror@gmx.de>
3694 * java/awt/image/IndexColorModel.java:
3695 New version from classpath.
3697 2003-06-18 Tom Tromey <tromey@redhat.com>
3699 * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
3701 (isLoopbackAddress): Likewise.
3702 * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
3705 2003-06-18 Matt Kraai <kraai@alumni.cmu.edu>
3707 * java/lang/natVMSecurityManager.cc (getClassContext):
3708 Use maxlen instead of len for loop bound.
3710 2003-06-18 Michael Koch <konqueror@gmx.de>
3712 * gnu/java/nio/SelectorImpl.java
3713 (register): Use fd with value 0 for now, will be fixed later.
3714 * gnu/java/nio/ServerSocketChannelImpl.java
3716 (local_port): Removed.
3717 (InetSocketAddress): Removed.
3718 (ServerSocketChannelImpl): Just initialize internal socket object.
3719 (implCloseSelectableChannel): Close internal socket object.
3720 (implConfigureBlocking): Added comment.
3721 (accept): Use jaba.net stuff to accept socket.
3722 * gnu/java/nio/SocketChannelImpl.java
3724 (local_port): Removed.
3725 (InetSocketAddress): Removed.
3726 (SocketCreate): Removed.
3727 (SocketConnect): Removed.
3728 (SocketBind): Removed.
3729 (SocketListen): Removed.
3730 (SocketAvailable): Removed.
3731 (SocketClose): Removed.
3732 (SocketRead): Removed.
3733 (SocketWrite): Removed.
3734 (SocketChannelImpl): Just initialize internal socket object.
3735 (implCloseSelectableChannel): Close internal socket object.
3736 (implConfigureBlocking): Fixed implementation, added comment.
3737 (connect): Use internal socket object to connect.
3738 (socket): No need for sanity checks.
3739 (read): Comment out some stuff, this will be reimplemented in the next
3742 * gnu/java/nio/natFileChannelImpl.cc
3743 (nio_mmap_file): Line wrapped.
3744 * gnu/java/nio/natSocketChannelImpl.cc: Removed.
3746 (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
3747 * Makefile.in: Regenerated.
3749 2003-06-18 Michael Koch <konqueror@gmx.de>
3751 * java/util/Locale.java
3752 (equals): Merged from classpath.
3754 2003-06-18 Michael Koch <konqueror@gmx.de>
3756 * java/net/InetAddress.java:
3757 Reformatted to better match classpath's version.
3759 (equals): Simplified.
3760 * java/net/URLConnection.java
3761 (setDoInput): Revised documentation.
3762 (getDefaultUseCaches): Likewise.
3763 (setRequestProperty): Added @since tag.
3765 2003-06-17 Michael Koch <konqueror@gmx.de>
3767 * java/net/InetSocketAddress.java
3768 (InetSocketAddress): Use wildcard address if addr is null.
3769 (InetSocketAddress): Dont duplicate implementation.
3770 (InetSocketAddress): Throw exception when hostname is null.
3771 * java/net/Socket.java:
3773 (Socket): Throw exception when raddr is null, handle case when laddr
3776 2003-06-17 Michael Koch <konqueror@gmx.de>
3778 * java/nio/DirectByteBufferImpl.java
3779 (address): Made package private.
3780 (DirectByteBufferImpl): New constructor.
3781 * java/nio/natDirectByteBufferImpl.cc
3782 (allocateImpl): Moved to java.nio namespace, implemented.
3783 (freeImpl): Likewise.
3784 (getImpl): Likewise.
3785 (putImpl): Likewise.
3787 (_Jv_JNI_NewDirectByteBuffer): Implemented.
3788 (_Jv_JNI_GetDirectBufferAddress): Implemented.
3789 (_Jv_JNI_GetDirectBufferCapacity): Implemented.
3791 2003-06-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3793 * include/powerpc-signal.h: New File.
3794 * configure.in: Use it.
3795 * configure: Regenerated.
3797 2003-06-17 Michael Koch <konqueror@gmx.de>
3799 * java/util/Locale.java
3800 (getDisplayLanguage): Made it final.
3801 (getDisplayCountry): Likewise.
3802 (getDisplayVariant): Likewise.
3803 (getDisplayName): Likewise.
3805 2003-06-17 Michael Koch <konqueror@gmx.de>
3807 * java/util/PropertyResourceBundle.java:
3808 Removed unneeded import.
3810 2003-06-17 Michael Koch <konqueror@gmx.de>
3812 * java/util/prefs/AbstractPreferences.java,
3813 java/util/prefs/PreferencesFactory.java:
3814 Reworked imports, removed unused imports.
3815 * java/util/prefs/Preferences.java
3816 (systemNodeForPackage): Method takes a Class not an Object.
3817 (userNodeForPackage): Likewise.
3818 (nodeForPackage): Likewise.
3820 2003-06-17 Michael Koch <konqueror@gmx.de>
3822 * gnu/java/security/x509/X509Certificate.java:
3823 Explicitely import used classes.
3825 2003-06-17 Michael Koch <konqueror@gmx.de>
3827 * java/util/zip/ZipEntry.java,
3828 java/util/zip/ZipFile.java,
3829 java/util/zip/ZipInputStream.java,
3830 java/util/zip/ZipOutputStream.java:
3831 Reworked imports, only import used classes.
3833 2003-06-17 Michael Koch <konqueror@gmx.de>
3835 * gnu/java/lang/ArrayHelper.java,
3836 gnu/java/lang/ClassHelper.java:
3837 Reformatted to match classpath's versions.
3839 2003-06-14 Michael Koch <konqueror@gmx.de>
3841 * gnu/java/nio/FileChannelImpl.java
3842 (map_address): Removed incorrect comment.
3843 * gnu/java/nio/SelectorImpl.java
3844 (register): Remove code duplication and code for file channel handling.
3845 * gnu/java/nio/ServerSocketChannelImpl.java
3846 (serverSocket): Renamed from sock_object.
3847 (ServerSocketChannel): Initialize serverSocket.
3848 (socket): Return serverSocket.
3849 * gnu/java/nio/SocketChannelImpl.java
3850 (socket): Renamed from sock_object.
3851 (isConnectionPenging): Simplified.
3852 (socket): Return socket.
3853 2003-06-14 Michael Koch <konqueror@gmx.de>
3855 * java/security/BasicPermission.java:
3856 New version from classpath.
3858 2003-06-14 Michael Koch <konqueror@gmx.de>
3860 * javax/naming/directory/Attribute.java:
3861 New version from classpath.
3863 2003-06-14 Michael Koch <konqueror@gmx.de>
3865 * java/io/BufferedReader.java,
3866 java/io/FileOutputStream.java:
3867 New versions from classpath.
3869 2003-06-12 Andrew Haley <aph@redhat.com>
3871 * prims.cc (catch_segv): Create exception in handler.
3872 (catch_fpe): Likewise.
3873 (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
3874 (_Jv_ThrowSignal): Remove.
3876 * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
3877 * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
3878 to nullp and arithexception.
3879 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
3880 * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
3881 * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
3882 * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
3883 * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
3885 2003-06-11 Andrew Haley <aph@redhat.com>
3887 * jni.cc (_Jv_JNI_check_types): New.
3888 (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
3889 (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
3890 (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
3891 (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
3893 * java/lang/natVMSecurityManager.cc (getClassContext): Fix
3896 2003-06-11 Tom Tromey <tromey@redhat.com>
3898 * java/lang/ClassLoader.java (loadClass): Not deprecated.
3899 * java/io/PrintStream.java: Not deprecated.
3901 2003-06-11 Scott Gilbertson <scottg@mantatest.com>
3903 * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
3904 (fillOval): implemented
3905 * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
3906 (fillArc): implemented.
3907 * gnu/gcj/xlib/GC.java (drawArc): added native method.
3908 (fillArc): added native method.
3909 * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
3910 (fillArc): added native method.
3912 2003-06-11 Michael Koch <konqueror@gmx.de>
3914 * java/awt/im/InputSubset.java:
3915 New version from classpath.
3917 2003-06-11 Michael Koch <konqueror@gmx.de>
3919 * javax/swing/AbstractAction.java,
3920 javax/swing/AbstractButton.java,
3921 javax/swing/AbstractCellEditor.java,
3922 javax/swing/AbstractListModel.java,
3923 javax/swing/BorderFactory.java,
3924 javax/swing/Box.java,
3925 javax/swing/BoxLayout.java,
3926 javax/swing/ButtonGroup.java,
3927 javax/swing/DefaultButtonModel.java,
3928 javax/swing/DefaultListModel.java,
3929 javax/swing/DefaultListSelectionModel.java,
3930 javax/swing/FocusManager.java,
3931 javax/swing/ImageIcon.java,
3932 javax/swing/InputMap.java,
3933 javax/swing/JApplet.java,
3934 javax/swing/JButton.java,
3935 javax/swing/JCheckBox.java,
3936 javax/swing/JCheckBoxMenuItem.java,
3937 javax/swing/JColorChooser.java,
3938 javax/swing/JComboBox.java,
3939 javax/swing/JComponent.java,
3940 javax/swing/JDesktopPane.java,
3941 javax/swing/JDialog.java,
3942 javax/swing/JEditorPane.java,
3943 javax/swing/JFileChooser.java,
3944 javax/swing/JFormattedTextField.java,
3945 javax/swing/JFrame.java,
3946 javax/swing/JLabel.java,
3947 javax/swing/JLayeredPane.java,
3948 javax/swing/JList.java,
3949 javax/swing/JMenuBar.java,
3950 javax/swing/JMenuItem.java,
3951 javax/swing/JOptionPane.java,
3952 javax/swing/JPanel.java,
3953 javax/swing/JPasswordField.java,
3954 javax/swing/JPopupMenu.java,
3955 javax/swing/JProgressBar.java,
3956 javax/swing/JRadioButton.java,
3957 javax/swing/JRadioButtonMenuItem.java,
3958 javax/swing/JRootPane.java,
3959 javax/swing/JScrollBar.java,
3960 javax/swing/JScrollPane.java,
3961 javax/swing/JSeparator.java,
3962 javax/swing/JSlider.java,
3963 javax/swing/JTabbedPane.java,
3964 javax/swing/JTable.java,
3965 javax/swing/JTextField.java,
3966 javax/swing/JToggleButton.java,
3967 javax/swing/JToolBar.java,
3968 javax/swing/JToolTip.java,
3969 javax/swing/JTree.java,
3970 javax/swing/JViewport.java,
3971 javax/swing/JWindow.java,
3972 javax/swing/KeyStroke.java,
3973 javax/swing/ListSelectionModel.java,
3974 javax/swing/LookAndFeel.java,
3975 javax/swing/RepaintManager.java,
3976 javax/swing/ScrollPaneLayout.java,
3977 javax/swing/SizeRequirements.java,
3978 javax/swing/SwingConstants.java,
3979 javax/swing/Timer.java,
3980 javax/swing/UIDefaults.java,
3981 javax/swing/UIManager.java,
3982 javax/swing/border/AbstractBorder.java,
3983 javax/swing/border/CompoundBorder.java,
3984 javax/swing/colorchooser/AbstractColorChooserPanel.java,
3985 javax/swing/colorchooser/ColorChooserComponentFactory.java,
3986 javax/swing/colorchooser/ColorSelectionModel.java,
3987 javax/swing/colorchooser/DefaultColorSelectionModel.java,
3988 javax/swing/event/AncestorEvent.java,
3989 javax/swing/event/HyperlinkEvent.java,
3990 javax/swing/event/InternalFrameAdapter.java,
3991 javax/swing/event/InternalFrameEvent.java,
3992 javax/swing/event/ListDataEvent.java,
3993 javax/swing/event/MouseInputAdapter.java,
3994 javax/swing/event/SwingPropertyChangeSupport.java,
3995 javax/swing/event/TableModelEvent.java,
3996 javax/swing/event/TreeWillExpandListener.java,
3997 javax/swing/event/UndoableEditEvent.java,
3998 javax/swing/filechooser/FileFilter.java,
3999 javax/swing/filechooser/FileSystemView.java,
4000 javax/swing/filechooser/FileView.java,
4001 javax/swing/plaf/BorderUIResource.java,
4002 javax/swing/plaf/basic/BasicDefaults.java,
4003 javax/swing/table/AbstractTableModel.java,
4004 javax/swing/table/DefaultTableCellRenderer.java,
4005 javax/swing/table/DefaultTableColumnModel.java,
4006 javax/swing/table/DefaultTableModel.java,
4007 javax/swing/table/TableColumn.java,
4008 javax/swing/text/JTextComponent.java,
4009 javax/swing/tree/AbstractLayoutCache.java,
4010 javax/swing/tree/DefaultMutableTreeNode.java,
4011 javax/swing/tree/DefaultTreeCellEditor.java,
4012 javax/swing/tree/DefaultTreeCellRenderer.java,
4013 javax/swing/tree/DefaultTreeModel.java,
4014 javax/swing/tree/DefaultTreeSelectionModel.java,
4015 javax/swing/tree/FixedHeightLayoutCache.java,
4016 javax/swing/tree/TreeCellEditor.java,
4017 javax/swing/tree/TreeModel.java,
4018 javax/swing/tree/TreeNode.java,
4019 javax/swing/tree/TreePath.java,
4020 javax/swing/tree/TreeSelectionModel.java,
4021 javax/swing/tree/VariableHeightLayoutCache.java,
4022 javax/swing/undo/AbstractUndoableEdit.java,
4023 javax/swing/undo/CompoundEdit.java,
4024 javax/swing/undo/StateEdit.java,
4025 javax/swing/undo/UndoManager.java,
4026 javax/swing/undo/UndoableEditSupport.java:
4027 New versions from classpath.
4028 * javax/swing/table/JTableHeader.java:
4029 New file from classpath.
4031 (java_awt_sources): Added javax/swing/table/JTableHeader.java.
4032 * Makefile.in: Regenerated.
4034 2003-06-11 Michael Koch <konqueror@gmx.de>
4036 * java/nio/MappedByteBuffer.java,
4037 java/nio/channels/Channels.java,
4038 java/nio/channels/ServerSocketChannel.java,
4039 java/nio/channels/spi/AbstractSelector.java:
4040 Removed unneeded imports.
4042 2003-06-11 Michael Koch <konqueror@gmx.de>
4044 * java/net/DatagramSocket.java:
4045 Partly merged with classpath.
4047 2003-06-11 Michael Koch <konqueror@gmx.de>
4049 * java/awt/Frame.java,
4050 java/awt/Graphics.java,
4052 java/awt/Robot.java,
4053 java/awt/image/ColorModel.java:
4054 New versions from classpath.
4056 2003-06-10 Michael Koch <konqueror@gmx.de>
4058 * java/io/PrintStream.java:
4059 Merged version from classpath.
4060 (close): Removed sychronized keyword. This class is not garantied to
4064 2003-06-09 Tom Tromey <tromey@redhat.com>
4066 * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
4068 (getDescent): Likewise, for "descent".
4070 2003-06-09 Scott Gilbertson <scottg@mantatest.com>
4072 * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
4073 (getMaxDescent): adjusted return value.
4074 (getAscent): modified to use metrics for 'O'.
4075 (getDescent): modified to use metrics for 'y'.
4077 2003-06-08 Anthony Green <green@redhat.com>
4079 * java/net/URLStreamHandler.java (sameFile): Fix port value
4081 * java/net/URL.java (handler): Make package private.
4082 * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
4084 2003-06-07 Tom Tromey <tromey@redhat.com>
4086 For PR libgcj/11085:
4087 * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
4088 Limit number of characters in numeric field when required.
4089 * java/text/DecimalFormat.java (parse(String,ParsePosition)):
4090 Respect maximumIntegerDigits.
4092 2003-06-08 Michael Koch <konqueror@gmx.de>
4094 * java/net/Socket.java
4095 (Socket): Dont initialize inputShutdown and outputShutdown twice,
4096 call bind() and connect() to actually do the bind and connect tasks.
4097 (bind): Connect to canonical address if bindpoint is null, create
4098 socket and bind it to bindpoint.
4099 (connect): Check for exceptions.
4101 2003-06-08 Michael Koch <konqueror@gmx.de>
4103 * java/net/DatagramSocket.java
4104 (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
4105 into the Multicast constructors.
4106 * java/net/DatagramSocketImpl.java
4107 (getOption): Removed.
4108 (setOption): Removed.
4109 * java/net/MulticastSocket.java
4110 (MulticastSocket): Call setReuseAddress (true).
4111 * java/net/SocketImpl.java
4112 (getOption): Removed.
4113 (setOption): Removed.
4115 2003-06-07 Jeff Sturm <jsturm@one-point.com>
4118 * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
4119 Test for empty vector.
4121 2003-06-06 Mark Wielaard <mark@klomp.org>
4123 * java/security/Security.java (secprops): Initialize.
4124 (loadProviders): Return boolean.
4125 (static): Check result of loadProvider calls. If necessary
4126 display WARNING and fallback to Gnu provider.
4128 2002-06-06 James Clark <jjc@jclark.com>
4130 Fix for PR libgcj/8738:
4131 * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
4132 * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
4133 * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
4134 * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
4135 (write): Always decrease avail when count is increased.
4136 * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
4137 and whether output buffer is full before increasing size.
4139 2002-06-06 Mark Wielaard <mark@klomp dot org>
4141 * java/io/PrintStream.java (writeChars(char[],int, int)):
4142 Check converter.havePendingBytes().
4143 (writeChars(String,int,int)): Likewise.
4144 * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
4145 Check converter.havePendingBytes() and flush buffer when stalled.
4147 2003-06-07 Michael Koch <konqueror@gmx.de>
4150 (O_DSYNC): Define O_DSYNC on platforms not
4151 supporting O_FSYNC (newlib).
4153 2003-06-06 Mark Wielaard <mark@klomp.org>
4155 * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
4158 2003-06-06 Michael Koch <konqueror@gmx.de>
4160 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
4161 More compile fixes from my stupid work yesterday.
4163 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
4165 * java/lang/w_exp.c (o_threshold, u_threshold): Define only
4166 if _IEEE_LIBM is undefined.
4168 2002-06-05 Loren J. Rittle <ljrittle@acm.org>
4170 * libjava/include/posix.h (O_SYNC): Define if not available
4171 and a reasonable, perhaps more conservative, replacement exists.
4172 (O_DSYNC): Likewise.
4173 * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
4175 2003-06-05 Michael Koch <konqueror@gmx.de>
4177 * javax/swing/plaf/BorderUIResource.java,
4178 javax/swing/plaf/basic/BasicDefaults.java,
4179 javax/swing/plaf/basic/BasicOptionPaneUI.java:
4180 More compile fixes for latest Border commit. I should not commit
4181 something in this heat here ...
4183 2003-06-05 Michael Koch <konqueror@gmx.de>
4185 * javax/swing/border/BevelBorder.java
4186 (BevelBorder): Removed.
4187 * javax/swing/border/EmptyBorder.java:
4189 (EmptyBorder): Removed.
4190 (getBorderInsets): Dont use l, r, t and b.
4191 * javax/swing/border/EtchedBorder.java
4192 (EtchedBorder): Removed.
4193 * javax/swing/border/LineBorder.java
4194 (LineBorder): Removed.
4195 * javax/swing/border/MatteBorder.java
4196 (MatteBorder): Removed.
4197 * javax/swing/border/TitledBorder.java
4198 (defaultBorder): Use other default for now.
4199 (defaultFont): Likewise.
4200 (defaultColor): Likewise.
4202 2003-06-05 Michael Koch <konqueror@gmx.de>
4204 * javax/swing/border/Border.java:
4205 New version from classpath.
4207 2003-06-05 Michael Koch <konqueror@gmx.de>
4209 * javax/swing/border/AbstractBorder.java,
4210 javax/swing/border/BevelBorder.java,
4211 javax/swing/border/CompoundBorder.java,
4212 javax/swing/border/EmptyBorder.java,
4213 javax/swing/border/EtchedBorder.java,
4214 javax/swing/border/LineBorder.java,
4215 javax/swing/border/MatteBorder.java,
4216 javax/swing/border/TitledBorder.java:
4217 New versions from Classpath.
4219 2003-06-05 Michael Koch <konqueror@gmx.de>
4221 * java/awt/Button.java,
4222 java/awt/Checkbox.java,
4223 java/awt/CheckboxMenuItem.java,
4224 java/awt/Choice.java,
4225 java/awt/Container.java,
4226 java/awt/Dialog.java,
4227 java/awt/EventQueue.java,
4228 java/awt/FileDialog.java,
4229 java/awt/Frame.java,
4230 java/awt/Label.java,
4233 java/awt/MenuItem.java,
4234 java/awt/Panel.java,
4235 java/awt/PopupMenu.java,
4236 java/awt/Rectangle.java,
4237 java/awt/ScrollPane.java,
4238 java/awt/Scrollbar.java,
4239 java/awt/TextArea.java,
4240 java/awt/TextField.java,
4241 java/awt/Window.java,
4242 java/awt/datatransfer/DataFlavor.java,
4243 java/awt/dnd/DragSource.java,
4244 java/awt/dnd/DragSourceContext.java,
4245 java/awt/event/HierarchyEvent.java,
4246 java/awt/event/MouseWheelEvent.java,
4247 java/awt/im/InputContext.java,
4248 java/awt/image/BufferedImage.java,
4249 java/awt/image/ComponentColorModel.java,
4250 java/awt/image/Raster.java,
4251 java/awt/image/WritableRaster.java,
4252 java/awt/peer/ComponentPeer.java,
4253 java/awt/print/PageFormat.java,
4254 java/awt/print/PrinterJob.java:
4255 New versions from Classpath.
4257 2003-06-05 Scott Gilbertson <scottg@mantatest.com>
4259 * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
4260 numberFormat.setParseIntegerOnly(true).
4262 2003-06-05 Bert Deknuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
4264 * include/posix-threads.h: Include <machine/pal.h> on OSF.
4266 2003-06-03 Andrew Haley <aph@redhat.com>
4268 * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
4269 stack volatile to prevent optimization from removing it.
4271 2003-05-27 Michael Koch <konqueror@gmx.de>
4273 * java/util/zip/Deflater.java
4274 (FILTERED): Merged documentation from classpath.
4275 * java/util/zip/DeflaterOutputStream.java
4276 (DeflaterOutputStream): Merged documentation and argument validity
4277 check from classpath.
4278 (deflate): Merged documentation from classpath.
4280 * java/util/zip/Inflater.java
4281 (Inflater): Merged class documentation from classpath.
4282 (zstream): Reordered.
4283 (is_finished): Reordered.
4284 (dict_needed): Reordered.
4285 (Inflater): Reordered, merged documentation from classpath.
4287 (finalize): Merged documentation from classpath.
4288 (finished): Likewise.
4289 (getAdler): Likewise.
4290 (getRemaining): Likewise.
4291 (getTotalIn): Likewise.
4292 (getTotalOut): Likewise.
4293 (inflate): Likewise.
4294 (needsDictionary): Likewise.
4295 (needsInput): Likewise.
4297 (setDictionary): Likewise.
4298 (setInput): Likewise.
4300 2003-05-27 Michael Koch <konqueror@gmx.de>
4302 * java/net/URLConnection.java
4303 (getHeaderFieldInt): Merged with classpath.
4305 2003-05-27 Michael Koch <konqueror@gmx.de>
4307 * java/io/PrintStream.java
4308 (PrintStream): Reformatted.
4309 (PrintStream): New method, merged from classpath.
4310 (write): Reformatted.
4312 2003-05-27 Michael Koch <konqueror@gmx.de>
4314 * java/lang/System.java:
4315 Explicitely import needed classes.
4317 2003-05-26 Michael Koch <konqueror@gmx.de>
4319 * java/net/NetPermission.java,
4320 java/net/NetworkInterface.java,
4321 java/net/PasswordAuthentication.java,
4322 java/net/SocketPermission.java:
4323 New versions from classpath.
4325 2003-05-25 Michael Koch <konqueror@gmx.de>
4327 * java/io/PushbackInputStream.java,
4328 java/net/Authenticator.java,
4329 java/net/ContentHandler.java,
4330 java/net/ContentHandlerFactory.java,
4331 java/net/DatagramSocket.java,
4332 java/net/DatagramSocketImpl.java,
4333 java/net/DatagramSocketImplFactory.java,
4334 java/net/FileNameMap.java,
4335 java/net/SocketImplFactory.java,
4336 java/net/SocketOptions.java,
4337 java/net/URLStreamHandlerFactory.java:
4338 Merged new versions from classpath.
4340 2003-05-25 Michael Koch <konqueror@gmx.de>
4342 * java/awt/Checkbox.java,
4343 java/awt/Dialog.java,
4345 java/awt/Frame.java,
4346 java/awt/ScrollPaneAdjustable.java,
4347 java/awt/Scrollbar.java,
4348 java/awt/Window.java:
4349 New versions from classpath.
4351 2003-05-22 Jeff Sturm <jsturm@one-point.com>
4354 * java/io/ObjectInputStream (enableResolveObject):
4355 Fixed spelling of permission name.
4357 2003-05-20 Michael Koch <konqueror@gmx.de>
4359 * java/io/DataInputStream.java
4360 (convertFromUTF): Merged comment from classpath.
4361 * java/io/PrintStream.java
4362 (error_occured): Renamed from error, merged comment from classpath.
4363 (PrintStream): No need to initialized error.
4364 (checkError): Replace error with error_occurred.
4365 (setError): Likewise.
4367 2003-05-20 Michael Koch <konqueror@gmx.de>
4369 * java/io/DataInputStream.java:
4370 Reformatted, Replaced < and & with html entitites in documentation.
4371 * java/io/File.java:
4373 * java/io/PrintWriter.java:
4374 Moved class documentation.
4376 2003-05-20 Michael Koch <konqueror@gmx.de>
4378 * gnu/java/nio/ByteBufferImpl.java,
4379 gnu/java/nio/CharBufferImpl.java,
4380 gnu/java/nio/CharViewBufferImpl.java,
4381 gnu/java/nio/DirectByteBufferImpl.java,
4382 gnu/java/nio/DoubleBufferImpl.java,
4383 gnu/java/nio/DoubleViewBufferImpl.java,
4384 gnu/java/nio/FloatBufferImpl.java,
4385 gnu/java/nio/FloatViewBufferImpl.java,
4386 gnu/java/nio/IntBufferImpl.java,
4387 gnu/java/nio/IntViewBufferImpl.java,
4388 gnu/java/nio/LongBufferImpl.java,
4389 gnu/java/nio/LongViewBufferImpl.java,
4390 gnu/java/nio/natDirectByteBufferImpl.cc,
4391 gnu/java/nio/ShortBufferImpl.java,
4392 gnu/java/nio/ShortViewBufferImpl.java:
4393 Moved files to java/nio.
4394 * gnu/java/nio/SocketChannelImpl.java
4396 * java/nio/ByteBuffer.java,
4397 java/nio/CharBuffer.java,
4398 java/nio/DoubleBuffer.java,
4399 java/nio/FloatBuffer.java,
4400 java/nio/IntBuffer.java,
4401 java/nio/LongBuffer.java,
4402 java/nio/ShortBuffer.java:
4403 Dont import anything.
4404 * java/nio/ByteBufferImpl.java,
4405 java/nio/CharBufferImpl.java,
4406 java/nio/CharViewBufferImpl.java,
4407 java/nio/DirectByteBufferImpl.java,
4408 java/nio/DoubleBufferImpl.java,
4409 java/nio/DoubleViewBufferImpl.java,
4410 java/nio/FloatBufferImpl.java,
4411 java/nio/FloatViewBufferImpl.java,
4412 java/nio/IntBufferImpl.java,
4413 java/nio/IntViewBufferImpl.java,
4414 java/nio/LongBufferImpl.java,
4415 java/nio/LongViewBufferImpl.java,
4416 java/nio/natDirectByteBufferImpl.cc,
4417 java/nio/ShortBufferImpl.java,
4418 java/nio/ShortViewBufferImpl.java:
4419 Moved from gnu/java/nio.
4421 (ordinary_java_source_files): Moved files from gnu/java/nio to
4423 (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
4425 * Makefile.in: Regenerated.
4427 2003-05-19 Michael Koch <konqueror@gmx.de>
4429 * java/util/Calendar.java
4430 (get): Not final anymore since JDK 1.4
4433 2003-05-19 Michael Koch <konqueror@gmx.de>
4435 * java/text/CollationKey.java:
4436 Merged copyright and dat from classpath.
4437 * java/text/RuleBasedCollator.java:
4438 Merged class documentation from classpath.
4440 2003-05-19 Michael Koch <konqueror@gmx.de>
4442 * java/nio/CharBuffer.java
4443 (toString): Compile fix.
4445 2003-05-19 Michael Koch <konqueror@gmx.de>
4447 * gnu/java/nio/ByteBufferImpl.java
4448 (putLong): Fixed conversion to bytes.
4449 (putDouble): Fixed conversion to bytes.
4450 * gnu/java/nio/DirectByteBufferImpl.java
4451 (putLong): Fixed conversion to bytes.
4452 (putDouble): Fixed conversion to bytes.
4453 * gnu/java/nio/FileLockImpl.java
4454 (isValid): Reformatted.
4455 * java/nio/Buffer.java
4456 (Buffer): Fixed off-by-one bug in handling mark.
4457 * java/nio/ByteBuffer.java:
4459 * java/nio/CharBuffer.java
4460 (toString): Don't use relative get to get string data.
4462 2003-05-16 Michael Koch <konqueror@gmx.de>
4464 * java/io/natFileDescriptorPosix.cc
4465 (open): Commented out the O_SYNC and O_DSYNC usage until its better
4468 2003-05-14 Michael Koch <konqueror@gmx.de>
4470 * gnu/java/nio/FileLockImpl.java
4471 (released): New member variable.
4472 (FileLockImpl): Initialize released.
4473 (releaseImpl): New native method.
4474 (release): Implemented.
4475 * gnu/java/nio/SelectorImpl.java: Reformatted.
4476 * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
4477 * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
4478 (accept): Throws IOException.
4479 * gnu/java/nio/SocketChannelImpl.java: Reformatted.
4480 (implConfigureBlocking): Throws IOException.
4481 (connect): Likewise.
4484 * gnu/java/nio/natFileLockImpl.cc: New file.
4485 * java/nio/channels/FileLock.java: Reformatted.
4487 (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
4488 (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
4489 * Makefile.in: Regenerated.
4491 2003-05-13 Michael Koch <konqueror@gmx.de>
4493 * gnu/java/nio/CharViewBufferImpl.java
4494 (CharViewBufferImpl): Fixed super constructor call, initialize offset.
4495 (get): Shift bits to the right direction.
4497 * gnu/java/nio/DoubleViewBufferImpl.java
4498 (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
4499 (get): Shift bits to the right direction.
4501 * gnu/java/nio/FloatViewBufferImpl.java
4502 (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
4503 (get): Shift bits to the right direction.
4505 * gnu/java/nio/IntViewBufferImpl.java
4506 (IntViewBufferImpl): Fixed super constructor call, initialize offset.
4507 (get): Shift bits to the right direction.
4509 * gnu/java/nio/LongViewBufferImpl.java
4510 (LongViewBufferImpl): Fixed super constructor call, initialize offset.
4511 (get): Shift bits to the right direction.
4513 * gnu/java/nio/ShortViewBufferImpl.java
4514 (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
4515 (get): Shift bits to the right direction.
4518 2003-05-13 Michael Koch <konqueror@gmx.de>
4520 * gnu/java/nio/natDirectByteBufferImpl.cc
4521 (allocateImpl): jlong -> RawData*.
4522 (freeImpl): Likewise.
4524 2003-05-13 Michael Koch <konqueror@gmx.de>
4526 * java/nio/channels/FileChannel.java
4527 (MapMode.m): Made it package-private to match JDK 1.4.
4528 * java/nio/charset/Charset.java
4529 (decode): Made it final to match JDK 1.4.
4531 2003-05-13 Michael Koch <konqueror@gmx.de>
4533 * java/io/FileDescriptor.java
4534 (SYNC): New constant.
4536 (getLength): Renamed from lenght() to match classpath's
4537 FileDescriptor.java.
4538 * java/io/RandomAccessFile.java
4539 (RandomAccessFile): Removed unneeded mode check, implemented mode
4540 "rws" and "rwd", merged documentation from classpath.
4541 (setLength): Reformatted.
4542 (length): Use new getLength() of FileDescriptor.
4543 * java/io/natFileDescriptorEcos.cc
4544 (getLength): Renamed from length().
4545 * java/io/natFileDescriptorPosix.cc
4546 (open): Implemented support for SYNC and DSYNC.
4547 (seek): Use getLength() instead of length().
4548 (getLength): Renamed from length().
4549 * java/io/natFileDescriptorWin32.cc
4550 (getLength): Renamed from length().
4551 (seek): Use getLength() instead of length().
4552 (available): Likewise.
4553 * gnu/java/nio/natFileChannelImpl.cc
4554 (size): Use getLength() instead of length().
4556 2003-05-13 Michael Koch <konqueror@gmx.de>
4558 * gnu/java/nio/ByteBufferImpl.java
4559 (ByteBufferImpl): All constructors revised.
4560 (slice): Reimplemented.
4561 (duplicate): Reimplemented.
4562 (asReadOnlyBuffer): Reimplemented.
4563 * java/nio/ByteBuffer.java:
4565 (array_offset): Renamed from "offset" to match all other buffer
4567 (ByteBuffer): All constructors revised.
4568 (allocateDirect): Implemented.
4569 (allocate): New implementation, documentation reworked.
4571 (get): Documentation reworked.
4572 (put): New implementation, documentation reworked.
4573 (hasArray): Documentation reworked.
4574 (arrayOffset): Likewise.
4575 (hashCode): Likewise.
4577 (compareTo): Likewise.
4579 (compact): Likewise.
4580 (isDirect): Likewise.
4582 (duplicate): Likewise.
4583 (asReadOnlyBuffer): Likewise.
4585 (ordinary_java_source_files):
4586 Added gnu/java/nio/DirectByteBufferImpl.java.
4588 Added gnu/java/nio/natDirectByteBufferImpl.cc.
4589 * Makefile.in: Regenerated.
4591 2003-05-12 Michael Koch <konqueror@gmx.de>
4593 * gnu/java/nio/ByteBufferImpl.java: Reformatted.
4594 (nio_get_*): Removed.
4595 (nio_put_*): Removed.
4596 (as*Buffer): Implemented.
4597 (compact): Implemented.
4598 (get): Documentation added.
4599 (put): Documentation added.
4600 (get*): Newly implemented.
4601 (put*): Newly implemented.
4602 * gnu/java/nio/CharBufferImpl.java: Reformatted.
4603 (CharBufferImpl): Revised.
4604 (slice): New implementation.
4605 (duplicate): New implementation.
4606 (compact): New implementation.
4607 (asReadOnlyBuffer): New implementation.
4608 (get): Documentation revised.
4609 (order): Return native byte order.
4610 * gnu/java/nio/DirectByteBufferImpl.java
4611 (allocateDirect): objects can be null not 0.
4612 * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
4613 (DoubleBufferImpl): Revised.
4614 (slice): New implementation.
4615 (duplicate): New implementation.
4616 (compact): New implementation.
4617 (asReadOnlyBuffer): New implementation.
4618 (get): Documentation revised.
4619 (order): Return native byte order.
4620 * gnu/java/nio/FloatBufferImpl.java: Reformatted.
4621 (FloatBufferImpl): Revised.
4622 (slice): New implementation.
4623 (duplicate): New implementation.
4624 (compact): New implementation.
4625 (asReadOnlyBuffer): New implementation.
4626 (get): Documentation revised.
4627 (order): Return native byte order.
4628 * gnu/java/nio/IntBufferImpl.java: Reformatted.
4629 (IntBufferImpl): Revised.
4630 (slice): New implementation.
4631 (duplicate): New implementation.
4632 (compact): New implementation.
4633 (asReadOnlyBuffer): New implementation.
4634 (get): Documentation revised.
4635 (order): Return native byte order.
4636 * gnu/java/nio/LongBufferImpl.java: Reformatted.
4637 (LongBufferImpl): Revised.
4638 (slice): New implementation.
4639 (duplicate): New implementation.
4640 (compact): New implementation.
4641 (asReadOnlyBuffer): New implementation.
4642 (get): Documentation revised.
4643 (order): Return native byte order.
4644 * gnu/java/nio/ShortBufferImpl.java: Reformatted.
4645 (ShortBufferImpl): Revised.
4646 (slice): New implementation.
4647 (duplicate): New implementation.
4648 (compact): New implementation.
4649 (asReadOnlyBuffer): New implementation.
4650 (get): Documentation revised.
4651 (order): Return native byte order.
4652 * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
4653 (CharBuffer): Revised.
4655 * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
4656 (DoubleBuffer): Revised.
4657 (allocateDirect): Removed.
4659 * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
4660 (FloatBuffer): Revised.
4661 (allocateDirect): Removed.
4663 * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
4664 (IntBuffer): Revised.
4665 (allocateDirect): Removed.
4667 * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
4668 (LongBuffer): Revised.
4669 (allocateDirect): Removed.
4671 * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
4672 (ShortBuffer): Revised.
4673 (allocateDirect): Removed.
4675 * gnu/java/nio/natByteBufferImpl.cc: Removed.
4676 * gnu/java/nio/natCharBufferImpl.cc: Removed.
4678 (ordinary_java_source_files): Added the following files:
4679 gnu/java/nio/CharViewBufferImpl.java,
4680 gnu/java/nio/DoubleViewBufferImpl.java,
4681 gnu/java/nio/FloatViewBufferImpl.java,
4682 gnu/java/nio/IntViewBufferImpl.java,
4683 gnu/java/nio/LongViewBufferImpl.java,
4684 gnu/java/nio/ShortViewBufferImpl.java
4685 (nat_source_files): Removed the following files:
4686 gnu/java/nio/natByteBufferImpl.cc,
4687 gnu/java/nio/natCharBufferImpl.cc
4688 * Makefile.in: Regenerated.
4690 2003-05-12 Michael Koch <konqueror@gmx.de>
4692 * gnu/java/nio/CharViewBufferImpl.java,
4693 gnu/java/nio/DirectByteBufferImpl.java,
4694 gnu/java/nio/DoubleViewBufferImpl.java,
4695 gnu/java/nio/FloatViewBufferImpl.java,
4696 gnu/java/nio/IntViewBufferImpl.java,
4697 gnu/java/nio/LongViewBufferImpl.java,
4698 gnu/java/nio/ShortViewBufferImpl.java,
4699 gnu/java/nio/natDirectByteBufferImpl.cc:
4700 New files, not yet to be compiled.
4702 2003-05-10 Michael Koch <konqueror@gmx.de>
4704 * javax/swing/plaf/ButtonUI.java,
4705 javax/swing/plaf/ColorUIResource.java,
4706 javax/swing/plaf/ComponentUI.java,
4707 javax/swing/plaf/DimensionUIResource.java,
4708 javax/swing/plaf/FontUIResource.java,
4709 javax/swing/plaf/IconUIResource.java,
4710 javax/swing/plaf/InsetsUIResource.java,
4711 javax/swing/plaf/LabelUI.java,
4712 javax/swing/plaf/ListUI.java,
4713 javax/swing/plaf/OptionPaneUI.java,
4714 javax/swing/plaf/PanelUI.java,
4715 javax/swing/plaf/TabbedPaneUI.java,
4716 javax/swing/plaf/TextUI.java,
4717 javax/swing/plaf/TreeUI.java,
4718 javax/swing/plaf/ViewportUI.java,
4719 javax/swing/plaf/basic/BasicBorders.java,
4720 javax/swing/plaf/basic/BasicButtonUI.java,
4721 javax/swing/plaf/basic/BasicCheckBoxUI.java,
4722 javax/swing/plaf/basic/BasicDefaults.java,
4723 javax/swing/plaf/basic/BasicGraphicsUtils.java,
4724 javax/swing/plaf/basic/BasicIconFactory.java,
4725 javax/swing/plaf/basic/BasicLabelUI.java,
4726 javax/swing/plaf/basic/BasicListUI.java,
4727 javax/swing/plaf/basic/BasicOptionPaneUI.java,
4728 javax/swing/plaf/basic/BasicPanelUI.java,
4729 javax/swing/plaf/basic/BasicRadioButtonUI.java,
4730 javax/swing/plaf/basic/BasicScrollPaneUI.java,
4731 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
4732 javax/swing/plaf/basic/BasicTextUI.java,
4733 javax/swing/plaf/basic/BasicToggleButtonUI.java,
4734 javax/swing/plaf/basic/BasicTreeUI.java,
4735 javax/swing/plaf/basic/BasicViewportUI.java,
4736 javax/swing/plaf/metal/MetalLookAndFeel.java:
4737 New versions from classpath. This adds copyrights to all files and
4738 some serialVersionUIDs.
4740 2003-05-10 Michael Koch <konqueror@gmx.de>
4742 * java/nio/CharBuffer.java
4743 (offset): Make it package-private.
4744 (backing_buffer): Likewise.
4745 * java/nio/DoubleBuffer.java
4746 (offset): Make it package-private.
4747 (backing_buffer): Likewise.
4749 * java/nio/FloatBuffer.java
4750 (offset): Make it package-private.
4751 (backing_buffer): Likewise.
4752 * java/nio/IntBuffer.java
4753 (offset): Make it package-private.
4754 (backing_buffer): Likewise.
4755 * java/nio/LongBuffer.java
4756 (offset): Make it package-private.
4757 (backing_buffer): Likewise.
4758 * java/nio/ShortBuffer.java
4759 (offset): Make it package-private.
4760 (backing_buffer): Likewise.
4762 2003-05-10 Michael Koch <konqueror@gmx.de>
4764 * java/nio/CharBuffer.java
4765 (put): Fixed precondtion check.
4766 (toString): Make it work without backing array.
4767 (put): Skip one level of method calling.
4769 2003-05-10 Michael Koch <konqueror@gmx.de>
4771 * java/security/Identity.java,
4772 java/security/IdentityScope.java,
4773 java/security/Key.java,
4774 java/security/KeyPair.java,
4775 java/security/PrivateKey.java,
4776 java/security/Provider.java,
4777 java/security/PublicKey.java,
4778 java/security/SecureRandom.java,
4779 java/security/SecureRandomSpi.java,
4780 java/security/SignedObject.java,
4781 java/security/Signer.java,
4782 java/security/cert/Certificate.java,
4783 java/security/cert/PKIXCertPathBuilderResult.java,
4784 java/security/cert/X509Certificate.java:
4785 New versions from classpath.
4787 2003-05-09 Tom Tromey <tromey@redhat.com>
4789 * Makefile.in: Rebuilt.
4790 * Makefile.am (nat_source_files): Removed old files.
4791 * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
4792 * gnu/java/nio/natFloatBufferImpl.cc: Removed.
4793 * gnu/java/nio/natIntBufferImpl.cc: Removed.
4794 * gnu/java/nio/natLongBufferImpl.cc: Removed.
4795 * gnu/java/nio/natShortBufferImpl.cc: Removed.
4797 2003-05-09 Michael Koch <konqueror@gmx.de>
4799 * gnu/java/nio/ByteBufferImpl.java
4800 (nio_cast): Removed.
4801 (ByteBufferImpl): Removed.
4802 (nio_get_Byte): Removed.
4803 (nio_put_Byte): Removed.
4804 (asByteBuffer): Removed.
4805 (asCharBuffer): Removed implementation and throw exception.
4806 (asShortBuffer): Likewise.
4807 (asIntBuffer): Likewise.
4808 (asLongBuffer): Likewise.
4809 (asFloatBuffer): Likewise.
4810 (asDoubleBuffer): Likewise.
4811 * gnu/java/nio/CharBufferImpl.java
4812 (CharBufferImpl): Removed.
4813 (nio_get_Byte): Removed.
4814 (nio_put_Byte): Removed.
4815 (asByteBuffer): Removed.
4816 * gnu/java/nio/DoubleBufferImpl.java
4817 (DoubleBufferImpl): Removed.
4818 (nio_get_Byte): Removed.
4819 (nio_put_Byte): Removed.
4820 (asByteBuffer): Removed.
4821 * gnu/java/nio/FloatBufferImpl.java
4822 (FloatBufferImpl): Removed.
4823 (nio_get_Byte): Removed.
4824 (nio_put_Byte): Removed.
4825 (asByteBuffer): Removed.
4826 * gnu/java/nio/IntBufferImpl.java
4827 (IntBufferImpl): Removed.
4828 (nio_get_Byte): Removed.
4829 (nio_put_Byte): Removed.
4830 (asByteBuffer): Removed.
4831 * gnu/java/nio/LongBufferImpl.java
4832 (LongBufferImpl): Removed.
4833 (nio_get_Byte): Removed.
4834 (nio_put_Byte): Removed.
4835 (asByteBuffer): Removed.
4836 * gnu/java/nio/ShortBufferImpl.java
4837 (ShortBufferImpl): Removed.
4838 (nio_get_Byte): Removed.
4839 (nio_put_Byte): Removed.
4840 (asByteBuffer): Removed.
4841 * gnu/java/nio/natByteBufferImpl.cc
4842 (nio_cast): Removed.
4843 (nio_get_Byte): Removed.
4844 (nio_put_Byte): Removed.
4845 * gnu/java/nio/natCharBufferImpl.cc
4846 (nio_get_Byte): Removed.
4847 (nio_put_Byte): Removed.
4849 2003-05-09 Michael Koch <konqueror@gmx.de>
4851 * java/net/JarURLConnection.java
4852 (getJarEntry): Merged documentation from classpath.
4853 (getJarFile): Likewise.
4854 (getMainAttributes): Likewise.
4855 (getAttributes): Likewise.
4856 (getManifest): Likewise.
4857 (getCertificates): Reformatted.
4858 * java/net/URLConnection.java:
4859 Little classpath merge.
4861 2003-05-09 Michael Koch <konqueror@gmx.de>
4863 * java/io/DataOutputStream.java
4864 (writeShort): Made it synchronized.
4865 (writeChar): Likewise.
4866 (writeInt): Likewise.
4867 (writeLong): Liekwise.
4868 (writeUTF): Made it synchronized, renamed argument to match classpath.
4869 * java/io/InputStreamReader.java
4870 (converter): Added documentation.
4871 (read): Merged documentation from classpath.
4872 * java/io/OutputStreamWriter.java
4873 (OutputStreamWriter): Merged documentation from classpath.
4874 (close): Reformatted.
4875 (getEncoding): Likewise.
4877 (write): Merged documentation from classpath, reformatted.
4879 2003-05-08 Tom Tromey <tromey@redhat.com>
4881 * configure.host <powerpc64*-*>: Set with_libffi_default and
4882 libgcj_interpreter to "yes".
4884 2003-05-08 Scott Gilbertson <scottg@mantatest.com>
4886 * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
4888 2003-05-06 Tom Tromey <tromey@redhat.com>
4890 * verify.cc: Reverted previous patch.
4892 2003-05-06 Michael Koch <konqueror@gmx.de>
4894 * java/io/DataOutputStream.java
4895 (write): Renamed argument to "value", merged documentation from
4897 (writeBoolean): Likewise.
4898 (writeByte): Likewise.
4899 (writeShort): Likewise.
4900 (writeChar): Likewise.
4901 (writeInt): Likewise.
4902 (writeLong): Likewise.
4903 (writeFloat): Likewise.
4904 (writeDouble): Likewise.
4905 (writeBytes): Likewise.
4906 (writeChars): Likewise.
4907 (writeUTF): Likewise.
4909 (performDelete): Added documentation.
4910 (performList): Likewise.
4911 (performMkdir): Likewise.
4912 (performSetReadOnly): Likewise.
4913 (performRenameTo): Likewise.
4914 (performSetLastModified): Likewise.
4915 (delete): Made it sychronized.
4916 (renameTo): Made it sychronized.
4917 (equals): Reformatted.
4918 (isHidden): Likewise.
4919 (listFiles): Likewise.
4920 (setReadOnly): Likewise.
4921 (listRoots): Likewise.
4922 (setLastModified): Likewise.
4923 (checkRead): Likewise.
4924 (checkWrite): Likewise.
4925 * java/io/FileInputStream.java
4926 (skip): Made it sychronized, merged from classpath.
4927 * java/io/FileOutputStream.java
4928 (write): Merged from classpath.
4929 * java/io/InputStreamReader.java:
4930 (InputStreamReader): Merged documentation from classpath.
4932 2003-05-05 Michael Koch <konqueror@gmx.de>
4934 * java/net/NetworkInterface.java
4935 (networkInterfaces): Removed.
4936 (getByName): Use getRealNetworkInterfaces() instead of
4938 (getByInetAddress): Likewise.
4939 (getNetworkInterfaces): Likewise.
4940 (toString): Fix output of addresses of an interface.
4942 2003-05-05 Michael Koch <konqueror@gmx.de>
4944 * java/io/DataInputStream.java:
4945 Merged new documentation from classpath.
4947 2003-05-03 Matt Kraai <kraai@alumni.cmu.edu>
4949 * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
4951 * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
4952 * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
4953 * gnu/awt/gtk/GtkFramePeer.java: Likewise.
4954 * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
4955 * gnu/awt/gtk/GtkMainThread.java: Likewise.
4956 * gnu/awt/gtk/GtkToolkit.java: Likewise.
4957 * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
4958 * java/security/Key.java: Likewise.
4959 * java/security/PrivateKey.java: Likewise.
4960 * java/security/Provider.java: Likewise.
4961 * java/security/PublicKey.java: Likewise.
4963 2003-05-02 Michael Koch <konqueror@gmx.de>
4966 (create): Doesnt throws any exceptions.
4967 * java/net/URLConnection.java
4968 (URLConnection): Commend added.
4969 (getExpiration): The header field is called "expires" not
4971 (getHeaderField): Merged documentation with classpath.
4972 (getHeaderFieldInt): Likewise.
4973 (getHeaderFieldDate): Likewise.
4974 (getHeaderFieldKey): Likewise.
4975 (getPermission): Likewise.
4976 (setDefaultUseCaches): Likewise.
4977 (setRequestProperty): Likewise.
4978 (addRequestProperty): Likewise.
4979 (getRequestProperty): Likewise.
4980 (getRequestProperties): Likewise.
4981 (setDefaultRequestProperty): Likewise.
4982 (getDefaultRequestProperty): Likewise.
4983 (guessContentTypeFromStream): Likewise.
4984 (getFileNameMap): Likewise.
4985 (setFileNameMap): Likewise.
4986 (setDoInput): Merged implementation and documentation with classpath.
4987 (setDoOutput): Likewise.
4988 (setAllowUserInteraction): Likewise.
4989 (setDefaultAllowUserInteraction): Likewise.
4990 (setContentHandlerFactory): Made it synchronized, merged documentation
4992 (guessContentTypeFromName): Renamed argument fname to filename to
4993 match classpath, merged documentation with classpath.
4995 2003-05-02 Michael Koch <konqueror@gmx.de>
4997 * java/net/JarURLConnection.java
4998 (JarURLConnection): Class documentation merged with classpath.
4999 (getJarFileURL): Moved and documentation merged with classpath.
5000 (getEntryName): Likewise.
5001 (JarURLConnection): Documentation merged with classpath.
5002 (getJarEntry): Likewise.
5003 (getJarFile): Likewise.
5004 * java/net/PlainDatagramSocketImpl.java:
5005 Class documentation moved.
5006 * java/net/URLConnection.java
5007 (fileNameMap): Moved and documentation merged with classpath.
5008 (factory): Likewise.
5009 (defaultAllowUserInteraction): Likewis.
5010 (defaultUseCaches): Likewise.
5011 (allowUserInteraction): Likewise.
5012 (connected): Likewise.
5014 (connect): Documentation merged with classpath.
5016 (getContentLength): Likewise.
5017 (getContentType): Likewise.
5018 (getContentEncoding): Likewise.
5019 (getExpiration): Likewise.
5020 (getDate): Likewise.
5021 (getLastModified): Likewise.
5022 (getHeaderField): Likewise.
5023 (getContent): Likewise.
5024 (getPermission): Likewise.
5025 (getInputStream): Likewise.
5026 (getOutputStream): Likewise.
5027 (toString): Likewise.
5028 (getDoInput): Likewise.
5029 (getDoOutput): Likewise.
5030 (setAllowUserInteraction): Likewise.
5031 (getAllowUserInteraction): Likewise.
5032 (setDefaultAllowUserInteraction): Likewise.
5033 (getDefaultAllowUserInteraction): Likewise.
5034 (setUseCaches): Likewise.
5035 (getUseCaches): Likewise.
5036 (setIfModifiedSince): Likewise.
5037 (getIfModifiedSince): Likewise.
5038 (setDefaultRequestProperty): Likewise.
5039 (getDefaultRequestProperty): Likewise.
5040 (setContentHandlerFactory): Likewise.
5041 (setFileNameMap): Likewise.
5043 2003-05-02 Michael Koch <konqueror@gmx.de>
5045 * java/net/InetAddress.java:
5046 Merged class documentation with classpath.
5047 * java/net/JarURLConnection.java:
5048 Explicitely import all used classes.
5049 * java/net/URL.java:
5051 * java/net/ServerSocket.java,
5052 java/net/Socket.java:
5053 New versions from classpath.
5055 2003-05-02 Michael Koch <konqueror@gmx.de>
5057 * gnu/java/nio/FileChannelImpl.java
5058 (read): New implementation.
5059 (implRead): New methods.
5060 (write): New implementation, call other write insteal of read method.
5061 (implWrite): New methods.
5062 (map): Added comment.
5063 (transferFrom): Implemented.
5064 (transferTo): Implemented.
5065 (lock): Added checks to throw exceptions.
5066 (truncate): Added check to throw exception.
5067 * gnu/java/nio/natFileChannelImpl.cc
5068 (implRead): New method.
5069 (implWrite): New method.
5070 * java/nio/ByteBuffer.java
5071 (hashCode): Fixed comment.
5072 (get): Fixed exception documentation.
5073 (put): Fixed exception documentation.
5074 * java/nio/CharBuffer.java:
5075 Added comment for later optimizations.
5077 2003-04-30 Tom Tromey <tromey@redhat.com>
5080 * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
5082 (type::compatible): Use _Jv_IsAssignableFrom.
5083 * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
5084 (_Jv_IsAssignableFrom): Work even when source or target class is
5087 2003-04-30 Michael Koch <konqueror@gmx.de>
5089 * java/text/BreakIterator.java
5090 (clone): New method.
5092 2003-04-30 Michael Koch <konqueror@gmx.de>
5094 * java/text/CollationElementIterator.java,
5095 java/text/CollationKey.java,
5096 java/text/RuleBasedCollator.java:
5097 Merged copyright and documentation from classpath and
5098 rearranged some code. No code changes done.
5100 2003-04-30 Michael Koch <konqueror@gmx.de>
5102 * java/util/regex/Matcher.java
5103 (pattern): New member variable.
5104 (appendReplacement): New method.
5105 (appendTail): New method.
5108 (group): New method.
5109 (replaceFirst): Added documentation.
5110 (replaceAll): Added documentation.
5111 (groupCount): New method.
5112 (lookingAt): New method.
5113 (matches): New method.
5114 (reset): New method.
5115 (start): New method.
5116 * java/util/regex/Pattern.java
5117 (serialVersionUID): New constant.
5118 (CANON_EQ): New constant.
5119 (CASE_INSENSITIVE): New constant.
5120 (COMMENTS): New constant.
5121 (DOTALL): New constant.
5122 (MULTILINE): New constant.
5123 (UNICODE_CASE): New constant.
5124 (UNIX_LINES): New constant.
5125 (regex): New member variable.
5126 (flags): New member variable.
5127 (Pattern): New method.
5128 (compile): Documentation added.
5129 (flags): New method.
5130 (matches): Documentation added.
5131 (matcher): Documentation added.
5132 (split): Documentation added.
5133 (pattern): New method.
5135 2003-04-30 Michael Koch <konqueror@gmx.de>
5137 * gnu/java/security/Engine.java,
5138 gnu/java/security/OID.java,
5139 gnu/java/security/der/BitString.java,
5140 gnu/java/security/der/DER.java,
5141 gnu/java/security/der/DERReader.java,
5142 gnu/java/security/der/DERValue.java,
5143 gnu/java/security/der/DERWriter.java,
5144 gnu/java/security/provider/DSAKeyFactory.java,
5145 gnu/java/security/provider/X509CertificateFactory.java,
5146 gnu/java/security/x509/X500DistinguishedName.java,
5147 gnu/java/security/x509/X509CRL.java,
5148 gnu/java/security/x509/X509CRLEntry.java,
5149 gnu/java/security/x509/X509Certificate.java,
5150 java/security/cert/CRLSelector.java,
5151 java/security/cert/CertPathBuilder.java,
5152 java/security/cert/CertPathBuilderResult.java,
5153 java/security/cert/CertPathBuilderSpi.java,
5154 java/security/cert/CertPathParameters.java,
5155 java/security/cert/CertPathValidator.java,
5156 java/security/cert/CertPathValidatorResult.java,
5157 java/security/cert/CertPathValidatorSpi.java,
5158 java/security/cert/CertSelector.java,
5159 java/security/cert/CertStore.java,
5160 java/security/cert/CertStoreParameters.java,
5161 java/security/cert/CertStoreSpi.java,
5162 java/security/cert/CollectionCertStoreParameters.java,
5163 java/security/cert/LDAPCertStoreParameters.java,
5164 java/security/cert/PKIXBuilderParameters.java,
5165 java/security/cert/PKIXCertPathBuilderResult.java,
5166 java/security/cert/PKIXCertPathChecker.java,
5167 java/security/cert/PKIXCertPathValidatorResult.java,
5168 java/security/cert/PKIXParameters.java,
5169 java/security/cert/PolicyNode.java,
5170 java/security/cert/PolicyQualifierInfo.java,
5171 java/security/cert/TrustAnchor.java,
5172 javax/security/auth/x500/X500Principal.java:
5173 New files from classpath.
5174 * gnu/java/io/ASN1ParsingException.java,
5175 gnu/java/io/Base64InputStream.java,
5176 gnu/java/security/der/DEREncodingException.java,
5177 gnu/java/security/provider/DSAParameters.java,
5178 gnu/java/security/provider/DSASignature.java,
5179 gnu/java/security/provider/Gnu.java,
5180 gnu/java/security/provider/GnuDSAPrivateKey.java,
5181 gnu/java/security/provider/GnuDSAPublicKey.java,
5182 java/security/AlgorithmParameterGenerator.java,
5183 java/security/AlgorithmParameters.java,
5184 java/security/KeyFactory.java,
5185 java/security/KeyPairGenerator.java,
5186 java/security/KeyStore.java,
5187 java/security/MessageDigest.java,
5188 java/security/SecureClassLoader.java,
5189 java/security/SecureRandom.java,
5190 java/security/Security.java,
5191 java/security/Signature.java,
5192 java/security/cert/Certificate.java,
5193 java/security/cert/CertificateFactory.java,
5194 java/security/cert/CertificateFactorySpi.java,
5195 java/security/cert/X509CRL.java,
5196 java/security/cert/X509Certificate.java,
5197 java/security/spec/DSAPublicKeySpec.java:
5198 New versions from classpath.
5199 * gnu/java/security/provider/DERReader.java,
5200 gnu/java/security/provider/DERWriter.java,
5201 java/security/Engine.java: Removed.
5203 (java_source_files, javax_source_files): Added new files.
5204 * Makefile.in: Regenerated.
5206 2003-04-29 Michael Koch <konqueror@gmx.de>
5208 * javax/swing/JTable.java
5209 (AUTO_RESIZE_ALL_COLUMNS): New constant.
5210 (AUTO_RESIZE_LAST_COLUMN): New constant.
5211 (AUTO_RESIZE_NEXT_COLUMN): New constant.
5212 (AUTO_RESIZE_OFF): New constant.
5213 (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
5214 (JTable): New method.
5215 (columnAdded): New method.
5216 (columnMarginChanged): New method.
5217 (columnMoved): New method.
5218 (columnRemoved): New method.
5219 (columnSelectionChanged): New method.
5220 (editingCanceled): New method.
5221 (editingStopped): New method.
5222 (getColumnModel): New method.
5223 (getPreferredScrollableViewportSize): New method.
5224 (getScrollableBlockIncrement): New method.
5225 (getScrollableTracksViewportHeight): New method.
5226 (getScrollableTracksViewportWidth): New method.
5227 (getScrollableUnitIncrement): New method.
5228 (getSelectedRow): New method.
5229 (getSelectionModel): New method.
5230 (tableChanged): New method.
5231 (setModel): New method.
5232 (setSelectionMode): New method.
5233 (setSelectionModel): New method.
5234 (setShowGrid): New method.
5235 (valueChanged): New method.
5236 * javax/swing/text/DefaultEditorKit.java
5237 (backwardAction): New constant.
5238 (beepAction): New constant.
5239 (beginAction): New constant.
5240 (beginLineAction): New constant.
5241 (beginParagraphAction): New constant.
5242 (beginWordAction): New constant.
5243 (copyAction): New constant.
5244 (cutAction): New constant.
5245 (defaultKeyTypedAction): New constant.
5246 (deleteNextCharAction): New constant.
5247 (deletePrevCharAction): New constant.
5248 (downAction): New constant.
5249 (endAction): New constant.
5250 (endLineAction): New constant.
5251 (endOfLineStringProperty): New constant.
5252 (endParagraphAction): New constant.
5253 (endWordAction): New constant.
5254 (forwardAction): New constant.
5255 (insertBreakAction): New constant.
5256 (insertContentAction): New constant.
5257 (insertTabAction): New constant.
5258 (nextWordAction): New constant.
5259 (pageDownAction): New constant.
5260 (pageUpAction): New constant.
5261 (pasteAction): New constant.
5262 (previousWordAction): New constant.
5263 (readOnlyAction): New constant.
5264 (selectAllAction): New constant.
5265 (selectionBackwardAction): New constant.
5266 (selectionBeginAction): New constant.
5267 (selectionBeginLineAction): New constant.
5268 (selectionBeginParagraphAction): New constant.
5269 (selectionBeginWordAction): New constant.
5270 (selectionDownAction): New constant.
5271 (selectionEndAction): New constant.
5272 (selectionEndLineAction): New constant.
5273 (selectionEndParagraphAction): New constant.
5274 (selectionEndWordAction): New constant.
5275 (selectionForwardAction): New constant.
5276 (selectionNextWordAction): New constant.
5277 (selectionPreviousWordAction): New constant.
5278 (selectionUpAction): New constant.
5279 (selectLineAction): New constant.
5280 (selectParagraphAction): New constant.
5281 (selectWordAction): New constant.
5282 (upAction): New constant.
5283 (writableAction): New constant.
5285 2003-04-29 Michael Koch <konqueror@gmx.de>
5287 * java/util/PropertyPermission.java:
5288 New version from classpath
5289 * java/util/ResourceBundle.java:
5290 Partly merged from classpath
5291 (getObject): Reformated.
5292 (tryBundle): Set foundBundle = null if no bundle found.
5294 2003-04-29 Michael Koch <konqueror@gmx.de>
5296 * javax/swing/AbstractListModel.java,
5297 javax/swing/DefaultBoundedRangeModel.java,
5298 javax/swing/DefaultSingleSelectionModel.java:
5299 New Versions from classpath.
5301 2003-04-29 Michael Koch <konqueror@gmx.de>
5303 * java/awt/Window.java
5304 (show): Call super.show() instead of setVisible() to avoid endless
5306 (hide): Call super.hide() instead of setVisible() to avoid endless
5309 2003-04-29 Michael Koch <konqueror@gmx.de>
5311 * java/util/zip/Deflater.java,
5312 java/util/zip/DeflaterOutputStream.java:
5313 Partly merged with classpath.
5315 2003-04-27 Tom Tromey <tromey@redhat.com>
5317 * java/lang/natString.cc (_Jv_AllocString): Initialize
5320 (_Jv_NewStringUtf8Const): Likewise.
5322 2003-03-29 Mohan Embar <gnustuff@thisiscool.com>
5324 * include/jvm.h: (_Jv_GetNbArgs) added
5325 (_Jv_GetSafeArg) added
5327 * prims.cc: (_Jv_GetNbArgs) implemented
5328 (_Jv_GetSafeArg) implemented
5329 (_Jv_SetArgs) implemented
5330 (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
5331 setting _Jv_argc and _Jv_argv
5332 * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
5334 * java/lang/natRuntime.cc: (insertSystemProperties) use
5335 _Jv_GetSafeArg() instead of _Jv_argv
5337 2003-04-23 Tom Tromey <tromey@redhat.com>
5339 * resolve.cc (_Jv_PrepareClass): Round size up to alignment
5340 required by this object. Search superclasses to find required
5342 (get_alignment_from_class): Use alignment of type as it appears
5344 (ALIGNOF): New macro.
5345 (struct aligner): New helper structure.
5347 2003-04-20 Scott Gilbertson <scottg@mantatest.com>
5349 * java/awt/Container.java (addImpl): Enable paint events if adding
5350 a lightweight to a heavyweight.
5351 (addNotify): Ensure that peer is created before
5352 addNotifyContainerChildren.
5353 (addNotifyContainerChildren): Enable paint events if a heavyweight
5354 container contains a lightweight.
5356 2003-04-20 Tom Tromey <tromey@redhat.com>
5358 * java/io/BufferedReader.java, java/io/BufferedWriter.java,
5359 java/io/DataInput.java, java/io/DataOutput.java: Imports from
5362 2003-04-19 Tom Tromey <tromey@redhat.com>
5364 * java/sql/Date.java, java/sql/DriverManager.java,
5365 java/sql/Time.java, java/sql/Timestamp.java: New versions from
5368 * Makefile.in: Rebuilt.
5369 * Makefile.am (ordinary_java_source_files): Added new files.
5370 * java/security/AlgorithmParameterGenerator.java,
5371 java/security/AlgorithmParameters.java, java/security/Engine.java,
5372 java/security/Identity.java, java/security/IdentityScope.java,
5373 java/security/KeyFactory.java,
5374 java/security/KeyPairGenerator.java, java/security/KeyStore.java,
5375 java/security/MessageDigest.java, java/security/Policy.java,
5376 java/security/ProtectionDomain.java,
5377 java/security/SecureRandom.java, java/security/Security.java,
5378 java/security/Signature.java, java/security/SignatureSpi.java,
5379 java/security/SignedObject.java, java/security/Signer.java,
5380 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
5381 java/security/spec/PSSParameterSpec.java,
5382 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
5383 java/security/spec/RSAOtherPrimeInfo.java: New versions from
5386 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
5388 * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
5389 (dispose): Null metrics.
5390 * gnu/awt/xlib/XToolkit.java (sync): Implement.
5391 * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
5393 (finalize): Call dispose.
5394 * gnu/gcj/xlib/Drawable.java (gcCache): New field.
5395 (gcCachedCount): New field.
5396 (finalize): New method.
5397 (putGCInCache): New method.
5398 (getGCFromCache): New method.
5399 * gnu/gcj/xlib/GC.java (GC): Make protected.
5400 (clone): Get new GC from cache if possible.
5401 (create): New static method.
5402 (dispose): Save old GC in cache.
5403 * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
5405 * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
5407 * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
5408 * java/awt/Container.java (visitChild): Dispose gfx2 when
5411 2003-04-19 Jerry Quinn <jlquinn@optonline.net>
5413 * java/math/BigInteger.java (probablePrime): New.
5414 * java/math/BigDecimal.java (unscaledValue): New.
5416 2003-04-19 Ranjit Mathew <rmathew@hotmail.com>
5418 * java/io/File.java (getAbsolutePath): On Windows, take care
5419 of paths like "C:", "G:foo\bar", etc.
5420 (getName): Make it work correctly on Windows.
5421 (getParent): Make it work correctly on Windows. For UNIX,
5422 fix bug that causes "/" to be returned as the parent of "/",
5423 instead of null as returned by Sun's JRE.
5425 * java/io/natFileWin32.cc: Change copyright owner to FSF.
5427 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
5429 * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
5431 (CACHE_SIZE_PER_DISPLAY): New field
5432 (fontMetricsCache): New field
5433 (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
5434 loading ISO10646-1 fonts.
5436 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
5438 * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
5440 * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
5443 2003-04-16 Richard Earnshaw <rearnsha@arm.com>
5445 * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
5448 2003-04-15 Jakub Jelinek <jakub@redhat.com>
5450 * configure.host (*-linux*): Don't set slow_pthread_self if primary
5451 installed libpthread is either linuxthreads with floating stacks or
5454 2003-04-14 Tom Tromey <tromey@redhat.com>
5456 * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
5459 2003-04-10 Tom Tromey <tromey@redhat.com>
5461 * verify.cc (pop64): Removed.
5462 (verify_instructions_0) <op_pop2>: Inline code. Don't throw
5463 exception if top-of-stack is narrow.
5464 (initialize_stack): Check to ensure that <init> is not static and
5467 2003-04-07 Aaron M. Renn (arenn@urbanophile.com)
5469 * java/io/ObjectStreamException
5470 * java/io/FileFilter
5471 * java/io/FilenameFilter
5472 * java/io/ObjectInput
5473 * java/io/ObjectOutput
5474 * java/io/ObjectStreamConstants
5475 Minor doc fixes, format fixes, spelling corrections, etc.
5477 Corrected code samples in Javadocs to match reality
5478 * java/io/DataOutput
5479 * java/io/ObjectInputValidation
5480 Major documentation fixes - all Javadocs re-written or updated
5482 2003-04-06 Michael Koch <konqueror@gmx.de>
5484 * java/net/URLConnection.java:
5485 Import classes directly.
5486 (URLConnection): Merged class documentation with classpath.
5487 (url): Moved, documentation from classpath added.
5488 (doInput): Moved, documentation from classpath added.
5489 (doOutput): Moved, documentation from classpath added.
5490 (allowUserInteraction): Moved.
5491 (useCaches): Moved, documentation from classpath added.
5492 (ifModifiedSince): Moved, documentation from classpath added.
5493 (connected): Moved, documentation from classpath added.
5495 2003-04-06 Michael Koch <konqueror@gmx.de>
5497 * java/io/FileInputStream.java
5498 (skip): Renamed some variables to match classpath, added
5499 checks from classpath.
5501 2003-03-31 Michael Koch <konqueror@gmx.de>
5503 * javax/swing/AbstractAction.java
5504 (AbstractAction): Reformatted.
5505 (serialVersionUID): New private member variable.
5506 * javax/swing/plaf/BorderUIResource.java
5507 (serialVersionUID): New private member variable.
5508 * javax/swing/plaf/basic/BasicLookAndFeel.java
5509 (serialVersionUID): New private member variable.
5511 2003-03-31 Michael Koch <konqueror@gmx.de>
5513 * java/sql/Date.java
5514 (valueOf): Deprecated, reformatted.
5515 (toString): Deprecated, reformatted.
5516 * java/sql/Time.java
5517 (valueOf): Deprecated, reformatted.
5518 (toString): Deprecated, reformatted.
5520 2003-03-31 Michael Koch <konqueror@gmx.de>
5522 * java/rmi/dgc/VMID.java
5523 (isUnique): Deprecated.
5525 2003-03-31 Michael Koch <konqueror@gmx.de>
5528 (separator): Merged documentation from classpath.
5529 (separatorChar): Merged documentation from classpath.
5530 (pathSeparator): Merged documentation from classpath.
5531 (pathSeparatorChar): Merged documentation from classpath.
5532 (path): Merged documentation from classpath.
5533 (canRead): Merged documentation from classpath.
5534 (canWrite): Merged documentation from classpath.
5535 (createNewFile): Merged documentation from classpath.
5536 (delete): Merged documentation from classpath.
5537 (equals): Merged documentation from classpath.
5538 (exists): Merged documentation from classpath.
5539 (File): Renamed p to name to match classpath, merged documentation
5541 (getAbsolutePath): Merged documentation from classpath.
5542 (getCanonicalPath): Merged documentation from classpath.
5543 (getCanonicalFile): Merged documentation from classpath.
5544 (getName): Merged documentation from classpath.
5545 (getParent): Merged documentation from classpath.
5546 (getParentFile): Merged documentation from classpath.
5547 (getPath): Merged documentation from classpath.
5548 (hashCode): Merged documentation from classpath.
5549 (isAbsolute): Merged documentation from classpath.
5550 (isDirectory): Merged documentation from classpath.
5551 (isFile): Merged documentation from classpath.
5552 (isHidden): Merged documentation from classpath.
5553 (lastModified): Merged documentation from classpath.
5554 (length): Merged documentation from classpath.
5555 (list): Merged documentation from classpath.
5556 (listFiles): Merged documentation from classpath.
5557 (toString): Merged documentation from classpath.
5558 (toURL): Merged documentation from classpath.
5559 (mkdir): Merged documentation from classpath.
5560 (mkdirs): Merged documentation from classpath.
5561 (createTempFile): Merged documentation from classpath.
5562 (setReadOnly): Merged documentation from classpath.
5563 (listRoots): Merged documentation from classpath.
5564 (compareTo): Merged documentation from classpath.
5565 (renameTo): Merged documentation from classpath.
5566 (setLastModified): Merged documentation from classpath.
5567 * java/io/PrintStream.java
5568 (auto_flush): Merged documentation from classpath.
5569 (PrintStream): Merged documentation from classpath.
5570 (checkError): Merged documentation from classpath.
5571 (setError): Merged documentation from classpath.
5572 (close): Merged documentation from classpath.
5573 (flush): Merged documentation from classpath.
5574 (print): Merged documentation from classpath.
5575 (println): Merged documentation from classpath.
5576 (write): Renamed count to len to match classpath,
5577 merged documentation from classpath.
5578 * java/io/RandomAccessFile.java
5579 (readShort): Merged documentation from classpath.
5580 (readUnsignedByte): Merged documentation from classpath.
5581 (readUnsignedShort): Merged documentation from classpath.
5582 (readUTF): Merged documentation from classpath.
5583 (seek): Reformatted, merged documentation from classpath.
5584 (skipBytes): Renamed some variables to match classpath, reformatted,
5585 merged documentation from classpath.
5586 (write): Merged documentation from classpath.
5587 (writeBoolean): Merged documentation from classpath.
5588 (writeByte): Merged documentation from classpath.
5589 (writeShort): Merged documentation from classpath.
5590 (writeChar): Merged documentation from classpath.
5591 (writeInt): Merged documentation from classpath.
5592 (writeLong): Merged documentation from classpath.
5593 (writeFloat): Merged documentation from classpath.
5594 (writeDouble): Merged documentation from classpath.
5595 (writeBytes): Merged documentation from classpath.
5596 (writeChars): Merged documentation from classpath.
5597 (writeUTF): Reformatted.
5598 (getChannel): Reformatted.
5600 2003-03-31 Michael Koch <konqueror@gmx.de>
5602 * java/awt/font/TextAttribute.java
5603 (readResolve): Throws java.io.InvalidObjectException.
5605 2003-03-31 Michael Koch <konqueror@gmx.de>
5607 * java/rmi/server/LoaderHandler.java
5608 (loadClass): Deprecated.
5609 (getSecurityContext): Deprecated.
5610 * java/rmi/server/LogStream.java
5611 (getDefaultStream): Deprecated.
5612 (setDefaultStream): Deprecated.
5613 (getOutputStream): Deprecated.
5614 (setOutputStream): Deprecated.
5615 (write): Deprecated.
5616 (toString): Deprecated.
5617 (parseLevel): Deprecated.
5618 * java/rmi/server/Operation.java
5619 (Operation): Deprecated.
5620 (getOperation): Deprecated.
5621 (toString): Deprecated.
5622 * java/rmi/server/RemoteCall.java
5623 (getOutputStream): Deprecated.
5624 (releaseOutputStream): Deprecated.
5625 (getInputStream): Deprecated.
5626 (releaseInputStream): Deprecated.
5627 (getResultStream): Deprecated.
5628 (executeCall): Deprecated.
5630 * java/rmi/server/RemoteRef.java
5631 (invoke): Deprecated.
5632 (newCall): Deprecated.
5634 * java/rmi/server/RemoteStub.java
5635 (setRef): Deprecated.
5636 * java/rmi/server/Skeleton.java:
5637 No need to import java.lang.Exception explicitly.
5638 (dispatch): Deprecated.
5639 (getOperations): Deprecated.
5641 2003-03-31 Michael Koch <konqueror@gmx.de>
5643 * java/rmi/dgc/VMID.java,
5644 java/rmi/registry/RegistryHandler.java,
5645 java/rmi/server/LogStream.java,
5646 java/rmi/server/Operation.java,
5647 java/rmi/server/RemoteCall.java,
5648 java/rmi/server/RemoteRef.java,
5649 java/rmi/server/RemoteStub.java:
5652 2003-03-31 Michael Koch <konqueror@gmx.de>
5654 * javax/swing/AbstractCellEditor.java,
5655 javax/swing/AbstractListModel.java,
5656 javax/swing/ActionMap.java,
5657 javax/swing/BorderFactory.java,
5658 javax/swing/ButtonGroup.java,
5659 javax/swing/DefaultBoundedRangeModel.java,
5660 javax/swing/DefaultButtonModel.java,
5661 javax/swing/DefaultCellEditor.java,
5662 javax/swing/DefaultComboBoxModel.java,
5663 javax/swing/DefaultDesktopManager.java,
5664 javax/swing/DefaultListCellRenderer.java,
5665 javax/swing/DefaultSingleSelectionModel.java,
5666 javax/swing/InputMap.java,
5667 javax/swing/JComponent.java,
5668 javax/swing/JMenu.java,
5669 javax/swing/JSlider.java,
5670 javax/swing/KeyStroke.java,
5671 javax/swing/OverlayLayout.java,
5672 javax/swing/ScrollPaneLayout.java,
5673 javax/swing/SizeRequirements.java,
5674 javax/swing/UIManager.java,
5675 javax/swing/ViewportLayout.java,
5676 javax/swing/border/AbstractBorder.java,
5677 javax/swing/colorchooser/DefaultColorSelectionModel.java,
5678 javax/swing/event/EventListenerList.java,
5679 javax/swing/table/AbstractTableModel.java,
5680 javax/swing/table/DefaultTableCellRenderer.java,
5681 javax/swing/table/DefaultTableColumnModel.java,
5682 javax/swing/table/DefaultTableModel.java,
5683 javax/swing/table/TableColumn.java,
5684 javax/swing/text/StyledEditorKit.java,
5685 javax/swing/tree/DefaultMutableTreeNode.java,
5686 javax/swing/tree/DefaultTreeModel.java,
5687 javax/swing/tree/DefaultTreeSelectionModel.java,
5688 javax/swing/tree/TreePath.java,
5689 javax/swing/undo/AbstractUndoableEdit.java,
5690 javax/swing/undo/StateEdit.java,
5691 javax/swing/undo/StateEditable.java,
5692 javax/swing/undo/UndoableEditSupport.java:
5693 Merges from classpath.
5695 2003-03-30 Tom Tromey <tromey@redhat.com>
5697 * java/lang/String.java (data, boffset, count): Documented.
5698 (String(byte[],String)): Reformatted.
5699 (String(byte[])): Likewise.
5700 (lastIndexOf(int)): Likewise.
5701 (lastIndexOf(String)): Likewise.
5702 (substring(int)): Renamed argument to match Classpath.
5703 (String(StringBuffer)): Don't share buffer if it is nearly empty.
5705 * java/lang/String.java: Miscellaneous minor formatting changes
5706 to match Classpath more closely.
5708 2003-03-29 Eric Blake <ebb9@email.byu.edu>
5709 Tom Tromey <tromey@redhat.com>
5711 * java/lang/natString.cc (hashCode): Use cachedHashCode.
5713 (charAt): Put index in exception.
5714 (contentEquals): New method.
5715 Include StringBuffer.h.
5716 * java/lang/String.java (cachedHashCode): New field.
5717 (String()): Follow classpath implementation.
5719 (contentEquals): Declare.
5720 (subSequence): Don't declare IndexOutIfBoundsException in throws
5722 (matches, replaceFirst, replaceAll, split): New methods from
5725 2003-03-29 Tom Tromey <tromey@redhat.com>
5727 * java/lang/String.java: Reordered to follow Classpath; merged in
5730 * java/text/MessageFormat.java: Removed some whitespace.
5732 * Makefile.in: Rebuilt.
5733 * Makefile.am (awt_java_source_files): Added new files.
5734 * gnu/javax/rmi/PortableServer.java,
5735 gnu/javax/rmi/CORBA/DelegateFactory.java,
5736 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
5737 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
5738 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
5739 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
5740 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
5741 javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
5742 javax/rmi/PortableRemoteObject.java,
5743 javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
5744 javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
5745 javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
5746 javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
5747 javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
5748 javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
5750 * java/lang/natClass.cc (newInstance): Put method name in
5752 (getConstructor): Likewise.
5753 (getDeclaredConstructor): Likewise.
5754 (getPrivateMethod): Likewise.
5756 2003-03-28 Tom Tromey <tromey@redhat.com>
5758 * java/lang/reflect/Proxy.java: New version from Classpath.
5759 * java/lang/Package.java: New version from Classpath.
5761 2003-03-29 Ulrich Weigand <uweigand@de.ibm.com>
5763 * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
5764 * configure: Regenerate.
5766 2003-03-28 Michael Koch <konqueror@gmx.de>
5768 * java/io/File.java:
5769 Import needed classes instead of whole packages, merged class
5770 documentation with classpath, moved constants and variables to top of
5772 * java/io/PrintStream.java:
5773 Merged class documentation with classpath, moved constants and
5774 variables to top of class.
5775 * java/io/RandomAccessFile.java
5776 (RandomAccessFile): Merged with classpath.
5777 (read): Merged with classpath).
5778 (read*): Reformatted.
5780 2003-03-28 Michael Koch <konqueror@gmx.de>
5782 * java/io/FileDescriptor.java
5783 (finalize): Throws Throwable, not IOException.
5784 * java/io/ObjectOutputStream.java
5785 (PutField.put): Doesnt throws anything.
5787 2003Â03-28 Michael Koch <konqueror@gmx.de>
5789 * java/io/FileOutputStream.java:
5790 Merged class documentation and authors with classpath.
5791 (FileOutputStream): Partly merged with classpath.
5792 (write): Merged with classpath.
5793 (getChannel): Make it synchronized instead of explicit block in this
5795 * java/io/RandomAccessFile.java:
5796 Merged class documentation and authors with classpath.
5798 2003-03-26 Tom Tromey <tromey@redhat.com>
5800 * java/lang/natRuntime.cc (insertSystemProperties): Set
5801 gnu.classpath.home.url.
5802 * Makefile.in: Rebuilt.
5803 * Makefile.am: Define LIBDIR.
5805 2003-03-25 Michael Koch <konqueror@gmx.de>
5807 * java/io/FileInputStream.java
5808 (read): Renamed b to buf and off to offset.
5809 * java/io/FileOutputStream.java
5810 (ch): Documentation added.
5811 (FileOutputStream): Documentation added.
5812 (getFD): Documentation added.
5813 (write): Documentation added.
5814 (close): Documentation added.
5815 (getChannel): Documentation added.
5817 2003-03-24 Michael Koch <konqueror@gmx.de>
5819 * java/io/DataOutputStream.java
5820 (write): Merged from classpath.
5821 * java/io/File.java:
5822 Merged copyrigth with classpath.
5823 * java/io/FileInputStream.java
5824 (getChannel): Made it synchronized instead of using a synchronized
5826 * java/io/FileOutputStream.java: Reformatted.
5827 * java/io/InputStreamReader.java
5828 (InputStreamReader): Renamed enc to encoding_name.
5829 (close): Merged documentation from classpath.
5830 (getEncoding): Merged documentation from classpath.
5831 (ready): Merged documentation from classpath.
5832 (read): Merged documentation from classpath.
5833 * java/io/LineNumberReader.java
5834 (lineNumber): Made it private.
5835 (LineNumberReader): Use Constant instead of a direct value.
5836 * java/io/OutputStreamWriter.java
5837 (OutputStreamWriter): Renamed enc to encoding_scheme, merged
5838 documentation from classpath.
5839 (close): Merged documentation from classpath.
5840 (flush): Merged documentation from classpath.
5841 (write): Merged documentation from classpath.
5842 * java/io/PrintStream.java: Reformatted.
5844 2003-03-24 Michael Koch <konqueror@gmx.de>
5846 * javax/swing/text/ComponentView.java
5847 (getComponent): Must be final.
5848 * javax/swing/tree/DefaultTreeCellRenderer.java:
5850 * javax/swing/undo/StateEditable.java:
5853 2003-03-24 Michael Koch <konqueror@gmx.de>
5855 * java/rmi/activation/ActivationInstantiator.java:
5857 * java/rmi/activation/Activator.java:
5859 * java/rmi/registry/RegistryHandler.java:
5860 Remerged from classpath.
5862 2003-03-24 Michael Koch <konqueror@gmx.de>
5864 * java/util/Date.java:
5865 Fixed documentation starting tag to make javadoc happy.
5866 * java/util/regex/Pattern.java
5867 (Pattern): Implements Serializable.
5868 * java/util/PatternSyntaxException.java
5869 (serialVersionUID): New member variable.
5871 2003-03-24 Michael Koch <koqnueror@gmx.de>
5873 * java/awt/ContainerOrderFocusTraversalPolicy.java
5874 (getFirstComponent): Implemented.
5875 (getLastComponent): Implemented.
5876 (getDefaultComponent): Implemented.
5877 (setImplicitDownCycleTraversal): Fixed implementation.
5878 * java/awt/Robot.java
5879 (Robot): Added documentation.
5880 * java/awt/Toolkit.java
5881 (getFontList): Deprecated.
5882 (getFontMetrics): Deprecated.
5883 (getPrintJob): Added documentation.
5884 (getSystemSelection): Added documentation.
5885 (getLockingKeyState): Added documentation.
5886 (setLockingKeyState): Added documentation.
5887 (createCustomCursor): Added documentation.
5888 (getBestCursorSize): Added documentation.
5889 (getMaximumCursorColors): Added documentation.
5890 (isFrameStateSupported): Added documentation.
5892 2003-03-24 Michael Koch <konqueror@gmx.de>
5894 * java/io/RandomAccessFile.java:
5895 More little merges with classpath. No code changes.
5897 2003-03-24 Michael Koch <konqueror@gmx.de>
5899 * java/net/natInetAddressNoNet.cc:
5901 * java/net/natPlainDatagramSocketImplNoNet.cc:
5902 Fixed inlcude of java/net/DatagramPacket.h.
5903 * java/net/natPlainSocketImplNoNet.cc:
5904 Include some missing classes.
5906 2003-03-24 Michael Koch <konqueror@gmx.de>
5908 * java/awt/dnd/DropTarget.java
5909 (DropTargetAutoScroller): According to the online documentation, this
5910 is protected, but in reality it is public.
5911 * java/awt/dnd/DropTargetContext.java
5912 (TransferableProxy): According to the online documentation, this
5913 is protected, but in reality it is public.
5915 2003-03-24 Michael Koch <konqueror@gmx.de>
5917 * java/io/DataInputStream.java
5918 (): Wrapped documentation line.
5919 (): Fixed @return tag.
5920 * java/io/DataOutputStream.java
5921 (written): Moved to top of class.
5922 (all methods): Merged documentation from classpath.
5923 * java/io/File.java:
5924 Merged copyright year with classpath.
5925 * java/io/FileInputStream.java
5926 (all methods): Merged documentation from classpath.
5927 * java/io/LineNumberReader.java
5928 (getLineNumber): Fixed @return tag.
5929 * java/io/ObjectInputStream.java.
5931 * java/io/ObjectOutputStream.java:
5932 Reformatted, fixed some @see tags.
5933 * java/io/OutputStreamWriter.java:
5935 * java/io/Writer.java:
5938 2003-03-24 Michael Koch <konqueror@gmx.de>
5940 * java/awt/Frame.java
5941 (DEFAULT_CURSOR): Fixed @deprecated tag.
5942 (setCursor): Fixed @deprecated tag.
5944 2003-03-24 Michael Koch <konqueror@gmx.de>
5946 * java/beans/beancontext/BeanContextEvent.java:
5949 2003-03-23 Eric Blake <ebb9@email.byu.edu>
5951 * java/lang/natStringBuffer.cc (regionMatches): New function.
5952 * java/lang/String.java (count): Now package-private.
5953 * java/lang/StringBuffer.java: Merged with Classpath.
5955 2003-03-23 Michael Koch <konqueror@gmx.de>
5957 * java/io/BufferedOutputStream.java:
5959 * java/io/BufferedReader.java:
5961 * java/io/ByteArrayOutputStream.java
5962 (size): Fixed @see tag.
5963 * java/io/CharArrayWriter.java
5964 (size): Fixed @see tag.
5965 * java/io/DataInput.java:
5967 * java/io/DataOutput.java:
5969 * java/io/DataOutputStream.java:
5970 Merged copyright years with classpath.
5971 * java/io/Externalizable.java:
5973 * java/io/FileFilter.java:
5975 * java/io/FileInputStream.java:
5976 Merged copyright years with classpath.
5977 * java/io/FileOutputStream.java:
5978 Merged copyright years with classpath.
5979 * java/io/FilePermission.java
5980 (FilePermission): Replaced @XXX with FIXME:.
5981 * java/io/FileWriter.java:
5983 * java/io/FilenameFilter.java:
5985 * java/io/FilterInputStream.java:
5987 * java/io/FilterOutputStream.java:
5989 * java/io/FilterReader.java:
5991 * java/io/FilterWriter.java:
5993 * java/io/LineNumberInputStream.java
5994 (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
5996 (getLineNumber): Fixed @return tag.
5997 * java/io/ObjectInput.java:
5999 * java/io/ObjectOutput.java:
6001 * java/io/ObjectStreamClass.java:
6003 * java/io/PrintStream.java:
6004 Merged copyright years with classpath.
6005 * java/io/PushbackReader.java
6006 (PushbackReader): Replaced @code with @param.
6007 * java/io/SerializablePermission.java:
6009 * java/io/StreamTokenizer.java
6010 (resetSyntax): Fixed @see tag.
6012 2003-03-22 Richard Henderson <rth@redhat.com>
6014 * sysdep/ia64/locks.h: Include ia64intrin.h.
6015 (compare_and_swap): Use __sync_bool_compare_and_swap.
6016 (compare_and_swap_release): Expose ar.ccv assignment.
6018 2003-03-22 Andreas Tobler <a.tobler@schweiz.ch>
6020 * include/posix.h: Add suffix for darwin dynamic libraries.
6022 2003-03-21 Michael Koch <konqueror@gmx.de>
6024 * javax/swing/Action.java
6025 (ACCELERATOR_KEY): New constant.
6026 (ACTION_COMMAND_KEY): Likewise.
6027 (MNEMONIC_KEY): Likewise.
6028 * javax/swing/UnsupportedLookAndFeelException.java
6029 (UnsupportedLookAndFeelException): Must be public.
6030 * javax/swing/WindowConstants.java
6031 (EXIT_ON_CLOSE): New constant.
6032 * javax/swing/text/BadLocationException.java
6033 (offset): New member variable.
6034 (BadLocationException): New implementation, documentation added.
6035 (offsetRequested): New method.
6036 * javax/swing/text/Caret.java:
6038 * javax/swing/text/Document.java:
6041 2003-03-21 Michael Koch <konqueror@gmx.de>
6043 * java/rmi/activation/Activatable.java
6044 (serialVersionUID): New member variable.
6045 * java/rmi/activation/ActivationGroup.java
6046 (serialVersionUID): New member variable.
6047 * java/rmi/activation/ActivationGroupDesc.java
6048 (serialVersionUID): New member variable.
6049 * java/rmi/registry/Registry.java:
6051 (Registry): Deprecated.
6052 * java/rmi/server/LoaderHandler.java
6054 (LoaderHandler): Deprecated.
6055 * java/rmi/server/LogStream.java
6057 (LogStream): Deprecated.
6058 * java/rmi/server/Operation.java
6059 (Operation): Deprecated.
6060 * java/rmi/server/RMIFailureHandler.java:
6062 * java/rmi/server/RMISocketFactory.java:
6064 * java/rmi/server/RemoteCall.java
6065 (RemoteCall): Deprecated.
6066 * java/rmi/server/RemoteStub.java:
6068 * java/rmi/server/Skeleton.java
6070 (Skeleton): Deprecated.
6072 2003-03-21 Michael Koch <konqueror@gmx.de>
6074 * java/io/LineNumberReader.java
6075 (LineNumberReader): Merged documentation with classpath.
6076 (getLineNumber): Likewise.
6077 (setLineNumber): Likewise.
6081 (readLine): Likewise.
6084 2003-03-21 Michael Koch <konqueror@gmx.de>
6086 * java/rmi/RMISecurityManager.java
6087 (checkAccept): Removed.
6088 (checkAccess): Likewise.
6089 (checkAccess): Likewise.
6090 (checkAwtEventQueueAccess): Likewise.
6091 (checkConnect): Likewise.
6092 (checkCreateClassLoader): Likewise.
6093 (checkDelete): Likewise.
6094 (checkExec): Likewise.
6095 (checkExit): Likewise.
6096 (checkLink): Likewise.
6097 (checkListen): Likewise.
6098 (checkMemberAccess): Likewise.
6099 (checkMulticast): Likewise.
6100 (checkPackageAccess): Likewise.
6101 (checkPackageDefinition): Likewise.
6102 (checkPermission): Likewise.
6103 (checkPrintJobAccess): Likewise.
6104 (checkPropertiesAccess): Likewise.
6105 (checkPropertyAccess): Likewise.
6106 (checkRead): Likewise.
6107 (checkSecurityAccess): Likewise.
6108 (checkSetFactory): Likewise.
6109 (checkSystemClipboardAccess): Likewise.
6110 (checkTopLevelWindow): Likewise.
6111 (checkWrite): Likewise.
6113 2003-03-20 Michael Koch <konqueror@gmx.de>
6115 * gnu/java/nio/FileChannelImpl.java
6117 (map_address): New member variable.
6118 (length): Make it package private.
6119 (fd): Make it package private.
6120 (buf): Make it package private.
6121 (file_obj): Make it package private.
6122 (FileChannelImpl): New constructor.
6123 (nio_mmap_file): Use RawData instead of long.
6124 (nio_munmap_file): Use RawData instead of long.
6125 (nio_msync): Use RawData instead of long.
6126 (implCloseChannel): New implementation using map_address.
6129 (create_direct_mapped_buffer): Implemented, use RawData, throws
6131 (force): Use map_address instead of address.
6132 * gnu/java/nio/MappedByteFileBuffer.java
6134 (map_address): New member variable.
6135 (MappedByteFileBuffer): Use map_address instead of address, reformated.
6136 (several methods): Use map_address instead of address, replaced long
6137 with RawData where appropriate.
6138 * gnu/java/nio/natFileChannelImpl.cc
6139 (nio_mmap_file): Replaced long with RawData.
6140 (nio_munmap_file): Replaced long with RawData.
6141 (nio_msync): Replaced long with RawData.
6142 * gnu/java/nio/natMappedByteFileBuffer.cc
6143 (several methods): Replaced long with RawData where appropriate.
6145 2003-03-20 Michael Koch <konqueror@gmx.de>
6147 * java/net/InetAddress.java,
6148 java/net/JarURLConnection.java,
6149 java/net/PlainDatagramSocketImpl.java,
6150 java/net/PlainSocketImpl.java,
6151 java/net/URLConnection.java:
6152 Merged copyright statements with classpath for easier merging.
6154 2003-03-20 Michael Koch <konqueror@gmx.de>
6156 * java/io/FileInputStream.java
6157 (getChannel): New implementation.
6158 * java/io/FileOutputStream.java
6159 (ch): New member variable.
6160 (getChannel): Implemented.
6161 * java/io/RandomAccessFile.java
6162 (RandomAccessFile): Throws FileNotFoundException instead of
6164 (getChannel): New method.
6165 (ch): New member variable.
6167 2003-03-20 Michael Koch <konqueror@gmx.de>
6169 * java/io/DataOutputStream.java,
6171 java/io/FileInputStream.java,
6172 java/io/FileOutputStream.java,
6173 java/io/InputStreamReader.java,
6174 java/io/LineNumberReader.java,
6175 java/io/OutputStreamWriter.java,
6176 java/io/PrintStream.java,
6177 java/io/RandomAccessFile.java:
6178 Merged copyright statements with classpath for easier merging.
6180 2003-03-19 Michael Koch <konqueror@gmx.de>
6182 * java/lang/Process.java:
6183 Merged from classpath.
6185 2003-03-19 Michael Koch <konqueror@gmx.de>
6187 * java/io/FileOutputStream.java
6188 (FileOutputStream): New constructor, merged from classpath.
6189 * java/io/FileWriter.java
6190 (FileWriter): New constructor, merged from classpath.
6192 2003-03-18 Michael Koch <konqueror@gmx.de>
6194 * java/awt/ScrollPane.java
6195 (ScrollPane): Rewrote for new ScrollPaneAdjustable.
6196 (getViewportSize): Likewise.
6197 (addNotify): Likewise.
6198 (removeNotify): Likewise.
6199 * java/awt/ScrollPaneAdjustable.java
6200 (ScrollPaneAdjustable): No longer extends Scrollbar.
6201 * java/beans/beancontext/BeanContextServices.java:
6203 (getService): Added throws TooManyListenersException;
6204 * java/beans/beancontext/BeanContextServicesSupport.java:
6207 2003-03-18 Michael Koch <konqueror@gmx.de>
6209 * java/io/BufferedOutputStream.java,
6210 java/io/DataInput.java,
6211 java/io/DataInputStream.java,
6212 java/io/DataOutput.java,
6213 java/io/Externalizable.java:
6214 More merges from classpath.
6216 2003-03-18 Michael Koch <konqueror@gmx.de>
6218 * configure.in: Fixed links to platform dependant java.net files.
6219 * configure: Regenerated.
6220 * java/net/natInetAddress.cc,
6221 java/net/natNetworkInterface.cc,
6222 java/net/natPlainDatagramSocketImpl.cc,
6223 java/net/natPlainSocketImpl.cc:
6226 2003-03-18 Michael Koch <konqueror@gmx.de>
6228 * configure.in: Create links to architecture dependent files,
6229 introduced PLATFORMNET variable (set to NoNet for newlib usage).
6230 * configure: Regenerated.
6231 * java/net/natInetAddressNoNet.cc,
6232 java/net/natInetAddressPosix.cc,
6233 java/net/natInetAddressWin32.cc,
6234 java/net/natNetworkInterfaceNoNet.cc,
6235 java/net/natNetworkInterfacePosix.cc,
6236 java/net/natNetworkInterfaceWin32.cc,
6237 java/net/natPlainDatagramSocketImplNoNet.cc,
6238 java/net/natPlainDatagramSocketImplPosix.cc,
6239 java/net/natPlainDatagramSocketImplWin32.cc,
6240 java/net/natPlainSocketImplNoNet.cc,
6241 java/net/natPlainSocketImplPosix.cc,
6242 java/net/natPlainSocketImplWin32.cc: New files.
6244 2003-03-18 Michael Koch <konqueror@gmx.de>
6246 * java/io/BufferedReader.java,
6247 java/io/BufferedWriter.java,
6248 java/io/ByteArrayOutputStream.java,
6249 java/io/FileFilter.java,
6250 java/io/FilePermission.java,
6251 java/io/FileReader.java,
6252 java/io/FileWriter.java,
6253 java/io/FilenameFilter.java,
6254 java/io/FilterInputStream.java,
6255 java/io/FilterOutputStream.java,
6256 java/io/FilterReader.java,
6257 java/io/FilterWriter.java,
6258 java/io/ObjectInput.java,
6259 java/io/ObjectInputValidation.java,
6260 java/io/ObjectOutput.java,
6261 java/io/ObjectStreamField.java,
6262 java/io/PipedInputStream.java,
6263 java/io/PipedReader.java,
6264 java/io/PrintWriter.java,
6265 java/io/PushbackReader.java,
6266 java/io/Reader.java,
6267 java/io/SerializablePermission.java,
6268 java/io/StringReader.java,
6269 java/io/Writer.java:
6270 Merged from classpath.
6272 2003-03-17 Michael Koch <konqueror@gmx.de>
6274 * java/awt/ScrollPaneAdjustable.java:
6277 2003-03-17 Michael Koch <konqueror@gmx.de>
6279 * java/net/DatagramSocket.java
6280 (connect): Fixed comment.
6281 * java/nio/ByteBuffer.java
6282 (hasArray): Fixed comment.
6284 2003-03-17 Michael Koch <konqueror@gmx.de>
6286 * java/beans/Beans.java:
6287 Explicitely import classes not packages.
6288 * java/beans/FeatureDescriptor.java
6289 (preferred): New member variable.
6290 (isPreferred): New method.
6291 (setPreferred): New method.
6292 * java/beans/PropertyEditorManager.java:
6293 Explicitely import used classes.
6294 * java/beans/beancontext/BeanContextChild.java:
6295 Added line wrapping.
6296 * java/beans/beancontext/BeanContextChildSupport.java:
6298 * java/beans/beancontext/BeanContextEvent.java:
6301 2003-03-17 Michael Koch <konqueror@gmx.de>
6303 * java/awt/Dialog.java
6304 (Dialog): New constructor, changed implementations, added
6306 * java/awt/ScrollPaneAdjustable.java
6307 (ScrollPaneAdjustable): Extends Object, implements Adjustable and
6309 (serialVersionUID): New member variable.
6310 (sp): New member variable.
6311 (orientation): New member variable.
6312 (value): New member variable.
6313 (minimum): New member variable.
6314 (maximum): New member variable.
6315 (visibleAmount): New member variable.
6316 (unitIncrement): New member variable.
6317 (blockIncrement): New member variable.
6318 (AdjustmentListener): New member variable.
6319 (ScrollPaneAdjustable): New implementation.
6320 (addAdjustmentListener): New method.
6321 (removeAdjustmentListener): New method.
6322 (getAdjustmentListeners): New method.
6323 (getBlockIncrement): New method.
6324 (getMaximum): New method.
6325 (getMinimum): New method.
6326 (getOrientation): New method.
6327 (getUnitIncrement): New method.
6328 (getValue): New method.
6329 (getVisibleAmount): New method.
6330 (setBlockIncrement): New method.
6331 (setMaximum): Implemented.
6332 (setMinimum): Implemented.
6333 (setUnitIncrement): New method.
6334 (setValue): New method.
6335 (setVisibleAmount): Implemented.
6336 (paramString): New stubbed method.
6337 * java/awt/Window.java
6338 (show): Call setVisible().
6339 (hide): Call setVisible().
6340 (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
6341 and WINDOW_STATE_CHANGED.
6342 (processWindowFocusEvent): New method.
6343 (processWindowStateEvent): New method.
6344 (postEvent): Deprecated.
6345 (applyResourceBundle): Deprecated.
6346 * java/awt/datatransfer/DataFlavor.java
6347 (DataFlavor): Doesn't thow ClassNotFoundException.
6349 2003-03-17 Michael Koch
6351 * javax/print/attribute/Attribute.java,
6352 javax/print/attribute/AttributeSet.java,
6353 javax/print/attribute/PrintRequestAttributeSet.java:
6356 (javax_source_files): Added new files:
6357 javax/print/attribute/Attribute.java
6358 javax/print/attribute/AttributeSet.java
6359 javax/print/attribute/PrintRequestAttributeSet.java
6360 * Makefile.in: Regenerated.
6362 2003-03-17 Michael Koch
6364 * javax/print/attribute/Attribute.java,
6365 javax/print/attribute/AttributeSet.java,
6366 javax/print/attribute/PrintRequestAttributeSet.java:
6369 (awt_java_source_files): Added new files:
6370 javax/print/attribute/Attribute.java
6371 javax/print/attribute/AttributeSet.java
6372 javax/print/attribute/PrintRequestAttributeSet.java
6373 * Makefile.in: Regenerated.
6375 2003-03-16 Tom Tromey <tromey@redhat.com>
6377 * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
6379 * java/lang/natRuntime.cc (insertSystemProperties): Use
6380 _Jv_platform_path_separator.
6381 (nativeGetLibname): Use _Jv_platform_file_separator.
6382 (_load): Use _Jv_platform_onload_names.
6383 (onload_names): New global.
6384 * include/win32.h (_Jv_platform_file_separator): New define.
6385 (_Jv_platform_path_separator): Likewise.
6386 (_Jv_platform_onload_names): Likewise.
6387 (_Jv_platform_ffi_abi): Likewise.
6388 * include/posix.h (_Jv_platform_file_separator): New define.
6389 (_Jv_platform_path_separator): Likewise.
6390 (_Jv_platform_onload_names): Likewise.
6391 (_Jv_platform_ffi_abi): Likewise.
6393 2003-03-14 Hans Boehm <Hans.Boehm@hp.com>
6395 * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
6397 2003-02-14 Jeroen Frijters <jeroen@sumatra.nl>
6399 * java/io/ObjectInputStream.java (readObject): Cleaned up the class
6401 (readFields(Object,ObjectStreamField[],boolean)): Changed argument
6402 list to Object,ObjectStreamClass, moved callReadMethod code up into
6403 readObject and added Class argument to all setXxxField calls.
6404 (callReadMethod): Changed Class argument to ObjectStreamClass to be
6405 consistent with ObjectOutputStream and to facilitate caching the
6406 Method in the future.
6407 (setBooleanField): Added Class argument.
6408 (setByteField): Likewise.
6409 (setCharField): Likewise.
6410 (setDoubleField): Likewise.
6411 (setFloatField): Likewise.
6412 (setIntField): Likewise.
6413 (setLongField): Likewise.
6414 (setShortField): Likewise.
6415 (setObjectField): Likewise.
6416 * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
6417 class hierarchy loop.
6418 (defaultWriteObject): Call writeFields with new argument list.
6419 (writeFields(Object,ObjectStreamField[],boolean): Changed argument
6420 list to Object,ObjectStreamClass, moved callWriteMethod up into
6421 writeObject and added Class argument to all getXxxField calls.
6422 (callWriteMethod): Added ObjectStreamClass argument to be able to
6423 get the proper class to call getMethod on (each class can have (or
6424 not have) its own writeObject method).
6425 (getBooleanField): Added Class argument.
6426 (getByteField): Likewise.
6427 (getCharField): Likewise.
6428 (getDoubleField): Likewise.
6429 (getFloatField): Likewise.
6430 (getIntField): Likewise.
6431 (getLongField): Likewise.
6432 (getShortField): Likewise.
6433 (getObjectField): Likewise.
6434 * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
6435 facilitate caching the Method object in the future.
6437 2003-03-12 Andreas Schwab <schwab@suse.de>
6439 * configure.in: Avoid trailing /. in toolexeclibdir.
6440 * configure: Rebuilt.
6442 2003-03-11 Michael Koch <konqueror@gmx.de>
6444 * gnu/java/nio/ByteBufferImpl.java
6445 (putInt): Use limit() instead of limit.
6446 * gnu/java/nio/CharBufferImpl.java
6447 (slice): Fixed implementation.
6448 (subSequence): Better bounds checking.
6449 * gnu/java/nio/MappedByteFileBuffer.java:
6450 Import all needed classes directly.
6451 * java/nio/ByteBuffer.java
6452 (hashCode): New dummy method.
6453 * java/nio/CharBuffer.java
6454 (array_offset): New member variable.
6455 (hasArray): Fixed documentation.
6456 (arrayOffset): Return array_offset.
6458 2003-03-10 2003-02-27 Mohan Embar <gnustuff@thisiscool.com>
6460 * include/jvm.h: removed declaration of _Jv_ThisExecutable()
6461 setter; made return value of getter const char* instead of char*
6462 * prims.cc: removed all references to _Jv_ThisExecutable().
6463 These are in the platform-specific sections now.
6464 * posix.cc: define platform-specific _Jv_ThisExecutable().
6465 Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
6466 * win32.cc: define platform-specific _Jv_ThisExecutable()
6467 using GetModuleFilename()
6468 * java/lang/natRuntime.cc: set gnu.gcj.progname property
6469 to argv[0] instead of _Jv_ThisExecutable()
6471 2003-03-10 Ranjit Mathew <rmathew@hotmail.com>
6473 * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
6474 that is set if we are using addr2name.awk instead of addr2line.
6475 (NameFinder): Set usingAddr2name if using addr2name.awk.
6476 (getExternalLabel): New native method to convert a method
6477 name to an external label.
6478 (lookup): Convert name given by addr2line to an external label
6481 * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
6482 constant representing the prefix attached to method names to
6483 convert them to an external label.
6484 (gnu::gcj::runtime::NameFinder::getExternalLabel): Define
6487 2003-03-10 Tom Tromey <tromey@redhat.com>
6489 * Makefile.in: Rebuilt.
6490 * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
6491 (JC1FLAGS): Removed -Wno-deprecated.
6493 2003-03-10 Michael Koch <konqueror@gmx.de>
6495 * java/nio/ByteOrder.java
6496 (nativeOrder): Working implementation, added documentation.
6497 (toString): Added documentation.
6499 2003-03-10 Michael Koch <konqueror@gmx.de>
6501 * java/net/DatagramSocket.java,
6502 java/net/MulticastSocket.java,
6503 java/net/Socket.java,
6505 java/net/URLConnection.java:
6506 Fixed some documentation tags to make javadoc and friends happy.
6508 2003-03-10 Michael Koch <koqnueror@gmx.de>
6510 * java/beans/beancontext/BeanContextServicesSupport.java,
6511 java/beans/beancontext/BeanContextSupport.java: New files.
6513 (awt_source_files): Added new files.
6514 * Makefile.in: Regenerated.
6516 2003-03-10 Michael Koch <konqueror@gmx.de>
6518 * java/awt/FocusTraversalPolicy.java
6519 (FocusTraversalPolicy): Documentation added.
6520 (getComponentAfter): Documentation added.
6521 (getComponentBefore): Documentation added.
6522 (getFirstComponent): Documentation added.
6523 (getLastComponent): Documentation added.
6524 (getDefaultComponent): Documentation added.
6525 (getInitialComponent): Documentation added.
6526 * java/awt/ScrollPaneAdjustable.java
6527 (sp): New member variable.
6528 (orientation): New member variable.
6529 (value): New member variable.
6530 (minimum): New member variable.
6531 (maximum): New member variable.
6532 (visibleAmount): New member variable.
6533 (unitIncrement): New member variable.
6534 (blockIncrement): New member variable.
6535 (adjustmentListener): New member variable.
6536 (ScrollPaneAdjustable): Rewrote.
6537 (addAdjustmentListener): New method.
6538 (removeAdjustmentListener): New method.
6539 (getAdjustmentListeners): New method.
6540 (getBlockIncrement): New method.
6541 (getMaximum): New method.
6542 (getMinimum): New method.
6543 (getOrientation): New method.
6544 (getUnitIncrement): New method.
6545 (getValue): New method.
6546 (getVisibleAmount): New method.
6547 (setBlockIncrement): New method.
6548 (setUnitIncrement): New method.
6549 (setMaximum): Implemented.
6550 (setMinimum): Implemented.
6551 (setValue): New method.
6552 (setVisibleAmount): Implemented.
6553 (paramString): New method.
6554 * java/awt/Window.java
6555 (show): Use setVisible(true) instead of super.show().
6556 (hide): Use sevVisible(false) instead of super.hide().
6557 (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
6558 WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
6559 (postEvent): Deprecated.
6560 (applyResourceBundle): Deprecated.
6561 (processWindowFocusEvent): New method.
6562 (processWindowStateEvent): New method.
6563 * java/awt/datatransfer/DataFlavor.java: Reindented.
6564 * java/awt/font/TextHitInfo.java
6565 (charIndex): New member variable.
6566 (leadingEdge): New member variable.
6567 (TextHitInfo): New constructor.
6568 (getCharIndex): Implemented.
6569 (isLeadingEdge): Implemented.
6570 (getInsertionIndex): Implemented.
6571 (hashCode): Access charIndex directly.
6572 (equals): Reformated.
6573 (leading): Implemented.
6574 (trailing): Implemented.
6575 (beforeOffset): Implemented.
6576 (afterOffset): Implemented.
6577 (getOtherHit): Implemented.
6578 (getOffsetHit): Implemented.
6579 (toString): Implemented.
6580 * java/awt/image/BufferedImage.java
6581 (BufferedImage): Implements WritableRenderedImage.
6582 (observers): New member variable.
6583 (addTileObserver): New method.
6584 (removeTileObserver): New method.
6586 2003-03-09 Tom Tromey <tromey@redhat.com>
6589 * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
6590 to lseek. Return 0 if we can't compute the value.
6592 2003-03-03 Michael Koch <konqueror@gmx.de>
6594 * java/net/NetworkInterface.java: Merged with classpath.
6596 2003-03-03 Tom Tromey <tromey@redhat.com>
6598 * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
6600 (handle_ret_insn): Fail if returning to jsr that appears at end of
6603 2003-03-03 Michael Koch <konqueror@gmx.de>
6606 (ordinary_java_source_files):
6607 Added gnu/java/nio/MappedByteFileBuffer.java.
6609 Added gnu/java/nio/natMappedByteFileBuffer.cc.
6610 * Makefile.in: Regenerated.
6612 2003-03-03 Michael Koch <konqueror@gmx.de>
6614 * java/net/DatagramSocket.java
6615 (connect): Merged comment from classpath.
6616 (receive): Merged documentation from classpath.
6617 * java/net/Socket.java
6618 (setSoTimeout): Clarified documentation.
6620 (getPath): Merged from classpath.
6621 (getUserInfo): Merged from classpath.
6622 (getQuery): Merged from classpath.
6623 * java/net/URLStreamHandler.java
6624 (toExternalForm): Merged from classpath.
6626 2003-03-02 Mark Wielaard <mark@klomp.org>
6628 * java/util/Properties.java (load): Only skip line if the first
6629 character is a comment, whitespaces don't count.
6631 2003-03-02 Michael Koch <konqueror@gmx.de>
6633 * java/net/NetPermission.java:
6634 Merged copyright with classpath.
6636 2003-03-02 Michael Koch <konqueror@gmx.de>
6638 * java/lang/Package.java:
6639 Remerged from classpath.
6641 2003-03-02 Michael Koch <konqueror@gmx.de>
6643 * java/net/HttpURLConnection.java
6644 (HTTP_SERVER_ERROR): Deprecated.
6645 * java/net/MulticastSocket.java
6646 (send): Replaced checkMulticast with appropriate checkPermission call,
6648 * java/net/URLDecoder.java
6649 (decode): Deprecated.
6650 * java/net/URLEncoder.java
6651 (encode): Deprecated.
6653 2003-03-02 Michael Koch <konqueror@gmx.de>
6655 * javax/swing/text/Caret.java
6656 (getMagicCaretPosition): Fixed typo in method name.
6657 * javax/swing/text/DefaultCaret.java
6658 (getMagicCaretPosition): Fixed typo in method name.
6660 2003-03-02 Michael Koch <konqueror@gmx.de>
6662 * java/awt/List.java
6663 (setMultipleSelections): Deprecated.
6664 (delItem): Deprecated.
6665 * java/awt/MenuComponent.java
6666 (getPeer): Deprecated.
6667 * java/awt/ScrollPane.java
6668 (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
6669 * java/awt/dnd/MouseDragGestureRecognizer.java
6670 (mouseClicked): Added comment.
6671 (mousePressed): Added comment.
6672 (mouseReleased): Added comment.
6673 (mouseEntered): Added comment.
6674 (mouseExited): Added comment.
6675 (mouseDragged): Added comment.
6676 (mouseMoved): Added comment.
6677 * java/awt/event/KeyEvent.java
6678 (KeyEvent): Deprecated.
6679 (setModifiers): Deprecated.
6681 2003-03-02 Michael Koch <konqueror@gmx.de>
6683 * gnu/java/nio/FileChannelImpl.java
6684 (fd): Type FileDescriptor instead of int.
6685 (lengthInternal): Removed.
6686 (FileChannelImpl): Fixed arguments, check type of file object.
6687 (size): Made it native.
6688 (implPosition): New native method.
6689 (implTruncate): New native method.
6690 (position): Implemented.
6691 (truncate): Implemented.
6692 (nio_mmap_file): Changed arguments.
6693 (nio_munmap_file): Changed arguments.
6694 (nio_msync): Changed arguments.
6695 * gnu/java/nio/natFileChannelImpl.cc
6696 (lengthInternal): Removed.
6698 (implPosition): New method.
6699 (implTruncate): New method.
6700 (nio_mmap_file): Changed arguments.
6701 (nio_munmap_file): Changed arguments.
6702 (nio_msync): Changed arguments.
6704 2003-03-02 Michael Koch <konqueror@gmx.de>
6706 * java/awt/dnd/DropTargetContext.java:
6707 Compile fix: Forgot to commit import.
6709 2003-03-02 Michael Koch <konqueror@gmx.de>
6711 * java/awt/Component.java,
6712 java/awt/ScrollPane.java:
6715 2003-03-02 Michael Koch <konqueror@gmx.de>
6717 * java/awt/dnd/DnDEventMulticaster.java: New file.
6718 * java/awt/dnd/DragSource.java
6719 (flavorMap): New member variable.
6720 (dragSourceListener): New member variable.
6721 (dragSourceMotionListener): New member variable.
6722 (getFlavorMap): Implemented.
6723 (createDragGestureRecognizer): Implemented.
6724 (addDragSourceListener): Implemented.
6725 (removeDragSourceListener): Implemented.
6726 (getDragSourceListeners): Implemented.
6727 (addDragSourceMotionListener): Implemented.
6728 (removeDragSourceMotionListener): Implemented.
6729 (getDragSourceMotionListeners): Implemented.
6730 (getListeners): Implemented.
6731 * java/awt/dnd/DragSourceContext.java
6732 (peer): New member variable.
6733 (cursor): New member variable.
6734 (transferable): New member variable.
6735 (trigger): New member variable.
6736 (dragSourceListener): New member variable.
6737 (image): New member variable.
6738 (offset): New member variable.
6739 (DragSourceContext): Implemented.
6740 (getDragSource): Implemented.
6741 (getComponent): Implemented.
6742 (getTrigger): Implemented.
6743 (getSourceActions): Implemented.
6744 (setCursor): Implemented.
6745 (getCursor): Implemented.
6746 (addDragSourceListener): Implemented.
6747 (removeDragSourceListener): Implemented.
6748 (getTransferable): Implemented.
6749 * java/awt/dnd/DropTarget.java
6750 (DropTargetAutoScroller.component): New member variable.
6751 (DropTargetAutoScroller.point): New member variable.
6752 (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
6753 (DropTargetAutoScroller.updateLocation): Implemented.
6754 (active): Renamed from isActive, defaults to true now.
6755 (component): New member variable.
6756 (flavorMap): New member variable.
6757 (actions): New member variable.
6758 (dropTargetContext): New member variable.
6759 (dropTargetListener): New member variable.
6760 (DropTarget): Implemented.
6761 (getComponent): Implemented.
6762 (setComponent): Implemented.
6763 (setDefaultActions): Implemented.
6764 (getDefaultActions): Implemented.
6765 (setActive): Use active instead of isActive.
6766 (isActive): Use active instead of isActive.
6767 (addDropTargetListener): Implemented.
6768 (removeDropTargetListener): Implemented.
6769 (getFlavorMap): Implemented.
6770 (setFlavorMap): Implemented.
6771 (getDropTargetContext): Implemented.
6772 (createDropTargetContext): Implemented.
6773 (createDropTargetAutoScroller): Implemented.
6774 * java/awt/dnd/DropTargetContext.java
6775 (TransferableProxy.getTransferDataFlavors): Implemented.
6776 (TransferableProxy.isDataFlavorSupported): Implemented.
6777 (TransferableProxy.getTransferData): Implemented.
6778 (dropTarget): New member variable.
6779 (dtcp): New member variable.
6780 (DropTargetContext): New package private constructor.
6781 (getDropTarget): Implemented.
6782 (getComponent): Implemented.
6783 (addNotify): Implemented.
6784 (removeNotify): Implemented.
6785 (getCurrentDataFlavorsAsList): Implemented.
6786 (isDataFlavorSupported): Implemented.
6787 * java/awt/dnd/MouseDragGestureRecognizer.java
6788 (registerListeners): Implemented.
6789 (unregisterListeners): Implemented.
6791 (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
6792 * Makefile.in: Regenerated.
6794 2003-03-02 Michael Koch <konqueror@gmx.de>
6796 * java/awt/Component.java
6797 (eventTypeEnabled): New method.
6798 (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
6799 * java/awt/Container.java
6800 (changeSupport): New member variable.
6801 (addPropertyChangeListener): New methods.
6802 * java/awt/ContainerOrderFocusTraversalPolicy.java
6803 (ContainerOrderFocusTraversalPolicy): Added comment.
6804 (getComponentAfter): Throw exception, documentation added.
6805 (getComponentBefore): Throw exception, documentation added.
6806 (getFirstComponent): Throw exception, documentation added.
6807 (getLastComponent): Throw exception, documentation added.
6808 (getDefaultComponent): Throw exception, documentation added.
6809 * java/awt/EventQueue.java: Reindented.
6810 * java/awt/FocusTraversalPolicy.java:
6811 (FocusTraversalPolicy): Added comment.
6812 (getComponentAfter): Documentation added.
6813 (getComponentBefore): Documentation added.
6814 (getFirstComponent): Documentation added.
6815 (getLastComponent): Documentation added.
6816 (getDefaultComponent): Documentation added.
6817 (getInitialComponent): Documentation added.
6818 * java/awt/ScrollPane.java
6819 (wheelScrollingEnabled): New member variable.
6820 (ScrollPane): Initialize wheelScollingEnabled.
6821 (eventTypeEnabled): New method.
6822 (isWheelScrollingEnabled): New method.
6823 (setWheelScrollingEnabled): New method.
6825 2003-03-02 Michael Koch <konqueror@gmx.de>
6827 * java/net/DatagramSocket.java
6828 (closed): New member variable.
6829 (close): Use closed variable.
6830 (getInetAddress): No need to call isConnected().
6831 (getPort): No need to call isConnected().
6832 (disconnect): Reset remoteAddress and remotePort, fixed typo.
6833 (isClosed): Reimplemented.
6835 2003-03-02 Michael Koch <konqueror@gmx.de>
6837 * configure.in: Added check for memory mapping of files.
6838 * configure: Regenerated.
6839 * config.h.in: Regenerated.
6841 2003-03-01 Jason Thorpe <thorpej@wasabisystems.com>
6843 * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
6844 (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
6846 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
6848 * java/io/File.java (normalizePath): Remove trailing separator
6849 on Windows only if path is not of the form "x:\".
6851 * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
6852 (java::io::File::attr): Change formatting a bit and use
6853 WIN32_EPOCH_MILLIS instead of magic numbers.
6854 (java::io::File::isAbsolute): Path must have at least 3
6855 characters for a UNC network path.
6856 (java::io::File::init_native): Define.
6857 (java::io::File::performCreate): Likewise.
6858 (java::io::File::performSetReadOnly): Likewise.
6859 (java::io::File::performSetLastModified): Likewise.
6860 (java::io::File::performListRoots): Likewise.
6862 2003-03-01 Tom Tromey <tromey@redhat.com>
6864 * java/lang/natObject.cc: Don't include assert.h.
6865 (heavy_lock_obj_finalization_proc): Use JvAssert.
6866 (remove_all_heavy): Likewise.
6867 (_Jv_MonitorEnter): Likewise.
6868 (_Jv_MonitorExit): Likewise.
6871 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
6873 * java/io/File (getAbsolutePath): Prefix drive specifier on
6874 Windows for paths starting with a '\'.
6875 (toURL): Make URL more consistent with what Sun's JDK returns.
6877 * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
6878 true only if the path is a UNC network path or it starts with a
6881 * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
6882 Be prepared to handle either '/' or '\\' in the file path for
6883 Windows if using the "file" protocol.
6884 Canonicalise the file path if using a relative path in the given
6885 context and the "file" protocol.
6887 2003-03-01 Mohan Embar <gnustuff@thisiscool.com>
6889 * java/lang/natWin32Process.cc (startProcess): Double-quote each
6890 program array element passed to CreateProcess.
6892 2003-03-01 Tom Tromey <tromey@redhat.com>
6894 * java/rmi/registry/RegistryHandler.java: Deprecate.
6896 2003-03-01 Tom Tromey <tromey@redhat.com>
6898 * javax/accessibility/AccessibleEditableText.java,
6899 javax/accessibility/AccessibleHyperlink.java: New versions from
6902 * gnu/java/locale/LocaleInformation_af_ZA.java,
6903 gnu/java/locale/LocaleInformation_ar_AE.java,
6904 gnu/java/locale/LocaleInformation_ar_BH.java,
6905 gnu/java/locale/LocaleInformation_ar_DZ.java,
6906 gnu/java/locale/LocaleInformation_ar_EG.java,
6907 gnu/java/locale/LocaleInformation_ar_IN.java,
6908 gnu/java/locale/LocaleInformation_ar_IQ.java,
6909 gnu/java/locale/LocaleInformation_ar_JO.java,
6910 gnu/java/locale/LocaleInformation_ar_KW.java,
6911 gnu/java/locale/LocaleInformation_ar_LB.java,
6912 gnu/java/locale/LocaleInformation_ar_LY.java,
6913 gnu/java/locale/LocaleInformation_ar_MA.java,
6914 gnu/java/locale/LocaleInformation_ar_OM.java,
6915 gnu/java/locale/LocaleInformation_ar_QA.java,
6916 gnu/java/locale/LocaleInformation_ar_SD.java,
6917 gnu/java/locale/LocaleInformation_ar_SY.java,
6918 gnu/java/locale/LocaleInformation_ar_TN.java,
6919 gnu/java/locale/LocaleInformation_ar_YE.java,
6920 gnu/java/locale/LocaleInformation_be_BY.java,
6921 gnu/java/locale/LocaleInformation_bn_IN.java,
6922 gnu/java/locale/LocaleInformation_br_FR.java,
6923 gnu/java/locale/LocaleInformation_bs_BA.java,
6924 gnu/java/locale/LocaleInformation_ca_ES.java,
6925 gnu/java/locale/LocaleInformation_cs_CZ.java,
6926 gnu/java/locale/LocaleInformation_cy_GB.java,
6927 gnu/java/locale/LocaleInformation_da_DK.java,
6928 gnu/java/locale/LocaleInformation_de_AT.java,
6929 gnu/java/locale/LocaleInformation_de_BE.java,
6930 gnu/java/locale/LocaleInformation_de_CH.java,
6931 gnu/java/locale/LocaleInformation_de_DE.java,
6932 gnu/java/locale/LocaleInformation_de_LU.java,
6933 gnu/java/locale/LocaleInformation_el_GR.java,
6934 gnu/java/locale/LocaleInformation_en_AU.java,
6935 gnu/java/locale/LocaleInformation_en_BW.java,
6936 gnu/java/locale/LocaleInformation_en_CA.java,
6937 gnu/java/locale/LocaleInformation_en_DK.java,
6938 gnu/java/locale/LocaleInformation_en_GB.java,
6939 gnu/java/locale/LocaleInformation_en_HK.java,
6940 gnu/java/locale/LocaleInformation_en_IE.java,
6941 gnu/java/locale/LocaleInformation_en_IN.java,
6942 gnu/java/locale/LocaleInformation_en_NZ.java,
6943 gnu/java/locale/LocaleInformation_en_PH.java,
6944 gnu/java/locale/LocaleInformation_en_SG.java,
6945 gnu/java/locale/LocaleInformation_en_US.java,
6946 gnu/java/locale/LocaleInformation_en_ZA.java,
6947 gnu/java/locale/LocaleInformation_en_ZW.java,
6948 gnu/java/locale/LocaleInformation_es_AR.java,
6949 gnu/java/locale/LocaleInformation_es_BO.java,
6950 gnu/java/locale/LocaleInformation_es_CL.java,
6951 gnu/java/locale/LocaleInformation_es_CO.java,
6952 gnu/java/locale/LocaleInformation_es_CR.java,
6953 gnu/java/locale/LocaleInformation_es_DO.java,
6954 gnu/java/locale/LocaleInformation_es_EC.java,
6955 gnu/java/locale/LocaleInformation_es_ES.java,
6956 gnu/java/locale/LocaleInformation_es_GT.java,
6957 gnu/java/locale/LocaleInformation_es_HN.java,
6958 gnu/java/locale/LocaleInformation_es_MX.java,
6959 gnu/java/locale/LocaleInformation_es_NI.java,
6960 gnu/java/locale/LocaleInformation_es_PA.java,
6961 gnu/java/locale/LocaleInformation_es_PE.java,
6962 gnu/java/locale/LocaleInformation_es_PR.java,
6963 gnu/java/locale/LocaleInformation_es_PY.java,
6964 gnu/java/locale/LocaleInformation_es_SV.java,
6965 gnu/java/locale/LocaleInformation_es_US.java,
6966 gnu/java/locale/LocaleInformation_es_UY.java,
6967 gnu/java/locale/LocaleInformation_es_VE.java,
6968 gnu/java/locale/LocaleInformation_et_EE.java,
6969 gnu/java/locale/LocaleInformation_eu_ES.java,
6970 gnu/java/locale/LocaleInformation_fa_IR.java,
6971 gnu/java/locale/LocaleInformation_fi_FI.java,
6972 gnu/java/locale/LocaleInformation_fo_FO.java,
6973 gnu/java/locale/LocaleInformation_fr_BE.java,
6974 gnu/java/locale/LocaleInformation_fr_CA.java,
6975 gnu/java/locale/LocaleInformation_fr_CH.java,
6976 gnu/java/locale/LocaleInformation_fr_FR.java,
6977 gnu/java/locale/LocaleInformation_fr_LU.java,
6978 gnu/java/locale/LocaleInformation_ga_IE.java,
6979 gnu/java/locale/LocaleInformation_gd_GB.java,
6980 gnu/java/locale/LocaleInformation_gl_ES.java,
6981 gnu/java/locale/LocaleInformation_gv_GB.java,
6982 gnu/java/locale/LocaleInformation_he_IL.java,
6983 gnu/java/locale/LocaleInformation_hi_IN.java,
6984 gnu/java/locale/LocaleInformation_hr_HR.java,
6985 gnu/java/locale/LocaleInformation_hu_HU.java,
6986 gnu/java/locale/LocaleInformation_id_ID.java,
6987 gnu/java/locale/LocaleInformation_it_CH.java,
6988 gnu/java/locale/LocaleInformation_it_IT.java,
6989 gnu/java/locale/LocaleInformation_iw_IL.java,
6990 gnu/java/locale/LocaleInformation_ja_JP.java,
6991 gnu/java/locale/LocaleInformation_ka_GE.java,
6992 gnu/java/locale/LocaleInformation_kl_GL.java,
6993 gnu/java/locale/LocaleInformation_ko_KR.java,
6994 gnu/java/locale/LocaleInformation_kw_GB.java,
6995 gnu/java/locale/LocaleInformation_lt_LT.java,
6996 gnu/java/locale/LocaleInformation_lv_LV.java,
6997 gnu/java/locale/LocaleInformation_mi_NZ.java,
6998 gnu/java/locale/LocaleInformation_mk_MK.java,
6999 gnu/java/locale/LocaleInformation_mr_IN.java,
7000 gnu/java/locale/LocaleInformation_mt_MT.java,
7001 gnu/java/locale/LocaleInformation_nl_BE.java,
7002 gnu/java/locale/LocaleInformation_nl_NL.java,
7003 gnu/java/locale/LocaleInformation_nn_NO.java,
7004 gnu/java/locale/LocaleInformation_no_NO.java,
7005 gnu/java/locale/LocaleInformation_oc_FR.java,
7006 gnu/java/locale/LocaleInformation_pl_PL.java,
7007 gnu/java/locale/LocaleInformation_pt_BR.java,
7008 gnu/java/locale/LocaleInformation_pt_PT.java,
7009 gnu/java/locale/LocaleInformation_ro_RO.java,
7010 gnu/java/locale/LocaleInformation_ru_RU.java,
7011 gnu/java/locale/LocaleInformation_ru_UA.java,
7012 gnu/java/locale/LocaleInformation_se_NO.java,
7013 gnu/java/locale/LocaleInformation_sk_SK.java,
7014 gnu/java/locale/LocaleInformation_sl_SI.java,
7015 gnu/java/locale/LocaleInformation_sq_AL.java,
7016 gnu/java/locale/LocaleInformation_sr_YU.java,
7017 gnu/java/locale/LocaleInformation_sv_FI.java,
7018 gnu/java/locale/LocaleInformation_sv_SE.java,
7019 gnu/java/locale/LocaleInformation_ta_IN.java,
7020 gnu/java/locale/LocaleInformation_te_IN.java,
7021 gnu/java/locale/LocaleInformation_tg_TJ.java,
7022 gnu/java/locale/LocaleInformation_tl_PH.java,
7023 gnu/java/locale/LocaleInformation_tr_TR.java,
7024 gnu/java/locale/LocaleInformation_uk_UA.java,
7025 gnu/java/locale/LocaleInformation_ur_PK.java,
7026 gnu/java/locale/LocaleInformation_uz_UZ.java,
7027 gnu/java/locale/LocaleInformation_vi_VN.java,
7028 gnu/java/locale/LocaleInformation_yi_US.java,
7029 gnu/java/locale/LocaleInformation_zh_CN.java,
7030 gnu/java/locale/LocaleInformation_zh_HK.java,
7031 gnu/java/locale/LocaleInformation_zh_SG.java,
7032 gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
7033 info; from Classpath.
7035 * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
7036 isPaintPending): New methods.
7037 * gnu/awt/xlib/XFramePeer.java (getState, setState,
7038 setMaximizedBounds): New methods.
7039 (beginLayout, endLayout, isPaintPending): Likewise.
7040 * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
7041 (requestFocus): Likewise.
7042 (isObscured): Likewise.
7043 (canDetermineObscurity): Likewise.
7044 (coalescePaintEvent): Likewise.
7045 (updateCursorImmediately): Likewise.
7046 (createVolatileImage): Likewise.
7047 (handlesWheelScrolling): Likewise.
7048 (createBuffers): Likewise.
7049 (getBackBuffer): Likewise.
7051 (destroyBuffers): Likewise.
7053 * Makefile.in: Rebuilt.
7054 * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
7056 * gnu/java/awt/GLightweightPeer.java,
7057 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
7058 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7059 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
7060 gnu/java/awt/peer/gtk/GtkFramePeer.java,
7061 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
7062 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
7063 java/awt/dnd/peer/DragSourceContextPeer.java,
7064 java/awt/dnd/peer/DropTargetContextPeer.java,
7065 java/awt/peer/ButtonPeer.java,
7066 java/awt/peer/CheckboxMenuItemPeer.java,
7067 java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
7068 java/awt/peer/ComponentPeer.java,
7069 java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
7070 java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
7071 java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
7072 java/awt/peer/MenuBarPeer.java,
7073 java/awt/peer/MenuComponentPeer.java,
7074 java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
7075 java/awt/peer/PopupMenuPeer.java,
7076 java/awt/peer/ScrollPanePeer.java,
7077 java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
7078 java/awt/peer/TextComponentPeer.java,
7079 java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
7080 New versions from Classpath.
7081 * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
7082 * java/awt/peer/RobotPeer.java: Likewise.
7084 2003-03-01 Mark Wielaard <mark@klomp.org>
7086 * java/io/ObjectInputStream.java: Reindent.
7087 * java/io/ObjectOutputStream.java: Likewise.
7089 2003-02-28 Hans Boehm <Hans.Boehm@hp.com>
7091 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
7092 jvalue for each argument. Simplify.
7093 * testsuite/libjava.jni/calls.c (docall),
7094 testsuite/libjava.jni/calls.java (longpb_f): check for argument
7097 2003-02-28 Mark Wielaard <mark@klomp.org>
7099 * Makefile.am (nat_source_files): Remove
7100 java/io/natObjectOutputStream.cc.
7101 * Makefile.in: Regenerated.
7102 * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
7103 * java/io/ObjectStreamField.java (typename): New field.
7104 (ObjectStreamField(String, Class)): Initialize new field.
7105 (ObjectStreamField(String, String)): New Constructor.
7106 (getTypeCode): Use new field.
7107 (getTypeString): Use new field.
7108 * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
7109 ObjectStreamExceptions. Remember and reset old BlockDataMode.
7110 Handle reading of Proxy classes. Never drain(), just write
7111 TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
7112 (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
7113 (flush): Call flush(), not just drain().
7114 (writeBoolean): Always use blockDataOutput.
7115 (writeByte): Likewise.
7116 (writeShort): Likewise.
7117 (writeChar): Likewise.
7118 (writeInt): Likewise.
7119 (writeLong): Likewise.
7120 (writeFloat): Likewise.
7121 (writeDouble): Likewise.
7122 (writeBytes): Likewise.
7123 (putfield (put(String,Object))): Throw IllegalArgumentException if
7124 field cannot be found.
7125 (putfield (write(ObjectOutput))): Remember old BlockDataMode.
7126 (writeArraySizeAndElements): Write byte[] in one go.
7127 (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
7128 set BlockDataMode to false.
7129 (annotateProxyClass): New method.
7130 (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
7131 (getField): No longer native.
7132 (getMethod): Likewise.
7133 (setBlockDataMode): Always drain() on switch, return old mode.
7134 (static): New static code block.
7135 * java/io/natObjectOutputStream.cc: Removed.
7136 * java/io/ObjectInputStream.java (getField): No longer native.
7137 (getMethod): Likewise.
7138 (readObject): Remember and reset old BlockDataMode. Track whether
7139 object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
7141 (defaultReadObject): Set BlockDataMode to false during readFields.
7142 (resolveClass): Create new SecurityManager if necessary.
7143 Use Class.forName() if null ClassLoader found.
7144 (read(byte[],int,int): Copy remaining bytes to data before calling
7146 (readFields): Set and reset BlockDataMode on call_read_method.
7147 Catch NoSuchFieldErrors.
7148 (setBlockDataMode): Return old mode.
7149 (static): New static code block.
7150 * java/io/natObjectInputStream.cc (getField): Removed.
7151 (getMethod): Likewise.
7153 2003-02-27 Michael Koch <konqueror@gmx.de>
7155 * java/beans/Beans.java,
7156 java/beans/FeatureDescriptor.java
7157 java/beans/PropertyEditorManager.java:
7158 Reformated to GNU style.
7160 2003-02-25 Michael Koch <konqueror@gmx.de>
7162 * gnu/java/nio/MappedByteFileBuffer.java,
7163 gnu/java/nio/natMappedByteFileBuffer.cc:
7164 New files, both are not compiled yet to get not noncompiling CVS.
7166 2003-02-24 Tom Tromey <tromey@redhat.com>
7168 * java/util/prefs/AbstractPreferences.java (isUserNode):
7171 2003-02-24 Tom Tromey <tromey@redhat.com>
7173 * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
7175 * java/lang/Thread.java (resume): Deprecate.
7176 * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
7179 2003-02-23 Tom Tromey <tromey@redhat.com>
7181 * Makefile.in: Rebuilt.
7182 * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
7184 2003-02-23 Tom Tromey <tromey@redhat.com>
7186 * java/lang/natRuntime.cc (libraries_size, libraries_count,
7187 libraries): Removed.
7188 (add_library): Removed.
7189 (_load): Don't call add_library.
7190 (loadLibraryInternal): Likewise.
7192 (lookup_data): New struct.
7193 (find_symbol): New function.
7194 (_Jv_FindSymbolInExecutable): Use it.
7196 2002-02-21 Anthony Green <green@redhat.com>
7198 * java/lang/Thread.java (Thread): New constructor taking stack
7199 size parameter (ignored for now).
7200 * Many methods: Merged GNU Classpath documentation.
7202 * java/lang/Class.java (finalize): throws a Throwable.
7204 2003-02-21 Mark Wielaard <mark@klomp.org>
7206 * java/util/zip/ZipEntry.java (setComment): Don't check length when
7209 2003-02-21 Mark Wielaard <mark@klomp.org>
7211 * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
7212 then 65535 chars throw IllegalArgumentException.
7214 2003-02-21 Mark Wielaard <mark@klomp.org>
7216 * java/util/zip/ZipFile.java (finalize): New method.
7218 2003-02-21 Michael Koch <konqueror@gmx.de>
7220 * gnu/java/nio/natSocketChannelImpl.cc:
7221 Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
7222 <cato@df.lth.se> for pointing to it.
7224 2003-02-20 Raif S. Naffah <raif@fl.net.au>
7226 * java/math/BigInteger.java (euclidInv): Take result array as an
7227 argument. Updated all callers.
7228 (modInverse): Removed unused variables.
7230 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
7232 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
7234 * configure: Rebuilt.
7236 2003-02-19 Michael Koch <konqueror@gmx.de>
7238 * gnu/java/nio/natSocketChannelImpl.cc:
7239 Added support for platforms without network support.
7241 2003-02-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
7243 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
7244 after config.h. Use <> for consistency.
7245 * java/lang/natObject.cc: Likewise.
7246 * java/lang/natRuntime.cc: Likewise.
7247 * java/lang/natSystem.cc: Likewise.
7248 * java/util/natTimeZone.cc: Likewise.
7249 * win32.cc: Likewise.
7250 * include/posix.h (fcntl, socket, connect, close, bind, accept,
7251 listen, write, read): Undef to avoid interference from OS macros.
7253 2003-02-19 Michael Koch <konqueror@gmx.de>
7255 * gnu/java/nio/ByteBufferImpl.java
7256 (ByteBufferImpl): Renamed two variables.
7257 * gnu/java/nio/CharBufferImpl.java
7258 (CharBufferImpl): Renamed two variables.
7259 * gnu/java/nio/DoubleBufferImpl.java
7260 (DoubleBufferImpl): Renamed two variables.
7261 * gnu/java/nio/FloatBufferImpl.java
7262 (FloatBufferImpl): Renamed two variables.
7263 * gnu/java/nio/IntBufferImpl.java
7264 (IntBufferImpl): Renamed two variables.
7265 * gnu/java/nio/LongBufferImpl.java
7266 (LongBufferImpl): Renamed two variables.
7267 * gnu/java/nio/ShortBufferImpl.java
7268 (ShortBufferImpl): Renamed two variables.
7269 * java/nio/CharBuffer.java
7270 (wrap): Fixed arguments to CharBufferImpl constructor.
7271 (hasArray): Only not read-only buffers have backing arrays.
7272 (length): Documentation added.
7273 (subSequence): Documentation added.
7274 * java/nio/DoubleBuffer.java
7275 (hasArray): Only not read-only buffers have backing arrays.
7276 * java/nio/FloatBuffer.java
7277 (hasArray): Only not read-only buffers have backing arrays.
7278 * java/nio/IntBuffer.java
7279 (hasArray): Only not read-only buffers have backing arrays.
7280 * java/nio/LongBuffer.java
7281 (hasArray): Only not read-only buffers have backing arrays.
7282 * java/nio/ShortBuffer.java
7283 (hasArray): Only not read-only buffers have backing arrays.
7285 2003-02-19 Michael Koch <konqueror@gmx.de>
7287 * javax/accessibility/AccessibleContext.java
7288 (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
7290 2003-02-19 Michael Koch <konqueror@gmx.de>
7292 * java/awt/ScrollPaneAdjustable.java: Reformated.
7294 2003-02-19 Michael Koch <konqueror@gmx.de>
7296 * gnu/awt/j2d/Graphics2DImpl.java
7297 (getFontRenderContext): New method.
7298 (drawGlyphVector): New method.
7299 * java/awt/Graphics2D.java
7300 (getFontRenderContext): New abstract method.
7301 (drawGlyphVector): New abstract method.
7303 2003-02-18 Hans Boehm <Hans.Boehm@hp.com>
7305 * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
7308 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
7309 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
7310 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
7311 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
7312 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
7313 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
7314 (setFont, gtkSetFont): add.
7315 gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
7316 Propagate font to peer. (setFont): add FIXME comment.
7318 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
7319 (gtkTextGetSize): fix height, width computation.
7321 * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
7322 Make X font name a bit less bogus.
7324 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
7325 (post_adjustment_event): Pass on GTK_SCROLL_NONE.
7327 * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
7328 (processAdjustmentEvent): Adjust value.
7330 * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
7333 * java/awt/Component.java (setVisible, show, hide): Call show and
7334 hide methods in subclasses.
7335 (getPreferredSize): don't set prefSize before we have peer.
7337 * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
7338 Guess (0,0) if we don't have peer.
7341 2003-02-18 Michael Koch <konqueror@gmx.de>
7343 * java/nio/channels/FileChannel.java
7344 (toString): New implementation, added documentation.
7345 (map): Added exception documentation.
7346 (size): Added exception documentation.
7347 (write): New methods, documentation work.
7348 (read): New methods, documentation work.
7349 (implCloseChannel): Rewrote exception documentation.
7350 (force): Throws IOException, added documentation.
7351 (lock): New methods.
7352 (tryLock): New methods.
7353 (position): New methods.
7354 (transferTo): New method.
7355 (transferFrom): New method.
7356 (truncate): New method.
7357 * java/nio/channels/spi/SelectorProvider.java
7358 (provider): Implemented.
7360 (ordinary_java_source_files): Added the following files:
7361 gnu/java/nio/DatagramChannelImpl.java
7362 gnu/java/nio/FileChannelImpl.java
7363 gnu/java/nio/PipeImpl.java
7364 gnu/java/nio/SelectionKeyImpl.java
7365 gnu/java/nio/SelectorImpl.java
7366 gnu/java/nio/SelectorProviderImpl.java
7367 gnu/java/nio/ServerSocketChannelImpl.java
7368 gnu/java/nio/SocketChannelImpl.java
7369 java/nio/channels/FileLock.java
7370 (nat_java_source_files): Added the following files:
7371 gnu/java/nio/natFileChannelImpl.cc
7372 gnu/java/nio/natSelectorImpl.cc
7373 gnu/java/nio/natSocketChannelImpl.cc
7374 * Makefile.in: Regenerated.
7376 2003-02-17 Tom Tromey <tromey@redhat.com>
7378 * java/awt/image/ColorModel.java: Re-merged with Classpath.
7379 * java/awt/image/ImageFilter.java: Likewise.
7381 2003-02-17 Raif S. Naffah <raif@fl.net.au>
7383 * java/math/BigInteger.java (euclidInv): Return array of
7384 `BigInteger's. Changed all callers.
7386 2003-02-17 Ranjit Mathew <rmathew@hotmail.com>
7388 * java/util/Properties.java (store): Move the code formerly in
7389 list(), into this method.
7390 (list (PrintStream)): Just call list (PrintWriter) with a
7391 PrintWriter object constructed from the given PrintStream object.
7392 (list (PrintWriter)): Emulate the output of Properties.list()
7393 as found in JDK 1.3/1.4.
7395 2003-02-17 Michael Koch <konqueror@gmx.de>
7397 * java/net/DatagramSocket.java
7398 (connect): Merged with classpath.
7399 (disconnect): Merged documentation with classpath.
7400 (receice): Merged documentation with classpath.
7401 (send): Merged documentation with classpath.
7403 2003-02-17 Michael Koch <konqueror@gmx.de>
7405 * java/awt/dnd/DragSourceContext.java
7406 (addDragSourceListener): Added documentation.
7407 * java/awt/dnd/DragSourceDragEvent.java
7408 (serialVersionUID): New member variable.
7409 (getDropAction): Reformated.
7410 * java/awt/dnd/DragSourceDropEvent.java
7411 (serialVersionUID): New member variable.
7412 (dropSuccess): Renamed from success for serialization issues.
7413 * java/awt/dnd/DragSourceEvent.java
7414 (serialVersionUID): New member variable.
7415 * java/awt/dnd/DropTarget.java
7416 (serialVersionUID): New member variable.
7417 (DropTarget): Implemented, documentation reworked.
7418 (setComponent): Documentation added.
7419 (getComponent): Documentation added.
7420 (setDefaultActions): Documentation added.
7421 (getDefaultActions): Documentation added.
7422 (addDropTargetListener): Documentation added.
7423 * java/awt/dnd/DropTargetContext.java
7424 (DropTargetContext): Documentation added.
7425 (TransferableProxy.TransferableProxy): New method.
7426 (dropComplete): Fixed documentation.
7427 (getTransferable): Fixed documentation.
7428 (createTransferableProxy): Implemented.
7429 * java/awt/dnd/DropTargetDragEvent.java
7430 (DropTargetDragEvent): Documentation added.
7431 (serialVersionUID): New member variable.
7432 (DropTargetDragEvent): Throw exceptions, documentation added.
7433 (acceptDrag): Implemented.
7434 (getCurrentDataFlavors): Implemented.3yy
7435 (getCurrentDataFlavorsAsList): Implemented.
7436 (isDataFlavorSupported): Implemented.
7437 (rejectDrag): Implemented.
7438 * java/awt/dnd/DropTargetDropEvent.java
7439 (DropTargetDropEvent): Documentation added.
7440 (serialVersionUID): New member variable.
7441 (actions): Renamed from srcActions for serialization issues.
7442 (isLocalTx): Renamed from isLocalTx for serialization issues.
7443 (DropTargetDropEvent): New implementation, throw exceptions,
7444 documentation added.
7445 (getCurrentDataFlavors): Implemented.
7446 (getCurrentDataFlavorsAsList): Implemented.
7447 (isDataFlavorSupported): Implemented.
7448 (getSourceActions): Implemented.
7449 (getDropAction): Implemented.
7450 (getTransferable): Implemented.
7451 (acceptDrop): Implemented.
7452 (rejectDrop): Implemented.
7453 * java/awt/dnd/DropTargetListener.java
7454 (drop): Fixed documentation.
7455 * java/awt/dnd/MouseDragGestureRecognizer.java
7456 (MouseDragGestureRecognizer): Documentation added.
7458 2003-02-17 Michael Koch <konqueror@gmx.de>
7460 * java/awt/font/FontRenderContext.java,
7461 java/awt/font/ShapeGraphicAttribute.java,
7462 java/awt/font/MultipleMaster.java,
7463 java/awt/font/TransformAttribute.java,
7464 java/awt/font/GlyphJustificationInfo.java,
7465 java/awt/font/LineBreakMeasurer.java,
7466 java/awt/font/TextMeasurer.java,
7467 java/awt/font/TextLayout.java,
7468 java/awt/font/LineMetrics.java,
7469 java/awt/font/TextAttribute.java,
7470 java/awt/font/GlyphMetrics.java,
7471 java/awt/font/OpenType.java,
7472 java/awt/font/GlyphVector.java,
7473 java/awt/font/GraphicAttribute.java,
7474 java/awt/font/ImageGraphicAttribute.java,
7475 java/awt/font/NumericShaper.java: New files.
7477 (awt_java_source_files): Added the following files:
7478 java/awt/font/FontRenderContext.java
7479 java/awt/font/ShapeGraphicAttribute.java
7480 java/awt/font/MultipleMaster.java
7481 java/awt/font/TransformAttribute.java
7482 java/awt/font/GlyphJustificationInfo.java
7483 java/awt/font/LineBreakMeasurer.java
7484 java/awt/font/TextMeasurer.java
7485 java/awt/font/TextLayout.java
7486 java/awt/font/LineMetrics.java
7487 java/awt/font/TextAttribute.java
7488 java/awt/font/GlyphMetrics.java
7489 java/awt/font/OpenType.java
7490 java/awt/font/GlyphVector.java
7491 java/awt/font/GraphicAttribute.java
7492 java/awt/font/ImageGraphicAttribute.java
7493 java/awt/font/NumericShaper.java
7494 * Makefile.in: Regenerated.
7496 2003-02-17 Michael Koch <konqueror@gmx.de>
7498 * java/awt/print/Paper.java
7499 (Paper): Implements Cloneable.
7500 * java/awt/print/PrinterJob.java
7501 (setJobName): Return value must be void.
7502 (print): Throws PrinterException.
7504 2003-02-16 Tom Tromey <tromey@redhat.com>
7506 * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
7509 2003-02-15 Michael Koch <konqueror@gmx.de>
7511 * java/awt/datatransfer/DataFlavor.java
7512 (isRepresentationClassByteBuffer): Removed try-catch block.
7513 (isRepresentationClassCharBuffer): Removed try-catch block.
7514 (isRepresentationClassReader): Removed try-catch block.
7516 2003-02-15 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7518 * java/nio/charset/Charset.java
7519 (isRegistered): Fixed method args and implementation.
7520 * java/nio/charset/CharsetEncoder.java
7521 (unmappableCharacterAction): New method.
7523 2003-02-15 Michael Koch <konqueror@gmx.de>
7525 * java/awt/CheckboxMenuItem.java
7526 (CheckBoxMenuItem): Dont implement Serializable.
7527 (getListeners): New method,
7528 (getItemListeners): New method.
7529 * java/awt/Choice.java
7530 (getListeners): New method,
7531 (getItemListeners): New method.
7532 * java/awt/Container.java
7533 (getListeners): Added exception documentation.
7534 (setFocusTraversalKeys): Throw exceptions, added documentattion.
7535 (getFocusTraversalKeys): Added documentation.
7536 (areFocusTraversalKeysSet): Added documentation.
7537 (applyComponentOrientation): Added documentation.
7538 * java/awt/ContainerOrderFocusTraversalPolicy.java
7539 (implicitDownCycleTraversal): Renamed from downCycle for
7541 (ContainerOrderFocusTraversalPolicy): Added documentation.
7542 (accept): Reformated.
7543 * java/awt/Dialog.java
7544 (Dialog): Dont implement Serializable.
7545 (Dialog): Added documentation.
7546 * java/awt/Font.java
7547 (Font): Dont use absolute class name.
7548 * java/awt/Frame.java
7549 (Frame): Font implement Serializable.
7550 * java/awt/List.java
7551 (getListeners): New method,
7552 (getActionListeners): New method.
7553 (getItemListeners): New method.
7554 * java/awt/Menu.java
7555 (countItems): New deprecated method.
7556 * java/awt/Scrollbar.java
7557 (getListeners): New method,
7558 (getAdjustmentListeners): New method,
7559 * java/awt/TextComponent.java
7560 (getListeners): New method,
7561 (getTextListeners): New method,
7562 * java/awt/TextField.java
7563 (getListeners): New method,
7564 (getActionListeners): New method.
7565 * java/awt/Window.java
7566 (windowFocusListener): New member variable.
7567 (windowStateListener): New member variable.
7568 (getWindowFocusListeners): New method.
7569 (getWindowStateListeners): New method.
7570 (addWindowFocusListener): New method.
7571 (addWindowStateListener): New method.
7572 (removeWindowFocusListener): New method.
7573 (removeWindowStateListener): New method.
7574 * java/awt/datatransfer/DataFlavor.java
7575 (isRepresentationClassByteBuffer): New method.
7576 (isRepresentationClassCharBuffer): New method.
7577 (isRepresentationClassReader): New method.
7579 2003-02-14 Mark Wielaard <mark@klomp.org>
7581 * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
7582 zero when there is an exponent and the significant is zero.
7583 (divide): Always set scale to newScale even in special ZERO case.
7585 2003-02-14 Tom Tromey <tromey@redhat.com>
7587 * java/lang/System.java (properties): Use Properties.clone.
7588 (setProperties): Likewise.
7590 2003-02-14 Michael Koch <konqueror@gmx.de>
7592 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
7593 * gnu/java/nio/ServerSocketChannelImpl.java
7594 (SocketAccept): Removed.
7595 (accept): Commented out use of SocketAccept.
7597 2003-02-13 Tom Tromey <tromey@redhat.com>
7599 * verify.cc (state::seen_subrs): New field.
7600 (state::state): Initialize it.
7601 (state::clean_subrs): New method.
7602 (state::~state): Call it.
7603 (state::copy): Copy subroutine list.
7604 (state::add_subr): New method.
7605 (state::merge): Only register a change if the current subroutine
7606 hasn't yet been noted.
7608 2003-02-13 Mark Wielaard <mark@klomp.org>
7610 * java/io/InputStreamReader.java (getEncoding): Return null when
7612 * java/io/OutputStreamWriter.java (getEncoding): Likewise.
7614 2003-02-13 Mark Wielaard <mark@klomp.org>
7616 * java/util/zip/InflaterInputStream.java (read): Return zero when len
7619 2003-02-13 Mark Wielaard <mark@klomp.org>
7621 * java/io/BufferedOutputStream.java (write(int)): Only flush when
7622 next byte cannot be buffered.
7624 2003-02-13 Michael Koch <konqueror@gmx.de>
7626 * java/awt/Label.java
7627 (Label): Don't implement Serializable directly.
7628 (addNotify): Fixed typo in documentation.
7629 * java/awt/List.java
7630 (List): Don't implement Serializable directly.
7631 * java/awt/PopupMenu.java
7632 (PopupMenu): Don't implement Serializable directly.
7633 * java/awt/ScrollPane.java
7634 (ScrollPane): Don't implement Serializable directly.
7635 * java/awt/Scrollbar.java
7636 (Scrollbar): Don't implement Serializable directly.
7637 * java/awt/TextArea.java
7638 (preferredSize): Fixed method arguments.
7639 * java/awt/TextField.java
7640 (TextField): Don't implement Serializable directly.
7641 * java/awt/color/ICC_ColorSpace.java
7642 (fromCIOXYZ): Documentation added.
7643 (getMinValue): Documentation added.
7644 (getMaxValue): Documentation added.
7645 * java/awt/datatransfer/DataFlavor.java
7646 (isMimeTypeEqual): May not be final.
7647 (clone): Throws CloneNotSupportedException.
7648 (getReaderForText): Don't throws UnsupportedEncodingException.
7650 2003-02-13 Michael Koch <konqueror@gmx.de>
7652 * gnu/java/awt/peer/gtk/GdkGraphics.java
7653 (drawString): New stubbed method.
7654 * java/awt/Graphics.java
7655 (drawString): New method.
7657 2003-02-13 Casey Marshall <rsdio@metastatic.org>
7660 * java/security/SecureRandom.java (next): Avoid bias in results.
7662 2003-02-13 Michael <konqueror@gmx.de>
7664 * gnu/java/nio/FileChannelImpl.java
7665 (lengthInternal): Must be native.
7666 (size): Check if channel is already closed.
7667 (implCloseChannel): Reformated.
7668 (read): w was unused, removed it.
7671 (write): New method.
7672 (map): Check arguments.
7673 (force): Throws IOException, check if channel is closed.
7674 (transferTo): New method.
7675 (transferFrom): New method.
7677 (tryLock): New method.
7678 (position): New method.
7679 (truncate): New method.
7680 (nio_mmap_file): Uncommented.
7681 (nio_munmap_file): Uncommented.
7682 (nio_msync): Uncommented.
7683 * gnu/java/nio/natFileChannelImpl.cc: New file.
7685 2003-02-13 Michael Koch <konqueror@gmx.de>
7687 * java/nio/ByteBuffer.java
7688 (endian): New member variable.
7690 (equals): New method.
7691 (compareTo): New method.
7692 (order): New methods.
7693 (compact): New method.
7694 (isDirect): New method.
7695 (slice): New method.
7696 (duplicate): New method.
7697 (asReadOnlyBuffer): New method.
7698 (asCharBuffer): New method.
7699 (asDoubleBuffer): New method.
7700 (asFloatBuffer): New method.
7701 (asIntBuffer): New method.
7702 (asLongBuffer): New method.
7703 (asShortBuffer): New method.
7704 (get*): New methods.
7705 (put*): New methods.
7706 (toString): New method.
7707 * java/nio/CharBuffer.java
7708 (CharBuffer): Implement Comparable instead of Cloneable.
7709 (get): May not be final.
7710 (put): May not be final.
7712 2002-02-13 Ranjit Mathew <rmathew@hotmail.com>
7714 * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
7715 lastIndexOf( ) instead of indexOf( ) to find the colon before
7716 the line number, because Win32 file names might contain a
7717 drive letter and a colon at the start of an absolute path.
7719 2003-02-13 Michael Koch <konqueror@gmx.de>
7721 * gnu/java/nio/natSocketChannelImpl.cc
7722 (SocketConnect): This is not implemented yet.
7723 (SocketBind): This is not implemented yet.
7725 2003-02-13 Michael Koch <konqueror@gmx.de>
7727 * gnu/java/nio/natByteBufferImpl.cc,
7728 gnu/java/nio/natCharBufferImpl.cc,
7729 gnu/java/nio/natDoubleBufferImpl.cc,
7730 gnu/java/nio/natFloatBufferImpl.cc,
7731 gnu/java/nio/natIntBufferImpl.cc,
7732 gnu/java/nio/natLongBufferImpl.cc,
7733 gnu/java/nio/natShortBufferImpl.cc:
7734 Added copyright and license.
7735 * java/nio/DoubleBuffer.java,
7736 java/nio/FloatBuffer.java,
7737 java/nio/IntBuffer.java,
7738 java/nio/LongBuffer.java,
7739 java/nio/ShortBuffer.java
7740 (array): Throw exceptions.
7741 (arrayOffset): Throw exceptions.
7743 2003-02-13 Michael Koch <konqueror@gmx.de>
7745 * gnu/java/util/prefs/FileBasedFactory.java,
7746 gnu/java/util/prefs/MemmoryBasedFactory.java,
7747 gnu/java/util/prefs/MemoryBasedPreferences.java,
7748 gnu/java/util/prefs/NodeReader.java,
7749 gnu/java/util/prefs/NodeWriter.java,
7750 java/util/prefs/AbstractPreferences.java,
7751 java/util/prefs/BackingStoreException.java,
7752 java/util/prefs/InvalidPreferencesFormatException.java,
7753 java/util/prefs/NodeChangeEvent.java,
7754 java/util/prefs/NodeChangeListener.java,
7755 java/util/prefs/PreferenceChangeEvent.java,
7756 java/util/prefs/PreferenceChangeListener.java,
7757 java/util/prefs/Preferences.java,
7758 java/util/prefs/PreferencesFactory.java:
7759 New files, all merged from classpath.
7761 (ordinary_java_source_files): Added the following files:
7762 gnu/java/util/prefs/FileBasedFactory.java,
7763 gnu/java/util/prefs/MemmoryBasedFactory.java,
7764 gnu/java/util/prefs/MemoryBasedPreferences.java,
7765 gnu/java/util/prefs/NodeReader.java,
7766 gnu/java/util/prefs/NodeWriter.java,
7767 (core_java_source_files): Added the following files:
7768 java/util/prefs/AbstractPreferences.java,
7769 java/util/prefs/BackingStoreException.java,
7770 java/util/prefs/InvalidPreferencesFormatException.java,
7771 java/util/prefs/NodeChangeEvent.java,
7772 java/util/prefs/NodeChangeListener.java,
7773 java/util/prefs/PreferenceChangeEvent.java,
7774 java/util/prefs/PreferenceChangeListener.java,
7775 java/util/prefs/Preferences.java,
7776 java/util/prefs/PreferencesFactory.java
7777 * Makefile.in: Regenerated.
7779 2003-02-13 Michael Koch <konqueror@gmx.de>
7781 * java/net/NetPermission.java
7782 (NetPermission): Make doucmentation match the method declaration.
7783 * java/net/NetworkInterface.java
7784 (equals): Reformated for GNU coding style.
7785 * java/net/ServerSocket.java: Merged with classpath.
7786 * java/net/Socket.java: Partly merged with classpath (Added some @since).
7787 * java/net/SocketImpl.java
7788 (localPort): Merged with classpath (initialize with -1).
7789 * java/net/SocketPermission.java: Merged with classpath (reindented).
7790 * java/net/URLDecoder.java: Merged with classpath (reindented).
7792 2003-02-13 Michael Koch <konqueror@gmx.de>
7794 * java/awt/GridBagConstraints.java
7795 (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
7796 LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
7797 * java/awt/KeyboardFocusManager.java
7798 (setGlobalCurrentFocusCycleRoot): Must be public.
7799 * java/awt/MenuComponent.java
7800 (MenuComponent): Must be public.
7801 * java/awt/Toolkit.java:
7802 Added some empty lines to make documentation more readable.
7803 (getFontPeer): Added @deprecated.
7804 (getColorModel): Added exception documentation.
7805 (getProperty): Fixed documentation.
7807 2003-02-12 Jeff Sturm <jsturm@one-point.com>
7809 * configure.host (alpha*-*): Default to -mieee.
7810 * configure.in (IEEESPEC): New.
7811 * libgcj.spec.in (jc1): Add IEEESPEC.
7812 * configure: Rebuild.
7814 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
7816 * include/win32.h: Include ws2tcpip.h instead of
7817 winsock.h to obtain definition of the socklen_t type.
7818 Remove IP_TOS definition - not needed with ws2tcpip.h
7819 (_Jv_connect): Correct slight formatting error.
7821 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
7823 * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
7824 size of the arguments for a JNI function. For Win32,
7825 modify to search for all forms of possible exported
7826 names of an stdcall JNI function.
7827 (_Jv_JNIMethod::call): Modify to calculate the size
7828 of the arguments passed to a JNI function and pass
7829 it to _Jv_LookupJNIMethod.
7831 2003-02-12 Michael Koch <konqueror@gmx.de>
7833 * java/nio/channels/Channels.java: New file.
7835 (ordinary_java_source_files): Added java/nio/channels/Channels.java.
7836 * Makefile.in: Regenerated.
7838 2003-02-12 Michael Koch <konqueror@gmx.de>
7840 * java/nio/ByteBuffer.java
7841 (allocate): Implemented.
7842 (wrap): Implemented.
7843 * java/nio/CharBuffer.java:
7844 Some documentation added and reworked.
7846 (allocate): Implemented.
7847 (wrap): Implemented.
7848 (array): Throw exceptions.
7849 (arrayOffset): Throw exceptions.
7850 (toString): Implemented.
7851 (length): Implemented.
7853 (charAt): Implemented.
7855 2003-02-11 John Leuner <jewel@debian.org>
7857 * java/util/zip/ZipInputStream.java: Fix problem with 0-length
7858 reads from end of file.
7860 2003-02-11 Ranjit Mathew <rmathew@hotmail.com>
7862 * java/io/natFileDescriptorWin32.cc
7863 (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
7864 returns with Win32 error code ERROR_BROKEN_PIPE.
7866 2003-02-11 Michael Koch <konqueror@gmx.de>
7869 (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
7871 2003-02-11 Michael Koch <konqueror@gmx.de>
7873 * gnu/java/nio/ByteBufferImpl.java:
7874 Reformated and removed some code.
7875 (backing_buffer): Removed.
7876 (array_offset): Removed.
7877 (ro): Renamed to readOnly.
7878 (ByteBufferImpl): Use parent constructor, initialize readOnly.
7879 * gnu/java/nio/CharBufferImpl.java:
7880 Reformated and removed some code.
7881 (array_offset): Removed.
7882 (ro): Renamed to readOnly.
7883 (CharBufferImpl): Use parent constructor, initialize readOnly.
7885 (order): New method.
7886 * gnu/java/nio/DoubleBufferImpl.java:
7887 Reformated and removed some code.
7888 (array_offset): Removed.
7889 (ro): Renamed to readOnly.
7890 (DoubleBufferImpl): Use parent constructor, initialize readOnly.
7892 (order): New method.
7893 * gnu/java/nio/FloatBufferImpl.java:
7894 Reformated and removed some code.
7895 (array_offset): Removed.
7896 (ro): Renamed to readOnly.
7897 (FloatBufferImpl): Use parent constructor, initialize readOnly.
7899 (order): New method.
7900 * gnu/java/nio/IntBufferImpl.java:
7901 Reformated and removed some code.
7902 (array_offset): Removed.
7903 (ro): Renamed to readOnly.
7904 (IntBufferImpl): Use parent constructor, initialize readOnly.
7906 (order): New method.
7907 * gnu/java/nio/LongBufferImpl.java:
7908 Reformated and removed some code.
7909 (array_offset): Removed.
7910 (ro): Renamed to readOnly.
7911 (LongBufferImpl): Use parent constructor, initialize readOnly.
7913 (order): New method.
7914 * gnu/java/nio/ShortBufferImpl.java:
7915 Reformated and removed some code.
7916 (array_offset): Removed.
7917 (ro): Renamed to readOnly.
7918 (ShortBufferImpl): Use parent constructor, initialize readOnly.
7920 (order): New method.
7922 (ordinary_java_source_files): Added the following files:
7923 gnu/java/nio/ByteBufferImpl.java
7924 gnu/java/nio/CharBufferImpl.java
7925 gnu/java/nio/DoubleBufferImpl.java
7926 gnu/java/nio/FloatBufferImpl.java
7927 gnu/java/nio/IntBufferImpl.java
7928 gnu/java/nio/LongBufferImpl.java
7929 gnu/java/nio/ShortBufferImpl.java
7930 java/nio/DoubleBuffer.java
7931 java/nio/FloatBuffer.java
7932 java/nio/IntBuffer.java
7933 java/nio/LongBuffer.java
7934 java/nio/ShortBuffer.java
7935 (nat_source_files): Added the following files:
7936 gnu/java/nio/natByteBufferImpl.cc
7937 gnu/java/nio/natCharBufferImpl.cc
7938 gnu/java/nio/natDoubleBufferImpl.cc
7939 gnu/java/nio/natFloatBufferImpl.cc
7940 gnu/java/nio/natIntBufferImpl.cc
7941 gnu/java/nio/natLongBufferImpl.cc
7942 gnu/java/nio/natShortBufferImpl.cc
7943 * Makefile.in: Regenerated.
7945 2003-02-11 Michael Koch <konqueror@gmx.de>
7947 * gnu/java/nio/natCharBufferImpl.cc
7948 (nio_cast): Removed.
7949 (nio_put_*): Removed.
7950 (nio_get_*): Removed.
7951 * gnu/java/nio/natDoubleBufferImpl.cc
7952 (nio_cast): Removed.
7953 (nio_put_*): Removed.
7954 (nio_get_*): Removed.
7955 * gnu/java/nio/natFloatBufferImpl.cc
7956 (nio_cast): Removed.
7957 (nio_put_*): Removed.
7958 (nio_get_*): Removed.
7959 * gnu/java/nio/natIntBufferImpl.cc
7960 (nio_cast): Removed.
7961 (nio_put_*): Removed.
7962 (nio_get_*): Removed.
7963 * gnu/java/nio/natLongBufferImpl.cc
7964 (nio_cast): Removed.
7965 (nio_put_*): Removed.
7966 (nio_get_*): Removed.
7967 * gnu/java/nio/natShortBufferImpl.cc
7968 (nio_cast): Removed.
7969 (nio_put_*): Removed.
7970 (nio_get_*): Removed.
7971 * gnu/java/nio/SelectorProviderImpl.java
7972 (openDatagramChannel): Throws IOException.
7973 (openPipe): Throws IOException.
7974 (openSelector): Throws IOException.
7975 (openServerSocketChannel): Throws IOException.
7976 (openSocketChannel): Throws IOException.
7977 * gnu/java/nio/ServerSocketChannelImpl.java
7978 (ServerSocketChannelImpl): Throws IOException.
7979 (implCloseSelectableChannel): Throws IOException.
7980 (implConfigureBlocking): Throws IOException.
7981 * java/nio/ByteBuffer.java
7982 (readOnly): Removed.
7983 (hasArray): Use isReadOnly() instead of readOnly.
7984 (array): Use isReadOnly() instead of readOnly.
7985 (arrayOffset): Use isReadOnly() instead of readOnly.
7986 * java/nio/CharBuffer.java
7987 (CharBuffer): Implements Cloneable and CharSequence.
7989 2003-02-11 Michael Koch <konqueror@gmx.de>
7991 * java/nio/DoubleBuffer.java
7992 (DoubleBuffer): Implements Comparable.
7994 (array_offset): New member variable.
7995 (DoubleBuffer): New constuctor.
7996 (get): May not be final.
7997 (put): May not be final.
7998 (arrayOffset): Implemented.
7999 (order): Made abstract.
8001 (as*Buffer): Removed.
8004 * java/nio/FloatBuffer.java
8005 (FloatBuffer): Implements Comparable.
8007 (array_offset): New member variable.
8008 (FloatBuffer): New constuctor.
8009 (get): May not be final.
8010 (put): May not be final.
8011 (arrayOffset): Implemented.
8012 (order): Made abstract.
8014 (as*Buffer): Removed.
8017 * java/nio/IntBuffer.java
8018 (IntBuffer): Implements Comparable.
8020 (array_offset): New member variable.
8021 (IntBuffer): New constuctor.
8022 (get): May not be final.
8023 (put): May not be final.
8024 (arrayOffset): Implemented.
8025 (order): Made abstract.
8027 (as*Buffer): Removed.
8030 * java/nio/LongBuffer.java
8031 (LongBuffer): Implements Comparable.
8033 (array_offset): New member variable.
8034 (LongBuffer): New constuctor.
8035 (get): May not be final.
8036 (put): May not be final.
8037 (arrayOffset): Implemented.
8038 (order): Made abstract.
8040 (as*Buffer): Removed.
8043 * java/nio/ShortBuffer.java
8044 (ShortBuffer): Implements Comparable.
8046 (array_offset): New member variable.
8047 (ShortBuffer): New constuctor.
8048 (get): May not be final.
8049 (put): May not be final.
8050 (arrayOffset): Implemented.
8051 (order): Made abstract.
8053 (as*Buffer): Removed.
8057 2003-02-11 Michael Koch <konqueror@gmx.de>
8059 * java/nio/channels/SelectionKey.java
8060 (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
8063 2003-02-11 Michael Koch <konqueror@gmx.de>
8065 * java/nio/channels/DatagramChannel.java
8066 (write): Throws IOException.
8067 (connect): Throws IOException.
8068 (disconnect): Throws IOException.
8069 (read): Throws IOException.
8070 (receive): Throws IOException.
8071 (send): Throws IOException.
8072 * java/nio/channels/Pipe.java
8073 (open): Throws IOException.
8074 * java/nio/channels/SelectableChannel.java
8075 (configureBlocking): Throws IOException.
8076 * java/nio/channels/ServerSocketChannel.java
8077 (accept): Throws IOException.
8078 * java/nio/channels/SocketChannel.java
8079 (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
8080 GatheringByteChannel.
8081 (read): Throws IOException.
8082 (write): Throws IOException.
8083 (finishConnect): Throws IOException.
8084 * java/nio/channels/spi/AbstractInterruptibleChannel.java
8085 (end): Throws AsynchronousCloseException.
8086 * java/nio/channels/spi/AbstractSelectableChannel.java
8087 (configureBlocking): Throws IOException.
8088 (implCloseChannel): Throws IOException.
8089 (implCloseSelectableChannel): Throws IOException.
8090 (implConfigureBlocking): Throws IOException.
8091 * java/nio/channels/spi/SelectorProvider.java
8092 (openDatagramChannel): Throws IOException.
8093 (openPipe): Throws IOException.
8094 (openSelector): Throws IOException.
8095 (openServerSocketChannel): Throws IOException.
8096 (openSocketChannel): Throws IOException.
8098 2003-02-11 Michael Koch <konqueror@gmx.de>
8100 * gnu/java/nio/FileLockImpl.java,
8101 java/nio/channels/FileLock.java: New files.
8103 2003-02-11 Michael Koch <konqueror@gmx.de>
8105 * java/nio/charset/IllegalCharsetNameException.java
8106 (serialVersionUID): New member variable.
8107 (charsetName): New member variable.
8108 (IllegalCharsetException): New implementation.
8109 (getCharsetName): New implementation.
8110 * java/nio/charset/UnsupportedCharsetException.java
8111 (serialVersionUID): New member variable.
8112 (charsetName): New member variable.
8113 (UnsupportedCharsetException): New implementation.
8114 (getCharsetName): New implementation.
8116 2003-02-10 Tom Tromey <tromey@redhat.com>
8118 * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
8119 (ex): Renamed from sqlException.
8121 2003-02-10 Raif S. Naffah <raif@fl.net.au>
8123 * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new
8124 method used to ensure seeding has occurred and that a specific
8125 seed can be set and used.
8127 2003-02-10 Ranjit Mathew <rmathew@hotmail.com>
8129 * java/lang/Win32Process.java (destroy): Declare as native.
8130 (hasExited): New native method.
8131 (exitValue): Define.
8132 (getErrorStream): Likewise.
8133 (getInputStream): Likewise.
8134 (getOutputStream): Likewise.
8135 (waitFor): Declare as native.
8136 (startProcess): New native method.
8137 (cleanup): Likewise.
8138 (ConcreteProcess): Define.
8139 (outputStream, inputStream, errorStream): New members.
8140 (procHandle, exitCode): Likewise.
8142 * java/lang/natWin32Process.cc
8143 (java::lang::ConcreteProcess::cleanup): Define.
8144 (java::lang::ConcreteProcess::destroy): Likewise.
8145 (java::lang::ConcreteProcess::hasExited): Likewise.
8146 (java::lang::ConcreteProcess::waitFor): Likewise.
8147 (new_string): Likewise.
8148 (java::lang::ConcreteProcess::startProcess): Likewise.
8150 2003-02-10 Raif S. Naffah <raif@fl.net.au>
8152 * java/math/BigInteger.java:
8153 Updated notice to include years 2002 and 3.
8154 Added 2 private (int) arrays with values from the HAC (Handbook of
8155 Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
8156 and t[] that contains nbr. of tests --used in isProbablePrime().
8158 * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
8160 * java/math/BigInteger.java (make(int[],int), add(int,int),
8161 add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
8162 isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
8163 bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
8166 * java/math/BigInteger.java (euclidInv): Reduce number of work vars
8167 (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
8168 (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
8169 BIs and returns void.
8170 (modInverse(BI)): Use new signatures of euclidInv().
8172 * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
8173 static small primes instead of remainder().
8174 Use pre-computed max nbr of trials based on bitlength of BI to test.
8175 Use pre-computed small primes for the trial tests instead of random
8178 * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
8181 * java/math/BigInteger.java (format(int,StringBuffer)): Removed
8182 invoacation of MPN.chars_per_word(). not used.
8184 * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
8185 local var and used where needed.
8187 * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
8188 Combined declaration with initialisation of locals.
8191 * java/math/BigInteger.java: Style changes
8192 (pow(int)): Removed 'else' keyword.
8193 (toString(int)): idem.
8194 (doubleValue()): idem.
8195 (bitLength()): idem.
8196 (equals(Object)): Use static methods name in same class w/o prepending
8198 (doubleValue()): idem.
8199 (setNegative(BI)): idem.
8201 (and(BI,int)): idem.
8204 (byteArrayToIntArray()): Removed casting to (int). this is
8206 (canonicalize()): idem.
8207 (alloc(int)): Always instantiate a new BI.
8209 2003-02-10 Tom Tromey <tromey@redhat.com>
8211 * java/sql/Timestamp.java (compareTo(Object)): New method.
8212 (compareTo(Timestamp)): Likewise.
8213 (serialVersionUID): Updated.
8215 2003-02-07 Mark Wielaard <mark@klomp.org>
8217 * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
8218 when verify is true.
8219 (JarFile(File, boolean)): Likewise.
8220 (manifestRead): Set manifestRead field correctly.
8222 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
8224 * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
8225 tests; see patch #1016 on Savannah.
8227 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
8229 * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
8230 (toString): do not return Strings starting with . and - erroneously.
8231 Improves Mauve results to 12 of 600 instead of 16 of 338 on
8234 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
8236 * java/beans/PropertyDescriptor.java
8237 (PropertyDescriptor(String, Class)): Sanity check getter and setter
8239 (PropertyDescriptor(String, Class, String, String)): Likewise.
8240 (PropertyDescriptor(String, Method, Method): Factor out getter and
8241 setter method sanity checks into new method.
8242 (findMethods): Don't do parameter sanity checking of get method here.
8243 (checkMethods): New method.
8245 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
8247 * java/beans/PropertyDescriptor.java: Reformat.
8249 2003-02-04 Tom Tromey <tromey@redhat.com>
8251 * java/io/PipedOutputStream.java (flush): Declare as throwing
8254 * java/io/PipedWriter.java (close): Declare as throwing
8256 * java/io/StringWriter.java (close): Declare as throwing
8259 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
8261 * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
8262 of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
8263 could also have been exported as "JNI_OnLoad@8" (MinGW) or
8264 "_JNI_OnLoad@8" (MSVC).
8266 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
8268 * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
8269 convention on Win32 to invoke native JNI methods.
8271 2003-02-03 Andrew Haley <aph@redhat.com>
8273 * configure.host (x86_64): Enable interpreter.
8275 2003-02-03 Andrew Haley <aph@redhat.com>
8277 * libgcj.spec.in (jc1): Add BACKTRACESPEC.
8278 * configure.host (x86_64): Default to -fno-omit-frame-pointer.
8279 * configure.in (BACKTRACESPEC): New.
8280 * configure: Regenerate.
8282 2003-02-02 Tom Tromey <tromey@redhat.com>
8284 * configure: Rebuilt.
8285 * configure.in (TOOLKIT) [xlib]: Set correctly.
8287 * Makefile.in: Rebuilt.
8288 * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
8291 2003-01-31 Mark WIelaard <mark@klomp.org>
8293 * Makefile.in: Rebuilt.
8294 * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
8296 2003-01-31 Tom Tromey <tromey@redhat.com>
8298 * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
8299 cast to element type.
8300 (_Jv_JNI_SetObjectArrayElement): Check array bounds.
8301 (_Jv_JNI_GetObjectArrayElement): Likewise.
8303 * Makefile.in: Rebuilt.
8304 * Makefile.am (cond_x_ltlibrary): Renamed library to
8305 lib-gnu-awt-xlib.la.
8306 (lib_gnu_awt_xlib_la_SOURCES): Renamed.
8307 (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
8308 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
8309 (lib_gnu_awt_xlib_la_LIBADD): Likewise.
8310 (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
8311 (lib_gnu_awt_xlib_la_LINK): Likewise.
8312 (install-exec-hook): Removed.
8313 (lib-gnu-awt-xlib.la): Renamed.
8315 2003-01-31 Tom Tromey <tromey@redhat.com>
8317 * aclocal.m4, configure, include/config.h.in: Rebuilt.
8318 * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
8319 aclocal.m4 and lost in some merge.
8321 * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
8322 Don't try to find graphics configuration.
8323 * java/awt/Toolkit.java (default_toolkit_name): Use new
8324 Configuration entry.
8325 * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
8327 * configure: Rebuilt.
8328 * configure.in (TOOLKIT): New subst.
8329 (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
8330 Do AWT tests much earlier. Run Gtk tests. Make jniinclude
8331 directory. Make output directories for .c files.
8332 * Makefile.in: Rebuilt.
8333 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
8334 (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
8335 (all_java_source_files): Added new sources.
8336 ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
8337 (gtk_c_files): New macro.
8338 (gtk_c_source_files): New macro.
8339 (cond_gtk_ltlibrary): New macro.
8340 ($(gtk_c_files)): New target.
8341 (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
8342 (gtk_awt_peer_sources): New macro.
8343 (gtk_c_headers): New macro.
8344 ($(gtk_c_headers)): New target.
8345 (ACLOCAL_AMFLAGS): New macro.
8346 * gtk.m4, glib.m4, libart.m4: New files.
8347 * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
8348 gnu/java/awt/peer/gtk/GdkGraphics.java,
8349 gnu/java/awt/peer/gtk/GtkArg.java,
8350 gnu/java/awt/peer/gtk/GtkArgList.java,
8351 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
8352 gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
8353 gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
8354 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
8355 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
8356 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
8357 gnu/java/awt/peer/gtk/GtkClipboard.java,
8358 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8359 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
8360 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
8361 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
8362 gnu/java/awt/peer/gtk/GtkFontPeer.java,
8363 gnu/java/awt/peer/gtk/GtkFramePeer.java,
8364 gnu/java/awt/peer/gtk/GtkGenericPeer.java,
8365 gnu/java/awt/peer/gtk/GtkImage.java,
8366 gnu/java/awt/peer/gtk/GtkImagePainter.java,
8367 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
8368 gnu/java/awt/peer/gtk/GtkListPeer.java,
8369 gnu/java/awt/peer/gtk/GtkMainThread.java,
8370 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
8371 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
8372 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
8373 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
8374 gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
8375 gnu/java/awt/peer/gtk/GtkPanelPeer.java,
8376 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
8377 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
8378 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
8379 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
8380 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
8381 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
8382 gnu/java/awt/peer/gtk/GtkToolkit.java,
8383 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
8384 gnu/java/awt/peer/gtk/TestAWT.java,
8385 gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
8386 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
8387 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
8388 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
8389 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
8390 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
8391 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
8392 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
8393 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
8394 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
8395 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
8396 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
8397 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
8398 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
8399 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
8400 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
8401 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
8402 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
8403 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
8404 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
8405 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
8406 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
8407 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
8408 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
8409 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
8410 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
8411 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
8412 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
8413 jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
8414 jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
8415 jni/classpath/jnilink.c, jni/classpath/jnilink.h,
8416 jni/classpath/native_state.c, jni/classpath/native_state.h,
8417 jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
8419 2003-01-31 Julian Dolby <dolby@us.ibm.com>
8421 * java/util/Properties.java (load): Ignore backslash before EOF.
8423 2003-01-30 Jeff Sturm <jsturm@one-point.com>
8425 * java/lang/natClass.cc (initializeClass): Check tables when
8426 (state == JV_STATE_IN_PROGRESS).
8427 (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
8428 * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
8429 interpreted classes.
8430 (linkClass0): Use _Jv_WaitForState.
8432 2003-01-28 Oscar Pearce <oscar@pearceenterprises.com>
8434 * java/awt/Component.java (processPaintEvent): Dispose of Graphics
8435 object when finished.
8437 2003-01-28 Andreas Tobler <a.tobler@schweiz.ch>
8439 * libjava/configure.host: Disable can_unwind_signal on darwin.
8441 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
8444 * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
8445 additionally containing id of the owner thread as well as
8446 the number of nested times the thread has acquired the mutex.
8447 (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
8448 (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
8449 (_Jv_MutexUnlock): Check if really the owner thread, reset
8450 owner thread id to 0 before leaving, if leaving for the last
8452 (_Jv_MutexLock): Set owner thread id in the mutex and increment
8454 (_Jv_ThreadYield): Yield using a call to Sleep(0).
8455 * win32-threads.cc (_Jv_CondWait): Check if really owner of
8457 Pass handle of the broadcast event, instead of a pointer to it
8458 in Win32 ResetEvent( ) call.
8459 Remove incorrect return values.
8460 (_Jv_CondDestroy): Close both event handles and delete
8462 (_Jv_CondNotify): Check if really the owner thread.
8463 (_Jv_CondNotifyAll): Check if really the owner thread.
8464 (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
8465 (really_start): Use SetEvent( ) to signal daemon_cond.
8466 (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
8467 WaitForSingleObject( ) instead to wait for daemon_cond to be
8470 2003-01-27 Ranjit Mathew <rmathew@hotmail.com>
8472 * configure.in: Specifically define HAVE_BACKTRACE if building
8474 * include/win32.h: Remove HAVE_BACKTRACE definition.
8475 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
8476 * configure: Rebuilt.
8478 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
8480 * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
8481 Set and AC_SUBST. Remove USE_LIBDIR conditional.
8482 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
8483 (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
8484 * Makefile.in, configure: Rebuilt.
8486 2003-01-24 Ranjit Mathew <rmathew@hotmail.com>
8489 * java/io/natFileWin32.cc (performList): Append only "*.*"
8490 if the canonical file path already has a "\" at the end.
8492 2003-01-24 Tom Tromey <tromey@redhat.com>
8494 * defineclass.cc (handleMethodsEnd): Precompute code for static
8496 (handleCodeAttribute): Likewise.
8497 * resolve.cc (ncode): Use run_class for unsynchronized static
8499 * include/java-interp.h (class _Jv_InterpMethod): Declare
8501 * interpret.cc (run_synch_class): Initialize class.
8502 (run) [insn_invokestatic]: Don't initialize class.
8503 [insn_anewarray]: Likewise.
8504 [insn_multianewarray]: Likewise.
8505 (run_class): New function.
8507 2003-01-24 Tom Tromey <tromey@redhat.com>
8509 * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
8512 2003-01-22 Andrew Haley <aph@redhat.com>
8514 * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
8515 * configure.host (CHECKREFSPEC): Define for x86_64.
8517 2003-01-21 Tom Tromey <tromey@redhat.com>
8519 * java/util/natResourceBundle.cc (getCallingClassLoader): Start
8522 2003-01-21 Vladimir Puskas <vpuskas@eunet.yu>
8524 * java/io/natFileWin32.cc (isAbsolute): Check path length before
8525 looking at any characters.
8526 * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
8528 (isAbsolute): Check path's length as well.
8530 2003-01-17 Mark Wielaard <mark@klomp.org>
8532 * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
8533 (nat_source_files): Add natVMObjectStreamClass.cc.
8534 * Makefile.in: Regenerated.
8535 * gcj/javaprims.h (namespace java): Regenerated.
8536 * java/io/ObjectStreamClass.java (getClassUID): Call
8537 VMObjectStreamClass.hasClassInitializer().
8538 (hasClassInitializer): Removed.
8539 * java/io/VMObjectStreamClass.java: New class.
8540 * java/io/natVMObjectStreamClass.cc: New file.
8541 * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
8543 2003-01-16 Mark Wielaard <mark@klomp.org>
8545 * java/net/SocketImpl.java (toString): Don't explicitly call
8546 toString() on possible null address.
8548 2003-01-16 Michael Koch <konqueror@gmx.de>
8550 * java/net/MulticastSocket.java
8551 (setInterface): Reindented.
8553 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
8555 * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
8556 * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
8557 * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
8558 translateY arguments. Implement.
8559 * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
8560 down translation arguments.
8561 (drawPolyline, drawPolygon): Fix incorrect tests.
8562 * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
8563 translateX and translateY arguments.
8565 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
8567 * Makefile.in: Rebuilt.
8568 * Makefile.am (xlib_includes): New macro.
8571 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
8573 * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
8574 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
8575 16-bit display mode.
8577 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
8579 * java/awt/CardLayout.java (show): Rewrote.
8580 (gotoComponent): Removed `target' argument. Simplified code.
8581 Don't pre-compute `choice' unless `what' is FIRST or LAST.
8582 Changed all callers.
8585 2003-01-14 Michael Koch <konqueror@gmx.de>
8587 * java/net/InetSocketAddress.java
8588 (serialVersionUID): New member variable.
8589 * java/net/NetPermission.java
8590 (NetPermission): Dont implement java.io.Serialization directly.
8591 * java/net/SocketAddress.java:
8592 (serialVersionUID): Documentation added.
8594 2003-01-14 Michael Koch <konqueror@gmx.de>
8596 * java/awt/Label.java
8597 (Label): Implements javax.accessibility.Accessible;
8598 * java/awt/List.java
8599 (List): Implements javax.accessibility.Accessible;
8600 * java/awt/ScrollPane.java
8601 (ScrollPane): Implements javax.accessibility.Accessible;
8602 * java/awt/Scrollbar.java
8603 (Scrollbar): Implements javax.accessibility.Accessible;
8604 * java/awt/TextComponent.java
8605 (setCaretPosition): Throw exception, documentation added.
8606 * java/awt/Toolkit.java:
8607 Added some newlines in method documentations.
8608 (createButton): Exception documentation added.
8609 (createTextField): Exception documentation added.
8610 (createLabel): Exception documentation added.
8611 (createList): Exception documentation added.
8612 (createCheckbox): Exception documentation added.
8613 (createScrollbar): Exception documentation added.
8614 (createScrollPane): Exception documentation added.
8615 (createTextArea): Exception documentation added.
8616 (createChoice): Exception documentation added.
8617 (createFrame): Exception documentation added.
8618 (createWindow): Exception documentation added.
8619 (createDialog): Exception documentation added.
8620 (createMenuBar): Exception documentation added.
8621 (createMenu): Exception documentation added.
8622 (createMenuItem): Exception documentation added.
8623 (createFileDialog): Exception documentation added.
8624 (createCheckboxMenuItem): Exception documentation added.
8625 (loadSystemColors): Exception documentation added.
8626 (setDynamicLayout): Exception documentation added.
8627 (isDynamicLayoutSet): Exception documentation added.
8628 (isDynamicLayoutActive): Exception documentation added.
8629 (getScreenSize): Exception documentation added.
8630 (getScreenResolution): Exception documentation added.
8631 (getScreenInsets): Exception documentation added.
8632 (getColorModel): Exception documentation added.
8633 (getSystemClipboard): Exception documentation added.
8634 (getSystemSelection): Exception documentation added.
8635 (getMenuShortcutKeyMask): Exception documentation added.
8636 (getSystemEventQueue): Exception documentation added.
8637 * java/awt/Window.java:
8638 Reindented some code.
8639 (Window): Centralized implementation, documentation added.
8640 (finalize): Documentation added.
8641 (hide): Fixed typo in comment.
8642 (getWindowListeners): Documentation added.
8643 * java/awt/color/ColorSpace.java
8644 (toRGB): Documentation added.
8645 * java/awt/color/ICC_ColorSpace.java
8646 (ICC_ColorSpace): Documentation added.
8647 (toRGB): Throw exception, documentation added.
8648 (fromRGB): Throw exception, documentation added.
8649 (toCIEXYZ): Documentation added.
8650 (fromCIEXYZ): Documentation added.
8651 (getMinValue): Documentation added.
8652 (getMaxValue): Documentation added.
8653 * java/awt/geom/Dimension2D.java
8654 (clone): Documentation added.
8655 * java/awt/geom/GeneralPath.java
8656 (clone): Documentation added.
8657 * java/awt/geom/Line2D.java
8658 (clone): Documentation added.
8659 * java/awt/geom/QuadCurve2D.java
8660 (clone): Documentation added.
8661 * java/awt/image/ColorModel.java
8662 (ColorModel): Throw exception, documentation added.
8663 * java/awt/image/ImageFilter.java
8664 (clone): Doesnt throw CloneNotSupportedException.
8666 2003-01-14 Andrew Haley <aph@redhat.com>
8668 * java/lang/natRuntime.cc (_load): StackTrace access needs to be
8671 2003-01-10 Andrew Haley <aph@redhat.com>
8673 * include/dwarf2-signal.h: Remove x86_64.
8674 * configure.host (x86_64 DIVIDESPEC): Remove.
8675 * include/x86_64-signal.h: New file.
8676 * configure.in: Regenerate.
8678 2003-01-10 Michael Koch <konqueror@gmx.de>
8680 * java/net/DatagramSocket.java
8681 (ch): Description added.
8682 (remotePort): Initialize with -1.
8683 (connect): Doesnt throws SocketException.
8684 * java/net/MulticastSocket.java
8685 (setInterface): Merge with Classpath.
8686 * java/net/ServerSocket.java
8687 (closed): New member variable.
8688 (bind): Check if socket is closed.
8689 (close): Close an associated channel too, set new value to closed.
8690 (isBound): Reindented.
8691 (isClosed): Implemented.
8692 * java/net/Socket.java
8693 (closed): New member variable.
8694 (bind): Check if socket is closed.
8695 (connect): Check if socket is closed.
8696 (close): Close an associated channel too, set new value to closed.
8697 (isClosed): Implemented.
8699 2003-01-10 Michael Koch <konqueror@gmx.de>
8701 * java/awt/DisplayMode.java
8702 (equals): Fixed argument type and implementation.
8704 2003-01-07 Tom Tromey <tromey@redhat.com>
8706 * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
8707 JV_HASH_SYNCHRONIZATION.
8708 * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
8709 JV_HASH_SYNCHRONIZATION.
8711 2003-01-07 Michael Koch <konqueror@gmx.de>
8713 * java/net/DatagramSocket.java:
8714 Added classpath license info.
8715 (DatagramSocket): Merged description with classpath.
8716 (close): Merged description with classpath.
8717 (getChannel): Merged description with classpath.
8718 (getInetAddress): Merged description with classpath.
8719 (getPort): Merged description with classpath.
8720 (getLocalAddress): Merged description with classpath.
8721 (getLocalPort): Merged description with classpath.
8722 (getSoTimeout): Merged description with classpath.
8723 (setSoTimeout): Merged description with classpath.
8724 (getSendBufferSize): Merged description with classpath.
8725 (setSendBufferSize): Merged description with classpath.
8726 (getReceiveBufferSize): Merged description with classpath.
8727 (setReceiveBufferSize): Merged description with classpath.
8729 2003-01-04 Tom Tromey <tromey@redhat.com>
8731 * java/awt/List.java: Merged with Classpath.
8733 2003-01-03 Mark Wielaard <mark@klomp.org>
8735 * java/io/FileDescriptor.java (position): New private field.
8736 * java/io/natFileDescriptorPosix.cc (write): Up position.
8737 (setLength): Use and set position.
8738 (seek): Set position.
8739 (getFilePointer): Return position.
8740 (read): Up position.
8742 2003-01-03 Mark Wielaard <mark@klomp.org>
8744 Merge with Classpath:
8745 * java/io/ObjectStreamClass.java (lookup): Split method and call
8746 lookupForClassObject().
8747 (lookupForClassObject): New method.
8748 (isProxyClass): New field.
8749 (setClass): Set isProxyClass, add object to classLookupTable, set
8750 superClass and calculateOffsets.
8751 (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
8752 and not a proxy class.
8753 (setFields): Set accessible true for serialPersistentFields.
8754 (getClassUID): Same for suid. And check if suid is of type long.
8755 (hasClassInitializer): Don't throw NoSuchMethodError.
8757 2003-01-03 Mark Wielaard <mark@klomp.org>
8759 * java/io/FileInputStream.java (finalize): Don't explicitly
8760 finalize FileDescriptor.
8762 2003-01-03 Jeff Sturm <jsturm@one-point.com>
8764 * configure.host (sparc*-*): Enable bytecode interpreter.
8766 2003-01-03 Dhek Bhun Kho <bhun@chello.nl>
8768 * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
8769 Don't throw RemoteException.
8770 * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
8771 throw RemoteException.
8773 2003-01-03 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
8775 * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
8776 proxyHost): New static fields.
8777 (<clinit>): Initialize new fields.
8778 (connect): Use proxy if necessary.
8779 (usingProxy): Implement.
8781 2003-01-03 Eric Blake <ebb9@email.byu.edu>
8783 * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
8784 (TreeIterator.remove): Prefer IllegalStateException over
8785 ConcurrentModificationException, to match Sun.
8787 2002-12-22 Anthony Green <green@redhat.com>
8789 * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
8791 2003-01-02 Mark Wielaard <mark@klomp.org>
8793 * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
8795 (HTTP_USE_PROXY): Add field.
8796 (getResponseVals): Only set responseCode when not yet explicitly
8799 2003-01-02 Artur Biesiadowski <abies@pg.gda.pl>
8800 Mark Wielaard <mark@klomp.org>
8802 * java/util/zip/ZipFile.java (entries): Now HashMap.
8803 (readLeShort(DataInput, byte[])): Read from given byte array.
8804 (readLeInt(DataInput, byte[]): Likewise.
8805 (readLeShort(byte[] b, int off)): New method.
8806 (readLeInt(byte[] b, int off)): Likewise.
8807 (readEntries): Use byte arrays to read info in bigger chunks.
8808 (getEntries): Return HashMap.
8809 (getEntry): Use HashMap.
8810 (locBuf): New private field.
8811 (checkLocalHeader): Use locBuf to read info in one chunk.
8812 (getInputStream): Use entries HashMap, wrap PartialInputStream
8813 in BufferedInputStream.
8814 (ZipEntryEnumeration): Use HashMap and Interator.
8816 2003-01-02 Mark Wielaard <mark@klomp.org>
8817 Jeroen Frijters <jeroen@sumatra.nl>
8819 * java/net/URLClassLoader.java (Resource.getCodeSource):
8820 Fix check certs == null.
8821 (getCanonicalFileURL): Removed method.
8822 (JarURLLoader): Don't call removed method.
8823 (FileURLLoader): Likewise.
8824 (FileURLLoader.getResource): Don't canonicalize file name.
8826 2003-01-01 Tom Tromey <tromey@redhat.com>
8828 * Makefile.in: Rebuilt.
8829 * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
8830 * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
8831 java/awt/BufferCapabilities.java, java/awt/Button.java,
8832 java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
8833 java/awt/Container.java, java/awt/Cursor.java,
8834 java/awt/EventQueue.java, java/awt/FileDialog.java,
8835 java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
8836 java/awt/MenuBar.java, java/awt/MenuComponent.java,
8837 java/awt/PopupMenu.java, java/awt/ScrollPane.java,
8838 java/awt/Scrollbar.java, java/awt/TextArea.java,
8839 java/awt/TextField.java, java/awt/color/CMMException.java,
8840 java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
8841 java/awt/color/ProfileDataException.java,
8842 java/awt/datatransfer/Clipboard.java,
8843 java/awt/datatransfer/DataFlavor.java,
8844 java/awt/datatransfer/FlavorMap.java,
8845 java/awt/datatransfer/SystemFlavorMap.java,
8846 java/awt/dnd/DragGestureEvent.java,
8847 java/awt/dnd/DragGestureRecognizer.java,
8848 java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
8849 java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
8850 java/awt/im/InputMethodHighlight.java,
8851 java/io/PipedOutputStream.java, java/io/PipedWriter.java,
8852 java/rmi/server/RMIClassLoader.java: Merged from Classpath.
8854 * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
8855 `op' to BufferedImageOp.
8857 2002-12-31 Tom Tromey <tromey@redhat.com>
8859 Fix for PR libgcj/7416:
8860 * javax/naming/InitialContext.java (init): Use
8861 gnu.classpath.home.url.
8862 * java/security/Security.java: Use new properties.
8863 (loadProviders): Accept base url; use it.
8864 * java/lang/System.java: Document gnu.classpath.vm.shortname, and
8865 gnu.classpath.home.url.
8866 (gnu.classpath.home.url): Define.
8867 (gnu.classpath.vm.shortname): Likewise.
8869 2002-12-31 Tom Tromey <tromey@redhat.com>
8870 Ranjit Mathew <rmathew@hotmail.com>
8872 Fix for PR libgcj/8997:
8873 * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
8875 * include/posix.h (_Jv_platform_usleep): New function.
8876 * include/win32.h (_Jv_platform_usleep): New function.
8878 2002-12-29 Tom Tromey <tromey@redhat.com>
8880 * gcj/javaprims.h: Updated.
8881 * scripts/classes.pl (scan): Removed stray semicolon.
8883 2002-12-30 Mark Wielaard <mark@klomp.org>
8885 * java/net/URLStreamHandler.java (toExternalForm): Ignore port
8888 2002-12-30 Mark Wielaard <mark@klomp.org>
8890 * java/util/Properties (formatForOutput): Don't fall through to
8891 default case after escaping character.
8893 2002-12-30 Mark Wielaard <mark@klomp.org>
8895 * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
8898 2002-12-27 Mark Mitchell <mark@codesourcery.com>
8900 * boehm.cc: Remove stray semicolon.
8901 * interpret.cc: Likewise.
8902 * prims.cc: Likewise.
8903 * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
8904 earlier to ensure default arguments are processed.
8905 * gcj/array.h (JArray): Add forward declaration.
8906 (elements): Likewise.
8907 * gcj/javaprim.h: Remove stray semicolons.
8908 * include/bohm-gc.h: Likewise.
8909 * include/jni.h: Likewise.
8910 * include/jvm.h: Likewise.
8911 * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
8913 2002-12-23 Jeff Sturm <jsturm@one-point.com>
8915 * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
8917 * java/lang/natClass.cc (initializeClass): Link vtable, otable,
8918 idt tables after initializing superclass.
8919 * java/lang/natClassLoader.cc (uaddr): New typedef.
8920 (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
8921 if they are constant pool indicies. Don't link vtable, otable yet.
8923 2002-12-21 Anthony Green <green@redhat.com>
8925 * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
8927 * Makefile.in: Rebuilt.
8929 2002-12-19 Anthony Green <green@redhat.com>
8931 * Makefile.am (ordinary_java_source_files): Add
8932 org/xml/sax/helpers/NewInstance.java.
8933 * Makefile.in: Rebuilt.
8934 * org/xml/sax/package.html, org/xml/sax/ext/package.html,
8935 org/xml/sax/helpers/package.html: New files.
8936 * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
8937 http://www.saxproject.org.
8939 2002-12-19 Andrew Haley <aph@redhat.com>
8941 * java/util/natResourceBundle.cc: Include
8942 ArrayIndexOutOfBoundsException.h.
8943 (getCallingClassLoader): Don't put upper bound on stack search.
8944 Catch ArrayIndexOutOfBoundsException.
8946 2002-12-19 Tom Tromey <tromey@redhat.com>
8948 * libtool-version: Increased `current'.
8950 2002-12-19 Tom Tromey <tromey@redhat.com>
8952 * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
8954 * java/lang/ClassLoader.java (defineClass): Use chained
8955 exception when rethrowing.
8956 * defineclass.cc (handleClassBegin): Mark class as interpreted.
8957 * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
8959 * resolve.cc (_Jv_PrepareMissingMethods): New function.
8960 (_Jv_PrepareClass): Use it.
8961 * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
8962 (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
8963 * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
8964 (Class): _Jv_PrepareMissingMethods now friend.
8965 * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
8966 Record `NULL' for system class loader.
8967 (_Jv_RegisterInitiatingLoader): Use JvSynchronize. Special case
8968 system class loader.
8969 (_Jv_FindClassInCache): Likewise.
8970 (_Jv_UnregisterClass): Use JvSynchronize. Free old loader info.
8971 (_Jv_FindClass): Special case system class loader.
8972 * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
8973 (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
8975 (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
8977 (_getDeclaredMethod): Don't return synthetic methods.
8978 (getDeclaredMethods): Likewise.
8979 (_getMethod): Likewise.
8980 (_getMethods): Likewise.
8982 2002-12-18 Raif Naffah <raif@fl.net.au>
8984 * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
8985 canonical form after divide().
8986 (modInverse): Likewise.
8988 2002-12-13 Casey Marshall <rsdio@metastatic.org>
8989 Mark Wielaard <mark@klomp.org>
8991 * java/security/SecurityRandom (digest): Removed field.
8992 (SecureRandom): Check all providers for case-insensitive SecureRandom
8993 implementation. Don't ignore classname == null. Fallback to SHA1PRNG
8995 (getInstance(String,Provider,boolean): New method.
8996 (getInstance(String)): Use new method.
8997 (getInstance(String,String)): Likewise.
8998 (getInstance(String,Provider)): Likewise.
9000 2002-12-13 Casey Marshall <rsdio@metastatic.org>
9002 * java/security/Security.java (loadProviders): Increment i only once.
9004 2002-12-12 Mark Wielaard <mark@klomp.org>
9006 * java/lang/ClassLoader.java (resolveClass0): Transform
9007 ClassNotFoundException to NoClassDefFoundError. Transform all other
9008 throwables to LinkageError.
9010 2002-12-11 Tom Tromey <tromey@redhat.com>
9012 * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
9014 * java/lang/ClassLoader.java (loadedClasses): New field.
9015 (defineClass): Fixed indentation. Put new class in
9017 (findLoadedClass): Implement here.
9018 * java/lang/natClassLoader.cc (findLoadedClass): Removed.
9020 2002-12-10 Tom Tromey <tromey@redhat.com>
9022 * Makefile.in: Rebuilt.
9023 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
9024 * gnu/gcj/runtime/natVMClassLoader.cc: New file.
9025 (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
9026 * java/lang/natClassLoader.cc
9027 (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
9029 2002-12-10 Mark Wielaard <mark@klomp.org>
9030 Tom Tromey <tromey@redhat.com>
9032 * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
9033 (JarURLLoader): Use it.
9034 (FileURLLoader): Likewise.
9035 (JarURLResource.getURL): Use chained exception.
9036 (FileResource.getURL): Likewise.
9037 (FileURLLoader.getResource): Use canonical file name.
9038 (addURL): Indentation fix.
9040 2002-12-10 Tom Tromey <tromey@redhat.com>
9042 * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
9043 From Laurent Bardet <l.bardet@magic.fr>.
9045 2002-12-09 Tom Tromey <tromey@redhat.com>
9047 * include/win32.h (_Jv_platform_solib_prefix): New define.
9048 (_Jv_platform_solib_suffix): Likewise.
9049 * include/posix.h (_Jv_platform_solib_prefix): New define.
9050 (_Jv_platform_solib_suffix): Likewise.
9051 * java/lang/natRuntime.cc: Include StackTrace.h.
9052 (_load): Use findLibrary and new platform defines.
9053 (nativeGetLibname): Use new platform defines.
9055 * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
9058 2002-12-08 Mark Wielaard <mark@klomp.org>
9060 * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
9061 cache remote jar files.
9062 * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
9063 add File.separator to URL when it is a directory.
9064 * java/lang/ClassLoader.java: Add Classpath javadoc.
9066 (getParent): Add (disabled) security check.
9067 (findLibrary): New default method.
9068 * java/net/JarURLConnection.java (getManifest): Implement.
9069 (getInputStream): Only create InputStream when entry exists.
9070 (getHeaders): Only use jarFileURLConnection or JarEntry to set length
9072 * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
9074 2002-12-08 Mark Wielaard <mark@klomp.org>
9076 * java/util/ResourceBundle.java (resourceBundleCache): Not final.
9077 (lastDefaultLocale): New field.
9078 (getBundle): When Locale.getDefault != lastDefaultLocale reset
9079 resourceBundleCache.
9081 2002-12-06 Mark Wielaard <mark@klomp.org>
9083 * java/net/InetAddress.java (toString): Use hostname when not null,
9084 don't do an explicit reverse getHostName() lookup.
9085 * java/net/Socket.java (setSocketImplFactory): When fac == null throw
9086 NullPointerException.
9088 2002-12-06 Tom Tromey <tromey@redhat.com>
9090 * include/java-interp.h (class _Jv_InterpMethod): Added
9092 * boehm.cc (_Jv_MarkObj): Consolidated interpreter code. Also
9093 mark `prepared' field of interpreted method.
9094 * interpret.cc (compile): Use _Jv_AllocBytes.
9096 2002-12-05 Andrew Haley <aph@redhat.com>
9098 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
9099 #ifdef (HAVE_BACKTRACE) around the whole function body.
9101 2002-12-05 Tom Tromey <tromey@redhat.com>
9103 * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
9104 * resolve.cc: Don't include AbstractMethodError.h.
9105 (_Jv_abstractMethodError): Removed.
9106 * defineclass.cc (handleMethodsBegin): Initialize method index to
9108 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
9109 method index for "new" final method.
9110 (_Jv_SetVTableEntries): Compare index against -1 instead of using
9111 isVirtualMethod. Added `flags' argument.
9112 (_Jv_MakeVTable): Throw exception for abstract method in concrete
9115 2002-12-04 Tom Tromey <tromey@redhat.com>
9117 * java/net/SocketPermission.java (hashCode): Rewrote.
9119 2002-12-04 Tom Tromey <tromey@redhat.com>
9121 * Makefile.in: Rebuilt.
9122 * Makefile.am (nat_source_files): Added natVMSecurityManager,
9124 * java/util/ResourceBundle.java (Security): Removed.
9125 (getCallingClassLoader): Now native.
9126 * java/util/natResourceBundle.cc: New file.
9127 * java/lang/natVMSecurityManager.cc: New file.
9128 * java/lang/VMSecurityManager.java (getClassContext): Now native.
9130 2002-12-03 Mark Wielaard <mark@klomp.org>
9132 * java/util/jar/JarFile.java (manifest): Not final.
9133 (manifestRead): New field.
9134 (JarFile): Don't read Manifest in constructor.
9135 (getManifest): New method.
9136 (JarEnumeration.nextElement): Use new method.
9137 (getEntry): Likewise.
9138 * java/util/zip/ZipFile.java (name): Final.
9140 (entries): Change type to Hashtable.
9141 (closed): New field.
9142 (ZipFile): Don't read enties in constructor.
9143 (readEntries): Use Hashtable.
9144 (close): Set new close flag and set entries to null inside
9146 (entries): Contruct enumeration using new getEntries() method and
9148 (getEntryIndex): Removed.
9149 (getEntries): New method.
9150 (getEntry): Use new getEntries() method and entries Hastable.
9151 (getInputStream): Likewise.
9152 (size): Return getEntries().size().
9153 (ZipEntryEnumeration): Wrap entries Hashtable elements.
9154 * java/util/zip/ZipEntry.java (cal): Don't initialize.
9156 (dostime): New field.
9157 (zipFileIndex): Removed.
9158 (ZipEntry(ZipEntry)): Copy dostime.
9159 (setDOSTime): Now final and doesn't convert dos time.
9160 (getDOSTime): Likewise.
9161 (setTime): Convert dos time.
9162 (getTime): Likewise.
9163 (getCalendar): New method.
9164 (setExtra): Use setTime().
9165 * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
9167 2002-12-03 Tom Tromey <tromey@redhat.com>
9169 * java/lang/Character.java (forDigit): Formatting fix.
9171 2002-12-03 Raif Naffah <raif@fl.net.au>
9173 * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
9174 * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
9175 * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
9177 2002-12-03 Andrew Haley <aph@redhat.com>
9179 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
9181 (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
9182 (_Jv_PopClass): New.
9183 (_Jv_PushClass): New.
9184 * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
9185 discover the ClassLoader of our caller.
9186 (_Jv_CheckArrayStore): Don't check that a class is assignment
9187 compatible with Object.
9188 * java/lang/natVMTHrowable.cc: Delete.
9189 * gnu/gcj/runtime/StackTrace.java: New, partly copied from
9190 java.lang.VMThrowable.
9191 (StackTrace(), StackTrace(int)): New constructors.
9192 (classAt, methodAt, update, methodAtAddress): New methods.
9194 * java/lang/VMThrowable.java: Use StackTrace instead of
9196 * java/lang/Class.h (getClassLoaderInternal): New.
9197 (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
9198 Be friendly with gnu::gcj::runtime::StackTrace.
9199 (Object.chain): New field.
9200 * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
9201 gnu::gcj::runtime::StackTrace.
9202 * gnu/gcj/runtime/natStackTrace.cc: New file.
9203 * gnu/gcj/runtime/MethodRef.java: New file.
9204 * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
9205 instead of getClassLoader().
9206 * verify.cc (class _Jv_BytecodeVerifier): Likewise.
9207 java::lang::VMThrowable.
9208 * Makefile.am (core_java_source_files): Add MethodRef.java,
9210 (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
9211 * Makefile.in: Rebuild.
9213 2002-12-02 Kaz Kojima <kkojima@gcc.gnu.org>
9215 * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
9216 CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
9217 yes also for sh-linux* and sh[34]*-linux*.
9218 * configure.in: Add sh-linux* and sh[34]*-linux* cases and
9219 set SIGNAL_HANDLER to use DWARF2 exception for them.
9220 * configure: Regenerate.
9222 2002-12-02 Tom Tromey <tromey@redhat.com>
9224 * jni.cc: Added `name' argument.
9225 * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
9226 `const char *' argument.
9227 (class _Jv_JNIEnv) [DefineClass]: Likewise.
9229 2002-12-01 Tom Tromey <tromey@redhat.com>
9231 Bug compatibility, for PR libgcj/8738:
9232 * java/io/CharArrayWriter.java (close): Do nothing.
9234 (reset): Don't touch `closed'.
9235 (write(int)): Don't throw IOException.
9236 (write(char[],int,int)): Likewise.
9237 (write(String,int,int)): Likewise.
9240 2002-12-01 Mark Wielaard <mark@klomp.org>
9242 * java/lang/SecurityManager.java: Remerge comments, indenting and
9243 checkXXX methods with Classpath.
9245 2002-11-29 Scott Gilbertson <scottg@mantatest.com>
9247 * java/awt/image/ColorModel.java (getUnnormalizedComponents,
9248 getNormalizedComponents): Fix calculation which was using one too
9249 many bits in the unnormalized format.
9251 2002-11-29 Gary Benson <gbenson@redhat.com>
9254 * java/beans/Introspector.java (flushCaches): New method.
9255 (flushFromCaches): Likewise.
9257 2002-11-29 Michael Koch <konqueror@gmx.de>
9259 * java/nio/channels/DatagramChannel.java
9260 (open): Added exception documentation.
9261 (write): Added exception documentation.
9262 (connect): Added exception documentation.
9263 (disconnect): Added exception documentation.
9264 (isConnected): Added exception documentation.
9265 (read): Added exception documentation.
9266 (receive): Added exception documentation.
9267 (send): Added exception documentation.
9268 (validOps): Added exception documentation.
9269 * java/nio/channels/SocketChannel.java
9270 (open): Added exception documentation.
9271 (read): Added exception documentation.
9272 (write): Added exception documentation.
9273 (connect): Added exception documentation.
9274 (finishConnect): Added exception documentation.
9276 2002-11-29 Michael Koch <konqueror@gmx.de>
9278 * gnu/java/nio/DatagramChannelImpl:
9279 (fd): New member variable to store file descriptor of socket.
9280 * gnu/java/nio/SelectionKeyImpl.java:
9282 (readyOps): New member variable.
9283 (interestOps): New member variable.
9284 (readyOps): Implemented.
9285 (readyOps): New method to set member variable readyOps.
9286 (interestOps): Replaced ops by interestOps.
9287 * gnu/java/nio/SelectorImpl.java:
9288 (SelectorImpl): Initialize key sets.
9289 (select): Call select with -1 instead of Long.MAX_VALUE).
9290 (java_do_select): Make it a native method.
9291 (getFDsAsArray): New helper method.
9292 (select): Remove canceled keys, give only interested file discriptors
9293 to java_do_select, set ready ops.
9294 (add): No need to initialize keys set here.
9295 (add_selected): No need to initialize selected set here.
9296 (deregisterCanceledKeys): New helper method.
9297 (register): Set interest ops, set attachments, added handling of datagram
9299 * gnu/java/nio/ServerSocketChannelImpl:
9300 (SocketAccept): Renamed from NioSocketAccept.
9301 (implConfigureBlocking): Implemented.
9302 (accept): Use SocketAccept instead of NioSocketAccept.
9303 * gnu/java/nio/SocketChannelImpl:
9304 Reactivate native methods.
9306 2002-11-29 Michael Koch <konqueror@gmx.de>
9308 * gnu/java/nio/natByteBufferImpl.cc,
9309 gnu/java/nio/natCharBufferImpl.cc,
9310 gnu/java/nio/natDoubleBufferImpl.cc,
9311 gnu/java/nio/natFloatBufferImpl.cc,
9312 gnu/java/nio/natIntBufferImpl.cc,
9313 gnu/java/nio/natLongBufferImpl.cc,
9314 gnu/java/nio/natSelectorImpl.cc,
9315 gnu/java/nio/natServerSocketChannelImpl.cc,
9316 gnu/java/nio/natShortBufferImpl.cc,
9317 gnu/java/nio/natSocketChannelImpl.cc:
9318 New files that implement native functionalities.
9320 2002-11-29 Michael Koch <konqueror@gmx.de>
9322 * gnu/java/nio/ByteBufferImpl.java
9323 (ByteBufferImpl): Moved position() after limit.
9324 (nio_*): Use native implementation.
9325 * gnu/java/nio/CharBufferImpl.java:
9327 (endian): New member variable string endianess of buffer.
9328 (CharBufferImpl): Moved position() after limit.
9329 (nio_*): Use native implementation.
9330 (subSequence): Implemented.
9331 * gnu/java/nio/DoubleBufferImpl.java
9332 (DoubleBufferImpl): Moved position() after limit.
9333 (nio_*): Use native implementation.
9334 * gnu/java/nio/FloatBufferImpl.java
9336 (FloatBufferImpl): Moved position() after limit.
9337 (nio_*): Use native implementation.
9338 * gnu/java/nio/IntBufferImpl.java
9339 Added needed imports, Reformated.
9340 (IntBufferImpl): Moved position() after limit.
9341 (nio_*): Use native implementation.
9342 * gnu/java/nio/LongBufferImpl.java
9344 (LongBufferImpl): Moved position() after limit.
9345 (nio_*): Use native implementation.
9346 * gnu/java/nio/ShortBufferImpl.java
9348 (ShortBufferImpl): Moved position() after limit.
9349 (nio_*): Use native implementation.
9351 2002-11-27 Julian Dolby <dolby@us.ibm.com>
9353 * java/util/Locale.java (toString): Improve efficiency if country
9354 and variant are both empty.
9356 2002-11-26 Tom Tromey <tromey@redhat.com>
9358 * verify.cc (pop_init_ref): New method.
9359 (verify_instructions_0) [op_iaload, op_laload, op_faload,
9360 op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
9361 op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
9362 op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
9363 op_instanceof, op_monitorenter, op_monitorexit]: Use it.
9364 (verify_instructions_0) [op_invokevirtual, op_invokespecial,
9365 op_invokestatic, op_invokeinterface]: Use pop_init_ref. Don't
9366 let `this' argument be uninitialized. Don't let `null' be passed
9367 as `this' to construtor.
9369 2002-11-26 Mark Wielaard <mark@klomp.org>
9371 * javax/transaction/HeuristicCommitException.java: Classpath merge.
9372 * javax/transaction/HeuristicMixedException.java: Likewise.
9373 * javax/transaction/HeuristicRollbackException.java: Likewise.
9374 * javax/transaction/InvalidTransactionException.java: Likewise.
9375 * javax/transaction/NotSupportedException.java: Likewise.
9376 * javax/transaction/RollbackException.java: Likewise.
9377 * javax/transaction/Status.java: Likewise.
9378 * javax/transaction/Synchronization.java: Likewise.
9379 * javax/transaction/SystemException.java: Likewise.
9380 * javax/transaction/Transaction.java: Likewise.
9381 * javax/transaction/TransactionManager.java: Likewise.
9382 * javax/transaction/TransactionRequiredException.java: Likewise.
9383 * javax/transaction/TransactionRolledbackException.java: Likewise.
9384 * javax/transaction/UserTransaction.java: Likewise.
9385 * javax/transaction/xa/XAException.java: Likewise.
9386 * javax/transaction/xa/XAResource.java: Likewise.
9387 * javax/transaction/xa/Xid.java: Likewise.
9389 2002-11-26 Andreas Tobler <a.tobler@schweiz.ch>
9391 * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
9393 * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
9394 * include/posix.h (socklen_t): Define if not already defined.
9396 2002-11-25 Tom Tromey <tromey@redhat.com>
9398 * verify.cc (type::compatible): Backed out broken change.
9400 * verify.cc (type::compatible): Check initialization status
9402 * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
9403 Don't use NULLCHECK.
9405 2002-11-23 H.J. Lu <hjl@gnu.org>
9407 * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
9408 Include ../config/accross.m4.
9409 * aclocal.m4; Rebuild.
9410 * configure: Likewise.
9412 2002-11-23 Mark Wielaard <mark@klomp.org>
9414 * javax/naming/AuthenticationException.java: Update copyright header.
9415 * javax/naming/AuthenticationNotSupportedException.java: Likewise.
9416 * javax/naming/Binding.java: Likewise.
9417 * javax/naming/CannotProceedException.java: Likewise.
9418 * javax/naming/CommunicationException.java: Likewise.
9419 * javax/naming/CompositeName.java: Likewise.
9420 * javax/naming/CompoundName.java: Likewise.
9421 * javax/naming/ConfigurationException.java: Likewise.
9422 * javax/naming/Context.java: Likewise.
9423 * javax/naming/ContextNotEmptyException.java: Likewise.
9424 * javax/naming/InitialContext.java: Likewise.
9425 * javax/naming/InsufficientResourcesException.java: Likewise.
9426 * javax/naming/InterruptedNamingException.java: Likewise.
9427 * javax/naming/LimitExceededException.java: Likewise.
9428 * javax/naming/LinkException.java: Likewise.
9429 * javax/naming/LinkLoopException.java: Likewise.
9430 * javax/naming/LinkRef.java: Likewise.
9431 * javax/naming/MalformedLinkException.java: Likewise.
9432 * javax/naming/NameAlreadyBoundException.java: Likewise.
9433 * javax/naming/NameClassPair.java: Likewise.
9434 * javax/naming/NameNotFoundException.java: Likewise.
9435 * javax/naming/NameParser.java: Likewise.
9436 * javax/naming/NamingEnumeration.java: Likewise.
9437 * javax/naming/NamingSecurityException.java: Likewise.
9438 * javax/naming/NoInitialContextException.java: Likewise.
9439 * javax/naming/NoPermissionException.java: Likewise.
9440 * javax/naming/NotContextException.java: Likewise.
9441 * javax/naming/OperationNotSupportedException.java: Likewise.
9442 * javax/naming/PartialResultException.java: Likewise.
9443 * javax/naming/Reference.java: Likewise.
9444 * javax/naming/Referenceable.java: Likewise.
9445 * javax/naming/ReferralException.java: Likewise.
9446 * javax/naming/ServiceUnavailableException.java: Likewise.
9447 * javax/naming/SizeLimitExceededException.java: Likewise.
9448 * javax/naming/TimeLimitExceededException.java: Likewise.
9449 * javax/naming/directory/Attribute.java: Likewise.
9450 * javax/naming/directory/AttributeInUseException.java: Likewise.
9451 * javax/naming/directory/AttributeModificationException.java: Likewise.
9452 * javax/naming/directory/Attributes.java: Likewise.
9453 * javax/naming/directory/BasicAttribute.java: Likewise.
9454 * javax/naming/directory/BasicAttributes.java: Likewise.
9455 * javax/naming/directory/DirContext.java: Likewise.
9456 * javax/naming/directory/InitialDirContext.java: Likewise.
9457 * javax/naming/directory/InvalidAttributeIdentifierException.java:
9459 * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
9460 * javax/naming/directory/InvalidAttributesException.java: Likewise.
9461 * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
9462 * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
9463 * javax/naming/directory/ModificationItem.java: Likewise.
9464 * javax/naming/directory/NoSuchAttributeException.java: Likewise.
9465 * javax/naming/directory/SchemaViolationException.java: Likewise.
9466 * javax/naming/directory/SearchControls.java: Likewise.
9467 * javax/naming/directory/SearchResult.java: Likewise.
9468 * javax/naming/event/EventContext.java: Likewise.
9469 * javax/naming/event/EventDirContext.java: Likewise.
9470 * javax/naming/event/NamespaceChangeListener.java: Likewise.
9471 * javax/naming/event/NamingEvent.java: Likewise.
9472 * javax/naming/event/NamingExceptionEvent.java: Likewise.
9473 * javax/naming/event/NamingListener.java: Likewise.
9474 * javax/naming/event/ObjectChangeListener.java: Likewise.
9475 * javax/naming/ldap/Control.java: Likewise.
9476 * javax/naming/ldap/ControlFactory.java: Likewise.
9477 * javax/naming/ldap/ExtendedRequest.java: Likewise.
9478 * javax/naming/ldap/ExtendedResponse.java: Likewise.
9479 * javax/naming/ldap/HasControls.java: Likewise.
9480 * javax/naming/ldap/InitialLdapContext.java: Likewise.
9481 * javax/naming/ldap/LdapContext.java: Likewise.
9482 * javax/naming/ldap/LdapReferralException.java: Likewise.
9483 * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
9484 * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
9485 * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
9486 * javax/naming/spi/DirObjectFactory.java: Likewise.
9487 * javax/naming/spi/DirStateFactory.java: Likewise.
9488 * javax/naming/spi/DirectoryManager.java: Likewise.
9489 * javax/naming/spi/InitialContextFactory.java: Likewise.
9490 * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
9491 * javax/naming/spi/NamingManager.java: Likewise.
9492 * javax/naming/spi/ObjectFactory.java: Likewise.
9493 * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
9494 * javax/naming/spi/ResolveResult.java: Likewise.
9495 * javax/naming/spi/Resolver.java: Likewise.
9496 * javax/naming/spi/StateFactory.java: Likewise.
9498 * javax/naming/spi/NamingManager.java (ofb): Package private.
9500 2002-11-21 Mark Wielaard <mark@klomp.org>
9502 * java/net/URL.java: Merge with Classpath (partly).
9503 * java/net/URLStreamHandler: Merge with Classpath.
9505 2002-11-22 Michael Koch <konqueror@gmx.de>
9508 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
9510 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
9511 (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
9513 2002-11-21 Michael Koch <konqueror@gmx.de>
9515 * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
9516 Only the new network functions should be in it.
9518 2002-11-21 Michael Koch <konqueror@gmx.de>
9520 * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
9521 * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
9523 2002-11-21 Michael Koch <konqueror@gmx.de>
9525 * java/nio/channels/AsynchronousCloseException.java,
9526 java/nio/channels/CancelledKeyException.java,
9527 java/nio/channels/ClosedByInterruptException.java,
9528 java/nio/channels/ConnectionPendingException.java,
9529 java/nio/channels/FileLockInterruptionException.java,
9530 java/nio/channels/IllegalSelectorException.java,
9531 java/nio/channels/NoConnectionPendingException.java,
9532 java/nio/channels/NonReadableChannelException.java,
9533 java/nio/channels/NonWritableChannelException.java,
9534 java/nio/channels/NotYetBoundException.java,
9535 java/nio/channels/NotYetConnectedException.java,
9536 java/nio/channels/OverlappingFileLockException.java,
9537 java/nio/channels/UnresolvedAddressException.java,
9538 java/nio/channels/UnsupportedAddressTypeException.java:
9540 * Makefile.am (ordinary_java_source_files): Added new files.
9541 * Makefile.in: Regenerated.
9543 2002-11-21 Michael Koch <konqueror@gmx.de>
9546 (_Jv_socket): New method.
9547 (_Jv_connect): New method.
9548 (_Jv_close): New method.
9549 (_Jv_platform_close_on_exec): Prefixed system function with "::".
9550 (_Jv_bind): New method.
9551 (_Jv_listen): New method.
9552 (_Jv_write): New method.
9553 (_Jv_read): New method.
9555 (_Jv_socket): New method.
9556 (_Jv_connect): New method.
9557 (_Jv_close): New method.
9558 (_Jv_bind): New method.
9559 (_Jv_listen): New method.
9560 (_Jv_write): New method.
9561 (_Jv_read): New method.
9562 * java/net/natNetworkInterface.cc:
9563 Include platform.h, removed inclusion of socket.h
9564 (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
9565 ::close() by _Jv_close().
9566 * java/net/natPlainDatagramSocketImpl.cc:
9567 Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
9568 added some new lines to make code more readable.
9569 (create): Replaced ::socket() by _Jv_socket().
9570 (close): Replaced NATIVE_CLOSE() by _Jv_close().
9571 * java/net/natPlainSocketImpl.cc:
9572 Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
9573 removed include of socket.h, removed some windows defines
9574 (now in include/win32.h).
9575 (create): Replaced ::socket() by _Jv_socket().
9576 (close): Replaced NATIVE_CLOSE() by _Jv_close().
9577 (write): Replaced ::read by _Jv_write().
9578 (read): Replaced ::read by _Jv_read().
9580 2002-11-20 Michael Koch <konqueror@gmx.de>
9582 * Makefile.am (ordinary_java_source_files):
9583 Added java/nio/channels/FileChannel.java.
9584 * Makefile.in: Regenerated.
9586 2002-11-20 Michael Koch <konqueror@gmx.de>
9588 * java/io/FileInputStream.java
9589 (getChannel): New method.
9590 * java/io/FileOutputStream.java
9591 (getChannel): New method.
9592 * java/net/ServerSocket.java
9593 (bind): Removed duplicate code and called another bind method instead.
9594 * java/nio/channels/SelectionKey.java
9595 (isValid): Removed wrong exception documentation.
9596 * java/nio/channels/ServerSocketChannel.java
9597 (accept): Added exception documentation.
9598 (open): Fixed typo, added exception documentation.
9599 * java/nio/channels/spi/AbstractSelectableChannel.java
9600 (implCloseChannel): Added exception documentation.
9602 (register): Added exception documentation.
9604 2002-11-20 Andreas Jaeger <aj@suse.de>
9606 * configure: Regenerated with new libtool.m4.
9608 2002-11-19 Tom Tromey <tromey@redhat.com>
9610 * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
9612 (finalize_referred_to_object): Don't modify `referent' or `copy'
9614 (add_to_hash): Correctly set `n->next' when updating list.
9615 * java/lang/ref/Reference.java (enqueue): Return false if already
9618 2002-11-19 Ranjit Mathew <rmathew@hotmail.com>
9620 * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
9621 to function and function pointer declarations in accordance with
9622 Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
9623 based on whether __GCJ_JNI_IMPL__ has been defined or not.
9624 * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
9625 JNI function definitions.
9627 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
9629 * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
9630 that was causing CoderResults to be cached, not WeakReferences
9633 2002-11-18 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
9635 * java/security/KeyStore.java (getInstance): Fix
9636 comment and throw IllegalArgumentException if
9637 given provider is null.
9638 (getInstance): New method for jdk1.4 compatibility.
9640 2002-11-18 Michael Koch <konqueror@gmx.de>
9642 * java/net/PlainSocketImpl.java: Fix imports.
9644 2002-11-18 Michael Koch <konqueror@gmx.de>
9646 * java/nio/channels/SelectionKey.java
9647 (isValid): Added exception documentation.
9648 * java/nio/channels/Selector.java
9649 (open): Declare "throws IOException".
9651 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
9653 * java/nio/charset/Charset.java
9654 (<clinit>): New method.
9655 (encode): Synchronize use of cached encoder object.
9656 (decode): Synchronize use of cached encoder object.
9658 2002-11-18 Michael Koch <konqueror@gmx.de>
9660 * gnu/java/nio/ByteBufferImpl.java,
9661 gnu/java/nio/CharBufferImpl.java,
9662 gnu/java/nio/DatagramChannelImpl.java,
9663 gnu/java/nio/DoubleBufferImpl.java,
9664 gnu/java/nio/FileChannelImpl.java,
9665 gnu/java/nio/FloatBufferImpl.java,
9666 gnu/java/nio/IntBufferImpl.java,
9667 gnu/java/nio/LongBufferImpl.java,
9668 gnu/java/nio/PipeImpl.java,
9669 gnu/java/nio/SelectionKeyImpl.java,
9670 gnu/java/nio/SelectorImpl.java,
9671 gnu/java/nio/SelectorProviderImpl.java,
9672 gnu/java/nio/ServerSocketChannelImpl.java,
9673 gnu/java/nio/ShortBufferImpl.java,
9674 gnu/java/nio/SocketChannelImpl.java,
9675 java/nio/DoubleBuffer.java,
9676 java/nio/FloatBuffer.java,
9677 java/nio/IntBuffer.java,
9678 java/nio/LongBuffer.java,
9679 java/nio/ShortBuffer.java,
9680 java/nio/channels/FileChannel.java: New files.
9682 2002-11-18 Michael Koch <konqueror@gmx.de>
9684 * Makefile.am (ordinary_java_source_files):
9685 Added java/nio/ReadOnlyBufferException.java and
9686 java/nio/channels/ClosedSelectorException.java.
9687 * Makefile.in: Regenerated.
9689 2002-11-18 Michael Koch <konqueror@gmx.de>
9691 * java/net/PlainSocketImpl.java: Reworked imports.
9692 * java/net/ServerSocket.java
9693 (ServerSocket): Create socket.
9694 * java/net/SocketAddress.java: Documentation added.
9695 * java/net/natPlainSocketImpl.cc: Reindented.
9696 * java/nio/ReadOnlyBufferException.java: New file
9697 * java/nio/channels/ClosedChannelException.java: Documentation added.
9698 * java/nio/channels/ClosedSelectorException.java: New file.
9700 2002-11-17 Mark Wielaard <mark@klomp.org>
9702 * java/net/HttpURLConnection.java ((getPermission): Take port
9704 (getErrorStream): Implement.
9706 2002-11-17 Mark Wielaard <mark@klomp.org>
9708 * java/net/HttpURLConnection.java: Merge with GNU Classpath.
9710 2002-11-16 Mark Wielaard <mark@klomp.org>
9712 Integrate work by Raif S. Naffah (raif@fl.net.au)
9713 * java/security/DummyKeyPairGenerator.java (clone): New method.
9714 * java/security/DummyMessageDigest.java (clone): New method.
9715 (engineUpdate): Now public.
9716 (engineReset): Likewise.
9717 (engineDigest): Likewise.
9718 (engineGetDigestLength): New method.
9719 * java/security/DummySignature.java (clone): New method.
9720 * java/security/KeyPairGenerator.java (provider): Now package private.
9721 (getInstance(String)): Use getInstance(String,Provider).
9722 (getInstance(String,String): Use getInstance(String,Provider)
9723 (getInstance(String,Provider): New method.
9724 (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
9725 * java/security/KeyPairGeneratorSpi.java (clone): New method.
9726 * java/security/MessageDigest.java (provider): Now package private.
9727 (getInstance(String): Use getInstance(String,Provider).
9728 (getInstance(String,String): Use getInstance(String,Provider)
9729 (getInstance(String,Provider): New method.
9730 * java/security/Provider.java (toCanonicalKey): New method.
9731 (get): New method that uses toCanonicalKey().
9732 (put): Use toCanonicalKey().
9734 * java/security/Security.java (insertProviderAt): Provider index is one
9735 based, not zero based.
9736 (addProvider): Likewise.
9737 (removeProvider): Likewise.
9738 * java/security/Signature.java (provider): Now package private.
9739 (getInstance(String)): Use getInstance(String,Provider).
9740 (getInstance(String,String): Use getInstance(String,Provider)
9741 (getInstance(String,Provider): New method.
9742 (getInstance(String,String,Provider): Don't cast DummySignature.
9744 2002-11-15 Tom Tromey <tromey@redhat.com>
9747 * java/util/zip/GZIPInputStream.java (read): Check file size.
9748 Look in inflater for remaining input bytes.
9749 (read4): Added buf and offset arguments.
9751 2002-11-12 Eric Blake <ebb9@email.byu.edu>
9753 * java/applet/AppletContext.java: Fix typo and remove redundant
9756 2002-11-14 Tom Tromey <tromey@redhat.com>
9758 * java/lang/natRuntime.cc (insertSystemProperties): Set
9761 2002-11-13 Michael Koch <konqueror@gmx.de>
9763 * java/nio/ByteBuffer.java
9764 (allocate): New method.
9769 2002-11-13 Michael Koch <konqueror@gmx.de>
9771 * java/nio/channels/AlreadyConnectedException.java:
9772 Removed unneeded import.
9773 (AlreadyConnectedException): Documentation added.
9774 * java/nio/channels/Pipe.java
9775 (SinkChannel.SinkChannel): Documentation added.
9776 (SinkChannel.validOps): New method.
9777 (SourceChannel.SourceChannel): Documentation added.
9778 (SourceChannel.validOps): New method.
9779 (Pipe): Documentation added.
9780 (open): Documentation added.
9781 (SinkChannel.channel): Documentation added.
9782 (SourceChannel.channel): Documentation added.
9783 * java/nio/channel/SelectableChannel.java
9784 (SelectableChannel): Documentation added.
9785 (blockingLock): Documentation added.
9786 (configureBlocking):Documentation added.
9787 (isBlocking):Documentation added.
9788 (isRegistered):Documentation added.
9789 (keyFor):Documentation added.
9790 (provider):Documentation added.
9791 (register): Documentation added.
9792 (validOps): Documentation added.
9793 * jaba/nio/channels/SelectionKey.java
9794 (SelectionKey): Documentation added.
9795 (attach): Documentation added.
9796 (attachment): Documentation added.
9797 (isAcceptable): Documentation added.
9798 (isConnetable): Documentation added.
9799 (isReadable): Documentation added.
9800 (isWritable): Documentation added.
9801 (cancel): Documentation added.
9802 (channel): Documentation added.
9803 (interestOps): Documentation added.
9804 (isValid): Documentation added.
9805 (readyOps): Documentation added.
9806 (selector): Documentation added.
9807 * jaba/nio/channels/Selector.java
9808 (Selector): Documentation added.
9809 (open): Documentation added.
9810 (close): Documentation added.
9811 (isOpen): Documentation added.
9812 (keys): Documentation added.
9813 (provider): Documentation added.
9814 (select): Documentation added.
9815 (selectedKeys): Documentation added.
9816 (selectNow): Documentation added.
9817 (wakeup): Documentation added.
9818 * java/nio/channels/spi/AbstractInterruptibleChannel.java
9819 (AbstractInterruptibleChannel): Documentation added.
9820 (opened): Default to true;
9821 (begin): Documentation added.
9822 (close): Set opened to false, documentation added.
9823 (isOpen): Documentation added.
9824 * java/nio/channels/spi/AbstractSelectionKey.java
9825 (AbstractSelectionKey): Documentation added.
9826 (cancel): Documentation added.
9827 (isValid): Documentation added.
9828 * java/nio/channels/spi/AbstractSelector.java
9829 (AbstractSelector): Documentation added.
9830 (begin): Documentation added.
9831 (close): Documentation added.
9832 (isOpen): Documentation added.
9833 (deregister): Documentation added.
9834 (end): Documentation added.
9835 (provider): Documentation added.
9836 (implCloseSelector): Documentation added.
9837 (register): Documentation added.
9838 * java/nio/channels/spi/SelectorProvider.java
9839 (SelectorProvider): Documentation added.
9840 (openDatagramChannel): Documentation added.
9841 (openPipe): Documentation added.
9842 (openSelector): Documentation added.
9843 (openServerSocketChannel): Documentation added.
9844 (openSocketChannel): Documentation added.
9845 (provider): Documentation added.
9847 2002-11-12 Michael Koch <konqueror@gmx.de>
9849 * java/nio/Buffer.java: Implemented.
9850 * java/nio/CharBuffer.java: New file.
9851 * java/nio/InvalidMarkException.java: New file.
9852 * java/nio/channels/DatagramChannel.java: Implemented.
9853 * java/nio/channels/ServerSocketChannel.java: Implemented.
9854 * java/nio/channels/SocketChannel.java: Implemented.
9855 * java/nio/channels/spi/AbstractChannel.java: Removed.
9856 * java/nio/channels/spi/AbstractSelectableChannel.java:
9858 * java/nio/charset/Charset.java:
9859 Merge from Classpath.
9860 * java/nio/charset/CharsetDecoder.java: New file.
9861 * java/nio/charset/CharsetEncoder.java: New file.
9862 * java/nio/charset/CoderResult.java: New file.
9863 * Makefile.am (ordinary_java_source_files): Added new files.
9864 * Makefile.in: Regenerated.
9866 2002-11-11 Jesse Rosenstock <jmr@ugcs.caltech.edu>
9868 * gnu/java/nio/charset/ISO_8859_1.java,
9869 gnu/java/nio/charset/Provider.java,
9870 gnu/java/nio/charset/US_ASCII.java,
9871 gnu/java/nio/charset/UTF_16.java,
9872 gnu/java/nio/charset/UTF_16BE.java,
9873 gnu/java/nio/charset/UTF_16Decoder.java,
9874 gnu/java/nio/charset/UTF_16Encoder.java,
9875 gnu/java/nio/charset/UTF_16LE.java,
9876 gnu/java/nio/charset/UTF_8.java: New files.
9878 2002-11-11 Michael Koch <konqueror@gmx.de>
9880 * java/nio/charset/CharacterCodingException.java:
9881 This class must be public.
9882 * java/nio/charset/CoderMalfunctionError.java:
9883 This class must be public.
9884 * java/nio/charset/CodingErrorAction.java:
9885 This class must be public.
9886 * java/nio/charset/IllegalCharsetNameException.java:
9887 This class must be public, better implementation.
9888 * java/nio/charset/MalformedInputException.java:
9889 This class must be public, better implementation.
9890 * java/nio/charset/UnmappableCharacterException.java:
9891 This class must be public, better implementation.
9892 * java/nio/charset/UnsupportedCharsetException.java:
9893 This class must be public, better implementation.
9895 2002-11-11 Michael Koch <konqueror@gmx.de>
9897 * java/nio/BufferOverflowException.java,
9898 java/nio/BufferUnderflowException.java: New file.
9899 * Makefile.am (ordinary_java_source_files):
9901 * Makefile.in: Regenerated.
9903 2002-11-10 Tom Tromey <tromey@redhat.com>
9905 * java/awt/Container.java (validate): Use tree lock.
9906 (getComponent): Likewise.
9907 (getComponents): Likewise.
9908 (addImpl): Likewise.
9910 (removeAll): Likewise.
9911 (processEvent): Fixed indentation.
9912 (getComponentAt): Use tree lock.
9913 (findComponentAt): Likewise.
9914 (removeNotify): Likewise.
9915 (isAncestorOf): Likewise.
9917 (visitChildren): Likewise.
9918 (findNextFocusComponent): Likewise.
9919 (addNotifyContainerChildren): Likewise.
9920 (getAccessibleChildrenCount): Likewise.
9921 (getAccessibleChild): Likewise.
9923 * java/awt/GridLayout.java (layoutContainer): Use tree lock.
9924 (getSize): Likewise.
9925 * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
9926 (getSize): Likewise.
9927 * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
9928 (calcSize): Likewise.
9929 * java/awt/CardLayout.java (getSize): Use tree lock.
9930 (gotoComponent): Likewise.
9931 (layoutContainer): Likewise.
9933 * java/io/natFileDescriptorWin32.cc (read): Handle case where
9935 * java/io/natFileDescriptorPosix.cc (read): Handle case where
9938 * java/io/Externalizable.java, java/io/FilePermission.java,
9939 java/io/ObjectStreamConstants.java, java/io/Serializable.java,
9940 java/io/SerializablePermission.java, java/text/Format.java,
9941 java/util/AbstractMap.java, java/util/HashMap.java,
9942 java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
9943 versions from Classpath.
9945 2002-11-10 Anthony Green <green@redhat.com>
9947 * java/util/jar/Attributes.java (Name): Fix name check.
9949 2002-11-10 Mark Wielaard <mark@klomp.org>
9951 * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
9952 with getName() as message.
9953 (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
9956 * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
9959 2002-11-08 Ranjit Mathew <rmathew@hotmail.com>
9961 * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
9962 for Win32. JNICALL has been defined to __stdcall to be compatible
9965 2002-11-10 Tom Tromey <tromey@redhat.com>
9967 * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
9968 (setRows): Check newRows, not rows.
9970 * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
9972 2002-11-09 Tom Tromey <tromey@redhat.com>
9974 * java/applet/Applet.java, java/applet/AppletContext.java,
9975 java/applet/AppletStub.java, java/applet/AudioClip.java,
9976 java/awt/CardLayout.java,
9977 java/awt/ContainerOrderFocusTraversalPolicy.java,
9978 java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
9979 java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
9980 java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
9981 java/awt/color/ICC_ColorSpace.java,
9982 java/awt/color/ICC_Profile.java,
9983 java/awt/color/ICC_ProfileGray.java,
9984 java/awt/color/ICC_ProfileRGB.java,
9985 java/awt/datatransfer/DataFlavor.java,
9986 java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
9987 java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
9988 New versions from Classpath.
9989 * Makefile.in: Rebuilt.
9990 * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
9993 * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
9996 * java/awt/List.java (processEvent): Added missing `else's.
9998 * java/awt/Window.java (show): validate() before showing. Make
10000 (isDisplayable): New method.
10002 2002-11-07 Mark Wielaard <mark@klomp.org>
10004 Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
10005 * java/rmi/MarshalledObject.java (equals): Check hashcode first.
10007 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
10009 (loadClass): Take String as codebases.
10010 (getClassAnnotation): Use MyClassLoader annotations.
10011 * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
10012 call exportObject(this).
10014 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
10015 (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
10016 (setAnnotation): Don't set locBytesStream and locStream.
10017 (replaceObject): Removed.
10018 (flush): Don't test locStream.
10019 (getLocBytes): LikeWise.
10020 * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
10021 (leaseCache): New field.
10022 (dirty): Use leaseCache.
10023 (LeaseRecord): New inner class.
10024 * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
10025 explicitly call exportObject().
10026 * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
10027 false to communicate with Sun JDK130.
10028 * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
10029 * gnu/java/rmi/server/RMIObjectInputStream.java
10030 (UnicastConnectionManager): Removed field.
10031 * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
10032 Use UnicastServer.getExportedRef().
10033 * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
10034 (expireTime): Likewise.
10035 (CONNECTION_TIMEOUT): Likewise.
10036 (disconnect): Call sock.close().
10037 (isExpired): New method.
10038 (resetTime): Likewise.
10039 (run): Use do while loop and catch Exception for discardConnection().
10040 * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
10041 * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
10042 * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
10043 * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
10044 (exportObject): Use refcache.
10045 (unexportObject): Likewise.
10046 (getExportedRef): New method.
10047 * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
10049 (exportObject): Save manager.serverobj.
10050 (getStub): New method.
10052 2002-11-07 Mark Wielaard <mark@klomp.org>
10054 * java/lang/reflect/natField.cc (getBoolean): Use getType().
10055 (getByte): Likewise.
10056 (getShort): Likewise.
10057 (getInt): Likewise.
10058 (getLong): Likewise.
10059 (getFloat): Likewise.
10060 (getDouble): Likewise.
10062 (setChar): Likewise.
10063 (setByte): Likewise.
10064 (setShort): Likewise.
10065 (setInt): Likewise.
10066 (setLong): Likewise.
10067 (setFloat): Likewise.
10068 (setDouble): Likewise.
10070 2002-11-07 Michael Koch <konqueror@gmx.de>
10072 * java/awt/Choice.java,
10073 java/awt/Container.java,
10074 java/awt/GridBagLayout.java:
10075 Fixed documentation.
10076 * java/awt/peer/ContainerPeer.java:
10079 2002-11-07 Michael Koch <konqueror@gmx.de>
10081 * java/awt/color/ICC_Profile.java:
10082 Added missing constants.
10083 * java/awt/color/ICC_ColorSpace.java
10084 (getMinValue): Added dummy implementation.
10085 (getMaxValue): Added dummy implementation.
10086 * java/awt/datatransfer/DataFlavor.java
10087 (imageFlavor): Added.
10088 (isMimeTypeEqual): Must be final.
10089 (getDefaultRepresentationClass): Must be non-static.
10090 (getDefaultRepresentationClassAsString): Must be non-static.
10091 * java/awt/dnd/DragSourceContext.java
10092 (dragExit): Corrected argument.
10093 (dragDropEnd): Corrected argument.
10094 * java/awt/dnd/DragSourceListener.java.java
10095 (dragExit): Corrected argument.
10096 (dragDropEnd): Corrected argument.
10097 * java/awt/font/TextHitInfo.java
10098 (toString): Added stubbed implementation.
10099 * java/awt/geom/PathIterator.java:
10100 The constants must be static.
10101 * java/awt/image/VolatileImage.java
10102 (IMAGE_INCOMPATIBLE): Fixed typo.
10103 * java/awt/image/renderable/RenderableImage.java
10104 (HINTS_OBSERVED): Must be static.
10105 * java/beans/BeanInfo.java:
10106 Constants must be final.
10108 2002-11-06 Tom Tromey <tromey@redhat.com>
10110 From svens@it.uu.se. For PR libgcj/8481.
10111 * java/util/Random.java (nextInt(int)): Only use 31 bits.
10113 2002-11-06 Tom Tromey <tromey@redhat.com>
10115 * jni.cc (array_from_valist): Assume that jlong won't be
10118 2002-11-04 R. A. Rivas Diaz <rivasdiaz@yahoo.com>
10120 * gnu/java/security/provider/SHA.java (engineGetDigestLength):
10122 * gnu/java/security/provider/MD5.java (engineGetDigestLength):
10125 2002-11-03 Tom Tromey <tromey@redhat.com>
10127 * java/lang/ClassLoader.java (loadClass): Call loadClass on
10128 VMClassLoader, not findClass.
10130 2002-11-03 Jeff Sturm <jsturm@one-point.com>
10132 * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
10133 (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
10134 _Jv_DetermineVTableIndex, to determine vtable offset.
10135 (_Jv_DetermineVTableIndex): Remove.
10136 (_Jv_PrepareClass): Don't layout vtable. Use _Jv_MakeVTable instead.
10138 * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
10140 2002-11-03 Tom Tromey <tromey@redhat.com>
10142 * java/nio/channels/AlreadyConnectedException.java: Extend
10143 IllegalStateException, per spec.
10145 2002-10-31 Stephen Crawley <crawley@dstc.edu.au>
10147 * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
10149 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
10151 * java/util/ArrayList.java (readObject, writeObject): Only read/write
10154 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
10156 * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
10157 initial estimated size to avoid enlarge buffer frequently.
10159 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
10161 * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
10162 ClassLoader when null.
10163 (ProxyType.hashCode): Loader null check no longer needed.
10164 (ProxyType.sameTypes): New method.
10165 (ProxyType.equals): Use new method.
10167 2002-10-31 Mark Wielaard <mark@klomp.org>
10169 * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
10171 * java/net/URLEncoder.java (encode): Likewise.
10173 2002-10-31 Mark Wielaard <mark@klomp.org>
10175 * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
10176 when stream is closed.
10177 (closeEntry): Likewise.
10179 * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
10180 ZipException when no entry active.
10181 (closeEntry): Likewise.
10184 2002-11-02 Tom Tromey <tromey@redhat.com>
10186 * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
10187 * java/lang/natClass.cc (initializeClass): Don't return just
10188 because self==thread.
10191 * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
10192 * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
10194 2002-11-02 Andreas Schwab <schwab@suse.de>
10196 * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
10198 (FLAGS_TO_PASS): Define.
10199 * Makefile.in: Regenerated.
10201 2002-11-01 Michael Koch <konqueror@gmx.de>
10203 * java/nio/ByteOrder.java: New file.
10204 * java/nio/channels/DatagramChannel.java:
10205 (DatagramChannel): New constructor.
10206 * java/nio/channels/Pipe.java: New file.
10207 * java/nio/channels/SelectableChannel.java: New file.
10208 * java/nio/channels/SelectionKey.java: New file.
10209 * java/nio/channels/Selector.java: New file.
10210 * java/nio/channels/ServerSocketChannel.java
10211 (ServerSocketChannel): New constructor.
10212 * java/nio/channels/SocketChannel.java
10213 (SocketChannel): New constructor.
10214 * java/nio/channels/Pipe.java: New file.
10215 * java/nio/channels/spi/AbstractChannel.java: New file.
10216 * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
10217 * java/nio/channels/spi/AbstractSelectableChannel.java:
10219 (AbstractSelectableChannel): New stubbed method.
10220 * java/nio/channels/spi/AbstractSelectionKey.java: New file.
10221 * java/nio/channels/spi/AbstractSelector.java: New file.
10222 * java/nio/channels/spi/SelectorProvider.java: New file.
10223 * java/nio/charset/Charset.java: New file.
10224 * java/nio/charset/CoderMalfunctionError.java: New file.
10225 * java/nio/charset/CodingErrorAction.java: New file.
10226 * java/nio/charset/spi/CharsetProvider.java
10227 (charsetForName): Uncommented.
10228 * Makefile.am (java_native_source_files): Added new files.
10229 * Makefile.in: Regenerated.
10231 2002-11-01 Michael Koch <konqueror@gmx.de>
10233 * java/net/InetAddress.java:
10234 (isAnyLocalAddress): Implemented.
10235 (isLoopbackAddress): Implemented, comment added.
10236 (isLinkLocalAddress): Implemented, documentation added.
10237 (isSiteLocalAddress): Implemented, documentation added.
10238 (isMCGlobal): Implemented, documentation added.
10239 (isMCNodeLocal): Implemented, documentation added.
10240 (isMCLinkLocal): Implemented, documentation added.
10241 (isMCSiteLocal): Implemented, documentation added.
10242 (isMCOrgLocal): Implemented, documentation added.
10243 (getHostName): Documentation added.
10244 (getCanonicalHostName): Implemented, documentation added.
10245 (getAddress): Documentation added.
10246 (hashCode): Documentation added.
10247 (equals): Documentation added.
10248 (toString): Fixed implementation.
10249 (getByAddress): Use Inet4Address and Inet6Address.
10250 (lookup): New linewrap.
10251 (getByName): SecurityManager check added, support Inet4Address and
10252 Inet6address, comments added.
10253 (getAllByName): SecurityManager check added, comments added.
10254 * java/net/Inet6Address.java:
10255 (Inet6Address): Initialize parent class with addr instead of null.
10256 * java/net/URL.java
10257 (equals): Documentation added.
10258 (getFile): Documentation added.
10259 (hashCode): Documentation added.
10260 * java/net/natInetAddress.cc:
10261 (aton): Fix IPv6 support.
10262 * java/net/natPlainDatagramSocketImpl.cc:
10263 (peek): Throw PortUnreachableException when suitable.
10264 (peekData): Throw PortUnreachableException when suitable.
10265 (send): Throw PortUnreachableException when suitable.
10266 (receive): Throw PortUnreachableException when suitable.
10268 2002-10-27 Mark Wielaard <mark@klomp.org>
10270 * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
10272 (readLeShort): Likewise and use byte[].
10273 (readLeInt): Likewise.
10274 (readEntries): Use new versions of methods and use byte[] for reading
10275 a complete zip entry. Add ZipFile name to exceptions.
10276 (entries): Add ZipFile name to exceptions.
10277 (getEntry): Likewise.
10278 (checkLocalHeader): Use new versions of methods and add ZipFile name
10281 2002-10-31 Mark Anderson <mark@panonet.net>
10283 * java/awt/GridBagLayout.java (setConstraints): New stubbed method
10286 2002-10-25 Krister Walfridsson <cato@df.lth.se>
10288 * configure.in: Disable hash sync when not using threads.
10289 * configure: Regenerated.
10291 2002-10-24 Tom Tromey <tromey@redhat.com>
10293 * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
10294 (_Jv_FindSymbolInExecutable): Removed argument name.
10295 (insertSystemProperties): Call _Jv_SetDLLSearchPath if
10296 java.library.path is set.
10298 * gij.cc (help): Document --showversion.
10299 (version): Don't exit.
10300 (main): Handle --showversion. Exit if --version given.
10302 2002-10-23 Tom Tromey <tromey@redhat.com>
10304 * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
10305 (array_from_valist): Correctly handle promotion for jint, jlong,
10306 jfloat, and jdouble.
10308 2002-10-23 Ranjit Mathew <rmathew@hotmail.com>
10310 * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
10311 GetFileAttributesEx( ) to find file length and modification times,
10312 as the latter is not present on Windows 95.
10314 2002-10-21 Michael Koch <konqueror@gmx.de>
10316 * java/net/URL.java
10317 (URL): Activate SecurityManager checks.
10318 (equals): Use URLStreamHandler implementation instead of doing it
10319 alone. This allows special protocol stream handlers to change default
10321 (hashCode): Use URLStreamHandler implementation instead of doing it
10322 alone. This allows special protocol stream handlers to change default
10324 * java/net/URLStreamHandler.java
10325 (equals): Implemented default URL equality check.
10326 (hostsEqual): Implemented default URL equality check.
10327 (hashCode): Implemented default URL hashCode algorithm.
10328 * java/net/natPlainDatagramSocketImpl.cc:
10329 No lines longer then 80 characters.
10331 2002-10-20 Adam Megacz <adam@xwt.org>
10333 * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
10334 * configure.in: enabled hash sync on Win32
10335 * include/win32-threads.h (_Jv_ThreadId_t): added.
10336 * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
10337 heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
10338 removed some posix-isms, use Thread::sleep() instead of usleep,
10339 added code to clear bottom three bits if platform has a broken
10341 * include/win32-threads.h (_Jv_ThreadId_t): added.
10343 2002-10-19 Ranjit Mathew <rmathew@hotmail.com>
10345 * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
10346 runtime property "gnu.gcj.progname" containing the name used to
10347 invoke the current Java program (similar to argv[0] for C
10350 2002-10-15 Tom Tromey <tromey@redhat.com>
10352 Fix for PR libgcj/8234:
10353 * java/util/zip/natInflater.cc (reset): Reset avail_in.
10354 * java/util/zip/natDeflater.cc (reset): Reset avail_in.
10356 2002-10-13 Mark Wielaard <mark@klomp.org>
10358 * mauve-libgcj: Enable Mauve tests that compile now.
10360 2002-10-11 Mark Wielaard <mark@klomp.org>
10362 Fix for PR libgcj/8142
10363 * java/lang/natClassLoader.cc (findClass): Skip inner classes when
10364 loading native modules.
10366 2002-10-10 Michael Koch <konqueror@gmx.de>
10368 * javax/swing/AbstractListModel.java
10369 (getListDataListeners): New stubbed method.
10370 javax/swing/DefaultBoundedRangeModel.java
10371 (getChangeListeners): New stubbed method.
10372 javax/swing/DefaultSingleSelectionModel.java
10373 (getChangeListeners): New stubbed method.
10375 2002-10-10 Michael Koch <konqueror@gmx.de>
10377 * gcj/.cvsignore: New file to ignore files generated during build.
10378 * include/.cvsignore: New file to ignore files generated during build.
10380 2002-10-10 Michael Koch <konqueror@gmx.de>
10382 * java/net/HttpURLConnection.java
10383 (getPermission): New method.
10384 (getErrorStream): New stub method.
10385 (getHeaderFieldDate): New stub method.
10386 * java/net/Inet4Address.java:
10387 (isLinkLocalAddress): Typo fixed.
10388 * java/net/InetAddress.java:
10389 (readResolve): New stubbed method (for serialization).
10390 (isAnyLocalAddress): New stubbed method.
10391 (isLoopbackAddress): New stubbed method.
10392 (isLinkLocalAddress): New stubbed method.
10393 (isSiteLocalAddress): New stubbed method.
10394 (isMCGlobal): New stubbed method.
10395 (isMCNodeGlobal): New stubbed method.
10396 (isMCLinkLocal): New stubbed method.
10397 (isMCSiteLocal): New stubbed method.
10398 (isMCOrgLocal): New stubbed method.
10399 (getCanonicalHostName): New stubbed method.
10400 (getByAddress): Create instances of Inet4Address/Inet6Address,
10401 instead of InetAddress, documentation added.
10402 * java/net/MulticastSocket.java
10403 (getInterface): Removed FIXME.
10404 (getNetworkInterface): New method.
10405 (setNetworkInterface): New method.
10406 * java/net/NetworkInterface.java:
10407 (toString): Use property "line.separator" instead of "\n".
10408 * java/net/URLConnection.java
10409 (getContent): New stubbed method.
10410 * java/net/URLStreamHandler.java:
10411 (equals): New stubbed method.
10412 (hostsEqual): New stubbed method.
10413 (hashCode): New stubbed method.
10414 * java/net/natNetworkInterface.cc:
10415 (getRealNetworkInterfaces): Create Inet4Address object
10416 instead of InetAddress.
10418 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
10420 * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
10421 unsigned long temporary to implement insn_iushr shifts.
10423 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
10425 * configure.host [s390*-*]: Enable Java interpreter.
10426 Enable hash synchronization. Add sysdeps dir.
10427 * sysdep/s390/locks.h: New file.
10429 2002-10-06 Mark Wielaard <mark@klomp.org>
10431 * java/lang/Thread.java (setDaemon): Check startable_flag,
10434 2002-10-07 Michael Koch <konqueror@gmx.de>
10436 * java/nio/Buffer.java: New stub file.
10437 * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
10439 * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
10440 * Makefile.in: Regenerated.
10442 2002-10-07 Michael Koch <konqueror@gmx.de>
10444 * java/nio/ByteBuffer.java:
10445 removed import of not commited class.
10447 2002-10-07 Michael Koch <konqueror@gmx.de>
10449 * java/nio/ByteBuffer.java,
10450 java/nio/MappedByteBuffer.java:
10451 New files, forgot to add these dummies.
10452 * Makefile.am (java_native_source_files): Added new files.
10453 * Makefile.in: Regenerated.
10455 2002-10-07 Michael Koch <konqueror@gmx.de>
10457 * java/nio/channels/AlreadyConnectedException.java,
10458 java/nio/channels/ClosedChannelException.java,
10459 java/nio/channels/ReadableByteChannel.java,
10460 java/nio/channels/InterruptibleChannel.java,
10461 java/nio/channels/Channel.java,
10462 java/nio/channels/ByteChannel.java,
10463 java/nio/channels/GatheringByteChannel.java,
10464 java/nio/channels/ScatteringByteChannel.java,
10465 java/nio/channels/WritableByteChannel.java,
10466 java/nio/charset/CharacterCodingException.java,
10467 java/nio/charset/IllegalCharsetNameException.java,
10468 java/nio/charset/MalformedInputException.java,
10469 java/nio/charset/UnmappableCharacterException.java,
10470 java/nio/charset/UnsupportedCharsetException.java,
10471 java/nio/charset/spi/CharsetProvider.java: New file.
10472 These files are exceptions or interfaces,
10473 no real or abstract classes.
10474 * Makefile.am (java_native_source_files): Added new files.
10475 * Makefile.in: Regenerated.
10477 2002-10-05 Michael Koch <konqueror@gmx.de>
10479 * java/net/InetAddress.java
10480 (getByAddress): Fixed documentation.
10481 (getByAddress): New method.
10482 * java/net/Inet4Address.java: New file.
10483 * java/net/URL.java
10484 (URL): Documentation added.
10485 (getContent): Documentation added.
10486 (getContent): New stubbed method.
10487 (getQuery): New method.
10488 (openConnection): Documentation added.
10489 (openStream): Documentation added.
10490 (setURLStreamHandlerFactory): Documentation added.
10491 * java/net/URI.java: New stub file.
10493 (java_native_source_files): Added java/net/Inet4Address.java,
10494 java/net/Inet6Address.java and java/net/URI.java.
10495 * Makefile.in: Regenerated.
10497 2002-10-04 C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
10499 * java/lang/ProtectionDomain.java (linesep): Remove field.
10500 (toString): Use System.getProperty("line.separator").
10502 2002-10-04 Michael Koch <konqueror@gmx.de>
10504 * java/security/Identity.java: Added serialVersionUID.
10505 * java/security/KeyPair.java: Added serialVersionUID.
10506 * java/security/Provider.java: Added serialVersionUID.
10507 * java/security/SecureRandom.java: Added serialVersionUID.
10508 * java/security/SecureRandomSpi.java: Added serialVersionUID.
10509 * java/security/SignedObject.java: Added serialVersionUID.
10510 * java/security/cert/Certificate.java: Added serialVersionUID.
10512 2002-10-04 Mark Wielaard <mark@klomp.org>
10514 * java/security/Security.java: Use java.home or gnu.classpath.home
10516 (loadProviders): Extra dir argument.
10517 (getProvider): Return null when not found.
10519 2002-10-04 Mark Wielaard <mark@klomp.org>
10521 * java/lang/Throwable.java: Remerge with Classpath.
10523 2002-10-04 Michael Koch <konqueror@gmx.de>
10525 * java/net/InetAddress.java:
10526 (isMulticastAddress): Added documentation.
10527 (getHostAddress): Added documentation.
10528 (toString): Added documentation.
10529 (getByAddress): Fixed documentation.
10530 (getByName): Added documentation.
10531 (getAllByName): Added documentation.
10532 (getLocalHost): Added documentation.
10534 2002-10-04 Michael Koch <konqueror@gmx.de>
10536 * java/beans/beancontext/BeanContextChildSupport.java:
10537 Added serialVersionUID.
10538 * java/text/Collator.java: (compare): Made documentation HTML-aware.
10539 * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
10540 * javax/naming/Name.java: Added serialVersionUID.
10542 2002-10-03 Adam Megacz <adam@xwt.org>
10544 * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
10545 some functionality that isn't supported yet on WIN32.
10547 2002-10-03 Tom Tromey <tromey@redhat.com>
10549 * Makefile.in: Rebuilt.
10550 * Makefile.am (awt_java_source_files): Added new files.
10552 2002-10-03 Michael Koch <konqueror@gmx.de>
10554 * java/net/InetAddress.java
10555 (class InetAddress): Removed final keyword.
10556 (equals): Fixed typo.
10557 (getByAddress): New method.
10559 2002-10-03 Michael Koch <konqueror@gmx.de>
10561 * java/awt/dnd/Autoscroll.java:
10562 New file, merge from Classpath.
10563 * java/awt/dnd/DragSourceAdapter.java:
10564 (dragExit): Fixed typos in argument type.
10565 (dragDropEnd): Fixed typos in argument type.
10566 * java/awt/dnd/DragSourceDropEvent.java:
10567 New file, merge from Classpath.
10568 * java/awt/dnd/DropTarget.java:
10569 Added stubs, merge from Classpath.
10570 * java/awt/dnd/DropTargetAdapter.java:
10571 New file, merge from Classpath.
10572 * java/awt/dnd/DropTargetContext.java:
10573 New file, merge from Classpath.
10574 * java/awt/dnd/DropTargetDragEvent.java:
10575 New file, merge from Classpath.
10576 * java/awt/dnd/DropTargetDropEvent.java:
10577 New file, merge from Classpath.
10578 * java/awt/dnd/DropTargetEvent.java:
10579 New file, merge from Classpath.
10580 * java/awt/dnd/DropTargetListener.java:
10581 New file, merge from Classpath.
10582 * java/awt/dnd/MouseDragGestureRecognizer.java:
10583 New file, merge from Classpath.
10584 * java/awt/dnd/peer/DropTargetContextPeer.java:
10585 New file, merge from Classpath.
10587 2002-10-03 Michael Koch <konqueror@gmx.de>
10589 * java/net/DatagramPacket.java
10590 (setLength): Fixed typo and be HTML-aware.
10591 * java/net/InetSocketAddress.java
10592 (InetSocketAddress): Correct initialization of hostname, fixed typo.
10593 (equals): Added comment about equality of InetSocketAddress objects.
10594 * java/net/ServerSocket.java
10595 (accept): Added checks.
10596 (isClosed): New stubbed method.
10597 * java/net/SocketOptions.java: Reindention.
10598 * java/net/SocketPermission
10599 (SocketPermission): Documentation fixed.
10601 2002-10-03 Michael Koch <konqueror@gmx.de>
10603 * java/net/DatagramSocket.java
10604 (receive): Check with SecurityManager AFTER the packet is received,
10605 check if connected to multicast address, documentation added.
10606 (send): Only check SecurityManager if connected, check address of
10608 (connect): Implemented, documentation added.
10609 * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
10610 * java/net/InetSocketAddress.java
10611 (whole file): Reindented.
10612 (hostname): New attribute.
10613 (InetSocketAddress): Initialize new attribute.
10614 (getAddress): Documentation added.
10615 (getHostName): Documentation added.
10616 (getPort): Documentation added.
10617 (hashCode): Documentation added.
10618 (isUnresolved): Documentation added.
10619 (toString): Conform to output of JDK 1.4.1, documentation added.
10620 * java/net/MulticastSocket.java
10621 (joinGroup): Removed FIXME, documentation added.
10622 (leaveGroup): Removed FIXME, documentation added.
10623 (send): Documentation added.
10624 * java/net/Socket.java
10625 (inputShutdown): New variable.
10626 (outputShutdown): New variable.
10627 (Socket): Initialize new variables.
10628 (getRemoteSocketAddress): Check if connected.
10629 (shutdownInput): Set new variable.
10630 (shutdownOutput): Set new variable.
10631 (isConnected): New method.
10632 (isClosed): New method.
10633 (isInputShutdown): New method.
10634 (isOutputShutdown): New method.
10635 * java/net/URLStreamHandler.java
10636 (URLStreamHandler): New method.
10637 (openConnection): Added documentation.
10638 (parseURL): Added documentation.
10639 (getHostAddress): New method.
10640 (getDefaultPort): New method.
10642 2002-10-02 Tom Tromey <tromey@redhat.com>
10644 * java/rmi/activation/ActivationDesc.java,
10645 java/rmi/activation/ActivationGroupDesc.java,
10646 java/rmi/activation/ActivationGroupID.java,
10647 java/rmi/activation/ActivationID.java: New versions from
10650 2002-09-30 Bo Thorsen <bo@suse.de>
10652 * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
10654 2002-09-30 Tom Tromey <tromey@redhat.com>
10656 * java/io/ObjectInputStream.java (resolveProxyClass): New method
10658 * Makefile.in: Rebuilt.
10659 * Makefile.am (rmi_java_source_files): Added new files.
10660 * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
10661 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
10662 gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
10664 * gnu/java/rmi/dgc/DGCImpl.java,
10665 gnu/java/rmi/dgc/DGCImpl_Skel.java,
10666 gnu/java/rmi/dgc/DGCImpl_Stub.java,
10667 gnu/java/rmi/registry/RegistryImpl_Skel.java,
10668 gnu/java/rmi/registry/RegistryImpl_Stub.java,
10669 gnu/java/rmi/server/RMIHashes.java,
10670 gnu/java/rmi/server/RMIObjectInputStream.java,
10671 gnu/java/rmi/server/RMIObjectOutputStream.java,
10672 gnu/java/rmi/server/UnicastConnection.java,
10673 gnu/java/rmi/server/UnicastConnectionManager.java,
10674 gnu/java/rmi/server/UnicastRef.java,
10675 gnu/java/rmi/server/UnicastServer.java,
10676 gnu/java/rmi/server/UnicastServerRef.java,
10677 java/rmi/MarshalledObject.java,
10678 java/rmi/server/RMIClassLoader.java,
10679 java/rmi/server/RemoteObject.java,
10680 java/rmi/server/UnicastRemoteObject.java,
10681 java/security/SecureClassLoader.java: Merged from Classpath.
10683 2002-09-29 Anthony Green <green@redhat.com>
10685 * java/lang/reflect/UndeclaredThrowableException.java: New file.
10686 Imported from GNU Classpath.
10687 * java/lang/reflect/natProxy.cc: New file.
10688 * java/lang/reflect/InvocationHandler.java: New file. Imported
10689 from GNU Classpath.
10690 * java/lang/reflect/Proxy.java: New file. Imported from GNU
10692 * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
10694 * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
10695 HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
10697 * gcj/javaprims.h ("Java"): Add new classes.
10698 * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
10699 * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
10700 java/lang/reflect/Proxy$$ProxyType.h): And this.
10701 (inner_nat_headers): Add these new headers.
10702 (ordinary_java_source_files): Add new files.
10703 (nat_source_files): Add new file.
10704 * Makefile.in: Rebuilt.
10706 2002-09-28 Richard Earnshaw <rearnsha@arm.com>
10708 * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
10709 a single configuration.
10711 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
10713 * java/util/TimeZone.java (getDSTSavings): New method.
10714 Fixes PR libgcj/7786.
10716 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
10718 * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
10719 to see if `the_method == 0' before looking up vtable index.
10720 Fixes PR libgcj/7709.
10722 2002-09-25 Tom Tromey <tromey@redhat.com>
10724 * java/lang/natClassLoader.cc:
10725 (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
10726 * resolve.cc: Include NoClassDefFoundError.h, not
10727 ClassNotFoundException.h.
10728 (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
10730 * defineclass.cc: Don't include ClassNotFoundException.h.
10732 * resolve.cc: Include StringBuffer.
10733 (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
10735 * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
10736 allocated but not initialized.
10738 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
10740 Fix for PR libgcj/7766:
10741 * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
10742 (getNextEntry): Set it.
10743 (closeEntry): Likewise.
10746 (available): Use it.
10748 2002-09-25 Michael Koch <konqueror@gmx.de>
10750 * java/net/DatagramSocket.java
10751 (DatagramSocket): Initialize new instance variables.
10752 (close): Reset new instance variables.
10753 (getLocalAddress): Remove unneeded SecurityManager usage.
10754 (getLocalPort): Check if socket is already bound.
10755 (isConnected): New method.
10756 (getInetAddress): Implemented.
10757 (getPort): Better Implementation, documentation fixed.
10758 (getRemoteSocketAddress): New method.
10759 * java/net/JarURLConnection.java
10760 (element): Typo fixed.
10761 (getMainAttributes): New method.
10762 (getAttributes): New method (stub only).
10763 (getManifest): New method (stub only).
10764 * java/net/NetPermission.java: Added serialVersionsUID.
10765 * java/net/Socket.java
10766 (connect): Check blocking mode of associated channel,
10767 documentation added.
10768 (getLocalSocketAddress): Better implementation.
10769 (getRemoteSocketAddress): Implemented.
10770 (isBound): New method.
10771 (setSendBufferSize): Documentation added.
10772 * java/net/SocketAddress.java: Added serialVersionsUID.
10773 * java/net/SocketPermission.java: Added serialVersionsUID.
10774 * java/net/URL.java
10775 (URL): Wrap for shorter lines, initialize new instance variables,
10776 documentation added.
10777 (equals): Check new instance variables too.
10778 (getContent): Documentation added.
10779 (getPath): Documentation added.
10780 (getAuthority): New method.
10781 (getHost): Documentation added.
10782 (getPort): Documentation added.
10783 (getDefaultPort): New method.
10784 (getProtocol): Documentation added.
10785 (getUserInfo): Documentation added.
10786 (set): Initialize new instance variables, documentation added.
10787 * java/net/URLStreamHandler.java
10788 (setURL): New method.
10789 * java/net/natPlainDatagramSocketImpl.cc
10790 (connect): Fix exception name.
10791 (disconnect): Fix exception name.
10793 2002-09-25 Michael Koch <konqueror@gmx.de>
10795 * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
10796 * java/nio/channels/DatagramChannel.java:
10797 extends AbstractSelectableChannel
10798 * java/nio/channels/ServerSocketChannel.java:
10799 extends AbstractSelectableChannel
10800 * java/nio/channels/SocketChannel.java:
10801 extends AbstractSelectableChannel
10802 * Makefile.am (ordinary_java_source_files):
10803 java/nio/channels/spi/AbstractSelectableChannel.java added.
10804 * Makefile.in: Regenerated.
10806 2002-09-25 Michael Koch <konqueror@gmx.de>
10808 * java/net/DatagramSocket.java
10809 (DatagramSocket): Exception documentation added.
10810 (bind): Exception documentation added, addded SecurityManager check,
10811 added SocketAddress type check.
10812 (getSoTimeout): Check impl.
10813 (receive): Fix SecurityManager check, check impl, documentation added.
10814 (send): Check channel mode, documentation added.
10815 (connect): New method.
10816 (disconnect): Implemented.
10817 (getLocalSocketAddress): New method.
10818 (getReceiveBufferSize): Check impl.
10819 (setReuseAddress): Check impl.
10820 (getReuseAddress): Check impl.
10821 (setBroadcast): Check impl.
10822 (getBroadcast): Check impl.
10823 (setTrafficClass): Check impl, Documentation cleared.
10824 (getTrafficClass): Check impl.
10825 (getSendBufferSize): Check impl.
10826 (setReceiveBufferSize): Check impl, documentation added.
10827 (setSendBufferSize): Documentation added.
10828 (setDatagramSocketImplFactory): New method.
10829 * java/net/HttpURLConnection.java
10830 (HTTP_INTERNAL_ERROR): The correct code is 500.
10831 (HTTP_NOT_IMPLEMENTED): Added new constant.
10832 (setFollowRedirects): Documentation added.
10833 (getInstanceFollowRedirects): New method.
10834 (setInstanceFollowRedirects): New method.
10835 (setRequestMethod): Documentation added.
10836 (getResponseCode): Documentation added.
10837 (getResponseMessage): Documentation added.
10838 * java/net/JarURLConnection.java
10839 (JarURLConnection): protected since JDK 1.4.
10840 (getJarEntry): java.io.IOException to IOException, documentation added.
10841 (getJarFile): Documentation added.
10842 * java/net/ServerSocket.java
10843 (ServerSocket): Private to public, exception added.
10844 (ServerSocket): java.io.IOException to IOException, documentation added.
10845 (bind): Check socket address type, documentation added.
10846 (bind): java.io.IOException to IOException, documentation added.
10847 (accept): Documentation added.
10848 (implAccept): Check ch is not non-blocking, documentation added.
10849 (setSoTimeout): Documentation fixed.
10850 (setReceiveBufferSize): Documentation added.
10851 * java/net/Socket.java
10852 (Socket): Documentation added.
10853 (bind): Documentation added.
10854 (connect): Check socket address type, documentation added.
10855 (getRemoteSocketAddress): New method.
10856 (getLocalSocketAddress): New method.
10857 (setSoLinger): Documentation added.
10858 (getReuseAddress): New method.
10859 (setReuseAddress): New method.
10860 (getTrafficClass): New method.
10861 (setTrafficClass): New method.
10862 * java/net/URLStreamHandler.java
10863 (openConnection): java.io.IOException to IOException.
10864 (parseURL): Documentation added.
10865 (sameFile): public to protected, documentation added.
10866 (setURL): Documentation added.
10867 * java/nio/IllegalBlockingModeException.java: New file.
10868 * Makefile.am (ordinary_java_source_files):
10869 added java/nio/IllegalBlockingModeException.java
10870 * Makefile.in: Regenerated.
10872 2002-09-25 Michael Koch <konqueror@gmx.de>
10874 * java/net/DatagramPacket
10875 (DatagramPacket): Exception documentation added.
10876 (setData): Likewise.
10877 (setSocketAddress): Likewise.
10878 * java/net/DatagramSocketImpl.java
10879 (peek): Documentation addded.
10880 (peekData): Documentation addded.
10881 (send): Documentation addded.
10882 (receive): Documentation addded.
10883 (connect): New method.
10884 (disconnect): New method.
10885 (joinGroup): New abstract method.
10886 (leaveGroup): New abstract method.
10887 * java/net/InetSocketAddress.java
10888 (InetSocketAddress): Documentation added.
10889 (equals): final keyword added.
10890 (getAddress): final keyword added.
10891 (getHostName): final keyword added.
10892 (getPort): final keyword added.
10893 (hashCode): final keyword added.
10894 (isUnresolved): final keyword added.
10895 * java/net/MulticastSocket.java
10896 (MulticastSocket): Documentation added.
10897 (MulticastSocket): New method.
10898 (joinGroup): Documentation added.
10899 (joinGroup): New method.
10900 (leaveGroup): Documentation added.
10901 (leaveGroup): New method.
10902 (send): Documentation added.
10903 * java/net/NetworkInterface.java
10904 (getByName): Documentation added.
10905 (getByInetAddress): Documentation added.
10906 (getNetworkInterfaces): Documentation added.
10907 * java/net/PlainDatagramSocketImpl.java
10908 (connect): New method.
10909 (disconnect): New method.
10910 * java/net/SocketImpl.java
10911 (create): Documentation added.
10912 (shutdownInput): Convert public to protected, as it always was.
10913 (shutdownOutput): Convert public to protected, as it always was.
10914 * java/net/SocketOptions.java
10915 (whole file): Reintented.
10916 * java/net/URLClassLoader.java
10917 (URLClassLoader): SecurityManager check added, documentation added.
10918 (findResources): Documentation added.
10919 (findClass): Documentation added.
10920 (newInstance): More correct method arguments.
10921 * java/net/URLConnection.java
10922 (connect): Documentation added.
10923 (getContent): Documentation added.
10924 (getPermission): Documentation added.
10925 (getInputStream): Documentation added.
10926 (getOutputStream): Documentation added.
10927 (setDoInput): Throw correct exception, documentation added.
10928 (setDoOutput): Throw correct exception, documentation added.
10929 (setAllowUserInteraction): Throw correct exception, documentation added.
10930 (setUseCaches): Throw correct exception, documentation added.
10931 (setIfModifiedSince): Throw correct exception, documentation added.
10932 (setRequestProperty): Throw exception, documentation added.
10933 (addRequestProperty): Throw exception, documentation added.
10934 (getRequestProperty): Throw exception, documentation added.
10935 (getRequestProperties): Documentation added.
10936 (setContentHandlerFactory): Documentation added.
10937 (guessContentTypeFromName): protected to public.
10938 (setFileNameMap): Documentation added.
10939 * java/net/URLDecoder.java
10940 (URLDecoder): New method.
10941 (decode): Documentation added.
10942 (whole file): Reindented.
10943 * java/net/URLEncoder.java
10944 (encode): Documentation added.
10945 * java/net/natPlainDatagramSocketImpl.cc
10946 (connect): New method.
10947 (disconnect): New method.
10948 * javax/naming/RefAddr:
10949 (addrType): addrType was never final.
10950 (equals): Fix typo in method name.
10951 * javax/naming/BinaryRefAddr:
10952 (equals): Fix typo in method name.
10954 2002-09-22 Tom Tromey <tromey@redhat.com>
10956 Fix for PR libgcj/6576:
10957 * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
10958 didn't find a given bundle.
10959 (getBundle): Don't require base bundle.
10960 (setParent): Removed old comment.
10961 (tryLocalBundle): Try components even if preceding components were
10964 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10966 * Makefile.am (all-multi): Fix multilib parallel build.
10968 2002-09-21 Michael Koch <konqueror@gmx.de>
10970 * java/net/Socket.java
10971 (sendUrgentData): New method.
10972 (getChannel): New method.
10973 * java/net/ServerSocket.java
10974 (getChannel): New method.
10975 (isBound): New method.
10976 * java/net/DatagramSocket.java
10977 (DatagramSocket): Two new methods.
10978 (bind): New method.
10979 (getChannel): New method.
10980 (isBound): New method.
10981 (send): Added newline to to make shorter lines.
10982 * java/net/PlainDatagramSocketImpl.java
10983 (mcastGrp): Added argument.
10984 (join): Use new mcastGrp.
10985 (leave): Use new mcastGrp.
10986 (joinGroup): New method.
10987 (leaveGroup): New method.
10988 * java/net/natPlainDatagramSocketImpl.cc
10989 (mcastGrp): Added argument, no yet really implemented.
10990 (getOption): Added newline for shorter lines.
10991 * java/net/natPlainSocketImpl.cc
10992 (read, setOption, getOption): Added newline for shorter lines.
10994 2002-09-19 Tom Tromey <tromey@redhat.com>
10996 * java/lang/ClassLoader.java (resolveClass0): Set cause for
10997 newly-created exception.
10999 2002-09-18 Michael Koch <konqueror@gmx.de>
11001 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
11002 java/util/regex/PatternSyntaxException.java:
11003 Merge with classpath, new files.
11004 * Makefile.am (core_java_source_files):
11005 Added java/util/regex/Matcher.java,
11006 java/util/regex/Pattern.java,
11007 java/util/regex/PatternSyntaxException.java
11008 * Makefile.in: Regenerated.
11009 * include/config.h.in: Added HAVE_NET_IF_H.
11010 * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
11011 Removed #if 0 ... #endif.
11013 2002-09-17 Michael Koch <konqueror@gmx.de>
11015 * java/net/natNetworkInterface.cc:
11016 Removed unneed and yet wrong includes.
11018 2002-09-17 Michael Koch <konqueror@gmx.de>
11020 * java/net/NetworkInterface.java: New file.
11021 * java/net/natNetworkInterface.java: New file.
11022 * configure.in: Added check for net/if.h.
11023 * configure: Regenerated.
11025 (ordinary_java_source_files): Added NetworkInterface.java.
11026 (nat_source_files): Added natNetworkInterface.cc.
11027 * Makefile.in: Regenerated.
11029 2002-09-16 Tom Tromey <tromey@redhat.com>
11031 * java/net/URLClassLoader.java (findClass): Code source for a
11032 class from a jar is not necessarily a jar: URL.
11034 2002-09-16 Michael Koch <konqueror@gmx.de>
11036 * java/lang/AssertionError.java:
11037 Merge with classpath, fixes HTML.
11038 * java/rmi/server/LogStream.java:
11039 Merge with classpath, fixes some constants.
11040 * java/net/server/RemoteServer.java:
11041 Merge with classpath, adds serialVersionUID.
11042 * javax/naming/BinaryRefAddr.java:
11043 Merge with classpath, s/equal/equals/.
11044 * javax/naming/NamingException.java:
11045 Merge with classpath, fixed typo.
11046 * javax/naming/RefAddr.java:
11047 Merge with classpath, s/equal/equals/.
11048 * java/awt/Toolkit.java:
11049 s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
11052 2002-09-15 Adam Megacz <adam@xwt.org>
11054 * java/net/natPlainSocketImpl.cc: fixed typo.
11056 2002-09-15 Adam Megacz <adam@xwt.org>
11058 * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
11059 which don't work on Win32 (yet).
11061 2002-09-14 Adam Megacz <adam@xwt.org>
11063 * java/net/natPlainDatagramSocket.cc: removed #include
11064 <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
11065 * include/win32.h: included definition for IP_TOS to satisfy
11066 natPlainDatagramSocket.cc
11068 2002-09-13 Michael Koch <konqueror@gmx.de>
11070 * java/net/DatagramPacket.java (DatagramPacket):
11071 Added linebreak for 80 chars per line.
11072 * java/net/JarURLConection.java
11073 (getInputStreami, getJarEntry): Likewise.
11074 * java/net/SocketPErmission.java
11075 (SocketPermission class docu, implies): Likewise.
11076 * java/net/URLClassLoader.java (findResources): Likewise.
11077 * java/net/URLConnection.java: Reindendet remark for 80 chars per line
11079 2002-09-13 Michael Koch <konqueror@gmx.de>
11081 * java/nio/channels/DatagramChannel.java,
11082 java/nio/channels/ServerSocketChannel.java
11083 java/nio/channels/SocketChannel.java:
11084 New dummy files to make java.net fully JDK 1.4 compatible
11085 * Makefile.am (ordinary_java_source_files): Added
11086 java/net/DatagramSocketImplFactory.java (long forgotten),
11087 java/nio/SocketChannel.java,
11088 java/nio/ServerSocketChannel.java,
11089 java/nio/DatagramChannel.java
11090 * Makefile.in: Regenrated.
11092 2002-09-12 Michael Koch <konqueror@gmx.de>
11094 * java/net/DatagramSocketImpl.java
11095 (peekData): New method.
11096 * java/net/PlainDatagramSocketImpl.java
11097 (peekData): New method.
11098 * java/net/natPlainDatagramSocketImpl.cc
11099 (peekData): New method.
11100 * java/net/URLConnection
11101 (getPermission): New method.
11102 (addRequestProperty): New method.
11103 (getRequestProperties): New method.
11104 (guessContentTypeFromStream): New method, not really implemented.
11105 (URLConnection): Added/updated documentation.
11106 (connect): Added/updated documentation.
11107 (getURL): Added/updated documentation.
11108 (getContentLength): Added/updated documentation.
11109 (getContentType: Added/updated documentation.
11110 (getContentEncoding): Added/updated documentation.
11111 (getExpiration): Added/updated documentation.
11112 (getDate): Added/updated documentation.
11113 (getLastModified): Added/updated documentation.
11114 (getHeaderField): Added/updated documentation.
11115 (getHeaderFields): Added/updated documentation.
11116 (getHeaderFieldInt): Added/updated documentation.
11117 (getHeaderFieldDate): Added/updated documentation.
11118 (getHeaderFieldKey): Added/updated documentation.
11119 (getContent): Added/updated documentation.
11120 (getInputStream): Added/updated documentation.
11121 (getOutputStream): Added/updated documentation.
11122 (toString): Added/updated documentation.
11123 (setDoInput): Added/updated documentation.
11124 (getDoInput): Added/updated documentation.
11125 (setDoOutput): Added/updated documentation.
11126 (getDoOutput): Added/updated documentation.
11127 (setAllowUserInteraction): Added/updated documentation.
11128 (getAllowUserInteraction): Added/updated documentation.
11129 (setDefaultAllowUserInteraction): Added/updated documentation.
11130 (getDefaultAllowUserInteraction): Added/updated documentation.
11131 (setUseCaches): Added/updated documentation.
11132 (getUseCaches): Added/updated documentation.
11133 (setIfModifiedSince): Added/updated documentation.
11134 (getIfModifiedSince): Added/updated documentation.
11135 (getDefaultUseCaches): Added/updated documentation.
11136 (setDefaultUseCaches): Added/updated documentation.
11137 (setRequestProperty): Added/updated documentation.
11138 (getRequestProperty): Added/updated documentation.
11139 (setDefaultRequestProperty): Added/updated documentation.
11140 (getDefaultRequestProperty): Added/updated documentation.
11141 (setContentHandlerFactory): Added/updated documentation.
11142 (guessContentTypeFromName): Added/updated documentation.
11143 (getFileNameMap): Added/updated documentation.
11144 (setFileNameMap): Added/updated documentation.
11146 2002-09-11 Michael Koch <konqueror@gmx.de>
11148 * java/net/Socket.java
11149 (Socket): protected to public (since JDK 1.4). Added @specnote.
11150 (bind): New method.
11151 (connect): Two new methods.
11152 (getKeepalive): Get correct socket option.
11153 (setKeepalive): Set correct socket option.
11154 (getOOBInline): New method.
11155 (setOOBInline): New method.
11156 * java/net/ServerSocket.java
11157 (bind): Two new methods.
11158 (getInetAddress): Reimplemented, catch exception.
11159 (getLocalSocketAddress): New method.
11160 (setReuseAddress): New method.
11161 (getReuseAdress): New method.
11162 (setReceiveBufferSize): New method.
11163 (getReceiveBufferSize): New method.
11164 (toString): Made string JDK 1.4 compliant.
11166 2002-09-10 Michael Koch <konqueror@gmx.de>
11168 * java/net/SocketImpl.java
11169 (connect): New method.
11170 (supportsUrgentData): New method.
11171 (sendUrgentData): New method.
11172 * java/net/PlainSocketImpl.java
11173 (connect): One new method and two new implementation.
11174 (sendUrgentData): New method.
11175 * java/natPlainSocketImpl.cc
11176 (connect): Arguments changed, added support for timeouts.
11177 (getOption): Another __java_boolean to jboolean.
11179 2002-09-07 Adam Megacz <adam@xwt.org>
11181 * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
11182 definition of IP_TOS.
11184 2002-09-04 Michael Koch <konqueror@gmx.de>
11186 * java/net/DatagramSocket.java
11187 (DatagramSocket): Added documentation.
11189 (getLocalAddress): Likewise.
11190 (getLocalPort): Likewise.
11191 (receive): Likewise.
11193 (setSoTimeout): Likewise.
11194 (connect): New method.
11195 (disconnect): New method.
11196 (getInetAddress): New method (FIXME)
11197 (getPort): New method.
11198 (setReuseAddress): New method.
11199 (getReuseAddress): New method.
11200 (setBroadcast): New method.
11201 (getBroadcast): New method.
11202 (setTrafficClass): New method.
11203 (getTrafficClass): New method.
11204 * java/net/MulticastSocket.java):
11205 (getTTL): Added @see in documentation.
11206 (setTTL): Added @see in documentation.
11207 (setLoopbackMode): New method.
11208 (getLoopbackMode): New method.
11209 * java/net/PlainSocketImpl.java:
11210 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
11211 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
11212 * java/net/PlainDatagramSocketImpl.java
11213 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
11214 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
11215 * java/net/natPlainSocketImpl.cc
11216 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
11217 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
11218 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
11219 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
11220 This should also fix SO_KEEPALIVE
11221 * java/net/natPlainDatagramSocketImpl.cc
11222 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
11223 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
11224 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
11225 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
11227 2002-09-04 Michael Koch <konqueror@gmx.de>
11229 * java/net/SocketOptions.java: added static variables to be JDK 1.4
11230 compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
11231 IP_MULTICAST_LOOP, IP_TOS
11233 2002-09-03 Tom Tromey <tromey@redhat.com>
11235 * java/lang/Class.h (_getDeclaredMethod): Declare.
11236 (_getMethod): Now private.
11237 * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
11238 getDeclaredMethod. Now returns NULL on failure.
11239 * java/lang/Class.java (_getDeclaredMethod): Declare.
11240 (getDeclaredMethod): No longer native; implements access checks.
11242 2002-09-01 Mark Wielaard <mark@klomp.org>
11244 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
11245 (sanitizeStack): Correctly reset unknown and interpreter counters,
11246 detect interpreter runtime frames.
11247 (demangleInterpreterMethod): New method.
11248 * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
11249 * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
11250 filling in addrs[].
11252 2002-09-02 Michael Koch <konqueror@gmx.de>
11254 * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
11255 re-indented documentation.
11257 2002-08-30 Jesse Rosenstock <jmr@ugcs.caltech.edu>
11259 * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
11260 public, per 1.4 spec. Fixes PR libgcj/7785.
11262 2002-08-30 Jeff Sturm <jsturm@one-point.com>
11264 * Makefile.in: Rebuilt.
11265 * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
11267 2002-08-29 Tom Tromey <tromey@redhat.com>
11269 * java/net/JarURLConnection.java (getCertificates): New method
11271 * java/net/URLClassLoader.java (URLClassLoader): Extends
11273 (definePackage): New method from Classpath.
11274 (getPermissions): Likewise.
11275 (newInstance): Likewise.
11276 (findClass): Construct CodeSource for new class (from Classpath).
11277 * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
11279 * java/net/URL.java (getUserInfo): New method.
11280 (set(String,String,int,String,String,String,String,String)): New
11282 * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
11283 (shutdownInput, shutdownOutput): Declare.
11284 * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
11286 * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
11287 (getOption): Likewise.
11288 (shutdownInput): New method.
11289 (shutdownOutput): Likewise.
11290 * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
11292 (getOption): Likewise.
11293 * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
11294 * java/net/Socket.java (setKeepAlive): New method.
11295 (getKeepAlive): Likewise.
11296 (shutdownInput, shutdownOutput): New methods.
11298 2002-08-29 Michael Koch <konqueror@gmx.de>
11300 * java/net/DatagramPacket.java: updated to JDK 1.4 API
11302 DatagramPacket(byte[] buf, int offset, int length, SocketAddress
11304 DatagramPacket(byte[] buf, int length, SocketAddress address),
11305 void setSocketAddress(SocketAddress address)
11306 public SocketAddress getSocketAddress()
11308 2002-08-29 Tom Tromey <tromey@redhat.com>
11310 * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
11311 ftruncate is missing.
11312 * configure, include/config.h.in: Rebuilt.
11313 * acconfig.h (HAVE_FTRUNCATE): Mention.
11314 * configure.in: Check for ftruncate.
11316 2002-08-29 Tom Tromey <tromey@redhat.com>
11318 * include/jvm.h (struct _Jv_frame_info): New structure.
11319 * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
11321 (lookupInterp): New method.
11322 (getAddrAsString): Use _Jv_frame_info.
11323 (dladdrLookup): Likewise.
11324 * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
11326 (lookupInterp): Declare.
11327 * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
11328 (fillInStackTrace): Collect information on interpreted frames.
11329 Use _Jv_frame_info.
11330 * interpret.cc: Include Thread.h.
11331 (run): Create and push _Jv_MethodChain object.
11332 (_Jv_EndOfInterpreter): New global.
11333 * java/lang/Thread.java (interp_frame): New field.
11334 * include/java-interp.h (struct _Jv_MethodChain): New structure.
11335 Include NameFinder.h.
11337 2002-08-28 Tom Tromey <tromey@redhat.com>
11339 * java/lang/Class.h: Include Package.h.
11340 (Class::getProtectionDomain): Declare.
11341 (Class::getPackage): Declare.
11343 2002-08-28 Michael Koch <konqueror@gmx.de>
11345 * java/net/InetSocketAddress.java: Added some documentation and argument
11346 checks for the port numbers.
11347 * java/net/DatagramSocketImplFactory.java: New file.
11349 2002-08-28 Michael Koch <konqueror@gmx.de>
11351 * java/net/Authenticator.java: added some documentation.
11353 2002-08-27 Tom Tromey <tromey@redhat.com>
11355 * java/lang/reflect/natConstructor.cc (newInstance): Initialize
11357 * java/lang/reflect/natMethod.cc (invoke): Initialize class.
11359 2002-08-27 Michael Koch <konqueror@gmx.de>
11361 * java/net/BindException.java,
11362 java/net/JarURLConnection.java,
11363 java/net/FileNameMap.java,
11364 java/net/HttpURLConnection.java,
11365 java/net/InetSocketAddress.java,
11366 java/net/DatagramPacket.java,
11367 java/net/DatagramSocket.java,
11368 java/net/DatagramSocketImpl.java,
11369 java/net/MulticastSocket.java,
11370 java/net/PasswordAuthentication.java,
11371 java/net/ServerSocket.java,
11372 java/net/Socket.java,
11373 java/net/URLClassLoader.java,
11374 java/net/URLConnection.java: add/update of some @since/@deprecated
11376 2002-08-27 Tony Kimball <alk@pobox.com>
11377 Tom Tromey <tromey@redhat.com>
11379 * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
11381 (::close): Removed.
11382 (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
11383 * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
11384 (::close): Removed.
11385 (PlainSocketImpl::close): Use NATIVE_CLOSE.
11386 * include/win32.h (getcwd): Removed declaration. Include io.h.
11388 2002-08-25 Adam Megacz <adam@xwt.org>
11390 * include/win32.h (getcwd): copied function declaration as
11391 temporary fix for header confusion.
11393 2002-08-24 Mark Wielaard <mark@klomp.org>
11395 * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
11396 (core_java_source_files): Add VMThrowable.java and NameFinder.java
11397 (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
11398 and natNameFinder.cc.
11399 * Makefile.in: Regenerate.
11400 * prims.cc: Use trace_enabled from VMThrowable.
11401 * name-finder.cc: Removed.
11402 * gcj/javaprims.h: Add class VMThrowable.
11403 * gnu/gcj/runtime/NameFinder.java: New file.
11404 * gnu/gcj/runtime/natNameFinder.cc: Likewise.
11405 * include/name-finder.h: Removed.
11406 * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
11407 method stackTraceString().
11408 (printStackTrace (PrintWriter)): Likewise.
11409 (stackTraceString): Complete rewrite of old printStackTrace using
11411 (stackTraceStringBuffer): New helper method for stackTraceString().
11412 (fillInStackTrace): Delegate to VMTrowable.
11413 (getStackTrace): Likewise.
11414 (getStackTrace0): Removed.
11415 (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
11416 (setStackTrace): Copy given array.
11417 * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
11418 * java/lang/VMThrowable.java: New class.
11419 * java/lang/natVMThrowable.cc: New file.
11421 2003-08-23 Michael Koch <konqueror@gmx.de>
11423 * java/net/URLConnection.java,
11424 java/netJarURLConnection.java,
11425 gnu/gcj/protocol/core/Connection.java,
11426 gnu/gcj/protocol/file/Connection.java,
11427 gnu/gcj/protocol/http/Connection.java: Added implementation of
11430 2002-08-22 Tom Tromey <tromey@redhat.com>
11432 * gij.cc (help): Document -cp and -classpath.
11433 (main): Handle -classpath.
11435 2002-08-21 Tom Tromey <tromey@redhat.com>
11437 * Makefile.in: Rebuilt.
11438 * Makefile.am (ordinary_java_source_files): Added
11439 SocketAddress.java, InetSocketAddress.java.
11440 * java/net/PortUnreachableException.java: Merged with Classpath.
11441 * java/net/SocketTimeoutException.java: Likewise.
11442 * java/net/URISyntaxException.java: Likewise.
11443 * java/net/SocketAddress.java: New class from Classpath.
11444 * java/net/InetSocketAddress.java: Likewise.
11446 2003-08-21 Michael Koch <konqueror@gmx.de>
11448 * java/net/Authenticator.java: updated JDK 1.4
11449 * java/net/ContentHandler.java: updated JDK 1.4
11451 2002-08-20 Michael Koch <konqueror@gmx.de>
11453 * java/net/URISyntaxException.java: New file.
11454 * java/net/SocketTimeoutException.java: New file.
11455 * java/net/PortUnreachableException.java: New file.
11456 * Makefile.am: Updated.
11457 * Makefile.in: Rebuilt.
11459 2002-08-18 Mark Wielaard <mark@klomp.org>
11461 Thanks to Vladimir Puskas <vpuskas@eunet.yu>
11462 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
11463 MessageDigestSpi (fixes Classpath bug #783).
11465 2002-08-14 Jesse Rosenstock <jmr@ugcs.caltech.edu>
11467 * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
11468 (startProcess): Allocate path for chdir in async-signal-safe way.
11470 2002-08-13 Jesse Rosenstock <jmr@ugcs.caltech.edu>
11472 Fix for PR libgcj/7570 and PR libgcj/7578:
11473 * java/lang/natPosixProcess.cc: Include java/io/File.h.
11474 (startProcess): Handle new `dir' argument.
11475 * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
11477 * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
11479 (startProcess): Likewise.
11480 * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
11482 * java/lang/Runtime.java (execInternal): Added `dir' argument.
11483 (exec): Don't create new environment if ENV==null. Pass DIR to
11485 * java/lang/natRuntime.cc: Include java/io/File.h.
11486 (execInternal): Added `dir' argument.
11488 2002-08-13 Jesse Rosenstock <jmr@fulcrummicro.com>
11490 * java/io/RandomAccessFile.java (skipBytes): Return number of
11493 2002-08-01 Mark Wielaard <mark@klomp.org>
11495 Reenable patch since shared library troubles on powerpc are solved:
11496 * gnu/java/security/provider/Gnu.java: Reference all implementation
11497 classes by using Class.getName().
11498 * gnu/java/security/der/DEREncodingException.java,
11499 gnu/java/security/provider/DERReader.java,
11500 gnu/java/security/provider/DERWriter.java,
11501 gnu/java/security/provider/DSAKeyPairGenerator.java,
11502 gnu/java/security/provider/DSAParameterGenerator.java,
11503 gnu/java/security/provider/DSAParameters.java,
11504 gnu/java/security/provider/DSASignature.java,
11505 gnu/java/security/provider/GnuDSAPrivateKey.java,
11506 gnu/java/security/provider/GnuDSAPublicKey.java,
11507 gnu/java/security/provider/MD5.java,
11508 gnu/java/security/util/Prime.java: New classes
11509 * Makefile.am (ordinary_java_source_files): Add above files.
11510 * Makefile.in: Regenerate.
11511 * gnu/java/security/provider/DefaultPolicy.java
11512 (getPermissions): Don't maintain static class variable of Permissions.
11513 * gnu/java/security/provider/SHA.java
11514 (engineUpdate): algorithm change.
11515 (engineDigest): algorithm change.
11517 2002-08-09 Mark Wielaard <mark@klomp.org>
11519 * java/awt/image/MemoryImageSource.java: Change constructor to take
11521 * java/awt/Graphics2D.java: Uncomment methods that can now be
11523 * java/awt/GridBagLayout.java: New stub implementation.
11524 * javax/swing/text/html/HTML.java: Stub implementation.
11525 * javax/swing/text/html/parser/ParserDelegator.java: New stub
11528 * Makefile.am: Add new files.
11529 * Makefile.in: Rebuilt.
11531 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11533 * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
11534 methods in Graphics2D.
11536 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11538 AWT/Swing merge from GNU Classpath.
11540 * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
11541 java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
11542 java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
11543 java/awt/color/ProfileDataException.java,
11544 java/awt/CompositeContext.java, java/awt/Composite.java,
11545 java/awt/ContainerOrderFocusTraversalPolicy.java,
11546 java/awt/datatransfer/FlavorTable.java,
11547 java/awt/DefaultFocusTraversalPolicy.java,
11548 java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
11549 java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
11550 java/awt/dnd/DragGestureListener.java,
11551 java/awt/dnd/DragGestureRecognizer.java,
11552 java/awt/dnd/DragSourceAdapter.java,
11553 java/awt/dnd/DragSourceContext.java,
11554 java/awt/dnd/DragSourceDragEvent.java,
11555 java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
11556 java/awt/dnd/DragSourceListener.java,
11557 java/awt/dnd/DragSourceMotionListener.java,
11558 java/awt/dnd/DropTarget.java,
11559 java/awt/dnd/InvalidDnDOperationException.java,
11560 java/awt/dnd/peer/DragSourceContextPeer.java,
11561 java/awt/event/AWTEventListenerProxy.java,
11562 java/awt/event/MouseWheelEvent.java,
11563 java/awt/event/MouseWheelListener.java,
11564 java/awt/event/WindowFocusListener.java,
11565 java/awt/event/WindowStateListener.java,
11566 java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
11567 java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
11568 java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
11569 java/awt/geom/FlatteningPathIterator.java,
11570 java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
11571 java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
11572 java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
11573 java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
11574 java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
11575 java/awt/image/ImagingOpException.java,
11576 java/awt/image/RasterFormatException.java,
11577 java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
11578 java/awt/image/VolatileImage.java,
11579 java/awt/image/WritableRenderedImage.java,
11580 java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
11581 java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
11582 java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
11583 java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
11584 java/awt/PageAttributes.java, java/awt/print/Book.java,
11585 java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
11586 java/awt/print/Paper.java, java/awt/print/Printable.java,
11587 java/awt/print/PrinterAbortException.java,
11588 java/awt/print/PrinterException.java,
11589 java/awt/print/PrinterGraphics.java,
11590 java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
11591 java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
11592 java/awt/Stroke.java, java/awt/TexturePaint.java,
11593 javax/accessibility/AccessibleAction.java,
11594 javax/accessibility/AccessibleBundle.java,
11595 javax/accessibility/AccessibleComponent.java,
11596 javax/accessibility/AccessibleContext.java,
11597 javax/accessibility/AccessibleEditableText.java,
11598 javax/accessibility/AccessibleExtendedComponent.java,
11599 javax/accessibility/AccessibleExtendedTable.java,
11600 javax/accessibility/AccessibleHyperlink.java,
11601 javax/accessibility/AccessibleHypertext.java,
11602 javax/accessibility/AccessibleIcon.java,
11603 javax/accessibility/Accessible.java,
11604 javax/accessibility/AccessibleKeyBinding.java,
11605 javax/accessibility/AccessibleRelation.java,
11606 javax/accessibility/AccessibleRelationSet.java,
11607 javax/accessibility/AccessibleResourceBundle.java,
11608 javax/accessibility/AccessibleRole.java,
11609 javax/accessibility/AccessibleSelection.java,
11610 javax/accessibility/AccessibleState.java,
11611 javax/accessibility/AccessibleStateSet.java,
11612 javax/accessibility/AccessibleTable.java,
11613 javax/accessibility/AccessibleTableModelChange.java,
11614 javax/accessibility/AccessibleText.java,
11615 javax/accessibility/AccessibleValue.java,
11616 javax/swing/AbstractAction.java,
11617 javax/swing/AbstractButton.java,
11618 javax/swing/AbstractCellEditor.java,
11619 javax/swing/AbstractListModel.java,
11620 javax/swing/AbstractSet.java, javax/swing/Action.java,
11621 javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
11622 javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
11623 javax/swing/border/CompoundBorder.java,
11624 javax/swing/border/EmptyBorder.java,
11625 javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
11626 javax/swing/border/LineBorder.java,
11627 javax/swing/border/MatteBorder.java,
11628 javax/swing/border/TitledBorder.java,
11629 javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
11630 javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
11631 javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
11632 javax/swing/CellRendererPane.java,
11633 javax/swing/colorchooser/AbstractColorChooserPanel.java,
11634 javax/swing/colorchooser/ColorChooserComponentFactory.java,
11635 javax/swing/colorchooser/ColorSelectionModel.java,
11636 javax/swing/colorchooser/DefaultColorSelectionModel.java,
11637 javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
11638 javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
11639 javax/swing/DefaultBoundedRangeModel.java,
11640 javax/swing/DefaultButtonModel.java,
11641 javax/swing/DefaultCellEditor.java,
11642 javax/swing/DefaultCellRenderer.java,
11643 javax/swing/DefaultComboBoxModel.java,
11644 javax/swing/DefaultDesktopManager.java,
11645 javax/swing/DefaultFocusManager.java,
11646 javax/swing/DefaultListCellRenderer.java,
11647 javax/swing/DefaultListModel.java,
11648 javax/swing/DefaultListSelectionModel.java,
11649 javax/swing/DefaultSingleSelectionModel.java,
11650 javax/swing/DesktopManager.java,
11651 javax/swing/event/AncestorEvent.java,
11652 javax/swing/event/AncestorListener.java,
11653 javax/swing/event/CaretEvent.java,
11654 javax/swing/event/CaretListener.java,
11655 javax/swing/event/CellEditorListener.java,
11656 javax/swing/event/ChangeEvent.java,
11657 javax/swing/event/ChangeListener.java,
11658 javax/swing/event/DocumentEvent.java,
11659 javax/swing/event/DocumentListener.java,
11660 javax/swing/event/EventListenerList.java,
11661 javax/swing/event/HyperlinkEvent.java,
11662 javax/swing/event/HyperlinkListener.java,
11663 javax/swing/event/InternalFrameAdapter.java,
11664 javax/swing/event/InternalFrameEvent.java,
11665 javax/swing/event/InternalFrameListener.java,
11666 javax/swing/event/ListDataEvent.java,
11667 javax/swing/event/ListDataListener.java,
11668 javax/swing/event/ListSelectionEvent.java,
11669 javax/swing/event/ListSelectionListener.java,
11670 javax/swing/event/MenuDragMouseEvent.java,
11671 javax/swing/event/MenuDragMouseListener.java,
11672 javax/swing/event/MenuEvent.java,
11673 javax/swing/event/MenuKeyEvent.java,
11674 javax/swing/event/MenuKeyListener.java,
11675 javax/swing/event/MenuListener.java,
11676 javax/swing/event/MouseInputAdapter.java,
11677 javax/swing/event/MouseInputListener.java,
11678 javax/swing/event/PopupMenuEvent.java,
11679 javax/swing/event/PopupMenuListener.java,
11680 javax/swing/event/SwingPropertyChangeSupport.java,
11681 javax/swing/event/TableColumnModelEvent.java,
11682 javax/swing/event/TableColumnModelListener.java,
11683 javax/swing/event/TableModelEvent.java,
11684 javax/swing/event/TableModelListener.java,
11685 javax/swing/event/TreeExpansionEvent.java,
11686 javax/swing/event/TreeExpansionListener.java,
11687 javax/swing/event/TreeModelEvent.java,
11688 javax/swing/event/TreeModelListener.java,
11689 javax/swing/event/TreeSelectionEvent.java,
11690 javax/swing/event/TreeSelectionListener.java,
11691 javax/swing/event/TreeWillExpandListener.java,
11692 javax/swing/event/UndoableEditEvent.java,
11693 javax/swing/event/UndoableEditListener.java,
11694 javax/swing/filechooser/FileFilter.java,
11695 javax/swing/filechooser/FileSystemView.java,
11696 javax/swing/filechooser/FileView.java,
11697 javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
11698 javax/swing/Icon.java, javax/swing/ImageIcon.java,
11699 javax/swing/InputMap.java, javax/swing/InputVerifier.java,
11700 javax/swing/JApplet.java, javax/swing/JButton.java,
11701 javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
11702 javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
11703 javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
11704 javax/swing/JDialog.java, javax/swing/JEditorPane.java,
11705 javax/swing/JFileChooser.java, javax/swing/JFrame.java,
11706 javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
11707 javax/swing/JLayeredPane.java, javax/swing/JList.java,
11708 javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
11709 javax/swing/JMenu.java, javax/swing/JOptionPane.java,
11710 javax/swing/JPanel.java, javax/swing/JPasswordField.java,
11711 javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
11712 javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
11713 javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
11714 javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
11715 javax/swing/JSlider.java, javax/swing/JSplitPane.java,
11716 javax/swing/JTabbedPane.java, javax/swing/JTable.java,
11717 javax/swing/JTextField.java, javax/swing/JTextPane.java,
11718 javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
11719 javax/swing/JToolTip.java, javax/swing/JTree.java,
11720 javax/swing/JViewport.java, javax/swing/JWindow.java,
11721 javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
11722 javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
11723 javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
11724 javax/swing/MenuSelectionManager.java,
11725 javax/swing/MutableComboBoxModel.java,
11726 javax/swing/OverlayLayout.java,
11727 javax/swing/plaf/ActionMapUIResource.java,
11728 javax/swing/plaf/basic/BasicBorders.java,
11729 javax/swing/plaf/basic/BasicButtonUI.java,
11730 javax/swing/plaf/basic/BasicCheckBoxUI.java,
11731 javax/swing/plaf/basic/BasicDefaults.java,
11732 javax/swing/plaf/basic/BasicGraphicsUtils.java,
11733 javax/swing/plaf/basic/BasicIconFactory.java,
11734 javax/swing/plaf/basic/BasicLabelUI.java,
11735 javax/swing/plaf/basic/BasicListUI.java,
11736 javax/swing/plaf/basic/BasicLookAndFeel.java,
11737 javax/swing/plaf/basic/BasicOptionPaneUI.java,
11738 javax/swing/plaf/basic/BasicPanelUI.java,
11739 javax/swing/plaf/basic/BasicRadioButtonUI.java,
11740 javax/swing/plaf/basic/BasicScrollPaneUI.java,
11741 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
11742 javax/swing/plaf/basic/BasicTextUI.java,
11743 javax/swing/plaf/basic/BasicToggleButtonUI.java,
11744 javax/swing/plaf/basic/BasicTreeUI.java,
11745 javax/swing/plaf/basic/BasicViewportUI.java,
11746 javax/swing/plaf/BorderUIResource.java,
11747 javax/swing/plaf/ButtonUI.java,
11748 javax/swing/plaf/ColorChooserUI.java,
11749 javax/swing/plaf/ColorUIResource.java,
11750 javax/swing/plaf/ComboBoxUI.java,
11751 javax/swing/plaf/ComponentInputMapUIResource.java,
11752 javax/swing/plaf/ComponentUI.java,
11753 javax/swing/plaf/DesktopIconUI.java,
11754 javax/swing/plaf/DesktopPaneUI.java,
11755 javax/swing/plaf/DimensionUIResource.java,
11756 javax/swing/plaf/FileChooserUI.java,
11757 javax/swing/plaf/FontUIResource.java,
11758 javax/swing/plaf/IconUIResource.java,
11759 javax/swing/plaf/InputMapUIResource.java,
11760 javax/swing/plaf/InsetsUIResource.java,
11761 javax/swing/plaf/InternalFrameUI.java,
11762 javax/swing/plaf/LabelUI.java,
11763 javax/swing/plaf/ListUI.java,
11764 javax/swing/plaf/MenuBarUI.java,
11765 javax/swing/plaf/MenuItemUI.java,
11766 javax/swing/plaf/OptionPaneUI.java,
11767 javax/swing/plaf/PanelUI.java,
11768 javax/swing/plaf/PopupMenuUI.java,
11769 javax/swing/plaf/ProgressBarUI.java,
11770 javax/swing/plaf/RootPaneUI.java,
11771 javax/swing/plaf/ScrollBarUI.java,
11772 javax/swing/plaf/ScrollPaneUI.java,
11773 javax/swing/plaf/SeparatorUI.java,
11774 javax/swing/plaf/SliderUI.java,
11775 javax/swing/plaf/SplitPaneUI.java,
11776 javax/swing/plaf/TabbedPaneUI.java,
11777 javax/swing/plaf/TableHeaderUI.java,
11778 javax/swing/plaf/TableUI.java,
11779 javax/swing/plaf/TextUI.java,
11780 javax/swing/plaf/ToolBarUI.java,
11781 javax/swing/plaf/ToolTipUI.java,
11782 javax/swing/plaf/TreeUI.java,
11783 javax/swing/plaf/UIResource.java,
11784 javax/swing/plaf/ViewportUI.java,
11785 javax/swing/ProgressMonitorInputStream.java,
11786 javax/swing/ProgressMonitor.java,
11787 javax/swing/Renderer.java,
11788 javax/swing/RepaintManager.java,
11789 javax/swing/RootPaneContainer.java,
11790 javax/swing/Scrollable.java,
11791 javax/swing/ScrollPaneConstants.java,
11792 javax/swing/ScrollPaneLayout.java,
11793 javax/swing/SingleSelectionModel.java,
11794 javax/swing/SizeRequirements.java,
11795 javax/swing/SizeSequence.java,
11796 javax/swing/SwingConstants.java,
11797 javax/swing/SwingUtilities.java,
11798 javax/swing/table/AbstractTableModel.java,
11799 javax/swing/table/DefaultTableCellRenderer.java,
11800 javax/swing/table/DefaultTableColumnModel.java,
11801 javax/swing/table/DefaultTableModel.java,
11802 javax/swing/table/TableCellEditor.java,
11803 javax/swing/table/TableCellRenderer.java,
11804 javax/swing/table/TableColumn.java,
11805 javax/swing/table/TableColumnModel.java,
11806 javax/swing/table/TableModel.java,
11807 javax/swing/text/AbstractDocument.java,
11808 javax/swing/text/AttributeSet.java,
11809 javax/swing/text/BadLocationException.java,
11810 javax/swing/text/Caret.java,
11811 javax/swing/text/CharacterIterator.java,
11812 javax/swing/text/ComponentView.java,
11813 javax/swing/text/DefaultCaret.java,
11814 javax/swing/text/DefaultEditorKit.java,
11815 javax/swing/text/Document.java,
11816 javax/swing/text/EditorKit.java,
11817 javax/swing/text/Element.java,
11818 javax/swing/text/GapContent.java,
11819 javax/swing/text/JTextComponent.java,
11820 javax/swing/text/Keymap.java,
11821 javax/swing/text/MutableAttributeSet.java,
11822 javax/swing/text/PlainDocument.java,
11823 javax/swing/text/PlainEditorKit.java,
11824 javax/swing/text/Position.java,
11825 javax/swing/text/Segment.java,
11826 javax/swing/text/StyledDocument.java,
11827 javax/swing/text/StyledEditorKit.java,
11828 javax/swing/text/Style.java,
11829 javax/swing/text/TextAction.java,
11830 javax/swing/text/ViewFactory.java,
11831 javax/swing/text/View.java,
11832 javax/swing/Timer.java,
11833 javax/swing/ToggleButtonModel.java,
11834 javax/swing/ToolTipManager.java,
11835 javax/swing/tree/AbstractLayoutCache.java,
11836 javax/swing/tree/DefaultMutableTreeNode.java,
11837 javax/swing/tree/DefaultTreeCellEditor.java,
11838 javax/swing/tree/DefaultTreeCellRenderer.java,
11839 javax/swing/tree/DefaultTreeModel.java,
11840 javax/swing/tree/DefaultTreeSelectionModel.java,
11841 javax/swing/tree/ExpandVetoException.java,
11842 javax/swing/tree/FixedHeightLayoutCache.java,
11843 javax/swing/tree/MutableTreeNode.java,
11844 javax/swing/tree/RowMapper.java,
11845 javax/swing/tree/TreeCellEditor.java,
11846 javax/swing/tree/TreeCellRenderer.java,
11847 javax/swing/tree/TreeModel.java,
11848 javax/swing/tree/TreeNode.java,
11849 javax/swing/tree/TreePath.java,
11850 javax/swing/tree/TreeSelectionModel.java,
11851 javax/swing/tree/VariableHeightLayoutCache.java,
11852 javax/swing/UIDefaults.java,
11853 javax/swing/UIManager.java,
11854 javax/swing/undo/AbstractUndoableEdit.java,
11855 javax/swing/undo/CannotRedoException.java,
11856 javax/swing/undo/CannotUndoException.java,
11857 javax/swing/undo/CompoundEdit.java,
11858 javax/swing/undo/StateEditable.java,
11859 javax/swing/undo/StateEdit.java,
11860 javax/swing/undo/UndoableEdit.java,
11861 javax/swing/undo/UndoableEditSupport.java,
11862 javax/swing/undo/UndoManager.java,
11863 javax/swing/UnsupportedLookAndFeelException.java,
11864 javax/swing/ViewportLayout.java,
11865 javax/swing/WindowConstants.java: New files, from GNU Classpath.
11867 * java/awt/ActiveEvent.java,
11868 java/awt/Adjustable.java, java/awt/AWTError.java,
11869 java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
11870 java/awt/AWTException.java, java/awt/AWTPermission.java,
11871 java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
11872 java/awt/Color.java, java/awt/Component.java,
11873 java/awt/ComponentOrientation.java, java/awt/Container.java,
11874 java/awt/datatransfer/MimeTypeParseException.java,
11875 java/awt/datatransfer/Transferable.java,
11876 java/awt/datatransfer/UnsupportedFlavorException.java,
11877 java/awt/Dimension.java, java/awt/event/ActionEvent.java,
11878 java/awt/event/ActionListener.java,
11879 java/awt/event/AdjustmentEvent.java,
11880 java/awt/event/AdjustmentListener.java,
11881 java/awt/event/AWTEventListener.java,
11882 java/awt/event/ComponentAdapter.java,
11883 java/awt/event/ComponentEvent.java,
11884 java/awt/event/ComponentListener.java,
11885 java/awt/event/ContainerAdapter.java,
11886 java/awt/event/ContainerEvent.java,
11887 java/awt/event/ContainerListener.java,
11888 java/awt/event/FocusAdapter.java,
11889 java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
11890 java/awt/event/HierarchyBoundsAdapter.java,
11891 java/awt/event/HierarchyBoundsListener.java,
11892 java/awt/event/HierarchyEvent.java,
11893 java/awt/event/HierarchyListener.java,
11894 java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
11895 java/awt/event/InputMethodListener.java,
11896 java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
11897 java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
11898 java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
11899 java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
11900 java/awt/event/MouseListener.java,
11901 java/awt/event/MouseMotionAdapter.java,
11902 java/awt/event/MouseMotionListener.java,
11903 java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
11904 java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
11905 java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
11906 java/awt/event/WindowListener.java, java/awt/Font.java,
11907 java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
11908 java/awt/geom/Ellipse2D.java,
11909 java/awt/geom/IllegalPathStateException.java,
11910 java/awt/geom/Line2D.java,
11911 java/awt/geom/NoninvertibleTransformException.java,
11912 java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
11913 java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
11914 java/awt/geom/RoundRectangle2D.java,
11915 java/awt/GraphicsConfiguration.java,
11916 java/awt/IllegalComponentStateException.java,
11917 java/awt/image/IndexColorModel.java,
11918 java/awt/Image.java, java/awt/image/MemoryImageSource.java,
11919 java/awt/image/PixelGrabber.java, java/awt/Insets.java,
11920 java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
11921 java/awt/LayoutManager.java, java/awt/MenuContainer.java,
11922 java/awt/MenuItem.java, java/awt/PaintContext.java,
11923 java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
11924 java/awt/Polygon.java, java/awt/PrintGraphics.java,
11925 java/awt/PrintJob.java, java/awt/Rectangle.java,
11926 java/awt/RenderingHints.java, java/awt/ScrollPane.java,
11927 java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
11928 java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
11930 * java/awt/im/spi/InputMethod.java,
11931 java/awt/im/spi/InputMethodContext.java,
11932 java/awt/im/spi/InputMethodDescriptor.java,
11933 java/awt/image/renderable/ContextualRenderedImageFactory.java,
11934 java/awt/image/renderable/ParameterBlock.java,
11935 java/awt/image/renderable/RenderContext.java,
11936 java/awt/image/renderable/RenderableImage.java,
11937 java/awt/image/renderable/RenderableImageOp.java,
11938 java/awt/image/renderable/RenderableImageProducer.java,
11939 java/awt/image/renderable/RenderedImageFactory.java: New files from
11942 * gnu/java/awt/EventModifier.java,
11943 gnu/java/awt/image/ImageDecoder.java,
11944 gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
11946 * gnu/awt/xlib/XGraphicsConfiguration.java,
11947 gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
11950 * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
11953 * Makefile.am: Add new files.
11954 * Makefile.in: Rebuilt.
11956 2002-08-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11958 * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
11959 defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
11960 findResource, getResources, findResources): Add javadoc from classpath.
11961 (getSystemResources): Implemented.
11963 2002-08-01 Mark Wielaard <mark@klomp.org>
11965 Revert patch that breaks libgcj shared library on powerpc:
11966 * gnu/java/security/provider/Gnu.java: Reverse referencing all
11967 implementation classes by using Class.getName(). Uses Strings again.
11968 * gnu/java/security/der/DEREncodingException.java,
11969 gnu/java/security/provider/DERReader.java,
11970 gnu/java/security/provider/DERWriter.java,
11971 gnu/java/security/provider/DSAKeyPairGenerator.java,
11972 gnu/java/security/provider/DSAParameterGenerator.java,
11973 gnu/java/security/provider/DSAParameters.java,
11974 gnu/java/security/provider/DSASignature.java,
11975 gnu/java/security/provider/GnuDSAPrivateKey.java,
11976 gnu/java/security/provider/GnuDSAPublicKey.java,
11977 gnu/java/security/provider/MD5.java,
11978 gnu/java/security/util/Prime.java: Removed.
11979 * Makefile.am (ordinary_java_source_files): Remove above files.
11980 * Makefile.in: Regenerate.
11981 * gnu/java/security/provider/DefaultPolicy.java
11982 (getPermissions): Revert to maintaining static class variable of
11984 * gnu/java/security/provider/SHA.java
11985 (engineUpdate): Revert algorithm change.
11986 (engineDigest): Revert algorithm change.
11988 2002-08-01 Kaz Kojima <kkojima@gcc.gnu.org>
11990 * configure.host: Add SH support.
11991 * sysdep/sh/locks.h: New file.
11993 2002-07-31 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11995 * java/awt/Frame.java (Frame): Remove println calls.
11997 2002-07-30 Jeff Sturm <jsturm@one-point.com>
11999 * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
12000 * configure: Rebuilt.
12002 2002-07-27 Alan Modra <amodra@bigpond.net.au>
12004 * sysdep/powerpc/locks.h: Formatting.
12007 (compare_and_swap): Use _LARX and _STCX.
12008 (compare_and_swap_release): Likewise.
12010 2002-07-26 Tom Tromey <tromey@redhat.com>
12012 * java/net/Authenticator.java: New version from Classpath.
12013 * java/net/DatagramSocketImpl.java: New version from Classpath.
12015 2002-07-27 Alan Modra <amodra@bigpond.net.au>
12017 * configure.host: Add powerpc64*-* entry.
12019 2002-07-26 Tom Tromey <tromey@redhat.com>
12021 * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
12024 2002-07-24 Tom Tromey <tromey@redhat.com>
12026 * java/lang/Runtime.java (loadLibrary): Pass `true' as search
12029 2002-07-24 Tom Tromey <tromey@redhat.com>
12030 Tony Kimball <alk@pobox.com>
12032 * java/io/natFileDescriptorWin32.cc (setLength): New method.
12033 * java/io/natFileDescriptorPosix.cc (setLength): New method.
12034 * java/io/RandomAccessFile.java (setLength): New method.
12035 * java/io/natFileDescriptorEcos.cc (setLength): New method.
12036 * java/io/FileDescriptor.java (setLength): New method.
12038 2002-07-24 Mark Wielaard <mark@klomp.org>
12040 * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
12041 * java/io/ObjectInputStream.java (setBooleanField): Before setting
12042 field call setAccessible(true).
12043 (setByteField): Likewise.
12044 (setCharField): Likewise.
12045 (setDoubleField): Likewise.
12046 (setFloatField): Likewise.
12047 (setIntField): Likewise.
12048 (setLongField): Likewise.
12049 (setShortField): Likewise.
12050 (setObjectField): Likewise.
12052 2002-07-24 Tom Tromey <tromey@redhat.com>
12054 * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
12055 use toString() to format array element.
12057 2002-07-23 Mark Wielaard <mark@klomp.org>
12059 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
12060 MessageDigestSpi (fixes Classpath bug #783).
12062 2002-07-21 Mark Wielaard <mark@klomp.org>
12064 * gnu/java/security/provider/Gnu.java: Reference all implementation
12065 classes by using Class.getName().
12067 2002-07-19 Bo Thorsen <bo@berlioz.suse.de>
12069 * java/lang/ieeefp.h: Add x86-64 support.
12070 * configure.in: Likewise.
12071 * configure.host: Likewise.
12072 * configure: Regenerated.
12073 * sysdep/x86-64/locks.h: New file with x86-64 locks.
12075 2002-07-16 Mark Wielaard <mark@klomp.org>
12077 * java/io/StreamTokenizer.java (pushBack): Update documentation.
12078 (whitespaceChars): call resetChar().
12080 2002-07-15 Tom Tromey <tromey@redhat.com>
12082 * Makefile.in: Rebuilt.
12083 * Makefile.am (awt_java_source_files): Added new files.
12084 * java/beans/ExceptionListener.java: Merged with Classpath.
12085 * java/beans/PropertyChangeEvent.java: Merged with Classpath.
12086 * java/beans/PropertyChangeListener.java: Merged with Classpath.
12087 * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
12088 * java/beans/PropertyChangeSupport.java: Merged with Classpath.
12089 * java/beans/VetoableChangeListener.java: Merged with Classpath.
12090 * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
12091 * java/beans/VetoableChangeSupport.java: Merged with Classpath.
12093 2002-07-14 Mark Wielaard <mark@klomp.org>
12095 * gnu/java/security/der/DEREncodingException.java,
12096 gnu/java/security/provider/DERReader.java,
12097 gnu/java/security/provider/DERWriter.java,
12098 gnu/java/security/provider/DSAKeyPairGenerator.java,
12099 gnu/java/security/provider/DSAParameterGenerator.java,
12100 gnu/java/security/provider/DSAParameters.java,
12101 gnu/java/security/provider/DSASignature.java,
12102 gnu/java/security/provider/GnuDSAPrivateKey.java,
12103 gnu/java/security/provider/GnuDSAPublicKey.java,
12104 gnu/java/security/provider/MD5.java,
12105 gnu/java/security/util/Prime.java: New files from Classpath.
12106 * Makefile.am (ordinary_java_source_files): Add new files.
12107 * Makefile.in: Regenerate.
12109 2002-07-14 C. Brian Jones <cbj@gnu.org>
12111 * gnu/java/security/provider/DefaultPolicy.java
12112 (getPermissions): do not maintain static class variable of
12114 * gnu/java/security/provider/SHA.java
12115 (engineUpdate): algorithm change
12116 (engineDigest): algorithm change
12118 2002-07-12 Jesse Rosenstock <jmr@fulcrummicro.com>
12120 For PR libgcj/7292:
12121 * java/lang/Character.java (toString(char)): Now static.
12123 2002-07-12 Mark Wielaard <mark@klomp.org>
12125 * java/lang/natThrowable.cc (printRawStackTrace): removed.
12126 (getStackTrace0): new method.
12127 * java/lang/Throwable.java (CPlusPlusDemangler): removed.
12128 (printStackTrace(PrintWriter)): replace with pure java implementation.
12129 (printRawStackTrace): removed.
12130 (getStackTrace0): new method.
12131 * java/lang/StackTraceElement.java (toString): add extra whitespace.
12132 * gcj/javaprims.h: regenerate class list.
12133 * include/name-finder.h (lookup): new returns StackTraceElement*.
12134 (method_name, file_name): fields removed.
12135 (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
12136 (~_Jv_name_finder): close new descriptors.
12137 * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
12138 (createStackTraceElement): new method.
12139 (lookup): returns StackTraceElement*, uses createStackTraceElement().
12141 2002-07-10 Tom Tromey <tromey@redhat.com>
12143 * configure: Rebuilt.
12144 * configure.in: Use `test' after `&&'. From Chris Faylor.
12146 2002-07-08 Mark Wielaard <mark@klomp.org>
12148 * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
12149 java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
12150 java.sql.DatabaseMetaData.TestJdbc20
12152 2002-07-05 Tony Kimball <alk@pobox.com>
12154 * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
12156 2002-07-04 Tom Tromey <tromey@redhat.com>
12157 Jeff Sturm <jsturm@one-point.com>
12159 Fix for PR libgcj/7060:
12160 * java/lang/Class.h (_getMethod): Renamed from getMethod.
12161 * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
12162 Recurse into superinterfaces. Don't throw NoSuchMethodException.
12163 * java/lang/Class.java (getMethod): New Java implementation;
12164 complies with spec.
12165 (_getMethod): New native method.
12167 2002-07-02 Tom Tromey <tromey@redhat.com>
12168 David Hovemeyer <daveho@cs.umd.edu>
12170 * java/text/ChoiceFormat.java
12171 (format(double,StringBuffer,FieldPosition)): Fix fencepost error
12173 * java/text/MessageFormat.java
12174 (format(Object[],StringBuffer,FieldPosition): Pass all arguments
12177 2002-07-01 Tom Tromey <tromey@redhat.com>
12179 * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
12180 StringTokenizer on null string. For PR libgcj/7180.
12181 From daveho@cs.umd.edu.
12183 2002-06-24 Tom Tromey <tromey@redhat.com>
12185 * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
12186 (IntegerClass): Likewise.
12187 * java/lang/natClass.cc (CloneableClass): Removed.
12188 (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
12189 ConstructorClass): Likewise.
12190 * java/lang/natClassLoader.cc (CloneableClass): Removed.
12191 (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
12192 SerializableClass): Likewise.
12193 * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
12194 (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
12195 LongClass, FloatClass, DoubleClass): Likewise.
12197 * verify.cc (branch_prepass): Updated for change to exception
12199 (verify_instructions_0): Likewise.
12200 * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
12201 (handleExceptionTableEntry): Updated for change to exception
12203 * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
12204 * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
12205 (union _Jv_InterpPC): New.
12206 (class _Jv_InterpException): Changed types to _Jv_InterpPC.
12207 (class _Jv_InterpMethod): Added new `prepared' field.
12208 (class _Jv_InterpMethod): Added `compile' method. Removed
12209 `continue1' and `find_exception'. Changed arguments to `run'.
12210 * interpret.cc (union insn_slot): New.
12211 (find_exception): Removed.
12212 (run_normal): Removed most logic.
12213 (run_synch_object): Likewise; also, use JvSynchronize.
12214 (run_synch_class): Likewise.
12216 (continue1): Renamed as `run'. Compile bytecode if required.
12217 Add new code to allow refinement of direct-threaded code at
12218 runtime. Handle exceptions.
12219 (SAVE_PC): Removed.
12220 (compile): New method.
12221 (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
12222 (NULLARRAYCHECK): Don't use SAVE_PC.
12223 (pc_t): New typedef.
12224 (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
12225 SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
12227 2002-06-23 Tom Tromey <tromey@redhat.com>
12229 * configure: Rebuilt.
12230 * configure.in (INTERPRETER): New subst.
12231 (AM_RUNTESTFLAGS): Don't subst.
12233 * Makefile.in: Rebuilt.
12234 * Makefile.am ($(srcdir)/java/lang/Object.h,
12235 $(srcdir)/java/lang/Class.h): Added dummy targets.
12237 2002-06-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12239 Reformat JDBC classes and add new JDK 1.4 classes and methods.
12241 * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
12242 java/sql/Savepoint.java: New files.
12243 * java/sql/Array.java, java/sql/BatchUpdateException.java,
12244 java/sql/Blob.java, java/sql/CallableStatement.java,
12245 java/sql/Clob.java, java/sql/Connection.java,
12246 java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
12247 java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
12248 java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
12249 java/sql/Ref.java, java/sql/ResultSet.java,
12250 java/sql/ResultSetMetaData.java, java/sql/SQLData.java
12251 java/sql/SQLException.java, java/sql/SQLInput.java,
12252 java/sql/SQLOutput.java, java/sql/SQLWarning.java
12253 java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
12254 java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
12255 (JDK 1.4) specification.
12256 * javax/sql/ConnectionEvent.java,
12257 javax/sql/ConnectionEventListener.java,
12258 javax/sql/ConnectionPoolDataSource.java,
12259 javax/sql/DataSource.java, javax/sql/PooledConnection.java,
12260 javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
12261 javax/sql/RowSet.java, javax/sql/RowSetListener.java,
12262 javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
12263 javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
12264 javax/sql/XADataSource.java: New files.
12265 * Makefile.am: Add new files.
12266 * Makefile.in: Rebuilt.
12268 2002-06-20 Tom Tromey <tromey@redhat.com>
12270 For PR libgcj/7073:
12271 * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
12273 * defineclass.cc (handleClassBegin): Superclass for interface is
12276 2002-06-18 Tom Tromey <tromey@redhat.com>
12278 * gcj/javaprims.h: Updated class declaration list.
12279 * Makefile.in: Rebuilt.
12280 * Makefile.am (core_java_source_files): Removed
12281 BasicMapEntry.java.
12282 * java/util/BasicMapEntry.java: Removed.
12284 2002-06-18 Jeff Sturm <jsturm@one-point.com>
12286 * java/net/natPlainDatagramSocketImpl.cc (receive):
12287 Check bounds of argument to FD_SET.
12288 (setOption): Throw exception if socket is closed.
12290 * java/net/natPlainSocketImpl.cc (accept, read):
12291 Check bounds of argument to FD_SET.
12292 (setOption): Throw exception if socket is closed.
12294 2002-06-18 Tom Tromey <tromey@redhat.com>
12296 * gcj/javaprims.h: Updated class declaration list.
12297 * Makefile.in: Rebuilt.
12298 * Makefile.am (core_java_source_files): Added
12299 PropertyPermissionCollection.java.
12300 * java/lang/Thread.java (group, name): Now package-private.
12301 * java/lang/ThreadGroup.java: Re-merge with Classpath.
12302 * java/util/AbstractList.java: Likewise.
12303 * java/util/AbstractMap.java: Likewise.
12304 * java/util/Calendar.java: Likewise.
12305 * java/util/Collections.java: Likewise.
12306 * java/util/HashMap.java: Likewise.
12307 * java/util/Hashtable.java: Likewise.
12308 * java/util/LinkedHashMap.java: Likewise.
12309 * java/util/LinkedList.java: Likewise.
12310 * java/util/List.java: Likewise.
12311 * java/util/ListResourceBundle.java: Likewise.
12312 * java/util/Map.java: Likewise.
12313 * java/util/Observable.java: Likewise.
12314 * java/util/Properties.java: Likewise.
12315 * java/util/PropertyPermission.java: Likewise.
12316 * java/util/PropertyPermissionCollection.java: Likewise.
12317 * java/util/PropertyResourceBundle.java: Likewise.
12318 * java/util/Random.java: Likewise.
12319 * java/util/SimpleTimeZone.java: Likewise.
12320 * java/util/StringTokenizer.java: Likewise.
12321 * java/util/TimerTask.java: Likewise.
12322 * java/util/TreeMap.java: Likewise.
12323 * java/util/WeakHashMap.java: Likewise.
12324 * java/util/jar/Attributes.java: Likewise.
12325 * java/util/jar/JarException.java: Likewise.
12326 * java/util/jar/Manifest.java: Likewise.
12328 2002-06-17 Tom Tromey <tromey@redhat.com>
12330 * gcj/javaprims.h: Updated class declaration list.
12331 * Makefile.in: Rebuilt.
12332 * Makefile.am (core_java_source_files): Added new file.
12333 * java/util/EventListenerProxy.java: New file.
12334 * java/util/EventListener.java: Re-merge with Classpath.
12335 * java/util/EventObject.java: Re-merge with Classpath.
12337 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
12339 * java/lang/ClassNotFoundException.java: New Classpath version.
12341 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
12343 * java/rmi/activation/ActivateFailedException.java: Remerge from
12345 * java/rmi/activation/ActivationException.java: Ditto.
12346 * java/rmi/activation/UnknownGroupException.java: Ditto.
12347 * java/rmi/activation/UnknownObjectException.java: Ditto.
12348 * java/rmi/server/ExportException: Ditto.
12349 * java/rmi/server/ServerCloneException: Ditto.
12350 * java/rmi/server/ServerNotActiveException: Ditto.
12351 * java/rmi/server/SkeletonMismatchException: Ditto.
12352 * java/rmi/server/SkeletonNotFoundException: Ditto.
12353 * java/rmi/server/SocketSecurityException: Ditto.
12355 2002-06-16 Tom Tromey <tromey@redhat.com>
12357 * gcj/javaprims.h: Updated class declaration list.
12359 * java/io/LineNumberInputStream.java: Merged with Classpath.
12361 * java/lang/RuntimeException.java: Re-merge with Classpath.
12362 * java/util/ArrayList.java: Likewise.
12363 * java/util/Arrays.java: Likewise.
12364 * java/util/BitSet.java: Likewise.
12365 * java/util/Dictionary.java: Likewise.
12366 * java/util/IdentityHashMap.java: Likewise.
12367 * java/util/MissingResourceException.java: Likewise.
12368 * java/util/Observer.java: Likewise.
12369 * java/util/TooManyListenersException.java: Likewise.
12370 * java/util/zip/DataFormatException.java: Likewise.
12371 * java/util/zip/ZipException.java: Likewise.
12373 2002-06-16 Nathanael Nerode <neroden@twcny.rr.com>
12375 * java/rmi/AccessException.java: Remerge from Classpath.
12376 * java/rmi/AlreadyBoundException.java: Ditto.
12377 * java/rmi/ConnectException.java: Ditto.
12378 * java/rmi/ConnectIOException.java: Ditto.
12379 * java/rmi/MarshalException.java: Ditto.
12380 * java/rmi/NoSuchObjectException.java: Ditto.
12381 * java/rmi/NotBoundException.java: Ditto.
12382 * java/rmi/RemoteException.java: Ditto.
12383 * java/rmi/RMISecurityException.java: Ditto.
12384 * java/rmi/ServerError.java: Ditto.
12385 * java/rmi/ServerException.java: Ditto.
12386 * java/rmi/ServerRuntimeException.java: Ditto.
12387 * java/rmi/StubNotFoundException.java: Ditto.
12388 * java/rmi/UnexpectedExcpetion.java: Ditto.
12389 * java/rmi/UnknownHostException.java: Ditto.
12390 * java/rmi/UnmarshalException.java: Ditto.
12392 2002-06-15 Tom Tromey <tromey@redhat.com>
12394 * java/lang/AbstractMethodError.java: Re-merged with Classpath.
12395 * java/lang/ArithmeticException.java: Likewise.
12396 * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
12397 * java/lang/ArrayStoreException.java: Likewise.
12398 * java/lang/Byte.java: Likewise.
12399 * java/lang/CharSequence.java: Likewise.
12400 * java/lang/ClassCastException.java: Likewise.
12401 * java/lang/ClassCircularityError.java: Likewise.
12402 * java/lang/ClassFormatError.java: Likewise.
12403 * java/lang/CloneNotSupportedException.java: Likewise.
12404 * java/lang/Cloneable.java: Likewise.
12405 * java/lang/Comparable.java: Likewise.
12406 * java/lang/Compiler.java: Likewise.
12407 * java/lang/Error.java: Likewise.
12408 * java/lang/ExceptionInInitializerError.java: Likewise.
12409 * java/lang/IllegalAccessError.java: Likewise.
12410 * java/lang/IllegalAccessException.java: Likewise.
12411 * java/lang/IllegalArgumentException.java: Likewise.
12412 * java/lang/IllegalMonitorStateException.java: Likewise.
12413 * java/lang/IllegalStateException.java: Likewise.
12414 * java/lang/IllegalThreadStateException.java: Likewise.
12415 * java/lang/IncompatibleClassChangeError.java: Likewise.
12416 * java/lang/IndexOutOfBoundsException.java: Likewise.
12417 * java/lang/InheritableThreadLocal.java: Likewise.
12418 * java/lang/InstantiationError.java: Likewise.
12419 * java/lang/InstantiationException.java: Likewise.
12420 * java/lang/InternalError.java: Likewise.
12421 * java/lang/InterruptedException.java: Likewise.
12422 * java/lang/LinkageError.java: Likewise.
12423 * java/lang/NegativeArraySizeException.java: Likewise.
12424 * java/lang/NoClassDefFoundError.java: Likewise.
12425 * java/lang/NoSuchFieldError.java: Likewise.
12426 * java/lang/NoSuchFieldException.java: Likewise.
12427 * java/lang/NoSuchMethodError.java: Likewise.
12428 * java/lang/NoSuchMethodException.java: Likewise.
12429 * java/lang/NullPointerException.java: Likewise.
12430 * java/lang/NumberFormatException.java: Likewise.
12431 * java/lang/OutOfMemoryError.java: Likewise.
12432 * java/lang/Process.java: Likewise.
12433 * java/lang/Runnable.java: Likewise.
12434 * java/lang/RuntimePermission.java: Likewise.
12435 * java/lang/SecurityException.java: Likewise.
12436 * java/lang/Short.java: Likewise.
12437 * java/lang/StackOverflowError.java: Likewise.
12438 * java/lang/StringIndexOutOfBoundsException.java: Likewise.
12439 * java/lang/ThreadDeath.java: Likewise.
12440 * java/lang/ThreadLocal.java: Likewise.
12441 * java/lang/UnknownError.java: Likewise.
12442 * java/lang/UnsatisfiedLinkError.java: Likewise.
12443 * java/lang/UnsupportedClassVersionError.java: Likewise.
12444 * java/lang/UnsupportedOperationException.java: Likewise.
12445 * java/lang/VerifyError.java: Likewise.
12446 * java/lang/VirtualMachineError.java: Likewise.
12447 * java/lang/reflect/InvocationTargetException.java: Likewise.
12448 * java/net/BindException.java: Likewise.
12449 * java/net/ConnectException.java: Likewise.
12450 * java/net/MalformedURLException.java: Likewise.
12451 * java/net/NoRouteToHostException.java: Likewise.
12452 * java/net/ProtocolException.java: Likewise.
12453 * java/net/SocketException.java: Likewise.
12454 * java/net/UnknownHostException.java: Likewise.
12455 * java/net/UnknownServiceException.java: Likewise.
12457 * java/io/BufferedOutputStream.java: Re-merged with Classpath.
12458 * java/io/CharConversionException.java: Likewise.
12459 * java/io/EOFException.java: Likewise.
12460 * java/io/FileNotFoundException.java: Likewise.
12461 * java/io/IOException.java: Likewise.
12462 * java/io/InterruptedIOException.java: Likewise.
12463 * java/io/InvalidClassException.java: Likewise.
12464 * java/io/InvalidObjectException.java: Likewise.
12465 * java/io/NotActiveException.java: Likewise.
12466 * java/io/NotSerializableException.java: Likewise.
12467 * java/io/ObjectStreamException.java: Likewise.
12468 * java/io/ObjectStreamConstants.java: Likewise.
12469 * java/io/OptionalDataException.java: Likewise.
12470 * java/io/PipedInputStream.java: Likewise.
12471 * java/io/PushbackInputStream.java: Likewise.
12472 * java/io/StreamCorruptedException.java: Likewise.
12473 * java/io/SyncFailedException.java: Likewise.
12474 * java/io/UTFDataFormatException.java: Likewise.
12475 * java/io/UnsupportedEncodingException.java: Likewise.
12476 * java/io/WriteAbortedException.java: Likewise.
12478 2002-06-15 Nathanael Nerode <neroden@twcny.rr.com>
12480 * java/text/ChoiceFormat.java: Update comments from Classpath.
12481 * java/text/ParseException.java (serialVersionUID): New
12482 field from Classpath.
12483 * java/text/ParseException.java: Update formatting & comments
12486 2002-06-15 Tom Tromey <tromey@redhat.com>
12488 * java/util/zip/InflaterInputStream.java (read): Loop if data has
12489 been read but none output by inflater.
12490 * java/util/zip/natDeflater.cc (reset): Set is_finished.
12491 * java/util/zip/natInflater.cc (reset): Set dist_needed and
12493 * java/util/zip/ZipOutputStream.java: Replaced with Classpath
12495 * java/util/zip/ZipFile.java: Replaced with Classpath version.
12496 * java/util/zip/ZipEntry.java: Replaced with Classpath version.
12497 * java/util/zip/ZipInputStream.java: Replaced with Classpath
12499 * java/util/zip/ZipConstants.java: Replaced with Classpath version.
12501 2002-06-13 Tom Tromey <tromey@redhat.com>
12503 * java/lang/natString.cc (init): Handle case where DONT_COPY is
12504 true and OFFSET!=0.
12505 * java/lang/String.java (String(char[],int,int,boolean): New
12507 * java/lang/Long.java: Imported new version from Classpath.
12508 * java/lang/Number.java: Likewise.
12509 * java/lang/Integer.java: Likewise.
12510 * java/lang/Long.java: Likewise.
12511 * java/lang/Float.java: Likewise.
12512 * java/lang/Boolean.java: Likewise.
12513 * java/lang/Double.java: Likewise.
12514 * java/lang/Void.java: Likewise.
12516 2002-06-12 Tom Tromey <tromey@redhat.com>
12518 * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
12519 Fixes PR libgcj/6652.
12521 2002-06-10 Tom Tromey <tromey@redhat.com>
12523 * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
12524 (Class::getPackagePortion): Likewise.
12525 * java/lang/Class.java (desiredAssertionStatus): New method from
12527 (getPackagePortion): Likewise.
12528 * java/lang/VMClassLoader.java (defaultAssertionStatus,
12529 packageAssertionStatus, classAssertionStatus): New methods from
12531 * java/lang/ClassLoader.java (defaultAssertionStatus,
12532 systemPackageAssertionStatus, packageAssertionStatus,
12533 systemClassAssertionStatus, classAssertionStatus): New fields from
12535 (setDefaultAssertionStatus, setPackageAssertionStatus,
12536 setClassAssertionStatus, clearAssertionStatus): New methods from
12538 * Makefile.in: Rebuilt.
12539 * Makefile.am (core_java_source_files): Added AssertionError.java.
12540 * java/lang/AssertionError.java: New from Classpath.
12542 2002-06-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12544 * configure.host: Disable hash synchronization and slow_pthread_self
12547 2002-06-06 Adam Megacz <adam@xwt.org>
12549 * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
12550 locking, just like the Sun JVM does.
12552 2002-06-05 H.J. Lu (hjl@gnu.org)
12554 * Makefile.am (libgcj_convenience.la): Revert the last change.
12555 (libgcj.la): Likewise.
12556 * Makefile.in: Regenerated.
12558 2002-06-04 H.J. Lu (hjl@gnu.org)
12560 * Makefile.am (libgcj_convenience.la): New target.
12561 (libgcj.la): Depend on libgcj_convenience.la.
12562 * Makefile.in: Regenerated.
12564 2002-06-04 H.J. Lu (hjl@gnu.org)
12566 * configure.in (--with-newlib): New option:
12567 Check ${with_newlib} instead of ${with_cross_host} for newlib.
12568 (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
12570 * configure: Regenerated.
12572 2002-06-04 Tom Tromey <tromey@redhat.com>
12574 * java/util/natTimeZone.cc: Include <stdio.h>.
12576 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com>
12578 * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
12579 * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
12580 Set SIGNAL_HANDLER=include/s390-linux.h.
12581 * configure: Regenerate.
12582 * include/s390-linux.h: New file.
12584 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12586 * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
12589 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12591 Merge JDK 1.4 java.security changes from classpath.
12593 * java/security/AccessControlException.java: Merge from Classpath.
12594 * java/security/AccessController.java: Likewise.
12595 * java/security/AllPermission.java: Likewise.
12596 * java/security/BasicPermission.java: Likewise.
12597 * java/security/Certificate.java: Likewise.
12598 * java/security/CodeSource.java: Likewise.
12599 * java/security/DigestException.java: Likewise.
12600 * java/security/DigestOutputStream.java: Likewise.
12601 * java/security/DomainCombiner.java: Likewise.
12602 * java/security/GeneralSecurityException.java: Likewise.
12603 * java/security/Guard.java: Likewise.
12604 * java/security/GuardedObject.java: Likewise.
12605 * java/security/InvalidAlgorithmParameterException.java: Likewise.
12606 * java/security/InvalidKeyException.java: Likewise.
12607 * java/security/InvalidParameterException.java: Likewise.
12608 * java/security/Key.java: Likewise.
12609 * java/security/KeyException.java: Likewise.
12610 * java/security/KeyManagementException.java: Likewise.
12611 * java/security/KeyStoreException.java: Likewise.
12612 * java/security/MessageDigest.java: Likewise.
12613 * java/security/NoSuchAlgorithmException.java: Likewise.
12614 * java/security/NoSuchProviderException.java: Likewise.
12615 * java/security/Permission.java: Likewise.
12616 * java/security/PermissionCollection.java: Likewise.
12617 * java/security/Permissions.java: Likewise.
12618 * java/security/Policy.java: Likewise.
12619 * java/security/Principal.java: Likewise.
12620 * java/security/PrivateKey.java: Likewise.
12621 * java/security/PrivilegedAction.java: Likewise.
12622 * java/security/PrivilegedActionException.java: Likewise.
12623 * java/security/PrivilegedExceptionAction.java: Likewise.
12624 * java/security/ProtectionDomain.java: Likewise.
12625 * java/security/ProviderException.java: Likewise.
12626 * java/security/PublicKey.java: Likewise.
12627 * java/security/SecureClassLoader.java: Likewise.
12628 * java/security/SecurityPermission.java: Likewise.
12629 * java/security/SignatureException.java: Likewise.
12630 * java/security/UnrecoverableKeyException.java: Likewise.
12631 * java/security/UnresolvedPermission.java: Likewise.
12632 * java/security/acl/AclNotFoundException.java: Likewise.
12633 * java/security/acl/LastOwnerException.java: Likewise.
12634 * java/security/acl/NotOwnerException.java: Likewise.
12635 * java/security/cert/CRLException.java: Likewise.
12636 * java/security/cert/CertificateEncodingException.java: Likewise.
12637 * java/security/cert/CertificateException.java: Likewise.
12638 * java/security/cert/CertificateExpiredException.java: Likewise.
12639 * java/security/cert/CertificateFactory.java: Likewise.
12640 * java/security/cert/CertificateNotYetValidException.java: Likewise.
12641 * java/security/cert/CertificateParsingException.java: Likewise.
12642 * java/security/spec/InvalidKeySpecException.java: Likewise.
12643 * java/security/spec/InvalidParameterSpecException.java: Likewise.
12645 * java/security/cert/CertPath.java: New file.
12646 * java/security/cert/CertPathBuilderException.java: New file.
12647 * java/security/cert/CertPathValidatorException.java: New file.
12648 * java/security/cert/CertStoreException.java: New file.
12650 * Makefile.am: Add new CertPath classes.
12651 * Makefile.in: Rebuilt.
12653 * gnu/java/util/EmptyEnumeration.java: New file from classpath.
12655 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12657 Merge JDK 1.4 exception chaining support from classpath.
12659 * java/lang/Throwable.java: Merge 1.4 support from classpath.
12660 (stackTraceBytes): Rename from stackTrace.
12661 * java/lang/Exception.java: Merge from classpath.
12662 * java/lang/StackTraceElement: New file from classpath.
12663 * gcj/javaprims.h: Rebuild CNI namespace declarations.
12664 * Makefile.am: Add StackTraceElement.
12665 * Makefile.in: Rebuilt.
12667 2002-05-23 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12669 * Makefile.am (all-recursive): Depend on $all_java_class_files so that
12671 * Makefile.in: Rebuilt.
12673 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12675 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
12676 * configure.in: Likewise.
12677 * aclocal.m4: Regenerate.
12678 * configure: Regenerate.
12680 2002-05-13 Tom Tromey <tromey@redhat.com>
12682 * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
12683 * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
12684 Include platform.h.
12686 Fixes PR libgcj/6389:
12687 * Makefile.in: Rebuilt.
12688 * Makefile.am (nat_source_files): Added natTimeZone.cc.
12689 * java/util/natTimeZone.cc: New file.
12690 * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
12691 * java/lang/System.java: Merged with Classpath.
12692 * java/lang/Runtime.java: Merged with Classpath.
12693 * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
12695 (setIn0): Renamed from setIn; don't run security check.
12696 (setOut0): Renamed from setOut; don't run security check.
12697 (file_encoding, getpwuid_adaptor, getSystemTimeZone,
12698 init_properties): Moved to natRuntime.cc.
12699 Moved many includes to natRuntime.cc.
12700 (isWordsBigEndian): New method.
12701 * java/lang/natRuntime.cc: Include Long.h, also other includes
12702 previously in natSystem.cc.
12703 (maxMemory): New function.
12704 (exitInternal): Renamed from `_exit'.
12706 (init): Don't set finalize_on_exit.
12707 (exitInternal): Use `finalizeOnExit'.
12708 (file_encoding, getpwuid_adaptor): New functions from
12710 (insertSystemProperties): New method, renamed from
12711 System::init_properties. Don't set user.timezone.
12712 (_load): Don't call checkLink.
12713 (execInternal): New method.
12714 (availableProcessors): Likewise.
12715 (nativeGetLibname): Likewise.
12717 2002-05-11 Mark Wielaard <mark@klomp.org>
12719 * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
12721 (previous_internal): Likewise.
12723 2002-05-09 Tom Tromey <tromey@redhat.com>
12725 * jni.cc (_Jv_JNIFunctions): Fixed typo.
12727 * java/util/ResourceBundle.java: New version from Classpath.
12728 * java/util/Locale.java: Likewise.
12730 2002-05-09 Jakub Jelinek <jakub@redhat.com>
12732 * testsuite/lib/libjava.exp (libjava_arguments): Append all
12733 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
12736 2002-05-08 Mark Mitchell <mark@codesourcery.com>
12738 * libjava/Makefile.am (all_java_source_files): New variable.
12739 (all_java_class_files): Likewise.
12740 .java.class: New rule.
12741 (CLEANFILES): Remove tmp-list.
12742 * libjava/Makefile.in: Regenerated.
12744 2002-05-09 David.Billinghurst <David.Billinghurst@riotinto.com>
12746 * testsuite/lib/libjava.exp (test_libjava_from_javac):
12747 Append .exe to executable names. Fix for cygwin.
12749 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
12751 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
12752 script entry, and set LD to it when configuring multilibs.
12753 * configure: Rebuilt.
12755 2002-05-07 Tom Tromey <tromey@redhat.com>
12757 * java/lang/natString.cc (unintern): Fixed typo.
12759 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
12761 * testsuite/lib/libjava.exp (libjava_arguments): Don't link
12762 with -no-install on *-*-cygwin*.
12764 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
12766 * testsuite/lib/libjava.exp (test_libjava_from_source):
12767 Add comment explaining last patch
12769 2002-05-04 David Billinghurst <David.Billinghurst@riotinto.com>
12771 * testsuite/lib/libjava.exp (test_libjava_from_source):
12772 Append .exe to executable names. If no suffix is present,
12773 then ".exe" is added by default on win32. Harmless
12774 elsewhere so always do it.
12776 2002-05-03 David Billinghurst <David.Billinghurst@riotinto.com>
12777 Tom Tromey <tromey@redhat.com>
12779 * java/lang/natSystem.cc (getSystemTimeZone): Use
12780 HAVE_UNDERSCORE_TIMEZONE.
12781 * include/config.h.in: Rebuilt.
12782 * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
12783 * aclocal.m4, configure: Rebuilt.
12784 * acinclude.m4: Run AC_EXEEXT.
12785 * configure.in: Adjust test for `timezone' so it fails on Cygwin.
12786 Add test for `_timezone'.
12788 2002-05-03 Alexandre Oliva <aoliva@redhat.com>
12790 Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12791 * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
12792 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
12793 * Makefile.in: Rebuilt.
12795 2002-05-02 Hans Boehm <Hans_Boehm@hp.com>
12797 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
12798 use sigaction instead of __libc_sigaction.
12800 2002-05-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12802 * testsuite/lib/libjava.exp (libjava_find_spec): New function.
12803 (libjava_init): Use it to find libgcj.spec.
12804 (libjava_arguments): Likewise.
12806 2002-05-02 David S. Miller <davem@redhat.com>
12809 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
12810 __libc_sigaction on Sparc.
12812 2002-05-02 Jerome Marc <marcjero@yahoo.com>
12814 * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
12815 sys/filio.h, if present.
12817 2002-04-30 Tom Tromey <tromey@redhat.com>
12819 * java/io/BufferedReader.java (fill): Handle case where markPos
12820 point to ignored \n. Fixes PR libgcj/6301.
12822 2002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
12824 * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
12826 2002-04-29 Adam King <aking@dreammechanics.com>
12828 * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
12829 of file in APPEND mode.
12831 2002-04-25 David S. Miller <davem@redhat.com>
12834 * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
12835 program counter to next program counter minus 8. Update
12836 comments in this macro to explain why.
12838 2002-04-26 Tom Tromey <tromey@redhat.com>
12840 * verify.cc (construct_primitive_array_type) [void_type]: New
12842 (branch_prepass): Added dummy entries for unused instruction
12844 (verify_instructions_0): Likewise.
12845 * interpret.cc (continue1): Comment fix.
12846 * include/java-insns.h (op_xxxunusedxxx1): Removed.
12847 * Makefile.in: Rebuilt.
12848 * Makefile.am: Added -Wswitch-enum.
12850 2002-04-24 Tom Tromey <tromey@redhat.com>
12852 * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
12853 correct length of UTF-8 encoded name. Strip leading `/'.
12854 (_Jv_RegisterResource): Use _Jv_Malloc.
12856 2002-04-23 Adam Megacz <adam@xwt.org>
12858 * win32.cc, include/win32.cc (backtrace): Added this function
12859 because Win32 does not supply it.
12861 2002-04-21 David S. Miller <davem@redhat.com>
12863 * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
12864 magic instruction reading sequence.
12866 2002-04-21 Mark Wielaard <mark@klomp.org>
12868 * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
12870 2002-04-19 David S. Miller <davem@redhat.com>
12872 * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
12874 (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
12875 (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
12877 * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
12879 (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
12880 * sysdeps/sparc/locks.h: New file.
12881 * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
12882 on all sparc Solaris configurations. Set to
12883 include/dwarf2-signal.h on sparc Linux.
12884 * configure: Regenerate
12885 * configure.host (can_unwind_signal): sparc*-linux* can do it now.
12887 2002-04-19 Hans Boehm <Hans_Boehm@hp.com>
12889 * configure: Rebuilt.
12890 * configure.in (backtrace): Function doesn't work on IA-64.
12892 2002-04-17 Adam King <aking@dreammechanics.com>
12894 * java/io/File.java (normalizePath): Add Win32 support for auto
12895 conversion of a '/' path separator to Win32's '\' separator.
12897 2002-04-16 Tom Tromey <tromey@redhat.com>
12899 Fix for PR libgcj/6081:
12900 * Makefile.in: Rebuilt.
12901 * Makefile.am (install-data-local): Use GNU make trick to avoid
12904 2002-04-16 Adam King <aking@dreammechanics.com>
12905 Tom Tromey <tromey@redhat.com>
12907 * java/io/natFileWin32.cc (performList): Return the correct array
12908 type. Don't duplicate the creation of a File since it's already
12909 done earlier in the method and the existing code would cause a
12910 ArrayStoreException. Don't use fixed-size array.
12911 (_access, _stat, attr, getCanonicalPath, performMkdir,
12912 performRenameTo): Don't use fixed-size array.
12913 (getCanonicalPath): Use throw, not _Jv_Throw.
12915 2002-04-15 DJ Delorie <dj@redhat.com>
12917 * configure.in: Allow building in $srcdir.
12918 * configure: Regenerated.
12920 2002-04-14 Mark Wielaard <mark@klomp.org>
12922 * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
12923 * java/net/natSocketImpl.cc (close): Likewise.
12925 2002-04-14 Mark Wielaard <mark@klomp.org>
12927 * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
12929 2002-04-13 Adam King <aking@dreammechanics.com>
12931 * java/lang/natDouble.cc (parseDouble): Allow a number to end with
12932 the f/F/d/D modifiers.
12934 2002-04-12 Anthony Green <green@redhat.com>
12936 * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
12937 Create libgcj-@gcc_version@.jar instead of libgcj.jar.
12938 * Makefile.in: Rebuilt.
12939 * configure.in: Substitute gcc_version.
12940 * configure: Rebuilt.
12942 2002-04-11 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12944 * configure.host: Set can_unwind_signal on hosts which support it.
12945 Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
12946 * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
12947 exceptions and can_unwind_signal isn't set.
12948 * configure: Rebuilt.
12950 2002-04-11 Tom Tromey <tromey@redhat.com>
12952 * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
12954 2002-04-11 Adam King <aking@dreammechanics.com>
12955 Tom Tromey <tromey@redhat.com>
12957 * include/jvm.h (_Jv_ThrowBadArrayIndex,
12958 _Jv_ThrowNullPointerException): Mark as noreturn.
12959 * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
12960 and _Jv_free. Correctly invoke GetTempPath(). Indentation
12963 2002-04-10 Tom Tromey <tromey@redhat.com>
12965 * Makefile.in: Rebuilt.
12966 * Makefile.am (java/lang/Thread.h): Mark
12967 _Jv_AttachCurrentThreadAsDaemon as friend.
12968 * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
12969 * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
12970 * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
12972 * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
12973 * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
12974 (_Jv_JNI_InvokeFunctions): Added
12975 _Jv_JNI_AttachCurrentThreadAsDaemon.
12976 (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
12977 (JNI_GetDefaultJavaVMInitArgs): Likewise.
12978 (JNI_CreateJavaVM): Likewise.
12979 (_Jv_JNI_AttachCurrentThread): Likewise.
12980 (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
12981 (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
12982 (_Jv_JNIFunctions): Initialize new fields.
12983 (_Jv_JNI_NewDirectByteBuffer): New function.
12984 (_Jv_JNI_GetDirectBufferAddress): Likewise.
12985 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
12986 * include/jni.h (JNI_VERSION_1_4): New macro.
12987 (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
12988 (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
12989 (JNINativeInterface::NewDirectByteBuffer): New field.
12990 (JNINativeInterface::GetDirectBufferAddress): New field.
12991 (JNINativeInterface::GetDirectBufferCapacity): New field.
12992 (_Jv_JNIEnv::NewDirectByteBuffer): New method.
12993 (_Jv_JNIEnv::GetDirectBufferAddress): New method.
12994 (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
12996 2002-04-09 Tom Tromey <tromey@redhat.com>
12998 * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
13000 2002-04-08 Alberto Biancardi <alberto.biancardi@unipv.it>
13002 Fix for PR libgcj/6187:
13003 * java/awt/geom/Point2D.java (distance): Call distanceSq, not
13006 2002-04-07 Mark Wielaard <mark@klomp.org>
13008 * java/util/AbstractMap.java (putAll): Use entrySet size.
13009 (toString): Explicitly use getKey() and getValue().
13011 2002-04-07 Mark Wielaard <mark@klomp.org>
13013 * java/util/Hashtable.java (contains): Remove NullPointer check.
13014 (containsValue): Add NullPointer check.
13015 (remove): Always throw NullPointerException when key
13018 2002-04-07 Adam King <aking@dreammechanics.com>
13020 * java/lang/natSystem.cc (init_properties): Call new function
13021 _Jv_platform_initProperties.
13022 * win32.cc (_Jv_platform_initProperties): New function that adds Win32
13023 support for the System properties os.name, os.arch, os.version,
13024 user.name, user.home, and user.dir.
13025 * include/posix.h, include/win32.h, posix.cc: New function
13026 _Jv_platform_initProperties.
13028 2002-04-06 Mark Wielaard <mark@klomp.org>
13030 * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
13032 2002-04-06 Mark Wielaard <mark@klomp.org>
13034 * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
13035 all of the remaining elements.
13036 * java/util/Vector.java (addAll(int,Collection)): Likewise.
13037 (removeRange): If toIndex == fromIndex do
13038 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
13039 (removeAll): Always throw NullPointerException when collection is
13041 (retrainAll): Likewise.
13043 2002-04-05 Mark Wielaard <mark@klomp.org>
13045 * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
13046 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
13048 2002-04-05 Adam Megacz <adam@xwt.org>
13050 * exception.cc (abort): added static modifier
13052 2002-04-04 Adam Megacz <adam@xwt.org>
13054 * include/win32.h (_Jv_platform_close_on_exec): added inline
13057 2002-04-04 Loren J. Rittle <ljrittle@acm.org>
13059 * configure.host: Add case statement to support generic port
13060 properties. Add *-*-freebsd* section.
13062 2002-04-04 Mark Wielaard <mark@klomp.org>
13064 * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
13066 * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
13067 FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
13068 that depend on awt code and BufferedByteOutputStream.interrupt.
13070 2002-04-04 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13072 * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
13073 incorrect "hi" value when count > 40.
13075 2002-04-03 Mark Wielaard <mark@klomp.org>
13077 * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
13080 2002-04-02 Tom Tromey <tromey@redhat.com>
13082 * java/lang/natClassLoader.cc (findClass): Compare against `3',
13085 2002-04-02 Mark Wielaard <mark@klomp.org>
13087 * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
13088 list of testsuite crashers.
13090 2002-04-02 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13092 * java/util/IdentityHashMap.java (put): Set new threshold correctly
13093 when resizing table.
13095 2002-04-01 Mark Wielaard <mark@klomp.org>
13097 * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
13098 NegativeArraySizeException
13099 (clear(int)): Use sign extended shift.
13100 (flip(int)): Likewise.
13101 (get(int)): Likewise.
13102 (nextClearBit(int)): Likewise.
13103 (nextSetBit(int)): Likewise.
13104 (set(int)): Likewise.
13106 2002-04-01 Mark Wielaard <mark@klomp.org>
13108 * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
13109 that can be compiled now and add testsuite crashers to ignore list.
13111 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
13113 * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
13115 * libgcj.spec.in: Override libgcc, not lib.
13116 * libgcj-test.spec.in: Likewise.
13118 2002-03-29 Tom Tromey <tromey@redhat.com>
13120 * java/net/natPlainDatagramSocketImpl.cc (close): New function.
13121 * java/net/natPlainSocketImpl.cc (close): Indentation fix.
13123 2002-03-27 Jeff Sturm <jsturm@one-point.com>
13125 * java/net/PlainDatagramSocketImpl.java
13126 (close): Use native implementation.
13127 (finalize): New method.
13129 * java/net/PlainSocketImpl.java (finalize): New method.
13131 * java/net/natPlainDatagramSocketImpl.cc
13132 (java/io/FileDescriptor.h): Don't include.
13133 (close): Implement method here.
13134 (create): Don't assign fd.
13136 * java/net/natPlainSocketImpl.cc
13137 (java/io/FileDescriptor.h): Don't include.
13138 (create): Don't assign fd.
13139 (accept): Likewise.
13140 (close): Synchronize.
13142 2002-03-27 Richard Henderson <rth@redhat.com>
13144 * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
13146 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
13148 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
13149 (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
13150 instead of syscall on IA-64.
13153 2002-03-27 Anthony Green <green@redhat.com>
13155 * libgcj.spec.in: Add CHECKREFSPEC.
13156 * configure.in: Ditto.
13157 * configure.host: Ditto. Check references for xscale-elf.
13158 * configure: Rebuilt.
13160 2002-03-26 Hans Boehm <Hans_Boehm@hp.com>
13162 * include/dwarf2-signal.h: Temporarily back out last change.
13164 2002-03-26 Loren J. Rittle <ljrittle@acm.org>
13166 * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
13168 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
13170 * configure.in, configure: enable dwarf2-exception-style
13171 exception handling on IA-64.
13172 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
13173 (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
13176 2002-03-25 Tom Tromey <tromey@redhat.com>
13178 * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
13179 (jv_convert_LDFLAGS): Likewise.
13180 (gij_LDFLAGS): Likewise.
13181 (rmic_LDFLAGS): Likewise.
13182 (rmiregistry_LDFLAGS): Likewise.
13183 * configure.in (THREADLDFLAGS): New subst; set correctly for
13186 2002-03-25 Tom Tromey <tromey@redhat.com>
13188 For PR libgcj/5303:
13189 * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
13191 (help): New method.
13192 (version): Likewise.
13193 * gnu/gcj/convert/Convert.java (version): Removed extraneous
13195 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
13198 2002-03-25 Tom Tromey <tromey@redhat.com>
13200 * java/awt/Component.java (processEvent): Check ComponentEvent
13203 2002-03-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13205 * java/io/PushbackReader.java: Reformat.
13207 * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
13208 calculate correct number of bytes skipped.
13210 Based on patch from Intel's ORP team:
13211 * java/io/PushbackInputStream.java (available): Calculate correct
13212 number of bytes in buffer.
13213 (read): Remove redundant bound check. Return bytes from both the
13214 buffer and the stream.
13216 2002-03-24 Tom Tromey <tromey@redhat.com>
13218 * java/awt/TextComponent.java (TextComponent): Editable by
13221 * java/awt/MenuItem.java (eventMask): No longer private.
13222 * java/awt/Button.java (dispatchEventImpl): Only dispatch to
13223 superclass if we didn't handle event.
13224 * java/awt/Checkbox.java (dispatchEventImpl): New method.
13225 * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
13226 * java/awt/Choice.java (dispatchEventImpl): New method.
13227 * java/awt/List.java (dispatchEventImpl): New method.
13228 * java/awt/Scrollbar.java (dispatchEventImpl): New method.
13229 * java/awt/TextComponent.java (dispatchEventImpl): New method.
13230 * java/awt/TextField.java (dispatchEventImpl): New method.
13232 2002-03-24 Eric Blake <ebb9@email.byu.edu>
13234 * java/beans/IntrospectionException.java: Update to 1.4.
13235 * java/beans/PropertyVetoException.java: Ditto.
13237 2002-03-24 Eric Blake <ebb9@email.byu.edu>
13239 * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
13240 Arrays.equals instead of ArrayHelper.equalsArray.
13242 2002-03-24 C. Brian Jones <cbj@gnu.org>
13244 * java/beans/Introspector.java: added new static final fields
13245 introduced in 1.2, lots of other updates remain to be done
13247 2002-03-24 C. Brian Jones <cbj@gnu.org>
13249 * java/beans/Introspector.java: reformatting
13251 2002-03-24 C. Brian Jones <cbj@gnu.org>
13253 * java/beans/Introspector.java: default beanInfoSearchPath will
13254 not include sun.beans.infos given we provide no such package and
13255 the API doesn't really require it; gnu.java.beans.info is the
13258 2002-03-24 Mark Wielaard <mark@klomp.org>
13260 Thanks to Orp developers
13261 * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
13262 switch TRUE and FALSE return values.
13264 2002-03-23 Tom Tromey <tromey@redhat.com>
13266 * include/name-finder.h (_Jv_name_finder::myclose): New method.
13267 * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
13269 2002-03-23 Michael Smith <msmith@spinnakernet.com>
13271 * java/util/GregorianCalendar.java (minimums, maximums): Correct
13272 MONTH entry. Fixes PR libgcj/6045.
13274 2002-03-23 Jeff Sturm <jsturm@one-point.com>
13276 * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
13278 2002-03-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13280 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
13282 * sysdep/powerpc/locks.h (write_barrier): New function.
13283 * sysdep/i386/locks.h (write_barrier): New function.
13285 2002-03-19 Martin Kahlert <martin.kahlert@infineon.com>
13287 * include/jni.h Use correct C comments.
13289 2002-03-18 Tom Tromey <tromey@redhat.com>
13291 * include/jni.h (JNIIMPORT): New macro.
13292 (JNIEXPORT): Likewise.
13293 (JNICALL): Likewise.
13295 2002-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13297 * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
13300 2002-03-18 Andrew Haley <aph@cambridge.redhat.com>
13302 * include/i386-signal.h (old_i386_kernel_sigaction): New.
13303 INIT_SEGV: Use old_i386_kernel_sigaction.
13306 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13308 * java/lang/natSystem.cc (init_properties): Update VM version
13310 * configure.in: Set GCJVERSION.
13311 * acconfig.h: Add GCJVERSION.
13312 * configure: Rebuilt.
13313 * include/config.h.in: Rebuilt.
13315 2002-03-17 Anthony Green <green@redhat.com>
13317 * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
13319 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13321 Build a single libgcj.so, without separate gc and zlib libraries.
13322 * configure.in: Use convenience libraries for boehm-gc and zlib. Set
13323 SYS_ZLIBS if system zlib is used.
13324 * configure: Rebuilt.
13325 * Makefile.am: Use boehm-gc and zlib convenience libraries.
13326 * Makefile.in: Rebuilt.
13327 * libtool-version: Increment .so version number.
13329 * Makefile.am: Escape quotes in echo.
13330 * Makefile.in: Rebuilt.
13332 2002-03-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13334 * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
13335 * Makefile.in: Rebuilt.
13337 2002-03-15 Anthony Green <green@redhat.com>
13339 * configure.host (FILE): New macro for specifing File
13341 * configure: Rebuilt.
13342 * configure.in: Use FILE. Define HAVE_TIME for newlib targets.
13344 2002-03-15 Alexandre Oliva <aoliva@redhat.com>
13346 * Makefile.am (jv_convert_LDADD): Don't list libraries that are
13347 already implicitly brought in from libgcj.la.
13348 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
13349 * Makefile.in: Rebuilt.
13351 2002-03-15 Eric Blake <ebb9@email.byu.edu>
13353 * THANKS: Fix punctuation, alphabetization.
13355 2002-03-15 Tom Tromey <tromey@redhat.com>
13356 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13358 Fix for PR libgcj/5944.
13359 * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
13361 2002-03-15 Anthony Green <green@redhat.com>
13363 * configure.in (tool_include_dir): Define.
13364 * configure: Rebuilt.
13365 * gcj/Makefile.am: Install libgcj-config.h relative to
13367 * gcj/Makefile: Rebuilt.
13368 * gcj/libgcj-config.h: Add warning comment.
13370 2002-03-12 Andreas Tobler <a.tobler@schweiz.ch>
13372 * configure.host (powerpc*-darwin*): Enable interpreter.
13374 2002-03-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13376 * include/posix.h: Add multiple include header protection.
13377 * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
13379 2002-03-10 Adam Megacz <adam@xwt.org>
13381 * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
13383 2002-03-10 Tom Tromey <tromey@redhat.com>
13385 * java/awt/GridLayout.java (layoutContainer): Handle case where
13386 there are no items in container.
13388 * java/lang/Win32Process.java: Added comment.
13389 * include/posix.h (_Jv_platform_close_on_exec): New function.
13391 * include/win32.h (_Jv_platform_close_on_exec): New function.
13392 * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
13394 (accept): Likewise.
13395 * java/net/natPlainDatagramSocketImpl.cc (create): Set
13396 close-on-exec flag.
13397 * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
13400 2002-03-09 Tom Tromey <tromey@redhat.com>
13402 * verify.cc (state::NO_STACK): New constant.
13403 (state::is_unmerged_ret_state): Handle case where stacktop is
13405 (state::merge): Handle NO_STACK merges.
13406 (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
13407 for instruction following jsr.
13408 (stacktop, stackdepth): Removed unused variables.
13409 (pop_jump): Ignore case where all remaining states are skipped.
13411 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13413 * java/awt/ImageMediaEntry: Removed.
13414 * java/awt/MediaEntry: Removed.
13416 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13418 Hashtable synchronization for PowerPC.
13419 * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
13420 slow_pthread_self. Set up symlink for sysdeps directory.
13421 * configure: Rebuild.
13422 * configure.host: Document more shell variables. Set sysdeps_dir
13423 for most platforms. Set slow_pthread_self for i686. Set
13424 enable_hash_synchronization_default and slow_pthread_self for PowerPC.
13425 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
13426 that memory barrier is emitted where required.
13427 * prims.cc: 64-bit align static primitive class instances.
13428 * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
13429 read_barrier() to enforce ordering of reads.
13430 * sysdep/powerpc/locks.h: New file. Implementation of synchronization
13431 primitives for PowerPC.
13432 * sysdep/i386/locks.h: New file. Synchronization primitives for i386
13433 moved from natObject.cc.
13434 * sysdep/alpha/locks.h: Likewise.
13435 * sysdep/ia64/locks.h: Likewise.
13436 * sysdep/generic/locks.h: Likewise.
13437 * java/lang/natObject.cc: Move thread synchronization primitives to
13438 system-dependent headers.
13440 2002-03-09 Adam Megacz <adam@xwt.org>
13442 * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
13443 bytes read and no failure code returned.
13445 2002-03-09 Adam Megacz <adam@xwt.org>
13447 * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
13448 definitions to simulate -mthreads.
13450 2002-03-09 Adam Megacz <adam@xwt.org>
13452 * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
13453 avoid precision loss.
13455 2002-03-09 Per Bothner <per@bothner.com>
13457 * gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.
13458 * gnu/gcj/xlib/XImage.java: Likewise.
13459 * gnu/gcj/xlib/XColor.java: Likewise.
13461 2002-03-09 Adam Megacz <adam@xwt.org>
13463 * java/lang/Win32Process.java (ConcreteProcess): Now throws an
13464 IOException so that Throwable.printStackTrace fails correctly.
13466 2002-03-08 Adam Megacz <adam@xwt.org>
13468 * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
13471 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13473 * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
13476 2002-03-08 Tom Tromey <tromey@redhat.com>
13478 * include/jni.h: Include stdio.h.
13480 2002-03-08 Tom Tromey <tromey@redhat.com>
13482 * posix.cc (internal_gettimeofday): New function.
13483 (_Jv_select): Use it.
13485 2002-03-07 Adam Megacz <adam@xwt.org>
13487 * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
13488 WIN32, and added thunks for read(), write(), and close().
13489 * java/net/natPlainSocketImpl.cc (accept, read, read):
13490 Disabled timeouts on WIN32 pending discussion.
13492 2002-03-07 Adam Megacz <adam@xwt.org>
13494 * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
13495 returns jlong. Added implementation
13496 * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
13498 * win32.h (_Jv_platform_gettimeofday): Now takes no args,
13500 * posix.h (_Jv_platform_gettimeofday): Now takes no args,
13502 * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
13503 _Jv_platform_gettimeofday signature.
13505 2002-03-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13507 * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
13508 (read): Call recv() directly, not _Jv_recv().
13510 2002-03-06 Tom Tromey <tromey@redhat.com>
13512 * java/io/natFileDescriptorEcos.cc (init): Don't use
13514 * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
13516 (init): Don't use GetStdHandle.
13518 * include/config.h.in: Rebuilt.
13519 * configure: Rebuilt.
13520 * Makefile.in: Rebuilt.
13522 2002-03-06 Adam Megacz <adam@xwt.org>
13524 * java/io/FileDescriptor.java: Initialize in/out/err in init().
13525 * java/io/natFileDescriptorWin32.cc (init()): Added function.
13526 * java/io/natFileDescriptorPosix.cc (init()): Added function.
13527 * java/io/natFileDescriptorEcos.cc (init()): Added function.
13529 2002-03-06 Eric Blake <ebb9@email.byu.edu>
13531 * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
13532 the code for generating include/java-chartables.h.
13533 * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
13534 merge with Classpath.
13535 * scripts/unicode-muncher.pl: Copy from Classpath.
13536 * scritps/MakeCharTables.java: New file.
13537 * gnu/gcj/convert/Blocks-3.txt: New file.
13538 * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
13539 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
13540 * gnu/java/lang/CharData.java: Copy from Classpath.
13541 * Makefile.am (ordinary_java_source_files): Add
13542 gnu/java/lang/CharData.java.
13543 * configure.in: Remove --enable-fast-character option.
13544 * java/lang/Character.java: Merge algorithms and Javadoc with
13546 * java/lang/natCharacter.cc: Implement Unicode lookup table more
13548 * include/java-chardecomp.h: Regenerate.
13549 * include/java-chartables.h: Regenerate.
13551 2002-03-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13553 * java/awt/MediaTracker.java: Implemented.
13554 * Makefile.am: Add MediaTracker.
13555 * Makefile.in: Rebuilt.
13557 2002-03-05 Tom Tromey <tromey@redhat.com>
13559 * java/lang/natPosixProcess.cc (fail): Removed.
13560 (startProcess): Simplified error-handling. Preserve
13561 LD_LIBRARY_PATH across exec.
13563 * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
13564 AbstractMethodError.
13566 2002-03-03 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13568 * Makefile.am: Use -bootclasspath, not -CLASSPATH.
13569 * Makefile.in: Rebuilt.
13571 2002-03-03 Mark Wielaard <mark@klomp.org>
13573 * java/util/Timer (TaskQueue.stop): set elements to zero.
13575 2002-02-28 Anthony Green <green@redhat.com>
13577 * java/lang/reflect/natMethod.cc (result): Add void* element.
13578 (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments. Move
13581 2002-02-27 Adam Megacz <adam@xwt.org>
13583 * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
13586 2002-02-26 Tom Tromey <tromey@redhat.com>
13588 * java/lang/natSystem.cc (init_properties): Use __VERSION__.
13589 * gij.cc (version): Use __VERSION__.
13590 * include/config.h.in: Rebuilt.
13591 * acconfig.h (GCJVERSION): Removed.
13592 * configure: Rebuilt.
13593 * configure.in (GCJVERSION): Removed.
13595 2002-02-26 Andreas Schwab <schwab@suse.de>
13597 * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
13598 glibcpp_CXX, since libjava uses even another CXX.
13599 * aclocal.m4, configure: Regenerated.
13601 2002-02-26 Tom Tromey <tromey@redhat.com>
13603 * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
13606 2002-02-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13608 * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
13609 dependency tracking for .java files.
13610 * Makefile.in: Rebuilt.
13612 2002-02-24 Adam Megacz <adam@xwt.org>
13614 * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
13617 2002-02-24 Adam Megacz <adam@xwt.org>
13619 * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
13620 for Win32, changed #ifdefs to check WIN32 instead of the
13621 (now-obsolete) USE_WINSOCK, and removed support for socket
13622 timeouts on Win32 pending further discussion.
13624 2002-02-24 Adam Megacz <adam@xwt.org>
13626 * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
13627 * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
13630 2002-02-24 Adam Megacz <adam@xwt.org>
13632 * java/lang/Win32Process.java: Created a dummy class to allow
13633 build process to run to completion.
13635 2002-02-24 Jeff Sturm <jsturm@one-point.com>
13637 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
13638 Define ffi_result union for ffi_call result. Cast
13639 ffi_result members to jvalue.
13641 2002-02-23 Alexandre Oliva <aoliva@redhat.com>
13643 * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
13644 * testsuite/Makefile.in: Likewise.
13646 2002-02-20 Per Bothner <per@bothner.com>
13648 * java/net/URL.java (getPath): New JDK 1.3 method.
13650 * java/net/URLStreamHandler.java (parseURL):
13651 It is wrong to prepend '/' to the file part of a relative url.
13653 * java/net/URLStreamHandler.java (parseURL):
13654 Minor optizations - append '/' rather than "/".
13656 * java/net/URLStreamHandler.java (parseURL):
13657 Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
13658 We probably should canonicalize for a context-relative url, though.
13659 * java/net/URL.java (sameFile): Delegate to URLStreamHandler.
13660 * java/net/URLStreamHandler.java (canonicalizeFilename): New helper.
13661 (sameFile): New method. Uses canonicalizeFilename.
13663 2002-02-22 Tom Tromey <tromey@redhat.com>
13665 * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
13666 java.vendor and java.vm.vendor.
13667 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
13668 recent copyright date.
13669 * gnu/gcj/convert/Convert.java (version): Print `Inc'.
13670 * gij.cc (version): Print `Inc'.
13672 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
13674 * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
13675 * aclocal.m4, configure: Rebuilt.
13677 2002-02-20 Per Bothner <per@bothner.com>
13679 * gnu/gcj/protocol/file/Connection.java (conect): Open the input
13680 and/or output streams immediately here, instead of using File.exists.
13681 (inputStream, outputStream): New fields to save open streams.
13682 (getInputStream, getOutputStream): Use already-opened streams.
13684 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
13686 * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
13688 * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
13689 * aclocal.m4, configure, Makefile.in: Rebuilt.
13691 2002-02-19 Tom Tromey <tromey@redhat.com>
13693 Fix for PR libgcj/5696:
13694 * verify.cc (is_assignable_from_slow): Never call
13695 _Jv_IsAssignableFrom.
13696 (verify_instructions_0): Added new debug statement.
13697 (state::print): Print information about whether local has
13699 (state::merge): Don't call note_variable when merging locals.
13700 (state::set_exception): Removed old FIXME comment.
13702 2002-02-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13704 * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
13705 enable SO_BROADCAST.
13707 2002-02-18 Jason Merrill <jason@redhat.com>
13709 * name-finder.cc (toHex): Use word mode, not long long.
13711 * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
13713 2002-02-15 Tom Tromey <tromey@redhat.com>
13715 Fix for PR libgcj/5695:
13716 * verify.cc (is_assignable_from_slow): Check to see if target is
13717 an Object before checking to see if source is an interface.
13718 (verify_instructions_0) [op_invokeinterface]: Handle case where
13719 we're making an interface call on Object.
13721 2002-02-15 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13723 * Makefile.in: Rebuilt with Eric's change below.
13725 * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
13726 round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
13727 Removed functions which are now implemented in Math.java.
13729 2002-02-14 Eric Blake <ebb9@email.byu.edu>
13731 * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
13732 * Makefile.am (core_java_source_files): Add
13733 java/lang/StrictMath.java.
13734 * java/lang/Math.java: Merge with Classpath.
13735 * java/lang/StrictMath.java: New file - merge with Classpath.
13737 2002-02-14 Mark Wielaard <mark@klomp.org>
13739 * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
13740 package as a workaround for gcj 3.0.x
13742 2002-02-14 Mark Wielaard <mark@klomp.org>
13744 * java/security/BasicPermission.java: extends with fully qualified
13745 classname as workaround for gcj 3.0.4.
13747 2002-02-14 Eric Blake <ebb9@email.byu.edu>
13749 * java/net/DatagramSocketImpl.java (setOption, getOption): Work
13750 around gcj bug of wrong emitted qualifier for inherited method.
13751 * java/net/SocketImpl.java (setOption, getOption): Ditto.
13752 * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
13753 constructor to reduce amount of emitted bytecode. While this
13754 happens to work around a jikes 1.15 bug, it is still a useful
13755 patch even for correct compilers.
13756 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
13757 * gnu/java/rmi/server/UnicastRemoteCall.java
13758 (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
13760 2002-02-14 Eric Blake <ebb9@email.byu.edu>
13762 * java/net/DatagramSocketImpl.java: Reformat (no code changes).
13763 * java/net/SocketImpl.java: Ditto.
13764 * java/rmi/server/RMIClassLoader.java: Ditto.
13765 * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
13767 2002-02-14 Mark Wielaard <mark@klomp.org>
13769 Thanks to Takashi Okamoto
13770 * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
13771 * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
13772 * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
13774 2002-02-13 Todd Stock <toddastock@yahoo.com>
13776 Fix for PR libgcj/5670:
13777 * verify.cc (is_assignable_from_slow): If `source' is interface,
13778 recursively look for merge with `target'.
13780 2002-02-14 Martin Kahlert <martin.kahlert@infineon.com>
13782 * include/jni.h: Fix typo.
13784 2002-02-13 Martin Kahlert <martin.kahlert@infineon.com>
13786 * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
13789 2002-02-13 Todd Stock <toddastock@yahoo.com>
13791 Fix for PR libgcj/5671:
13792 * verify.cc (state::merge): Handle case where we're merging
13793 against an interface.
13795 2002-02-12 Tom Tromey <tromey@redhat.com>
13797 * exception.cc (std::abort): Mark as noreturn.
13799 2002-02-12 Adam Megacz <adam@xwt.org>
13801 * java/lang/Win32Process.java: Filled in a placeholder
13802 implementation so Win32 will build.
13804 2002-02-12 Adam Megacz <adam@xwt.org>
13806 * java/io/natFilePosix.cc: Copied this from natFile.cc.
13807 * java/io/natFile.cc: Removed from repository.
13808 * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
13810 2002-02-12 Adam Megacz <adam@xwt.org>
13812 * win32.cc: Added two #includes to make win32.cc compile.
13814 2002-02-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13816 * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
13818 (_Jv_InitGC): Don't bother locking, as this is always called from a
13819 single-thread. Turn off GC_all_interior_pointers. Remove dead code.
13821 2002-02-11 Adam Megacz <adam@xwt.org>
13823 * include/win32.h: Added _Jv_platform_gettimeofday.
13824 * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
13826 2002-02-11 Adam Megacz <adam@xwt.org>
13828 * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
13829 Added #undef STRICT to make windows.h and
13830 java/lang/reflect/Modifier.h cooperate.
13832 2002-02-11 Adam Megacz <adam@xwt.org>
13834 * java/io/natFileWin32.cc: Created a placeholder class with lots
13837 2002-02-11 Adam Megacz <adam@xwt.org>
13839 * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
13840 std::abort() to simply abort(). Also added "fake" std::abort() so
13841 we can #include unwind-pe.h without having to link against
13844 2002-02-10 Andreas Tobler <toa@pop.agri.ch>
13846 * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
13848 2002-02-08 Tom Tromey <tromey@redhat.com>
13850 * interpret.cc (convert): New function.
13851 (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
13855 2002-02-08 Anthony Green <green@redhat.com>
13857 * configure.host: Add support for xscale-elf embedded target.
13859 2002-02-08 Martin Kahlert <martin.kahlert@infineon.com>
13861 * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
13863 (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
13866 2002-02-07 Tom Tromey <tromey@redhat.com>
13868 * java/io/natFile.cc (_access): Use __builtin_alloca.
13871 (getCanonicalPath): Likewise.
13872 (performList): Likewise.
13873 (performMkdir): Likewise.
13874 (performSetReadOnly): Likewise.
13875 (performRenameTo): Likewise.
13876 (performSetLastModified): Likewise.
13877 (performCreate): Likewise.
13878 (performDelete): Likewise.
13880 2002-02-08 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13882 * HACKING: Fix URL for the automake-gcj.
13884 2002-02-07 Tom Tromey <tromey@redhat.com>
13886 * java/lang/natThrowable.cc: Updated copyright.
13887 * java/io/natFileWin32.cc: Updated copyright.
13888 * java/io/natFileDescriptorWin32.cc: Updated copyright.
13889 * win32-threads.cc: Updated copyright.
13890 * name-finder.cc: Updated copyright.
13891 * include/name-finder.h: Updated copyright.
13893 * include/name-finder.h: Conditionally include sys/wait.h.
13894 * include/config.h.in: Rebuilt.
13896 * java/io/natFile.cc (_access): Don't stack-allocate buffer.
13897 Size buffer based on real size of string.
13900 (getCanonicalPath): Likewise.
13901 (performList): Likewise.
13902 (performMkdir): Likewise.
13903 (performSetReadOnly): Likewise.
13904 (unixroot): Removed.
13905 (performRenameTo): Likewise.
13906 (performSetLastModified): Likewise.
13907 (performCreate): Likewise.
13908 (performDelete): Likewise.
13909 (performListRoots): Always return new array.
13911 * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
13912 * win32.cc (win32_exception_handler): Now static.
13913 * include/win32.h (_Jv_platform_initialize): Declare.
13914 (win32_exception_handler): Don't declare.
13915 * java/lang/natSystem.cc (currentTimeMillis): Use
13916 _Jv_platform_gettimeofday.
13917 * posix.cc (_Jv_platform_gettimeofday): Renamed.
13918 (_Jv_select): Use new name.
13919 (_Jv_platform_initialize): New function.
13920 * include/posix.h (_Jv_platform_gettimeofday): Renamed from
13922 (_Jv_platform_initialize): Declare.
13924 * configure: Rebuilt.
13925 * configure.in: Removed unnecessary parens.
13927 2002-02-06 Adam Megacz <adam@xwt.org>
13929 * configure.in: Changed mingw) to *mingw*).
13930 * win32.cc: Created this file.
13931 * win32.h: Created this file.
13932 * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
13933 win32_exception_handler from prims.cc to win32.cc, added
13935 * prims.cc: removed some #ifdef-WIN32'd headers which are no
13936 longer needed now that we have platform.h
13938 2002-02-06 Adam Megacz <adam@xwt.org>
13940 * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
13941 use uint<n>_t instead of LONG and BYTE
13943 2002-02-06 Adam Megacz <adam@xwt.org>
13945 * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
13947 2002-02-06 Anthony Green <green@redhat.com>
13949 * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
13950 Implement missing method stubs.
13951 java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
13953 * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
13954 concept of timezones.
13955 (init_properties): Don't refer to _Jv_Environment_Properties
13956 when this feature is not available.
13957 * include/config.h.in: Rebuilt.
13958 * acconfig.h: Add DISABLE_MAIN_ARGS.
13959 * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
13960 * configure: Rebuilt.
13961 * configure.in: Add --disable-main-args option. Test for
13962 opendir function. Replace AC_CHECK_SIZEOF with
13963 AC_COMPILE_CHECK_SIZEOF.
13964 * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
13965 * aclocal.m4: Rebuilt.
13966 * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
13968 2002-02-06 Tom Tromey <tromey@redhat.com>
13970 * verify.cc (require_array_type): If argument is a null array of
13971 references, return null as the element type.
13973 2002-02-06 Mark Wielaard <mark@klomp.org>
13975 * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
13976 duplicate of a wide type.
13978 2002-02-06 Tom Tromey <tromey@redhat.com>
13980 * verify.cc (type::isnull): New method.
13981 (require_array_type): Handle case where array is null.
13982 (verify_instructions_0) [op_arraylength]: Likewise.
13984 2002-02-05 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13986 * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
13987 Symlink PLATFORMH to platform.h.
13988 * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
13990 * java/lang/natSystem.cc: #include platform.h not posix.h.
13991 * Makefile.in: Rebuilt with libgcj automake.
13992 * configure: Rebuilt.
13994 2002-02-05 Richard Henderson <rth@redhat.com>
13996 * Makefile.in: Undo munging last change.
13998 2002-02-04 Adam Megacz <adam@xwt.org>
14000 * win32.cc: Created it.
14001 * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
14002 which is set to posix.cc or win32.cc.
14003 * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
14005 2002-02-04 Adam Megacz <adam@xwt.org>
14007 * configure.in: Corrected mingw case branches; added * before
14010 2002-02-04 Adam Megacz <adam@xwt.org>
14012 * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
14013 if compiling for win32
14015 2002-02-04 Adam Megacz <adam@xwt.org>
14017 * win32-threads.cc: #undef STRICT after gc.h inclusion
14019 2002-02-02 Tom Tromey <tromey@redhat.com>
14021 * Makefile.in: Rebuilt.
14023 2002-02-02 Jason Merrill <jason@redhat.com>
14025 * Makefile.am (clean-nat): New target.
14027 2002-02-02 Tom Tromey <tromey@redhat.com>
14029 * java/io/natFile.cc: Removed old "FIXME" comments.
14031 2002-02-01 Tom Tromey <tromey@redhat.com>
14033 * java/lang/natPosixProcess.cc (myclose): New function.
14035 (startProcess): Likewise.
14037 2002-02-01 Adam Megacz <adam@xwt.org>
14039 * prims.cc: Added #undef STRICT after #include<windows.h>.
14041 2002-02-01 Adam Megacz <adam@xwt.org>
14044 (_Jv_CreateJavaVM): We now use WIN32 instead of
14045 USE_WIN32_SIGNALLING and USE_WINSOCK.
14046 (win32_exception_handler): Now throws an exception out of
14047 the signal handler; assumes SJLJ.
14049 2002-02-01 Adam Megacz <adam@xwt.org>
14051 * win32-threads.cc:
14052 (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
14053 wait() algorithm to make it safe.
14054 (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
14055 Added lazy creation of Win32 Events for better performance
14056 (really_start): This now uses GC_CreateThread so boehm-gc
14057 knows about new threads even when statically linked.
14059 2002-02-01 Adam Megacz <adam@xwt.org>
14061 * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
14062 enable safer wait() algorithm.
14063 (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
14064 _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
14065 (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
14066 _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
14068 (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
14070 2002-02-01 Adam Megacz <adam@xwt.org>
14072 * configure.in: Added support for mingw.
14073 * java/lang/Win32Process.java: Created as empty file.
14074 * java/lang/natWin32Process.cc: Created as empty file.
14076 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
14079 * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
14080 for libiconv in LIBICONV variable.
14081 * configure: Regenerated.
14083 2002-01-31 Tom Tromey <tromey@redhat.com>
14085 * verify.cc (state::enter_subroutine): New method.
14086 (handle_jsr_insn): Use it.
14087 (state::merge): When processing a `ret', correctly use
14088 subroutine's state to determine which local variables have
14090 (push_exception_jump): Don't let stack overflow.
14092 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
14094 * gnu/gcj/convert/Convert.java: Only include one copyright year in
14097 2002-01-30 Tom Tromey <tromey@redhat.com>
14099 * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
14100 parameter for `recv' return type.
14102 * verify.cc (handle_ret_insn): Check for subroutine merge here...
14103 (state::merge): ... not here.
14104 (subr_entry_info): New structure.
14105 (entry_points): New field.
14106 (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs. Free
14109 2002-01-29 Tom Tromey <tromey@redhat.com>
14111 * java/awt/List.java (addNotify): Correctly check to see if peer
14114 * java/awt/GridLayout.java (layoutContainer): Use number of rows
14115 to compute height of each cell, and number of columns to compute
14116 width of each cell.
14117 * java/awt/Window.java (getOwnedWindows): Don't return null.
14118 * java/awt/FlowLayout.java (layoutContainer): Set width and height
14119 of component. Increment x using horizontal gap, not vertical
14122 2002-01-28 Tom Tromey <tromey@redhat.com>
14124 * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
14125 `nargs' byte is number of words, not number of arguments.
14127 2002-01-27 Tom Tromey <tromey@redhat.com>
14129 * java/awt/event/MouseEvent.java (modifiers): Removed field.
14131 * java/awt/event/InputEvent.java (modifiers, when): Now
14134 * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
14136 (state::merge): Use current class' class loader.
14137 (state::print): Print subroutine.
14138 (state::merge): Don't look at subroutine of unmerged `ret'.
14140 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
14142 * nogc.cc: Remove warnings.
14143 (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
14146 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14148 * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
14149 int, int): Remove empty "if" statement to work around compiler bug.
14150 (newPixels(int[], ColorModel, int, int): Likewise.
14152 2002-01-25 Per Bothner <per@bothner.com>
14154 * verify.cc (verify_fail): Change from being a top-level function
14155 to e method of _Jv_BytecodeVerifier. Emit current method name.
14156 Pass the current verifier to type: and state: methods as needed,
14157 for better error messages, and for resolve.
14158 (resolve): Pass current class's loader for Class.forName and
14159 _Jv_FindClassFromSignature, rather than using the default loader.
14160 (various type: and state: methods): Take _Jv_BytecodeVerifier* arg.
14161 (get_type_val_for_signature): Make non-static.
14162 (various methods): Pass start_PC implicitly, not explicitly.
14164 2002-01-25 Tom Tromey <tromey@redhat.com>
14166 * java/awt/FlowLayout.java (layoutContainer): Correctly compute
14167 loop termination condition.
14168 * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
14171 2002-01-24 Tom Tromey <tromey@redhat.com>
14173 * java/awt/Shape.java: Merged with Classpath.
14174 * java/awt/Scrollbar.java: Merged with Classpath.
14176 * java/awt/Container.java (addNotify): Unconditionally call
14177 addNotifyContainerChildren and superclass addNotify.
14179 * java/awt/image/ColorModel.java (getAlpha(Object)): Call
14180 getAlpha, not getBlue.
14182 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14184 * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
14186 * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
14187 (grabPixels(long)): Wait to be notified that the ImageProducer has
14190 2002-01-24 Per Bothner <per@bothner.com>
14192 * verify.cc (is_assignable_from_slow): If target is an interface,
14193 we must still check the source's superclass before giving up.
14195 2002-01-24 Tom Tromey <tromey@redhat.com>
14197 * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
14199 2002-01-23 Tom Tromey <tromey@redhat.com>
14201 * java/awt/BorderLayout.java (addLayoutComponent): Added missing
14204 * Makefile.in: Rebuilt.
14205 * Makefile.am (awt_java_source_files): Added new files.
14206 * java/awt/Toolkit.java: Merged with Classpath.
14207 * java/awt/PrintGraphics.java: New file from Classpath.
14208 * java/awt/PrintJob.java: New file from Classpath.
14209 * java/awt/datatransfer/Clipboard.java: New file from Classpath.
14210 * java/awt/datatransfer/ClipboardOwner.java: New file from
14212 * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
14213 * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
14214 * java/awt/datatransfer/MimeTypeParseException.java: New file from
14216 * java/awt/datatransfer/StringSelection.java: New file from
14218 * java/awt/datatransfer/SystemFlavorMap.java: New file from
14220 * java/awt/datatransfer/Transferable.java: New file from
14222 * java/awt/datatransfer/UnsupportedFlavorException.java: New file
14225 * Makefile.in: Rebuilt.
14226 * Makefile.am (awt_java_source_files): Added new files.
14227 * java/awt/image/AreaAveragingScaleFilter.java: New file from
14229 * java/awt/image/CropImageFilter.java: New file from Classpath.
14230 * java/awt/image/FilteredImageSource.java: New file from
14232 * java/awt/image/ImageFilter.java: New file from Classpath.
14233 * java/awt/image/MemoryImageSource.java: New file from Classpath.
14234 * java/awt/image/PixelGrabber.java: New file from Classpath.
14235 * java/awt/image/RGBImageFilter.java: New file from Classpath.
14236 * java/awt/image/ReplicateScaleFilter.java: New file from
14238 * java/awt/image/ImageProducer.java: Replaced with Classpath
14240 * java/awt/image/ImageObserver.java: Replaced with Classpath
14242 * java/awt/image/ImageConsumer.java: Replaced with Classpath
14244 * java/awt/GridBagConstraints.java (clone): Catch
14245 CloneNotSupportedException.
14247 2002-01-23 Per Bothner <per@bothner.com>
14249 * java/lang/reflect/natField.cc (setAddr): New function.
14250 Calls getAddr and then checks that the field isn't final.
14251 (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
14252 setDouble, set): Use setAddr instead of getAddr, to check for FINAL.
14253 (set): Call setAddr before check that new value has right type,
14254 to better match specified semantics.
14256 2002-01-22 Tom Tromey <tromey@redhat.com>
14258 * java/awt/TextField.java: Replaced with Classpath version.
14259 * java/awt/TextArea.java: Replaced with Classpath version.
14260 * java/awt/TextComponent.java: Replaced with Classpath version.
14262 * java/awt/GridBagConstraints.java: Updated copyright.
14264 2002-01-22 Mark Wielaard <mark@klomp.org>
14266 * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
14267 java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
14268 java/awt/Dialog.java java/awt/FileDialog.java
14269 java/awt/Font.java java/awt/FontMetrics.java
14270 java/awt/Image.java java/awt/ImageMediaEntry.java
14271 java/awt/Insets.java java/awt/List.java
14272 java/awt/MediaEntry.java java/awt/MediaTracker.java
14273 java/awt/Menu.java java/awt/MenuBar.java
14274 java/awt/MenuContainer.java java/awt/MenuShortcut.java
14275 java/awt/PaintContext.java java/awt/Panel.java
14276 java/awt/PopupMenu.java java/awt/SystemColor.java
14277 java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
14278 java/awt/peer/CheckboxMenuItemPeer.java
14279 java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
14280 java/awt/peer/ComponentPeer.java
14281 java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
14282 java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
14283 java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
14284 java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
14285 java/awt/peer/MenuBarPeer.java
14286 java/awt/peer/MenuComponentPeer.java
14287 java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
14288 java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
14289 java/awt/peer/ScrollPanePeer.java
14290 java/awt/peer/ScrollbarPeer.java
14291 java/awt/peer/TextAreaPeer.java
14292 java/awt/peer/TextComponentPeer.java
14293 java/awt/peer/TextFieldPeer.java
14294 java/awt/peer/WindowPeer.java: Add license clarification.
14296 2002-01-22 Mark Wielaard <mark@klomp.org>
14298 * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
14299 gnu/gcj/runtime/StringBuffer.java
14300 gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
14301 gnu/java/awt/ComponentDataBlitOp.java
14302 gnu/java/awt/GLightweightPeer.java
14303 gnu/java/beans/BeanInfoEmbryo.java
14304 gnu/java/beans/EmptyBeanInfo.java
14305 gnu/java/beans/ExplicitBeanInfo.java
14306 gnu/java/beans/IntrospectionIncubator.java
14307 gnu/java/beans/editors/ColorEditor.java
14308 gnu/java/beans/editors/FontEditor.java
14309 gnu/java/beans/editors/NativeBooleanEditor.java
14310 gnu/java/beans/editors/NativeByteEditor.java
14311 gnu/java/beans/editors/NativeDoubleEditor.java
14312 gnu/java/beans/editors/NativeFloatEditor.java
14313 gnu/java/beans/editors/NativeIntEditor.java
14314 gnu/java/beans/editors/NativeLongEditor.java
14315 gnu/java/beans/editors/NativeShortEditor.java
14316 gnu/java/beans/editors/StringEditor.java
14317 gnu/java/beans/info/ComponentBeanInfo.java
14318 gnu/java/io/ClassLoaderObjectInputStream.java
14319 gnu/java/io/NullOutputStream.java
14320 gnu/java/io/ObjectIdentityWrapper.java
14321 gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
14322 gnu/java/lang/reflect/TypeSignature.java
14323 gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
14324 gnu/java/locale/Calendar_en.java
14325 gnu/java/locale/Calendar_nl.java
14326 gnu/java/locale/LocaleInformation.java
14327 gnu/java/locale/LocaleInformation_de.java
14328 gnu/java/locale/LocaleInformation_en.java
14329 gnu/java/locale/LocaleInformation_nl.java
14330 gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
14331 gnu/java/rmi/registry/RegistryImpl.java
14332 gnu/java/rmi/rmic/Compile_gcj.java
14333 gnu/java/rmi/rmic/Compiler.java
14334 gnu/java/rmi/rmic/CompilerProcess.java
14335 gnu/java/rmi/rmic/RMIC.java
14336 gnu/java/rmi/rmic/TabbedWriter.java
14337 gnu/java/rmi/server/ProtocolConstants.java
14338 gnu/java/rmi/server/RMIDefaultSocketFactory.java
14339 gnu/java/rmi/server/RMIHashes.java
14340 gnu/java/rmi/server/RMIObjectInputStream.java
14341 gnu/java/rmi/server/RMIObjectOutputStream.java
14342 gnu/java/rmi/server/UnicastConnection.java
14343 gnu/java/rmi/server/UnicastConnectionManager.java
14344 gnu/java/rmi/server/UnicastRef.java
14345 gnu/java/rmi/server/UnicastRemoteCall.java
14346 gnu/java/rmi/server/UnicastRemoteStub.java
14347 gnu/java/rmi/server/UnicastServer.java
14348 gnu/java/rmi/server/UnicastServerRef.java
14349 gnu/java/security/provider/DefaultPolicy.java
14350 gnu/java/security/provider/Gnu.java
14351 gnu/java/security/provider/SHA.java
14352 gnu/java/security/provider/SHA1PRNG.java
14353 gnu/java/text/BaseBreakIterator.java
14354 gnu/java/text/CharacterBreakIterator.java
14355 gnu/java/text/LineBreakIterator.java
14356 gnu/java/text/SentenceBreakIterator.java
14357 gnu/java/text/WordBreakIterator.java
14358 gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
14359 java/applet/AppletContext.java java/applet/AppletStub.java
14360 java/applet/AudioClip.java java/awt/AWTError.java
14361 java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
14362 java/awt/AWTException.java java/awt/AWTPermission.java
14363 java/awt/ActiveEvent.java java/awt/BorderLayout.java
14364 java/awt/Button.java java/awt/Canvas.java
14365 java/awt/CardLayout.java java/awt/Checkbox.java
14366 java/awt/CheckboxGroup.java java/awt/Component.java
14367 java/awt/ComponentOrientation.java java/awt/Container.java
14368 java/awt/Dimension.java java/awt/Event.java
14369 java/awt/EventDispatchThread.java java/awt/EventQueue.java
14370 java/awt/FlowLayout.java java/awt/Frame.java
14371 java/awt/Graphics.java java/awt/Graphics2D.java
14372 java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
14373 java/awt/IllegalComponentStateException.java
14374 java/awt/ItemSelectable.java java/awt/Label.java
14375 java/awt/LayoutManager.java java/awt/LayoutManager2.java
14376 java/awt/MenuComponent.java java/awt/MenuItem.java
14377 java/awt/Paint.java java/awt/Point.java
14378 java/awt/Rectangle.java java/awt/RenderingHints.java
14379 java/awt/Transparency.java java/awt/Window.java
14380 java/awt/color/ColorSpace.java
14381 java/awt/color/ICC_ColorSpace.java
14382 java/awt/color/ICC_Profile.java
14383 java/awt/event/HierarchyBoundsAdapter.java
14384 java/awt/event/HierarchyBoundsListener.java
14385 java/awt/event/HierarchyEvent.java
14386 java/awt/event/HierarchyListener.java
14387 java/awt/geom/AffineTransform.java
14388 java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
14389 java/awt/geom/IllegalPathStateException.java
14390 java/awt/geom/Line2D.java
14391 java/awt/geom/NoninvertibleTransformException.java
14392 java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
14393 java/awt/geom/Rectangle2D.java
14394 java/awt/geom/RectangularShape.java
14395 java/awt/geom/RoundRectangle2D.java
14396 java/awt/image/BufferedImage.java
14397 java/awt/image/ColorModel.java
14398 java/awt/image/ComponentColorModel.java
14399 java/awt/image/ComponentSampleModel.java
14400 java/awt/image/DataBuffer.java
14401 java/awt/image/DataBufferByte.java
14402 java/awt/image/DataBufferInt.java
14403 java/awt/image/DataBufferUShort.java
14404 java/awt/image/DirectColorModel.java
14405 java/awt/image/PackedColorModel.java
14406 java/awt/image/Raster.java java/awt/image/RasterOp.java
14407 java/awt/image/SampleModel.java
14408 java/awt/image/SinglePixelPackedSampleModel.java
14409 java/awt/image/WritableRaster.java
14410 java/beans/AppletInitializer.java
14411 java/beans/BeanDescriptor.java java/beans/BeanInfo.java
14412 java/beans/Beans.java java/beans/Customizer.java
14413 java/beans/DesignMode.java java/beans/EventSetDescriptor.java
14414 java/beans/FeatureDescriptor.java
14415 java/beans/IndexedPropertyDescriptor.java
14416 java/beans/IntrospectionException.java
14417 java/beans/Introspector.java java/beans/MethodDescriptor.java
14418 java/beans/ParameterDescriptor.java
14419 java/beans/PropertyChangeEvent.java
14420 java/beans/PropertyChangeListener.java
14421 java/beans/PropertyChangeSupport.java
14422 java/beans/PropertyDescriptor.java
14423 java/beans/PropertyEditor.java
14424 java/beans/PropertyEditorManager.java
14425 java/beans/PropertyEditorSupport.java
14426 java/beans/PropertyVetoException.java
14427 java/beans/SimpleBeanInfo.java
14428 java/beans/VetoableChangeListener.java
14429 java/beans/VetoableChangeSupport.java
14430 java/beans/Visibility.java
14431 java/beans/beancontext/BeanContext.java
14432 java/beans/beancontext/BeanContextChild.java
14433 java/beans/beancontext/BeanContextChildComponentProxy.java
14434 java/beans/beancontext/BeanContextChildSupport.java
14435 java/beans/beancontext/BeanContextContainerProxy.java
14436 java/beans/beancontext/BeanContextEvent.java
14437 java/beans/beancontext/BeanContextMembershipEvent.java
14438 java/beans/beancontext/BeanContextMembershipListener.java
14439 java/beans/beancontext/BeanContextProxy.java
14440 java/beans/beancontext/BeanContextServiceAvailableEvent.java
14441 java/beans/beancontext/BeanContextServiceProvider.java
14442 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
14443 java/beans/beancontext/BeanContextServiceRevokedEvent.java
14444 java/beans/beancontext/BeanContextServiceRevokedListener.java
14445 java/beans/beancontext/BeanContextServices.java
14446 java/beans/beancontext/BeanContextServicesListener.java
14447 java/io/BufferedInputStream.java
14448 java/io/BufferedOutputStream.java java/io/BufferedReader.java
14449 java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
14450 java/io/ByteArrayOutputStream.java
14451 java/io/CharArrayReader.java java/io/CharArrayWriter.java
14452 java/io/CharConversionException.java java/io/DataInput.java
14453 java/io/DataInputStream.java java/io/DataOutput.java
14454 java/io/EOFException.java java/io/Externalizable.java
14455 java/io/FileFilter.java java/io/FileNotFoundException.java
14456 java/io/FilePermission.java java/io/FileReader.java
14457 java/io/FileWriter.java java/io/FilenameFilter.java
14458 java/io/FilterInputStream.java java/io/FilterOutputStream.java
14459 java/io/FilterReader.java java/io/FilterWriter.java
14460 java/io/IOException.java java/io/InputStream.java
14461 java/io/InterruptedIOException.java
14462 java/io/InvalidClassException.java
14463 java/io/InvalidObjectException.java
14464 java/io/NotActiveException.java
14465 java/io/NotSerializableException.java java/io/ObjectInput.java
14466 java/io/ObjectInputStream.java
14467 java/io/ObjectInputValidation.java java/io/ObjectOutput.java
14468 java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
14469 java/io/ObjectStreamConstants.java
14470 java/io/ObjectStreamException.java
14471 java/io/ObjectStreamField.java
14472 java/io/OptionalDataException.java java/io/OutputStream.java
14473 java/io/PipedInputStream.java java/io/PipedOutputStream.java
14474 java/io/PipedReader.java java/io/PipedWriter.java
14475 java/io/PrintWriter.java java/io/PushbackInputStream.java
14476 java/io/PushbackReader.java java/io/Reader.java
14477 java/io/SequenceInputStream.java java/io/Serializable.java
14478 java/io/SerializablePermission.java
14479 java/io/StreamCorruptedException.java
14480 java/io/StreamTokenizer.java
14481 java/io/StringBufferInputStream.java java/io/StringReader.java
14482 java/io/StringWriter.java java/io/SyncFailedException.java
14483 java/io/UTFDataFormatException.java
14484 java/io/UnsupportedEncodingException.java
14485 java/io/WriteAbortedException.java java/io/Writer.java
14486 java/lang/AbstractMethodError.java
14487 java/lang/ArithmeticException.java
14488 java/lang/ArrayIndexOutOfBoundsException.java
14489 java/lang/ArrayStoreException.java java/lang/Boolean.java
14490 java/lang/Byte.java java/lang/CharSequence.java
14491 java/lang/ClassCastException.java
14492 java/lang/ClassCircularityError.java
14493 java/lang/ClassFormatError.java
14494 java/lang/ClassNotFoundException.java
14495 java/lang/CloneNotSupportedException.java
14496 java/lang/Cloneable.java java/lang/Comparable.java
14497 java/lang/Compiler.java java/lang/Double.java
14498 java/lang/Error.java java/lang/Exception.java
14499 java/lang/ExceptionInInitializerError.java
14500 java/lang/Float.java java/lang/IllegalAccessError.java
14501 java/lang/IllegalAccessException.java
14502 java/lang/IllegalArgumentException.java
14503 java/lang/IllegalMonitorStateException.java
14504 java/lang/IllegalStateException.java
14505 java/lang/IllegalThreadStateException.java
14506 java/lang/IncompatibleClassChangeError.java
14507 java/lang/IndexOutOfBoundsException.java
14508 java/lang/InheritableThreadLocal.java
14509 java/lang/InstantiationError.java
14510 java/lang/InstantiationException.java java/lang/Integer.java
14511 java/lang/InternalError.java
14512 java/lang/InterruptedException.java
14513 java/lang/LinkageError.java java/lang/Long.java
14514 java/lang/NegativeArraySizeException.java
14515 java/lang/NoClassDefFoundError.java
14516 java/lang/NoSuchFieldError.java
14517 java/lang/NoSuchFieldException.java
14518 java/lang/NoSuchMethodError.java
14519 java/lang/NoSuchMethodException.java
14520 java/lang/NullPointerException.java java/lang/Number.java
14521 java/lang/NumberFormatException.java
14522 java/lang/OutOfMemoryError.java java/lang/Package.java
14523 java/lang/Process.java java/lang/Runnable.java
14524 java/lang/RuntimeException.java
14525 java/lang/RuntimePermission.java
14526 java/lang/SecurityException.java
14527 java/lang/SecurityManager.java java/lang/Short.java
14528 java/lang/StackOverflowError.java java/lang/StringBuffer.java
14529 java/lang/StringIndexOutOfBoundsException.java
14530 java/lang/ThreadDeath.java java/lang/ThreadGroup.java
14531 java/lang/ThreadLocal.java java/lang/UnknownError.java
14532 java/lang/UnsatisfiedLinkError.java
14533 java/lang/UnsupportedClassVersionError.java
14534 java/lang/UnsupportedOperationException.java
14535 java/lang/VerifyError.java java/lang/VirtualMachineError.java
14536 java/lang/Void.java java/lang/ref/PhantomReference.java
14537 java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
14538 java/lang/ref/SoftReference.java
14539 java/lang/ref/WeakReference.java
14540 java/lang/reflect/AccessibleObject.java
14541 java/lang/reflect/InvocationTargetException.java
14542 java/lang/reflect/Member.java java/lang/reflect/Modifier.java
14543 java/lang/reflect/ReflectPermission.java
14544 java/math/BigDecimal.java java/math/BigInteger.java
14545 java/net/Authenticator.java java/net/BindException.java
14546 java/net/ConnectException.java java/net/ContentHandler.java
14547 java/net/ContentHandlerFactory.java
14548 java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
14549 java/net/FileNameMap.java java/net/MalformedURLException.java
14550 java/net/MulticastSocket.java java/net/NetPermission.java
14551 java/net/NoRouteToHostException.java
14552 java/net/PasswordAuthentication.java
14553 java/net/ProtocolException.java java/net/ServerSocket.java
14554 java/net/Socket.java java/net/SocketException.java
14555 java/net/SocketImpl.java java/net/SocketImplFactory.java
14556 java/net/SocketOptions.java java/net/SocketPermission.java
14557 java/net/URLDecoder.java java/net/URLEncoder.java
14558 java/net/URLStreamHandlerFactory.java
14559 java/net/UnknownHostException.java
14560 java/net/UnknownServiceException.java
14561 java/rmi/AccessException.java
14562 java/rmi/AlreadyBoundException.java
14563 java/rmi/ConnectException.java
14564 java/rmi/ConnectIOException.java
14565 java/rmi/MarshalException.java java/rmi/MarshalledObject.java
14566 java/rmi/Naming.java java/rmi/NoSuchObjectException.java
14567 java/rmi/NotBoundException.java
14568 java/rmi/RMISecurityException.java
14569 java/rmi/RMISecurityManager.java java/rmi/Remote.java
14570 java/rmi/RemoteException.java java/rmi/ServerError.java
14571 java/rmi/ServerException.java
14572 java/rmi/ServerRuntimeException.java
14573 java/rmi/StubNotFoundException.java
14574 java/rmi/UnexpectedException.java
14575 java/rmi/UnknownHostException.java
14576 java/rmi/UnmarshalException.java
14577 java/rmi/activation/Activatable.java
14578 java/rmi/activation/ActivateFailedException.java
14579 java/rmi/activation/ActivationDesc.java
14580 java/rmi/activation/ActivationException.java
14581 java/rmi/activation/ActivationGroup.java
14582 java/rmi/activation/ActivationGroupDesc.java
14583 java/rmi/activation/ActivationGroupID.java
14584 java/rmi/activation/ActivationID.java
14585 java/rmi/activation/ActivationInstantiator.java
14586 java/rmi/activation/ActivationMonitor.java
14587 java/rmi/activation/ActivationSystem.java
14588 java/rmi/activation/Activator.java
14589 java/rmi/activation/UnknownGroupException.java
14590 java/rmi/activation/UnknownObjectException.java
14591 java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
14592 java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
14593 java/rmi/registry/Registry.java
14594 java/rmi/registry/RegistryHandler.java
14595 java/rmi/server/ExportException.java
14596 java/rmi/server/LoaderHandler.java
14597 java/rmi/server/LogStream.java java/rmi/server/ObjID.java
14598 java/rmi/server/Operation.java
14599 java/rmi/server/RMIClassLoader.java
14600 java/rmi/server/RMIClientSocketFactory.java
14601 java/rmi/server/RMIFailureHandler.java
14602 java/rmi/server/RMIServerSocketFactory.java
14603 java/rmi/server/RMISocketFactory.java
14604 java/rmi/server/RemoteCall.java
14605 java/rmi/server/RemoteObject.java
14606 java/rmi/server/RemoteRef.java
14607 java/rmi/server/RemoteServer.java
14608 java/rmi/server/RemoteStub.java
14609 java/rmi/server/ServerCloneException.java
14610 java/rmi/server/ServerNotActiveException.java
14611 java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
14612 java/rmi/server/SkeletonMismatchException.java
14613 java/rmi/server/SkeletonNotFoundException.java
14614 java/rmi/server/SocketSecurityException.java
14615 java/rmi/server/UID.java
14616 java/rmi/server/UnicastRemoteObject.java
14617 java/rmi/server/Unreferenced.java
14618 java/security/AccessControlContext.java
14619 java/security/AccessControlException.java
14620 java/security/AccessController.java
14621 java/security/AlgorithmParameterGenerator.java
14622 java/security/AlgorithmParameterGeneratorSpi.java
14623 java/security/AlgorithmParameters.java
14624 java/security/AlgorithmParametersSpi.java
14625 java/security/AllPermission.java
14626 java/security/BasicPermission.java
14627 java/security/Certificate.java java/security/CodeSource.java
14628 java/security/DigestException.java
14629 java/security/DigestInputStream.java
14630 java/security/DigestOutputStream.java
14631 java/security/DomainCombiner.java
14632 java/security/DummyKeyPairGenerator.java
14633 java/security/DummyMessageDigest.java
14634 java/security/DummySignature.java
14635 java/security/GeneralSecurityException.java
14636 java/security/Guard.java java/security/GuardedObject.java
14637 java/security/Identity.java java/security/IdentityScope.java
14638 java/security/InvalidAlgorithmParameterException.java
14639 java/security/InvalidKeyException.java
14640 java/security/InvalidParameterException.java
14641 java/security/Key.java java/security/KeyException.java
14642 java/security/KeyFactory.java java/security/KeyFactorySpi.java
14643 java/security/KeyManagementException.java
14644 java/security/KeyPair.java java/security/KeyPairGenerator.java
14645 java/security/KeyPairGeneratorSpi.java
14646 java/security/KeyStore.java
14647 java/security/KeyStoreException.java
14648 java/security/KeyStoreSpi.java
14649 java/security/MessageDigest.java
14650 java/security/MessageDigestSpi.java
14651 java/security/NoSuchAlgorithmException.java
14652 java/security/NoSuchProviderException.java
14653 java/security/Permission.java
14654 java/security/PermissionCollection.java
14655 java/security/Permissions.java java/security/Policy.java
14656 java/security/Principal.java java/security/PrivateKey.java
14657 java/security/PrivilegedAction.java
14658 java/security/PrivilegedActionException.java
14659 java/security/PrivilegedExceptionAction.java
14660 java/security/ProtectionDomain.java
14661 java/security/Provider.java
14662 java/security/ProviderException.java
14663 java/security/PublicKey.java
14664 java/security/SecureClassLoader.java
14665 java/security/SecureRandom.java
14666 java/security/SecureRandomSpi.java java/security/Security.java
14667 java/security/SecurityPermission.java
14668 java/security/Signature.java
14669 java/security/SignatureException.java
14670 java/security/SignatureSpi.java
14671 java/security/SignedObject.java java/security/Signer.java
14672 java/security/UnrecoverableKeyException.java
14673 java/security/UnresolvedPermission.java
14674 java/security/acl/Acl.java java/security/acl/AclEntry.java
14675 java/security/acl/AclNotFoundException.java
14676 java/security/acl/Group.java
14677 java/security/acl/LastOwnerException.java
14678 java/security/acl/NotOwnerException.java
14679 java/security/acl/Owner.java java/security/acl/Permission.java
14680 java/security/cert/CRL.java
14681 java/security/cert/CRLException.java
14682 java/security/cert/Certificate.java
14683 java/security/cert/CertificateEncodingException.java
14684 java/security/cert/CertificateException.java
14685 java/security/cert/CertificateExpiredException.java
14686 java/security/cert/CertificateFactory.java
14687 java/security/cert/CertificateFactorySpi.java
14688 java/security/cert/CertificateNotYetValidException.java
14689 java/security/cert/CertificateParsingException.java
14690 java/security/cert/X509CRL.java
14691 java/security/cert/X509CRLEntry.java
14692 java/security/cert/X509Certificate.java
14693 java/security/cert/X509Extension.java
14694 java/security/interfaces/DSAKey.java
14695 java/security/interfaces/DSAKeyPairGenerator.java
14696 java/security/interfaces/DSAParams.java
14697 java/security/interfaces/DSAPrivateKey.java
14698 java/security/interfaces/DSAPublicKey.java
14699 java/security/interfaces/RSAKey.java
14700 java/security/interfaces/RSAPrivateCrtKey.java
14701 java/security/interfaces/RSAPrivateKey.java
14702 java/security/interfaces/RSAPublicKey.java
14703 java/security/spec/AlgorithmParameterSpec.java
14704 java/security/spec/DSAParameterSpec.java
14705 java/security/spec/DSAPrivateKeySpec.java
14706 java/security/spec/DSAPublicKeySpec.java
14707 java/security/spec/EncodedKeySpec.java
14708 java/security/spec/InvalidKeySpecException.java
14709 java/security/spec/InvalidParameterSpecException.java
14710 java/security/spec/KeySpec.java
14711 java/security/spec/PKCS8EncodedKeySpec.java
14712 java/security/spec/RSAKeyGenParameterSpec.java
14713 java/security/spec/RSAPrivateCrtKeySpec.java
14714 java/security/spec/RSAPrivateKeySpec.java
14715 java/security/spec/RSAPublicKeySpec.java
14716 java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
14717 java/sql/BatchUpdateException.java java/sql/Blob.java
14718 java/sql/CallableStatement.java java/sql/Clob.java
14719 java/sql/Connection.java java/sql/DataTruncation.java
14720 java/sql/DatabaseMetaData.java java/sql/Date.java
14721 java/sql/Driver.java java/sql/DriverManager.java
14722 java/sql/DriverPropertyInfo.java
14723 java/sql/PreparedStatement.java java/sql/Ref.java
14724 java/sql/ResultSet.java java/sql/ResultSetMetaData.java
14725 java/sql/SQLData.java java/sql/SQLException.java
14726 java/sql/SQLInput.java java/sql/SQLOutput.java
14727 java/sql/SQLWarning.java java/sql/Statement.java
14728 java/sql/Struct.java java/sql/Time.java
14729 java/sql/Timestamp.java java/sql/Types.java
14730 java/text/Annotation.java
14731 java/text/AttributedCharacterIterator.java
14732 java/text/AttributedString.java
14733 java/text/AttributedStringIterator.java
14734 java/text/BreakIterator.java java/text/CharacterIterator.java
14735 java/text/ChoiceFormat.java java/text/Collator.java
14736 java/text/DateFormat.java java/text/DateFormatSymbols.java
14737 java/text/DecimalFormat.java
14738 java/text/DecimalFormatSymbols.java
14739 java/text/FieldPosition.java java/text/Format.java
14740 java/text/MessageFormat.java java/text/NumberFormat.java
14741 java/text/ParseException.java java/text/ParsePosition.java
14742 java/text/SimpleDateFormat.java
14743 java/text/StringCharacterIterator.java
14744 java/util/AbstractCollection.java java/util/AbstractList.java
14745 java/util/AbstractMap.java
14746 java/util/AbstractSequentialList.java
14747 java/util/AbstractSet.java java/util/ArrayList.java
14748 java/util/Arrays.java java/util/BasicMapEntry.java
14749 java/util/BitSet.java java/util/Calendar.java
14750 java/util/Collection.java java/util/Collections.java
14751 java/util/Comparator.java
14752 java/util/ConcurrentModificationException.java
14753 java/util/Date.java java/util/Dictionary.java
14754 java/util/EmptyStackException.java java/util/Enumeration.java
14755 java/util/EventListener.java java/util/EventObject.java
14756 java/util/GregorianCalendar.java java/util/HashMap.java
14757 java/util/HashSet.java java/util/Hashtable.java
14758 java/util/IdentityHashMap.java java/util/Iterator.java
14759 java/util/LinkedHashMap.java java/util/LinkedHashSet.java
14760 java/util/LinkedList.java java/util/List.java
14761 java/util/ListIterator.java java/util/ListResourceBundle.java
14762 java/util/Locale.java java/util/Map.java
14763 java/util/MissingResourceException.java
14764 java/util/NoSuchElementException.java
14765 java/util/Observable.java java/util/Observer.java
14766 java/util/Properties.java java/util/PropertyPermission.java
14767 java/util/PropertyResourceBundle.java java/util/Random.java
14768 java/util/RandomAccess.java java/util/ResourceBundle.java
14769 java/util/Set.java java/util/SimpleTimeZone.java
14770 java/util/SortedMap.java java/util/SortedSet.java
14771 java/util/Stack.java java/util/StringTokenizer.java
14772 java/util/TimeZone.java java/util/Timer.java
14773 java/util/TimerTask.java
14774 java/util/TooManyListenersException.java
14775 java/util/TreeMap.java java/util/TreeSet.java
14776 java/util/Vector.java java/util/WeakHashMap.java
14777 java/util/jar/Attributes.java java/util/jar/JarEntry.java
14778 java/util/jar/JarException.java java/util/jar/JarFile.java
14779 java/util/jar/JarInputStream.java
14780 java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
14781 java/util/zip/Adler32.java java/util/zip/CRC32.java
14782 java/util/zip/CheckedInputStream.java
14783 java/util/zip/CheckedOutputStream.java
14784 java/util/zip/Checksum.java
14785 java/util/zip/DataFormatException.java
14786 java/util/zip/Deflater.java
14787 java/util/zip/DeflaterOutputStream.java
14788 java/util/zip/GZIPInputStream.java
14789 java/util/zip/GZIPOutputStream.java
14790 java/util/zip/Inflater.java
14791 java/util/zip/InflaterInputStream.java
14792 java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
14793 java/util/zip/ZipException.java java/util/zip/ZipFile.java
14794 java/util/zip/ZipInputStream.java
14795 java/util/zip/ZipOutputStream.java
14796 javax/naming/BinaryRefAddr.java
14797 javax/naming/InvalidNameException.java javax/naming/Name.java
14798 javax/naming/NamingException.java javax/naming/RefAddr.java
14799 javax/naming/StringRefAddr.java: Add license clarification.
14801 2002-01-22 Tom Tromey <tromey@redhat.com>
14803 * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
14804 * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
14805 * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
14807 * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
14808 * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
14809 * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
14810 * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
14811 * java/awt/peer/DialogPeer.java: Replace with Classpath version.
14812 * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
14813 * java/awt/peer/FontPeer.java: Replace with Classpath version.
14814 * java/awt/peer/FramePeer.java: Replace with Classpath version.
14815 * java/awt/peer/LabelPeer.java: Replace with Classpath version.
14816 * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
14817 * java/awt/peer/ListPeer.java: Replace with Classpath version.
14818 * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
14819 * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
14820 * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
14821 * java/awt/peer/MenuPeer.java: Replace with Classpath version.
14822 * java/awt/peer/PanelPeer.java: Replace with Classpath version.
14823 * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
14824 * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
14825 * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
14826 * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
14827 * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
14828 * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
14829 * java/awt/peer/WindowPeer.java: Replace with Classpath version.
14830 * gnu/awt/xlib/XPanelPeer.java (insets): New method.
14831 * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
14832 (minimumSize, preferredSize, reshape): Likewise.
14833 * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
14834 getColorModel): New methods.
14835 * java/awt/PopupMenu.java: Merged with Classpath.
14836 * java/awt/MenuBar.java: Merged with Classpath.
14837 * java/awt/SystemColor.java: Replace with Classpath version.
14838 * java/awt/Panel.java: Merged with Classpath.
14839 * java/awt/PaintContext.java: Updated copyright.
14840 * java/awt/MenuShortcut.java: Merged with Classpath.
14841 * java/awt/MenuContainer.java: Merged with Classpath.
14842 * java/awt/Menu.java: Merged with Classpath.
14843 * java/awt/MediaEntry.java: New file from Classpath.
14844 * java/awt/MediaTracker.java: New file from Classpath.
14845 * java/awt/List.java: Merged with Classpath version.
14846 * java/awt/Insets.java: Merged with Classpath version.
14847 * java/awt/ImageMediaEntry.java: New file from Classpath.
14848 * java/awt/Image.java: Replaced with Classpath version.
14849 * java/awt/FontMetrics.java: Merged with Classpath version.
14850 * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
14852 * java/awt/Font.java: Merged with Classpath version.
14853 * java/awt/Dialog.java: Merged with Classpath version.
14854 * java/awt/Color.java: Merged with Classpath version.
14855 * java/awt/Choice.java: Merged with Classpath version.
14856 * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
14857 * java/awt/Adjustable.java: Replace with Classpath version.
14858 * java/awt/MenuItem.java (paramString): Don't include class name
14859 or brackets. Call superclass paramString.
14860 * java/awt/MenuComponent.java (toString): Call paramString.
14861 (paramString): Compute string; don't call toString.
14862 * java/awt/Label.java (paramString): Don't include class name
14863 or brackets. Call superclass paramString.
14864 * java/awt/Checkbox.java (paramString): Don't include class name
14865 or brackets. Call superclass paramString.
14866 * java/awt/Button.java (paramString): Don't include class name or
14867 brackets. Call superclass paramString.
14868 * java/awt/MenuComponent.java (getTreeLock): Now protected.
14870 2002-01-20 Andreas Schwab <schwab@suse.de>
14872 * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
14873 function and of parameter recv_func to ssize_t, as specified by
14876 2002-01-19 Per Bothner <per@bothner.com>
14878 * java/util/zip/ZipOutputStream.java (putNextEntry): Clear
14879 uncompressed_size in readiness for next entry.
14881 2002-01-18 Tom Tromey <tromey@redhat.com>
14883 * java/net/natPlainSocketImpl.cc: Include
14884 IllegalArgumentException.h.
14885 (_Jv_recv): New template function.
14886 (BooleanClass): Removed.
14887 (read): Use _Jv_recv.
14888 (setOption): Use Boolean::class$. Throw exception if object is
14889 not Boolean or Integer.
14891 2002-01-17 Tom Tromey <tromey@redhat.com>
14893 * java/awt/MenuComponent.java: Merged with Classpath.
14894 * java/awt/MenuItem.java: Merged with Classpath.
14895 * java/awt/Button.java: Merged with Classpath.
14897 * java/awt/ActiveEvent.java: Updated copyright.
14899 * java/awt/AWTError.java: Replaced with Classpath version.
14900 * java/awt/AWTException.java: Replaced with Classpath version.
14901 * java/awt/IllegalComponentStateException.java: Replaced with
14904 2002-01-16 Tom Tromey <tromey@redhat.com>
14906 * java/awt/Canvas.java (serialVersionUID): New constant.
14907 Updated copyright. Added javadoc from Classpath.
14908 * java/awt/ItemSelectable.java: Replaced with Classpath version.
14910 * java/awt/CheckboxGroup.java: Merged with Classpath.
14911 * java/awt/Checkbox.java: Merged with Classpath.
14913 * java/awt/Dimension.java: Updated copyright. Added javadoc from
14915 * java/awt/Point.java: Updated copyright.
14917 * java/awt/Point.java (toString): Use getClass().getName().
14920 * java/util/IdentityHashMap.java (IdentityHashMap): Removed
14922 (hash): Correctly compute initial value for `h'.
14924 * java/awt/Label.java: Merged with Classpath.
14926 2002-01-15 Tom Tromey <tromey@redhat.com>
14928 * java/awt/AWTPermission.java: Updated copyright.
14930 * java/awt/LayoutManager2.java: Merged with Classpath.
14931 * java/awt/LayoutManager.java: Merged with Classpath.
14932 * java/awt/GridLayout.java: Updated copyright and javadoc.
14933 (getSize): Use `parent.ncomponents'. Handle insets.
14934 (layoutContainer): Use `parent.ncomponents'. Handle case where
14935 there are fewer children than columns. Correctly compute size of
14936 each cell in the grid. Handle case where there isn't enough
14938 * java/awt/CardLayout.java (tab): Renamed from `map'. Updated
14940 (gotoComponent): Use parent.ncomponents. Ensure child exists
14941 before calling setVisible() on it. Last item is `num - 1', not
14943 (layoutContainer): Hoist invariants out of loop.
14945 Start of AWT merge with Classpath:
14946 * Makefile.in: Rebuilt.
14947 * Makefile.am (awt_java_source_files): Reference files in
14948 gnu/java/awt, not gnu/gcj/awt.
14949 * java/awt/image/BufferedImage.java: Updated copyright.
14950 * java/awt/image/ComponentColorModel.java: Updated copyright.
14951 * java/awt/image/ComponentSampleModel.java: Updated copyright.
14952 * java/awt/image/DataBuffer.java: Updated copyright.
14953 * java/awt/image/DataBufferByte.java: Updated copyright.
14954 * java/awt/image/DataBufferInt.java: Updated copyright.
14955 * java/awt/image/DataBufferUShort.java: Updated copyright.
14956 * java/awt/image/IndexColorModel.java: Updated copyright.
14957 * java/awt/image/PackedColorModel.java: Updated copyright.
14958 * java/awt/image/Raster.java: Updated copyright.
14959 * java/awt/image/RasterOp.java: Updated copyright.
14960 * java/awt/image/SampleModel.java: Updated copyright.
14961 * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
14962 * java/awt/image/WritableRaster.java: Updated copyright.
14963 * java/awt/color/ColorSpace.java: Updated copyright.
14964 * java/awt/color/ICC_ColorSpace.java: Updated copyright
14965 * java/awt/color/ICC_Profile.java: Updated copyright.
14966 * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
14967 * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
14968 * java/awt/event/HierarchyEvent.java: Updated copyright.
14969 * java/awt/event/HierarchyListener.java: Updated copyright.
14970 * java/awt/geom/AffineTransform.java: Updated copyright.
14971 * java/awt/geom/Dimension2D.java: Updated copyright.
14972 * java/awt/geom/Ellipse2D.java: Updated copyright.
14973 * java/awt/geom/IllegalPathStateException.java: Updated copyright.
14974 * java/awt/geom/Line2D.java: Updated copyright.
14975 * java/awt/geom/NoninvertibleTransformException.java: Updated
14977 * java/awt/geom/PathIterator.java: Updated copyright.
14978 * java/awt/geom/Point2D.java: Updated copyright.
14979 * java/awt/geom/Rectangle2D.java: Updated copyright.
14980 * java/awt/geom/RectangularShape.java: Updated copyright.
14981 * java/awt/geom/RoundRectangle2D.java: Updated copyright.
14982 * java/awt/Toolkit.java: Updated import for file moves.
14983 * java/awt/Rectangle.java: Updated copyright; added javadoc from
14985 (hashCode): New method from Classpath.
14986 * java/awt/Graphics2D.java: Updated copyright.
14987 * java/awt/Transparency.java: Updated copyright.
14988 * java/awt/Paint.java: Updated copyright.
14989 * java/awt/Graphics.java: New version from Classpath.
14990 * java/awt/EventDispatchThread.java: Updated copyright.
14991 * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
14993 (gotoComponent): Wrap around on next/previous.
14994 * gnu/gcj/awt/BitMaskExtent.java: Removed.
14995 * gnu/gcj/awt/Buffers.java: Removed.
14996 * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
14997 * gnu/gcj/awt/GLightweightPeer.java: Removed.
14998 * gnu/java/awt/BitMaskExtent.java: Added.
14999 * gnu/java/awt/Buffers.java: Added.
15000 * gnu/java/awt/ComponentDataBlitOp.java: Added.
15001 * gnu/java/awt/GLightweightPeer.java: Added.
15002 * java/awt/geom/Line2D.java (clone): Ignore
15003 CloneNotSupportedException.
15004 * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
15005 * java/awt/Frame.java: Merged with Classpath.
15006 * java/awt/RenderingHints.java: Copyright update.
15007 * java/awt/Paint.java: Copyright update.
15008 * java/awt/image/DirectColorModel.java: Merged with Classpath.
15009 * java/awt/image/ColorModel.java: Merged with Classpath.
15010 * java/awt/Window.java (show): New Implementation from Classpath.
15011 (isShowing): Use super.isShowing().
15012 * java/awt/EventQueue.java: Merged with Classpath.
15013 * java/awt/AWTEventMulticaster.java (save): Throw
15015 (saveInternal): Likewise.
15016 * java/awt/AWTEvent.java: Now implements Serializable.
15017 * java/awt/Event.java: Copyright update.
15018 * java/awt/peer/ComponentPeer.java: Merged with Classpath.
15019 * java/awt/image/BufferedImage.java: Copyright update.
15020 * java/awt/GraphicsConfiguration.java: Copyright update.
15021 * java/awt/Component.java: (addNotify): Don't call
15022 addNotifyContainerChildren().
15023 (addNotifyContainerChildren): Removed.
15024 (setPeer): New method from Classpath.
15025 (setTreeLock): Likewise.
15026 (setVisible): Rewrote.
15029 (validate): Set `valid'.
15030 (checkImage(Image,ImageObserver)): Implementation from Classpath.
15031 (createImage(ImageProducer)): Likewise.
15032 (prepareImage): Likewise.
15033 * java/awt/Container.java (addImpl): Handle case where constraint
15034 is not a String. Post event via system event queue.
15035 (remove): Post event via system event queue.
15036 (validateTree): Only validate child if it is invalid.
15037 (getAlignmentX): Call super method as default.
15038 (getAlignmentY): Likewise.
15039 (addContainerListener): Now synchronized.
15040 (removeContainerListener): Likewise.
15041 (addNotifyContainerChildren): Now private.
15042 * java/awt/ComponentOrientation.java: Updated copyright. Added
15044 * java/awt/FlowLayout.java (serialVersionUID): New field.
15045 (setAlignment): Better exception message.
15046 (layoutContainer): Don't compute component's preferred size unless
15047 we're going to use it.
15048 * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
15049 BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
15050 (firstLine, lastLine, firstItem, lastItem): New fields.
15051 (addLayoutComponent): Handle case where constraints is null.
15052 Also, handle relative locations.
15053 (removeLayoutComponent): Handle relative locations.
15054 (MIN, MAX, PREF): New constants.
15055 (calcCompSize): New method.
15056 (calcSize): New method.
15057 (minimumLayoutSize): Use it.
15058 (preferredLayoutSize): Likewise.
15059 (maximumLayoutSize): Likewise.
15060 (toString): Include more information.
15061 (setBounds): New method.
15062 (layoutContainer): Use libgcj implementation; extended to handle
15063 relative locations.
15065 2002-01-15 Tom Tromey <tromey@redhat.com>
15067 * java/lang/Float.java (equals): Preserve old code.
15068 * java/lang/Double.java (equals): Preserve old code.
15070 2002-01-15 Eric Blake <ebb9@email.byu.edu>
15072 * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
15073 * java/lang/Float.java (equals, compare): Ditto.
15075 2002-01-13 Mark Wielaard <mark@klomp.org>
15077 * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
15078 * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
15079 * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
15080 * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
15082 2002-01-11 Mark Wielaard <mark@klomp.org>
15084 * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
15085 * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
15087 * java/net/MulticastSocket.java (MulticastSocket): Likewise.
15088 * java/net/Socket.java: Merge with Classpath.
15089 * java/net/ServerSocket.java: Likewise.
15091 2002-01-11 Chris Sears <cbsears_sf@yahoo.com>
15093 * interpret.cc (NULLARRAYCHECK): New macro.
15094 (SAVE_PC): Just store `pc'.
15095 (find_exception): Subtract one from `pc' here.
15096 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
15097 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
15098 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
15099 insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
15100 don't call SAVE_PC.
15101 (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
15104 2002-01-11 Tom Tromey <tromey@redhat.com>
15106 * java/lang/natSystem.cc (init_properties): Only look for default
15107 locale if LC_MESSAGES is defined.
15108 * aclocal.m4, configure, include/config.h.in: Rebuilt.
15109 * configure.in: Call AM_LC_MESSAGES.
15110 * acinclude.m4 (AM_LC_MESSAGES): New macro.
15112 2002-01-10 Tom Tromey <tromey@redhat.com>
15114 For PR libgcj/5303:
15115 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
15116 --version. Recognize GNU-style long options. Print GNU-style
15118 (usage): Print GNU-style help. Exit with status 0.
15119 (error): New method.
15120 (run): Print error message if no class names found.
15121 (main): Don't print usage on error.
15123 2002-01-09 Tom Tromey <tromey@redhat.com>
15125 * gnu/gcj/convert/Convert.java (version): Use java.vm.name
15127 (help, version): Use println(), not println("").
15129 For PR libgcj/5303:
15130 * gnu/gcj/convert/Convert.java (error): Program is called
15131 `jv-convert'. Print GNU-style message. Exit with status 1, not
15133 (main): Handle --help and --version.
15134 (help): New method.
15135 (version): Likewise.
15137 2002-01-08 Tom Tromey <tromey@redhat.com>
15139 * Makefile.in: Rebuilt.
15140 * Makefile.am (ordinary_java_source_files): Added new files.
15141 * gnu/java/locale/LocaleInformation.java: Extend
15142 LocaleInformation_en.
15143 * gnu/java/locale/LocaleInformation_en.java: Added zone strings
15144 and time/date formats.
15145 * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
15147 * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
15148 * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
15149 * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
15150 * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
15151 * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
15152 * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
15153 * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
15154 * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
15155 * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
15156 * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
15157 * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
15158 * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
15159 * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
15160 * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
15161 * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
15162 * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
15163 * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
15164 * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
15165 * gnu/java/locale/LocaleInformation_be_BY.java: New file.
15166 * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
15167 * gnu/java/locale/LocaleInformation_br_FR.java: New file.
15168 * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
15169 * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
15170 * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
15171 * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
15172 * gnu/java/locale/LocaleInformation_da_DK.java: New file.
15173 * gnu/java/locale/LocaleInformation_de_AT.java: New file.
15174 * gnu/java/locale/LocaleInformation_de_BE.java: New file.
15175 * gnu/java/locale/LocaleInformation_de_CH.java: New file.
15176 * gnu/java/locale/LocaleInformation_de_DE.java: New file.
15177 * gnu/java/locale/LocaleInformation_de_LU.java: New file.
15178 * gnu/java/locale/LocaleInformation_el_GR.java: New file.
15179 * gnu/java/locale/LocaleInformation_en_AU.java: New file.
15180 * gnu/java/locale/LocaleInformation_en_BW.java: New file.
15181 * gnu/java/locale/LocaleInformation_en_CA.java: New file.
15182 * gnu/java/locale/LocaleInformation_en_DK.java: New file.
15183 * gnu/java/locale/LocaleInformation_en_GB.java: New file.
15184 * gnu/java/locale/LocaleInformation_en_HK.java: New file.
15185 * gnu/java/locale/LocaleInformation_en_IE.java: New file.
15186 * gnu/java/locale/LocaleInformation_en_IN.java: New file.
15187 * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
15188 * gnu/java/locale/LocaleInformation_en_PH.java: New file.
15189 * gnu/java/locale/LocaleInformation_en_SG.java: New file.
15190 * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
15191 * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
15192 * gnu/java/locale/LocaleInformation_es_AR.java: New file.
15193 * gnu/java/locale/LocaleInformation_es_BO.java: New file.
15194 * gnu/java/locale/LocaleInformation_es_CL.java: New file.
15195 * gnu/java/locale/LocaleInformation_es_CO.java: New file.
15196 * gnu/java/locale/LocaleInformation_es_CR.java: New file.
15197 * gnu/java/locale/LocaleInformation_es_DO.java: New file.
15198 * gnu/java/locale/LocaleInformation_es_EC.java: New file.
15199 * gnu/java/locale/LocaleInformation_es_ES.java: New file.
15200 * gnu/java/locale/LocaleInformation_es_GT.java: New file.
15201 * gnu/java/locale/LocaleInformation_es_HN.java: New file.
15202 * gnu/java/locale/LocaleInformation_es_MX.java: New file.
15203 * gnu/java/locale/LocaleInformation_es_NI.java: New file.
15204 * gnu/java/locale/LocaleInformation_es_PA.java: New file.
15205 * gnu/java/locale/LocaleInformation_es_PE.java: New file.
15206 * gnu/java/locale/LocaleInformation_es_PR.java: New file.
15207 * gnu/java/locale/LocaleInformation_es_PY.java: New file.
15208 * gnu/java/locale/LocaleInformation_es_SV.java: New file.
15209 * gnu/java/locale/LocaleInformation_es_US.java: New file.
15210 * gnu/java/locale/LocaleInformation_es_UY.java: New file.
15211 * gnu/java/locale/LocaleInformation_es_VE.java: New file.
15212 * gnu/java/locale/LocaleInformation_et_EE.java: New file.
15213 * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
15214 * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
15215 * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
15216 * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
15217 * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
15218 * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
15219 * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
15220 * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
15221 * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
15222 * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
15223 * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
15224 * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
15225 * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
15226 * gnu/java/locale/LocaleInformation_he_IL.java: New file.
15227 * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
15228 * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
15229 * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
15230 * gnu/java/locale/LocaleInformation_id_ID.java: New file.
15231 * gnu/java/locale/LocaleInformation_it_CH.java: New file.
15232 * gnu/java/locale/LocaleInformation_it_IT.java: New file.
15233 * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
15234 * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
15235 * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
15236 * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
15237 * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
15238 * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
15239 * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
15240 * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
15241 * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
15242 * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
15243 * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
15244 * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
15245 * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
15246 * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
15247 * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
15248 * gnu/java/locale/LocaleInformation_no_NO.java: New file.
15249 * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
15250 * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
15251 * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
15252 * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
15253 * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
15254 * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
15255 * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
15256 * gnu/java/locale/LocaleInformation_se_NO.java: New file.
15257 * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
15258 * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
15259 * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
15260 * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
15261 * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
15262 * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
15263 * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
15264 * gnu/java/locale/LocaleInformation_te_IN.java: New file.
15265 * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
15266 * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
15267 * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
15268 * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
15269 * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
15270 * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
15271 * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
15272 * gnu/java/locale/LocaleInformation_yi_US.java: New file.
15273 * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
15274 * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
15275 * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
15276 * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
15278 For PR libgcj/5031:
15279 * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
15280 choose default locale.
15282 * Makefile.in: Rebuilt.
15283 * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
15285 2002-01-08 Nic Ferrier <nferrier@tf1.tapsellferrier.co.uk>
15287 * java/net/natPlainSocketImpl.cc: Added timeout handling for
15289 (close): New function closes the socket.
15290 (write): New functions for output to socket.
15291 (read): New functions for reading from socket.
15292 * java/net/PlainSocketImpl.java: Glue for new timeout
15294 (write): Call the native impl.
15296 (getInputStream): Get a stream to read from the socket.
15297 (getOutputStream): Get a stream to write to the socket.
15299 2002-01-08 Tom Tromey <tromey@redhat.com>
15301 * resolve.cc (_Jv_PrepareClass): Enable verifier.
15303 2002-01-07 Andreas Tobler <a.tobler@schweiz.ch>
15305 * java/lang/reflect/natMethod.cc: Don't include alloca.h.
15306 (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
15308 2002-01-08 Chris Sears <cbsears_sf@yahoo.com>
15310 * interpret.cc (ARRAYBOUNDSCHECK): New macro.
15311 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
15312 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
15313 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
15314 insn_bastore, insn_castore, insn_sastore]: Use it.
15315 (continue1) [insn_arraylength]: Check for null array.
15317 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
15319 * configure, include/config.h.in: Rebuilt.
15320 * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
15321 * configure.in: Call AC_STRUCT_TIMEZONE.
15323 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
15325 * configure.host: Disable the interpreter for Darwin.
15327 2002-01-04 Tom Tromey <tromey@redhat.com>
15329 * java/lang/Thread.java (stop): No longer synchronized.
15332 2002-01-02 Tom Tromey <tromey@redhat.com>
15334 * java/lang/ieeefp.h: Fix bug in my hand-application of previous
15337 2002-1-1 Andrew Pinski <pinskia@physics.uc.edu>
15339 * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
15340 PPC Darwin, not for all of Darwin.