1 2003-10-21 Sascha Brawer <brawer@dandelis.ch>
3 Fix for bug #2944, reported by David Holmes <dholmes@dltech.com.au>
4 * java/util/logging/ErrorManager.java (everUsed): Made volatile.
5 (error): Synchronize on instance, not class.
7 2003-10-21 Mark Wielaard <mark@klomp.org>
9 Reported by M.Negovanovic
10 * java/beans/Introspector.java (getBeanInfo(ClassLoader, String)): New
12 (reallyFindExplicitBeanInfo): Use new getBeanInfo() method.
14 2003-10-21 Sascha Brawer <brawer@dandelis.ch>
16 Fix for Classpath bug #6076.
17 * java/awt/geom/GeneralPath.java (append): Re-written.
19 2003-10-21 Sascha Brawer <brawer@dandelis.ch>
21 Fix for Classpath bug #6089.
22 * java/awt/geom/GeneralPath.java (curveTo): Set correct segment type.
23 (getPathIterator, GeneralPathIterator): Re-written from scratch.
25 2003-10-21 Sascha Brawer <brawer@dandelis.ch>
27 * java/awt/geom/GeneralPath.java (getCurrentPoint): Return last
28 point, not start of subpath. Fixes Classpath bug #6075.
30 2003-10-21 Michael Koch <konqueror@gmx.de>
32 * java/nio/ByteOrder.java,
33 java/nio/DirectByteBufferImpl.java,
34 java/nio/channels/FileChannelImpl.java:
35 Add code to load library with code for native methods if needed.
37 2003-10-21 Michael Koch <konqueror@gmx.de>
39 * gnu/java/net/PlainDatagramSocketImpl.java,
40 gnu/java/net/PlainSocketImpl.java,
41 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
42 gnu/java/net/natPlainDatagramSocketImplWin32.cc,
43 gnu/java/net/natPlainSocketImplPosix.cc,
44 gnu/java/net/natPlainSocketImplWin32.cc:
45 Renamed fnum to native_fd to match classpath more.
47 2003-10-21 Jerry Quinn <jlquinn@optonline.net>
49 * posix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename
50 _Jv_PthreadCheckMonitor to _Jv_MutexCheckMonitor.
51 * include/no-threads.h (_Jv_MutexCheckMonitor): New.
52 * include/posix-threads.h (_Jv_MutexCheckMonitor): Rename from
53 _Jv_PthreadCheckMonitor. Simplify code.
54 (_Jv_MutexUnlock): Use _Jv_MutexCheckMonitor.
55 * include/win32-threads.h (_Jv_MutexCheckMonitor): New.
56 * java/lang/Object.h (_Jv_ObjectCheckMonitor): Declare.
57 * java/lang/Thread.java (holdsLock): New.
58 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): New, with and
59 without JV_HASH_SYNCHRONIZATION.
60 * java/lang/natThread.cc (java::lang::Thread::holdsLock): New.
62 2003-10-20 Michael Koch <konqueror@gmx.de>
64 * java/text/RuleBasedCollator.java
65 (RuleBasedCollator): Check rules not empty, fixed search in already
66 existing collation elements.
67 (is_special): Removed common whitespace characters.
68 (text_argument): Dont return on whitespaces, add characters between
69 two ' to string buffer.
71 2003-10-18 Michael Koch <konqueror@gmx.de>
73 * gnu/java/net/protocol/file/Connection.java,
74 gnu/java/net/protocol/file/Handler.java,
75 gnu/java/net/protocol/http/Connection.java,
76 gnu/java/net/protocol/http/Handler.java,
77 gnu/java/net/protocol/jar/Connection.java,
78 gnu/java/net/protocol/jar/Handler.java:
79 Merged copyright text from classpath to make
80 it possible to merge the classes.
82 2003-10-18 Mark Wielaard <mark@klomp.org>
84 Reported by M.Negovanovic
85 * java/beans/IndexedPropertyDescriptor.java
86 (IndexedPropertyDescriptor): this.setIndex = setIndex, not getIndex.
88 2003-10-17 Mohan Embar <gnustuff@thisiscool.com>
90 * win32.cc (_Jv_pipe): Implemented.
91 * gnu/java/nio/natPipeImpl.cc (nativeInit): Use
92 _Jv_pipe instead of ::pipe.
93 * include/posix.h (_Jv_pipe): New inline.
94 * include/win32.h (_Jv_pipe): New declaration.
96 2003-10-17 Ralph Loader <rcl@ihug.co.nz>
98 * java/lang/StringBuffer.java (getChars): Fix array index checks.
99 (append, substring, insert): Likewise.
100 * testsuite/libjava.lang/StringBuffer_overflow.java: New file.
101 * testsuite/libjava.lang/StringBuffer_overflow.out: New file.
103 2003-10-17 Ralph Loader <rcl@ihug.co.nz>
105 * java/lang/natString.cc (getChars):
106 Fix validation of array indexes.
107 (getBytes, regionMatches, startsWith, valueOf): Likewise.
108 * testsuite/libjava.lang/String_overflow.java: New file.
109 * testsuite/libjava.lang/String_overflow.out: New file.
111 2003-10-17 Ralph Loader <rcl@ihug.co.nz>
113 * prims.cc (_Jv_NewObjectArray): Make sure byte size doesn't
115 (_Jv_NewPrimArray): Check for overflowing a jint, replacing a
116 check for overflowing size_t, since the lower level functions
118 * testsuite/libjava.lang/newarray_overflow.java: New file.
119 * testsuite/libjava.lang/newarray_overflow.out: New file.
121 2003-10-15 Michael Koch <konqueror@gmx.de>
123 * java/text/RuleBasedCollator.java
124 (RuleBasedCollator): Moved around, documentation added.
125 (compare): Documentation added.
127 (getCollationElementIterator): Likewise.
128 (getCollationKey): Likewise.
129 (getRules): Likewise.
130 (hashCode): Likewise.
132 2003-10-15 Michael Koch <konqueror@gmx.de>
134 * java/text/RuleBasedCollator.java
135 (CollationElement): Renamed from RBCElement and moved into
136 RuledBasedCollator as inner class.
138 2003-10-15 Michael Koch <konqueror@gmx.de>
140 * java/text/CollationElementIterator.java
141 (CollationElementIterator): Moved, documenatation added, call setText.
144 (setText): New method.
145 (getOffset): New method.
146 * java/text/CollationKey.java
147 (getSourceString): Reformated.
148 (hashCode): Reformated.
149 (toByteArray): Reformated.
151 2003-10-15 Michael Koch <konqueror@gmx.de>
153 * java/util/zip/InflaterInputStream.java
154 (InflaterInputStream): Renamed infl to inf and bufsize to size,
155 added description to exception, check for inf == null and size < 0.
157 2003-10-15 Michael Koch <konqueror@gmx.de>
159 * java/text/AttributedCharacterIterator.java,
160 java/text/CharacterIterator.java: Reformated.
162 2003-10-15 Michael Koch <konqueror@gmx.de>
164 * javax/swing/UIDefaults.java (putDefaults):
165 Readded accidently removed "public" modifier.
167 2003-10-14 Paolo Bonzini <bonzini@gnu.org>
169 * interpret.cc (_Jv_InterpMethod::run): Don't
170 use libffi types, they were meant to be internal.
171 * gcj/javaprims.h (_Jv_ulong): New typedef.
173 2003-10-13 Tom Tromey <tromey@redhat.com>
175 * java/lang/natClassLoader.cc (_Jv_InitNewClassFields): Removed.
176 (defineClass): Updated.
177 (_Jv_NewClass): Likewise.
178 * prims.cc (_Jv_InitPrimClass): Don't call
179 _Jv_InitNewClassFields.
181 2003-10-13 Taras Glek <taras.judge@shaw.ca>
184 * gnu/java/net/protocol/http/Connection.java (connect): Use \r\n,
187 2003-10-13 Michael Koch <konqueror@gmx.de>
189 * java/io/File.java: Reformated.
190 (equals): Check for obj == null.
192 2003-10-13 Michael Koch <konqueror@gmx.de>
194 * java/net/JarURLConnection.java
195 (jarFileURL): Added dcoumentation.
196 (jarFileURLConnection): Reformated documentation.
197 (entryName): Renamed from "element", documentation rewritten.
198 (connectionCache): Renamed from "conn_cache", documentation
200 (JarURLConnection): Check URL protocol.
201 (getEntryName): Use entryName.
202 (connect): Use connectionCache.
203 (getInputStream): Use entryName, fixed comment.
204 (getJarEntry): Use entryName.
205 (getHeaders): Use entryName.
206 * java/net/URLConnection.java
207 (addRequestProperty): Fixed documentation.
208 (setDefaultRequestProptery): Added comment that it does nothing since
210 (getDefaultRequestProperty): Likewise.
212 2003-10-13 Michael Koch <konqueror@gmx.de>
214 * java/net/java/net/URLStreamHandlerFactory.java
215 (createURLStreamHandler): Removed redundant "public" modifier.
216 * java/sql/DatabaseMetaData.java:
217 (DatabaseMetaData): Readded accidently removed "public" modifier.
218 * java/sql/ParameterMetaData.java:
219 (ParameterMetaData): Readded accidently removed "public" modifier.
220 * java/sql/PreparedStatement.java:
221 (PreparedStatement): Readded accidently removed "public" modifier.
223 (Ref): Readded accidently removed "public" modifier.
225 2003-10-13 Michael Koch <konqueror@gmx.de>
227 * java/nio/Buffer.java
228 (hasRemaining): Made implementation more clear.
229 * java/nio/MappedByteBuffer.java
230 (loaded): New member variable.
231 (force): Added comment.
232 (isLoaded): Return value of loaded.
233 (load): Set loaded to true, added comment.
235 2003-10-12 Michael Koch <konqueror@gmx.de>
237 * gnu/java/nio/PipeImpl.java
238 (SourceChannelImpl): New inner class.
239 (SinkChannelImpl): New inner class.
240 (sink): New member variable.
241 (source): New member variable.
242 (PipeImpl): Add SelectorProvider argument, implemented.
243 (nativeInit): New method.
244 (sink): Return sink channel.
245 (source): Return source channel.
246 * gnu/java/nio/SelectorProviderImpl.java
247 (openPipe): Give provider as argument to PipeImpl constructor.
248 * java/nio/channels/spi/SelectorProvider.java
250 (systemDefaultProvider): New member variable.
251 (provider): Made it synchronized, use property
252 java.nio.channels.spi.SelectorProvider.
253 * gnu/java/nio/natPipeImpl.cc: New file.
254 * Makefile.am (nat_source_files): Added gnu/java/nio/natPipeImpl.cc.
255 * Makefile.in: Regenerated.
257 2003-10-12 Michael Koch <konqueror@gmx.de>
259 * javax/swing/table/DefaultTableModel.java,
260 javax/swing/table/TableCellEditor.java,
261 javax/swing/table/TableCellRenderer.java,
262 javax/swing/table/TableColumnModel.java,
263 javax/swing/table/TableModel.java,
264 javax/swing/text/AbstractDocument.java,
265 javax/swing/text/Document.java,
266 javax/swing/text/MutableAttributeSet.java,
267 javax/swing/text/StyledDocument.java,
268 javax/swing/text/ViewFactory.java,
269 javax/swing/tree/DefaultMutableTreeNode.java,
270 javax/swing/tree/MutableTreeNode.java,
271 javax/swing/tree/RowMapper.java,
272 javax/swing/tree/TreeCellEditor.java,
273 javax/swing/tree/TreeCellRenderer.java,
274 javax/swing/tree/TreeModel.java,
275 javax/swing/tree/TreeNode.java,
276 javax/swing/tree/TreeSelectionModel.java,
277 javax/swing/undo/StateEditable.java,
278 javax/swing/undo/UndoableEdit.java:
279 Removed redundant modifiers.
281 2003-10-12 Michael Koch <konqueror@gmx.de>
283 * javax/swing/event/AncestorListener.java,
284 javax/swing/event/CaretListener.java,
285 javax/swing/event/CellEditorListener.java,
286 javax/swing/event/ChangeListener.java,
287 javax/swing/event/DocumentEvent.java,
288 javax/swing/event/DocumentListener.java,
289 javax/swing/event/HyperlinkListener.java,
290 javax/swing/event/InternalFrameListener.java,
291 javax/swing/event/ListDataListener.java,
292 javax/swing/event/ListSelectionListener.java,
293 javax/swing/event/MenuDragMouseListener.java,
294 javax/swing/event/MenuKeyListener.java,
295 javax/swing/event/MenuListener.java,
296 javax/swing/event/MouseInputListener.java,
297 javax/swing/event/PopupMenuListener.java,
298 javax/swing/event/TableColumnModelListener.java,
299 javax/swing/event/TableModelListener.java,
300 javax/swing/event/TreeExpansionListener.java,
301 javax/swing/event/TreeModelListener.java,
302 javax/swing/event/TreeSelectionListener.java,
303 javax/swing/event/TreeWillExpandListener.java,
304 javax/swing/event/UndoableEditListener.java,
305 javax/swing/plaf/UIResource.java,
306 javax/swing/plaf/metal/MetalLookAndFeel.java:
307 Removed redundant modifiers.
309 2003-10-12 Michael Koch <konqueror@gmx.de>
311 * javax/swing/Action.java,
312 javax/swing/BoundedRangeModel.java,
313 javax/swing/CellEditor.java,
314 javax/swing/ComboBoxEditor.java,
315 javax/swing/ComboBoxModel.java,
316 javax/swing/DesktopManager.java,
317 javax/swing/JComboBox.java,
318 javax/swing/ListCellRenderer.java,
319 javax/swing/ListSelectionModel.java,
320 javax/swing/MenuElement.java,
321 javax/swing/MutableComboBoxModel.java,
322 javax/swing/Renderer.java,
323 javax/swing/RootPaneContainer.java,
324 javax/swing/ScrollPaneConstants.java,
325 javax/swing/SingleSelectionModel.java,
326 javax/swing/SpinnerModel.java,
327 javax/swing/SwingConstants.java,
328 javax/swing/UIDefaults.java,
329 javax/swing/WindowConstants.java,
330 javax/swing/border/Border.java,
331 javax/swing/colorchooser/ColorSelectionModel.java:
332 Removed redundant modifiers.
334 2003-10-11 Michael Koch <konqueror@gmx.de>
336 * javax/transaction/Status.java,
337 javax/transaction/Synchronization.java,
338 javax/transaction/Transaction.java,
339 javax/transaction/TransactionManager.java,
340 javax/transaction/UserTransaction.java,
341 javax/transaction/xa/XAResource.java,
342 javax/transaction/xa/Xid.java:
343 Removing redundant modifiers.
345 2003-10-11 Michael Koch <konqueror@gmx.de>
347 * javax/print/attribute/Attribute.java,
348 javax/print/attribute/AttributeSet.java,
349 javax/print/attribute/PrintRequestAttributeSet.java:
350 Removing redundant modifiers.
352 2003-10-11 Michael Koch <konqueror@gmx.de>
354 * javax/sql/ConnectionEventListener.java,
355 javax/sql/ConnectionPoolDataSource.java,
356 javax/sql/DataSource.java,
357 javax/sql/PooledConnection.java,
358 javax/sql/RowSet.java,
359 javax/sql/RowSetInternal.java,
360 javax/sql/RowSetListener.java,
361 javax/sql/RowSetMetaData.java,
362 javax/sql/RowSetReader.java,
363 javax/sql/RowSetWriter.java,
364 javax/sql/XAConnection.java,
365 javax/sql/XADataSource.java:
366 Removing redundant modifiers.
368 2003-10-11 Michael Koch <konqueror@gmx.de>
370 * javax/naming/Context.java,
371 javax/naming/Name.java,
372 javax/naming/NameParser.java,
373 javax/naming/NamingEnumeration.java,
374 javax/naming/Referenceable.java,
375 javax/naming/directory/Attribute.java,
376 javax/naming/directory/Attributes.java,
377 javax/naming/directory/DirContext.java,
378 javax/naming/event/EventContext.java,
379 javax/naming/event/EventDirContext.java,
380 javax/naming/event/NamespaceChangeListener.java,
381 javax/naming/event/NamingListener.java,
382 javax/naming/event/ObjectChangeListener.java,
383 javax/naming/ldap/Control.java,
384 javax/naming/ldap/ExtendedRequest.java,
385 javax/naming/ldap/ExtendedResponse.java,
386 javax/naming/ldap/HasControls.java,
387 javax/naming/ldap/LdapContext.java,
388 javax/naming/ldap/UnsolicitedNotification.java,
389 javax/naming/ldap/UnsolicitedNotificationListener.java,
390 javax/naming/spi/DirObjectFactory.java,
391 javax/naming/spi/DirStateFactory.java,
392 javax/naming/spi/InitialContextFactory.java,
393 javax/naming/spi/InitialContextFactoryBuilder.java,
394 javax/naming/spi/ObjectFactory.java,
395 javax/naming/spi/ObjectFactoryBuilder.java,
396 javax/naming/spi/Resolver.java,
397 javax/naming/spi/StateFactory.java:
398 Removing redundant modifiers.
400 2003-10-11 Michael Koch <konqueror@gmx.de>
402 * java/security/Key.java,
403 * java/security/PrivateKey.java,
404 * java/security/PublicKey.java,
405 * java/security/acl/Acl.java,
406 * java/security/acl/AclEntry.java,
407 * java/security/acl/Group.java,
408 * java/security/acl/Owner.java,
409 * java/security/acl/Permission.java,
410 * java/security/cert/X509Extension.java,
411 * java/security/interfaces/DSAKey.java,
412 * java/security/interfaces/DSAKeyPairGenerator.java,
413 * java/security/interfaces/DSAParams.java,
414 * java/security/interfaces/DSAPrivateKey.java,
415 * java/security/interfaces/DSAPublicKey.java,
416 * java/security/interfaces/RSAKey.java,
417 * java/security/interfaces/RSAPrivateCrtKey.java,
418 * java/security/interfaces/RSAPrivateKey.java,
419 * java/security/interfaces/RSAPublicKey.java:
420 Removed redundant modifiers.
422 2003-10-11 Michael Koch <konqueror@gmx.de>
424 * gnu/java/rmi/server/ProtocolConstants.java,
425 gnu/java/security/der/DER.java:
426 Removing redundant modifiers.
428 2003-10-11 Michael Koch <konqueror@gmx.de>
430 * java/util/Map.java,
431 java/util/Observer.java,
432 java/util/zip/Checksum.java,
433 java/util/zip/ZipConstants.java:
434 Removed redundant modifiers.
436 2003-10-11 Michael Koch <konqueror@gmx.de>
438 * java/text/AttributedCharacterIterator.java,
439 java/text/CharacterIterator.java:
440 Removed redundant modifiers.
442 2003-10-11 Michael Koch <konqueror@gmx.de>
444 * java/sql/Array.java,
446 java/sql/CallableStatement.java,
448 java/sql/Connection.java,
449 java/sql/DatabaseMetaData.java,
450 java/sql/Driver.java,
451 java/sql/ParameterMetaData.java,
452 java/sql/PreparedStatement.java,
454 java/sql/ResultSet.java,
455 java/sql/ResultSetMetaData.java,
456 java/sql/SQLData.java,
457 java/sql/SQLInput.java,
458 java/sql/SQLOutput.java,
459 java/sql/Savepoint.java,
460 java/sql/Statement.java,
461 java/sql/Struct.java:
462 Removed redundant modifiers.
464 2003-10-11 Michael Koch <konqueror@gmx.de>
466 * java/nio/channels/Channel.java,
467 java/nio/channels/GatheringByteChannel.java,
468 java/nio/channels/ReadableByteChannel.java,
469 java/nio/channels/ScatteringByteChannel.java,
470 java/nio/channels/WritableByteChannel.java:
471 Removed redundant modifiers.
473 2003-10-11 Michael Koch <konqueror@gmx.de>
475 * java/rmi/activation/ActivationInstantiator.java,
476 java/rmi/activation/ActivationMonitor.java,
477 java/rmi/activation/ActivationSystem.java,
478 java/rmi/activation/Activator.java,
479 java/rmi/dgc/DGC.java,
480 java/rmi/registry/Registry.java,
481 java/rmi/registry/RegistryHandler.java,
482 java/rmi/server/LoaderHandler.java,
483 java/rmi/server/RMIClientSocketFactory.java,
484 java/rmi/server/RMIFailureHandler.java,
485 java/rmi/server/RMIServerSocketFactory.java,
486 java/rmi/server/RemoteCall.java,
487 java/rmi/server/RemoteRef.java,
488 java/rmi/server/ServerRef.java,
489 java/rmi/server/Skeleton.java,
490 java/rmi/server/Unreferenced.java:
491 Removed redundant modifiers.
493 2003-10-11 Michael Koch <konqueror@gmx.de>
495 * java/net/ContentHandlerFactory.java,
496 java/net/DatagramSocketImplFactory.java,
497 java/net/FileNameMap.java,
498 java/net/SocketImplFactory.java,
499 java/net/SocketOptions.java,
500 java/net/URLStreamHandlerFactory.java:
501 Removed redundant modifiers.
503 2003-10-11 Michael Koch <konqueror@gmx.de>
505 * java/io/Externalizable.java,
506 java/io/FileFilter.java,
507 java/io/FilePermission.java,
508 java/io/ObjectInput.java,
509 java/io/ObjectInputValidation.java,
510 java/io/ObjectOutput.java,
511 java/io/ObjectStreamClass.java,
512 java/io/ObjectStreamConstants.java,
513 java/io/Serializable.java:
514 Removed redundant modifiers.
516 2003-10-11 Ingo Proetel <proetel@aicas.com>
518 * java/rmi/server/RMIClassLoader.java: Identify cached classloaders by
519 codebase and context classloader.
521 2003-10-11 Michael Koch <konqueror@gmx.de>
523 * java/beans/beancontext/BeanContext.java,
524 java/beans/beancontext/BeanContextChild.java,
525 java/beans/beancontext/BeanContextChildComponentProxy.java,
526 java/beans/beancontext/BeanContextChildSupport.java,
527 java/beans/beancontext/BeanContextContainerProxy.java,
528 java/beans/beancontext/BeanContextMembershipListener.java,
529 java/beans/beancontext/BeanContextProxy.java,
530 java/beans/beancontext/BeanContextServiceProvider.java,
531 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java,
532 java/beans/beancontext/BeanContextServiceRevokedListener.java,
533 java/beans/beancontext/BeanContextServices.java,
534 java/beans/beancontext/BeanContextServicesListener.java:
535 Removed redundant modifiers.
537 2003-10-11 Michael Koch <konqueror@gmx.de>
539 * java/beans/AppletInitializer.java,
540 java/beans/BeanInfo.java,
541 java/beans/Customizer.java,
542 java/beans/DesignMode.java,
543 java/beans/PropertyEditor.java,
544 java/beans/Visibility.java:
545 Removed redundant modifiers.
547 2003-10-11 Michael Koch <konqueror@gmx.de>
549 * java/awt/print/Pageable.java,
550 * java/awt/print/Printable.java,
551 java/awt/print/PrinterGraphics.java:
552 Removed redundant modifiers.
554 2003-10-11 Michael Koch <konqueror@gmx.de>
556 * java/awt/peer/ButtonPeer.java,
557 java/awt/peer/CheckboxMenuItemPeer.java,
558 java/awt/peer/CheckboxPeer.java,
559 java/awt/peer/ChoicePeer.java,
560 java/awt/peer/ComponentPeer.java,
561 java/awt/peer/ContainerPeer.java,
562 java/awt/peer/DialogPeer.java,
563 java/awt/peer/FileDialogPeer.java,
564 java/awt/peer/FramePeer.java,
565 java/awt/peer/LabelPeer.java,
566 java/awt/peer/ListPeer.java,
567 java/awt/peer/MenuBarPeer.java,
568 java/awt/peer/MenuComponentPeer.java,
569 java/awt/peer/MenuItemPeer.java,
570 java/awt/peer/MenuPeer.java,
571 java/awt/peer/PopupMenuPeer.java,
572 java/awt/peer/RobotPeer.java,
573 java/awt/peer/ScrollPanePeer.java,
574 java/awt/peer/ScrollbarPeer.java,
575 java/awt/peer/TextAreaPeer.java,
576 java/awt/peer/TextComponentPeer.java,
577 java/awt/peer/TextFieldPeer.java,
578 java/awt/peer/WindowPeer.java:
579 Removed redundant modifiers.
581 2003-10-11 Michael Koch <konqueror@gmx.de>
583 * gnu/java/nio/NIOSocket.java (setChannel): Initialize impl.
584 * gnu/java/nio/ServerSocketChannelImpl.java
585 (serverSocket): Made it a NIOServerSocket.
587 (ServerSocketChannelImpl): Initialize only serverSocket.
588 (initServerSocket): Removed.
589 (getNativeFD): Rewritten.
590 (implConfigureBlocking): Set socket timeout and removed comment.
592 * gnu/java/nio/SocketChannelImpl.java
593 (impl): New variable.
594 (connected): Removed.
595 (SocketChannelImpl): Initialize impl too.
596 (getImpl): New method.
597 (isConnected): Rewritten.
598 (read): Rewritten, set position in buffer correctly.
599 (write): Set position in buffer correctly.
600 * java/net/ServerSocket.java (getImpl): New method.
601 * gnu/java/nio/NIOServerSocket.java,
602 gnu/java/nio/natNIOServerSocket.cc: New files.
603 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
605 (ordinary_java_source_files):
606 Added gnu/java/nio/NIOServerSocket.java.
608 Removed gnu/java/nio/natServerSocketChannelImpl.cc
609 and added gnu/java/nio/natNIOServerSocket.cc.
610 * Makefile.in: Regenerated.
612 2003-10-11 Michael Koch <konqueror@gmx.de>
614 * java/awt/ActiveEvent.java,
615 java/awt/datatransfer/ClipboardOwner.java,
616 java/awt/datatransfer/FlavorMap.java,
617 java/awt/datatransfer/Transferable.java,
618 java/awt/dnd/Autoscroll.java,
619 java/awt/dnd/peer/DragSourceContextPeer.java,
620 java/awt/dnd/peer/DropTargetContextPeer.java,
621 java/awt/dnd/peer/DropTargetPeer.java,
622 java/awt/font/MultipleMaster.java,
623 java/awt/font/OpenType.java,
624 java/awt/im/spi/InputMethodDescriptor.java,
625 java/awt/image/ImageObserver.java,
626 java/awt/image/ImageConsumer.java,
627 java/awt/image/ImageProducer.java,
628 java/awt/image/RGBImageFilter.java,
629 java/awt/image/RasterOp.java,
630 java/awt/image/renderable/RenderableImage.java:
631 Removed redundant modifiers.
633 2003-10-11 Michael Koch <konqueror@gmx.de>
635 * gnu/awt/j2d/DirectRasterGraphics.java,
636 gnu/java/awt/EmbeddedWindowSupport.java:
637 Removed redundant modifiers.
639 2003-10-09 Michael Koch <konqueror@gmx.de>
641 * gnu/java/nio/SelectorImpl.java (register):
642 Use ServerSocketChannelSelectionKey for server socket channels,
643 removed unneeded comments.
644 * gnu/java/nio/ServerSocketChannelImpl.java
645 (ServerSocketChannelImpl): Made class public final.
646 (impl): New member variable.
647 (ServerSocketChannelImpl): Initialize member variables correctly.
648 (initServerSocket): New method.
649 (getNativeFD): Likewise.
650 * gnu/java/nio/ServerSocketChannelSelectionKey.java,
651 gnu/java/nio/natServerSocketChannelImpl.cc: New files.
652 * Makefile.am (ordinary_java_source_files):
653 Added gnu/java/nio/ServerSocketChannelSelectionKey.java.
654 (nat_source_files): Added gnu/java/nio/natServerSocketChannelImpl.cc.
655 * Makefile.in: Regenrated.
657 2003-10-09 Michael Koch <konqueror@gmx.de>
659 * java/nio/channels/spi/AbstractSelectableChannel.java
660 (registered): Made private.
661 (blocking): Likewise.
663 (provider): Likewise.
664 (keys): Made it a private LinkedList.
665 (AbstractSelectableChannel): Initialize keys.
666 (isRegistered): New implementation.
668 (register): Rewritten.
669 * java/nio/channels/spi/AbstractSelectionKey.java
671 (cancelled): New member variable.
673 (isValid): Rewritten.
674 * java/nio/channels/spi/AbstractSelector.java:
676 (closed): Make private.
677 (provider): Likewise.
678 (cancelledKeys): New member variable.
679 (AbstractSelector): Initialize cancelledKeys.
680 (cancelKey): New method.
682 2003-10-09 Tom Tromey <tromey@redhat.com>
684 * java/lang/ClassLoader.java (setSigners): Implemented.
685 * boehm.cc (_Jv_MarkObj): Mark `signers' field.
686 * java/lang/natClassLoader.cc (_Jv_InitNewClassFields):
687 Initialize new fields.
688 * java/lang/Class.java (getSigners): Now native.
689 (setSigners): Declare.
690 * java/lang/natClass.cc (getSigners): New method.
691 (getSigners): Likewise.
692 * java/lang/Class.h (Class::signers): New field.
693 (Class::setSigners): New method.
695 2003-10-09 Michael Koch <konqueror@gmx.de>
697 * java/rmi/server/RMIClassLoader.java:
698 Removed unused imports, little reformatings.
699 (getClassLoader): New method, implementation was part of old loadCLass
701 (loadClass): Simplified by moving functionality to new method and
702 reworking the code a bit.
703 (getClassAnnotation): Merged documentation from classpath.
705 2003-10-09 Michael Koch <konqueror@gmx.de>
707 * java/math/BigInteger.java
708 (add): Removed unused local variable len.
710 2003-10-08 Thomas Fitzsimmons <fitzsim@redhat.com>
712 * gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Remove
714 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
715 Initialize insets to use latest insets.
716 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
717 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (latestInsets): New
719 (postConfigureEvent): Update latestInsets field when insets
720 change. Remove call to setSize. Move validate call outside of
722 (setVisible): Call setBounds before showing window.
723 (nativeSetVisible): New native method.
724 * java/awt/Window.java (show): Show visible owned windows.
725 (hide): Hide visible owned windows.
726 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
727 (awt_event_handler): Implement modality using GTK grabs.
728 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
729 (global_gtk_window_group): New global variable.
730 (gtkInit): Initialize global_gtk_window_group.
731 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
732 Clamp width and height values to at least 1. Add this window to
733 the global GTK window group.
734 (setVisible): Rename to nativeSetVisible.
735 (setup_window): Remove function.
736 (setSize): Clamp width and height values to at least 1.
737 (nativeSetBounds): Likewise.
738 (gdk_window_get_root_geometry): Remove function.
739 * jni/gtk-peer/gtkpeer.h: Remove gdk_window_get_root_geometry
740 and setup_window declarations. Declare global_gtk_window_group.
742 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
743 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
744 (gtkSetFont): Handle BOLD and ITALIC style specifiers.
745 (gtkWidgetSetForeground): New method.
746 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
747 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
748 (gtkWidgetSetBackground, gtkWidgetSetForeground): New methods.
749 (setBackground, setForeground): Implement.
750 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
751 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
752 (gtkSetFont): Handle BOLD and ITALIC style specifiers.
753 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
754 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
755 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
756 Position PangoLayout relative to text's baseline.
757 * jni/gtk-peer/gtkpeer.h: Define AWT font style constants.
759 * java/awt/FlowLayout.java (layoutContainer): Fix offset problem
760 for CENTER and RIGHT alignments.
762 2003-10-08 Michael Koch <konqueror@gmx.de>
764 * java/security/Security.java: Reformated.
766 2003-10-08 Michael Koch <konqueror@gmx.de>
768 * java/text/SimpleDateFormat.java
769 (compileFormat): Replace Character.isLetter() test with
770 Character.isLowerCase() || Character.isUpperCase().
772 2003-10-08 Tom Tromey <tromey@redhat.com>
774 * java/lang/StrictMath.java (toDegrees): Multiply before
776 (toRadians): Likewise.
778 2003-10-08 C. Brian Jones <cbj@gnu.org>
780 * java/lang/Math.java
781 (toRadians): multiply before dividing to reduce decimal error
784 2003-10-08 Michael Koch <konqueror@gmx.de>
786 * gnu/gcj/protocol/core/Connection.java,
787 gnu/gcj/protocol/core/CoreInputStream.java,
788 gnu/gcj/protocol/core/Handler.java,
789 gnu/gcj/protocol/core/natCoreInputStream.cc,
790 gnu/gcj/protocol/file/Connection.java,
791 gnu/gcj/protocol/file/Handler.java,
792 gnu/gcj/protocol/gcjlib/Connection.java,
793 gnu/gcj/protocol/gcjlib/Handler.java,
794 gnu/gcj/protocol/http/Connection.java,
795 gnu/gcj/protocol/http/Handler.java,
796 gnu/gcj/protocol/jar/Connection.java,
797 gnu/gcj/protocol/jar/Handler.java: Moved to gnu/java/net/protocol.
798 * gnu/java/net/protocol/core/Connection.java,
799 gnu/java/net/protocol/core/CoreInputStream.java,
800 gnu/java/net/protocol/core/Handler.java,
801 gnu/java/net/protocol/core/natCoreInputStream.cc,
802 gnu/java/net/protocol/file/Connection.java,
803 gnu/java/net/protocol/file/Handler.java,
804 gnu/java/net/protocol/gcjlib/Connection.java,
805 gnu/java/net/protocol/gcjlib/Handler.java,
806 gnu/java/net/protocol/http/Connection.java,
807 gnu/java/net/protocol/http/Handler.java,
808 gnu/java/net/protocol/jar/Connection.java,
809 gnu/java/net/protocol/jar/Handler.java: Moved from gnu/gcj/protocol.
810 * gnu/gcj/runtime/FirstThread.java,
811 java/net/URL.java: Use moved protocol handlers.
813 (ordinary_java_source_files): Moved files.
814 (nat_source_files): Likewise.
815 * Makefile.in: Regenerated.
817 2003-10-08 Michael Koch <konqueror@gmx.de>
819 * gnu/java/nio/SocketChannelImpl.java
820 (read): Write only read data to buffer.
822 2003-10-08 Thomas Fitzsimmons <fitzsim@redhat.com>
824 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (setEnabled): Stub
826 * jni/classpath/jcl.c [!__GNUC__]: Elide __attribute__.
827 (JCL_free): Attach "unused" attribute to env parameter.
828 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
829 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
830 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
831 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
832 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
833 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
834 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
835 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
836 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
837 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
838 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
839 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
840 jni/gtk-peer/gthread-jni.c: Attach "unused" attribute to unused
842 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
843 (initNativeState): Pass 0 as info argument to
844 gtk_selection_add_target.
845 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
846 (setVisible, gtkFixedNew, gtkFixedPut, gtkFixedMove): Remove
847 unused method implementations.
848 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
849 (awt_event_handler): Add break statement after default label.
850 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
851 (drawPixels): Remove unused variable i.
852 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
853 (setEnabled): Remove method implementation.
854 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
855 (accel_attach): Call _gtk_accel_group_attach with G_OBJECT
857 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (sr): Remove
859 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
860 (menu_pos): Assign TRUE to push_in.
861 (setupAccelGroup): Call _gtk_accel_group_attach with G_OBJECT
863 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
864 (create): Remove unused variable layout.
865 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
866 Pass window_widget, rather than window, to
867 gtk_widget_set_size_request.
868 * jni/gtk-peer/gthread-jni.c (g_thread_jni_functions): Fill out
869 structure initialization with NULL values.
870 * jni/gtk-peer/gtkpeer.h [!__GNUC__]: Elide __attribute__.
872 2003-10-08 Michael Koch <konqueror@gmx.de>
874 * java/util/LinkedList.java:
875 Removed whitespace to match classpath's version again.
877 2003-10-08 Michael Koch <konqueror@gmx.de>
879 * java/util/prefs/Preferences.java
880 (defaultFactoryClass): Fixed class name.
881 (getFactory): Create instance of class returned by Class.forName(),
884 2003-10-08 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
886 * javax/swing/table/AbstractTableModel.java
887 (getColumnName): Simplified code much. Thanks to Yannick Boogaerts who
888 helped stop pulling my hair on this +1 then -1 tricky thing!
890 2003-10-07 Thomas Fitzsimmons <fitzsim@redhat.com>
892 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (gtkTextGetSize):
893 Remove unused parameters.
894 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkEntryGetSize):
896 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
897 (keyevent_state_to_awt_mods): Export function.
898 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
899 (getCaretPosition): Fix TextArea case.
900 (textcomponent_commit_cb): Get exact event time and modifier
902 * jni/gtk-peer/gtkpeer.h: Declare keyevent_state_to_awt_mods.
904 2003-10-02 Guilhem Lavaux <guilhem@kaffe.org>
906 * java/net/InetSocketAddress.java
907 (InetSocketAddress): Made exception more clear.
908 (equals): Handle case when addr is null.
909 (toString): Likewise.
910 * java/net/NetworkInterface.java
911 (static): Load native library.
912 (getNetworkInterfaces): Rewritten.
914 2003-10-02 Thomas Fitzsimmons <fitzsim@redhat.com>
916 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (insets): New
918 (initializeInsets): New method.
919 (GtkComponentPeer): Call initializeInsets. Call setCursor and
920 setBounds unconditionally.
921 (setBounds): Convert coordinates if parent is a Window.
922 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (insets): Move
923 field to GtkComponentPeer.
924 (GtkContainerPeer): Don't initialize insets.
925 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
927 (create): Call new GtkWindowPeer create method.
928 * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
930 (create): Call new GtkWindowPeer create method.
931 (setBounds): Remove method.
932 (postConfigureEvent): Likewise.
933 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Replace GTK window
934 type constants with GDK window type constants.
935 (create(int,boolean,int,int,GtkWindowPeer)): New method.
936 (create(int,boolean)): Likewise.
937 (create()): Call create(int,boolean).
938 (nativeSetBounds): New native method declaration.
939 (setBounds): Call native method declaration.
940 (setSize): New native method declaration.
941 (setBoundsCallback): Likewise.
942 (postConfigureEvent): Handle change in insets. Call setSize and
943 setBoundsCallback methods.
944 * java/awt/Window.java (Window): Set visible to false.
945 (setBoundsCallback): New method.
946 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
947 (gtkWidgetGetLocationOnScreen): If this component is not a
948 container, adjust the location returned based on the peer's
950 (set(String,boolean)): Revert change from 2003-09-19.
951 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
952 (awt_event_handler): Fix inset calculation.
953 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
954 glue for Window.setBoundsCallback.
955 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
956 Set up stacking order, window decorations and window manager
958 (setBoundsCallback): New method.
959 (setSize): New method.
960 (nativeSetBounds): New method.
961 * jni/gtk-peer/gtkpeer.h: Declare setBoundsCallbackID.
963 2003-10-02 Tom Tromey <tromey@redhat.com>
965 * java/lang/VMClassLoader.java (loadClass): Now native.
966 * java/lang/natClassLoader.cc (loadClass): Implement.
967 * prims.cc (_Jv_RunMain): Initialize ClassLoader.
969 2003-10-02 Michael Koch <konqueror@gmx.de>
971 * java/net/InetAddress.java
973 (ANY_IF): Initalizie in static block.
974 (static): Load library with native methods here and initialize ANY_IF.
975 (isAnyLocalAddress): Check if equal to ANY_IF.
976 (equals): Use addr directly instead of addr1. Simplify for loop.
977 (toString): Rename "result" to "host" and add IP address allways.
978 (getLocalHost): Merged documentation from classpath.
979 * java/net/ServerSocket.java
980 (ServerSocket): New package-private constructor used by java.nio.
981 * java/net/URLConnection.java
982 (getRequestProperties): Check if already connected.
984 2003-10-02 Michael Koch <konqueror@gmx.de>
986 * java/nio/ByteBufferHelper.java:
987 Rewrote all methods by suggestions from Eric Blake.
989 2003-10-02 Michael Koch <konqueror@gmx.de>
992 (DEFAULT_SEARCH_PATH): New static variable.
993 (ph_cache): Made it a HashMap.
994 (getURLStreamHandler): Rename propVal to ph_search_path and use
997 2003-10-02 Michael Koch <konqueror@gmx.de>
999 * javax/swing/table/AbstractTableModel.java
1000 (findColumnName): Prevent from NullPointerException if argument
1003 2003-10-02 Michael Koch <konqueror@gmx.de>
1005 * javax/swing/table/AbstractTableModel.java:
1006 This patch is based on a patch done by Arnaud Vandyck
1007 <arnaud.vandyck@ulg.ac.be>.
1008 (getColumnName): Fixed method documentation.
1009 (findColumn): Likewise.
1010 (getColumnClass): Likewise.
1011 (isCellEditable): Likewise.
1012 (setValueAt): Likewise.
1013 (addTableModelListener): Likewise.
1014 (removeTableModelListener): Likewise.
1015 (getTableModelListeners): New method.
1017 2003-10-02 Michael Koch <konqueror@gmx.de>
1019 * javax/swing/table/AbstractTableModel.java:
1022 2003-10-01 Bryce McKinlay <bryce@mckinlay.net.nz>
1025 * gnu/gcj/runtime/StackTrace.java (finalize): Declare.
1026 * gnu/gcj/runtime/natStackTrace.cc (finalize): New. Free "addrs".
1028 2003-10-01 Tom Tromey <tromey@redhat.com>
1030 * gnu/gcj/runtime/FirstThread.java (getMain): Fixed indentation.
1032 2003-10-01 Andrew Haley <aph@redhat.com>
1034 * java/lang/natClass.cc (initializeClass): Check for otable and
1036 (_Jv_LinkOffsetTable): Check for existence of atable. Rewrite
1037 loops using for(). Search superinterfaces. Check for fields as
1038 well as methods. Initialize atable as well as otable: check for
1039 static methods as well as virtual methods.
1040 * java/lang/Class.h (struct _Jv_AddressTable): New.
1043 * include/jvm.h (_Jv_equalUtf8Consts): constify.
1044 * prims.cc (_Jv_equalUtf8Consts): constify.
1046 2003-09-29 Tom Tromey <tromey@redhat.com>
1049 * include/jvm.h (_Jv_FinalizeString,
1050 _Jv_RegisterStringFinalizer): Declare.
1051 * java/lang/natString.cc (_Jv_FinalizeString): Renamed from
1054 (_Jv_NewStringUtf8Const): Likewise.
1055 * java/lang/ref/natReference.cc (finalize_referred_to_object):
1056 Add special case when finalizing a String.
1057 (in_hash): New function.
1058 (_Jv_RegisterStringFinalizer): Likewise.
1059 (maybe_add_finalize): Likewise.
1061 2003-09-29 Michael Koch <konqueror@gmx.de>
1063 * java/net/InetAddress.java:
1064 (isMulticastAddress): Dont use local variable to store address length.
1065 Let the compiler optimize this.
1066 (getHostName): Merged dcoumentation from classpath.
1067 (getAddress): Likewise.
1068 (getHostAddress): Likewise.
1069 (hashCode): Likewise.
1071 (toString): Likewise.
1072 (getByName): Likewise.
1073 (getAllByName): Likewise.
1075 2003-09-29 Michael Koch <konqueror@gmx.de>
1077 * java/awt/image/IndexColorModel.java: Reformated.
1079 2003-09-29 Michael Koch <konqueror@gmx.de>
1081 * java/net/InetAddress.java,
1082 java/net/URL.java: Reformated.
1084 2003-09-29 Bryce McKinlay <bryce@mckinlay.net.nz>
1086 * boehm.cc (_Jv_BuildGCDescr): Put first word of object in most
1087 significant bit of descriptor. Include the vtable and sync_info
1090 2003-09-28 Bryce McKinlay <bryce@mckinlay.net.nz>
1092 * java/text/DateFormat.java (format): Throw IllegalArgumentException
1093 if `obj' is not a Number or Date instance.
1094 * java/text/SimpleDateFormat.java (tokens): Make it an ArrayList
1097 2003-09-28 Bryce McKinlay <bryce@mckinlay.net.nz>
1099 * java/text/SimpleDateFormat.java (parse): Revert patch of 2003-09-25.
1100 Don't call setTimeZone on calendar.
1102 2003-09-27 Michael Koch <konqueror@gmx.de>
1104 * java/net/URL.java (getURLStreamHandler): Compile fixes.
1106 2003-09-27 Michael Koch <konqueror@gmx.de>
1108 * java/net/URL.java (getURLStreamHandler):
1109 Check if we have to use cache before trying to retrieve handler from
1110 cache. Rename facName to clsName to match classpath more. Reformated
1113 2003-09-27 Michael Koch <konqueror@gmx.de>
1115 * gnu/java/nio/SelectionKeyImpl.java
1116 (ch): Make package-private again. Jikes found this bug.
1117 Jeff Sturm submitted PR12426 for this to bugzilla
1118 to fix this bug in gcj.
1120 2003-09-26 Michael Koch <konqueror@gmx.de>
1122 * java/rmi/server/RMIClassLoader.java:
1123 Reformatted file, no functional code changes.
1125 2003-09-26 Sascha Brawer <brawer@dandelis.ch>
1127 * java/awt/image/SinglePixelPackedSampleModel.java (createDataBuffer):
1128 Save space for some pixels at the buffer end. Added Javadoc.
1130 2003-09-26 Tom Tromey <tromey@redhat.com>
1132 * java/io/ObjectOutputStream.java (writeFields): Fixed
1134 (putFields): Likewise.
1136 2003-09-26 Michael Koch <konqueror@gmx.de>
1138 * java/nio/ByteBufferHelper.java:
1139 Totally reworked with help from Eric Blake.
1141 2003-09-26 Tom Tromey <tromey@redhat.com>
1143 * java/awt/geom/RoundRectangle2D.java (getPathIterator): Wrote.
1144 * java/awt/geom/PathIterator.java: Documentation fixes.
1146 2003-09-25 Jeff Sturm <jsturm@one-point.com>
1148 * gnu/java/nio/SelectorImpl.java (getFDsAsArray): Use getNativeFD().
1150 (register): Use DatagramChannelSelectionKey, SocketChannelSelectionKey.
1152 2003-09-25 Michael Koch <konqueror@gmx.de>
1154 * gnu/java/nio/DatagramChannelImpl.java
1155 (getNativeFD): New method.
1156 * gnu/java/nio/SelectionKeyImpl.java
1157 (SelectionKeyImpl): Class made abstract.
1159 (SelectionKeyImpl): Remove fd argument.
1160 (getNativeFD): New method.
1161 * gnu/java/nio/SocketChannelImpl.java
1162 (getNativeFD): New method.
1163 gnu/java/nio/DatagramChannelSelectionKey.java,
1164 * gnu/java/nio/SocketChannelSelectionKey.java:
1166 * Makefile.am (ordinary_java_source_files):
1167 Added new files gnu/java/nio/DatagramChannelSelectionKey.java and
1168 gnu/java/nio/SocketChannelSelectionKey.java.
1169 * Makefile.in: Regenerated.
1171 2003-09-25 Michael Koch <konqueror@gmx.de>
1173 * java/lang/reflect/Proxy.java
1174 (getProxyClass): Remove workaround for gcj 3.0.x.
1176 2003-09-25 Michael Koch <konqueror@gmx.de>
1178 * gnu/java/net/PlainDatagramSocketImpl.java
1179 (finalize): Moved to directly after constructor.
1180 (getNativeFD): New method.
1181 * gnu/java/net/PlainSocketImpl.java
1182 (getNativeFD): New method.
1184 2003-09-25 Ingo Proetel <proetel@aicas.com>
1186 * java/io/ObjectOutputStream.java:
1187 Allow putFields be called more than once.
1189 2003-09-25 Sascha Brawer <brawer@dandelis.ch>
1191 * java/awt/image/Raster.java(Raster): Interpret null origin as (0,0).
1192 * java/awt/image/WritableRaster.java(WritableRaster): Likewise.
1193 * java/awt/image/BufferedImage.java (toString): Implement.
1195 2003-09-25 Jeff Sturm <jsturm@one-point.com>
1197 * aclocal.m4: Rebuilt.
1198 * configure: Rebuilt.
1200 2003-09-25 Guilhem Lavaux <guilhem@kaffe.org>
1202 * java/text/SimpleDateFormat.java (parse): Don't use class calendar
1205 2003-09-25 Michael Koch <konqueror@gmx.de>
1207 * gnu/java/nio/SelectorImpl.java
1208 (implSelect): Renamed from java_do_select.
1209 (select): Call native implSelect() and add support for Thread
1211 * gnu/java/nio/natSelectorImpl.cc
1212 (implSelect): Renamed from java_do_select.
1214 2003-09-25 Michael Koch <konqueror@gmx.de>
1216 * gnu/java/nio/SelectorImpl.java
1217 (selectNow): Made final, throws IOException.
1219 (getFDsAsArray): Made final.
1220 (selectedKeys): Likewise.
1222 (deregisterCancelledKeys): Likewise.
1223 (register): Likewise.
1225 (add_selected): Removed.
1226 * gnu/java/nio/natSelectorImpl.cc:
1227 No need to include bstring.h or gcj/cni.h.
1228 (helper_put_filedescriptors): Rewritten.
1229 (helper_get_filedescriptors): Rewritten.
1231 2003-09-25 Sascha Brawer <brawer@dandelis.ch>
1233 * java/awt/font/FontRenderContext.java (getTransform): Return
1234 copy of internal transform object. Add Javadoc.
1235 * java/awt/geom/Rectangle2D.java (getPathIterator): Use the same
1236 winding rule as Sun J2SE.
1237 * javax/swing/border/MatteBorder.java (MatteBorder(Icon)): Docfix.
1239 2003-09-25 Ingo Proetel <proetel@aicas.com>
1241 * java/rmi/Naming.java:
1242 Added comments, now accepts pseudo protocol "rmi".
1244 2003-09-25 Guilhem Lavaux <guilhem@kaffe.org>
1246 * java/text/DecimalFormat.java (format): Don't immediatly round
1248 (setMinimumIntegerDigits): Call super.
1249 (setMinimumFractionDigits): Likewise.
1250 (setMaximumIntegerDigits): Likewise.
1251 (setMaximumFractionDigits): Likewise.
1253 2003-09-25 Michael Koch <konqueror@gmx.de>
1255 * gnu/java/nio/DatagramChannelImpl.java
1256 (DatagramChannelImpl): Made class final.
1257 (blocking): Made private.
1258 (socket): Made it a NIODatagramSocket and private.
1259 (DatagramChannelImpl): create NIODatagramSocket instead of
1261 (implConfigureBlocking): Set socket timeout.
1262 (connect): Check that channel is not closed.
1263 (write): Implemented.
1265 (read): Implemented.
1267 (receive): Implemented.
1268 (send): Implemented.
1269 * gnu/java/nio/SelectionKeyImpl.java
1270 (readyOps): Made private.
1271 (interestOps): Made private.
1272 (impl): Made private.
1274 (readyOps): Check if selection key is valid.
1275 (interestOps): Likewise.
1276 * gnu/java/nio/SelectorImpl.java
1278 (keys): Made private.
1279 (selected): Made private.
1280 (finalize): New method.
1281 (implCloseSelector): Rewritten.
1282 (keys): Return unmodifiable Set.
1283 (deregisterCancelledKeys): Fixed typo in method name.
1284 * gnu/java/nio/SocketChannelImpl.java
1285 (SocketChannelImpl): Made class final.
1286 (socket): Made it a NIOSocket and private.
1287 (blocking): Made private.
1288 (connected): Made private.
1289 (connectionPending): New member variable.
1290 (SocketChannelImpl): New implementation.
1291 (finalizer): Use isConnected().
1292 (connect): Rewritten.
1293 (finishConnect): Throws IOException, implemented.
1294 (isConnectionPending): Return connectionPending.
1297 * gnu/java/nio/NIOConstants.java: New file.
1298 * Makefile.am (ordinary_java_source_files):
1299 Added gnu/java/nio/NIOConstants.java.
1300 * Makefile.in: Regenerated.
1302 2003-09-25 Michael Koch <konqueror@gmx.de>
1304 * java/net/InetAddress.java:
1305 Reorder imports, remove implementation comment.
1306 (isMulticastAddress): Merged documentation from classpath.
1307 * java/net/URLConnection.java
1308 (setRequestProperty): Check key for null, fix documentation.
1309 (adREquestProperty): Check key for null, remove wrong implementation
1310 and replace it with comment to overwrite this method in subclasses,
1313 2003-09-25 Tom Tromey <tromey@redhat.com>
1315 * java/lang/reflect/Proxy.java (generate): Uncomment protection
1317 * java/lang/natClassLoader.cc (defineClass): Added `loader'
1319 (linkClass0): Now in VMClassLoader.
1320 (markClassErrorState0): Likewise.
1321 (getSystemClassLoaderInternal): New method.
1322 * java/lang/natClass.cc (initializeClass): Use
1323 VMClassLoader::resolveClass.
1324 * java/lang/ClassLoader.java: New version, from Classpath.
1325 * java/lang/Class.java (getProtectionDomain):
1326 protectionDomainPermission and unknownProtectionDomain now in
1328 * java/lang/Class.h: VMClassLoader now a friend class.
1329 * gnu/gcj/runtime/VMClassLoader.java (instance): Now
1331 * gcj/javaprims.h: Regenerated class list.
1332 * resolve.cc (_Jv_PrepareClass): Use VMClassLoader::resolveClass.
1333 * java/lang/VMClassLoader.java: New version from Classpath;
1334 modified for libgcj use.
1336 2003-09-25 Michael Koch <konqueror@gmx.de>
1338 * java/nio/ByteBufferHelper.java:
1340 * java/nio/ByteBufferImpl.java,
1341 java/nio/DirectByteBufferImpl.java,
1342 java/nio/MappedByteBufferImpl.java
1343 (getType,putType): Use new helper class ByteBufferHelper.
1344 * Makefile.am (ordinary_java_source_files):
1345 Added java/nio/ByteBufferHelper.java.
1346 * Makefile.in: Regenerated.
1348 2003-09-25 Bryce McKinlay <bryce@mckinlay.net.nz>
1350 * gnu/java/net/natPlainSocketImplWin32.cc: Add missing #includes.
1353 2003-09-24 Bryce McKinlay <bryce@mckinlay.net.nz>
1355 * java/lang/StringBuffer.java (substring): Don't set `shared' on small
1356 Strings, even if buffer is already shared.
1358 2003-09-24 Michael Koch <konqueror@gmx.de>
1360 * acinclude.m4 (AM_LC_LOCALES): Added check for locale.h.
1362 2003-09-24 Bryce McKinlay <bryce@mckinlay.net.nz>
1364 * gnu/java/net/PlainSocketImpl.java (read): Remove declaration.
1366 (SocketInputStream): Declare `read' and `write' methods native.
1367 Remove implementations which called back into PlainSocketImpl.
1368 Remove unneccessary overridden methods.
1369 * gnu/java/net/natPlainSocketImplNoNet.cc (read): Move implementation
1370 to inner class PlainSocketImpl.SocketInputStream.
1372 * gnu/java/net/natPlainSocketImplPosix.cc: As above.
1373 * gnu/java/net/natPlainSocketImplWin32.cc: As above.
1374 * gnu/java/net/SocketInputStream.java: Remove unused file.
1375 * gnu/java/net/SocketOutputStream.java: Likewise.
1376 * Makefile.am: Build CNI headers for PlainSocketImpl.SocketInputStream
1377 and SocketOutputStream.
1378 * Makefile.in: Rebuilt.
1380 2003-09-23 Nathanael Nerode <neroden@gcc.gnu.org>
1382 * java/lang/System.java: Add GCJ LOCAL note about encoding aliases.
1384 * java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL
1387 2003-09-22 Anthony Green <green@redhat.com>
1389 * configure.in (HAVE_USLEEP_DECL): Define for newlib build.
1390 * configure: Rebuilt.
1392 2003-09-21 Ralph Loader <suckfish@ihug.co.nz>
1395 * java/lang/StringBuffer.java (substring): Fix handling of shared flag.
1397 2003-09-22 Michael Koch <konqueror@gmx.de>
1399 * jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
1400 compiler warning but produces a different one now.
1402 2003-09-22 Michael Koch <konqueror@gmx.de>
1404 * java/net/InetAddress.java:
1405 Moves around some code, reformats and adds documentation.
1406 No functional changes.
1408 2003-09-22 Michael Koch <konqueror@gmx.de>
1410 * java/net/JarURLConnection.java
1411 (JarURLConnection): Modifed code to match classpath more, fixed comment.
1412 (getCertificates): Made it more error prone.
1413 (getMainAttributes): Likewise.
1414 (getAttributes): Implemented.
1415 (getManifest): Reformatted code.
1417 2003-09-20 Tom Tromey <tromey@redhat.com>
1419 * java/awt/Component.java: Indentation cleanup from Classpath.
1421 2003-09-20 Dalibor Topic <robilad@kaffe.org>
1423 * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument
1424 checking to follow 1.4.2 spec.
1426 2003-08-11 Ingo Proetel <proetel@aicas.com>
1428 * gnu/java/rmi/server/UnicastRef.java: make constructor public and check if serverobject
1429 is compatible in case client and server are running in the same VM
1430 (remerged from Classpath on 2003-09-20)
1432 2003-09-19 David Daney <ddaney@avtrex.com>
1434 * java/lang/ref/Reference.java (clear): Set referent to null and
1437 2003-09-19 Michael Koch <konqueror@gmx.de>
1439 * gnu/java/nio/NIODatagramSocket.java,
1440 gnu/java/nio/NIOSocket.java: New files.
1441 * Makefile.am (ordinary_java_source_files):
1442 Added gnu/java/nio/NIODatagramSocket.java and
1443 gnu/java/nio/NIOSocket.java.
1444 * Makefile.in: Regenerated.
1446 2003-09-19 Thomas Fitzsimmons <fitzsim@redhat.com>
1448 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a
1449 top-level GTK window.
1450 (getArgs): Add "title" property.
1451 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use
1452 "allow_shrink" and "allow_grow" properties.
1453 * java/awt/Dialog.java: Initialize resizable to true and change
1454 comments accordingly. Initialize visible to false in
1456 * java/awt/Frame.java (dispose): Remove method.
1457 * java/awt/Window.java (ownedWindows): New field.
1458 (Window(Window,GraphicsConfiguration)): Add a weak reference to
1459 owner's ownedWindows vector.
1460 (finalize): Remove method.
1461 (hide): Hide owned windows.
1462 (dispose): Dispose of owned windows.
1463 (getOwnedWindows): Implement.
1464 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove
1466 (set(String,boolean)): Clamp gboolean parameter to g_object_set
1468 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1469 (create): Set window's size requisition.
1470 (connectHooks): Fix indentation.
1471 (setResizable): Remove function.
1472 (static setBounds): Likewise.
1473 (setBounds): Replace call to setBounds with GTK size requisition
1476 2003-09-19 Mohan Embar <gnustuff@thisiscool.com>
1478 * win32-threads.cc: (ensure_interrupt_event_initialized) New
1479 function for lazy initialization of an auto-reset event.
1480 (_Jv_CondWait) Added thread interrupt support.
1481 (_Jv_ThreadInitData) Added initialization of interrupt support
1483 (_Jv_ThreadDestroyData) Added cleanup of interrupt support members.
1484 (_Jv_ThreadStart) Removed unused code.
1485 (_Jv_Win32GetInterruptEvent) New method for returning interrupt event
1486 to an external caller.
1487 (_Jv_ThreadInterrupt) Implemented.
1488 * include/win32-threads.h: (_Jv_Thread_t) Added a Win32 auto-reset
1489 event for interrupt support as well as a mutex which regulates
1491 (_Jv_Win32GetInterruptEvent) Declared new method for returning interrupt
1492 event to an external caller.
1493 * java/lang/natWin32Process.cc: (cleanup) Close handle to spawned
1495 (waitFor) Added interrupt support.
1497 2003-09-19 Michael Koch <konqueror@gmx.de>
1499 * java/net/DatagramSocket.java (getLocalAddress):
1500 Renamed result variable to localAddr.
1501 * java/net/MulticastSocket.java:
1502 No need to import gnu.java.net.PlainDatagramSocketImpl.
1504 2003-09-18 Sascha Brawer <brawer@dandelis.ch>
1506 * java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl):
1507 Replace UTF-8 characters in Javadoc by XML/HTML escape sequence.
1509 2003-09-18 Tom Tromey <tromey@redhat.com>
1511 * javax/naming/InitialContext.java: Reindented.
1513 2003-09-18 Dalibor Topic <robilad@kaffe.org>,
1514 Helmer Kraemer <hkraemer@freenet.de>
1516 * javax/naming/spi/NamingManager.java (getURLContext,
1517 getObjectInstance, getStateToBind): Always use current thread's
1518 context class loader when calling Class.forName.
1520 2003-09-18 Michael Koch <konqueror@gmx.de>
1522 * java/util/Timer.java (finalize): Added "throws Throwable".
1524 2003-09-18 Michael Koch <konqueror@gmx.de>
1526 * java/net/DatagramSocket.java
1528 (receive): Use getChannel() instead of ch.
1530 (getChannel): Return null.
1531 * java/net/ServerSocket.java
1533 (setChannel): Removed.
1534 (implAccept): Use getChannel() instead of ch.
1536 (getChannel): Return null.
1537 * java/net/Socket.java
1539 (connect): Use getChannel() instead of ch.
1540 (setChannel): Removed.
1541 (getChannel): Return null.
1543 2003-09-18 Mark Wielaard <mark@klomp.org>
1545 Reported by Guilhem Lavaux and Julian Dolby
1546 * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the
1547 field "serialPersistentFields", not "getSerialPersistentFields".
1549 2003-09-18 Ingo Proetel <proetel@aicas.com>
1551 * java/util/TimeZone.java: Initialize lazily.
1552 * java/util/Locale.java (readManifest): Fix check for country.
1553 * java/util/GregorianCalendar.java: Make use of ResourceBundle better
1555 * java/util/Calendar.java: Make use of ResourceBundle better
1558 2003-09-18 Jeroen Frijters <jeroen@frijters.net>
1560 * java/sql/Timestamp.java
1561 (valueOf): Fixed confusion of java.sql.Date and java.util.Date
1563 2003-09-18 David P Grove <groved@us.ibm.com>
1565 * java/io/LineNumberReader (read): Don't reset pos & limit when
1568 2003-09-18 Dalibor Topic <robilad@kaffe.org>
1570 * gnu/java/rmi/rmic/Compile_gcj.java (COMPILER_ARGS): New private
1572 (computeArguments): use computeTypicalArguments.
1574 * gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Add Compile_kjc.java,
1575 Compile_jikes.java and RMICException.java.
1576 * gnu/java/rmi/rmic/Compile_kjc.java: New file.
1577 * gnu/java/rmi/rmic/Compile_jikes.java: Likewise.
1578 * gnu/java/rmi/rmic/RMICException.java: Likewise.
1580 * gnu/java/rmi/rmic/Compiler.java (getDestination): New method.
1582 * gnu/java/rmi/rmic/CompilerProcess.java: Import java.io.InputStream.
1583 (computeTypicalArguments): New method.
1584 (compile): Print compiler output to System.out. Collect compiler
1585 error output and use it in exception message.
1587 * gnu/java/rmi/rmic/RMIC.java: Import java.util.Set.
1588 (destination): Initialize to null.
1589 (run): Replace file separator with '.' when processing class.
1590 (processClass): Replace '.' with file separator when compiling
1592 (findClass): Use SystemClassLoader to load class.
1593 (generateStub): Use full class name for generated stub, 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, and constructor name. Write only
1597 interface names for interfaces extending java.rmi.Remote as
1599 (generateSkel): Use full class name for generated skel, that puts
1600 it in right path. Replace '.' with file separator when generating
1601 stub file name. Write just the stub class name without package
1602 information as class name.
1604 2003-09-18 Michael Koch <konqueror@gmx.de>
1606 * Makefile.am (rmi_java_source_files):
1607 Added gnu/java/rmi/rmic/Compile_kjc.java,
1608 gnu/java/rmi/rmic/Compile_jikes.java and
1609 gnu/java/rmi/rmic/RMICException.java
1610 * Makefile.in: Regenerated.
1612 2003-09-17 Graydon Hoare <graydon@redhat.com>
1614 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1615 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
1616 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
1617 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
1620 2003-09-16 Graydon Hoare <graydon@redhat.com>
1622 * java/awt/BufferedImage.java (setData): Support non-component
1626 2003-09-10 Graydon Hoare <graydon@redhat.com>
1628 * java/awt/geom/AffineTransform.java(transform): Fix airthmetic bugs.
1629 * java/awt/geom/Arc2D.java: Approximate arc segments with cubics.
1631 2003-09-17 Mohan Embar <gnustuff@thisiscool.com>
1633 * configure.in: Standardized help text case of
1634 --enable-hash-synchronization
1635 New configure switch --enable-libgcj-multifile and corresponding
1636 automake conditional ONESTEP.
1637 * configure: Rebuilt.
1638 * Makefile.am: Use automake conditional ONESTEP to determine
1639 whether classfiles should be compiled individually or all
1641 * Makefile.in: Rebuilt.
1643 2003-09-16 Thomas Fitzsimmons <fitzsim@redhat.com>
1645 * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java (construct):
1646 Remove method declaration.
1647 (create()): Call native create.
1648 (create(int)): New method.
1649 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
1650 (create): Add window_id parameter. Call gtk_plug_new with
1651 window_id parameter.
1652 (construct): Remove method implementation.
1654 2003-09-16 Mohan Embar <gnustuff@thisiscool.com>
1656 * Makefile.am: (MOSTLYCLEANFILES) Removed libtool objects.
1657 (mostlyclean-local): New target patterned after clean-local
1658 which recursively deletes all libtool objects using 'libtool rm'.
1659 (clean-local): Slightly modified comment to alleviate monotony.
1660 (distclean-local): New target patterned after clean-local
1661 which recursively deletes all .d files.
1662 * Makefile.in: Rebuilt.
1664 2003-09-11 Tom Tromey <tromey@redhat.com>
1666 * java/net/URLStreamHandler.java (parseURL): If original file
1667 ends with "/", so must canonical result.
1668 * java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus
1669 with nul-termination and finding previous "/".
1671 2003-09-11 Michael Koch <konqueror@gmx.de>
1673 * acconfig.h: Removed most items.
1674 * configure.in: Added descriptions to AC_DEFINE macros that where in
1676 * include/config.h.in: Regenerated.
1678 2003-09-11 Sascha Brawer <brawer@dandelis.ch>
1680 * java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager
1681 if one is installed. Improve Javadoc.
1682 (getSystemEventQueueImpl): Improve Javadoc.
1684 2003-09-11 Tom Tromey <tromey@redhat.com>
1686 * java/io/natFilePosix.cc (getCanonicalPath): Handle case where
1687 file does not exist.
1689 2003-09-10 Anthony Green <green@redhat.com>
1691 * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
1692 Specify full name when referencing ::java::net::InetAddress.
1693 * gnu/java/net/natPlainSocketImplWin32.cc (accept): Ditto.
1696 2003-09-10 Michael Koch <konqueror@gmx.de>
1698 * acconfig.h (__NO_MATH_INLINES): Removed.
1699 * configure.in: Removed check for g++ math inlining bug from 2000.
1700 * configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
1702 * configure: Regenerated.
1704 2003-09-10 David Daney <ddaney@avtrex.com>
1706 * java/util/Arrays.java (equals(all variants)): Quit using
1707 NullPointerException catching to detect null valued parameters.
1709 2003-09-10 Michael Koch <konqueror@gmx.de>
1711 * java/net/DatagramSocket.java,
1712 java/net/MulticastSocket.java,
1713 java/net/ServerSocket.java,
1714 java/net/Socket.java:
1715 Use gnu.java.net.Plain*SocketImpl instead of
1716 java.net.PlainSocketImpl.
1717 * java/net/PlainDatagramSocketImpl.java,
1718 java/net/PlainSocketImpl.java,
1719 java/net/SocketInputStream.java,
1720 java/net/SocketOutputStream.java,
1721 java/net/natPlainDatagramSocketImplNoNet.cc,
1722 java/net/natPlainDatagramSocketImplPosix.cc,
1723 java/net/natPlainDatagramSocketImplWin32.cc,
1724 java/net/natPlainSocketImplNoNet.cc,
1725 java/net/natPlainSocketImplPosix.cc,
1726 java/net/natPlainSocketImplWin32.cc:
1728 * gnu/java/net/PlainDatagramSocketImpl.java,
1729 gnu/java/net/PlainSocketImpl.java,
1730 gnu/java/net/SocketInputStream.java,
1731 gnu/java/net/SocketOutputStream.java,
1732 gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
1733 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
1734 gnu/java/net/natPlainDatagramSocketImplWin32.cc,
1735 gnu/java/net/natPlainSocketImplNoNet.cc,
1736 gnu/java/net/natPlainSocketImplPosix.cc,
1737 gnu/java/net/natPlainSocketImplWin32.cc:
1738 New files (moved from java/net).
1739 * configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc
1740 instead of java/net/natPlain*SocketImpl.cc.
1741 * configure: Regenerated.
1742 * Makefile.am: Moved files from java/net to gnu/java/net.
1743 * Makefile.in: Regenerated.
1745 2003-09-09 Alan Modra <amodra@bigpond.net.au>
1747 * configure: Regenerate.
1749 2003-09-04 Tom Tromey <tromey@redhat.com>
1751 * configure.host: Removed erroneous comment.
1753 * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
1754 lvalue cast; use correct rvalue cast.
1756 2003-09-02 Thomas Fitzsimmons <fitzsim@redhat.com>
1758 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
1759 and height arguments to GtkWindowPeer.create method call.
1760 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
1761 (create(int,int,int)): New method.
1762 (create(int)): Add call to new create method.
1763 (create()): Add width and height arguments to create method
1765 (GtkWindowPeer): Remove call to setBounds.
1766 * java/awt/Frame.java (Frame(String)): Initialize visible field
1768 (Frame(GraphicsConfiguration)): Likewise.
1769 (Frame(String,GraphicsConfiguration)): Likewise.
1770 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
1771 Add width and height parameters. Call
1772 gtk_window_set_default_size.
1773 (connectHooks): Remove unused name variable.
1774 (static setBounds): Call gtk_window_resize not
1775 gtk_widget_set_usize.
1776 (setBounds): Remove unused nchildren variable.
1778 2003-08-31 Ingo Proetel <proetel@aicas.com>
1780 * java/util/logging/Logger.java: provide class and method information
1781 * java/util/logging/LogManager.java: create handlers
1782 * java/util/logging/SimpleFormatter.java: print souceClassName and
1785 2003-08-28 Mohan Embar <gnustuff@thisiscool.com>
1787 * win32.cc: fixed tab, indentation and whitespace
1789 removed jvm.h include
1790 added includes java/lang/UnsupportedOperationException.h,
1791 java/io/IOException.h, java/net/SocketException.h
1792 (WSAEventWrapper): class implementation
1793 (_Jv_WinStrError): implemented both overloads
1794 (_Jv_ThrowIOException): implemented both overloads
1795 (_Jv_ThrowSocketException): implemented both overloads
1796 (_Jv_select): implemented
1797 * include/win32.h: fixed tab, indentation and whitespace
1799 wrapped <windows.h> include with #define WIN32_LEAN_AND_MEAN
1801 (WSAEventWrapper): added class declaration
1802 (_Jv_WinStrError): added both overload declarations
1803 (_Jv_ThrowIOException): added both overload declarations
1804 (_Jv_ThrowSocketException): added both overload declarations
1805 removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
1806 (_Jv_select): added declaration
1807 (_Jv_socket): removed
1808 (_Jv_connect): removed
1809 (_Jv_close): removed
1811 (_Jv_accept): removed
1812 (_Jv_listen): removed
1813 (_Jv_write): removed
1815 * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
1816 whitespace inconsistencies
1817 replaced <windows.h> #include with <platform.h>
1818 removed jvm.h include
1819 (testCanUseGetHandleInfo): new function which tests whether Win32
1820 GetHandleInformation() call can be used with console buffer handles
1821 (only supported on >=WinNT 5.0)
1822 (winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
1823 (valid): rewrote implementation using GetHandleInformation()
1824 (sync): changed exception throwing to use error string and exception
1825 helper methods declared in include/win32.h
1828 (setLength): likewise
1831 (getFilePointer): likewise
1833 * java/io/natFileWin32.cc: fixed tab, indentation and
1834 whitespace inconsistencies
1835 replaced <windows.h> #include with <platform.h>
1836 removed jvm.h include
1837 (_access): use JV_TEMP_UTF_STRING
1839 (performMkDir): use JV_TEMP_UTF_STRING
1840 (performRenameTo): likewise
1841 (performDelete): likewise
1842 (performCreate): likewise
1843 (performSetReadOnly): likewise
1844 (performSetLastModified): likewise
1845 * java/lang/natWin32Process.cc: fixed tab, indentation and
1846 whitespace inconsistencies
1847 replaced <windows.h> #include with <platform.h>
1848 removed includes gcj/cni.h, jvm.h
1849 (new_string): removed
1850 (startProcess): use JV_TEMP_UTF_STRING,
1851 changed exception throwing to use error string and exception
1852 helper methods declared in include/win32.h
1853 * java/net/natInetAddressWin32.cc: fixed tab, indentation and
1854 whitespace inconsistencies
1855 replaced <windows.h> #include with <platform.h>
1856 removed jvm.h include
1857 removed DISABLE_JAVA_NET conditional code
1858 removed POSIX conditional code not relevant to Win32
1859 (aton): use JV_TEMP_UTF_STRING
1860 removed POSIX conditional code not relevant to Win32
1862 (getLocalHostName): likewise
1863 * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
1864 whitespace inconsistencies
1865 removed unnecessary windows.h, winsock.h and gcj/cni.h includes
1866 removed DISABLE_JAVA_NET conditional code
1867 removed POSIX conditional code not relevant to Win32
1868 (winsock2GetRealNetworkInterfaces): new function to compute network
1869 interfaces via Winsock2 API
1870 (determineGetRealNetworkInterfacesFN): new function for returning
1871 a function pointer to the function used to compute network interfaces.
1872 (getRealNetworkInterfaces): implemented
1873 * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
1874 whitespace inconsistencies
1875 removed gcj/cni.h include
1876 removed DISABLE_JAVA_NET conditional code
1877 removed POSIX conditional code not relevant to Win32
1878 changed net POSIXisms to Win32isms
1879 replaced _Jv socket-related calls with their real Win32 equivalents
1880 changed exception throwing to use error string and exception
1881 helper methods declared in include/win32.h
1882 (peekData): implemented timeout support
1884 * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
1885 whitespace inconsistencies
1886 removed gcj/cni.h and gcj/javaprims.h includes
1887 removed DISABLE_JAVA_NET conditional code
1888 removed POSIX conditional code not relevant to Win32
1889 changed net POSIXisms to Win32isms
1890 replaced _Jv socket-related calls with their real Win32
1892 changed exception throwing to use error string and exception
1893 helper methods declared in include/win32.h
1894 (throwConnectException): helper function for connect()
1895 (connect): implemented timeout support
1897 (doRead): new helper function common to both read() method overloads,
1898 includes timeout support
1899 (read): implemented both overloads in terms of doRead()
1900 (available): implemented using ioctlsocket()
1902 2003-08-28 Mohan Embar <gnustuff@thisiscool.com>
1904 * java/net/natInetAddressWin32.cc,
1905 java/net/natNetworkInterfaceWin32.cc,
1906 java/net/natPlainDatagramSocketImplWin32.cc,
1907 java/net/natPlainSocketImplWin32.cc:
1908 Readded code enclosed in DISABLE_JAVA_NET defines
1909 in preparation for MinGW cleanup / networking
1912 2003-08-28 Mohan Embar <gnustuff@thisiscool.com>
1914 * Makefile.am: Fixed problems with parallel makes.
1915 (all_java_class_files): Readded definition.
1916 (all_java_class_files): New target which depends on
1917 libgcj-@gcc_version@.jar
1918 * Makefile.in: Rebuilt
1920 2003-08-28 Tom Tromey <tromey@redhat.com>
1922 * Makefile.in: Rebuilt.
1923 * Makefile.am (ordinary_java_source_files): Added new files.
1924 * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
1926 * java/net/URLClassLoader.java (findClass): Don't use
1927 findURLResource. Use loader's getClass method.
1928 (URLLoader.getClass): New method.
1929 (addURL): Handle `gcjlib' URLs.
1930 (SoURLLoader): New class.
1931 (SoResource): Likewise.
1932 * gnu/gcj/protocol/gcjlib/Connection.java: New file.
1933 * gnu/gcj/protocol/gcjlib/Handler.java: New file.
1934 * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
1935 (_Jv_RegisterCoreHook): Declare.
1936 (_Jv_FindCore): Declare.
1937 * gnu/gcj/runtime/SharedLibHelper.java: New file.
1938 * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
1940 (core_hook): New function.
1941 (struct SharedLibDummy) [saved_core]: New field.
1942 (init): Set _Jv_RegisterCoreHook. Throw exception on failure.
1943 (register_hook): Set protection domain and class loader on new
1945 (finalize): Free core chain.
1946 * gnu/gcj/Core.java (Core): New constructor.
1947 * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
1949 * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
1950 (_Jv_create_core): New function.
1952 (default_register_resource): New function.
1953 (_Jv_RegisterCoreHook): New global.
1954 (_Jv_RegisterResource): Use it.
1955 (core_chain_struct): Removed.
1956 (_Jv_FindCore): New function.
1957 (_Jv_FreeCoreChain): New function.
1959 2003-08-29 Michael Koch <konqueror@gmx.de>
1961 * java/net/natInetAddressWin32.cc,
1962 java/net/natNetworkInterfaceWin32.cc,
1963 java/net/natPlainDatagramSocketImplWin32.cc,
1964 java/net/natPlainSocketImplWin32.cc:
1965 Removed code enclosed in DISABLE_JAVA_NET defines.
1967 2003-08-26 Mohan Embar <gnustuff@thisiscool.com>
1969 * Makefile.am: (write_entries_to_file) New parameterized
1970 function for writing entries to a file one line at a time.
1971 (all_java_class_files): Removed definition.
1972 (.java.class) Removed.target.
1973 (libgcj-@gcc_version@.jar): Changed dependency to
1974 $(all_java_source_files); added compilation step which compiles
1975 all changed source files in one pass.
1976 (libgcj.la) Refactored to use write_entries_to_file.
1977 (lib-gnu-awt-xlib.la) Likewise.
1978 (install-data-local) Likewise.
1979 (write-entries-to-file-check) New target which tests write_entries_to_file.
1980 (all-recursive): Changed dependency from $(all_java_class_files)
1981 to libgcj-@gcc_version@.jar
1982 * Makefile.in: Rebuilt.
1984 2003-08-26 Tom Tromey <tromey@redhat.com>
1986 * java/lang/StrictMath.java: Typo fix.
1987 * java/lang/Math.java: Typo fix.
1989 2003-08-26 Stephen Crawley <crawley@dstc.edu.au>
1991 * java/lang/ThreadGroup.java (removeThread): null the 'group' field
1992 of the removed Thread.
1994 2003-08-26 Mark Wielaard <mark@klomp.org>
1996 Reported by David Holmes <dholmes@dltech.com.au>.
1997 * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside
1998 Collections.synchronizedMap.
1999 * java/lang/ThreadLocal.java (valueMap): Likewise.
2001 2003-08-26 Mark Wielaard <mark@klomp.org>
2003 * java/security/acl/Acl.java: Fix broken p tag.
2004 * java/text/DateFormatSymbols.java: Correctly open and close li tags.
2005 * javax/swing/border/LineBorder.java: Close img tag alt attributes.
2006 * javax/swing/plaf/TreeUI.java: Likewise.
2007 * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
2008 * java/util/Properties.java: Use the word umlaut, not ä in api
2010 * java/util/PropertyResourceBundle.java: Likewise and add closing code
2013 2003-08-26 Tom Tromey <tromey@redhat.com>
2015 * Makefile.in: Rebuilt.
2016 * Makefile.am: Removed all GNU-make-specific FIXME comments.
2018 * java/lang/ref/Reference.java (get): Indentation fix.
2019 (clear): Comment fix.
2020 (enqueue): Likewise.
2022 (referent): Likewise.
2024 2003-08-26 Tom Tromey <tromey@redhat.com>
2027 * java/lang/reflect/natArray.cc (set): Allow null as argument.
2029 * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.
2030 (ProxyData.getPackage): New method.
2031 (ProxyData.getProxyData): Use package name, not Package.
2032 (ClassFactory.ClassFactory): Updated.
2034 2003-08-25 Scott Gilbertson <scottg@mantatest.com>
2035 * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.
2036 * Makefile.in: re-generated.
2037 * gnu/awt/j2d/IntegerGraphicsState.java
2038 (ScreenCoupledImage): new interface.
2039 (drawImage): detect ScreenCoupledImage instances.
2040 * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented.
2041 * gnu/awt/xlib/XEventLoop.java
2042 (createEvent): re-formatted, and rearranged to avoid null pointer.
2043 * gnu/awt/xlib/XGraphics.java
2044 (drawImage): added XOffScreenImage handling.
2045 * gnu/awt/xlib/XOffScreenImage.java: new file.
2046 * gnu/gcj/xlib/Drawable.java (getDepth): new native method.
2047 * gnu/gcj/xlib/GC.java (copyArea): new native method.
2048 * gnu/gcj/xlib/XAnyEvent.java
2049 (TYPE_KEY_PRESS): new constant.
2050 (TYPE_KEY_RELEASE): new constant.
2051 (TYPE_MOTION_NOTIFY): new constant.
2052 (TYPE_ENTER_NOTIFY): new constant.
2053 (TYPE_LEAVE_NOTIFY): new constant.
2054 (TYPE_FOCUS_IN): new constant.
2055 (TYPE_FOCUS_OUT): new constant.
2056 (TYPE_KEYMAP_NOTIFY): new constant.
2057 (TYPE_GRAPHICS_EXPOSE): new constant.
2058 (TYPE_NO_EXPOSE): new constant.
2059 (TYPE_VISIBILITY_NOTIFY): new constant.
2060 (TYPE_CREATE_NOTIFY): new constant.
2061 (TYPE_DESTROY_NOTIFY): new constant.
2062 (TYPE_MAP_REQUEST): new constant.
2063 (TYPE_CONFIGURE_REQUEST): new constant.
2064 (TYPE_GRAVITY_NOTIFY): new constant.
2065 (TYPE_RESIZE_REQUEST): new constant.
2066 (TYPE_CIRCULATE_NOTIFY): new constant.
2067 (TYPE_CIRCULATE_REQUEST): new constant.
2068 (TYPE_PROPERTY_NOTIFY): new constant.
2069 (TYPE_SELECTION_CLEAR): new constant.
2070 (TYPE_SELECTION_REQUEST): new constant.
2071 (TYPE_SELECTION_NOTIFY): new constant.
2072 (TYPE_COLORMAP_NOTIFY): new constant.
2073 (TYPE_MAPPING_NOTIFY): new constant.
2074 * gnu/gcj/xlib/natDrawable.cc (getDepth): new method.
2075 * gnu/gcj/xlib/natGC.cc (copyArea): new method
2076 * java/awt/Component.java (createImage): changed to use peer method.
2078 2003-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
2080 * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
2081 name, not XLFD, to native drawString.
2082 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
2083 Replace XLFD-based implementation with Pango-based
2086 2003-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
2088 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
2089 GTK_WINDOW_DIALOG. Set GTK_WINDOW_POPUP to 1.
2091 2003-08-21 David Daney <ddaney@avtrex.com>
2093 Fix for PR libgcj/12013:
2094 * java/lang/ref/natReference.cc (finalize_referred_to_object):
2095 Check `cleared' field.
2096 * java/lang/ref/Reference.java (copy): Updated comments.
2097 (cleared): New field.
2100 2003-08-21 Scott Gilbertson <scottg@mantatest.com>
2101 Thomas Fitzsimmons <fitzsim@redhat.com>
2103 * Makefile.am (gtk_awt_peer_sources): Add
2104 gnu/java/awt/peer/GLightweightPeer.java. Remove
2105 gnu/java/awt/GLightweightPeer.java.
2106 * gnu/java/awt/GLightweightPeer.java: Remove file.
2107 * gnu/java/awt/peer/GLightweightPeer.java: New file.
2108 * java/awt/Component.java (getToolkit): Add comment about
2109 lightweight components.
2110 * java/awt/Toolkit.java (createComponent): Return
2111 gnu.java.awt.peer.GLightweightPeer.
2113 2003-08-21 Richard Earnshaw <rearnsha@arm.com>
2115 * configure.in: Fix detection of gcj when building with newlib.
2116 * configure: Regenerated.
2118 2003-08-20 Graydon Hoare <graydon@redhat.com>
2120 * jni.cc: Replace "cheating" pointer-casting code with
2121 extract_from_jvalue<> template.
2123 2003-08-20 Andrew Haley <aph@redhat.com>
2125 * gnu/gcj/runtime/StackTrace.java (getClass): New method.
2126 * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
2127 (classAt): Break out class lookup function into getClass().
2128 * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
2129 handlers when using -fno-assume-compiled.
2131 2003-08-20 Tom Tromey <tromey@redhat.com>
2133 Fix for PR libgcj/9125:
2134 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
2135 object outside of loop. Respect lib_control setting.
2136 * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
2138 (lib_control): New field.
2139 (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
2140 (VMClassLoader): Initialize new field.
2142 * java/lang/ref/natReference.cc (finalize_referred_to_object):
2143 Set `list->reference' to DELETED_REFERENCE when removing dead
2145 (find_slot): Added an assert.
2146 (DELETED_REFERENCE): New define.
2147 (add_to_hash): Check for DELETED_REFERENCE.
2148 (remove_from_hash): Just return if found slot isn't ours.
2150 2003-08-19 Andrew Haley <aph@redhat.com>
2152 * prims.cc (unblock_signal): New function.
2153 (catch_segv): Use it.
2154 (catch_fpe): Likewise.
2156 2003-08-19 Danny Smith <dannysmith@users.sourceforge.net>
2159 * java/io/natFileDescriptorWin32.cc (open): Set create
2160 flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
2161 Honor EXCL when openning with WRITE flag.
2163 2003-08-19 Mohan Embar <gnustuff@thisiscool.com>
2165 * include/jvm.h: New class _Jv_TempUTFString (helper class for
2166 getting a temporary C string from a jstring)
2167 New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
2168 but uses a stack buffer if the string length is less than 256
2171 2003-08-18 Tom Tromey <tromey@redhat.com>
2174 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
2175 void. Throw VirtualMachineError if ffi fails. Initialize return
2176 value. Added is_jni_call argument; only wrap exception if not a
2177 JNI call. Use descriptive message if operation not supported.
2178 (_Jv_GetTypesFromSignature): Use declaring class' loader to find
2180 * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
2181 * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
2183 (_Jv_JNI_CallAnyMethodA): Likewise.
2184 (_Jv_JNI_CallAnyVoidMethodV): Likewise.
2185 (_Jv_JNI_CallAnyVoidMethodA): Likewise.
2187 2003-08-13 Tom Tromey <tromey@redhat.com>
2189 * gij.cc (help): Document -? and -X.
2191 2003-08-12 Graydon Hoare <graydon@redhat.com>
2193 * java/awt/Font.java:
2194 Stub out more recent API.
2196 2003-08-12 Graydon Hoare <graydon@redhat.com>
2198 * java/awt/Color.java (getAlpha):
2199 Prevent sign-extended alpha values.
2201 2003-08-12 Tom Tromey <tromey@redhat.com>
2203 * gij.cc (main): Handle -? and -X.
2205 2003-08-10 Jeroen Frijters <jeroen@frijters.net>
2207 * java/awt/Container.java
2208 (getPreferredSize): Call preferredSize.
2209 (preferredSize): Moved body of getPreferredSize here.
2210 (getMinimumSize): Call minimumSize.
2211 (minimumSize): Moved body of getMinimumSize here.
2213 2003-08-11 Tom Tromey <tromey@redhat.com>
2215 * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
2216 (postEvent): Removed FIXME comment.
2217 (isDispatchThread): Documented.
2218 (getCurrentEvent): New method.
2219 (dispatchEvent): Set currentEvent and lastWhen.
2220 (getMostRecentEventTime): Rewrote.
2221 (invokeLater): Documented.
2223 2003-08-10 Bryce McKinlay <bryce@mckinlay.net.nz>
2225 * java/io/PrintStream.java (print): Always flush if auto_flush is
2226 set. Don't check for newline characters.
2227 (write (int)): Implement without using a temporary array.
2228 (write (byte[], int, int): Always flush if auto_flush is set. Don't
2229 check for newline characters.
2230 Fixes PR libgcj/11778.
2232 2003-08-08 Andrew Haley <aph@redhat.com>
2234 * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
2235 * Makefile.in: Rebuild.
2236 * java/lang/natRuntime.cc (insertSystemProperties): Add
2237 "sun.boot.class.path".
2239 2003-08-07 Andrew Haley <aph@redhat.com>
2241 * java/io/PrintStream.java: Don't crash on a null string.
2243 2003-08-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2245 * configure.in: Don't initialize GCINCS to boehm-gc/include.
2246 * configure: Regenerate.
2248 2003-08-07 Bryce McKinlay <bryce@mckinlay.net.nz>
2250 * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
2251 SocketImpl. Update Javadoc.
2252 (bind): Call close() not impl.close() in event of exception.
2253 (connect): Likewise.
2254 Remove superfluous null checks throughout.
2255 * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
2256 Don't create an extra socket. Fix for PR libgcj/10868.
2257 (bind): Clean up exception handling.
2258 Remove superfluous null checks throughout.
2260 2003-08-07 Jacob Gladish <gladish@spinnakernet.com>
2261 Bryce McKinlay <bryce@mckinlay.net.nz>
2263 * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
2264 ready-to-write argument to _Jv_Select. Reset the socket back to
2265 non-blocking state after connecting.
2266 (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
2267 Throw SocketTimeoutException not InterruptedIOException.
2268 (read): Throw SocketTimeoutException not InterruptedIOException.
2270 2003-08-07 Bryce McKinlay <bryce@mckinlay.net.nz>
2272 * java/lang/Thread.java (Thread): Check for null "name" from
2273 start of private constructor, not after calling the private
2276 2003-08-06 Tom Tromey <tromey@redhat.com>
2278 * java/io/FilePermission.java (equals): Use correct index for
2279 last character of path.
2281 2003-08-06 Alan Modra <amodra@bigpond.net.au>
2283 * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
2284 * configure.in: Compare with_cross_host to build_alias, not build.
2285 * aclocal.m4: Regenerate.
2286 * configure: Regenerate.
2288 2003-08-05 Tom Tromey <tromey@redhat.com>
2290 Fix for PR libgcj/11779:
2291 * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
2294 * java/lang/reflect/Method.java: Updated status comment.
2295 Imported javadoc from Classpath and re-ordered methods.
2296 * java/lang/reflect/Constructor.java: Reindented. Updated
2297 status comment. Imported javadoc from Classpath and re-ordered
2300 2003-08-05 Thomas Fitzsimmons <fitzsim@redhat.com>
2302 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
2303 Add keyLocation parameter.
2304 * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
2306 (paramString): Generate keyChar string according to keyChar, not
2308 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2309 (state_to_awt_mods): Handle ALT key.
2310 (keyevent_state_to_awt_mods): New function.
2311 (get_first_keyval_from_keymap): New function.
2312 (keysym_to_awt_keycode): Get virtual key code from keymap.
2313 Handle missing VK_ values.
2314 (keysym_to_awt_keylocation): New function.
2315 (keyevent_to_awt_keychar): New function.
2316 (generates_key_typed_event): Handle non-text-component case.
2317 Handle GDK_KP_Delete and GDK_KP_Enter.
2318 (awt_event_handler): Call new functions to get postKeyEvent
2320 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
2321 Update postKeyEvent method signature.
2322 * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines. Add missing
2325 2003-08-05 Matthias Klose <doko@debian.org>
2327 * aclocal.m4: check for libart-config binary
2328 under the name libart2-config as well.
2329 * configure: regenerated.
2331 2003-08-04 David P Grove <groved@us.ibm.com>
2333 * java/text/DecimalFormat.java (format): avoid ArithmeticException
2334 when groupingSize is 0.
2337 2003-08-04 Matthias Klose <doko@debian.org>
2339 * libart.m4: check for libart-config binary
2340 under the name libart2-config as well.
2341 * configure, aclocal.m4: regenerated.
2343 2003-08-02 Michael Koch <konqueror@gmx.de>
2345 * java/nio/ByteBufferImpl.java
2346 (getChar): Check remaining bytes, fixed comment about endianess.
2347 (putChar): Likewise.
2348 (getShort): Likewise.
2349 (putShort): Likewise.
2350 (getInt): Check remaining bytes, fixed conversion, fixed comment about
2353 (getLong): Likewise.
2354 (putLong): Likewise.
2355 (getFloat): Likewise.
2356 (putFloat): Likewise.
2357 (getDouble): Likewise.
2358 (putDouble): Likewise.
2359 * java/nio/DirectByteBufferImpl.java
2360 (getChar): Wrapped code, fixed comment about endianess.
2361 (putchar): Likewise.
2362 (getShort): Likewise.
2363 (putShort): Likewise.
2364 (getInt): Fixed conversion, fixed comment about endianess.
2366 (getLong): Likewise.
2367 (putLong): Likewise.
2368 (getFloat): Likewise.
2369 (putFloat): Likewise.
2370 (getDouble): Likewise.
2371 (putDouble): Likewise.
2372 * java/nio/MappedByteBufferImpl.java
2373 (compact): Implemented.
2374 (getChar): Implemented.
2375 (putChar): Implemented.
2376 (getDouble): Implemented.
2377 (putdouble): Implemented.
2378 (getFloat): Implemented.
2379 (putFloat): Implemented.
2380 (getInt): Implemented.
2381 (putInt): Implemented.
2382 (getLong): Implemented.
2383 (putLong): Implemented.
2384 (getShort): Implemented.
2385 (putShort): Implemented.
2386 * java/nio/channels/FileChannelImpl.java
2387 (read): Set position where to access file.
2389 (transferTo): Flip buffer after read and before write.
2390 (transferFrom): Likewise.
2392 2003-08-02 Michael Koch <konqueror@gmx.de>
2394 * gnu/java/lang/ArrayHelper.java
2395 (equalsArray): Reformated, added method documentation.
2397 2003-08-02 Michael Koch <konqueror@gmx.de>
2400 (URL): Added paragraph about the
2401 gnu.java.net.nocache_protocol_handlers property.
2402 (ph_cache): Renamed from handlers to match classpath's implementation.
2403 Reordered it with factory and serialVersionUID member variables.
2404 (cache_handlers): New member variable.
2405 (static): New static initializer to initialize cache_handlers from
2406 gnu.java.net.nocache_protocol_handlers property.
2407 (URL): Use ph_cache instead of handlers, reformatted some code to
2408 match classpath's implementation.
2410 2003-08-01 Tom Tromey <tromey@redhat.com>
2412 Fix for PR libgcj/11241:
2413 * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
2414 initialCapacity is 0, set it to 1.
2416 2003-08-01 Stephen Crawley <crawley@dstc.edu.au>
2418 * java/net/SocketImpl.java (toString): Display the remote address
2419 of an unconnected server socket as "0.0.0.0/0.0.0.0".
2421 2003-08-01 Sascha Brawer <brawer@dandelis.ch>
2423 * javax/swing/border/BevelBorder.java,
2424 javax/swing/border/EtchedBorder.java,
2425 javax/swing/border/LineBorder.java,
2426 javax/swing/border/MatteBorder.java,
2427 javax/swing/border/SoftBevelBorder.java,
2428 javax/swing/plaf/BorderUIResource.java,
2429 javax/swing/plaf/ComponentUI.java,
2430 javax/swing/plaf/TreeUI.java,
2431 javax/swing/plaf/basic/BasicBorders.java,
2432 javax/swing/plaf/basic/BasicGraphicsUtils.java,
2433 javax/swing/plaf/basic/BasicTreeUI.java:
2434 Prepend "doc-files" to all paths to embedded Javadoc images, so
2435 that the generated documentation contains the correct URL.
2437 2003-08-01 Tom Tromey <tromey@redhat.com>
2439 * configure: Rebuilt.
2440 * configure.in (tool_include_dir): Redefine to match gcc.
2442 2003-08-01 Jerry Quinn <jlquinn@optonline.net>
2443 Mark Wielaard <mark@klomp.org>
2445 * java/math/BigDecimal (divide): Correctly handle
2446 ROUND_HALF_EVEN when amount is greater than 0.5.
2447 Simplify and optimize code.
2449 2003-07-31 Tom Tromey <tromey@redhat.com>
2451 More for PR libgcj/11737:
2452 * java/io/ObjectInputStream.java (processResolution): Use
2454 (getMethod): Make method accessible.
2455 (getField): Make field accessible.
2456 (setBooleanField): Don't call setAccessible here.
2457 (setByteField, setCharField, setDoubleField, setFloatField,
2458 setIntField, setLongField, setShortField, setObjectField):
2460 (callReadMethod): Don't check whether method is null. Catch
2461 NoSuchMethodException.
2462 * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
2463 cause on thrown exceptions.
2465 2003-07-31 Stepan Koltsov <yozh@mx1.ru>
2467 Fix for PR libgcj/11728:
2468 * java/util/HashMap.java (readObject): Set size.
2470 2003-07-31 Tom Tromey <tromey@redhat.com>
2472 Fix for PR libgcj/11737:
2473 * java/io/ObjectOutputStream.java (getMethod): Make method
2475 (getField): Likewise.
2476 (writeObject): Use getMethod.
2477 Import PrivilegedAction and AccessController.
2478 (callWriteMethod): Don't check whether m is null. Catch
2479 NoSuchMethodException.
2481 * java/awt/geom/Arc2D.java (getBounds2D): Implement.
2482 (containsAngle): Likewise.
2483 (getStartPoint): Rewrote.
2484 (getEndPoint): Likewise.
2485 (setAngleStart(Point2D)): Likewise.
2487 2003-07-31 Roger Sayle <roger@eyesopen.com>
2488 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2490 * configure.in: Add new THREADCXXFLAGS variable.
2491 Handle POSIX threads on alpha*-dec-osf*.
2492 * configure: Regenerate.
2493 * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
2494 * Makefile.in: Regenerate.
2496 2003-07-08 Andrew Haley <aph@redhat.com>
2498 * include/i386-signal.h (RESTORE): New.
2499 (INIT_SEGV): Set restorer.
2500 (INIT_FPE): Likewise.
2502 2003-07-29 Thomas Fitzsimmons <fitzsim@redhat.com>
2504 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
2506 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
2507 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
2508 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2509 (gtkSetFont): Scale size parameter by PANGO_SCALE.
2510 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
2512 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
2515 2003-07-29 Tom Tromey <tromey@redhat.com>
2517 * defineclass.cc (handleField): Throw exception if field name is
2519 (handleMethod): Throw exception for duplicate method.
2521 2003-07-29 Tom Tromey <tromey@redhat.com>
2523 * gnu/gcj/convert/natIconv.cc (write): Handle case where
2524 output buffer is too small.
2526 2003-07-28 Tom Tromey <tromey@redhat.com>
2528 * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
2530 Include gnu/gcj/runtime/StringBuffer.h.
2531 * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
2533 (String(gnu.gcj.runtime.StringBuffer)): Use it.
2535 2003-07-27 Anthony Green <green@redhat.com>
2537 * configure.in: Fix newlib check.
2538 * configure: Rebuilt.
2540 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com>
2542 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
2543 Create vbox and layout for GtkPlug.
2545 2003-07-27 Michael Koch <konqueror@gmx.de>
2547 * java/awt/Window.java
2548 (Window): Removed now unused constructor. It became oboslete with the
2549 new embedded window patch.
2551 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com.h>
2552 Michael Koch <konqueror@gmx.de>
2554 * gnu/java/awt/EmbeddedWindow.java
2555 (EmbeddedWindow): Extends Frame instead of Window.
2556 (window_id): New member variable to store the native window handle.
2558 (EmbeddedWindow): New constructor.
2559 (addNotify): New method.
2560 (getHandler): Likewise.
2561 (setWindowPeer): New native method.
2562 * gnu/java/awt/EmbeddedWindowSupport.java
2563 (EmbeddedWindowSupport): Fixed documentation.
2564 (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
2565 WindowPeer, give it an EmbeddedWindow instance instead of the raw
2567 * gnu/java/awt/natEmbeddedWindow.cc
2569 (setWindowPeer): New method.
2570 * gnu/java/awt/peer/EmbeddedWindowPeer.java,
2571 gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
2572 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
2574 * gnu/java/awt/peer/gtk/GtkToolkit.java
2575 (GtkToolkit): Implements EmbeddedWindowSupport.
2576 (createEmbeddedWindow): New method.
2577 * java/awt/Window.java
2580 (java_source_files): Added EmbeddedWindowPeer.java.
2581 (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
2582 (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
2583 * Makefile.in: Regenerated.
2585 2003-07-26 Ranjit Mathew <rmathew@hotmail.com>
2587 * java/lang/Win32Process.java (ConcreteProcess): Surround
2588 a command line element with quotes if it contains an
2589 embedded space or tab.
2590 * java/lang/natWin32Process.cc (startProcess): Do not
2591 surround command line elements with quotes here.
2593 * configure.host: Use -fcheck-references and
2594 -fuse-divide-subroutine for MinGW until we fix
2595 win32_exception_handler( ) in win32.cc w.r.t. Win32
2596 Structured Exception Handling (SEH).
2598 * win32.cc (_Jv_platform_initProperties): Use generic names
2599 like "x86" for the "os.arch" property to be consistent with
2600 what Sun's JDK produces. Use the wProcessorArchitecture
2601 member of the Win32 SYSTEM_INFO structure, filled in a call
2602 to GetSystemInfo( ), instead of dwProcessorType.
2604 2003-07-26 Mohan Embar <gnustuff@thisiscool.com>
2605 Ranjit Mathew <rmathew@hotmail.com>
2607 * Makefile.am: Use cross-compiling gcjh from the path for
2608 a crossed-native build.
2609 * Makefile.in: Rebuilt.
2610 * configure.in: Include libltdl in non-newlib builds.
2611 Moved determination of gcj used to build libraries to
2612 its own section. Fixed cross-compilation issues for
2614 * configure: Rebuilt.
2616 2003-07-25 Tom Tromey <tromey@redhat.com>
2618 * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
2623 2003-07-25 Mark Wielaard <mark@klomp.org>
2625 * java/lang/natRuntime.cc (_load): Add library name to
2626 UnsatisfiedLinkError when thrown.
2628 2003-07-25 Mark Wielaard <mark@klomp.org>
2630 * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
2632 * Makefile.in: Likewise.
2634 2003-07-25 Jeroen Frijters <jeroen@frijters.net>
2636 * java/awt/Component.java
2637 (getPreferredSize): Call preferredSize.
2638 (preferredSize): Moved body of getPreferredSize here.
2639 (getMinimumSize): Call minimumSize.
2640 (minimumSize): Moved body of getMinimumSize here.
2641 (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
2642 (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
2644 * java/awt/Container.java
2645 (validate): Don't validate if there is no peer.
2646 (update): Clear background before calling paint.
2647 * java/awt/GridBagLayout.java
2648 Completed the implementation and fixed several bugs.
2649 * java/awt/MediaTracker.java
2650 (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
2652 * java/awt/Window.java
2653 (Window): Don't call setVisible(false). Windows are invisible by
2654 default and calling virtual methods from constructor causes
2655 compatibility problems (e.g. subclasses may assume that the peer
2658 2003-07-25 Michael Koch <konqueror@gmx.de>
2660 * java/awt/GridBagLayout.java:
2661 Totally reworked and partly implemented.
2662 * java/awt/GridBagLayoutInfo.java:
2665 2003-07-24 Thomas Fitzsimmons <fitzsim@redhat.com>
2667 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
2668 Don't pack label in an event box.
2670 2003-07-24 Tom Tromey <tromey@redhat.com>
2673 * verify.cc (ref_intersection): New class.
2674 (type_val): Removed unresolved_reference_type,
2675 uninitialized_unresolved_reference_type.
2676 (is_assignable_from_slow): Rewrote.
2677 (type::data): Removed.
2678 (type::klass): New field.
2679 (type::type): Added verifier argument.
2680 (type::resolve): Removed.
2681 (type::set_uninitialized): Updated for change to type_val.
2682 (type::set_initialized): Likewise.
2683 (type::isinitialized): Likewise.
2684 (type::print): Likewise.
2685 (construct_primitive_array_type): Likewise.
2686 (type::compatible): Updated for change to type_val and to use
2688 (type::isarray): Updated to use ref_intersection.
2689 (type::isinterface): Likewise.
2690 (type::element_type): Likewise.
2691 (type::to_array): Likewise.
2692 (type::verify_dimensions): Rewrote.
2693 (type::merge): Likewise.
2694 (check_class_constant): Updated for type constructor change.
2695 (check_constant): Likewise.
2696 (check_field_constant): Likewise.
2697 (get_one_type): Likewise.
2698 (initialize_stack): Likewise.
2699 (verify_instructions_0): Likewise.
2700 (verify_instructions_0) [op_invokeinterface]: Removed special
2702 (isect_list): New field.
2703 (_Jv_BytecodeVerifier): Initialize it.
2704 (~_Jv_BytecodeVerifier): Destroy ref_intersection objects.
2706 2003-07-24 H. Väisänen <hvaisane@joyx.joensuu.fi>
2708 * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
2709 unless field size is 2.
2711 2003-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
2713 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
2714 (connectHooks): New method.
2715 (handleEvent): Remove.
2716 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
2717 (createHooks): Remove declaration.
2718 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2719 (generates_key_typed_event): Change to handle only certain
2721 (awt_event_handler): Add special handling for GtkTextView.
2722 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
2723 (textcomponent_commit_cb): New function.
2724 (textcomponent_changed_cb): Likewise.
2725 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
2726 (connectHooks): Remove.
2728 2003-07-23 Tom Tromey <tromey@redhat.com>
2730 * java/lang/natSystem.cc (arraycopy): Check for overflow.
2732 * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
2734 2003-07-22 Tom Tromey <tromey@redhat.com>
2736 * boehm.cc (_Jv_BuildGCDescr): Wrote.
2739 2003-07-22 Tom Tromey <tromey@redhat.com>
2741 * java/awt/Window.java (getWarningString): Just return the
2743 (Window): Set warningString; check with security manager.
2745 2003-07-22 Scott Gilbertson <scottg@mantatest.com>
2747 * gnu/awt/xlib/XGraphicsConfiguration.java
2748 (FontMetricsCache): Made static.
2750 2003-07-22 Tom Tromey <tromey@redhat.com>
2752 * java/net/URLEncoder.java (encode(String)): Use platform default
2754 (encode(String,String)): Convert to 2-digit upper-case hex
2758 2003-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2760 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2761 (create): Remove unused method implementation.
2762 (connectHooks): Remove debug messages.
2764 2003-07-20 Anthony Green <green@redhat.com>
2766 * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
2767 CloneNotSupportedException.
2768 * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
2769 * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
2770 * gnu/gcj/xlib/GC.java (clone): Ditto.
2771 * gnu/awt/xlib/XGraphics.java (clone): Ditto.
2772 * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
2774 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
2776 * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
2778 2003-07-20 Steve Pribyl <steve@netfuel.com.>
2780 * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
2781 String. Put dlerror() message into exception.
2782 Include UnsatisfiedLinkError.
2783 * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
2786 2003-07-20 Tom Tromey <tromey@redhat.com>
2788 * java/lang/Runtime.java: Comment fix.
2789 * java/lang/ClassLoader.java (isAncestorOf): New method.
2790 (getParent): Uncommented security check. Use isAncestorOf.
2791 * include/jvm.h (_Jv_CheckAccess): Declare.
2792 * java/lang/reflect/natConstructor.cc (newInstance): Perform
2794 Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
2795 * java/lang/reflect/natArray.cc (newInstance): Pass caller's
2796 class loader to _Jv_GetArrayClass.
2797 Include ArrayIndexOutOfBoundsException.h.
2798 * java/lang/reflect/Field.java: Update comment to reflect status.
2799 (equals): Fixed indentation.
2800 * java/lang/Class.h (Class): Declare memberAccessCheck, not
2801 checkMemberAccess. Make _Jv_CheckAccess a friend.
2802 * java/lang/Class.java (memberAccessCheck): New method from
2804 (checkMemberAccess): Removed.
2805 (getDeclaredMethod): Use memberAccessCheck.
2806 (getField): Likewise.
2807 (getMethod): Likewise.
2808 * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
2809 (_Jv_SearchMethodInClass): Likewise.
2810 * prims.cc (_Jv_CheckAccess): New function.
2811 * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
2812 (_Jv_JNI_GetAnyFieldID): Likewise.
2813 * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
2814 (getClassLoader): Added security check.
2815 (getConstructor): Call memberAccessCheck.
2816 (getDeclaredClasses): Likewise.
2817 (getDeclaredField): Likewise.
2818 (getDeclaredFields): Likewise.
2819 (_getConstructors): Likewise.
2820 (getDeclaredConstructor): Likewise.
2821 (getDeclaredMethods): Likewise.
2822 (getFields): Likewise.
2823 (getMethods): Likewise.
2824 (newInstance): Likewise.
2825 (_Jv_MakeVTable): Put method name in exception.
2826 * java/lang/reflect/natMethod.cc (getType): Use
2827 getClassLoaderInternal.
2828 (_Jv_GetTypesFromSignature): Likewise.
2829 (invoke): Perform access check.
2830 (_Jv_CallAnyMethodA): Removed old FIXME comments.
2831 Include ArrayIndexOutOfBoundsException.h.
2832 * java/lang/reflect/natField.cc (getType): Use
2833 getClassLoaderInternal.
2834 (_Jv_CheckFieldAccessibility): Removed.
2835 (getAddr): Use _Jv_CheckAccess; find caller.
2836 Include ArrayIndexOutOfBoundsException.h.
2838 2003-07-20 Michael Koch <konqueror@gmx.de>
2841 (URL): Fixed documentation to name an argument correcty, Reformatted
2842 one method declaration.
2843 (getURLStreamHandler): Added documentation from classpath.
2845 2003-07-19 Tom Tromey <tromey@redhat.com>
2847 * mauve-libgcj: Don't run CollationElementIterator tests.
2849 2003-07-19 Jeroen Frijters <jeroen@sumatra.nl>
2851 * java/net/URLClassLoader.java (addURL): Moved implementation to
2852 private addURLImpl() to avoid calling addURL from the constructor.
2853 (addURLImpl): Contains the code that was previously in addURL.
2854 (addURLs): Call addURLImpl(), not addURL().
2856 2003-07-18 Graydon Hoare <graydon@redhat.com>
2858 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
2859 Handle missing event cases, connect to "value-changed" signal.
2861 2003-07-18 Graydon Hoare <graydon@redhat.com>
2863 * java/awt/geom/CubicCurve2D.java,
2864 java/awt/geom/Line2D.java,
2865 java/awt/geom/QuadCurve2D.java,
2866 java/awt/geom/Rectangle2D.java:
2867 Fix path some calculations, make path iterators follow
2870 2003-07-18 Mark Wielaard <mark@klomp.org>
2872 * java/util/logging/Handler.java (isLoggable): Check record level
2875 2003-07-17 Michael Koch <konqueror@gmx.de>
2877 * gnu/java/awt/peer/gtk/GtkToolkit.java:
2880 2003-07-14 Michael Koch <konqueror@gmx.de>
2882 * gnu/java/rmi/server/UnicastServerRef.java:
2883 New version from classpath.
2885 2003-07-14 Michael Koch <konqueror@gmx.de>
2887 * java/awt/image/MemoryImageSource.java,
2888 java/beans/PropertyEditorManager.java,
2889 javax/naming/CompoundName.java,
2890 javax/naming/spi/NamingManager.java,
2891 javax/swing/AbstractButton.java,
2892 javax/swing/ButtonModel.java,
2893 javax/swing/SwingUtilities.java,
2894 javax/swing/UIManager.java,
2895 javax/swing/colorchooser/DefaultColorSelectionModel.java,
2896 javax/swing/event/AncestorEvent.java,
2897 javax/swing/event/InternalFrameEvent.java,
2898 java/util/zip/ZipFile.java:
2899 New versions from classpath.
2901 2003-07-13 Michael Koch <konqueror@gmx.de>
2903 * gnu/java/nio/FileChannelImpl.java,
2904 gnu/java/nio/natFileChannelImpl.cc: Removed.
2905 * java/io/FileInputStream.java,
2906 java/io/FileOutputStream.java,
2907 java/io/RandomAccessFile.java,
2908 java/nio/MappedByteBufferImpl.java:
2909 Import java.nio.channels.FileChannelImpl instead of
2910 gnu.java.nio.FileChannelImpl.
2911 * java/nio/channels/FileChannelImpl.java,
2912 java/nio/channels/natFileChannelImpl.cc:
2915 (ordinary_java_source_files):
2916 Removed gnu/java/nio/FileChannelImpl.java and added
2917 java/nio/channels/FileChannelImpl.java.
2919 Removed gnu/java/nio/natFileChannelImpl.cc and added
2920 java/nio/channels/natFileChannelImpl.cc.
2921 * Makefile.in: Regenerated.
2923 2003-07-13 Michael Koch <konqueror@gmx.de>
2925 * javax/swing/plaf/basic/BasicBorders.java,
2926 javax/swing/plaf/basic/BasicLabelUI.java,
2927 javax/swing/plaf/basic/BasicLookAndFeel.java,
2928 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
2929 javax/swing/plaf/basic/BasicTextUI.java,
2930 javax/swing/plaf/metal/MetalLookAndFeel.java:
2931 New versions from classpath.
2933 2003-07-13 Michael Koch <konqueror@gmx.de>
2935 * gnu/java/awt/peer/gtk/GdkFontMetrics.java
2936 * gnu/java/awt/peer/gtk/GdkGraphics.java
2937 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
2938 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
2939 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
2940 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
2941 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
2942 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
2943 * gnu/java/awt/peer/gtk/GtkClipboard.java
2944 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
2945 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2946 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2947 * gnu/java/awt/peer/gtk/GtkGenericPeer.java
2948 * gnu/java/awt/peer/gtk/GtkImage.java
2949 * gnu/java/awt/peer/gtk/GtkImagePainter.java
2950 * gnu/java/awt/peer/gtk/GtkLabelPeer.java
2951 * gnu/java/awt/peer/gtk/GtkListPeer.java
2952 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
2953 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
2954 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
2955 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
2956 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
2957 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
2958 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
2959 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
2960 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
2961 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
2962 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
2963 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
2965 2003-07-13 Michael Koch <konqueror@gmx.de>
2967 * gnu/java/locale/LocaleInformation_de.java
2968 * gnu/java/locale/LocaleInformation_en.java
2969 * gnu/java/locale/LocaleInformation_nl.java
2971 2003-07-13 Michael Koch <konqueror@gmx.de>
2973 * gnu/java/awt/EmbeddedWindow.java,
2974 gnu/java/awt/EmbeddedWindowSupport.java,
2975 gnu/java/awt/natEmbeddedWindow.cc:
2977 * java/awt/Window.java
2978 (Window): New constructor to support embedded windows.
2980 (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
2981 gnu/java/awt/EmbeddedWindowSupport.java.
2982 (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
2983 * Makefile.in: Regenerated.
2985 2003-07-11 Matt Kraai <kraii@alumni.cmu.edu>
2987 * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
2988 * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
2989 * java/awt/im/InputContext.java: Remove a redundant
2992 2003-07-09 Tom Tromey <tromey@redhat.com>
2994 * Makefile.in: Rebuilt.
2995 * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
2997 2003-07-09 Mark Wielaard <mark@klomp.org>
2999 * java/io/ObjectOutputStream.java (writeObject): break after
3000 calling writeClassDescriptor().
3002 2003-07-09 Mark Mitchell <mark@codesourcery.com>
3004 * gcj/array.h (JvPrimClass): Don't parenthesize the output.
3006 2003-07-09 Michael Koch <konqueror@gmx.de>
3008 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3009 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
3010 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
3011 gnu/java/awt/peer/gtk/GtkWindowPeer.java:
3012 Explicitly import used classes.
3013 * java/awt/Container.java: New version from classpath.
3015 2003-07-09 Michael Koch <konqueror@gmx.de>
3017 * libgcj.pc.in: New file.
3018 * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
3019 * Makefile.in: Regenerated.
3020 * configure: Regenrated.
3021 * configure.in: Create libgcj.pc from libgcj.pc.in.
3023 2003-07-08 Mark Wielaard <mark@klomp.org>
3025 * gcj/cni.h: CNI now expands to Compiled Native Interface.
3027 * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
3028 * java/lang/fdlibm.h: Likewise.
3030 2003-07-07 Adam Megacz <adam@xwt.org>
3032 * posix.cc: added #include<stdio.h>
3034 2003-07-07 Thomas Fitzsimmons <fitzsim@redhat.com>
3036 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
3039 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
3040 (setCaretPosition, setEditable): Rely entirely on native
3043 (postTextEvent): New method.
3044 (handleEvent): New method.
3045 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
3047 * java/awt/event/ActionEvent.java (paramString): Fix formatting.
3048 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3049 (keysym_to_awt_keycode): Fix range checks.
3050 (generates_key_typed_event): New function.
3051 (awt_event_handler): Post AWT_KEY_RELEASED events to event
3053 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3054 (gtkInit): Store TextComponent's postTextEvent method ID.
3055 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3056 (setText): Post TEXT_VALUE_CHANGED event to event queue.
3058 2003-07-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3060 * configure.in: Check for usleep declaration.
3061 * acconfig.h (HAVE_USLEEP_DECL): Provide template.
3062 * configure: Regenerate.
3063 * include/config.h.in: Likewise.
3064 * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
3066 2003-07-01 Michael Koch <konqueror@gmx.de>
3068 * gnu/gcj/convert/natIconv.cc
3069 (iconv_init): Fixed possible memory leak by releasing allocated iconv
3072 2003-06-30 Thomas Fitzsimmons <fitzsim@redhat.com>
3074 * glib-2.0.m4: New file.
3075 * gtk-2.0.m4: New file.
3078 * configure.in: Update AM_PATH_GTK macro call to
3079 AM_PATH_GTK_2_0. Likewise for AM_PATH_GLIB.
3080 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
3081 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
3082 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
3083 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
3084 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
3085 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
3086 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
3087 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
3088 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
3089 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
3090 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
3091 jni/gtk-peer/gthread-jni.c,
3092 jni/gtk-peer/gthread-jni.h:
3093 New versions from classpath.
3094 * aclocal.m4: Regenerate.
3095 * configure: Regenerate.
3096 * Makefile.in: Regenerate.
3097 * gcj/Makefile.in: Regenerate.
3098 * include/Makefile.in: Regenerate.
3099 * testsuite/Makefile.in: Regenerate.
3101 2003-06-30 Gary Benson <gbenson@redhat.com>
3103 For PR libgcj/11349:
3104 * javax/naming/spi/NamingManager.java (getURLContext): Use
3105 correct name for factory class.
3107 2003-06-28 Michael Koch <konqueror@gmx.de>
3109 * java/io/PrintStream.java
3110 (checkError): Call flush() instead of direct flushing of the Writer
3112 (print): Call print(String) instead of direct print method of the
3114 (println): Call println(String) instead of direct println method of the
3116 (write): Simplified.
3118 2003-06-28 Michael Koch <konqueror@gmx.de>
3120 * java/net/ServerSocket.java
3121 (setChannel): New method.
3122 * java/net/Socket.java
3123 (setChannel): New method.
3125 2003-06-27 Michael Koch <konqueror@gmx.de>
3127 * java/beans/beancontext/BeanContextSupport.java:
3128 New version from classpath.
3130 2003-06-27 Michael Koch <konqueror@gmx.de>
3132 * java/awt/Window.java,
3133 java/awt/font/GraphicAttribute.java,
3134 java/awt/font/ImageGraphicAttribute.java,
3135 java/awt/image/DataBufferByte.java,
3136 java/awt/image/DataBufferInt.java,
3137 java/awt/image/DataBufferUShort.java,
3138 java/awt/image/DirectColorModel.java,
3139 java/awt/image/PixelGrabber.java:
3140 New versions from classpath.
3142 2003-06-27 Michael Koch <konqueror@gmx.de>
3144 * java/security/Certificate.java
3145 (getGuarantor): Removed wrong @deprecated tag.
3146 (getPrincipal): Likewise.
3147 (getPublicKey): Likewise.
3150 (getFormat): Likewise.
3151 (toString): Likewise.
3152 * java/security/cert/PolicyQualifierInfo.java
3153 (PolicyQualifierInfo): Made final.
3154 * javax/security/auth/x500/X500Principal.java
3155 (serialVersionUID): New member variable.
3157 2003-06-27 Michael Koch <konqueror@gmx.de>
3159 * java/text/Format.java
3160 (serialVersionUID): Fixed value.
3162 2003-06-27 Michael Koch <konqueror@gmx.de>
3164 * java/net/Inet4Address.java
3165 (Inet4Address): Made package-private.
3166 * java/net/Inet6Address.java
3167 (Inet4Address): Made package-private.
3169 2003-06-27 Michael Koch <konqueror@gmx.de>
3171 * java/io/RandomAccessFile.java
3172 (readLine): Removed wrong @deprecated tag.
3173 (getChannel): Made final.
3175 2003-06-27 Michael Koch <konqueror@gmx.de>
3177 * gnu/java/nio/FileChannelImpl.java
3180 2003-06-27 Michael Koch <konqueror@gmx.de>
3182 * java/nio/ByteBufferImpl.java
3183 (ByteBufferImpl): Made it a package-private class
3184 * java/nio/CharBufferImpl.java
3185 (CharBufferImpl): Made it a package-private class
3186 * java/nio/DirectByteBufferImpl.java
3187 (DirectByteBufferImpl): Made it a package-private class
3188 * java/nio/DoubleBufferImpl.java
3189 (DoubleBufferImpl): Made it a package-private class
3190 * java/nio/FloatBufferImpl.java
3191 (FloatBufferImpl): Made it a package-private class
3192 * java/nio/IntBufferImpl.java
3193 (IntBufferImpl): Made it a package-private class
3194 * java/nio/LongBufferImpl.java
3195 (LongBufferImpl): Made it a package-private class
3196 * java/nio/ShortBufferImpl.java
3197 (ShortBufferImpl): Made it a package-private class
3198 * java/nio/channels/FileChannel.java
3199 (write): Made final.
3200 * java/nio/channels/ServerSocketChannel.java
3201 (ServerSocketChanne): Made protected.
3203 2003-06-27 Michael Koch <konqueror@gmx.de>
3205 * javax/naming/CompositeName.java
3206 (serialVersionUID): New member variable.
3207 * javax/naming/CompoundName.java
3208 (serialVersionUID): New member variable.
3209 * javax/naming/InitialContext.java
3210 (InitialContext): Throws NamingException.
3212 * javax/naming/LinkRef.java
3213 (serialVersionUID): New member variable.
3214 (gteLinkName): Throws NamingException.
3215 * javax/naming/NamingException.java
3216 (serialVersionUID): New member variable.
3217 * javax/naming/NamingSecurityException.java
3218 (NamingSecurityException): Made abstract.
3219 (serialVersionUID): New member variable.
3220 * javax/naming/ReferralException.java
3221 (serialVersionUID): New member variable.
3222 * javax/naming/StringRefAddr.java
3223 (serialVersionUID): New member variable.
3224 * javax/naming/directory/BasicAttribute.java:
3226 (serialVersionUID): New member variable.
3227 (get): Throws NamingException.
3228 (getAll): Throws NamingException.
3229 * javax/naming/directory/BasicAttributes.java:
3231 (serialVersionUID): New member variable.
3232 * javax/naming/ldap/UnsolicitedNotificationEvent.java
3233 (serialVersionUID): New member variable.
3235 2003-06-27 Michael Koch <konqueror@gmx.de>
3238 (awt_java_source_files): Added new files:
3239 javax/swing/Popup.java,
3240 javax/swing/PopupFactory.java
3241 * Makefile.in: Regenerated.
3243 2003-06-27 Michael Koch <konqueror@gmx.de>
3245 * javax/swing/JWindow.java,
3246 javax/swing/event/AncestorEvent.java,
3247 javax/swing/event/HyperlinkEvent.java,
3248 javax/swing/event/InternalFrameEvent.java,
3249 javax/swing/event/ListDataEvent.java,
3250 javax/swing/event/TableModelEvent.java,
3251 javax/swing/plaf/PopupMenuUI.java,
3252 javax/swing/plaf/SplitPaneUI.java,
3253 javax/swing/plaf/TabbedPaneUI.java,
3254 javax/swing/plaf/TextUI.java,
3255 javax/swing/plaf/TreeUI.java,
3256 javax/swing/plaf/basic/BasicTextUI.java,
3257 javax/swing/plaf/basic/BasicTreeUI.java:
3258 New versions from classpath.
3259 * javax/swing/Popup.java,
3260 javax/swing/PopupFactory.jav:
3261 New source files from classpath.
3262 * javax/swing/plaf/doc-files/TreeUI-1.png:
3263 New binary files from classpath.
3265 2003-06-25 Michael Koch <konqueror@gmx.de>
3268 (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
3269 * Makefile.in: Regenerated.
3271 2003-06-25 Michael Koch <konqueror@gmx.de>
3273 * javax/swing/plaf/ActionMapUIResource.java,
3274 javax/swing/plaf/BorderUIResource.java,
3275 javax/swing/plaf/ButtonUI.java,
3276 javax/swing/plaf/ColorChooserUI.java,
3277 javax/swing/plaf/ColorUIResource.java,
3278 javax/swing/plaf/ComboBoxUI.java,
3279 javax/swing/plaf/ComponentInputMapUIResource.java,
3280 javax/swing/plaf/ComponentUI.java,
3281 javax/swing/plaf/DesktopIconUI.java,
3282 javax/swing/plaf/DesktopPaneUI.java,
3283 javax/swing/plaf/DimensionUIResource.java,
3284 javax/swing/plaf/FileChooserUI.java,
3285 javax/swing/plaf/FontUIResource.java,
3286 javax/swing/plaf/IconUIResource.java,
3287 javax/swing/plaf/InputMapUIResource.java,
3288 javax/swing/plaf/InsetsUIResource.java,
3289 javax/swing/plaf/InternalFrameUI.java,
3290 javax/swing/plaf/LabelUI.java,
3291 javax/swing/plaf/ListUI.java,
3292 javax/swing/plaf/MenuBarUI.java,
3293 javax/swing/plaf/MenuItemUI.java,
3294 javax/swing/plaf/OptionPaneUI.java,
3295 javax/swing/plaf/PanelUI.java,
3296 javax/swing/plaf/ProgressBarUI.java,
3297 javax/swing/plaf/RootPaneUI.java,
3298 javax/swing/plaf/ScrollBarUI.java,
3299 javax/swing/plaf/ScrollPaneUI.java,
3300 javax/swing/plaf/SeparatorUI.java,
3301 javax/swing/plaf/SliderUI.java,
3302 javax/swing/plaf/TableHeaderUI.java,
3303 javax/swing/plaf/TableUI.java,
3304 javax/swing/plaf/ToolBarUI.java,
3305 javax/swing/plaf/ToolTipUI.java,
3306 javax/swing/plaf/ViewportUI.java:
3307 New versions from classpath.
3308 * javax/swing/plaf/SpinnerUI.java:
3309 New file from classpath
3311 2003-06-25 Michael Koch <konqueror@gmx.de>
3313 * java/awt/image/ColorModel.java:
3314 New version from classpath.
3316 2003-06-25 Michael Koch <konqueror@gmx.de>
3318 * java/net/PlainDatagramSocketImpl.java:
3319 Partly merged with classpath, this mainly adds documentation.
3321 2003-06-25 Michael Koch <konqueror@gmx.de>
3323 * java/io/ObjectInputStream.java
3324 (readClassDescriptor): New method.
3325 (readObject): Moved functionality to readClassDescriptor().
3326 * java/io/ObjectOutputStream.java
3327 (writeClassDescriptor): New method.
3328 (writeObject): Moved functionality to writeClassDescriptor().
3330 2003-06-25 Michael Koch <konqueror@gmx.de>
3332 * javax/swing/plaf/basic/BasicListUI.java,
3333 javax/swing/plaf/basic/BasicOptionPaneUI.java:
3334 Added missing methods.
3336 2003-06-25 Michael Koch <konqueror@gmx.de>
3338 * javax/swing/event/AncestorEvent.java
3339 javax/swing/event/HyperlinkEvent.java
3340 javax/swing/event/InternalFrameEvent.java
3341 javax/swing/event/ListDataEvent.java
3342 javax/swing/event/TableModelEvent.java:
3345 2003-06-24 Michael Koch <konqueror@gmx.de>
3347 * java/net/URL.java:
3348 Renamed "handler" to "ph" in the whole file to match classpaths
3350 * java/net/URLStreamHandler.java:
3351 (equals): Renamed "handler" to "ph".
3353 2003-06-24 Michael Koch <konqueror@gmx.de>
3355 * javax/swing/event/AncestorEvent.java,
3356 javax/swing/event/HyperlinkEvent.java,
3357 javax/swing/event/InternalFrameEvent.java,
3358 javax/swing/event/ListDataEvent.java,
3359 javax/swing/event/TableModelEvent.java,
3360 javax/swing/event/TreeWillExpandListener.java,
3361 javax/swing/plaf/ComponentUI.java,
3362 javax/swing/plaf/DesktopIconUI.java,
3363 javax/swing/plaf/DesktopPaneUI.java,
3364 javax/swing/plaf/DimensionUIResource.java,
3365 javax/swing/plaf/FileChooserUI.java,
3366 javax/swing/plaf/FontUIResource.java,
3367 javax/swing/plaf/IconUIResource.java,
3368 javax/swing/plaf/InputMapUIResource.java,
3369 javax/swing/plaf/InsetsUIResource.java,
3370 javax/swing/plaf/InternalFrameUI.java,
3371 javax/swing/plaf/LabelUI.java,
3372 javax/swing/plaf/ListUI.java,
3373 javax/swing/plaf/MenuBarUI.java,
3374 javax/swing/plaf/MenuItemUI.java,
3375 javax/swing/plaf/OptionPaneUI.java,
3376 javax/swing/plaf/PanelUI.java,
3377 javax/swing/plaf/ProgressBarUI.java,
3378 javax/swing/plaf/doc-files/ComponentUI-1.dia,
3379 javax/swing/plaf/doc-files/ComponentUI-1.png:
3380 New versions from classpath.
3382 2003-06-24 Michael Koch <konqueror@gmx.de>
3384 * java/nio/Buffer.java
3385 (cap): Made package-private.
3390 2003-06-24 Michael Koch <konqueror@gmx.de>
3392 * java/net/SocketImpl.java
3393 (shutdownInput): Made it non-abstract method throwing an exception
3395 (shutdownOutput): Likewise.
3396 * java/net/SocketInputStream.java,
3397 java/net/SocketOutputStream.java:
3398 New files from classpath.
3400 2003-06-24 Michael Koch <konqueror@gmx.de>
3402 * java/awt/Font.java,
3403 java/awt/Window.java,
3404 java/awt/color/ColorSpace.java,
3405 java/awt/datatransfer/StringSelection.java,
3406 java/awt/image/ColorModel.java:
3407 New versions from classpath.
3409 2003-06-24 Michael Koch <konqueror@gmx.de>
3412 (awt_java_source_files): Added new files:
3413 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
3414 javax/swing/plaf/basic/BasicSplitPaneUI.java
3415 * Makefile.in: Regenerated.
3417 2003-06-24 Michael Koch <konqueror@gmx.de>
3419 * javax/swing/text/JTextComponent.java:
3420 New version from classpath.
3422 2003-06-24 Michael Koch <konqueror@gmx.de>
3424 * javax/swing/Timer.java,
3425 javax/swing/plaf/ActionMapUIResource.java,
3426 javax/swing/plaf/ButtonUI.java,
3427 javax/swing/plaf/ColorChooserUI.java,
3428 javax/swing/plaf/ColorUIResource.java,
3429 javax/swing/plaf/ComboBoxUI.java,
3430 javax/swing/plaf/ComponentInputMapUIResource.java,
3431 javax/swing/plaf/basic/BasicBorders.java:
3432 New versions from classpath.
3433 * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
3434 javax/swing/plaf/basic/BasicSplitPaneUI.java:
3435 New file from classpath.
3436 * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
3437 javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
3438 javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
3439 javax/swing/plaf/doc-files/ComponentUI-1.dia,
3440 javax/swing/plaf/doc-files/ComponentUI-1.png:
3441 New binary files from classpath.
3443 2003-06-24 Michael Koch <konqueror@gmx.de>
3445 * java/io/LineNumberReader.java
3446 (skip): Dont do line number accounting here as this is already done in
3449 2003-06-21 Michael Koch <konqueror@gmx.de>
3452 (static): Load javaio lib if existing (only in classpath).
3453 (File): Revised documentation to show the correct argument name.
3454 (createTempFile): Partly merged with classpath.
3455 (compareTo): Simplified.
3456 (lastModified): Throw exception if time < 0.
3457 (deleteOnExit): Revised documentation.
3459 2003-06-21 Michael Koch <konqueror@gmx.de>
3461 * java/net/PlainSocketImpl.java:
3463 (PlainSocketImpl): Merged class documentaion with classpath.
3466 (PlainSocketImpl): New empty constructor.
3468 (setOption): Merged documentation from classpath.
3469 (getOption): Likewise.
3471 (connect): Likewise.
3475 (available): Likewise.
3479 (getInputStream): Made synchronozed to get sure that only one stream
3480 object can be created for this socket, merged documentation from
3482 (getOutputStream): Likewise.
3484 2003-06-21 Michael Koch <konqueror@gmx.de>
3486 * java/net/PlainSocketImpl.java:
3488 (static): New implicit method.
3489 (read): Made package private.
3492 2003-06-21 Michael Koch <konqueror@gmx.de>
3494 * java/util/SimpleTimeZone.java:
3495 Removed unneeded import, reformatting.
3497 2003-06-21 Michael Koch <konqueror@gmx.de>
3499 * java/text/DateFormat.java,
3500 java/text/SimpleDateFormat.java,
3501 java/util/Locale.java:
3502 New versions from classpath.
3504 2003-06-21 Michael Koch <konqueror@gmx.de>
3506 * javax/swing/SpinnerModel.java:
3507 New file from classpath.
3508 * javax/swing/border/LineBorder.java,
3509 javax/swing/border/SoftBevelBorder.java,
3510 javax/swing/plaf/BorderUIResource.java,
3511 javax/swing/plaf/basic/BasicBorders.java:
3512 New versions from classpath.
3513 * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
3514 javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
3515 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
3516 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
3517 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
3518 javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
3519 New binary files from classpath.
3521 2003-06-21 Michael Koch <konqueror@gmx.de>
3523 * java/util/logging/LogRecord.java,
3524 java/util/logging/Logger.java,
3525 java/util/logging/SocketHandler.java,
3526 java/util/logging/SimpleFormatter.java,
3527 java/util/logging/Formatter.java,
3528 java/util/logging/ErrorManager.java,
3529 java/util/logging/Handler.java,
3530 java/util/logging/FileHandler.java,
3531 java/util/logging/LogManager.java,
3532 java/util/logging/Level.java,
3533 java/util/logging/ConsoleHandler.java,
3534 java/util/logging/StreamHandler.java,
3535 java/util/logging/LoggingPermission.java,
3536 java/util/logging/Filter.java,
3537 java/util/logging/MemoryHandler.java,
3538 java/util/logging/XMLFormatter.java:
3539 New files from classpath.
3541 2003-06-20 Michael Koch <konqueror@gmx.de>
3543 * java/io/ObjectStreamField.java
3544 (unshared): new member variable.
3545 (ObjectStreamField): New constructor.
3546 (isUnshared): New method.
3548 2003-06-20 Michael Koch <konqueror@gmx.de>
3550 * java/net/URLStreamHandler.java
3551 (hostsEqual): Rewritten.
3553 2003-06-20 Michael Koch <konqueror@gmx.de>
3555 * gnu/java/nio/MappedByteFileBuffer.java,
3556 gnu/java/nio/natMappedByteFileBuffer.cc:
3558 * java/nio/MappedByteBufferImpl.java:
3560 * gnu/java/nio/FileChannelImpl.java:
3561 Use MappedByteBufferImpl instead of MappedByteFileBuffer.
3563 (ordinary_java_source_files): Removed
3564 gnu/java/nio/MappedByteFileBuffer.java and added
3565 java/nio/MappedByteBufferImpl.java.
3566 (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
3567 * Makefile.in: Regenerated.
3569 2003-06-19 Michael Koch <konqueror@gmx.de>
3571 * gnu/java/nio/DatagramChannelImpl.java
3573 (blocking): New member variable.
3575 (DatagramChannelImpl): Throws IOException, initialize socket.
3576 (socket):Implemented.
3577 (implCloseSelectableChannel): Throws IOException, implemented.
3578 (implConfigureBlocking): Likewise.
3579 (connect): Likewise.
3580 (disconnect): Likewise.
3581 (isConnected): Likewise.
3584 (receive): Throws IOException.
3586 * gnu/java/nio/SocketChannelImpl.java
3587 (read): Implemented.
3588 (write): Implemented.
3590 2003-06-19 Michael Koch <konqueror@gmx.de>
3592 * javax/swing/JComponent.java,
3593 javax/swing/JInternalFrame.java,
3594 javax/swing/MenuSelectionManager.java,
3595 javax/swing/SwingUtilities.java,
3596 javax/swing/ToggleButtonModel.java:
3597 New versions from classpath.
3599 2003-06-19 Michael Koch <konqueror@gmx.de>
3601 * java/text/CollationElementIterator.java
3602 (NULLORDER): Initialize with -1 as JDK documentation says.
3604 2003-06-19 Michael Koch <konqueror@gmx.de>
3606 * java/net/HttpURLConnection.java,
3607 java/net/Inet4Address.java,
3608 java/net/Inet6Address.java,
3609 java/net/SocketImpl.java,
3610 java/net/URLClassLoader.java:
3611 Reworked import statements.
3612 * java/net/InetAddress.java
3613 (getByAddress): Simplified.
3614 * java/net/ServerSocket.java
3615 (ServerSocket): Moved special handling during bind operation to
3617 (bind): Handle different cases when trying to bind a socket.
3618 * java/net/URLConnection.java
3619 (getHeaderFieldDate): Merged with classpath.
3620 (getHeaderFieldInt): Likewise.
3622 2003-06-19 Michael Koch <konqueror@gmx.de>
3624 * java/util/zip/InflaterInputStream.java
3625 (InflaterInputStream): Throw NullPointerException if in is null (as
3628 2003-06-19 Michael Koch <konqueror@gmx.de>
3630 * java/awt/Font.java
3631 javax/swing/UIManager.java
3632 javax/swing/border/AbstractBorder.java
3633 javax/swing/border/BevelBorder.java
3634 javax/swing/border/Border.java
3635 javax/swing/border/CompoundBorder.java
3636 javax/swing/border/EmptyBorder.java
3637 javax/swing/border/EtchedBorder.java
3638 javax/swing/border/LineBorder.java
3639 javax/swing/border/MatteBorder.java
3640 javax/swing/border/TitledBorder.java
3641 javax/swing/plaf/BorderUIResource.java
3642 javax/swing/plaf/basic/BasicBorders.java
3643 javax/swing/plaf/basic/BasicButtonUI.java
3644 javax/swing/plaf/basic/BasicCheckBoxUI.java
3645 javax/swing/plaf/basic/BasicGraphicsUtils.java
3646 javax/swing/plaf/basic/BasicLabelUI.java
3647 javax/swing/plaf/basic/BasicRadioButtonUI.java
3648 javax/swing/plaf/basic/BasicToggleButtonUI.java:
3649 New versions from classpath.
3650 * javax/swing/border/SoftBevelBorder.java:
3651 New file from classpath.
3652 * javax/swing/border/doc-files/LineBorder-1.png,
3653 javax/swing/border/doc-files/BevelBorder-1.png,
3654 javax/swing/border/doc-files/BevelBorder-2.png,
3655 javax/swing/border/doc-files/BevelBorder-3.png,
3656 javax/swing/border/doc-files/EmptyBorder-1.png,
3657 javax/swing/border/doc-files/EtchedBorder-1.png,
3658 javax/swing/border/doc-files/EtchedBorder-2.png,
3659 javax/swing/border/doc-files/MatteBorder-1.png,
3660 javax/swing/border/doc-files/MatteBorder-2.png,
3661 javax/swing/border/doc-files/MatteBorder-3.png,
3662 javax/swing/border/doc-files/MatteBorder-4.png,
3663 javax/swing/border/doc-files/MatteBorder-5.png,
3664 javax/swing/border/doc-files/MatteBorder-6.png,
3665 javax/swing/border/doc-files/SoftBevelBorder-1.png,
3666 javax/swing/border/doc-files/SoftBevelBorder-2.png,
3667 javax/swing/border/doc-files/SoftBevelBorder-3.png,
3668 javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
3669 javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
3670 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
3671 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
3672 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
3673 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
3674 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
3675 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
3676 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
3677 New binary files from classpath.
3679 (awt_java_source_files): Added
3680 javax/swing/border/SoftBevelBorder.java.
3681 * Makefile.in: Regenerated.
3683 2003-06-19 Michael Koch <konqueror@gmx.de>
3685 * gnu/java/security/x509/X509Certificate.java
3686 (writeReplace): Merged from classpath.
3688 2003-06-19 Michael Koch <konqueror@gmx.de>
3690 * gnu/java/nio/FileChannelImpl.java
3691 (map_address): Made public.
3692 (FileChannelImpl): Merged with classpath.
3693 * gnu/java/nio/natFileChannelImpl.cc
3694 (nio_mmap_file): Commented out unused arguments.
3695 (nio_unmmap_file): Likewise.
3696 (niu_msync): Likewise.
3698 2003-06-19 Michael Koch <konqueror@gmx.de>
3700 * java/awt/image/IndexColorModel.java:
3701 New version from classpath.
3703 2003-06-18 Tom Tromey <tromey@redhat.com>
3705 * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
3707 (isLoopbackAddress): Likewise.
3708 * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
3711 2003-06-18 Matt Kraai <kraai@alumni.cmu.edu>
3713 * java/lang/natVMSecurityManager.cc (getClassContext):
3714 Use maxlen instead of len for loop bound.
3716 2003-06-18 Michael Koch <konqueror@gmx.de>
3718 * gnu/java/nio/SelectorImpl.java
3719 (register): Use fd with value 0 for now, will be fixed later.
3720 * gnu/java/nio/ServerSocketChannelImpl.java
3722 (local_port): Removed.
3723 (InetSocketAddress): Removed.
3724 (ServerSocketChannelImpl): Just initialize internal socket object.
3725 (implCloseSelectableChannel): Close internal socket object.
3726 (implConfigureBlocking): Added comment.
3727 (accept): Use jaba.net stuff to accept socket.
3728 * gnu/java/nio/SocketChannelImpl.java
3730 (local_port): Removed.
3731 (InetSocketAddress): Removed.
3732 (SocketCreate): Removed.
3733 (SocketConnect): Removed.
3734 (SocketBind): Removed.
3735 (SocketListen): Removed.
3736 (SocketAvailable): Removed.
3737 (SocketClose): Removed.
3738 (SocketRead): Removed.
3739 (SocketWrite): Removed.
3740 (SocketChannelImpl): Just initialize internal socket object.
3741 (implCloseSelectableChannel): Close internal socket object.
3742 (implConfigureBlocking): Fixed implementation, added comment.
3743 (connect): Use internal socket object to connect.
3744 (socket): No need for sanity checks.
3745 (read): Comment out some stuff, this will be reimplemented in the next
3748 * gnu/java/nio/natFileChannelImpl.cc
3749 (nio_mmap_file): Line wrapped.
3750 * gnu/java/nio/natSocketChannelImpl.cc: Removed.
3752 (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
3753 * Makefile.in: Regenerated.
3755 2003-06-18 Michael Koch <konqueror@gmx.de>
3757 * java/util/Locale.java
3758 (equals): Merged from classpath.
3760 2003-06-18 Michael Koch <konqueror@gmx.de>
3762 * java/net/InetAddress.java:
3763 Reformatted to better match classpath's version.
3765 (equals): Simplified.
3766 * java/net/URLConnection.java
3767 (setDoInput): Revised documentation.
3768 (getDefaultUseCaches): Likewise.
3769 (setRequestProperty): Added @since tag.
3771 2003-06-17 Michael Koch <konqueror@gmx.de>
3773 * java/net/InetSocketAddress.java
3774 (InetSocketAddress): Use wildcard address if addr is null.
3775 (InetSocketAddress): Dont duplicate implementation.
3776 (InetSocketAddress): Throw exception when hostname is null.
3777 * java/net/Socket.java:
3779 (Socket): Throw exception when raddr is null, handle case when laddr
3782 2003-06-17 Michael Koch <konqueror@gmx.de>
3784 * java/nio/DirectByteBufferImpl.java
3785 (address): Made package private.
3786 (DirectByteBufferImpl): New constructor.
3787 * java/nio/natDirectByteBufferImpl.cc
3788 (allocateImpl): Moved to java.nio namespace, implemented.
3789 (freeImpl): Likewise.
3790 (getImpl): Likewise.
3791 (putImpl): Likewise.
3793 (_Jv_JNI_NewDirectByteBuffer): Implemented.
3794 (_Jv_JNI_GetDirectBufferAddress): Implemented.
3795 (_Jv_JNI_GetDirectBufferCapacity): Implemented.
3797 2003-06-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3799 * include/powerpc-signal.h: New File.
3800 * configure.in: Use it.
3801 * configure: Regenerated.
3803 2003-06-17 Michael Koch <konqueror@gmx.de>
3805 * java/util/Locale.java
3806 (getDisplayLanguage): Made it final.
3807 (getDisplayCountry): Likewise.
3808 (getDisplayVariant): Likewise.
3809 (getDisplayName): Likewise.
3811 2003-06-17 Michael Koch <konqueror@gmx.de>
3813 * java/util/PropertyResourceBundle.java:
3814 Removed unneeded import.
3816 2003-06-17 Michael Koch <konqueror@gmx.de>
3818 * java/util/prefs/AbstractPreferences.java,
3819 java/util/prefs/PreferencesFactory.java:
3820 Reworked imports, removed unused imports.
3821 * java/util/prefs/Preferences.java
3822 (systemNodeForPackage): Method takes a Class not an Object.
3823 (userNodeForPackage): Likewise.
3824 (nodeForPackage): Likewise.
3826 2003-06-17 Michael Koch <konqueror@gmx.de>
3828 * gnu/java/security/x509/X509Certificate.java:
3829 Explicitely import used classes.
3831 2003-06-17 Michael Koch <konqueror@gmx.de>
3833 * java/util/zip/ZipEntry.java,
3834 java/util/zip/ZipFile.java,
3835 java/util/zip/ZipInputStream.java,
3836 java/util/zip/ZipOutputStream.java:
3837 Reworked imports, only import used classes.
3839 2003-06-17 Michael Koch <konqueror@gmx.de>
3841 * gnu/java/lang/ArrayHelper.java,
3842 gnu/java/lang/ClassHelper.java:
3843 Reformatted to match classpath's versions.
3845 2003-06-14 Michael Koch <konqueror@gmx.de>
3847 * gnu/java/nio/FileChannelImpl.java
3848 (map_address): Removed incorrect comment.
3849 * gnu/java/nio/SelectorImpl.java
3850 (register): Remove code duplication and code for file channel handling.
3851 * gnu/java/nio/ServerSocketChannelImpl.java
3852 (serverSocket): Renamed from sock_object.
3853 (ServerSocketChannel): Initialize serverSocket.
3854 (socket): Return serverSocket.
3855 * gnu/java/nio/SocketChannelImpl.java
3856 (socket): Renamed from sock_object.
3857 (isConnectionPenging): Simplified.
3858 (socket): Return socket.
3859 2003-06-14 Michael Koch <konqueror@gmx.de>
3861 * java/security/BasicPermission.java:
3862 New version from classpath.
3864 2003-06-14 Michael Koch <konqueror@gmx.de>
3866 * javax/naming/directory/Attribute.java:
3867 New version from classpath.
3869 2003-06-14 Michael Koch <konqueror@gmx.de>
3871 * java/io/BufferedReader.java,
3872 java/io/FileOutputStream.java:
3873 New versions from classpath.
3875 2003-06-12 Andrew Haley <aph@redhat.com>
3877 * prims.cc (catch_segv): Create exception in handler.
3878 (catch_fpe): Likewise.
3879 (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
3880 (_Jv_ThrowSignal): Remove.
3882 * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
3883 * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
3884 to nullp and arithexception.
3885 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
3886 * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
3887 * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
3888 * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
3889 * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
3891 2003-06-11 Andrew Haley <aph@redhat.com>
3893 * jni.cc (_Jv_JNI_check_types): New.
3894 (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
3895 (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
3896 (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
3897 (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
3899 * java/lang/natVMSecurityManager.cc (getClassContext): Fix
3902 2003-06-11 Tom Tromey <tromey@redhat.com>
3904 * java/lang/ClassLoader.java (loadClass): Not deprecated.
3905 * java/io/PrintStream.java: Not deprecated.
3907 2003-06-11 Scott Gilbertson <scottg@mantatest.com>
3909 * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
3910 (fillOval): implemented
3911 * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
3912 (fillArc): implemented.
3913 * gnu/gcj/xlib/GC.java (drawArc): added native method.
3914 (fillArc): added native method.
3915 * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
3916 (fillArc): added native method.
3918 2003-06-11 Michael Koch <konqueror@gmx.de>
3920 * java/awt/im/InputSubset.java:
3921 New version from classpath.
3923 2003-06-11 Michael Koch <konqueror@gmx.de>
3925 * javax/swing/AbstractAction.java,
3926 javax/swing/AbstractButton.java,
3927 javax/swing/AbstractCellEditor.java,
3928 javax/swing/AbstractListModel.java,
3929 javax/swing/BorderFactory.java,
3930 javax/swing/Box.java,
3931 javax/swing/BoxLayout.java,
3932 javax/swing/ButtonGroup.java,
3933 javax/swing/DefaultButtonModel.java,
3934 javax/swing/DefaultListModel.java,
3935 javax/swing/DefaultListSelectionModel.java,
3936 javax/swing/FocusManager.java,
3937 javax/swing/ImageIcon.java,
3938 javax/swing/InputMap.java,
3939 javax/swing/JApplet.java,
3940 javax/swing/JButton.java,
3941 javax/swing/JCheckBox.java,
3942 javax/swing/JCheckBoxMenuItem.java,
3943 javax/swing/JColorChooser.java,
3944 javax/swing/JComboBox.java,
3945 javax/swing/JComponent.java,
3946 javax/swing/JDesktopPane.java,
3947 javax/swing/JDialog.java,
3948 javax/swing/JEditorPane.java,
3949 javax/swing/JFileChooser.java,
3950 javax/swing/JFormattedTextField.java,
3951 javax/swing/JFrame.java,
3952 javax/swing/JLabel.java,
3953 javax/swing/JLayeredPane.java,
3954 javax/swing/JList.java,
3955 javax/swing/JMenuBar.java,
3956 javax/swing/JMenuItem.java,
3957 javax/swing/JOptionPane.java,
3958 javax/swing/JPanel.java,
3959 javax/swing/JPasswordField.java,
3960 javax/swing/JPopupMenu.java,
3961 javax/swing/JProgressBar.java,
3962 javax/swing/JRadioButton.java,
3963 javax/swing/JRadioButtonMenuItem.java,
3964 javax/swing/JRootPane.java,
3965 javax/swing/JScrollBar.java,
3966 javax/swing/JScrollPane.java,
3967 javax/swing/JSeparator.java,
3968 javax/swing/JSlider.java,
3969 javax/swing/JTabbedPane.java,
3970 javax/swing/JTable.java,
3971 javax/swing/JTextField.java,
3972 javax/swing/JToggleButton.java,
3973 javax/swing/JToolBar.java,
3974 javax/swing/JToolTip.java,
3975 javax/swing/JTree.java,
3976 javax/swing/JViewport.java,
3977 javax/swing/JWindow.java,
3978 javax/swing/KeyStroke.java,
3979 javax/swing/ListSelectionModel.java,
3980 javax/swing/LookAndFeel.java,
3981 javax/swing/RepaintManager.java,
3982 javax/swing/ScrollPaneLayout.java,
3983 javax/swing/SizeRequirements.java,
3984 javax/swing/SwingConstants.java,
3985 javax/swing/Timer.java,
3986 javax/swing/UIDefaults.java,
3987 javax/swing/UIManager.java,
3988 javax/swing/border/AbstractBorder.java,
3989 javax/swing/border/CompoundBorder.java,
3990 javax/swing/colorchooser/AbstractColorChooserPanel.java,
3991 javax/swing/colorchooser/ColorChooserComponentFactory.java,
3992 javax/swing/colorchooser/ColorSelectionModel.java,
3993 javax/swing/colorchooser/DefaultColorSelectionModel.java,
3994 javax/swing/event/AncestorEvent.java,
3995 javax/swing/event/HyperlinkEvent.java,
3996 javax/swing/event/InternalFrameAdapter.java,
3997 javax/swing/event/InternalFrameEvent.java,
3998 javax/swing/event/ListDataEvent.java,
3999 javax/swing/event/MouseInputAdapter.java,
4000 javax/swing/event/SwingPropertyChangeSupport.java,
4001 javax/swing/event/TableModelEvent.java,
4002 javax/swing/event/TreeWillExpandListener.java,
4003 javax/swing/event/UndoableEditEvent.java,
4004 javax/swing/filechooser/FileFilter.java,
4005 javax/swing/filechooser/FileSystemView.java,
4006 javax/swing/filechooser/FileView.java,
4007 javax/swing/plaf/BorderUIResource.java,
4008 javax/swing/plaf/basic/BasicDefaults.java,
4009 javax/swing/table/AbstractTableModel.java,
4010 javax/swing/table/DefaultTableCellRenderer.java,
4011 javax/swing/table/DefaultTableColumnModel.java,
4012 javax/swing/table/DefaultTableModel.java,
4013 javax/swing/table/TableColumn.java,
4014 javax/swing/text/JTextComponent.java,
4015 javax/swing/tree/AbstractLayoutCache.java,
4016 javax/swing/tree/DefaultMutableTreeNode.java,
4017 javax/swing/tree/DefaultTreeCellEditor.java,
4018 javax/swing/tree/DefaultTreeCellRenderer.java,
4019 javax/swing/tree/DefaultTreeModel.java,
4020 javax/swing/tree/DefaultTreeSelectionModel.java,
4021 javax/swing/tree/FixedHeightLayoutCache.java,
4022 javax/swing/tree/TreeCellEditor.java,
4023 javax/swing/tree/TreeModel.java,
4024 javax/swing/tree/TreeNode.java,
4025 javax/swing/tree/TreePath.java,
4026 javax/swing/tree/TreeSelectionModel.java,
4027 javax/swing/tree/VariableHeightLayoutCache.java,
4028 javax/swing/undo/AbstractUndoableEdit.java,
4029 javax/swing/undo/CompoundEdit.java,
4030 javax/swing/undo/StateEdit.java,
4031 javax/swing/undo/UndoManager.java,
4032 javax/swing/undo/UndoableEditSupport.java:
4033 New versions from classpath.
4034 * javax/swing/table/JTableHeader.java:
4035 New file from classpath.
4037 (java_awt_sources): Added javax/swing/table/JTableHeader.java.
4038 * Makefile.in: Regenerated.
4040 2003-06-11 Michael Koch <konqueror@gmx.de>
4042 * java/nio/MappedByteBuffer.java,
4043 java/nio/channels/Channels.java,
4044 java/nio/channels/ServerSocketChannel.java,
4045 java/nio/channels/spi/AbstractSelector.java:
4046 Removed unneeded imports.
4048 2003-06-11 Michael Koch <konqueror@gmx.de>
4050 * java/net/DatagramSocket.java:
4051 Partly merged with classpath.
4053 2003-06-11 Michael Koch <konqueror@gmx.de>
4055 * java/awt/Frame.java,
4056 java/awt/Graphics.java,
4058 java/awt/Robot.java,
4059 java/awt/image/ColorModel.java:
4060 New versions from classpath.
4062 2003-06-10 Michael Koch <konqueror@gmx.de>
4064 * java/io/PrintStream.java:
4065 Merged version from classpath.
4066 (close): Removed sychronized keyword. This class is not garantied to
4070 2003-06-09 Tom Tromey <tromey@redhat.com>
4072 * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
4074 (getDescent): Likewise, for "descent".
4076 2003-06-09 Scott Gilbertson <scottg@mantatest.com>
4078 * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
4079 (getMaxDescent): adjusted return value.
4080 (getAscent): modified to use metrics for 'O'.
4081 (getDescent): modified to use metrics for 'y'.
4083 2003-06-08 Anthony Green <green@redhat.com>
4085 * java/net/URLStreamHandler.java (sameFile): Fix port value
4087 * java/net/URL.java (handler): Make package private.
4088 * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
4090 2003-06-07 Tom Tromey <tromey@redhat.com>
4092 For PR libgcj/11085:
4093 * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
4094 Limit number of characters in numeric field when required.
4095 * java/text/DecimalFormat.java (parse(String,ParsePosition)):
4096 Respect maximumIntegerDigits.
4098 2003-06-08 Michael Koch <konqueror@gmx.de>
4100 * java/net/Socket.java
4101 (Socket): Dont initialize inputShutdown and outputShutdown twice,
4102 call bind() and connect() to actually do the bind and connect tasks.
4103 (bind): Connect to canonical address if bindpoint is null, create
4104 socket and bind it to bindpoint.
4105 (connect): Check for exceptions.
4107 2003-06-08 Michael Koch <konqueror@gmx.de>
4109 * java/net/DatagramSocket.java
4110 (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
4111 into the Multicast constructors.
4112 * java/net/DatagramSocketImpl.java
4113 (getOption): Removed.
4114 (setOption): Removed.
4115 * java/net/MulticastSocket.java
4116 (MulticastSocket): Call setReuseAddress (true).
4117 * java/net/SocketImpl.java
4118 (getOption): Removed.
4119 (setOption): Removed.
4121 2003-06-07 Jeff Sturm <jsturm@one-point.com>
4124 * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
4125 Test for empty vector.
4127 2003-06-06 Mark Wielaard <mark@klomp.org>
4129 * java/security/Security.java (secprops): Initialize.
4130 (loadProviders): Return boolean.
4131 (static): Check result of loadProvider calls. If necessary
4132 display WARNING and fallback to Gnu provider.
4134 2002-06-06 James Clark <jjc@jclark.com>
4136 Fix for PR libgcj/8738:
4137 * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
4138 * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
4139 * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
4140 * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
4141 (write): Always decrease avail when count is increased.
4142 * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
4143 and whether output buffer is full before increasing size.
4145 2002-06-06 Mark Wielaard <mark@klomp dot org>
4147 * java/io/PrintStream.java (writeChars(char[],int, int)):
4148 Check converter.havePendingBytes().
4149 (writeChars(String,int,int)): Likewise.
4150 * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
4151 Check converter.havePendingBytes() and flush buffer when stalled.
4153 2003-06-07 Michael Koch <konqueror@gmx.de>
4156 (O_DSYNC): Define O_DSYNC on platforms not
4157 supporting O_FSYNC (newlib).
4159 2003-06-06 Mark Wielaard <mark@klomp.org>
4161 * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
4164 2003-06-06 Michael Koch <konqueror@gmx.de>
4166 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
4167 More compile fixes from my stupid work yesterday.
4169 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
4171 * java/lang/w_exp.c (o_threshold, u_threshold): Define only
4172 if _IEEE_LIBM is undefined.
4174 2002-06-05 Loren J. Rittle <ljrittle@acm.org>
4176 * libjava/include/posix.h (O_SYNC): Define if not available
4177 and a reasonable, perhaps more conservative, replacement exists.
4178 (O_DSYNC): Likewise.
4179 * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
4181 2003-06-05 Michael Koch <konqueror@gmx.de>
4183 * javax/swing/plaf/BorderUIResource.java,
4184 javax/swing/plaf/basic/BasicDefaults.java,
4185 javax/swing/plaf/basic/BasicOptionPaneUI.java:
4186 More compile fixes for latest Border commit. I should not commit
4187 something in this heat here ...
4189 2003-06-05 Michael Koch <konqueror@gmx.de>
4191 * javax/swing/border/BevelBorder.java
4192 (BevelBorder): Removed.
4193 * javax/swing/border/EmptyBorder.java:
4195 (EmptyBorder): Removed.
4196 (getBorderInsets): Dont use l, r, t and b.
4197 * javax/swing/border/EtchedBorder.java
4198 (EtchedBorder): Removed.
4199 * javax/swing/border/LineBorder.java
4200 (LineBorder): Removed.
4201 * javax/swing/border/MatteBorder.java
4202 (MatteBorder): Removed.
4203 * javax/swing/border/TitledBorder.java
4204 (defaultBorder): Use other default for now.
4205 (defaultFont): Likewise.
4206 (defaultColor): Likewise.
4208 2003-06-05 Michael Koch <konqueror@gmx.de>
4210 * javax/swing/border/Border.java:
4211 New version from classpath.
4213 2003-06-05 Michael Koch <konqueror@gmx.de>
4215 * javax/swing/border/AbstractBorder.java,
4216 javax/swing/border/BevelBorder.java,
4217 javax/swing/border/CompoundBorder.java,
4218 javax/swing/border/EmptyBorder.java,
4219 javax/swing/border/EtchedBorder.java,
4220 javax/swing/border/LineBorder.java,
4221 javax/swing/border/MatteBorder.java,
4222 javax/swing/border/TitledBorder.java:
4223 New versions from Classpath.
4225 2003-06-05 Michael Koch <konqueror@gmx.de>
4227 * java/awt/Button.java,
4228 java/awt/Checkbox.java,
4229 java/awt/CheckboxMenuItem.java,
4230 java/awt/Choice.java,
4231 java/awt/Container.java,
4232 java/awt/Dialog.java,
4233 java/awt/EventQueue.java,
4234 java/awt/FileDialog.java,
4235 java/awt/Frame.java,
4236 java/awt/Label.java,
4239 java/awt/MenuItem.java,
4240 java/awt/Panel.java,
4241 java/awt/PopupMenu.java,
4242 java/awt/Rectangle.java,
4243 java/awt/ScrollPane.java,
4244 java/awt/Scrollbar.java,
4245 java/awt/TextArea.java,
4246 java/awt/TextField.java,
4247 java/awt/Window.java,
4248 java/awt/datatransfer/DataFlavor.java,
4249 java/awt/dnd/DragSource.java,
4250 java/awt/dnd/DragSourceContext.java,
4251 java/awt/event/HierarchyEvent.java,
4252 java/awt/event/MouseWheelEvent.java,
4253 java/awt/im/InputContext.java,
4254 java/awt/image/BufferedImage.java,
4255 java/awt/image/ComponentColorModel.java,
4256 java/awt/image/Raster.java,
4257 java/awt/image/WritableRaster.java,
4258 java/awt/peer/ComponentPeer.java,
4259 java/awt/print/PageFormat.java,
4260 java/awt/print/PrinterJob.java:
4261 New versions from Classpath.
4263 2003-06-05 Scott Gilbertson <scottg@mantatest.com>
4265 * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
4266 numberFormat.setParseIntegerOnly(true).
4268 2003-06-05 Bert Deknuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
4270 * include/posix-threads.h: Include <machine/pal.h> on OSF.
4272 2003-06-03 Andrew Haley <aph@redhat.com>
4274 * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
4275 stack volatile to prevent optimization from removing it.
4277 2003-05-27 Michael Koch <konqueror@gmx.de>
4279 * java/util/zip/Deflater.java
4280 (FILTERED): Merged documentation from classpath.
4281 * java/util/zip/DeflaterOutputStream.java
4282 (DeflaterOutputStream): Merged documentation and argument validity
4283 check from classpath.
4284 (deflate): Merged documentation from classpath.
4286 * java/util/zip/Inflater.java
4287 (Inflater): Merged class documentation from classpath.
4288 (zstream): Reordered.
4289 (is_finished): Reordered.
4290 (dict_needed): Reordered.
4291 (Inflater): Reordered, merged documentation from classpath.
4293 (finalize): Merged documentation from classpath.
4294 (finished): Likewise.
4295 (getAdler): Likewise.
4296 (getRemaining): Likewise.
4297 (getTotalIn): Likewise.
4298 (getTotalOut): Likewise.
4299 (inflate): Likewise.
4300 (needsDictionary): Likewise.
4301 (needsInput): Likewise.
4303 (setDictionary): Likewise.
4304 (setInput): Likewise.
4306 2003-05-27 Michael Koch <konqueror@gmx.de>
4308 * java/net/URLConnection.java
4309 (getHeaderFieldInt): Merged with classpath.
4311 2003-05-27 Michael Koch <konqueror@gmx.de>
4313 * java/io/PrintStream.java
4314 (PrintStream): Reformatted.
4315 (PrintStream): New method, merged from classpath.
4316 (write): Reformatted.
4318 2003-05-27 Michael Koch <konqueror@gmx.de>
4320 * java/lang/System.java:
4321 Explicitely import needed classes.
4323 2003-05-26 Michael Koch <konqueror@gmx.de>
4325 * java/net/NetPermission.java,
4326 java/net/NetworkInterface.java,
4327 java/net/PasswordAuthentication.java,
4328 java/net/SocketPermission.java:
4329 New versions from classpath.
4331 2003-05-25 Michael Koch <konqueror@gmx.de>
4333 * java/io/PushbackInputStream.java,
4334 java/net/Authenticator.java,
4335 java/net/ContentHandler.java,
4336 java/net/ContentHandlerFactory.java,
4337 java/net/DatagramSocket.java,
4338 java/net/DatagramSocketImpl.java,
4339 java/net/DatagramSocketImplFactory.java,
4340 java/net/FileNameMap.java,
4341 java/net/SocketImplFactory.java,
4342 java/net/SocketOptions.java,
4343 java/net/URLStreamHandlerFactory.java:
4344 Merged new versions from classpath.
4346 2003-05-25 Michael Koch <konqueror@gmx.de>
4348 * java/awt/Checkbox.java,
4349 java/awt/Dialog.java,
4351 java/awt/Frame.java,
4352 java/awt/ScrollPaneAdjustable.java,
4353 java/awt/Scrollbar.java,
4354 java/awt/Window.java:
4355 New versions from classpath.
4357 2003-05-22 Jeff Sturm <jsturm@one-point.com>
4360 * java/io/ObjectInputStream (enableResolveObject):
4361 Fixed spelling of permission name.
4363 2003-05-20 Michael Koch <konqueror@gmx.de>
4365 * java/io/DataInputStream.java
4366 (convertFromUTF): Merged comment from classpath.
4367 * java/io/PrintStream.java
4368 (error_occured): Renamed from error, merged comment from classpath.
4369 (PrintStream): No need to initialized error.
4370 (checkError): Replace error with error_occurred.
4371 (setError): Likewise.
4373 2003-05-20 Michael Koch <konqueror@gmx.de>
4375 * java/io/DataInputStream.java:
4376 Reformatted, Replaced < and & with html entitites in documentation.
4377 * java/io/File.java:
4379 * java/io/PrintWriter.java:
4380 Moved class documentation.
4382 2003-05-20 Michael Koch <konqueror@gmx.de>
4384 * gnu/java/nio/ByteBufferImpl.java,
4385 gnu/java/nio/CharBufferImpl.java,
4386 gnu/java/nio/CharViewBufferImpl.java,
4387 gnu/java/nio/DirectByteBufferImpl.java,
4388 gnu/java/nio/DoubleBufferImpl.java,
4389 gnu/java/nio/DoubleViewBufferImpl.java,
4390 gnu/java/nio/FloatBufferImpl.java,
4391 gnu/java/nio/FloatViewBufferImpl.java,
4392 gnu/java/nio/IntBufferImpl.java,
4393 gnu/java/nio/IntViewBufferImpl.java,
4394 gnu/java/nio/LongBufferImpl.java,
4395 gnu/java/nio/LongViewBufferImpl.java,
4396 gnu/java/nio/natDirectByteBufferImpl.cc,
4397 gnu/java/nio/ShortBufferImpl.java,
4398 gnu/java/nio/ShortViewBufferImpl.java:
4399 Moved files to java/nio.
4400 * gnu/java/nio/SocketChannelImpl.java
4402 * java/nio/ByteBuffer.java,
4403 java/nio/CharBuffer.java,
4404 java/nio/DoubleBuffer.java,
4405 java/nio/FloatBuffer.java,
4406 java/nio/IntBuffer.java,
4407 java/nio/LongBuffer.java,
4408 java/nio/ShortBuffer.java:
4409 Dont import anything.
4410 * java/nio/ByteBufferImpl.java,
4411 java/nio/CharBufferImpl.java,
4412 java/nio/CharViewBufferImpl.java,
4413 java/nio/DirectByteBufferImpl.java,
4414 java/nio/DoubleBufferImpl.java,
4415 java/nio/DoubleViewBufferImpl.java,
4416 java/nio/FloatBufferImpl.java,
4417 java/nio/FloatViewBufferImpl.java,
4418 java/nio/IntBufferImpl.java,
4419 java/nio/IntViewBufferImpl.java,
4420 java/nio/LongBufferImpl.java,
4421 java/nio/LongViewBufferImpl.java,
4422 java/nio/natDirectByteBufferImpl.cc,
4423 java/nio/ShortBufferImpl.java,
4424 java/nio/ShortViewBufferImpl.java:
4425 Moved from gnu/java/nio.
4427 (ordinary_java_source_files): Moved files from gnu/java/nio to
4429 (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
4431 * Makefile.in: Regenerated.
4433 2003-05-19 Michael Koch <konqueror@gmx.de>
4435 * java/util/Calendar.java
4436 (get): Not final anymore since JDK 1.4
4439 2003-05-19 Michael Koch <konqueror@gmx.de>
4441 * java/text/CollationKey.java:
4442 Merged copyright and dat from classpath.
4443 * java/text/RuleBasedCollator.java:
4444 Merged class documentation from classpath.
4446 2003-05-19 Michael Koch <konqueror@gmx.de>
4448 * java/nio/CharBuffer.java
4449 (toString): Compile fix.
4451 2003-05-19 Michael Koch <konqueror@gmx.de>
4453 * gnu/java/nio/ByteBufferImpl.java
4454 (putLong): Fixed conversion to bytes.
4455 (putDouble): Fixed conversion to bytes.
4456 * gnu/java/nio/DirectByteBufferImpl.java
4457 (putLong): Fixed conversion to bytes.
4458 (putDouble): Fixed conversion to bytes.
4459 * gnu/java/nio/FileLockImpl.java
4460 (isValid): Reformatted.
4461 * java/nio/Buffer.java
4462 (Buffer): Fixed off-by-one bug in handling mark.
4463 * java/nio/ByteBuffer.java:
4465 * java/nio/CharBuffer.java
4466 (toString): Don't use relative get to get string data.
4468 2003-05-16 Michael Koch <konqueror@gmx.de>
4470 * java/io/natFileDescriptorPosix.cc
4471 (open): Commented out the O_SYNC and O_DSYNC usage until its better
4474 2003-05-14 Michael Koch <konqueror@gmx.de>
4476 * gnu/java/nio/FileLockImpl.java
4477 (released): New member variable.
4478 (FileLockImpl): Initialize released.
4479 (releaseImpl): New native method.
4480 (release): Implemented.
4481 * gnu/java/nio/SelectorImpl.java: Reformatted.
4482 * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
4483 * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
4484 (accept): Throws IOException.
4485 * gnu/java/nio/SocketChannelImpl.java: Reformatted.
4486 (implConfigureBlocking): Throws IOException.
4487 (connect): Likewise.
4490 * gnu/java/nio/natFileLockImpl.cc: New file.
4491 * java/nio/channels/FileLock.java: Reformatted.
4493 (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
4494 (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
4495 * Makefile.in: Regenerated.
4497 2003-05-13 Michael Koch <konqueror@gmx.de>
4499 * gnu/java/nio/CharViewBufferImpl.java
4500 (CharViewBufferImpl): Fixed super constructor call, initialize offset.
4501 (get): Shift bits to the right direction.
4503 * gnu/java/nio/DoubleViewBufferImpl.java
4504 (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
4505 (get): Shift bits to the right direction.
4507 * gnu/java/nio/FloatViewBufferImpl.java
4508 (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
4509 (get): Shift bits to the right direction.
4511 * gnu/java/nio/IntViewBufferImpl.java
4512 (IntViewBufferImpl): Fixed super constructor call, initialize offset.
4513 (get): Shift bits to the right direction.
4515 * gnu/java/nio/LongViewBufferImpl.java
4516 (LongViewBufferImpl): Fixed super constructor call, initialize offset.
4517 (get): Shift bits to the right direction.
4519 * gnu/java/nio/ShortViewBufferImpl.java
4520 (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
4521 (get): Shift bits to the right direction.
4524 2003-05-13 Michael Koch <konqueror@gmx.de>
4526 * gnu/java/nio/natDirectByteBufferImpl.cc
4527 (allocateImpl): jlong -> RawData*.
4528 (freeImpl): Likewise.
4530 2003-05-13 Michael Koch <konqueror@gmx.de>
4532 * java/nio/channels/FileChannel.java
4533 (MapMode.m): Made it package-private to match JDK 1.4.
4534 * java/nio/charset/Charset.java
4535 (decode): Made it final to match JDK 1.4.
4537 2003-05-13 Michael Koch <konqueror@gmx.de>
4539 * java/io/FileDescriptor.java
4540 (SYNC): New constant.
4542 (getLength): Renamed from lenght() to match classpath's
4543 FileDescriptor.java.
4544 * java/io/RandomAccessFile.java
4545 (RandomAccessFile): Removed unneeded mode check, implemented mode
4546 "rws" and "rwd", merged documentation from classpath.
4547 (setLength): Reformatted.
4548 (length): Use new getLength() of FileDescriptor.
4549 * java/io/natFileDescriptorEcos.cc
4550 (getLength): Renamed from length().
4551 * java/io/natFileDescriptorPosix.cc
4552 (open): Implemented support for SYNC and DSYNC.
4553 (seek): Use getLength() instead of length().
4554 (getLength): Renamed from length().
4555 * java/io/natFileDescriptorWin32.cc
4556 (getLength): Renamed from length().
4557 (seek): Use getLength() instead of length().
4558 (available): Likewise.
4559 * gnu/java/nio/natFileChannelImpl.cc
4560 (size): Use getLength() instead of length().
4562 2003-05-13 Michael Koch <konqueror@gmx.de>
4564 * gnu/java/nio/ByteBufferImpl.java
4565 (ByteBufferImpl): All constructors revised.
4566 (slice): Reimplemented.
4567 (duplicate): Reimplemented.
4568 (asReadOnlyBuffer): Reimplemented.
4569 * java/nio/ByteBuffer.java:
4571 (array_offset): Renamed from "offset" to match all other buffer
4573 (ByteBuffer): All constructors revised.
4574 (allocateDirect): Implemented.
4575 (allocate): New implementation, documentation reworked.
4577 (get): Documentation reworked.
4578 (put): New implementation, documentation reworked.
4579 (hasArray): Documentation reworked.
4580 (arrayOffset): Likewise.
4581 (hashCode): Likewise.
4583 (compareTo): Likewise.
4585 (compact): Likewise.
4586 (isDirect): Likewise.
4588 (duplicate): Likewise.
4589 (asReadOnlyBuffer): Likewise.
4591 (ordinary_java_source_files):
4592 Added gnu/java/nio/DirectByteBufferImpl.java.
4594 Added gnu/java/nio/natDirectByteBufferImpl.cc.
4595 * Makefile.in: Regenerated.
4597 2003-05-12 Michael Koch <konqueror@gmx.de>
4599 * gnu/java/nio/ByteBufferImpl.java: Reformatted.
4600 (nio_get_*): Removed.
4601 (nio_put_*): Removed.
4602 (as*Buffer): Implemented.
4603 (compact): Implemented.
4604 (get): Documentation added.
4605 (put): Documentation added.
4606 (get*): Newly implemented.
4607 (put*): Newly implemented.
4608 * gnu/java/nio/CharBufferImpl.java: Reformatted.
4609 (CharBufferImpl): Revised.
4610 (slice): New implementation.
4611 (duplicate): New implementation.
4612 (compact): New implementation.
4613 (asReadOnlyBuffer): New implementation.
4614 (get): Documentation revised.
4615 (order): Return native byte order.
4616 * gnu/java/nio/DirectByteBufferImpl.java
4617 (allocateDirect): objects can be null not 0.
4618 * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
4619 (DoubleBufferImpl): Revised.
4620 (slice): New implementation.
4621 (duplicate): New implementation.
4622 (compact): New implementation.
4623 (asReadOnlyBuffer): New implementation.
4624 (get): Documentation revised.
4625 (order): Return native byte order.
4626 * gnu/java/nio/FloatBufferImpl.java: Reformatted.
4627 (FloatBufferImpl): Revised.
4628 (slice): New implementation.
4629 (duplicate): New implementation.
4630 (compact): New implementation.
4631 (asReadOnlyBuffer): New implementation.
4632 (get): Documentation revised.
4633 (order): Return native byte order.
4634 * gnu/java/nio/IntBufferImpl.java: Reformatted.
4635 (IntBufferImpl): Revised.
4636 (slice): New implementation.
4637 (duplicate): New implementation.
4638 (compact): New implementation.
4639 (asReadOnlyBuffer): New implementation.
4640 (get): Documentation revised.
4641 (order): Return native byte order.
4642 * gnu/java/nio/LongBufferImpl.java: Reformatted.
4643 (LongBufferImpl): Revised.
4644 (slice): New implementation.
4645 (duplicate): New implementation.
4646 (compact): New implementation.
4647 (asReadOnlyBuffer): New implementation.
4648 (get): Documentation revised.
4649 (order): Return native byte order.
4650 * gnu/java/nio/ShortBufferImpl.java: Reformatted.
4651 (ShortBufferImpl): Revised.
4652 (slice): New implementation.
4653 (duplicate): New implementation.
4654 (compact): New implementation.
4655 (asReadOnlyBuffer): New implementation.
4656 (get): Documentation revised.
4657 (order): Return native byte order.
4658 * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
4659 (CharBuffer): Revised.
4661 * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
4662 (DoubleBuffer): Revised.
4663 (allocateDirect): Removed.
4665 * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
4666 (FloatBuffer): Revised.
4667 (allocateDirect): Removed.
4669 * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
4670 (IntBuffer): Revised.
4671 (allocateDirect): Removed.
4673 * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
4674 (LongBuffer): Revised.
4675 (allocateDirect): Removed.
4677 * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
4678 (ShortBuffer): Revised.
4679 (allocateDirect): Removed.
4681 * gnu/java/nio/natByteBufferImpl.cc: Removed.
4682 * gnu/java/nio/natCharBufferImpl.cc: Removed.
4684 (ordinary_java_source_files): Added the following files:
4685 gnu/java/nio/CharViewBufferImpl.java,
4686 gnu/java/nio/DoubleViewBufferImpl.java,
4687 gnu/java/nio/FloatViewBufferImpl.java,
4688 gnu/java/nio/IntViewBufferImpl.java,
4689 gnu/java/nio/LongViewBufferImpl.java,
4690 gnu/java/nio/ShortViewBufferImpl.java
4691 (nat_source_files): Removed the following files:
4692 gnu/java/nio/natByteBufferImpl.cc,
4693 gnu/java/nio/natCharBufferImpl.cc
4694 * Makefile.in: Regenerated.
4696 2003-05-12 Michael Koch <konqueror@gmx.de>
4698 * gnu/java/nio/CharViewBufferImpl.java,
4699 gnu/java/nio/DirectByteBufferImpl.java,
4700 gnu/java/nio/DoubleViewBufferImpl.java,
4701 gnu/java/nio/FloatViewBufferImpl.java,
4702 gnu/java/nio/IntViewBufferImpl.java,
4703 gnu/java/nio/LongViewBufferImpl.java,
4704 gnu/java/nio/ShortViewBufferImpl.java,
4705 gnu/java/nio/natDirectByteBufferImpl.cc:
4706 New files, not yet to be compiled.
4708 2003-05-10 Michael Koch <konqueror@gmx.de>
4710 * javax/swing/plaf/ButtonUI.java,
4711 javax/swing/plaf/ColorUIResource.java,
4712 javax/swing/plaf/ComponentUI.java,
4713 javax/swing/plaf/DimensionUIResource.java,
4714 javax/swing/plaf/FontUIResource.java,
4715 javax/swing/plaf/IconUIResource.java,
4716 javax/swing/plaf/InsetsUIResource.java,
4717 javax/swing/plaf/LabelUI.java,
4718 javax/swing/plaf/ListUI.java,
4719 javax/swing/plaf/OptionPaneUI.java,
4720 javax/swing/plaf/PanelUI.java,
4721 javax/swing/plaf/TabbedPaneUI.java,
4722 javax/swing/plaf/TextUI.java,
4723 javax/swing/plaf/TreeUI.java,
4724 javax/swing/plaf/ViewportUI.java,
4725 javax/swing/plaf/basic/BasicBorders.java,
4726 javax/swing/plaf/basic/BasicButtonUI.java,
4727 javax/swing/plaf/basic/BasicCheckBoxUI.java,
4728 javax/swing/plaf/basic/BasicDefaults.java,
4729 javax/swing/plaf/basic/BasicGraphicsUtils.java,
4730 javax/swing/plaf/basic/BasicIconFactory.java,
4731 javax/swing/plaf/basic/BasicLabelUI.java,
4732 javax/swing/plaf/basic/BasicListUI.java,
4733 javax/swing/plaf/basic/BasicOptionPaneUI.java,
4734 javax/swing/plaf/basic/BasicPanelUI.java,
4735 javax/swing/plaf/basic/BasicRadioButtonUI.java,
4736 javax/swing/plaf/basic/BasicScrollPaneUI.java,
4737 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
4738 javax/swing/plaf/basic/BasicTextUI.java,
4739 javax/swing/plaf/basic/BasicToggleButtonUI.java,
4740 javax/swing/plaf/basic/BasicTreeUI.java,
4741 javax/swing/plaf/basic/BasicViewportUI.java,
4742 javax/swing/plaf/metal/MetalLookAndFeel.java:
4743 New versions from classpath. This adds copyrights to all files and
4744 some serialVersionUIDs.
4746 2003-05-10 Michael Koch <konqueror@gmx.de>
4748 * java/nio/CharBuffer.java
4749 (offset): Make it package-private.
4750 (backing_buffer): Likewise.
4751 * java/nio/DoubleBuffer.java
4752 (offset): Make it package-private.
4753 (backing_buffer): Likewise.
4755 * java/nio/FloatBuffer.java
4756 (offset): Make it package-private.
4757 (backing_buffer): Likewise.
4758 * java/nio/IntBuffer.java
4759 (offset): Make it package-private.
4760 (backing_buffer): Likewise.
4761 * java/nio/LongBuffer.java
4762 (offset): Make it package-private.
4763 (backing_buffer): Likewise.
4764 * java/nio/ShortBuffer.java
4765 (offset): Make it package-private.
4766 (backing_buffer): Likewise.
4768 2003-05-10 Michael Koch <konqueror@gmx.de>
4770 * java/nio/CharBuffer.java
4771 (put): Fixed precondtion check.
4772 (toString): Make it work without backing array.
4773 (put): Skip one level of method calling.
4775 2003-05-10 Michael Koch <konqueror@gmx.de>
4777 * java/security/Identity.java,
4778 java/security/IdentityScope.java,
4779 java/security/Key.java,
4780 java/security/KeyPair.java,
4781 java/security/PrivateKey.java,
4782 java/security/Provider.java,
4783 java/security/PublicKey.java,
4784 java/security/SecureRandom.java,
4785 java/security/SecureRandomSpi.java,
4786 java/security/SignedObject.java,
4787 java/security/Signer.java,
4788 java/security/cert/Certificate.java,
4789 java/security/cert/PKIXCertPathBuilderResult.java,
4790 java/security/cert/X509Certificate.java:
4791 New versions from classpath.
4793 2003-05-09 Tom Tromey <tromey@redhat.com>
4795 * Makefile.in: Rebuilt.
4796 * Makefile.am (nat_source_files): Removed old files.
4797 * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
4798 * gnu/java/nio/natFloatBufferImpl.cc: Removed.
4799 * gnu/java/nio/natIntBufferImpl.cc: Removed.
4800 * gnu/java/nio/natLongBufferImpl.cc: Removed.
4801 * gnu/java/nio/natShortBufferImpl.cc: Removed.
4803 2003-05-09 Michael Koch <konqueror@gmx.de>
4805 * gnu/java/nio/ByteBufferImpl.java
4806 (nio_cast): Removed.
4807 (ByteBufferImpl): Removed.
4808 (nio_get_Byte): Removed.
4809 (nio_put_Byte): Removed.
4810 (asByteBuffer): Removed.
4811 (asCharBuffer): Removed implementation and throw exception.
4812 (asShortBuffer): Likewise.
4813 (asIntBuffer): Likewise.
4814 (asLongBuffer): Likewise.
4815 (asFloatBuffer): Likewise.
4816 (asDoubleBuffer): Likewise.
4817 * gnu/java/nio/CharBufferImpl.java
4818 (CharBufferImpl): Removed.
4819 (nio_get_Byte): Removed.
4820 (nio_put_Byte): Removed.
4821 (asByteBuffer): Removed.
4822 * gnu/java/nio/DoubleBufferImpl.java
4823 (DoubleBufferImpl): Removed.
4824 (nio_get_Byte): Removed.
4825 (nio_put_Byte): Removed.
4826 (asByteBuffer): Removed.
4827 * gnu/java/nio/FloatBufferImpl.java
4828 (FloatBufferImpl): Removed.
4829 (nio_get_Byte): Removed.
4830 (nio_put_Byte): Removed.
4831 (asByteBuffer): Removed.
4832 * gnu/java/nio/IntBufferImpl.java
4833 (IntBufferImpl): Removed.
4834 (nio_get_Byte): Removed.
4835 (nio_put_Byte): Removed.
4836 (asByteBuffer): Removed.
4837 * gnu/java/nio/LongBufferImpl.java
4838 (LongBufferImpl): Removed.
4839 (nio_get_Byte): Removed.
4840 (nio_put_Byte): Removed.
4841 (asByteBuffer): Removed.
4842 * gnu/java/nio/ShortBufferImpl.java
4843 (ShortBufferImpl): Removed.
4844 (nio_get_Byte): Removed.
4845 (nio_put_Byte): Removed.
4846 (asByteBuffer): Removed.
4847 * gnu/java/nio/natByteBufferImpl.cc
4848 (nio_cast): Removed.
4849 (nio_get_Byte): Removed.
4850 (nio_put_Byte): Removed.
4851 * gnu/java/nio/natCharBufferImpl.cc
4852 (nio_get_Byte): Removed.
4853 (nio_put_Byte): Removed.
4855 2003-05-09 Michael Koch <konqueror@gmx.de>
4857 * java/net/JarURLConnection.java
4858 (getJarEntry): Merged documentation from classpath.
4859 (getJarFile): Likewise.
4860 (getMainAttributes): Likewise.
4861 (getAttributes): Likewise.
4862 (getManifest): Likewise.
4863 (getCertificates): Reformatted.
4864 * java/net/URLConnection.java:
4865 Little classpath merge.
4867 2003-05-09 Michael Koch <konqueror@gmx.de>
4869 * java/io/DataOutputStream.java
4870 (writeShort): Made it synchronized.
4871 (writeChar): Likewise.
4872 (writeInt): Likewise.
4873 (writeLong): Liekwise.
4874 (writeUTF): Made it synchronized, renamed argument to match classpath.
4875 * java/io/InputStreamReader.java
4876 (converter): Added documentation.
4877 (read): Merged documentation from classpath.
4878 * java/io/OutputStreamWriter.java
4879 (OutputStreamWriter): Merged documentation from classpath.
4880 (close): Reformatted.
4881 (getEncoding): Likewise.
4883 (write): Merged documentation from classpath, reformatted.
4885 2003-05-08 Tom Tromey <tromey@redhat.com>
4887 * configure.host <powerpc64*-*>: Set with_libffi_default and
4888 libgcj_interpreter to "yes".
4890 2003-05-08 Scott Gilbertson <scottg@mantatest.com>
4892 * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
4894 2003-05-06 Tom Tromey <tromey@redhat.com>
4896 * verify.cc: Reverted previous patch.
4898 2003-05-06 Michael Koch <konqueror@gmx.de>
4900 * java/io/DataOutputStream.java
4901 (write): Renamed argument to "value", merged documentation from
4903 (writeBoolean): Likewise.
4904 (writeByte): Likewise.
4905 (writeShort): Likewise.
4906 (writeChar): Likewise.
4907 (writeInt): Likewise.
4908 (writeLong): Likewise.
4909 (writeFloat): Likewise.
4910 (writeDouble): Likewise.
4911 (writeBytes): Likewise.
4912 (writeChars): Likewise.
4913 (writeUTF): Likewise.
4915 (performDelete): Added documentation.
4916 (performList): Likewise.
4917 (performMkdir): Likewise.
4918 (performSetReadOnly): Likewise.
4919 (performRenameTo): Likewise.
4920 (performSetLastModified): Likewise.
4921 (delete): Made it sychronized.
4922 (renameTo): Made it sychronized.
4923 (equals): Reformatted.
4924 (isHidden): Likewise.
4925 (listFiles): Likewise.
4926 (setReadOnly): Likewise.
4927 (listRoots): Likewise.
4928 (setLastModified): Likewise.
4929 (checkRead): Likewise.
4930 (checkWrite): Likewise.
4931 * java/io/FileInputStream.java
4932 (skip): Made it sychronized, merged from classpath.
4933 * java/io/FileOutputStream.java
4934 (write): Merged from classpath.
4935 * java/io/InputStreamReader.java:
4936 (InputStreamReader): Merged documentation from classpath.
4938 2003-05-05 Michael Koch <konqueror@gmx.de>
4940 * java/net/NetworkInterface.java
4941 (networkInterfaces): Removed.
4942 (getByName): Use getRealNetworkInterfaces() instead of
4944 (getByInetAddress): Likewise.
4945 (getNetworkInterfaces): Likewise.
4946 (toString): Fix output of addresses of an interface.
4948 2003-05-05 Michael Koch <konqueror@gmx.de>
4950 * java/io/DataInputStream.java:
4951 Merged new documentation from classpath.
4953 2003-05-03 Matt Kraai <kraai@alumni.cmu.edu>
4955 * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
4957 * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
4958 * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
4959 * gnu/awt/gtk/GtkFramePeer.java: Likewise.
4960 * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
4961 * gnu/awt/gtk/GtkMainThread.java: Likewise.
4962 * gnu/awt/gtk/GtkToolkit.java: Likewise.
4963 * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
4964 * java/security/Key.java: Likewise.
4965 * java/security/PrivateKey.java: Likewise.
4966 * java/security/Provider.java: Likewise.
4967 * java/security/PublicKey.java: Likewise.
4969 2003-05-02 Michael Koch <konqueror@gmx.de>
4972 (create): Doesnt throws any exceptions.
4973 * java/net/URLConnection.java
4974 (URLConnection): Commend added.
4975 (getExpiration): The header field is called "expires" not
4977 (getHeaderField): Merged documentation with classpath.
4978 (getHeaderFieldInt): Likewise.
4979 (getHeaderFieldDate): Likewise.
4980 (getHeaderFieldKey): Likewise.
4981 (getPermission): Likewise.
4982 (setDefaultUseCaches): Likewise.
4983 (setRequestProperty): Likewise.
4984 (addRequestProperty): Likewise.
4985 (getRequestProperty): Likewise.
4986 (getRequestProperties): Likewise.
4987 (setDefaultRequestProperty): Likewise.
4988 (getDefaultRequestProperty): Likewise.
4989 (guessContentTypeFromStream): Likewise.
4990 (getFileNameMap): Likewise.
4991 (setFileNameMap): Likewise.
4992 (setDoInput): Merged implementation and documentation with classpath.
4993 (setDoOutput): Likewise.
4994 (setAllowUserInteraction): Likewise.
4995 (setDefaultAllowUserInteraction): Likewise.
4996 (setContentHandlerFactory): Made it synchronized, merged documentation
4998 (guessContentTypeFromName): Renamed argument fname to filename to
4999 match classpath, merged documentation with classpath.
5001 2003-05-02 Michael Koch <konqueror@gmx.de>
5003 * java/net/JarURLConnection.java
5004 (JarURLConnection): Class documentation merged with classpath.
5005 (getJarFileURL): Moved and documentation merged with classpath.
5006 (getEntryName): Likewise.
5007 (JarURLConnection): Documentation merged with classpath.
5008 (getJarEntry): Likewise.
5009 (getJarFile): Likewise.
5010 * java/net/PlainDatagramSocketImpl.java:
5011 Class documentation moved.
5012 * java/net/URLConnection.java
5013 (fileNameMap): Moved and documentation merged with classpath.
5014 (factory): Likewise.
5015 (defaultAllowUserInteraction): Likewis.
5016 (defaultUseCaches): Likewise.
5017 (allowUserInteraction): Likewise.
5018 (connected): Likewise.
5020 (connect): Documentation merged with classpath.
5022 (getContentLength): Likewise.
5023 (getContentType): Likewise.
5024 (getContentEncoding): Likewise.
5025 (getExpiration): Likewise.
5026 (getDate): Likewise.
5027 (getLastModified): Likewise.
5028 (getHeaderField): Likewise.
5029 (getContent): Likewise.
5030 (getPermission): Likewise.
5031 (getInputStream): Likewise.
5032 (getOutputStream): Likewise.
5033 (toString): Likewise.
5034 (getDoInput): Likewise.
5035 (getDoOutput): Likewise.
5036 (setAllowUserInteraction): Likewise.
5037 (getAllowUserInteraction): Likewise.
5038 (setDefaultAllowUserInteraction): Likewise.
5039 (getDefaultAllowUserInteraction): Likewise.
5040 (setUseCaches): Likewise.
5041 (getUseCaches): Likewise.
5042 (setIfModifiedSince): Likewise.
5043 (getIfModifiedSince): Likewise.
5044 (setDefaultRequestProperty): Likewise.
5045 (getDefaultRequestProperty): Likewise.
5046 (setContentHandlerFactory): Likewise.
5047 (setFileNameMap): Likewise.
5049 2003-05-02 Michael Koch <konqueror@gmx.de>
5051 * java/net/InetAddress.java:
5052 Merged class documentation with classpath.
5053 * java/net/JarURLConnection.java:
5054 Explicitely import all used classes.
5055 * java/net/URL.java:
5057 * java/net/ServerSocket.java,
5058 java/net/Socket.java:
5059 New versions from classpath.
5061 2003-05-02 Michael Koch <konqueror@gmx.de>
5063 * gnu/java/nio/FileChannelImpl.java
5064 (read): New implementation.
5065 (implRead): New methods.
5066 (write): New implementation, call other write insteal of read method.
5067 (implWrite): New methods.
5068 (map): Added comment.
5069 (transferFrom): Implemented.
5070 (transferTo): Implemented.
5071 (lock): Added checks to throw exceptions.
5072 (truncate): Added check to throw exception.
5073 * gnu/java/nio/natFileChannelImpl.cc
5074 (implRead): New method.
5075 (implWrite): New method.
5076 * java/nio/ByteBuffer.java
5077 (hashCode): Fixed comment.
5078 (get): Fixed exception documentation.
5079 (put): Fixed exception documentation.
5080 * java/nio/CharBuffer.java:
5081 Added comment for later optimizations.
5083 2003-04-30 Tom Tromey <tromey@redhat.com>
5086 * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
5088 (type::compatible): Use _Jv_IsAssignableFrom.
5089 * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
5090 (_Jv_IsAssignableFrom): Work even when source or target class is
5093 2003-04-30 Michael Koch <konqueror@gmx.de>
5095 * java/text/BreakIterator.java
5096 (clone): New method.
5098 2003-04-30 Michael Koch <konqueror@gmx.de>
5100 * java/text/CollationElementIterator.java,
5101 java/text/CollationKey.java,
5102 java/text/RuleBasedCollator.java:
5103 Merged copyright and documentation from classpath and
5104 rearranged some code. No code changes done.
5106 2003-04-30 Michael Koch <konqueror@gmx.de>
5108 * java/util/regex/Matcher.java
5109 (pattern): New member variable.
5110 (appendReplacement): New method.
5111 (appendTail): New method.
5114 (group): New method.
5115 (replaceFirst): Added documentation.
5116 (replaceAll): Added documentation.
5117 (groupCount): New method.
5118 (lookingAt): New method.
5119 (matches): New method.
5120 (reset): New method.
5121 (start): New method.
5122 * java/util/regex/Pattern.java
5123 (serialVersionUID): New constant.
5124 (CANON_EQ): New constant.
5125 (CASE_INSENSITIVE): New constant.
5126 (COMMENTS): New constant.
5127 (DOTALL): New constant.
5128 (MULTILINE): New constant.
5129 (UNICODE_CASE): New constant.
5130 (UNIX_LINES): New constant.
5131 (regex): New member variable.
5132 (flags): New member variable.
5133 (Pattern): New method.
5134 (compile): Documentation added.
5135 (flags): New method.
5136 (matches): Documentation added.
5137 (matcher): Documentation added.
5138 (split): Documentation added.
5139 (pattern): New method.
5141 2003-04-30 Michael Koch <konqueror@gmx.de>
5143 * gnu/java/security/Engine.java,
5144 gnu/java/security/OID.java,
5145 gnu/java/security/der/BitString.java,
5146 gnu/java/security/der/DER.java,
5147 gnu/java/security/der/DERReader.java,
5148 gnu/java/security/der/DERValue.java,
5149 gnu/java/security/der/DERWriter.java,
5150 gnu/java/security/provider/DSAKeyFactory.java,
5151 gnu/java/security/provider/X509CertificateFactory.java,
5152 gnu/java/security/x509/X500DistinguishedName.java,
5153 gnu/java/security/x509/X509CRL.java,
5154 gnu/java/security/x509/X509CRLEntry.java,
5155 gnu/java/security/x509/X509Certificate.java,
5156 java/security/cert/CRLSelector.java,
5157 java/security/cert/CertPathBuilder.java,
5158 java/security/cert/CertPathBuilderResult.java,
5159 java/security/cert/CertPathBuilderSpi.java,
5160 java/security/cert/CertPathParameters.java,
5161 java/security/cert/CertPathValidator.java,
5162 java/security/cert/CertPathValidatorResult.java,
5163 java/security/cert/CertPathValidatorSpi.java,
5164 java/security/cert/CertSelector.java,
5165 java/security/cert/CertStore.java,
5166 java/security/cert/CertStoreParameters.java,
5167 java/security/cert/CertStoreSpi.java,
5168 java/security/cert/CollectionCertStoreParameters.java,
5169 java/security/cert/LDAPCertStoreParameters.java,
5170 java/security/cert/PKIXBuilderParameters.java,
5171 java/security/cert/PKIXCertPathBuilderResult.java,
5172 java/security/cert/PKIXCertPathChecker.java,
5173 java/security/cert/PKIXCertPathValidatorResult.java,
5174 java/security/cert/PKIXParameters.java,
5175 java/security/cert/PolicyNode.java,
5176 java/security/cert/PolicyQualifierInfo.java,
5177 java/security/cert/TrustAnchor.java,
5178 javax/security/auth/x500/X500Principal.java:
5179 New files from classpath.
5180 * gnu/java/io/ASN1ParsingException.java,
5181 gnu/java/io/Base64InputStream.java,
5182 gnu/java/security/der/DEREncodingException.java,
5183 gnu/java/security/provider/DSAParameters.java,
5184 gnu/java/security/provider/DSASignature.java,
5185 gnu/java/security/provider/Gnu.java,
5186 gnu/java/security/provider/GnuDSAPrivateKey.java,
5187 gnu/java/security/provider/GnuDSAPublicKey.java,
5188 java/security/AlgorithmParameterGenerator.java,
5189 java/security/AlgorithmParameters.java,
5190 java/security/KeyFactory.java,
5191 java/security/KeyPairGenerator.java,
5192 java/security/KeyStore.java,
5193 java/security/MessageDigest.java,
5194 java/security/SecureClassLoader.java,
5195 java/security/SecureRandom.java,
5196 java/security/Security.java,
5197 java/security/Signature.java,
5198 java/security/cert/Certificate.java,
5199 java/security/cert/CertificateFactory.java,
5200 java/security/cert/CertificateFactorySpi.java,
5201 java/security/cert/X509CRL.java,
5202 java/security/cert/X509Certificate.java,
5203 java/security/spec/DSAPublicKeySpec.java:
5204 New versions from classpath.
5205 * gnu/java/security/provider/DERReader.java,
5206 gnu/java/security/provider/DERWriter.java,
5207 java/security/Engine.java: Removed.
5209 (java_source_files, javax_source_files): Added new files.
5210 * Makefile.in: Regenerated.
5212 2003-04-29 Michael Koch <konqueror@gmx.de>
5214 * javax/swing/JTable.java
5215 (AUTO_RESIZE_ALL_COLUMNS): New constant.
5216 (AUTO_RESIZE_LAST_COLUMN): New constant.
5217 (AUTO_RESIZE_NEXT_COLUMN): New constant.
5218 (AUTO_RESIZE_OFF): New constant.
5219 (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
5220 (JTable): New method.
5221 (columnAdded): New method.
5222 (columnMarginChanged): New method.
5223 (columnMoved): New method.
5224 (columnRemoved): New method.
5225 (columnSelectionChanged): New method.
5226 (editingCanceled): New method.
5227 (editingStopped): New method.
5228 (getColumnModel): New method.
5229 (getPreferredScrollableViewportSize): New method.
5230 (getScrollableBlockIncrement): New method.
5231 (getScrollableTracksViewportHeight): New method.
5232 (getScrollableTracksViewportWidth): New method.
5233 (getScrollableUnitIncrement): New method.
5234 (getSelectedRow): New method.
5235 (getSelectionModel): New method.
5236 (tableChanged): New method.
5237 (setModel): New method.
5238 (setSelectionMode): New method.
5239 (setSelectionModel): New method.
5240 (setShowGrid): New method.
5241 (valueChanged): New method.
5242 * javax/swing/text/DefaultEditorKit.java
5243 (backwardAction): New constant.
5244 (beepAction): New constant.
5245 (beginAction): New constant.
5246 (beginLineAction): New constant.
5247 (beginParagraphAction): New constant.
5248 (beginWordAction): New constant.
5249 (copyAction): New constant.
5250 (cutAction): New constant.
5251 (defaultKeyTypedAction): New constant.
5252 (deleteNextCharAction): New constant.
5253 (deletePrevCharAction): New constant.
5254 (downAction): New constant.
5255 (endAction): New constant.
5256 (endLineAction): New constant.
5257 (endOfLineStringProperty): New constant.
5258 (endParagraphAction): New constant.
5259 (endWordAction): New constant.
5260 (forwardAction): New constant.
5261 (insertBreakAction): New constant.
5262 (insertContentAction): New constant.
5263 (insertTabAction): New constant.
5264 (nextWordAction): New constant.
5265 (pageDownAction): New constant.
5266 (pageUpAction): New constant.
5267 (pasteAction): New constant.
5268 (previousWordAction): New constant.
5269 (readOnlyAction): New constant.
5270 (selectAllAction): New constant.
5271 (selectionBackwardAction): New constant.
5272 (selectionBeginAction): New constant.
5273 (selectionBeginLineAction): New constant.
5274 (selectionBeginParagraphAction): New constant.
5275 (selectionBeginWordAction): New constant.
5276 (selectionDownAction): New constant.
5277 (selectionEndAction): New constant.
5278 (selectionEndLineAction): New constant.
5279 (selectionEndParagraphAction): New constant.
5280 (selectionEndWordAction): New constant.
5281 (selectionForwardAction): New constant.
5282 (selectionNextWordAction): New constant.
5283 (selectionPreviousWordAction): New constant.
5284 (selectionUpAction): New constant.
5285 (selectLineAction): New constant.
5286 (selectParagraphAction): New constant.
5287 (selectWordAction): New constant.
5288 (upAction): New constant.
5289 (writableAction): New constant.
5291 2003-04-29 Michael Koch <konqueror@gmx.de>
5293 * java/util/PropertyPermission.java:
5294 New version from classpath
5295 * java/util/ResourceBundle.java:
5296 Partly merged from classpath
5297 (getObject): Reformated.
5298 (tryBundle): Set foundBundle = null if no bundle found.
5300 2003-04-29 Michael Koch <konqueror@gmx.de>
5302 * javax/swing/AbstractListModel.java,
5303 javax/swing/DefaultBoundedRangeModel.java,
5304 javax/swing/DefaultSingleSelectionModel.java:
5305 New Versions from classpath.
5307 2003-04-29 Michael Koch <konqueror@gmx.de>
5309 * java/awt/Window.java
5310 (show): Call super.show() instead of setVisible() to avoid endless
5312 (hide): Call super.hide() instead of setVisible() to avoid endless
5315 2003-04-29 Michael Koch <konqueror@gmx.de>
5317 * java/util/zip/Deflater.java,
5318 java/util/zip/DeflaterOutputStream.java:
5319 Partly merged with classpath.
5321 2003-04-27 Tom Tromey <tromey@redhat.com>
5323 * java/lang/natString.cc (_Jv_AllocString): Initialize
5326 (_Jv_NewStringUtf8Const): Likewise.
5328 2003-03-29 Mohan Embar <gnustuff@thisiscool.com>
5330 * include/jvm.h: (_Jv_GetNbArgs) added
5331 (_Jv_GetSafeArg) added
5333 * prims.cc: (_Jv_GetNbArgs) implemented
5334 (_Jv_GetSafeArg) implemented
5335 (_Jv_SetArgs) implemented
5336 (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
5337 setting _Jv_argc and _Jv_argv
5338 * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
5340 * java/lang/natRuntime.cc: (insertSystemProperties) use
5341 _Jv_GetSafeArg() instead of _Jv_argv
5343 2003-04-23 Tom Tromey <tromey@redhat.com>
5345 * resolve.cc (_Jv_PrepareClass): Round size up to alignment
5346 required by this object. Search superclasses to find required
5348 (get_alignment_from_class): Use alignment of type as it appears
5350 (ALIGNOF): New macro.
5351 (struct aligner): New helper structure.
5353 2003-04-20 Scott Gilbertson <scottg@mantatest.com>
5355 * java/awt/Container.java (addImpl): Enable paint events if adding
5356 a lightweight to a heavyweight.
5357 (addNotify): Ensure that peer is created before
5358 addNotifyContainerChildren.
5359 (addNotifyContainerChildren): Enable paint events if a heavyweight
5360 container contains a lightweight.
5362 2003-04-20 Tom Tromey <tromey@redhat.com>
5364 * java/io/BufferedReader.java, java/io/BufferedWriter.java,
5365 java/io/DataInput.java, java/io/DataOutput.java: Imports from
5368 2003-04-19 Tom Tromey <tromey@redhat.com>
5370 * java/sql/Date.java, java/sql/DriverManager.java,
5371 java/sql/Time.java, java/sql/Timestamp.java: New versions from
5374 * Makefile.in: Rebuilt.
5375 * Makefile.am (ordinary_java_source_files): Added new files.
5376 * java/security/AlgorithmParameterGenerator.java,
5377 java/security/AlgorithmParameters.java, java/security/Engine.java,
5378 java/security/Identity.java, java/security/IdentityScope.java,
5379 java/security/KeyFactory.java,
5380 java/security/KeyPairGenerator.java, java/security/KeyStore.java,
5381 java/security/MessageDigest.java, java/security/Policy.java,
5382 java/security/ProtectionDomain.java,
5383 java/security/SecureRandom.java, java/security/Security.java,
5384 java/security/Signature.java, java/security/SignatureSpi.java,
5385 java/security/SignedObject.java, java/security/Signer.java,
5386 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
5387 java/security/spec/PSSParameterSpec.java,
5388 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
5389 java/security/spec/RSAOtherPrimeInfo.java: New versions from
5392 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
5394 * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
5395 (dispose): Null metrics.
5396 * gnu/awt/xlib/XToolkit.java (sync): Implement.
5397 * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
5399 (finalize): Call dispose.
5400 * gnu/gcj/xlib/Drawable.java (gcCache): New field.
5401 (gcCachedCount): New field.
5402 (finalize): New method.
5403 (putGCInCache): New method.
5404 (getGCFromCache): New method.
5405 * gnu/gcj/xlib/GC.java (GC): Make protected.
5406 (clone): Get new GC from cache if possible.
5407 (create): New static method.
5408 (dispose): Save old GC in cache.
5409 * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
5411 * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
5413 * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
5414 * java/awt/Container.java (visitChild): Dispose gfx2 when
5417 2003-04-19 Jerry Quinn <jlquinn@optonline.net>
5419 * java/math/BigInteger.java (probablePrime): New.
5420 * java/math/BigDecimal.java (unscaledValue): New.
5422 2003-04-19 Ranjit Mathew <rmathew@hotmail.com>
5424 * java/io/File.java (getAbsolutePath): On Windows, take care
5425 of paths like "C:", "G:foo\bar", etc.
5426 (getName): Make it work correctly on Windows.
5427 (getParent): Make it work correctly on Windows. For UNIX,
5428 fix bug that causes "/" to be returned as the parent of "/",
5429 instead of null as returned by Sun's JRE.
5431 * java/io/natFileWin32.cc: Change copyright owner to FSF.
5433 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
5435 * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
5437 (CACHE_SIZE_PER_DISPLAY): New field
5438 (fontMetricsCache): New field
5439 (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
5440 loading ISO10646-1 fonts.
5442 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
5444 * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
5446 * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
5449 2003-04-16 Richard Earnshaw <rearnsha@arm.com>
5451 * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
5454 2003-04-15 Jakub Jelinek <jakub@redhat.com>
5456 * configure.host (*-linux*): Don't set slow_pthread_self if primary
5457 installed libpthread is either linuxthreads with floating stacks or
5460 2003-04-14 Tom Tromey <tromey@redhat.com>
5462 * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
5465 2003-04-10 Tom Tromey <tromey@redhat.com>
5467 * verify.cc (pop64): Removed.
5468 (verify_instructions_0) <op_pop2>: Inline code. Don't throw
5469 exception if top-of-stack is narrow.
5470 (initialize_stack): Check to ensure that <init> is not static and
5473 2003-04-07 Aaron M. Renn (arenn@urbanophile.com)
5475 * java/io/ObjectStreamException
5476 * java/io/FileFilter
5477 * java/io/FilenameFilter
5478 * java/io/ObjectInput
5479 * java/io/ObjectOutput
5480 * java/io/ObjectStreamConstants
5481 Minor doc fixes, format fixes, spelling corrections, etc.
5483 Corrected code samples in Javadocs to match reality
5484 * java/io/DataOutput
5485 * java/io/ObjectInputValidation
5486 Major documentation fixes - all Javadocs re-written or updated
5488 2003-04-06 Michael Koch <konqueror@gmx.de>
5490 * java/net/URLConnection.java:
5491 Import classes directly.
5492 (URLConnection): Merged class documentation with classpath.
5493 (url): Moved, documentation from classpath added.
5494 (doInput): Moved, documentation from classpath added.
5495 (doOutput): Moved, documentation from classpath added.
5496 (allowUserInteraction): Moved.
5497 (useCaches): Moved, documentation from classpath added.
5498 (ifModifiedSince): Moved, documentation from classpath added.
5499 (connected): Moved, documentation from classpath added.
5501 2003-04-06 Michael Koch <konqueror@gmx.de>
5503 * java/io/FileInputStream.java
5504 (skip): Renamed some variables to match classpath, added
5505 checks from classpath.
5507 2003-03-31 Michael Koch <konqueror@gmx.de>
5509 * javax/swing/AbstractAction.java
5510 (AbstractAction): Reformatted.
5511 (serialVersionUID): New private member variable.
5512 * javax/swing/plaf/BorderUIResource.java
5513 (serialVersionUID): New private member variable.
5514 * javax/swing/plaf/basic/BasicLookAndFeel.java
5515 (serialVersionUID): New private member variable.
5517 2003-03-31 Michael Koch <konqueror@gmx.de>
5519 * java/sql/Date.java
5520 (valueOf): Deprecated, reformatted.
5521 (toString): Deprecated, reformatted.
5522 * java/sql/Time.java
5523 (valueOf): Deprecated, reformatted.
5524 (toString): Deprecated, reformatted.
5526 2003-03-31 Michael Koch <konqueror@gmx.de>
5528 * java/rmi/dgc/VMID.java
5529 (isUnique): Deprecated.
5531 2003-03-31 Michael Koch <konqueror@gmx.de>
5534 (separator): Merged documentation from classpath.
5535 (separatorChar): Merged documentation from classpath.
5536 (pathSeparator): Merged documentation from classpath.
5537 (pathSeparatorChar): Merged documentation from classpath.
5538 (path): Merged documentation from classpath.
5539 (canRead): Merged documentation from classpath.
5540 (canWrite): Merged documentation from classpath.
5541 (createNewFile): Merged documentation from classpath.
5542 (delete): Merged documentation from classpath.
5543 (equals): Merged documentation from classpath.
5544 (exists): Merged documentation from classpath.
5545 (File): Renamed p to name to match classpath, merged documentation
5547 (getAbsolutePath): Merged documentation from classpath.
5548 (getCanonicalPath): Merged documentation from classpath.
5549 (getCanonicalFile): Merged documentation from classpath.
5550 (getName): Merged documentation from classpath.
5551 (getParent): Merged documentation from classpath.
5552 (getParentFile): Merged documentation from classpath.
5553 (getPath): Merged documentation from classpath.
5554 (hashCode): Merged documentation from classpath.
5555 (isAbsolute): Merged documentation from classpath.
5556 (isDirectory): Merged documentation from classpath.
5557 (isFile): Merged documentation from classpath.
5558 (isHidden): Merged documentation from classpath.
5559 (lastModified): Merged documentation from classpath.
5560 (length): Merged documentation from classpath.
5561 (list): Merged documentation from classpath.
5562 (listFiles): Merged documentation from classpath.
5563 (toString): Merged documentation from classpath.
5564 (toURL): Merged documentation from classpath.
5565 (mkdir): Merged documentation from classpath.
5566 (mkdirs): Merged documentation from classpath.
5567 (createTempFile): Merged documentation from classpath.
5568 (setReadOnly): Merged documentation from classpath.
5569 (listRoots): Merged documentation from classpath.
5570 (compareTo): Merged documentation from classpath.
5571 (renameTo): Merged documentation from classpath.
5572 (setLastModified): Merged documentation from classpath.
5573 * java/io/PrintStream.java
5574 (auto_flush): Merged documentation from classpath.
5575 (PrintStream): Merged documentation from classpath.
5576 (checkError): Merged documentation from classpath.
5577 (setError): Merged documentation from classpath.
5578 (close): Merged documentation from classpath.
5579 (flush): Merged documentation from classpath.
5580 (print): Merged documentation from classpath.
5581 (println): Merged documentation from classpath.
5582 (write): Renamed count to len to match classpath,
5583 merged documentation from classpath.
5584 * java/io/RandomAccessFile.java
5585 (readShort): Merged documentation from classpath.
5586 (readUnsignedByte): Merged documentation from classpath.
5587 (readUnsignedShort): Merged documentation from classpath.
5588 (readUTF): Merged documentation from classpath.
5589 (seek): Reformatted, merged documentation from classpath.
5590 (skipBytes): Renamed some variables to match classpath, reformatted,
5591 merged documentation from classpath.
5592 (write): Merged documentation from classpath.
5593 (writeBoolean): Merged documentation from classpath.
5594 (writeByte): Merged documentation from classpath.
5595 (writeShort): Merged documentation from classpath.
5596 (writeChar): Merged documentation from classpath.
5597 (writeInt): Merged documentation from classpath.
5598 (writeLong): Merged documentation from classpath.
5599 (writeFloat): Merged documentation from classpath.
5600 (writeDouble): Merged documentation from classpath.
5601 (writeBytes): Merged documentation from classpath.
5602 (writeChars): Merged documentation from classpath.
5603 (writeUTF): Reformatted.
5604 (getChannel): Reformatted.
5606 2003-03-31 Michael Koch <konqueror@gmx.de>
5608 * java/awt/font/TextAttribute.java
5609 (readResolve): Throws java.io.InvalidObjectException.
5611 2003-03-31 Michael Koch <konqueror@gmx.de>
5613 * java/rmi/server/LoaderHandler.java
5614 (loadClass): Deprecated.
5615 (getSecurityContext): Deprecated.
5616 * java/rmi/server/LogStream.java
5617 (getDefaultStream): Deprecated.
5618 (setDefaultStream): Deprecated.
5619 (getOutputStream): Deprecated.
5620 (setOutputStream): Deprecated.
5621 (write): Deprecated.
5622 (toString): Deprecated.
5623 (parseLevel): Deprecated.
5624 * java/rmi/server/Operation.java
5625 (Operation): Deprecated.
5626 (getOperation): Deprecated.
5627 (toString): Deprecated.
5628 * java/rmi/server/RemoteCall.java
5629 (getOutputStream): Deprecated.
5630 (releaseOutputStream): Deprecated.
5631 (getInputStream): Deprecated.
5632 (releaseInputStream): Deprecated.
5633 (getResultStream): Deprecated.
5634 (executeCall): Deprecated.
5636 * java/rmi/server/RemoteRef.java
5637 (invoke): Deprecated.
5638 (newCall): Deprecated.
5640 * java/rmi/server/RemoteStub.java
5641 (setRef): Deprecated.
5642 * java/rmi/server/Skeleton.java:
5643 No need to import java.lang.Exception explicitly.
5644 (dispatch): Deprecated.
5645 (getOperations): Deprecated.
5647 2003-03-31 Michael Koch <konqueror@gmx.de>
5649 * java/rmi/dgc/VMID.java,
5650 java/rmi/registry/RegistryHandler.java,
5651 java/rmi/server/LogStream.java,
5652 java/rmi/server/Operation.java,
5653 java/rmi/server/RemoteCall.java,
5654 java/rmi/server/RemoteRef.java,
5655 java/rmi/server/RemoteStub.java:
5658 2003-03-31 Michael Koch <konqueror@gmx.de>
5660 * javax/swing/AbstractCellEditor.java,
5661 javax/swing/AbstractListModel.java,
5662 javax/swing/ActionMap.java,
5663 javax/swing/BorderFactory.java,
5664 javax/swing/ButtonGroup.java,
5665 javax/swing/DefaultBoundedRangeModel.java,
5666 javax/swing/DefaultButtonModel.java,
5667 javax/swing/DefaultCellEditor.java,
5668 javax/swing/DefaultComboBoxModel.java,
5669 javax/swing/DefaultDesktopManager.java,
5670 javax/swing/DefaultListCellRenderer.java,
5671 javax/swing/DefaultSingleSelectionModel.java,
5672 javax/swing/InputMap.java,
5673 javax/swing/JComponent.java,
5674 javax/swing/JMenu.java,
5675 javax/swing/JSlider.java,
5676 javax/swing/KeyStroke.java,
5677 javax/swing/OverlayLayout.java,
5678 javax/swing/ScrollPaneLayout.java,
5679 javax/swing/SizeRequirements.java,
5680 javax/swing/UIManager.java,
5681 javax/swing/ViewportLayout.java,
5682 javax/swing/border/AbstractBorder.java,
5683 javax/swing/colorchooser/DefaultColorSelectionModel.java,
5684 javax/swing/event/EventListenerList.java,
5685 javax/swing/table/AbstractTableModel.java,
5686 javax/swing/table/DefaultTableCellRenderer.java,
5687 javax/swing/table/DefaultTableColumnModel.java,
5688 javax/swing/table/DefaultTableModel.java,
5689 javax/swing/table/TableColumn.java,
5690 javax/swing/text/StyledEditorKit.java,
5691 javax/swing/tree/DefaultMutableTreeNode.java,
5692 javax/swing/tree/DefaultTreeModel.java,
5693 javax/swing/tree/DefaultTreeSelectionModel.java,
5694 javax/swing/tree/TreePath.java,
5695 javax/swing/undo/AbstractUndoableEdit.java,
5696 javax/swing/undo/StateEdit.java,
5697 javax/swing/undo/StateEditable.java,
5698 javax/swing/undo/UndoableEditSupport.java:
5699 Merges from classpath.
5701 2003-03-30 Tom Tromey <tromey@redhat.com>
5703 * java/lang/String.java (data, boffset, count): Documented.
5704 (String(byte[],String)): Reformatted.
5705 (String(byte[])): Likewise.
5706 (lastIndexOf(int)): Likewise.
5707 (lastIndexOf(String)): Likewise.
5708 (substring(int)): Renamed argument to match Classpath.
5709 (String(StringBuffer)): Don't share buffer if it is nearly empty.
5711 * java/lang/String.java: Miscellaneous minor formatting changes
5712 to match Classpath more closely.
5714 2003-03-29 Eric Blake <ebb9@email.byu.edu>
5715 Tom Tromey <tromey@redhat.com>
5717 * java/lang/natString.cc (hashCode): Use cachedHashCode.
5719 (charAt): Put index in exception.
5720 (contentEquals): New method.
5721 Include StringBuffer.h.
5722 * java/lang/String.java (cachedHashCode): New field.
5723 (String()): Follow classpath implementation.
5725 (contentEquals): Declare.
5726 (subSequence): Don't declare IndexOutIfBoundsException in throws
5728 (matches, replaceFirst, replaceAll, split): New methods from
5731 2003-03-29 Tom Tromey <tromey@redhat.com>
5733 * java/lang/String.java: Reordered to follow Classpath; merged in
5736 * java/text/MessageFormat.java: Removed some whitespace.
5738 * Makefile.in: Rebuilt.
5739 * Makefile.am (awt_java_source_files): Added new files.
5740 * gnu/javax/rmi/PortableServer.java,
5741 gnu/javax/rmi/CORBA/DelegateFactory.java,
5742 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
5743 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
5744 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
5745 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
5746 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
5747 javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
5748 javax/rmi/PortableRemoteObject.java,
5749 javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
5750 javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
5751 javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
5752 javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
5753 javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
5754 javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
5756 * java/lang/natClass.cc (newInstance): Put method name in
5758 (getConstructor): Likewise.
5759 (getDeclaredConstructor): Likewise.
5760 (getPrivateMethod): Likewise.
5762 2003-03-28 Tom Tromey <tromey@redhat.com>
5764 * java/lang/reflect/Proxy.java: New version from Classpath.
5765 * java/lang/Package.java: New version from Classpath.
5767 2003-03-29 Ulrich Weigand <uweigand@de.ibm.com>
5769 * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
5770 * configure: Regenerate.
5772 2003-03-28 Michael Koch <konqueror@gmx.de>
5774 * java/io/File.java:
5775 Import needed classes instead of whole packages, merged class
5776 documentation with classpath, moved constants and variables to top of
5778 * java/io/PrintStream.java:
5779 Merged class documentation with classpath, moved constants and
5780 variables to top of class.
5781 * java/io/RandomAccessFile.java
5782 (RandomAccessFile): Merged with classpath.
5783 (read): Merged with classpath).
5784 (read*): Reformatted.
5786 2003-03-28 Michael Koch <konqueror@gmx.de>
5788 * java/io/FileDescriptor.java
5789 (finalize): Throws Throwable, not IOException.
5790 * java/io/ObjectOutputStream.java
5791 (PutField.put): Doesnt throws anything.
5793 2003Â03-28 Michael Koch <konqueror@gmx.de>
5795 * java/io/FileOutputStream.java:
5796 Merged class documentation and authors with classpath.
5797 (FileOutputStream): Partly merged with classpath.
5798 (write): Merged with classpath.
5799 (getChannel): Make it synchronized instead of explicit block in this
5801 * java/io/RandomAccessFile.java:
5802 Merged class documentation and authors with classpath.
5804 2003-03-26 Tom Tromey <tromey@redhat.com>
5806 * java/lang/natRuntime.cc (insertSystemProperties): Set
5807 gnu.classpath.home.url.
5808 * Makefile.in: Rebuilt.
5809 * Makefile.am: Define LIBDIR.
5811 2003-03-25 Michael Koch <konqueror@gmx.de>
5813 * java/io/FileInputStream.java
5814 (read): Renamed b to buf and off to offset.
5815 * java/io/FileOutputStream.java
5816 (ch): Documentation added.
5817 (FileOutputStream): Documentation added.
5818 (getFD): Documentation added.
5819 (write): Documentation added.
5820 (close): Documentation added.
5821 (getChannel): Documentation added.
5823 2003-03-24 Michael Koch <konqueror@gmx.de>
5825 * java/io/DataOutputStream.java
5826 (write): Merged from classpath.
5827 * java/io/File.java:
5828 Merged copyrigth with classpath.
5829 * java/io/FileInputStream.java
5830 (getChannel): Made it synchronized instead of using a synchronized
5832 * java/io/FileOutputStream.java: Reformatted.
5833 * java/io/InputStreamReader.java
5834 (InputStreamReader): Renamed enc to encoding_name.
5835 (close): Merged documentation from classpath.
5836 (getEncoding): Merged documentation from classpath.
5837 (ready): Merged documentation from classpath.
5838 (read): Merged documentation from classpath.
5839 * java/io/LineNumberReader.java
5840 (lineNumber): Made it private.
5841 (LineNumberReader): Use Constant instead of a direct value.
5842 * java/io/OutputStreamWriter.java
5843 (OutputStreamWriter): Renamed enc to encoding_scheme, merged
5844 documentation from classpath.
5845 (close): Merged documentation from classpath.
5846 (flush): Merged documentation from classpath.
5847 (write): Merged documentation from classpath.
5848 * java/io/PrintStream.java: Reformatted.
5850 2003-03-24 Michael Koch <konqueror@gmx.de>
5852 * javax/swing/text/ComponentView.java
5853 (getComponent): Must be final.
5854 * javax/swing/tree/DefaultTreeCellRenderer.java:
5856 * javax/swing/undo/StateEditable.java:
5859 2003-03-24 Michael Koch <konqueror@gmx.de>
5861 * java/rmi/activation/ActivationInstantiator.java:
5863 * java/rmi/activation/Activator.java:
5865 * java/rmi/registry/RegistryHandler.java:
5866 Remerged from classpath.
5868 2003-03-24 Michael Koch <konqueror@gmx.de>
5870 * java/util/Date.java:
5871 Fixed documentation starting tag to make javadoc happy.
5872 * java/util/regex/Pattern.java
5873 (Pattern): Implements Serializable.
5874 * java/util/PatternSyntaxException.java
5875 (serialVersionUID): New member variable.
5877 2003-03-24 Michael Koch <koqnueror@gmx.de>
5879 * java/awt/ContainerOrderFocusTraversalPolicy.java
5880 (getFirstComponent): Implemented.
5881 (getLastComponent): Implemented.
5882 (getDefaultComponent): Implemented.
5883 (setImplicitDownCycleTraversal): Fixed implementation.
5884 * java/awt/Robot.java
5885 (Robot): Added documentation.
5886 * java/awt/Toolkit.java
5887 (getFontList): Deprecated.
5888 (getFontMetrics): Deprecated.
5889 (getPrintJob): Added documentation.
5890 (getSystemSelection): Added documentation.
5891 (getLockingKeyState): Added documentation.
5892 (setLockingKeyState): Added documentation.
5893 (createCustomCursor): Added documentation.
5894 (getBestCursorSize): Added documentation.
5895 (getMaximumCursorColors): Added documentation.
5896 (isFrameStateSupported): Added documentation.
5898 2003-03-24 Michael Koch <konqueror@gmx.de>
5900 * java/io/RandomAccessFile.java:
5901 More little merges with classpath. No code changes.
5903 2003-03-24 Michael Koch <konqueror@gmx.de>
5905 * java/net/natInetAddressNoNet.cc:
5907 * java/net/natPlainDatagramSocketImplNoNet.cc:
5908 Fixed inlcude of java/net/DatagramPacket.h.
5909 * java/net/natPlainSocketImplNoNet.cc:
5910 Include some missing classes.
5912 2003-03-24 Michael Koch <konqueror@gmx.de>
5914 * java/awt/dnd/DropTarget.java
5915 (DropTargetAutoScroller): According to the online documentation, this
5916 is protected, but in reality it is public.
5917 * java/awt/dnd/DropTargetContext.java
5918 (TransferableProxy): According to the online documentation, this
5919 is protected, but in reality it is public.
5921 2003-03-24 Michael Koch <konqueror@gmx.de>
5923 * java/io/DataInputStream.java
5924 (): Wrapped documentation line.
5925 (): Fixed @return tag.
5926 * java/io/DataOutputStream.java
5927 (written): Moved to top of class.
5928 (all methods): Merged documentation from classpath.
5929 * java/io/File.java:
5930 Merged copyright year with classpath.
5931 * java/io/FileInputStream.java
5932 (all methods): Merged documentation from classpath.
5933 * java/io/LineNumberReader.java
5934 (getLineNumber): Fixed @return tag.
5935 * java/io/ObjectInputStream.java.
5937 * java/io/ObjectOutputStream.java:
5938 Reformatted, fixed some @see tags.
5939 * java/io/OutputStreamWriter.java:
5941 * java/io/Writer.java:
5944 2003-03-24 Michael Koch <konqueror@gmx.de>
5946 * java/awt/Frame.java
5947 (DEFAULT_CURSOR): Fixed @deprecated tag.
5948 (setCursor): Fixed @deprecated tag.
5950 2003-03-24 Michael Koch <konqueror@gmx.de>
5952 * java/beans/beancontext/BeanContextEvent.java:
5955 2003-03-23 Eric Blake <ebb9@email.byu.edu>
5957 * java/lang/natStringBuffer.cc (regionMatches): New function.
5958 * java/lang/String.java (count): Now package-private.
5959 * java/lang/StringBuffer.java: Merged with Classpath.
5961 2003-03-23 Michael Koch <konqueror@gmx.de>
5963 * java/io/BufferedOutputStream.java:
5965 * java/io/BufferedReader.java:
5967 * java/io/ByteArrayOutputStream.java
5968 (size): Fixed @see tag.
5969 * java/io/CharArrayWriter.java
5970 (size): Fixed @see tag.
5971 * java/io/DataInput.java:
5973 * java/io/DataOutput.java:
5975 * java/io/DataOutputStream.java:
5976 Merged copyright years with classpath.
5977 * java/io/Externalizable.java:
5979 * java/io/FileFilter.java:
5981 * java/io/FileInputStream.java:
5982 Merged copyright years with classpath.
5983 * java/io/FileOutputStream.java:
5984 Merged copyright years with classpath.
5985 * java/io/FilePermission.java
5986 (FilePermission): Replaced @XXX with FIXME:.
5987 * java/io/FileWriter.java:
5989 * java/io/FilenameFilter.java:
5991 * java/io/FilterInputStream.java:
5993 * java/io/FilterOutputStream.java:
5995 * java/io/FilterReader.java:
5997 * java/io/FilterWriter.java:
5999 * java/io/LineNumberInputStream.java
6000 (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
6002 (getLineNumber): Fixed @return tag.
6003 * java/io/ObjectInput.java:
6005 * java/io/ObjectOutput.java:
6007 * java/io/ObjectStreamClass.java:
6009 * java/io/PrintStream.java:
6010 Merged copyright years with classpath.
6011 * java/io/PushbackReader.java
6012 (PushbackReader): Replaced @code with @param.
6013 * java/io/SerializablePermission.java:
6015 * java/io/StreamTokenizer.java
6016 (resetSyntax): Fixed @see tag.
6018 2003-03-22 Richard Henderson <rth@redhat.com>
6020 * sysdep/ia64/locks.h: Include ia64intrin.h.
6021 (compare_and_swap): Use __sync_bool_compare_and_swap.
6022 (compare_and_swap_release): Expose ar.ccv assignment.
6024 2003-03-22 Andreas Tobler <a.tobler@schweiz.ch>
6026 * include/posix.h: Add suffix for darwin dynamic libraries.
6028 2003-03-21 Michael Koch <konqueror@gmx.de>
6030 * javax/swing/Action.java
6031 (ACCELERATOR_KEY): New constant.
6032 (ACTION_COMMAND_KEY): Likewise.
6033 (MNEMONIC_KEY): Likewise.
6034 * javax/swing/UnsupportedLookAndFeelException.java
6035 (UnsupportedLookAndFeelException): Must be public.
6036 * javax/swing/WindowConstants.java
6037 (EXIT_ON_CLOSE): New constant.
6038 * javax/swing/text/BadLocationException.java
6039 (offset): New member variable.
6040 (BadLocationException): New implementation, documentation added.
6041 (offsetRequested): New method.
6042 * javax/swing/text/Caret.java:
6044 * javax/swing/text/Document.java:
6047 2003-03-21 Michael Koch <konqueror@gmx.de>
6049 * java/rmi/activation/Activatable.java
6050 (serialVersionUID): New member variable.
6051 * java/rmi/activation/ActivationGroup.java
6052 (serialVersionUID): New member variable.
6053 * java/rmi/activation/ActivationGroupDesc.java
6054 (serialVersionUID): New member variable.
6055 * java/rmi/registry/Registry.java:
6057 (Registry): Deprecated.
6058 * java/rmi/server/LoaderHandler.java
6060 (LoaderHandler): Deprecated.
6061 * java/rmi/server/LogStream.java
6063 (LogStream): Deprecated.
6064 * java/rmi/server/Operation.java
6065 (Operation): Deprecated.
6066 * java/rmi/server/RMIFailureHandler.java:
6068 * java/rmi/server/RMISocketFactory.java:
6070 * java/rmi/server/RemoteCall.java
6071 (RemoteCall): Deprecated.
6072 * java/rmi/server/RemoteStub.java:
6074 * java/rmi/server/Skeleton.java
6076 (Skeleton): Deprecated.
6078 2003-03-21 Michael Koch <konqueror@gmx.de>
6080 * java/io/LineNumberReader.java
6081 (LineNumberReader): Merged documentation with classpath.
6082 (getLineNumber): Likewise.
6083 (setLineNumber): Likewise.
6087 (readLine): Likewise.
6090 2003-03-21 Michael Koch <konqueror@gmx.de>
6092 * java/rmi/RMISecurityManager.java
6093 (checkAccept): Removed.
6094 (checkAccess): Likewise.
6095 (checkAccess): Likewise.
6096 (checkAwtEventQueueAccess): Likewise.
6097 (checkConnect): Likewise.
6098 (checkCreateClassLoader): Likewise.
6099 (checkDelete): Likewise.
6100 (checkExec): Likewise.
6101 (checkExit): Likewise.
6102 (checkLink): Likewise.
6103 (checkListen): Likewise.
6104 (checkMemberAccess): Likewise.
6105 (checkMulticast): Likewise.
6106 (checkPackageAccess): Likewise.
6107 (checkPackageDefinition): Likewise.
6108 (checkPermission): Likewise.
6109 (checkPrintJobAccess): Likewise.
6110 (checkPropertiesAccess): Likewise.
6111 (checkPropertyAccess): Likewise.
6112 (checkRead): Likewise.
6113 (checkSecurityAccess): Likewise.
6114 (checkSetFactory): Likewise.
6115 (checkSystemClipboardAccess): Likewise.
6116 (checkTopLevelWindow): Likewise.
6117 (checkWrite): Likewise.
6119 2003-03-20 Michael Koch <konqueror@gmx.de>
6121 * gnu/java/nio/FileChannelImpl.java
6123 (map_address): New member variable.
6124 (length): Make it package private.
6125 (fd): Make it package private.
6126 (buf): Make it package private.
6127 (file_obj): Make it package private.
6128 (FileChannelImpl): New constructor.
6129 (nio_mmap_file): Use RawData instead of long.
6130 (nio_munmap_file): Use RawData instead of long.
6131 (nio_msync): Use RawData instead of long.
6132 (implCloseChannel): New implementation using map_address.
6135 (create_direct_mapped_buffer): Implemented, use RawData, throws
6137 (force): Use map_address instead of address.
6138 * gnu/java/nio/MappedByteFileBuffer.java
6140 (map_address): New member variable.
6141 (MappedByteFileBuffer): Use map_address instead of address, reformated.
6142 (several methods): Use map_address instead of address, replaced long
6143 with RawData where appropriate.
6144 * gnu/java/nio/natFileChannelImpl.cc
6145 (nio_mmap_file): Replaced long with RawData.
6146 (nio_munmap_file): Replaced long with RawData.
6147 (nio_msync): Replaced long with RawData.
6148 * gnu/java/nio/natMappedByteFileBuffer.cc
6149 (several methods): Replaced long with RawData where appropriate.
6151 2003-03-20 Michael Koch <konqueror@gmx.de>
6153 * java/net/InetAddress.java,
6154 java/net/JarURLConnection.java,
6155 java/net/PlainDatagramSocketImpl.java,
6156 java/net/PlainSocketImpl.java,
6157 java/net/URLConnection.java:
6158 Merged copyright statements with classpath for easier merging.
6160 2003-03-20 Michael Koch <konqueror@gmx.de>
6162 * java/io/FileInputStream.java
6163 (getChannel): New implementation.
6164 * java/io/FileOutputStream.java
6165 (ch): New member variable.
6166 (getChannel): Implemented.
6167 * java/io/RandomAccessFile.java
6168 (RandomAccessFile): Throws FileNotFoundException instead of
6170 (getChannel): New method.
6171 (ch): New member variable.
6173 2003-03-20 Michael Koch <konqueror@gmx.de>
6175 * java/io/DataOutputStream.java,
6177 java/io/FileInputStream.java,
6178 java/io/FileOutputStream.java,
6179 java/io/InputStreamReader.java,
6180 java/io/LineNumberReader.java,
6181 java/io/OutputStreamWriter.java,
6182 java/io/PrintStream.java,
6183 java/io/RandomAccessFile.java:
6184 Merged copyright statements with classpath for easier merging.
6186 2003-03-19 Michael Koch <konqueror@gmx.de>
6188 * java/lang/Process.java:
6189 Merged from classpath.
6191 2003-03-19 Michael Koch <konqueror@gmx.de>
6193 * java/io/FileOutputStream.java
6194 (FileOutputStream): New constructor, merged from classpath.
6195 * java/io/FileWriter.java
6196 (FileWriter): New constructor, merged from classpath.
6198 2003-03-18 Michael Koch <konqueror@gmx.de>
6200 * java/awt/ScrollPane.java
6201 (ScrollPane): Rewrote for new ScrollPaneAdjustable.
6202 (getViewportSize): Likewise.
6203 (addNotify): Likewise.
6204 (removeNotify): Likewise.
6205 * java/awt/ScrollPaneAdjustable.java
6206 (ScrollPaneAdjustable): No longer extends Scrollbar.
6207 * java/beans/beancontext/BeanContextServices.java:
6209 (getService): Added throws TooManyListenersException;
6210 * java/beans/beancontext/BeanContextServicesSupport.java:
6213 2003-03-18 Michael Koch <konqueror@gmx.de>
6215 * java/io/BufferedOutputStream.java,
6216 java/io/DataInput.java,
6217 java/io/DataInputStream.java,
6218 java/io/DataOutput.java,
6219 java/io/Externalizable.java:
6220 More merges from classpath.
6222 2003-03-18 Michael Koch <konqueror@gmx.de>
6224 * configure.in: Fixed links to platform dependant java.net files.
6225 * configure: Regenerated.
6226 * java/net/natInetAddress.cc,
6227 java/net/natNetworkInterface.cc,
6228 java/net/natPlainDatagramSocketImpl.cc,
6229 java/net/natPlainSocketImpl.cc:
6232 2003-03-18 Michael Koch <konqueror@gmx.de>
6234 * configure.in: Create links to architecture dependent files,
6235 introduced PLATFORMNET variable (set to NoNet for newlib usage).
6236 * configure: Regenerated.
6237 * java/net/natInetAddressNoNet.cc,
6238 java/net/natInetAddressPosix.cc,
6239 java/net/natInetAddressWin32.cc,
6240 java/net/natNetworkInterfaceNoNet.cc,
6241 java/net/natNetworkInterfacePosix.cc,
6242 java/net/natNetworkInterfaceWin32.cc,
6243 java/net/natPlainDatagramSocketImplNoNet.cc,
6244 java/net/natPlainDatagramSocketImplPosix.cc,
6245 java/net/natPlainDatagramSocketImplWin32.cc,
6246 java/net/natPlainSocketImplNoNet.cc,
6247 java/net/natPlainSocketImplPosix.cc,
6248 java/net/natPlainSocketImplWin32.cc: New files.
6250 2003-03-18 Michael Koch <konqueror@gmx.de>
6252 * java/io/BufferedReader.java,
6253 java/io/BufferedWriter.java,
6254 java/io/ByteArrayOutputStream.java,
6255 java/io/FileFilter.java,
6256 java/io/FilePermission.java,
6257 java/io/FileReader.java,
6258 java/io/FileWriter.java,
6259 java/io/FilenameFilter.java,
6260 java/io/FilterInputStream.java,
6261 java/io/FilterOutputStream.java,
6262 java/io/FilterReader.java,
6263 java/io/FilterWriter.java,
6264 java/io/ObjectInput.java,
6265 java/io/ObjectInputValidation.java,
6266 java/io/ObjectOutput.java,
6267 java/io/ObjectStreamField.java,
6268 java/io/PipedInputStream.java,
6269 java/io/PipedReader.java,
6270 java/io/PrintWriter.java,
6271 java/io/PushbackReader.java,
6272 java/io/Reader.java,
6273 java/io/SerializablePermission.java,
6274 java/io/StringReader.java,
6275 java/io/Writer.java:
6276 Merged from classpath.
6278 2003-03-17 Michael Koch <konqueror@gmx.de>
6280 * java/awt/ScrollPaneAdjustable.java:
6283 2003-03-17 Michael Koch <konqueror@gmx.de>
6285 * java/net/DatagramSocket.java
6286 (connect): Fixed comment.
6287 * java/nio/ByteBuffer.java
6288 (hasArray): Fixed comment.
6290 2003-03-17 Michael Koch <konqueror@gmx.de>
6292 * java/beans/Beans.java:
6293 Explicitely import classes not packages.
6294 * java/beans/FeatureDescriptor.java
6295 (preferred): New member variable.
6296 (isPreferred): New method.
6297 (setPreferred): New method.
6298 * java/beans/PropertyEditorManager.java:
6299 Explicitely import used classes.
6300 * java/beans/beancontext/BeanContextChild.java:
6301 Added line wrapping.
6302 * java/beans/beancontext/BeanContextChildSupport.java:
6304 * java/beans/beancontext/BeanContextEvent.java:
6307 2003-03-17 Michael Koch <konqueror@gmx.de>
6309 * java/awt/Dialog.java
6310 (Dialog): New constructor, changed implementations, added
6312 * java/awt/ScrollPaneAdjustable.java
6313 (ScrollPaneAdjustable): Extends Object, implements Adjustable and
6315 (serialVersionUID): New member variable.
6316 (sp): New member variable.
6317 (orientation): New member variable.
6318 (value): New member variable.
6319 (minimum): New member variable.
6320 (maximum): New member variable.
6321 (visibleAmount): New member variable.
6322 (unitIncrement): New member variable.
6323 (blockIncrement): New member variable.
6324 (AdjustmentListener): New member variable.
6325 (ScrollPaneAdjustable): New implementation.
6326 (addAdjustmentListener): New method.
6327 (removeAdjustmentListener): New method.
6328 (getAdjustmentListeners): New method.
6329 (getBlockIncrement): New method.
6330 (getMaximum): New method.
6331 (getMinimum): New method.
6332 (getOrientation): New method.
6333 (getUnitIncrement): New method.
6334 (getValue): New method.
6335 (getVisibleAmount): New method.
6336 (setBlockIncrement): New method.
6337 (setMaximum): Implemented.
6338 (setMinimum): Implemented.
6339 (setUnitIncrement): New method.
6340 (setValue): New method.
6341 (setVisibleAmount): Implemented.
6342 (paramString): New stubbed method.
6343 * java/awt/Window.java
6344 (show): Call setVisible().
6345 (hide): Call setVisible().
6346 (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
6347 and WINDOW_STATE_CHANGED.
6348 (processWindowFocusEvent): New method.
6349 (processWindowStateEvent): New method.
6350 (postEvent): Deprecated.
6351 (applyResourceBundle): Deprecated.
6352 * java/awt/datatransfer/DataFlavor.java
6353 (DataFlavor): Doesn't thow ClassNotFoundException.
6355 2003-03-17 Michael Koch
6357 * javax/print/attribute/Attribute.java,
6358 javax/print/attribute/AttributeSet.java,
6359 javax/print/attribute/PrintRequestAttributeSet.java:
6362 (javax_source_files): Added new files:
6363 javax/print/attribute/Attribute.java
6364 javax/print/attribute/AttributeSet.java
6365 javax/print/attribute/PrintRequestAttributeSet.java
6366 * Makefile.in: Regenerated.
6368 2003-03-17 Michael Koch
6370 * javax/print/attribute/Attribute.java,
6371 javax/print/attribute/AttributeSet.java,
6372 javax/print/attribute/PrintRequestAttributeSet.java:
6375 (awt_java_source_files): Added new files:
6376 javax/print/attribute/Attribute.java
6377 javax/print/attribute/AttributeSet.java
6378 javax/print/attribute/PrintRequestAttributeSet.java
6379 * Makefile.in: Regenerated.
6381 2003-03-16 Tom Tromey <tromey@redhat.com>
6383 * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
6385 * java/lang/natRuntime.cc (insertSystemProperties): Use
6386 _Jv_platform_path_separator.
6387 (nativeGetLibname): Use _Jv_platform_file_separator.
6388 (_load): Use _Jv_platform_onload_names.
6389 (onload_names): New global.
6390 * include/win32.h (_Jv_platform_file_separator): New define.
6391 (_Jv_platform_path_separator): Likewise.
6392 (_Jv_platform_onload_names): Likewise.
6393 (_Jv_platform_ffi_abi): Likewise.
6394 * include/posix.h (_Jv_platform_file_separator): New define.
6395 (_Jv_platform_path_separator): Likewise.
6396 (_Jv_platform_onload_names): Likewise.
6397 (_Jv_platform_ffi_abi): Likewise.
6399 2003-03-14 Hans Boehm <Hans.Boehm@hp.com>
6401 * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
6403 2003-02-14 Jeroen Frijters <jeroen@sumatra.nl>
6405 * java/io/ObjectInputStream.java (readObject): Cleaned up the class
6407 (readFields(Object,ObjectStreamField[],boolean)): Changed argument
6408 list to Object,ObjectStreamClass, moved callReadMethod code up into
6409 readObject and added Class argument to all setXxxField calls.
6410 (callReadMethod): Changed Class argument to ObjectStreamClass to be
6411 consistent with ObjectOutputStream and to facilitate caching the
6412 Method in the future.
6413 (setBooleanField): Added Class argument.
6414 (setByteField): Likewise.
6415 (setCharField): Likewise.
6416 (setDoubleField): Likewise.
6417 (setFloatField): Likewise.
6418 (setIntField): Likewise.
6419 (setLongField): Likewise.
6420 (setShortField): Likewise.
6421 (setObjectField): Likewise.
6422 * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
6423 class hierarchy loop.
6424 (defaultWriteObject): Call writeFields with new argument list.
6425 (writeFields(Object,ObjectStreamField[],boolean): Changed argument
6426 list to Object,ObjectStreamClass, moved callWriteMethod up into
6427 writeObject and added Class argument to all getXxxField calls.
6428 (callWriteMethod): Added ObjectStreamClass argument to be able to
6429 get the proper class to call getMethod on (each class can have (or
6430 not have) its own writeObject method).
6431 (getBooleanField): Added Class argument.
6432 (getByteField): Likewise.
6433 (getCharField): Likewise.
6434 (getDoubleField): Likewise.
6435 (getFloatField): Likewise.
6436 (getIntField): Likewise.
6437 (getLongField): Likewise.
6438 (getShortField): Likewise.
6439 (getObjectField): Likewise.
6440 * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
6441 facilitate caching the Method object in the future.
6443 2003-03-12 Andreas Schwab <schwab@suse.de>
6445 * configure.in: Avoid trailing /. in toolexeclibdir.
6446 * configure: Rebuilt.
6448 2003-03-11 Michael Koch <konqueror@gmx.de>
6450 * gnu/java/nio/ByteBufferImpl.java
6451 (putInt): Use limit() instead of limit.
6452 * gnu/java/nio/CharBufferImpl.java
6453 (slice): Fixed implementation.
6454 (subSequence): Better bounds checking.
6455 * gnu/java/nio/MappedByteFileBuffer.java:
6456 Import all needed classes directly.
6457 * java/nio/ByteBuffer.java
6458 (hashCode): New dummy method.
6459 * java/nio/CharBuffer.java
6460 (array_offset): New member variable.
6461 (hasArray): Fixed documentation.
6462 (arrayOffset): Return array_offset.
6464 2003-03-10 2003-02-27 Mohan Embar <gnustuff@thisiscool.com>
6466 * include/jvm.h: removed declaration of _Jv_ThisExecutable()
6467 setter; made return value of getter const char* instead of char*
6468 * prims.cc: removed all references to _Jv_ThisExecutable().
6469 These are in the platform-specific sections now.
6470 * posix.cc: define platform-specific _Jv_ThisExecutable().
6471 Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
6472 * win32.cc: define platform-specific _Jv_ThisExecutable()
6473 using GetModuleFilename()
6474 * java/lang/natRuntime.cc: set gnu.gcj.progname property
6475 to argv[0] instead of _Jv_ThisExecutable()
6477 2003-03-10 Ranjit Mathew <rmathew@hotmail.com>
6479 * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
6480 that is set if we are using addr2name.awk instead of addr2line.
6481 (NameFinder): Set usingAddr2name if using addr2name.awk.
6482 (getExternalLabel): New native method to convert a method
6483 name to an external label.
6484 (lookup): Convert name given by addr2line to an external label
6487 * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
6488 constant representing the prefix attached to method names to
6489 convert them to an external label.
6490 (gnu::gcj::runtime::NameFinder::getExternalLabel): Define
6493 2003-03-10 Tom Tromey <tromey@redhat.com>
6495 * Makefile.in: Rebuilt.
6496 * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
6497 (JC1FLAGS): Removed -Wno-deprecated.
6499 2003-03-10 Michael Koch <konqueror@gmx.de>
6501 * java/nio/ByteOrder.java
6502 (nativeOrder): Working implementation, added documentation.
6503 (toString): Added documentation.
6505 2003-03-10 Michael Koch <konqueror@gmx.de>
6507 * java/net/DatagramSocket.java,
6508 java/net/MulticastSocket.java,
6509 java/net/Socket.java,
6511 java/net/URLConnection.java:
6512 Fixed some documentation tags to make javadoc and friends happy.
6514 2003-03-10 Michael Koch <koqnueror@gmx.de>
6516 * java/beans/beancontext/BeanContextServicesSupport.java,
6517 java/beans/beancontext/BeanContextSupport.java: New files.
6519 (awt_source_files): Added new files.
6520 * Makefile.in: Regenerated.
6522 2003-03-10 Michael Koch <konqueror@gmx.de>
6524 * java/awt/FocusTraversalPolicy.java
6525 (FocusTraversalPolicy): Documentation added.
6526 (getComponentAfter): Documentation added.
6527 (getComponentBefore): Documentation added.
6528 (getFirstComponent): Documentation added.
6529 (getLastComponent): Documentation added.
6530 (getDefaultComponent): Documentation added.
6531 (getInitialComponent): Documentation added.
6532 * java/awt/ScrollPaneAdjustable.java
6533 (sp): New member variable.
6534 (orientation): New member variable.
6535 (value): New member variable.
6536 (minimum): New member variable.
6537 (maximum): New member variable.
6538 (visibleAmount): New member variable.
6539 (unitIncrement): New member variable.
6540 (blockIncrement): New member variable.
6541 (adjustmentListener): New member variable.
6542 (ScrollPaneAdjustable): Rewrote.
6543 (addAdjustmentListener): New method.
6544 (removeAdjustmentListener): New method.
6545 (getAdjustmentListeners): New method.
6546 (getBlockIncrement): New method.
6547 (getMaximum): New method.
6548 (getMinimum): New method.
6549 (getOrientation): New method.
6550 (getUnitIncrement): New method.
6551 (getValue): New method.
6552 (getVisibleAmount): New method.
6553 (setBlockIncrement): New method.
6554 (setUnitIncrement): New method.
6555 (setMaximum): Implemented.
6556 (setMinimum): Implemented.
6557 (setValue): New method.
6558 (setVisibleAmount): Implemented.
6559 (paramString): New method.
6560 * java/awt/Window.java
6561 (show): Use setVisible(true) instead of super.show().
6562 (hide): Use sevVisible(false) instead of super.hide().
6563 (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
6564 WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
6565 (postEvent): Deprecated.
6566 (applyResourceBundle): Deprecated.
6567 (processWindowFocusEvent): New method.
6568 (processWindowStateEvent): New method.
6569 * java/awt/datatransfer/DataFlavor.java: Reindented.
6570 * java/awt/font/TextHitInfo.java
6571 (charIndex): New member variable.
6572 (leadingEdge): New member variable.
6573 (TextHitInfo): New constructor.
6574 (getCharIndex): Implemented.
6575 (isLeadingEdge): Implemented.
6576 (getInsertionIndex): Implemented.
6577 (hashCode): Access charIndex directly.
6578 (equals): Reformated.
6579 (leading): Implemented.
6580 (trailing): Implemented.
6581 (beforeOffset): Implemented.
6582 (afterOffset): Implemented.
6583 (getOtherHit): Implemented.
6584 (getOffsetHit): Implemented.
6585 (toString): Implemented.
6586 * java/awt/image/BufferedImage.java
6587 (BufferedImage): Implements WritableRenderedImage.
6588 (observers): New member variable.
6589 (addTileObserver): New method.
6590 (removeTileObserver): New method.
6592 2003-03-09 Tom Tromey <tromey@redhat.com>
6595 * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
6596 to lseek. Return 0 if we can't compute the value.
6598 2003-03-03 Michael Koch <konqueror@gmx.de>
6600 * java/net/NetworkInterface.java: Merged with classpath.
6602 2003-03-03 Tom Tromey <tromey@redhat.com>
6604 * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
6606 (handle_ret_insn): Fail if returning to jsr that appears at end of
6609 2003-03-03 Michael Koch <konqueror@gmx.de>
6612 (ordinary_java_source_files):
6613 Added gnu/java/nio/MappedByteFileBuffer.java.
6615 Added gnu/java/nio/natMappedByteFileBuffer.cc.
6616 * Makefile.in: Regenerated.
6618 2003-03-03 Michael Koch <konqueror@gmx.de>
6620 * java/net/DatagramSocket.java
6621 (connect): Merged comment from classpath.
6622 (receive): Merged documentation from classpath.
6623 * java/net/Socket.java
6624 (setSoTimeout): Clarified documentation.
6626 (getPath): Merged from classpath.
6627 (getUserInfo): Merged from classpath.
6628 (getQuery): Merged from classpath.
6629 * java/net/URLStreamHandler.java
6630 (toExternalForm): Merged from classpath.
6632 2003-03-02 Mark Wielaard <mark@klomp.org>
6634 * java/util/Properties.java (load): Only skip line if the first
6635 character is a comment, whitespaces don't count.
6637 2003-03-02 Michael Koch <konqueror@gmx.de>
6639 * java/net/NetPermission.java:
6640 Merged copyright with classpath.
6642 2003-03-02 Michael Koch <konqueror@gmx.de>
6644 * java/lang/Package.java:
6645 Remerged from classpath.
6647 2003-03-02 Michael Koch <konqueror@gmx.de>
6649 * java/net/HttpURLConnection.java
6650 (HTTP_SERVER_ERROR): Deprecated.
6651 * java/net/MulticastSocket.java
6652 (send): Replaced checkMulticast with appropriate checkPermission call,
6654 * java/net/URLDecoder.java
6655 (decode): Deprecated.
6656 * java/net/URLEncoder.java
6657 (encode): Deprecated.
6659 2003-03-02 Michael Koch <konqueror@gmx.de>
6661 * javax/swing/text/Caret.java
6662 (getMagicCaretPosition): Fixed typo in method name.
6663 * javax/swing/text/DefaultCaret.java
6664 (getMagicCaretPosition): Fixed typo in method name.
6666 2003-03-02 Michael Koch <konqueror@gmx.de>
6668 * java/awt/List.java
6669 (setMultipleSelections): Deprecated.
6670 (delItem): Deprecated.
6671 * java/awt/MenuComponent.java
6672 (getPeer): Deprecated.
6673 * java/awt/ScrollPane.java
6674 (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
6675 * java/awt/dnd/MouseDragGestureRecognizer.java
6676 (mouseClicked): Added comment.
6677 (mousePressed): Added comment.
6678 (mouseReleased): Added comment.
6679 (mouseEntered): Added comment.
6680 (mouseExited): Added comment.
6681 (mouseDragged): Added comment.
6682 (mouseMoved): Added comment.
6683 * java/awt/event/KeyEvent.java
6684 (KeyEvent): Deprecated.
6685 (setModifiers): Deprecated.
6687 2003-03-02 Michael Koch <konqueror@gmx.de>
6689 * gnu/java/nio/FileChannelImpl.java
6690 (fd): Type FileDescriptor instead of int.
6691 (lengthInternal): Removed.
6692 (FileChannelImpl): Fixed arguments, check type of file object.
6693 (size): Made it native.
6694 (implPosition): New native method.
6695 (implTruncate): New native method.
6696 (position): Implemented.
6697 (truncate): Implemented.
6698 (nio_mmap_file): Changed arguments.
6699 (nio_munmap_file): Changed arguments.
6700 (nio_msync): Changed arguments.
6701 * gnu/java/nio/natFileChannelImpl.cc
6702 (lengthInternal): Removed.
6704 (implPosition): New method.
6705 (implTruncate): New method.
6706 (nio_mmap_file): Changed arguments.
6707 (nio_munmap_file): Changed arguments.
6708 (nio_msync): Changed arguments.
6710 2003-03-02 Michael Koch <konqueror@gmx.de>
6712 * java/awt/dnd/DropTargetContext.java:
6713 Compile fix: Forgot to commit import.
6715 2003-03-02 Michael Koch <konqueror@gmx.de>
6717 * java/awt/Component.java,
6718 java/awt/ScrollPane.java:
6721 2003-03-02 Michael Koch <konqueror@gmx.de>
6723 * java/awt/dnd/DnDEventMulticaster.java: New file.
6724 * java/awt/dnd/DragSource.java
6725 (flavorMap): New member variable.
6726 (dragSourceListener): New member variable.
6727 (dragSourceMotionListener): New member variable.
6728 (getFlavorMap): Implemented.
6729 (createDragGestureRecognizer): Implemented.
6730 (addDragSourceListener): Implemented.
6731 (removeDragSourceListener): Implemented.
6732 (getDragSourceListeners): Implemented.
6733 (addDragSourceMotionListener): Implemented.
6734 (removeDragSourceMotionListener): Implemented.
6735 (getDragSourceMotionListeners): Implemented.
6736 (getListeners): Implemented.
6737 * java/awt/dnd/DragSourceContext.java
6738 (peer): New member variable.
6739 (cursor): New member variable.
6740 (transferable): New member variable.
6741 (trigger): New member variable.
6742 (dragSourceListener): New member variable.
6743 (image): New member variable.
6744 (offset): New member variable.
6745 (DragSourceContext): Implemented.
6746 (getDragSource): Implemented.
6747 (getComponent): Implemented.
6748 (getTrigger): Implemented.
6749 (getSourceActions): Implemented.
6750 (setCursor): Implemented.
6751 (getCursor): Implemented.
6752 (addDragSourceListener): Implemented.
6753 (removeDragSourceListener): Implemented.
6754 (getTransferable): Implemented.
6755 * java/awt/dnd/DropTarget.java
6756 (DropTargetAutoScroller.component): New member variable.
6757 (DropTargetAutoScroller.point): New member variable.
6758 (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
6759 (DropTargetAutoScroller.updateLocation): Implemented.
6760 (active): Renamed from isActive, defaults to true now.
6761 (component): New member variable.
6762 (flavorMap): New member variable.
6763 (actions): New member variable.
6764 (dropTargetContext): New member variable.
6765 (dropTargetListener): New member variable.
6766 (DropTarget): Implemented.
6767 (getComponent): Implemented.
6768 (setComponent): Implemented.
6769 (setDefaultActions): Implemented.
6770 (getDefaultActions): Implemented.
6771 (setActive): Use active instead of isActive.
6772 (isActive): Use active instead of isActive.
6773 (addDropTargetListener): Implemented.
6774 (removeDropTargetListener): Implemented.
6775 (getFlavorMap): Implemented.
6776 (setFlavorMap): Implemented.
6777 (getDropTargetContext): Implemented.
6778 (createDropTargetContext): Implemented.
6779 (createDropTargetAutoScroller): Implemented.
6780 * java/awt/dnd/DropTargetContext.java
6781 (TransferableProxy.getTransferDataFlavors): Implemented.
6782 (TransferableProxy.isDataFlavorSupported): Implemented.
6783 (TransferableProxy.getTransferData): Implemented.
6784 (dropTarget): New member variable.
6785 (dtcp): New member variable.
6786 (DropTargetContext): New package private constructor.
6787 (getDropTarget): Implemented.
6788 (getComponent): Implemented.
6789 (addNotify): Implemented.
6790 (removeNotify): Implemented.
6791 (getCurrentDataFlavorsAsList): Implemented.
6792 (isDataFlavorSupported): Implemented.
6793 * java/awt/dnd/MouseDragGestureRecognizer.java
6794 (registerListeners): Implemented.
6795 (unregisterListeners): Implemented.
6797 (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
6798 * Makefile.in: Regenerated.
6800 2003-03-02 Michael Koch <konqueror@gmx.de>
6802 * java/awt/Component.java
6803 (eventTypeEnabled): New method.
6804 (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
6805 * java/awt/Container.java
6806 (changeSupport): New member variable.
6807 (addPropertyChangeListener): New methods.
6808 * java/awt/ContainerOrderFocusTraversalPolicy.java
6809 (ContainerOrderFocusTraversalPolicy): Added comment.
6810 (getComponentAfter): Throw exception, documentation added.
6811 (getComponentBefore): Throw exception, documentation added.
6812 (getFirstComponent): Throw exception, documentation added.
6813 (getLastComponent): Throw exception, documentation added.
6814 (getDefaultComponent): Throw exception, documentation added.
6815 * java/awt/EventQueue.java: Reindented.
6816 * java/awt/FocusTraversalPolicy.java:
6817 (FocusTraversalPolicy): Added comment.
6818 (getComponentAfter): Documentation added.
6819 (getComponentBefore): Documentation added.
6820 (getFirstComponent): Documentation added.
6821 (getLastComponent): Documentation added.
6822 (getDefaultComponent): Documentation added.
6823 (getInitialComponent): Documentation added.
6824 * java/awt/ScrollPane.java
6825 (wheelScrollingEnabled): New member variable.
6826 (ScrollPane): Initialize wheelScollingEnabled.
6827 (eventTypeEnabled): New method.
6828 (isWheelScrollingEnabled): New method.
6829 (setWheelScrollingEnabled): New method.
6831 2003-03-02 Michael Koch <konqueror@gmx.de>
6833 * java/net/DatagramSocket.java
6834 (closed): New member variable.
6835 (close): Use closed variable.
6836 (getInetAddress): No need to call isConnected().
6837 (getPort): No need to call isConnected().
6838 (disconnect): Reset remoteAddress and remotePort, fixed typo.
6839 (isClosed): Reimplemented.
6841 2003-03-02 Michael Koch <konqueror@gmx.de>
6843 * configure.in: Added check for memory mapping of files.
6844 * configure: Regenerated.
6845 * config.h.in: Regenerated.
6847 2003-03-01 Jason Thorpe <thorpej@wasabisystems.com>
6849 * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
6850 (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
6852 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
6854 * java/io/File.java (normalizePath): Remove trailing separator
6855 on Windows only if path is not of the form "x:\".
6857 * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
6858 (java::io::File::attr): Change formatting a bit and use
6859 WIN32_EPOCH_MILLIS instead of magic numbers.
6860 (java::io::File::isAbsolute): Path must have at least 3
6861 characters for a UNC network path.
6862 (java::io::File::init_native): Define.
6863 (java::io::File::performCreate): Likewise.
6864 (java::io::File::performSetReadOnly): Likewise.
6865 (java::io::File::performSetLastModified): Likewise.
6866 (java::io::File::performListRoots): Likewise.
6868 2003-03-01 Tom Tromey <tromey@redhat.com>
6870 * java/lang/natObject.cc: Don't include assert.h.
6871 (heavy_lock_obj_finalization_proc): Use JvAssert.
6872 (remove_all_heavy): Likewise.
6873 (_Jv_MonitorEnter): Likewise.
6874 (_Jv_MonitorExit): Likewise.
6877 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
6879 * java/io/File (getAbsolutePath): Prefix drive specifier on
6880 Windows for paths starting with a '\'.
6881 (toURL): Make URL more consistent with what Sun's JDK returns.
6883 * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
6884 true only if the path is a UNC network path or it starts with a
6887 * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
6888 Be prepared to handle either '/' or '\\' in the file path for
6889 Windows if using the "file" protocol.
6890 Canonicalise the file path if using a relative path in the given
6891 context and the "file" protocol.
6893 2003-03-01 Mohan Embar <gnustuff@thisiscool.com>
6895 * java/lang/natWin32Process.cc (startProcess): Double-quote each
6896 program array element passed to CreateProcess.
6898 2003-03-01 Tom Tromey <tromey@redhat.com>
6900 * java/rmi/registry/RegistryHandler.java: Deprecate.
6902 2003-03-01 Tom Tromey <tromey@redhat.com>
6904 * javax/accessibility/AccessibleEditableText.java,
6905 javax/accessibility/AccessibleHyperlink.java: New versions from
6908 * gnu/java/locale/LocaleInformation_af_ZA.java,
6909 gnu/java/locale/LocaleInformation_ar_AE.java,
6910 gnu/java/locale/LocaleInformation_ar_BH.java,
6911 gnu/java/locale/LocaleInformation_ar_DZ.java,
6912 gnu/java/locale/LocaleInformation_ar_EG.java,
6913 gnu/java/locale/LocaleInformation_ar_IN.java,
6914 gnu/java/locale/LocaleInformation_ar_IQ.java,
6915 gnu/java/locale/LocaleInformation_ar_JO.java,
6916 gnu/java/locale/LocaleInformation_ar_KW.java,
6917 gnu/java/locale/LocaleInformation_ar_LB.java,
6918 gnu/java/locale/LocaleInformation_ar_LY.java,
6919 gnu/java/locale/LocaleInformation_ar_MA.java,
6920 gnu/java/locale/LocaleInformation_ar_OM.java,
6921 gnu/java/locale/LocaleInformation_ar_QA.java,
6922 gnu/java/locale/LocaleInformation_ar_SD.java,
6923 gnu/java/locale/LocaleInformation_ar_SY.java,
6924 gnu/java/locale/LocaleInformation_ar_TN.java,
6925 gnu/java/locale/LocaleInformation_ar_YE.java,
6926 gnu/java/locale/LocaleInformation_be_BY.java,
6927 gnu/java/locale/LocaleInformation_bn_IN.java,
6928 gnu/java/locale/LocaleInformation_br_FR.java,
6929 gnu/java/locale/LocaleInformation_bs_BA.java,
6930 gnu/java/locale/LocaleInformation_ca_ES.java,
6931 gnu/java/locale/LocaleInformation_cs_CZ.java,
6932 gnu/java/locale/LocaleInformation_cy_GB.java,
6933 gnu/java/locale/LocaleInformation_da_DK.java,
6934 gnu/java/locale/LocaleInformation_de_AT.java,
6935 gnu/java/locale/LocaleInformation_de_BE.java,
6936 gnu/java/locale/LocaleInformation_de_CH.java,
6937 gnu/java/locale/LocaleInformation_de_DE.java,
6938 gnu/java/locale/LocaleInformation_de_LU.java,
6939 gnu/java/locale/LocaleInformation_el_GR.java,
6940 gnu/java/locale/LocaleInformation_en_AU.java,
6941 gnu/java/locale/LocaleInformation_en_BW.java,
6942 gnu/java/locale/LocaleInformation_en_CA.java,
6943 gnu/java/locale/LocaleInformation_en_DK.java,
6944 gnu/java/locale/LocaleInformation_en_GB.java,
6945 gnu/java/locale/LocaleInformation_en_HK.java,
6946 gnu/java/locale/LocaleInformation_en_IE.java,
6947 gnu/java/locale/LocaleInformation_en_IN.java,
6948 gnu/java/locale/LocaleInformation_en_NZ.java,
6949 gnu/java/locale/LocaleInformation_en_PH.java,
6950 gnu/java/locale/LocaleInformation_en_SG.java,
6951 gnu/java/locale/LocaleInformation_en_US.java,
6952 gnu/java/locale/LocaleInformation_en_ZA.java,
6953 gnu/java/locale/LocaleInformation_en_ZW.java,
6954 gnu/java/locale/LocaleInformation_es_AR.java,
6955 gnu/java/locale/LocaleInformation_es_BO.java,
6956 gnu/java/locale/LocaleInformation_es_CL.java,
6957 gnu/java/locale/LocaleInformation_es_CO.java,
6958 gnu/java/locale/LocaleInformation_es_CR.java,
6959 gnu/java/locale/LocaleInformation_es_DO.java,
6960 gnu/java/locale/LocaleInformation_es_EC.java,
6961 gnu/java/locale/LocaleInformation_es_ES.java,
6962 gnu/java/locale/LocaleInformation_es_GT.java,
6963 gnu/java/locale/LocaleInformation_es_HN.java,
6964 gnu/java/locale/LocaleInformation_es_MX.java,
6965 gnu/java/locale/LocaleInformation_es_NI.java,
6966 gnu/java/locale/LocaleInformation_es_PA.java,
6967 gnu/java/locale/LocaleInformation_es_PE.java,
6968 gnu/java/locale/LocaleInformation_es_PR.java,
6969 gnu/java/locale/LocaleInformation_es_PY.java,
6970 gnu/java/locale/LocaleInformation_es_SV.java,
6971 gnu/java/locale/LocaleInformation_es_US.java,
6972 gnu/java/locale/LocaleInformation_es_UY.java,
6973 gnu/java/locale/LocaleInformation_es_VE.java,
6974 gnu/java/locale/LocaleInformation_et_EE.java,
6975 gnu/java/locale/LocaleInformation_eu_ES.java,
6976 gnu/java/locale/LocaleInformation_fa_IR.java,
6977 gnu/java/locale/LocaleInformation_fi_FI.java,
6978 gnu/java/locale/LocaleInformation_fo_FO.java,
6979 gnu/java/locale/LocaleInformation_fr_BE.java,
6980 gnu/java/locale/LocaleInformation_fr_CA.java,
6981 gnu/java/locale/LocaleInformation_fr_CH.java,
6982 gnu/java/locale/LocaleInformation_fr_FR.java,
6983 gnu/java/locale/LocaleInformation_fr_LU.java,
6984 gnu/java/locale/LocaleInformation_ga_IE.java,
6985 gnu/java/locale/LocaleInformation_gd_GB.java,
6986 gnu/java/locale/LocaleInformation_gl_ES.java,
6987 gnu/java/locale/LocaleInformation_gv_GB.java,
6988 gnu/java/locale/LocaleInformation_he_IL.java,
6989 gnu/java/locale/LocaleInformation_hi_IN.java,
6990 gnu/java/locale/LocaleInformation_hr_HR.java,
6991 gnu/java/locale/LocaleInformation_hu_HU.java,
6992 gnu/java/locale/LocaleInformation_id_ID.java,
6993 gnu/java/locale/LocaleInformation_it_CH.java,
6994 gnu/java/locale/LocaleInformation_it_IT.java,
6995 gnu/java/locale/LocaleInformation_iw_IL.java,
6996 gnu/java/locale/LocaleInformation_ja_JP.java,
6997 gnu/java/locale/LocaleInformation_ka_GE.java,
6998 gnu/java/locale/LocaleInformation_kl_GL.java,
6999 gnu/java/locale/LocaleInformation_ko_KR.java,
7000 gnu/java/locale/LocaleInformation_kw_GB.java,
7001 gnu/java/locale/LocaleInformation_lt_LT.java,
7002 gnu/java/locale/LocaleInformation_lv_LV.java,
7003 gnu/java/locale/LocaleInformation_mi_NZ.java,
7004 gnu/java/locale/LocaleInformation_mk_MK.java,
7005 gnu/java/locale/LocaleInformation_mr_IN.java,
7006 gnu/java/locale/LocaleInformation_mt_MT.java,
7007 gnu/java/locale/LocaleInformation_nl_BE.java,
7008 gnu/java/locale/LocaleInformation_nl_NL.java,
7009 gnu/java/locale/LocaleInformation_nn_NO.java,
7010 gnu/java/locale/LocaleInformation_no_NO.java,
7011 gnu/java/locale/LocaleInformation_oc_FR.java,
7012 gnu/java/locale/LocaleInformation_pl_PL.java,
7013 gnu/java/locale/LocaleInformation_pt_BR.java,
7014 gnu/java/locale/LocaleInformation_pt_PT.java,
7015 gnu/java/locale/LocaleInformation_ro_RO.java,
7016 gnu/java/locale/LocaleInformation_ru_RU.java,
7017 gnu/java/locale/LocaleInformation_ru_UA.java,
7018 gnu/java/locale/LocaleInformation_se_NO.java,
7019 gnu/java/locale/LocaleInformation_sk_SK.java,
7020 gnu/java/locale/LocaleInformation_sl_SI.java,
7021 gnu/java/locale/LocaleInformation_sq_AL.java,
7022 gnu/java/locale/LocaleInformation_sr_YU.java,
7023 gnu/java/locale/LocaleInformation_sv_FI.java,
7024 gnu/java/locale/LocaleInformation_sv_SE.java,
7025 gnu/java/locale/LocaleInformation_ta_IN.java,
7026 gnu/java/locale/LocaleInformation_te_IN.java,
7027 gnu/java/locale/LocaleInformation_tg_TJ.java,
7028 gnu/java/locale/LocaleInformation_tl_PH.java,
7029 gnu/java/locale/LocaleInformation_tr_TR.java,
7030 gnu/java/locale/LocaleInformation_uk_UA.java,
7031 gnu/java/locale/LocaleInformation_ur_PK.java,
7032 gnu/java/locale/LocaleInformation_uz_UZ.java,
7033 gnu/java/locale/LocaleInformation_vi_VN.java,
7034 gnu/java/locale/LocaleInformation_yi_US.java,
7035 gnu/java/locale/LocaleInformation_zh_CN.java,
7036 gnu/java/locale/LocaleInformation_zh_HK.java,
7037 gnu/java/locale/LocaleInformation_zh_SG.java,
7038 gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
7039 info; from Classpath.
7041 * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
7042 isPaintPending): New methods.
7043 * gnu/awt/xlib/XFramePeer.java (getState, setState,
7044 setMaximizedBounds): New methods.
7045 (beginLayout, endLayout, isPaintPending): Likewise.
7046 * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
7047 (requestFocus): Likewise.
7048 (isObscured): Likewise.
7049 (canDetermineObscurity): Likewise.
7050 (coalescePaintEvent): Likewise.
7051 (updateCursorImmediately): Likewise.
7052 (createVolatileImage): Likewise.
7053 (handlesWheelScrolling): Likewise.
7054 (createBuffers): Likewise.
7055 (getBackBuffer): Likewise.
7057 (destroyBuffers): Likewise.
7059 * Makefile.in: Rebuilt.
7060 * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
7062 * gnu/java/awt/GLightweightPeer.java,
7063 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
7064 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7065 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
7066 gnu/java/awt/peer/gtk/GtkFramePeer.java,
7067 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
7068 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
7069 java/awt/dnd/peer/DragSourceContextPeer.java,
7070 java/awt/dnd/peer/DropTargetContextPeer.java,
7071 java/awt/peer/ButtonPeer.java,
7072 java/awt/peer/CheckboxMenuItemPeer.java,
7073 java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
7074 java/awt/peer/ComponentPeer.java,
7075 java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
7076 java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
7077 java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
7078 java/awt/peer/MenuBarPeer.java,
7079 java/awt/peer/MenuComponentPeer.java,
7080 java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
7081 java/awt/peer/PopupMenuPeer.java,
7082 java/awt/peer/ScrollPanePeer.java,
7083 java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
7084 java/awt/peer/TextComponentPeer.java,
7085 java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
7086 New versions from Classpath.
7087 * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
7088 * java/awt/peer/RobotPeer.java: Likewise.
7090 2003-03-01 Mark Wielaard <mark@klomp.org>
7092 * java/io/ObjectInputStream.java: Reindent.
7093 * java/io/ObjectOutputStream.java: Likewise.
7095 2003-02-28 Hans Boehm <Hans.Boehm@hp.com>
7097 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
7098 jvalue for each argument. Simplify.
7099 * testsuite/libjava.jni/calls.c (docall),
7100 testsuite/libjava.jni/calls.java (longpb_f): check for argument
7103 2003-02-28 Mark Wielaard <mark@klomp.org>
7105 * Makefile.am (nat_source_files): Remove
7106 java/io/natObjectOutputStream.cc.
7107 * Makefile.in: Regenerated.
7108 * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
7109 * java/io/ObjectStreamField.java (typename): New field.
7110 (ObjectStreamField(String, Class)): Initialize new field.
7111 (ObjectStreamField(String, String)): New Constructor.
7112 (getTypeCode): Use new field.
7113 (getTypeString): Use new field.
7114 * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
7115 ObjectStreamExceptions. Remember and reset old BlockDataMode.
7116 Handle reading of Proxy classes. Never drain(), just write
7117 TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
7118 (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
7119 (flush): Call flush(), not just drain().
7120 (writeBoolean): Always use blockDataOutput.
7121 (writeByte): Likewise.
7122 (writeShort): Likewise.
7123 (writeChar): Likewise.
7124 (writeInt): Likewise.
7125 (writeLong): Likewise.
7126 (writeFloat): Likewise.
7127 (writeDouble): Likewise.
7128 (writeBytes): Likewise.
7129 (putfield (put(String,Object))): Throw IllegalArgumentException if
7130 field cannot be found.
7131 (putfield (write(ObjectOutput))): Remember old BlockDataMode.
7132 (writeArraySizeAndElements): Write byte[] in one go.
7133 (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
7134 set BlockDataMode to false.
7135 (annotateProxyClass): New method.
7136 (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
7137 (getField): No longer native.
7138 (getMethod): Likewise.
7139 (setBlockDataMode): Always drain() on switch, return old mode.
7140 (static): New static code block.
7141 * java/io/natObjectOutputStream.cc: Removed.
7142 * java/io/ObjectInputStream.java (getField): No longer native.
7143 (getMethod): Likewise.
7144 (readObject): Remember and reset old BlockDataMode. Track whether
7145 object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
7147 (defaultReadObject): Set BlockDataMode to false during readFields.
7148 (resolveClass): Create new SecurityManager if necessary.
7149 Use Class.forName() if null ClassLoader found.
7150 (read(byte[],int,int): Copy remaining bytes to data before calling
7152 (readFields): Set and reset BlockDataMode on call_read_method.
7153 Catch NoSuchFieldErrors.
7154 (setBlockDataMode): Return old mode.
7155 (static): New static code block.
7156 * java/io/natObjectInputStream.cc (getField): Removed.
7157 (getMethod): Likewise.
7159 2003-02-27 Michael Koch <konqueror@gmx.de>
7161 * java/beans/Beans.java,
7162 java/beans/FeatureDescriptor.java
7163 java/beans/PropertyEditorManager.java:
7164 Reformated to GNU style.
7166 2003-02-25 Michael Koch <konqueror@gmx.de>
7168 * gnu/java/nio/MappedByteFileBuffer.java,
7169 gnu/java/nio/natMappedByteFileBuffer.cc:
7170 New files, both are not compiled yet to get not noncompiling CVS.
7172 2003-02-24 Tom Tromey <tromey@redhat.com>
7174 * java/util/prefs/AbstractPreferences.java (isUserNode):
7177 2003-02-24 Tom Tromey <tromey@redhat.com>
7179 * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
7181 * java/lang/Thread.java (resume): Deprecate.
7182 * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
7185 2003-02-23 Tom Tromey <tromey@redhat.com>
7187 * Makefile.in: Rebuilt.
7188 * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
7190 2003-02-23 Tom Tromey <tromey@redhat.com>
7192 * java/lang/natRuntime.cc (libraries_size, libraries_count,
7193 libraries): Removed.
7194 (add_library): Removed.
7195 (_load): Don't call add_library.
7196 (loadLibraryInternal): Likewise.
7198 (lookup_data): New struct.
7199 (find_symbol): New function.
7200 (_Jv_FindSymbolInExecutable): Use it.
7202 2002-02-21 Anthony Green <green@redhat.com>
7204 * java/lang/Thread.java (Thread): New constructor taking stack
7205 size parameter (ignored for now).
7206 * Many methods: Merged GNU Classpath documentation.
7208 * java/lang/Class.java (finalize): throws a Throwable.
7210 2003-02-21 Mark Wielaard <mark@klomp.org>
7212 * java/util/zip/ZipEntry.java (setComment): Don't check length when
7215 2003-02-21 Mark Wielaard <mark@klomp.org>
7217 * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
7218 then 65535 chars throw IllegalArgumentException.
7220 2003-02-21 Mark Wielaard <mark@klomp.org>
7222 * java/util/zip/ZipFile.java (finalize): New method.
7224 2003-02-21 Michael Koch <konqueror@gmx.de>
7226 * gnu/java/nio/natSocketChannelImpl.cc:
7227 Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
7228 <cato@df.lth.se> for pointing to it.
7230 2003-02-20 Raif S. Naffah <raif@fl.net.au>
7232 * java/math/BigInteger.java (euclidInv): Take result array as an
7233 argument. Updated all callers.
7234 (modInverse): Removed unused variables.
7236 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
7238 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
7240 * configure: Rebuilt.
7242 2003-02-19 Michael Koch <konqueror@gmx.de>
7244 * gnu/java/nio/natSocketChannelImpl.cc:
7245 Added support for platforms without network support.
7247 2003-02-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
7249 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
7250 after config.h. Use <> for consistency.
7251 * java/lang/natObject.cc: Likewise.
7252 * java/lang/natRuntime.cc: Likewise.
7253 * java/lang/natSystem.cc: Likewise.
7254 * java/util/natTimeZone.cc: Likewise.
7255 * win32.cc: Likewise.
7256 * include/posix.h (fcntl, socket, connect, close, bind, accept,
7257 listen, write, read): Undef to avoid interference from OS macros.
7259 2003-02-19 Michael Koch <konqueror@gmx.de>
7261 * gnu/java/nio/ByteBufferImpl.java
7262 (ByteBufferImpl): Renamed two variables.
7263 * gnu/java/nio/CharBufferImpl.java
7264 (CharBufferImpl): Renamed two variables.
7265 * gnu/java/nio/DoubleBufferImpl.java
7266 (DoubleBufferImpl): Renamed two variables.
7267 * gnu/java/nio/FloatBufferImpl.java
7268 (FloatBufferImpl): Renamed two variables.
7269 * gnu/java/nio/IntBufferImpl.java
7270 (IntBufferImpl): Renamed two variables.
7271 * gnu/java/nio/LongBufferImpl.java
7272 (LongBufferImpl): Renamed two variables.
7273 * gnu/java/nio/ShortBufferImpl.java
7274 (ShortBufferImpl): Renamed two variables.
7275 * java/nio/CharBuffer.java
7276 (wrap): Fixed arguments to CharBufferImpl constructor.
7277 (hasArray): Only not read-only buffers have backing arrays.
7278 (length): Documentation added.
7279 (subSequence): Documentation added.
7280 * java/nio/DoubleBuffer.java
7281 (hasArray): Only not read-only buffers have backing arrays.
7282 * java/nio/FloatBuffer.java
7283 (hasArray): Only not read-only buffers have backing arrays.
7284 * java/nio/IntBuffer.java
7285 (hasArray): Only not read-only buffers have backing arrays.
7286 * java/nio/LongBuffer.java
7287 (hasArray): Only not read-only buffers have backing arrays.
7288 * java/nio/ShortBuffer.java
7289 (hasArray): Only not read-only buffers have backing arrays.
7291 2003-02-19 Michael Koch <konqueror@gmx.de>
7293 * javax/accessibility/AccessibleContext.java
7294 (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
7296 2003-02-19 Michael Koch <konqueror@gmx.de>
7298 * java/awt/ScrollPaneAdjustable.java: Reformated.
7300 2003-02-19 Michael Koch <konqueror@gmx.de>
7302 * gnu/awt/j2d/Graphics2DImpl.java
7303 (getFontRenderContext): New method.
7304 (drawGlyphVector): New method.
7305 * java/awt/Graphics2D.java
7306 (getFontRenderContext): New abstract method.
7307 (drawGlyphVector): New abstract method.
7309 2003-02-18 Hans Boehm <Hans.Boehm@hp.com>
7311 * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
7314 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
7315 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
7316 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
7317 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
7318 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
7319 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
7320 (setFont, gtkSetFont): add.
7321 gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
7322 Propagate font to peer. (setFont): add FIXME comment.
7324 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
7325 (gtkTextGetSize): fix height, width computation.
7327 * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
7328 Make X font name a bit less bogus.
7330 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
7331 (post_adjustment_event): Pass on GTK_SCROLL_NONE.
7333 * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
7334 (processAdjustmentEvent): Adjust value.
7336 * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
7339 * java/awt/Component.java (setVisible, show, hide): Call show and
7340 hide methods in subclasses.
7341 (getPreferredSize): don't set prefSize before we have peer.
7343 * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
7344 Guess (0,0) if we don't have peer.
7347 2003-02-18 Michael Koch <konqueror@gmx.de>
7349 * java/nio/channels/FileChannel.java
7350 (toString): New implementation, added documentation.
7351 (map): Added exception documentation.
7352 (size): Added exception documentation.
7353 (write): New methods, documentation work.
7354 (read): New methods, documentation work.
7355 (implCloseChannel): Rewrote exception documentation.
7356 (force): Throws IOException, added documentation.
7357 (lock): New methods.
7358 (tryLock): New methods.
7359 (position): New methods.
7360 (transferTo): New method.
7361 (transferFrom): New method.
7362 (truncate): New method.
7363 * java/nio/channels/spi/SelectorProvider.java
7364 (provider): Implemented.
7366 (ordinary_java_source_files): Added the following files:
7367 gnu/java/nio/DatagramChannelImpl.java
7368 gnu/java/nio/FileChannelImpl.java
7369 gnu/java/nio/PipeImpl.java
7370 gnu/java/nio/SelectionKeyImpl.java
7371 gnu/java/nio/SelectorImpl.java
7372 gnu/java/nio/SelectorProviderImpl.java
7373 gnu/java/nio/ServerSocketChannelImpl.java
7374 gnu/java/nio/SocketChannelImpl.java
7375 java/nio/channels/FileLock.java
7376 (nat_java_source_files): Added the following files:
7377 gnu/java/nio/natFileChannelImpl.cc
7378 gnu/java/nio/natSelectorImpl.cc
7379 gnu/java/nio/natSocketChannelImpl.cc
7380 * Makefile.in: Regenerated.
7382 2003-02-17 Tom Tromey <tromey@redhat.com>
7384 * java/awt/image/ColorModel.java: Re-merged with Classpath.
7385 * java/awt/image/ImageFilter.java: Likewise.
7387 2003-02-17 Raif S. Naffah <raif@fl.net.au>
7389 * java/math/BigInteger.java (euclidInv): Return array of
7390 `BigInteger's. Changed all callers.
7392 2003-02-17 Ranjit Mathew <rmathew@hotmail.com>
7394 * java/util/Properties.java (store): Move the code formerly in
7395 list(), into this method.
7396 (list (PrintStream)): Just call list (PrintWriter) with a
7397 PrintWriter object constructed from the given PrintStream object.
7398 (list (PrintWriter)): Emulate the output of Properties.list()
7399 as found in JDK 1.3/1.4.
7401 2003-02-17 Michael Koch <konqueror@gmx.de>
7403 * java/net/DatagramSocket.java
7404 (connect): Merged with classpath.
7405 (disconnect): Merged documentation with classpath.
7406 (receice): Merged documentation with classpath.
7407 (send): Merged documentation with classpath.
7409 2003-02-17 Michael Koch <konqueror@gmx.de>
7411 * java/awt/dnd/DragSourceContext.java
7412 (addDragSourceListener): Added documentation.
7413 * java/awt/dnd/DragSourceDragEvent.java
7414 (serialVersionUID): New member variable.
7415 (getDropAction): Reformated.
7416 * java/awt/dnd/DragSourceDropEvent.java
7417 (serialVersionUID): New member variable.
7418 (dropSuccess): Renamed from success for serialization issues.
7419 * java/awt/dnd/DragSourceEvent.java
7420 (serialVersionUID): New member variable.
7421 * java/awt/dnd/DropTarget.java
7422 (serialVersionUID): New member variable.
7423 (DropTarget): Implemented, documentation reworked.
7424 (setComponent): Documentation added.
7425 (getComponent): Documentation added.
7426 (setDefaultActions): Documentation added.
7427 (getDefaultActions): Documentation added.
7428 (addDropTargetListener): Documentation added.
7429 * java/awt/dnd/DropTargetContext.java
7430 (DropTargetContext): Documentation added.
7431 (TransferableProxy.TransferableProxy): New method.
7432 (dropComplete): Fixed documentation.
7433 (getTransferable): Fixed documentation.
7434 (createTransferableProxy): Implemented.
7435 * java/awt/dnd/DropTargetDragEvent.java
7436 (DropTargetDragEvent): Documentation added.
7437 (serialVersionUID): New member variable.
7438 (DropTargetDragEvent): Throw exceptions, documentation added.
7439 (acceptDrag): Implemented.
7440 (getCurrentDataFlavors): Implemented.3yy
7441 (getCurrentDataFlavorsAsList): Implemented.
7442 (isDataFlavorSupported): Implemented.
7443 (rejectDrag): Implemented.
7444 * java/awt/dnd/DropTargetDropEvent.java
7445 (DropTargetDropEvent): Documentation added.
7446 (serialVersionUID): New member variable.
7447 (actions): Renamed from srcActions for serialization issues.
7448 (isLocalTx): Renamed from isLocalTx for serialization issues.
7449 (DropTargetDropEvent): New implementation, throw exceptions,
7450 documentation added.
7451 (getCurrentDataFlavors): Implemented.
7452 (getCurrentDataFlavorsAsList): Implemented.
7453 (isDataFlavorSupported): Implemented.
7454 (getSourceActions): Implemented.
7455 (getDropAction): Implemented.
7456 (getTransferable): Implemented.
7457 (acceptDrop): Implemented.
7458 (rejectDrop): Implemented.
7459 * java/awt/dnd/DropTargetListener.java
7460 (drop): Fixed documentation.
7461 * java/awt/dnd/MouseDragGestureRecognizer.java
7462 (MouseDragGestureRecognizer): Documentation added.
7464 2003-02-17 Michael Koch <konqueror@gmx.de>
7466 * java/awt/font/FontRenderContext.java,
7467 java/awt/font/ShapeGraphicAttribute.java,
7468 java/awt/font/MultipleMaster.java,
7469 java/awt/font/TransformAttribute.java,
7470 java/awt/font/GlyphJustificationInfo.java,
7471 java/awt/font/LineBreakMeasurer.java,
7472 java/awt/font/TextMeasurer.java,
7473 java/awt/font/TextLayout.java,
7474 java/awt/font/LineMetrics.java,
7475 java/awt/font/TextAttribute.java,
7476 java/awt/font/GlyphMetrics.java,
7477 java/awt/font/OpenType.java,
7478 java/awt/font/GlyphVector.java,
7479 java/awt/font/GraphicAttribute.java,
7480 java/awt/font/ImageGraphicAttribute.java,
7481 java/awt/font/NumericShaper.java: New files.
7483 (awt_java_source_files): Added the following files:
7484 java/awt/font/FontRenderContext.java
7485 java/awt/font/ShapeGraphicAttribute.java
7486 java/awt/font/MultipleMaster.java
7487 java/awt/font/TransformAttribute.java
7488 java/awt/font/GlyphJustificationInfo.java
7489 java/awt/font/LineBreakMeasurer.java
7490 java/awt/font/TextMeasurer.java
7491 java/awt/font/TextLayout.java
7492 java/awt/font/LineMetrics.java
7493 java/awt/font/TextAttribute.java
7494 java/awt/font/GlyphMetrics.java
7495 java/awt/font/OpenType.java
7496 java/awt/font/GlyphVector.java
7497 java/awt/font/GraphicAttribute.java
7498 java/awt/font/ImageGraphicAttribute.java
7499 java/awt/font/NumericShaper.java
7500 * Makefile.in: Regenerated.
7502 2003-02-17 Michael Koch <konqueror@gmx.de>
7504 * java/awt/print/Paper.java
7505 (Paper): Implements Cloneable.
7506 * java/awt/print/PrinterJob.java
7507 (setJobName): Return value must be void.
7508 (print): Throws PrinterException.
7510 2003-02-16 Tom Tromey <tromey@redhat.com>
7512 * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
7515 2003-02-15 Michael Koch <konqueror@gmx.de>
7517 * java/awt/datatransfer/DataFlavor.java
7518 (isRepresentationClassByteBuffer): Removed try-catch block.
7519 (isRepresentationClassCharBuffer): Removed try-catch block.
7520 (isRepresentationClassReader): Removed try-catch block.
7522 2003-02-15 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7524 * java/nio/charset/Charset.java
7525 (isRegistered): Fixed method args and implementation.
7526 * java/nio/charset/CharsetEncoder.java
7527 (unmappableCharacterAction): New method.
7529 2003-02-15 Michael Koch <konqueror@gmx.de>
7531 * java/awt/CheckboxMenuItem.java
7532 (CheckBoxMenuItem): Dont implement Serializable.
7533 (getListeners): New method,
7534 (getItemListeners): New method.
7535 * java/awt/Choice.java
7536 (getListeners): New method,
7537 (getItemListeners): New method.
7538 * java/awt/Container.java
7539 (getListeners): Added exception documentation.
7540 (setFocusTraversalKeys): Throw exceptions, added documentattion.
7541 (getFocusTraversalKeys): Added documentation.
7542 (areFocusTraversalKeysSet): Added documentation.
7543 (applyComponentOrientation): Added documentation.
7544 * java/awt/ContainerOrderFocusTraversalPolicy.java
7545 (implicitDownCycleTraversal): Renamed from downCycle for
7547 (ContainerOrderFocusTraversalPolicy): Added documentation.
7548 (accept): Reformated.
7549 * java/awt/Dialog.java
7550 (Dialog): Dont implement Serializable.
7551 (Dialog): Added documentation.
7552 * java/awt/Font.java
7553 (Font): Dont use absolute class name.
7554 * java/awt/Frame.java
7555 (Frame): Font implement Serializable.
7556 * java/awt/List.java
7557 (getListeners): New method,
7558 (getActionListeners): New method.
7559 (getItemListeners): New method.
7560 * java/awt/Menu.java
7561 (countItems): New deprecated method.
7562 * java/awt/Scrollbar.java
7563 (getListeners): New method,
7564 (getAdjustmentListeners): New method,
7565 * java/awt/TextComponent.java
7566 (getListeners): New method,
7567 (getTextListeners): New method,
7568 * java/awt/TextField.java
7569 (getListeners): New method,
7570 (getActionListeners): New method.
7571 * java/awt/Window.java
7572 (windowFocusListener): New member variable.
7573 (windowStateListener): New member variable.
7574 (getWindowFocusListeners): New method.
7575 (getWindowStateListeners): New method.
7576 (addWindowFocusListener): New method.
7577 (addWindowStateListener): New method.
7578 (removeWindowFocusListener): New method.
7579 (removeWindowStateListener): New method.
7580 * java/awt/datatransfer/DataFlavor.java
7581 (isRepresentationClassByteBuffer): New method.
7582 (isRepresentationClassCharBuffer): New method.
7583 (isRepresentationClassReader): New method.
7585 2003-02-14 Mark Wielaard <mark@klomp.org>
7587 * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
7588 zero when there is an exponent and the significant is zero.
7589 (divide): Always set scale to newScale even in special ZERO case.
7591 2003-02-14 Tom Tromey <tromey@redhat.com>
7593 * java/lang/System.java (properties): Use Properties.clone.
7594 (setProperties): Likewise.
7596 2003-02-14 Michael Koch <konqueror@gmx.de>
7598 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
7599 * gnu/java/nio/ServerSocketChannelImpl.java
7600 (SocketAccept): Removed.
7601 (accept): Commented out use of SocketAccept.
7603 2003-02-13 Tom Tromey <tromey@redhat.com>
7605 * verify.cc (state::seen_subrs): New field.
7606 (state::state): Initialize it.
7607 (state::clean_subrs): New method.
7608 (state::~state): Call it.
7609 (state::copy): Copy subroutine list.
7610 (state::add_subr): New method.
7611 (state::merge): Only register a change if the current subroutine
7612 hasn't yet been noted.
7614 2003-02-13 Mark Wielaard <mark@klomp.org>
7616 * java/io/InputStreamReader.java (getEncoding): Return null when
7618 * java/io/OutputStreamWriter.java (getEncoding): Likewise.
7620 2003-02-13 Mark Wielaard <mark@klomp.org>
7622 * java/util/zip/InflaterInputStream.java (read): Return zero when len
7625 2003-02-13 Mark Wielaard <mark@klomp.org>
7627 * java/io/BufferedOutputStream.java (write(int)): Only flush when
7628 next byte cannot be buffered.
7630 2003-02-13 Michael Koch <konqueror@gmx.de>
7632 * java/awt/Label.java
7633 (Label): Don't implement Serializable directly.
7634 (addNotify): Fixed typo in documentation.
7635 * java/awt/List.java
7636 (List): Don't implement Serializable directly.
7637 * java/awt/PopupMenu.java
7638 (PopupMenu): Don't implement Serializable directly.
7639 * java/awt/ScrollPane.java
7640 (ScrollPane): Don't implement Serializable directly.
7641 * java/awt/Scrollbar.java
7642 (Scrollbar): Don't implement Serializable directly.
7643 * java/awt/TextArea.java
7644 (preferredSize): Fixed method arguments.
7645 * java/awt/TextField.java
7646 (TextField): Don't implement Serializable directly.
7647 * java/awt/color/ICC_ColorSpace.java
7648 (fromCIOXYZ): Documentation added.
7649 (getMinValue): Documentation added.
7650 (getMaxValue): Documentation added.
7651 * java/awt/datatransfer/DataFlavor.java
7652 (isMimeTypeEqual): May not be final.
7653 (clone): Throws CloneNotSupportedException.
7654 (getReaderForText): Don't throws UnsupportedEncodingException.
7656 2003-02-13 Michael Koch <konqueror@gmx.de>
7658 * gnu/java/awt/peer/gtk/GdkGraphics.java
7659 (drawString): New stubbed method.
7660 * java/awt/Graphics.java
7661 (drawString): New method.
7663 2003-02-13 Casey Marshall <rsdio@metastatic.org>
7666 * java/security/SecureRandom.java (next): Avoid bias in results.
7668 2003-02-13 Michael <konqueror@gmx.de>
7670 * gnu/java/nio/FileChannelImpl.java
7671 (lengthInternal): Must be native.
7672 (size): Check if channel is already closed.
7673 (implCloseChannel): Reformated.
7674 (read): w was unused, removed it.
7677 (write): New method.
7678 (map): Check arguments.
7679 (force): Throws IOException, check if channel is closed.
7680 (transferTo): New method.
7681 (transferFrom): New method.
7683 (tryLock): New method.
7684 (position): New method.
7685 (truncate): New method.
7686 (nio_mmap_file): Uncommented.
7687 (nio_munmap_file): Uncommented.
7688 (nio_msync): Uncommented.
7689 * gnu/java/nio/natFileChannelImpl.cc: New file.
7691 2003-02-13 Michael Koch <konqueror@gmx.de>
7693 * java/nio/ByteBuffer.java
7694 (endian): New member variable.
7696 (equals): New method.
7697 (compareTo): New method.
7698 (order): New methods.
7699 (compact): New method.
7700 (isDirect): New method.
7701 (slice): New method.
7702 (duplicate): New method.
7703 (asReadOnlyBuffer): New method.
7704 (asCharBuffer): New method.
7705 (asDoubleBuffer): New method.
7706 (asFloatBuffer): New method.
7707 (asIntBuffer): New method.
7708 (asLongBuffer): New method.
7709 (asShortBuffer): New method.
7710 (get*): New methods.
7711 (put*): New methods.
7712 (toString): New method.
7713 * java/nio/CharBuffer.java
7714 (CharBuffer): Implement Comparable instead of Cloneable.
7715 (get): May not be final.
7716 (put): May not be final.
7718 2002-02-13 Ranjit Mathew <rmathew@hotmail.com>
7720 * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
7721 lastIndexOf( ) instead of indexOf( ) to find the colon before
7722 the line number, because Win32 file names might contain a
7723 drive letter and a colon at the start of an absolute path.
7725 2003-02-13 Michael Koch <konqueror@gmx.de>
7727 * gnu/java/nio/natSocketChannelImpl.cc
7728 (SocketConnect): This is not implemented yet.
7729 (SocketBind): This is not implemented yet.
7731 2003-02-13 Michael Koch <konqueror@gmx.de>
7733 * gnu/java/nio/natByteBufferImpl.cc,
7734 gnu/java/nio/natCharBufferImpl.cc,
7735 gnu/java/nio/natDoubleBufferImpl.cc,
7736 gnu/java/nio/natFloatBufferImpl.cc,
7737 gnu/java/nio/natIntBufferImpl.cc,
7738 gnu/java/nio/natLongBufferImpl.cc,
7739 gnu/java/nio/natShortBufferImpl.cc:
7740 Added copyright and license.
7741 * java/nio/DoubleBuffer.java,
7742 java/nio/FloatBuffer.java,
7743 java/nio/IntBuffer.java,
7744 java/nio/LongBuffer.java,
7745 java/nio/ShortBuffer.java
7746 (array): Throw exceptions.
7747 (arrayOffset): Throw exceptions.
7749 2003-02-13 Michael Koch <konqueror@gmx.de>
7751 * gnu/java/util/prefs/FileBasedFactory.java,
7752 gnu/java/util/prefs/MemmoryBasedFactory.java,
7753 gnu/java/util/prefs/MemoryBasedPreferences.java,
7754 gnu/java/util/prefs/NodeReader.java,
7755 gnu/java/util/prefs/NodeWriter.java,
7756 java/util/prefs/AbstractPreferences.java,
7757 java/util/prefs/BackingStoreException.java,
7758 java/util/prefs/InvalidPreferencesFormatException.java,
7759 java/util/prefs/NodeChangeEvent.java,
7760 java/util/prefs/NodeChangeListener.java,
7761 java/util/prefs/PreferenceChangeEvent.java,
7762 java/util/prefs/PreferenceChangeListener.java,
7763 java/util/prefs/Preferences.java,
7764 java/util/prefs/PreferencesFactory.java:
7765 New files, all merged from classpath.
7767 (ordinary_java_source_files): Added the following files:
7768 gnu/java/util/prefs/FileBasedFactory.java,
7769 gnu/java/util/prefs/MemmoryBasedFactory.java,
7770 gnu/java/util/prefs/MemoryBasedPreferences.java,
7771 gnu/java/util/prefs/NodeReader.java,
7772 gnu/java/util/prefs/NodeWriter.java,
7773 (core_java_source_files): Added the following files:
7774 java/util/prefs/AbstractPreferences.java,
7775 java/util/prefs/BackingStoreException.java,
7776 java/util/prefs/InvalidPreferencesFormatException.java,
7777 java/util/prefs/NodeChangeEvent.java,
7778 java/util/prefs/NodeChangeListener.java,
7779 java/util/prefs/PreferenceChangeEvent.java,
7780 java/util/prefs/PreferenceChangeListener.java,
7781 java/util/prefs/Preferences.java,
7782 java/util/prefs/PreferencesFactory.java
7783 * Makefile.in: Regenerated.
7785 2003-02-13 Michael Koch <konqueror@gmx.de>
7787 * java/net/NetPermission.java
7788 (NetPermission): Make doucmentation match the method declaration.
7789 * java/net/NetworkInterface.java
7790 (equals): Reformated for GNU coding style.
7791 * java/net/ServerSocket.java: Merged with classpath.
7792 * java/net/Socket.java: Partly merged with classpath (Added some @since).
7793 * java/net/SocketImpl.java
7794 (localPort): Merged with classpath (initialize with -1).
7795 * java/net/SocketPermission.java: Merged with classpath (reindented).
7796 * java/net/URLDecoder.java: Merged with classpath (reindented).
7798 2003-02-13 Michael Koch <konqueror@gmx.de>
7800 * java/awt/GridBagConstraints.java
7801 (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
7802 LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
7803 * java/awt/KeyboardFocusManager.java
7804 (setGlobalCurrentFocusCycleRoot): Must be public.
7805 * java/awt/MenuComponent.java
7806 (MenuComponent): Must be public.
7807 * java/awt/Toolkit.java:
7808 Added some empty lines to make documentation more readable.
7809 (getFontPeer): Added @deprecated.
7810 (getColorModel): Added exception documentation.
7811 (getProperty): Fixed documentation.
7813 2003-02-12 Jeff Sturm <jsturm@one-point.com>
7815 * configure.host (alpha*-*): Default to -mieee.
7816 * configure.in (IEEESPEC): New.
7817 * libgcj.spec.in (jc1): Add IEEESPEC.
7818 * configure: Rebuild.
7820 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
7822 * include/win32.h: Include ws2tcpip.h instead of
7823 winsock.h to obtain definition of the socklen_t type.
7824 Remove IP_TOS definition - not needed with ws2tcpip.h
7825 (_Jv_connect): Correct slight formatting error.
7827 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
7829 * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
7830 size of the arguments for a JNI function. For Win32,
7831 modify to search for all forms of possible exported
7832 names of an stdcall JNI function.
7833 (_Jv_JNIMethod::call): Modify to calculate the size
7834 of the arguments passed to a JNI function and pass
7835 it to _Jv_LookupJNIMethod.
7837 2003-02-12 Michael Koch <konqueror@gmx.de>
7839 * java/nio/channels/Channels.java: New file.
7841 (ordinary_java_source_files): Added java/nio/channels/Channels.java.
7842 * Makefile.in: Regenerated.
7844 2003-02-12 Michael Koch <konqueror@gmx.de>
7846 * java/nio/ByteBuffer.java
7847 (allocate): Implemented.
7848 (wrap): Implemented.
7849 * java/nio/CharBuffer.java:
7850 Some documentation added and reworked.
7852 (allocate): Implemented.
7853 (wrap): Implemented.
7854 (array): Throw exceptions.
7855 (arrayOffset): Throw exceptions.
7856 (toString): Implemented.
7857 (length): Implemented.
7859 (charAt): Implemented.
7861 2003-02-11 John Leuner <jewel@debian.org>
7863 * java/util/zip/ZipInputStream.java: Fix problem with 0-length
7864 reads from end of file.
7866 2003-02-11 Ranjit Mathew <rmathew@hotmail.com>
7868 * java/io/natFileDescriptorWin32.cc
7869 (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
7870 returns with Win32 error code ERROR_BROKEN_PIPE.
7872 2003-02-11 Michael Koch <konqueror@gmx.de>
7875 (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
7877 2003-02-11 Michael Koch <konqueror@gmx.de>
7879 * gnu/java/nio/ByteBufferImpl.java:
7880 Reformated and removed some code.
7881 (backing_buffer): Removed.
7882 (array_offset): Removed.
7883 (ro): Renamed to readOnly.
7884 (ByteBufferImpl): Use parent constructor, initialize readOnly.
7885 * gnu/java/nio/CharBufferImpl.java:
7886 Reformated and removed some code.
7887 (array_offset): Removed.
7888 (ro): Renamed to readOnly.
7889 (CharBufferImpl): Use parent constructor, initialize readOnly.
7891 (order): New method.
7892 * gnu/java/nio/DoubleBufferImpl.java:
7893 Reformated and removed some code.
7894 (array_offset): Removed.
7895 (ro): Renamed to readOnly.
7896 (DoubleBufferImpl): Use parent constructor, initialize readOnly.
7898 (order): New method.
7899 * gnu/java/nio/FloatBufferImpl.java:
7900 Reformated and removed some code.
7901 (array_offset): Removed.
7902 (ro): Renamed to readOnly.
7903 (FloatBufferImpl): Use parent constructor, initialize readOnly.
7905 (order): New method.
7906 * gnu/java/nio/IntBufferImpl.java:
7907 Reformated and removed some code.
7908 (array_offset): Removed.
7909 (ro): Renamed to readOnly.
7910 (IntBufferImpl): Use parent constructor, initialize readOnly.
7912 (order): New method.
7913 * gnu/java/nio/LongBufferImpl.java:
7914 Reformated and removed some code.
7915 (array_offset): Removed.
7916 (ro): Renamed to readOnly.
7917 (LongBufferImpl): Use parent constructor, initialize readOnly.
7919 (order): New method.
7920 * gnu/java/nio/ShortBufferImpl.java:
7921 Reformated and removed some code.
7922 (array_offset): Removed.
7923 (ro): Renamed to readOnly.
7924 (ShortBufferImpl): Use parent constructor, initialize readOnly.
7926 (order): New method.
7928 (ordinary_java_source_files): Added the following files:
7929 gnu/java/nio/ByteBufferImpl.java
7930 gnu/java/nio/CharBufferImpl.java
7931 gnu/java/nio/DoubleBufferImpl.java
7932 gnu/java/nio/FloatBufferImpl.java
7933 gnu/java/nio/IntBufferImpl.java
7934 gnu/java/nio/LongBufferImpl.java
7935 gnu/java/nio/ShortBufferImpl.java
7936 java/nio/DoubleBuffer.java
7937 java/nio/FloatBuffer.java
7938 java/nio/IntBuffer.java
7939 java/nio/LongBuffer.java
7940 java/nio/ShortBuffer.java
7941 (nat_source_files): Added the following files:
7942 gnu/java/nio/natByteBufferImpl.cc
7943 gnu/java/nio/natCharBufferImpl.cc
7944 gnu/java/nio/natDoubleBufferImpl.cc
7945 gnu/java/nio/natFloatBufferImpl.cc
7946 gnu/java/nio/natIntBufferImpl.cc
7947 gnu/java/nio/natLongBufferImpl.cc
7948 gnu/java/nio/natShortBufferImpl.cc
7949 * Makefile.in: Regenerated.
7951 2003-02-11 Michael Koch <konqueror@gmx.de>
7953 * gnu/java/nio/natCharBufferImpl.cc
7954 (nio_cast): Removed.
7955 (nio_put_*): Removed.
7956 (nio_get_*): Removed.
7957 * gnu/java/nio/natDoubleBufferImpl.cc
7958 (nio_cast): Removed.
7959 (nio_put_*): Removed.
7960 (nio_get_*): Removed.
7961 * gnu/java/nio/natFloatBufferImpl.cc
7962 (nio_cast): Removed.
7963 (nio_put_*): Removed.
7964 (nio_get_*): Removed.
7965 * gnu/java/nio/natIntBufferImpl.cc
7966 (nio_cast): Removed.
7967 (nio_put_*): Removed.
7968 (nio_get_*): Removed.
7969 * gnu/java/nio/natLongBufferImpl.cc
7970 (nio_cast): Removed.
7971 (nio_put_*): Removed.
7972 (nio_get_*): Removed.
7973 * gnu/java/nio/natShortBufferImpl.cc
7974 (nio_cast): Removed.
7975 (nio_put_*): Removed.
7976 (nio_get_*): Removed.
7977 * gnu/java/nio/SelectorProviderImpl.java
7978 (openDatagramChannel): Throws IOException.
7979 (openPipe): Throws IOException.
7980 (openSelector): Throws IOException.
7981 (openServerSocketChannel): Throws IOException.
7982 (openSocketChannel): Throws IOException.
7983 * gnu/java/nio/ServerSocketChannelImpl.java
7984 (ServerSocketChannelImpl): Throws IOException.
7985 (implCloseSelectableChannel): Throws IOException.
7986 (implConfigureBlocking): Throws IOException.
7987 * java/nio/ByteBuffer.java
7988 (readOnly): Removed.
7989 (hasArray): Use isReadOnly() instead of readOnly.
7990 (array): Use isReadOnly() instead of readOnly.
7991 (arrayOffset): Use isReadOnly() instead of readOnly.
7992 * java/nio/CharBuffer.java
7993 (CharBuffer): Implements Cloneable and CharSequence.
7995 2003-02-11 Michael Koch <konqueror@gmx.de>
7997 * java/nio/DoubleBuffer.java
7998 (DoubleBuffer): Implements Comparable.
8000 (array_offset): New member variable.
8001 (DoubleBuffer): New constuctor.
8002 (get): May not be final.
8003 (put): May not be final.
8004 (arrayOffset): Implemented.
8005 (order): Made abstract.
8007 (as*Buffer): Removed.
8010 * java/nio/FloatBuffer.java
8011 (FloatBuffer): Implements Comparable.
8013 (array_offset): New member variable.
8014 (FloatBuffer): New constuctor.
8015 (get): May not be final.
8016 (put): May not be final.
8017 (arrayOffset): Implemented.
8018 (order): Made abstract.
8020 (as*Buffer): Removed.
8023 * java/nio/IntBuffer.java
8024 (IntBuffer): Implements Comparable.
8026 (array_offset): New member variable.
8027 (IntBuffer): New constuctor.
8028 (get): May not be final.
8029 (put): May not be final.
8030 (arrayOffset): Implemented.
8031 (order): Made abstract.
8033 (as*Buffer): Removed.
8036 * java/nio/LongBuffer.java
8037 (LongBuffer): Implements Comparable.
8039 (array_offset): New member variable.
8040 (LongBuffer): New constuctor.
8041 (get): May not be final.
8042 (put): May not be final.
8043 (arrayOffset): Implemented.
8044 (order): Made abstract.
8046 (as*Buffer): Removed.
8049 * java/nio/ShortBuffer.java
8050 (ShortBuffer): Implements Comparable.
8052 (array_offset): New member variable.
8053 (ShortBuffer): New constuctor.
8054 (get): May not be final.
8055 (put): May not be final.
8056 (arrayOffset): Implemented.
8057 (order): Made abstract.
8059 (as*Buffer): Removed.
8063 2003-02-11 Michael Koch <konqueror@gmx.de>
8065 * java/nio/channels/SelectionKey.java
8066 (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
8069 2003-02-11 Michael Koch <konqueror@gmx.de>
8071 * java/nio/channels/DatagramChannel.java
8072 (write): Throws IOException.
8073 (connect): Throws IOException.
8074 (disconnect): Throws IOException.
8075 (read): Throws IOException.
8076 (receive): Throws IOException.
8077 (send): Throws IOException.
8078 * java/nio/channels/Pipe.java
8079 (open): Throws IOException.
8080 * java/nio/channels/SelectableChannel.java
8081 (configureBlocking): Throws IOException.
8082 * java/nio/channels/ServerSocketChannel.java
8083 (accept): Throws IOException.
8084 * java/nio/channels/SocketChannel.java
8085 (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
8086 GatheringByteChannel.
8087 (read): Throws IOException.
8088 (write): Throws IOException.
8089 (finishConnect): Throws IOException.
8090 * java/nio/channels/spi/AbstractInterruptibleChannel.java
8091 (end): Throws AsynchronousCloseException.
8092 * java/nio/channels/spi/AbstractSelectableChannel.java
8093 (configureBlocking): Throws IOException.
8094 (implCloseChannel): Throws IOException.
8095 (implCloseSelectableChannel): Throws IOException.
8096 (implConfigureBlocking): Throws IOException.
8097 * java/nio/channels/spi/SelectorProvider.java
8098 (openDatagramChannel): Throws IOException.
8099 (openPipe): Throws IOException.
8100 (openSelector): Throws IOException.
8101 (openServerSocketChannel): Throws IOException.
8102 (openSocketChannel): Throws IOException.
8104 2003-02-11 Michael Koch <konqueror@gmx.de>
8106 * gnu/java/nio/FileLockImpl.java,
8107 java/nio/channels/FileLock.java: New files.
8109 2003-02-11 Michael Koch <konqueror@gmx.de>
8111 * java/nio/charset/IllegalCharsetNameException.java
8112 (serialVersionUID): New member variable.
8113 (charsetName): New member variable.
8114 (IllegalCharsetException): New implementation.
8115 (getCharsetName): New implementation.
8116 * java/nio/charset/UnsupportedCharsetException.java
8117 (serialVersionUID): New member variable.
8118 (charsetName): New member variable.
8119 (UnsupportedCharsetException): New implementation.
8120 (getCharsetName): New implementation.
8122 2003-02-10 Tom Tromey <tromey@redhat.com>
8124 * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
8125 (ex): Renamed from sqlException.
8127 2003-02-10 Raif S. Naffah <raif@fl.net.au>
8129 * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new
8130 method used to ensure seeding has occurred and that a specific
8131 seed can be set and used.
8133 2003-02-10 Ranjit Mathew <rmathew@hotmail.com>
8135 * java/lang/Win32Process.java (destroy): Declare as native.
8136 (hasExited): New native method.
8137 (exitValue): Define.
8138 (getErrorStream): Likewise.
8139 (getInputStream): Likewise.
8140 (getOutputStream): Likewise.
8141 (waitFor): Declare as native.
8142 (startProcess): New native method.
8143 (cleanup): Likewise.
8144 (ConcreteProcess): Define.
8145 (outputStream, inputStream, errorStream): New members.
8146 (procHandle, exitCode): Likewise.
8148 * java/lang/natWin32Process.cc
8149 (java::lang::ConcreteProcess::cleanup): Define.
8150 (java::lang::ConcreteProcess::destroy): Likewise.
8151 (java::lang::ConcreteProcess::hasExited): Likewise.
8152 (java::lang::ConcreteProcess::waitFor): Likewise.
8153 (new_string): Likewise.
8154 (java::lang::ConcreteProcess::startProcess): Likewise.
8156 2003-02-10 Raif S. Naffah <raif@fl.net.au>
8158 * java/math/BigInteger.java:
8159 Updated notice to include years 2002 and 3.
8160 Added 2 private (int) arrays with values from the HAC (Handbook of
8161 Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
8162 and t[] that contains nbr. of tests --used in isProbablePrime().
8164 * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
8166 * java/math/BigInteger.java (make(int[],int), add(int,int),
8167 add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
8168 isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
8169 bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
8172 * java/math/BigInteger.java (euclidInv): Reduce number of work vars
8173 (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
8174 (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
8175 BIs and returns void.
8176 (modInverse(BI)): Use new signatures of euclidInv().
8178 * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
8179 static small primes instead of remainder().
8180 Use pre-computed max nbr of trials based on bitlength of BI to test.
8181 Use pre-computed small primes for the trial tests instead of random
8184 * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
8187 * java/math/BigInteger.java (format(int,StringBuffer)): Removed
8188 invoacation of MPN.chars_per_word(). not used.
8190 * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
8191 local var and used where needed.
8193 * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
8194 Combined declaration with initialisation of locals.
8197 * java/math/BigInteger.java: Style changes
8198 (pow(int)): Removed 'else' keyword.
8199 (toString(int)): idem.
8200 (doubleValue()): idem.
8201 (bitLength()): idem.
8202 (equals(Object)): Use static methods name in same class w/o prepending
8204 (doubleValue()): idem.
8205 (setNegative(BI)): idem.
8207 (and(BI,int)): idem.
8210 (byteArrayToIntArray()): Removed casting to (int). this is
8212 (canonicalize()): idem.
8213 (alloc(int)): Always instantiate a new BI.
8215 2003-02-10 Tom Tromey <tromey@redhat.com>
8217 * java/sql/Timestamp.java (compareTo(Object)): New method.
8218 (compareTo(Timestamp)): Likewise.
8219 (serialVersionUID): Updated.
8221 2003-02-07 Mark Wielaard <mark@klomp.org>
8223 * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
8224 when verify is true.
8225 (JarFile(File, boolean)): Likewise.
8226 (manifestRead): Set manifestRead field correctly.
8228 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
8230 * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
8231 tests; see patch #1016 on Savannah.
8233 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
8235 * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
8236 (toString): do not return Strings starting with . and - erroneously.
8237 Improves Mauve results to 12 of 600 instead of 16 of 338 on
8240 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
8242 * java/beans/PropertyDescriptor.java
8243 (PropertyDescriptor(String, Class)): Sanity check getter and setter
8245 (PropertyDescriptor(String, Class, String, String)): Likewise.
8246 (PropertyDescriptor(String, Method, Method): Factor out getter and
8247 setter method sanity checks into new method.
8248 (findMethods): Don't do parameter sanity checking of get method here.
8249 (checkMethods): New method.
8251 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
8253 * java/beans/PropertyDescriptor.java: Reformat.
8255 2003-02-04 Tom Tromey <tromey@redhat.com>
8257 * java/io/PipedOutputStream.java (flush): Declare as throwing
8260 * java/io/PipedWriter.java (close): Declare as throwing
8262 * java/io/StringWriter.java (close): Declare as throwing
8265 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
8267 * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
8268 of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
8269 could also have been exported as "JNI_OnLoad@8" (MinGW) or
8270 "_JNI_OnLoad@8" (MSVC).
8272 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
8274 * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
8275 convention on Win32 to invoke native JNI methods.
8277 2003-02-03 Andrew Haley <aph@redhat.com>
8279 * configure.host (x86_64): Enable interpreter.
8281 2003-02-03 Andrew Haley <aph@redhat.com>
8283 * libgcj.spec.in (jc1): Add BACKTRACESPEC.
8284 * configure.host (x86_64): Default to -fno-omit-frame-pointer.
8285 * configure.in (BACKTRACESPEC): New.
8286 * configure: Regenerate.
8288 2003-02-02 Tom Tromey <tromey@redhat.com>
8290 * configure: Rebuilt.
8291 * configure.in (TOOLKIT) [xlib]: Set correctly.
8293 * Makefile.in: Rebuilt.
8294 * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
8297 2003-01-31 Mark WIelaard <mark@klomp.org>
8299 * Makefile.in: Rebuilt.
8300 * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
8302 2003-01-31 Tom Tromey <tromey@redhat.com>
8304 * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
8305 cast to element type.
8306 (_Jv_JNI_SetObjectArrayElement): Check array bounds.
8307 (_Jv_JNI_GetObjectArrayElement): Likewise.
8309 * Makefile.in: Rebuilt.
8310 * Makefile.am (cond_x_ltlibrary): Renamed library to
8311 lib-gnu-awt-xlib.la.
8312 (lib_gnu_awt_xlib_la_SOURCES): Renamed.
8313 (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
8314 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
8315 (lib_gnu_awt_xlib_la_LIBADD): Likewise.
8316 (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
8317 (lib_gnu_awt_xlib_la_LINK): Likewise.
8318 (install-exec-hook): Removed.
8319 (lib-gnu-awt-xlib.la): Renamed.
8321 2003-01-31 Tom Tromey <tromey@redhat.com>
8323 * aclocal.m4, configure, include/config.h.in: Rebuilt.
8324 * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
8325 aclocal.m4 and lost in some merge.
8327 * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
8328 Don't try to find graphics configuration.
8329 * java/awt/Toolkit.java (default_toolkit_name): Use new
8330 Configuration entry.
8331 * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
8333 * configure: Rebuilt.
8334 * configure.in (TOOLKIT): New subst.
8335 (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
8336 Do AWT tests much earlier. Run Gtk tests. Make jniinclude
8337 directory. Make output directories for .c files.
8338 * Makefile.in: Rebuilt.
8339 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
8340 (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
8341 (all_java_source_files): Added new sources.
8342 ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
8343 (gtk_c_files): New macro.
8344 (gtk_c_source_files): New macro.
8345 (cond_gtk_ltlibrary): New macro.
8346 ($(gtk_c_files)): New target.
8347 (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
8348 (gtk_awt_peer_sources): New macro.
8349 (gtk_c_headers): New macro.
8350 ($(gtk_c_headers)): New target.
8351 (ACLOCAL_AMFLAGS): New macro.
8352 * gtk.m4, glib.m4, libart.m4: New files.
8353 * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
8354 gnu/java/awt/peer/gtk/GdkGraphics.java,
8355 gnu/java/awt/peer/gtk/GtkArg.java,
8356 gnu/java/awt/peer/gtk/GtkArgList.java,
8357 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
8358 gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
8359 gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
8360 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
8361 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
8362 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
8363 gnu/java/awt/peer/gtk/GtkClipboard.java,
8364 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8365 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
8366 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
8367 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
8368 gnu/java/awt/peer/gtk/GtkFontPeer.java,
8369 gnu/java/awt/peer/gtk/GtkFramePeer.java,
8370 gnu/java/awt/peer/gtk/GtkGenericPeer.java,
8371 gnu/java/awt/peer/gtk/GtkImage.java,
8372 gnu/java/awt/peer/gtk/GtkImagePainter.java,
8373 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
8374 gnu/java/awt/peer/gtk/GtkListPeer.java,
8375 gnu/java/awt/peer/gtk/GtkMainThread.java,
8376 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
8377 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
8378 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
8379 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
8380 gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
8381 gnu/java/awt/peer/gtk/GtkPanelPeer.java,
8382 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
8383 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
8384 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
8385 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
8386 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
8387 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
8388 gnu/java/awt/peer/gtk/GtkToolkit.java,
8389 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
8390 gnu/java/awt/peer/gtk/TestAWT.java,
8391 gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
8392 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
8393 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
8394 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
8395 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
8396 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
8397 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
8398 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
8399 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
8400 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
8401 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
8402 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
8403 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
8404 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
8405 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
8406 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
8407 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
8408 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
8409 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
8410 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
8411 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
8412 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
8413 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
8414 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
8415 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
8416 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
8417 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
8418 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
8419 jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
8420 jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
8421 jni/classpath/jnilink.c, jni/classpath/jnilink.h,
8422 jni/classpath/native_state.c, jni/classpath/native_state.h,
8423 jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
8425 2003-01-31 Julian Dolby <dolby@us.ibm.com>
8427 * java/util/Properties.java (load): Ignore backslash before EOF.
8429 2003-01-30 Jeff Sturm <jsturm@one-point.com>
8431 * java/lang/natClass.cc (initializeClass): Check tables when
8432 (state == JV_STATE_IN_PROGRESS).
8433 (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
8434 * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
8435 interpreted classes.
8436 (linkClass0): Use _Jv_WaitForState.
8438 2003-01-28 Oscar Pearce <oscar@pearceenterprises.com>
8440 * java/awt/Component.java (processPaintEvent): Dispose of Graphics
8441 object when finished.
8443 2003-01-28 Andreas Tobler <a.tobler@schweiz.ch>
8445 * libjava/configure.host: Disable can_unwind_signal on darwin.
8447 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
8450 * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
8451 additionally containing id of the owner thread as well as
8452 the number of nested times the thread has acquired the mutex.
8453 (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
8454 (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
8455 (_Jv_MutexUnlock): Check if really the owner thread, reset
8456 owner thread id to 0 before leaving, if leaving for the last
8458 (_Jv_MutexLock): Set owner thread id in the mutex and increment
8460 (_Jv_ThreadYield): Yield using a call to Sleep(0).
8461 * win32-threads.cc (_Jv_CondWait): Check if really owner of
8463 Pass handle of the broadcast event, instead of a pointer to it
8464 in Win32 ResetEvent( ) call.
8465 Remove incorrect return values.
8466 (_Jv_CondDestroy): Close both event handles and delete
8468 (_Jv_CondNotify): Check if really the owner thread.
8469 (_Jv_CondNotifyAll): Check if really the owner thread.
8470 (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
8471 (really_start): Use SetEvent( ) to signal daemon_cond.
8472 (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
8473 WaitForSingleObject( ) instead to wait for daemon_cond to be
8476 2003-01-27 Ranjit Mathew <rmathew@hotmail.com>
8478 * configure.in: Specifically define HAVE_BACKTRACE if building
8480 * include/win32.h: Remove HAVE_BACKTRACE definition.
8481 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
8482 * configure: Rebuilt.
8484 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
8486 * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
8487 Set and AC_SUBST. Remove USE_LIBDIR conditional.
8488 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
8489 (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
8490 * Makefile.in, configure: Rebuilt.
8492 2003-01-24 Ranjit Mathew <rmathew@hotmail.com>
8495 * java/io/natFileWin32.cc (performList): Append only "*.*"
8496 if the canonical file path already has a "\" at the end.
8498 2003-01-24 Tom Tromey <tromey@redhat.com>
8500 * defineclass.cc (handleMethodsEnd): Precompute code for static
8502 (handleCodeAttribute): Likewise.
8503 * resolve.cc (ncode): Use run_class for unsynchronized static
8505 * include/java-interp.h (class _Jv_InterpMethod): Declare
8507 * interpret.cc (run_synch_class): Initialize class.
8508 (run) [insn_invokestatic]: Don't initialize class.
8509 [insn_anewarray]: Likewise.
8510 [insn_multianewarray]: Likewise.
8511 (run_class): New function.
8513 2003-01-24 Tom Tromey <tromey@redhat.com>
8515 * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
8518 2003-01-22 Andrew Haley <aph@redhat.com>
8520 * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
8521 * configure.host (CHECKREFSPEC): Define for x86_64.
8523 2003-01-21 Tom Tromey <tromey@redhat.com>
8525 * java/util/natResourceBundle.cc (getCallingClassLoader): Start
8528 2003-01-21 Vladimir Puskas <vpuskas@eunet.yu>
8530 * java/io/natFileWin32.cc (isAbsolute): Check path length before
8531 looking at any characters.
8532 * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
8534 (isAbsolute): Check path's length as well.
8536 2003-01-17 Mark Wielaard <mark@klomp.org>
8538 * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
8539 (nat_source_files): Add natVMObjectStreamClass.cc.
8540 * Makefile.in: Regenerated.
8541 * gcj/javaprims.h (namespace java): Regenerated.
8542 * java/io/ObjectStreamClass.java (getClassUID): Call
8543 VMObjectStreamClass.hasClassInitializer().
8544 (hasClassInitializer): Removed.
8545 * java/io/VMObjectStreamClass.java: New class.
8546 * java/io/natVMObjectStreamClass.cc: New file.
8547 * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
8549 2003-01-16 Mark Wielaard <mark@klomp.org>
8551 * java/net/SocketImpl.java (toString): Don't explicitly call
8552 toString() on possible null address.
8554 2003-01-16 Michael Koch <konqueror@gmx.de>
8556 * java/net/MulticastSocket.java
8557 (setInterface): Reindented.
8559 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
8561 * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
8562 * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
8563 * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
8564 translateY arguments. Implement.
8565 * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
8566 down translation arguments.
8567 (drawPolyline, drawPolygon): Fix incorrect tests.
8568 * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
8569 translateX and translateY arguments.
8571 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
8573 * Makefile.in: Rebuilt.
8574 * Makefile.am (xlib_includes): New macro.
8577 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
8579 * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
8580 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
8581 16-bit display mode.
8583 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
8585 * java/awt/CardLayout.java (show): Rewrote.
8586 (gotoComponent): Removed `target' argument. Simplified code.
8587 Don't pre-compute `choice' unless `what' is FIRST or LAST.
8588 Changed all callers.
8591 2003-01-14 Michael Koch <konqueror@gmx.de>
8593 * java/net/InetSocketAddress.java
8594 (serialVersionUID): New member variable.
8595 * java/net/NetPermission.java
8596 (NetPermission): Dont implement java.io.Serialization directly.
8597 * java/net/SocketAddress.java:
8598 (serialVersionUID): Documentation added.
8600 2003-01-14 Michael Koch <konqueror@gmx.de>
8602 * java/awt/Label.java
8603 (Label): Implements javax.accessibility.Accessible;
8604 * java/awt/List.java
8605 (List): Implements javax.accessibility.Accessible;
8606 * java/awt/ScrollPane.java
8607 (ScrollPane): Implements javax.accessibility.Accessible;
8608 * java/awt/Scrollbar.java
8609 (Scrollbar): Implements javax.accessibility.Accessible;
8610 * java/awt/TextComponent.java
8611 (setCaretPosition): Throw exception, documentation added.
8612 * java/awt/Toolkit.java:
8613 Added some newlines in method documentations.
8614 (createButton): Exception documentation added.
8615 (createTextField): Exception documentation added.
8616 (createLabel): Exception documentation added.
8617 (createList): Exception documentation added.
8618 (createCheckbox): Exception documentation added.
8619 (createScrollbar): Exception documentation added.
8620 (createScrollPane): Exception documentation added.
8621 (createTextArea): Exception documentation added.
8622 (createChoice): Exception documentation added.
8623 (createFrame): Exception documentation added.
8624 (createWindow): Exception documentation added.
8625 (createDialog): Exception documentation added.
8626 (createMenuBar): Exception documentation added.
8627 (createMenu): Exception documentation added.
8628 (createMenuItem): Exception documentation added.
8629 (createFileDialog): Exception documentation added.
8630 (createCheckboxMenuItem): Exception documentation added.
8631 (loadSystemColors): Exception documentation added.
8632 (setDynamicLayout): Exception documentation added.
8633 (isDynamicLayoutSet): Exception documentation added.
8634 (isDynamicLayoutActive): Exception documentation added.
8635 (getScreenSize): Exception documentation added.
8636 (getScreenResolution): Exception documentation added.
8637 (getScreenInsets): Exception documentation added.
8638 (getColorModel): Exception documentation added.
8639 (getSystemClipboard): Exception documentation added.
8640 (getSystemSelection): Exception documentation added.
8641 (getMenuShortcutKeyMask): Exception documentation added.
8642 (getSystemEventQueue): Exception documentation added.
8643 * java/awt/Window.java:
8644 Reindented some code.
8645 (Window): Centralized implementation, documentation added.
8646 (finalize): Documentation added.
8647 (hide): Fixed typo in comment.
8648 (getWindowListeners): Documentation added.
8649 * java/awt/color/ColorSpace.java
8650 (toRGB): Documentation added.
8651 * java/awt/color/ICC_ColorSpace.java
8652 (ICC_ColorSpace): Documentation added.
8653 (toRGB): Throw exception, documentation added.
8654 (fromRGB): Throw exception, documentation added.
8655 (toCIEXYZ): Documentation added.
8656 (fromCIEXYZ): Documentation added.
8657 (getMinValue): Documentation added.
8658 (getMaxValue): Documentation added.
8659 * java/awt/geom/Dimension2D.java
8660 (clone): Documentation added.
8661 * java/awt/geom/GeneralPath.java
8662 (clone): Documentation added.
8663 * java/awt/geom/Line2D.java
8664 (clone): Documentation added.
8665 * java/awt/geom/QuadCurve2D.java
8666 (clone): Documentation added.
8667 * java/awt/image/ColorModel.java
8668 (ColorModel): Throw exception, documentation added.
8669 * java/awt/image/ImageFilter.java
8670 (clone): Doesnt throw CloneNotSupportedException.
8672 2003-01-14 Andrew Haley <aph@redhat.com>
8674 * java/lang/natRuntime.cc (_load): StackTrace access needs to be
8677 2003-01-10 Andrew Haley <aph@redhat.com>
8679 * include/dwarf2-signal.h: Remove x86_64.
8680 * configure.host (x86_64 DIVIDESPEC): Remove.
8681 * include/x86_64-signal.h: New file.
8682 * configure.in: Regenerate.
8684 2003-01-10 Michael Koch <konqueror@gmx.de>
8686 * java/net/DatagramSocket.java
8687 (ch): Description added.
8688 (remotePort): Initialize with -1.
8689 (connect): Doesnt throws SocketException.
8690 * java/net/MulticastSocket.java
8691 (setInterface): Merge with Classpath.
8692 * java/net/ServerSocket.java
8693 (closed): New member variable.
8694 (bind): Check if socket is closed.
8695 (close): Close an associated channel too, set new value to closed.
8696 (isBound): Reindented.
8697 (isClosed): Implemented.
8698 * java/net/Socket.java
8699 (closed): New member variable.
8700 (bind): Check if socket is closed.
8701 (connect): Check if socket is closed.
8702 (close): Close an associated channel too, set new value to closed.
8703 (isClosed): Implemented.
8705 2003-01-10 Michael Koch <konqueror@gmx.de>
8707 * java/awt/DisplayMode.java
8708 (equals): Fixed argument type and implementation.
8710 2003-01-07 Tom Tromey <tromey@redhat.com>
8712 * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
8713 JV_HASH_SYNCHRONIZATION.
8714 * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
8715 JV_HASH_SYNCHRONIZATION.
8717 2003-01-07 Michael Koch <konqueror@gmx.de>
8719 * java/net/DatagramSocket.java:
8720 Added classpath license info.
8721 (DatagramSocket): Merged description with classpath.
8722 (close): Merged description with classpath.
8723 (getChannel): Merged description with classpath.
8724 (getInetAddress): Merged description with classpath.
8725 (getPort): Merged description with classpath.
8726 (getLocalAddress): Merged description with classpath.
8727 (getLocalPort): Merged description with classpath.
8728 (getSoTimeout): Merged description with classpath.
8729 (setSoTimeout): Merged description with classpath.
8730 (getSendBufferSize): Merged description with classpath.
8731 (setSendBufferSize): Merged description with classpath.
8732 (getReceiveBufferSize): Merged description with classpath.
8733 (setReceiveBufferSize): Merged description with classpath.
8735 2003-01-04 Tom Tromey <tromey@redhat.com>
8737 * java/awt/List.java: Merged with Classpath.
8739 2003-01-03 Mark Wielaard <mark@klomp.org>
8741 * java/io/FileDescriptor.java (position): New private field.
8742 * java/io/natFileDescriptorPosix.cc (write): Up position.
8743 (setLength): Use and set position.
8744 (seek): Set position.
8745 (getFilePointer): Return position.
8746 (read): Up position.
8748 2003-01-03 Mark Wielaard <mark@klomp.org>
8750 Merge with Classpath:
8751 * java/io/ObjectStreamClass.java (lookup): Split method and call
8752 lookupForClassObject().
8753 (lookupForClassObject): New method.
8754 (isProxyClass): New field.
8755 (setClass): Set isProxyClass, add object to classLookupTable, set
8756 superClass and calculateOffsets.
8757 (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
8758 and not a proxy class.
8759 (setFields): Set accessible true for serialPersistentFields.
8760 (getClassUID): Same for suid. And check if suid is of type long.
8761 (hasClassInitializer): Don't throw NoSuchMethodError.
8763 2003-01-03 Mark Wielaard <mark@klomp.org>
8765 * java/io/FileInputStream.java (finalize): Don't explicitly
8766 finalize FileDescriptor.
8768 2003-01-03 Jeff Sturm <jsturm@one-point.com>
8770 * configure.host (sparc*-*): Enable bytecode interpreter.
8772 2003-01-03 Dhek Bhun Kho <bhun@chello.nl>
8774 * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
8775 Don't throw RemoteException.
8776 * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
8777 throw RemoteException.
8779 2003-01-03 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
8781 * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
8782 proxyHost): New static fields.
8783 (<clinit>): Initialize new fields.
8784 (connect): Use proxy if necessary.
8785 (usingProxy): Implement.
8787 2003-01-03 Eric Blake <ebb9@email.byu.edu>
8789 * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
8790 (TreeIterator.remove): Prefer IllegalStateException over
8791 ConcurrentModificationException, to match Sun.
8793 2002-12-22 Anthony Green <green@redhat.com>
8795 * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
8797 2003-01-02 Mark Wielaard <mark@klomp.org>
8799 * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
8801 (HTTP_USE_PROXY): Add field.
8802 (getResponseVals): Only set responseCode when not yet explicitly
8805 2003-01-02 Artur Biesiadowski <abies@pg.gda.pl>
8806 Mark Wielaard <mark@klomp.org>
8808 * java/util/zip/ZipFile.java (entries): Now HashMap.
8809 (readLeShort(DataInput, byte[])): Read from given byte array.
8810 (readLeInt(DataInput, byte[]): Likewise.
8811 (readLeShort(byte[] b, int off)): New method.
8812 (readLeInt(byte[] b, int off)): Likewise.
8813 (readEntries): Use byte arrays to read info in bigger chunks.
8814 (getEntries): Return HashMap.
8815 (getEntry): Use HashMap.
8816 (locBuf): New private field.
8817 (checkLocalHeader): Use locBuf to read info in one chunk.
8818 (getInputStream): Use entries HashMap, wrap PartialInputStream
8819 in BufferedInputStream.
8820 (ZipEntryEnumeration): Use HashMap and Interator.
8822 2003-01-02 Mark Wielaard <mark@klomp.org>
8823 Jeroen Frijters <jeroen@sumatra.nl>
8825 * java/net/URLClassLoader.java (Resource.getCodeSource):
8826 Fix check certs == null.
8827 (getCanonicalFileURL): Removed method.
8828 (JarURLLoader): Don't call removed method.
8829 (FileURLLoader): Likewise.
8830 (FileURLLoader.getResource): Don't canonicalize file name.
8832 2003-01-01 Tom Tromey <tromey@redhat.com>
8834 * Makefile.in: Rebuilt.
8835 * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
8836 * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
8837 java/awt/BufferCapabilities.java, java/awt/Button.java,
8838 java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
8839 java/awt/Container.java, java/awt/Cursor.java,
8840 java/awt/EventQueue.java, java/awt/FileDialog.java,
8841 java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
8842 java/awt/MenuBar.java, java/awt/MenuComponent.java,
8843 java/awt/PopupMenu.java, java/awt/ScrollPane.java,
8844 java/awt/Scrollbar.java, java/awt/TextArea.java,
8845 java/awt/TextField.java, java/awt/color/CMMException.java,
8846 java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
8847 java/awt/color/ProfileDataException.java,
8848 java/awt/datatransfer/Clipboard.java,
8849 java/awt/datatransfer/DataFlavor.java,
8850 java/awt/datatransfer/FlavorMap.java,
8851 java/awt/datatransfer/SystemFlavorMap.java,
8852 java/awt/dnd/DragGestureEvent.java,
8853 java/awt/dnd/DragGestureRecognizer.java,
8854 java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
8855 java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
8856 java/awt/im/InputMethodHighlight.java,
8857 java/io/PipedOutputStream.java, java/io/PipedWriter.java,
8858 java/rmi/server/RMIClassLoader.java: Merged from Classpath.
8860 * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
8861 `op' to BufferedImageOp.
8863 2002-12-31 Tom Tromey <tromey@redhat.com>
8865 Fix for PR libgcj/7416:
8866 * javax/naming/InitialContext.java (init): Use
8867 gnu.classpath.home.url.
8868 * java/security/Security.java: Use new properties.
8869 (loadProviders): Accept base url; use it.
8870 * java/lang/System.java: Document gnu.classpath.vm.shortname, and
8871 gnu.classpath.home.url.
8872 (gnu.classpath.home.url): Define.
8873 (gnu.classpath.vm.shortname): Likewise.
8875 2002-12-31 Tom Tromey <tromey@redhat.com>
8876 Ranjit Mathew <rmathew@hotmail.com>
8878 Fix for PR libgcj/8997:
8879 * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
8881 * include/posix.h (_Jv_platform_usleep): New function.
8882 * include/win32.h (_Jv_platform_usleep): New function.
8884 2002-12-29 Tom Tromey <tromey@redhat.com>
8886 * gcj/javaprims.h: Updated.
8887 * scripts/classes.pl (scan): Removed stray semicolon.
8889 2002-12-30 Mark Wielaard <mark@klomp.org>
8891 * java/net/URLStreamHandler.java (toExternalForm): Ignore port
8894 2002-12-30 Mark Wielaard <mark@klomp.org>
8896 * java/util/Properties (formatForOutput): Don't fall through to
8897 default case after escaping character.
8899 2002-12-30 Mark Wielaard <mark@klomp.org>
8901 * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
8904 2002-12-27 Mark Mitchell <mark@codesourcery.com>
8906 * boehm.cc: Remove stray semicolon.
8907 * interpret.cc: Likewise.
8908 * prims.cc: Likewise.
8909 * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
8910 earlier to ensure default arguments are processed.
8911 * gcj/array.h (JArray): Add forward declaration.
8912 (elements): Likewise.
8913 * gcj/javaprim.h: Remove stray semicolons.
8914 * include/bohm-gc.h: Likewise.
8915 * include/jni.h: Likewise.
8916 * include/jvm.h: Likewise.
8917 * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
8919 2002-12-23 Jeff Sturm <jsturm@one-point.com>
8921 * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
8923 * java/lang/natClass.cc (initializeClass): Link vtable, otable,
8924 idt tables after initializing superclass.
8925 * java/lang/natClassLoader.cc (uaddr): New typedef.
8926 (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
8927 if they are constant pool indicies. Don't link vtable, otable yet.
8929 2002-12-21 Anthony Green <green@redhat.com>
8931 * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
8933 * Makefile.in: Rebuilt.
8935 2002-12-19 Anthony Green <green@redhat.com>
8937 * Makefile.am (ordinary_java_source_files): Add
8938 org/xml/sax/helpers/NewInstance.java.
8939 * Makefile.in: Rebuilt.
8940 * org/xml/sax/package.html, org/xml/sax/ext/package.html,
8941 org/xml/sax/helpers/package.html: New files.
8942 * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
8943 http://www.saxproject.org.
8945 2002-12-19 Andrew Haley <aph@redhat.com>
8947 * java/util/natResourceBundle.cc: Include
8948 ArrayIndexOutOfBoundsException.h.
8949 (getCallingClassLoader): Don't put upper bound on stack search.
8950 Catch ArrayIndexOutOfBoundsException.
8952 2002-12-19 Tom Tromey <tromey@redhat.com>
8954 * libtool-version: Increased `current'.
8956 2002-12-19 Tom Tromey <tromey@redhat.com>
8958 * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
8960 * java/lang/ClassLoader.java (defineClass): Use chained
8961 exception when rethrowing.
8962 * defineclass.cc (handleClassBegin): Mark class as interpreted.
8963 * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
8965 * resolve.cc (_Jv_PrepareMissingMethods): New function.
8966 (_Jv_PrepareClass): Use it.
8967 * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
8968 (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
8969 * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
8970 (Class): _Jv_PrepareMissingMethods now friend.
8971 * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
8972 Record `NULL' for system class loader.
8973 (_Jv_RegisterInitiatingLoader): Use JvSynchronize. Special case
8974 system class loader.
8975 (_Jv_FindClassInCache): Likewise.
8976 (_Jv_UnregisterClass): Use JvSynchronize. Free old loader info.
8977 (_Jv_FindClass): Special case system class loader.
8978 * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
8979 (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
8981 (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
8983 (_getDeclaredMethod): Don't return synthetic methods.
8984 (getDeclaredMethods): Likewise.
8985 (_getMethod): Likewise.
8986 (_getMethods): Likewise.
8988 2002-12-18 Raif Naffah <raif@fl.net.au>
8990 * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
8991 canonical form after divide().
8992 (modInverse): Likewise.
8994 2002-12-13 Casey Marshall <rsdio@metastatic.org>
8995 Mark Wielaard <mark@klomp.org>
8997 * java/security/SecurityRandom (digest): Removed field.
8998 (SecureRandom): Check all providers for case-insensitive SecureRandom
8999 implementation. Don't ignore classname == null. Fallback to SHA1PRNG
9001 (getInstance(String,Provider,boolean): New method.
9002 (getInstance(String)): Use new method.
9003 (getInstance(String,String)): Likewise.
9004 (getInstance(String,Provider)): Likewise.
9006 2002-12-13 Casey Marshall <rsdio@metastatic.org>
9008 * java/security/Security.java (loadProviders): Increment i only once.
9010 2002-12-12 Mark Wielaard <mark@klomp.org>
9012 * java/lang/ClassLoader.java (resolveClass0): Transform
9013 ClassNotFoundException to NoClassDefFoundError. Transform all other
9014 throwables to LinkageError.
9016 2002-12-11 Tom Tromey <tromey@redhat.com>
9018 * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
9020 * java/lang/ClassLoader.java (loadedClasses): New field.
9021 (defineClass): Fixed indentation. Put new class in
9023 (findLoadedClass): Implement here.
9024 * java/lang/natClassLoader.cc (findLoadedClass): Removed.
9026 2002-12-10 Tom Tromey <tromey@redhat.com>
9028 * Makefile.in: Rebuilt.
9029 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
9030 * gnu/gcj/runtime/natVMClassLoader.cc: New file.
9031 (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
9032 * java/lang/natClassLoader.cc
9033 (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
9035 2002-12-10 Mark Wielaard <mark@klomp.org>
9036 Tom Tromey <tromey@redhat.com>
9038 * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
9039 (JarURLLoader): Use it.
9040 (FileURLLoader): Likewise.
9041 (JarURLResource.getURL): Use chained exception.
9042 (FileResource.getURL): Likewise.
9043 (FileURLLoader.getResource): Use canonical file name.
9044 (addURL): Indentation fix.
9046 2002-12-10 Tom Tromey <tromey@redhat.com>
9048 * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
9049 From Laurent Bardet <l.bardet@magic.fr>.
9051 2002-12-09 Tom Tromey <tromey@redhat.com>
9053 * include/win32.h (_Jv_platform_solib_prefix): New define.
9054 (_Jv_platform_solib_suffix): Likewise.
9055 * include/posix.h (_Jv_platform_solib_prefix): New define.
9056 (_Jv_platform_solib_suffix): Likewise.
9057 * java/lang/natRuntime.cc: Include StackTrace.h.
9058 (_load): Use findLibrary and new platform defines.
9059 (nativeGetLibname): Use new platform defines.
9061 * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
9064 2002-12-08 Mark Wielaard <mark@klomp.org>
9066 * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
9067 cache remote jar files.
9068 * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
9069 add File.separator to URL when it is a directory.
9070 * java/lang/ClassLoader.java: Add Classpath javadoc.
9072 (getParent): Add (disabled) security check.
9073 (findLibrary): New default method.
9074 * java/net/JarURLConnection.java (getManifest): Implement.
9075 (getInputStream): Only create InputStream when entry exists.
9076 (getHeaders): Only use jarFileURLConnection or JarEntry to set length
9078 * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
9080 2002-12-08 Mark Wielaard <mark@klomp.org>
9082 * java/util/ResourceBundle.java (resourceBundleCache): Not final.
9083 (lastDefaultLocale): New field.
9084 (getBundle): When Locale.getDefault != lastDefaultLocale reset
9085 resourceBundleCache.
9087 2002-12-06 Mark Wielaard <mark@klomp.org>
9089 * java/net/InetAddress.java (toString): Use hostname when not null,
9090 don't do an explicit reverse getHostName() lookup.
9091 * java/net/Socket.java (setSocketImplFactory): When fac == null throw
9092 NullPointerException.
9094 2002-12-06 Tom Tromey <tromey@redhat.com>
9096 * include/java-interp.h (class _Jv_InterpMethod): Added
9098 * boehm.cc (_Jv_MarkObj): Consolidated interpreter code. Also
9099 mark `prepared' field of interpreted method.
9100 * interpret.cc (compile): Use _Jv_AllocBytes.
9102 2002-12-05 Andrew Haley <aph@redhat.com>
9104 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
9105 #ifdef (HAVE_BACKTRACE) around the whole function body.
9107 2002-12-05 Tom Tromey <tromey@redhat.com>
9109 * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
9110 * resolve.cc: Don't include AbstractMethodError.h.
9111 (_Jv_abstractMethodError): Removed.
9112 * defineclass.cc (handleMethodsBegin): Initialize method index to
9114 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
9115 method index for "new" final method.
9116 (_Jv_SetVTableEntries): Compare index against -1 instead of using
9117 isVirtualMethod. Added `flags' argument.
9118 (_Jv_MakeVTable): Throw exception for abstract method in concrete
9121 2002-12-04 Tom Tromey <tromey@redhat.com>
9123 * java/net/SocketPermission.java (hashCode): Rewrote.
9125 2002-12-04 Tom Tromey <tromey@redhat.com>
9127 * Makefile.in: Rebuilt.
9128 * Makefile.am (nat_source_files): Added natVMSecurityManager,
9130 * java/util/ResourceBundle.java (Security): Removed.
9131 (getCallingClassLoader): Now native.
9132 * java/util/natResourceBundle.cc: New file.
9133 * java/lang/natVMSecurityManager.cc: New file.
9134 * java/lang/VMSecurityManager.java (getClassContext): Now native.
9136 2002-12-03 Mark Wielaard <mark@klomp.org>
9138 * java/util/jar/JarFile.java (manifest): Not final.
9139 (manifestRead): New field.
9140 (JarFile): Don't read Manifest in constructor.
9141 (getManifest): New method.
9142 (JarEnumeration.nextElement): Use new method.
9143 (getEntry): Likewise.
9144 * java/util/zip/ZipFile.java (name): Final.
9146 (entries): Change type to Hashtable.
9147 (closed): New field.
9148 (ZipFile): Don't read enties in constructor.
9149 (readEntries): Use Hashtable.
9150 (close): Set new close flag and set entries to null inside
9152 (entries): Contruct enumeration using new getEntries() method and
9154 (getEntryIndex): Removed.
9155 (getEntries): New method.
9156 (getEntry): Use new getEntries() method and entries Hastable.
9157 (getInputStream): Likewise.
9158 (size): Return getEntries().size().
9159 (ZipEntryEnumeration): Wrap entries Hashtable elements.
9160 * java/util/zip/ZipEntry.java (cal): Don't initialize.
9162 (dostime): New field.
9163 (zipFileIndex): Removed.
9164 (ZipEntry(ZipEntry)): Copy dostime.
9165 (setDOSTime): Now final and doesn't convert dos time.
9166 (getDOSTime): Likewise.
9167 (setTime): Convert dos time.
9168 (getTime): Likewise.
9169 (getCalendar): New method.
9170 (setExtra): Use setTime().
9171 * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
9173 2002-12-03 Tom Tromey <tromey@redhat.com>
9175 * java/lang/Character.java (forDigit): Formatting fix.
9177 2002-12-03 Raif Naffah <raif@fl.net.au>
9179 * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
9180 * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
9181 * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
9183 2002-12-03 Andrew Haley <aph@redhat.com>
9185 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
9187 (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
9188 (_Jv_PopClass): New.
9189 (_Jv_PushClass): New.
9190 * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
9191 discover the ClassLoader of our caller.
9192 (_Jv_CheckArrayStore): Don't check that a class is assignment
9193 compatible with Object.
9194 * java/lang/natVMTHrowable.cc: Delete.
9195 * gnu/gcj/runtime/StackTrace.java: New, partly copied from
9196 java.lang.VMThrowable.
9197 (StackTrace(), StackTrace(int)): New constructors.
9198 (classAt, methodAt, update, methodAtAddress): New methods.
9200 * java/lang/VMThrowable.java: Use StackTrace instead of
9202 * java/lang/Class.h (getClassLoaderInternal): New.
9203 (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
9204 Be friendly with gnu::gcj::runtime::StackTrace.
9205 (Object.chain): New field.
9206 * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
9207 gnu::gcj::runtime::StackTrace.
9208 * gnu/gcj/runtime/natStackTrace.cc: New file.
9209 * gnu/gcj/runtime/MethodRef.java: New file.
9210 * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
9211 instead of getClassLoader().
9212 * verify.cc (class _Jv_BytecodeVerifier): Likewise.
9213 java::lang::VMThrowable.
9214 * Makefile.am (core_java_source_files): Add MethodRef.java,
9216 (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
9217 * Makefile.in: Rebuild.
9219 2002-12-02 Kaz Kojima <kkojima@gcc.gnu.org>
9221 * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
9222 CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
9223 yes also for sh-linux* and sh[34]*-linux*.
9224 * configure.in: Add sh-linux* and sh[34]*-linux* cases and
9225 set SIGNAL_HANDLER to use DWARF2 exception for them.
9226 * configure: Regenerate.
9228 2002-12-02 Tom Tromey <tromey@redhat.com>
9230 * jni.cc: Added `name' argument.
9231 * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
9232 `const char *' argument.
9233 (class _Jv_JNIEnv) [DefineClass]: Likewise.
9235 2002-12-01 Tom Tromey <tromey@redhat.com>
9237 Bug compatibility, for PR libgcj/8738:
9238 * java/io/CharArrayWriter.java (close): Do nothing.
9240 (reset): Don't touch `closed'.
9241 (write(int)): Don't throw IOException.
9242 (write(char[],int,int)): Likewise.
9243 (write(String,int,int)): Likewise.
9246 2002-12-01 Mark Wielaard <mark@klomp.org>
9248 * java/lang/SecurityManager.java: Remerge comments, indenting and
9249 checkXXX methods with Classpath.
9251 2002-11-29 Scott Gilbertson <scottg@mantatest.com>
9253 * java/awt/image/ColorModel.java (getUnnormalizedComponents,
9254 getNormalizedComponents): Fix calculation which was using one too
9255 many bits in the unnormalized format.
9257 2002-11-29 Gary Benson <gbenson@redhat.com>
9260 * java/beans/Introspector.java (flushCaches): New method.
9261 (flushFromCaches): Likewise.
9263 2002-11-29 Michael Koch <konqueror@gmx.de>
9265 * java/nio/channels/DatagramChannel.java
9266 (open): Added exception documentation.
9267 (write): Added exception documentation.
9268 (connect): Added exception documentation.
9269 (disconnect): Added exception documentation.
9270 (isConnected): Added exception documentation.
9271 (read): Added exception documentation.
9272 (receive): Added exception documentation.
9273 (send): Added exception documentation.
9274 (validOps): Added exception documentation.
9275 * java/nio/channels/SocketChannel.java
9276 (open): Added exception documentation.
9277 (read): Added exception documentation.
9278 (write): Added exception documentation.
9279 (connect): Added exception documentation.
9280 (finishConnect): Added exception documentation.
9282 2002-11-29 Michael Koch <konqueror@gmx.de>
9284 * gnu/java/nio/DatagramChannelImpl:
9285 (fd): New member variable to store file descriptor of socket.
9286 * gnu/java/nio/SelectionKeyImpl.java:
9288 (readyOps): New member variable.
9289 (interestOps): New member variable.
9290 (readyOps): Implemented.
9291 (readyOps): New method to set member variable readyOps.
9292 (interestOps): Replaced ops by interestOps.
9293 * gnu/java/nio/SelectorImpl.java:
9294 (SelectorImpl): Initialize key sets.
9295 (select): Call select with -1 instead of Long.MAX_VALUE).
9296 (java_do_select): Make it a native method.
9297 (getFDsAsArray): New helper method.
9298 (select): Remove canceled keys, give only interested file discriptors
9299 to java_do_select, set ready ops.
9300 (add): No need to initialize keys set here.
9301 (add_selected): No need to initialize selected set here.
9302 (deregisterCanceledKeys): New helper method.
9303 (register): Set interest ops, set attachments, added handling of datagram
9305 * gnu/java/nio/ServerSocketChannelImpl:
9306 (SocketAccept): Renamed from NioSocketAccept.
9307 (implConfigureBlocking): Implemented.
9308 (accept): Use SocketAccept instead of NioSocketAccept.
9309 * gnu/java/nio/SocketChannelImpl:
9310 Reactivate native methods.
9312 2002-11-29 Michael Koch <konqueror@gmx.de>
9314 * gnu/java/nio/natByteBufferImpl.cc,
9315 gnu/java/nio/natCharBufferImpl.cc,
9316 gnu/java/nio/natDoubleBufferImpl.cc,
9317 gnu/java/nio/natFloatBufferImpl.cc,
9318 gnu/java/nio/natIntBufferImpl.cc,
9319 gnu/java/nio/natLongBufferImpl.cc,
9320 gnu/java/nio/natSelectorImpl.cc,
9321 gnu/java/nio/natServerSocketChannelImpl.cc,
9322 gnu/java/nio/natShortBufferImpl.cc,
9323 gnu/java/nio/natSocketChannelImpl.cc:
9324 New files that implement native functionalities.
9326 2002-11-29 Michael Koch <konqueror@gmx.de>
9328 * gnu/java/nio/ByteBufferImpl.java
9329 (ByteBufferImpl): Moved position() after limit.
9330 (nio_*): Use native implementation.
9331 * gnu/java/nio/CharBufferImpl.java:
9333 (endian): New member variable string endianess of buffer.
9334 (CharBufferImpl): Moved position() after limit.
9335 (nio_*): Use native implementation.
9336 (subSequence): Implemented.
9337 * gnu/java/nio/DoubleBufferImpl.java
9338 (DoubleBufferImpl): Moved position() after limit.
9339 (nio_*): Use native implementation.
9340 * gnu/java/nio/FloatBufferImpl.java
9342 (FloatBufferImpl): Moved position() after limit.
9343 (nio_*): Use native implementation.
9344 * gnu/java/nio/IntBufferImpl.java
9345 Added needed imports, Reformated.
9346 (IntBufferImpl): Moved position() after limit.
9347 (nio_*): Use native implementation.
9348 * gnu/java/nio/LongBufferImpl.java
9350 (LongBufferImpl): Moved position() after limit.
9351 (nio_*): Use native implementation.
9352 * gnu/java/nio/ShortBufferImpl.java
9354 (ShortBufferImpl): Moved position() after limit.
9355 (nio_*): Use native implementation.
9357 2002-11-27 Julian Dolby <dolby@us.ibm.com>
9359 * java/util/Locale.java (toString): Improve efficiency if country
9360 and variant are both empty.
9362 2002-11-26 Tom Tromey <tromey@redhat.com>
9364 * verify.cc (pop_init_ref): New method.
9365 (verify_instructions_0) [op_iaload, op_laload, op_faload,
9366 op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
9367 op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
9368 op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
9369 op_instanceof, op_monitorenter, op_monitorexit]: Use it.
9370 (verify_instructions_0) [op_invokevirtual, op_invokespecial,
9371 op_invokestatic, op_invokeinterface]: Use pop_init_ref. Don't
9372 let `this' argument be uninitialized. Don't let `null' be passed
9373 as `this' to construtor.
9375 2002-11-26 Mark Wielaard <mark@klomp.org>
9377 * javax/transaction/HeuristicCommitException.java: Classpath merge.
9378 * javax/transaction/HeuristicMixedException.java: Likewise.
9379 * javax/transaction/HeuristicRollbackException.java: Likewise.
9380 * javax/transaction/InvalidTransactionException.java: Likewise.
9381 * javax/transaction/NotSupportedException.java: Likewise.
9382 * javax/transaction/RollbackException.java: Likewise.
9383 * javax/transaction/Status.java: Likewise.
9384 * javax/transaction/Synchronization.java: Likewise.
9385 * javax/transaction/SystemException.java: Likewise.
9386 * javax/transaction/Transaction.java: Likewise.
9387 * javax/transaction/TransactionManager.java: Likewise.
9388 * javax/transaction/TransactionRequiredException.java: Likewise.
9389 * javax/transaction/TransactionRolledbackException.java: Likewise.
9390 * javax/transaction/UserTransaction.java: Likewise.
9391 * javax/transaction/xa/XAException.java: Likewise.
9392 * javax/transaction/xa/XAResource.java: Likewise.
9393 * javax/transaction/xa/Xid.java: Likewise.
9395 2002-11-26 Andreas Tobler <a.tobler@schweiz.ch>
9397 * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
9399 * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
9400 * include/posix.h (socklen_t): Define if not already defined.
9402 2002-11-25 Tom Tromey <tromey@redhat.com>
9404 * verify.cc (type::compatible): Backed out broken change.
9406 * verify.cc (type::compatible): Check initialization status
9408 * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
9409 Don't use NULLCHECK.
9411 2002-11-23 H.J. Lu <hjl@gnu.org>
9413 * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
9414 Include ../config/accross.m4.
9415 * aclocal.m4; Rebuild.
9416 * configure: Likewise.
9418 2002-11-23 Mark Wielaard <mark@klomp.org>
9420 * javax/naming/AuthenticationException.java: Update copyright header.
9421 * javax/naming/AuthenticationNotSupportedException.java: Likewise.
9422 * javax/naming/Binding.java: Likewise.
9423 * javax/naming/CannotProceedException.java: Likewise.
9424 * javax/naming/CommunicationException.java: Likewise.
9425 * javax/naming/CompositeName.java: Likewise.
9426 * javax/naming/CompoundName.java: Likewise.
9427 * javax/naming/ConfigurationException.java: Likewise.
9428 * javax/naming/Context.java: Likewise.
9429 * javax/naming/ContextNotEmptyException.java: Likewise.
9430 * javax/naming/InitialContext.java: Likewise.
9431 * javax/naming/InsufficientResourcesException.java: Likewise.
9432 * javax/naming/InterruptedNamingException.java: Likewise.
9433 * javax/naming/LimitExceededException.java: Likewise.
9434 * javax/naming/LinkException.java: Likewise.
9435 * javax/naming/LinkLoopException.java: Likewise.
9436 * javax/naming/LinkRef.java: Likewise.
9437 * javax/naming/MalformedLinkException.java: Likewise.
9438 * javax/naming/NameAlreadyBoundException.java: Likewise.
9439 * javax/naming/NameClassPair.java: Likewise.
9440 * javax/naming/NameNotFoundException.java: Likewise.
9441 * javax/naming/NameParser.java: Likewise.
9442 * javax/naming/NamingEnumeration.java: Likewise.
9443 * javax/naming/NamingSecurityException.java: Likewise.
9444 * javax/naming/NoInitialContextException.java: Likewise.
9445 * javax/naming/NoPermissionException.java: Likewise.
9446 * javax/naming/NotContextException.java: Likewise.
9447 * javax/naming/OperationNotSupportedException.java: Likewise.
9448 * javax/naming/PartialResultException.java: Likewise.
9449 * javax/naming/Reference.java: Likewise.
9450 * javax/naming/Referenceable.java: Likewise.
9451 * javax/naming/ReferralException.java: Likewise.
9452 * javax/naming/ServiceUnavailableException.java: Likewise.
9453 * javax/naming/SizeLimitExceededException.java: Likewise.
9454 * javax/naming/TimeLimitExceededException.java: Likewise.
9455 * javax/naming/directory/Attribute.java: Likewise.
9456 * javax/naming/directory/AttributeInUseException.java: Likewise.
9457 * javax/naming/directory/AttributeModificationException.java: Likewise.
9458 * javax/naming/directory/Attributes.java: Likewise.
9459 * javax/naming/directory/BasicAttribute.java: Likewise.
9460 * javax/naming/directory/BasicAttributes.java: Likewise.
9461 * javax/naming/directory/DirContext.java: Likewise.
9462 * javax/naming/directory/InitialDirContext.java: Likewise.
9463 * javax/naming/directory/InvalidAttributeIdentifierException.java:
9465 * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
9466 * javax/naming/directory/InvalidAttributesException.java: Likewise.
9467 * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
9468 * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
9469 * javax/naming/directory/ModificationItem.java: Likewise.
9470 * javax/naming/directory/NoSuchAttributeException.java: Likewise.
9471 * javax/naming/directory/SchemaViolationException.java: Likewise.
9472 * javax/naming/directory/SearchControls.java: Likewise.
9473 * javax/naming/directory/SearchResult.java: Likewise.
9474 * javax/naming/event/EventContext.java: Likewise.
9475 * javax/naming/event/EventDirContext.java: Likewise.
9476 * javax/naming/event/NamespaceChangeListener.java: Likewise.
9477 * javax/naming/event/NamingEvent.java: Likewise.
9478 * javax/naming/event/NamingExceptionEvent.java: Likewise.
9479 * javax/naming/event/NamingListener.java: Likewise.
9480 * javax/naming/event/ObjectChangeListener.java: Likewise.
9481 * javax/naming/ldap/Control.java: Likewise.
9482 * javax/naming/ldap/ControlFactory.java: Likewise.
9483 * javax/naming/ldap/ExtendedRequest.java: Likewise.
9484 * javax/naming/ldap/ExtendedResponse.java: Likewise.
9485 * javax/naming/ldap/HasControls.java: Likewise.
9486 * javax/naming/ldap/InitialLdapContext.java: Likewise.
9487 * javax/naming/ldap/LdapContext.java: Likewise.
9488 * javax/naming/ldap/LdapReferralException.java: Likewise.
9489 * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
9490 * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
9491 * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
9492 * javax/naming/spi/DirObjectFactory.java: Likewise.
9493 * javax/naming/spi/DirStateFactory.java: Likewise.
9494 * javax/naming/spi/DirectoryManager.java: Likewise.
9495 * javax/naming/spi/InitialContextFactory.java: Likewise.
9496 * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
9497 * javax/naming/spi/NamingManager.java: Likewise.
9498 * javax/naming/spi/ObjectFactory.java: Likewise.
9499 * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
9500 * javax/naming/spi/ResolveResult.java: Likewise.
9501 * javax/naming/spi/Resolver.java: Likewise.
9502 * javax/naming/spi/StateFactory.java: Likewise.
9504 * javax/naming/spi/NamingManager.java (ofb): Package private.
9506 2002-11-21 Mark Wielaard <mark@klomp.org>
9508 * java/net/URL.java: Merge with Classpath (partly).
9509 * java/net/URLStreamHandler: Merge with Classpath.
9511 2002-11-22 Michael Koch <konqueror@gmx.de>
9514 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
9516 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
9517 (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
9519 2002-11-21 Michael Koch <konqueror@gmx.de>
9521 * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
9522 Only the new network functions should be in it.
9524 2002-11-21 Michael Koch <konqueror@gmx.de>
9526 * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
9527 * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
9529 2002-11-21 Michael Koch <konqueror@gmx.de>
9531 * java/nio/channels/AsynchronousCloseException.java,
9532 java/nio/channels/CancelledKeyException.java,
9533 java/nio/channels/ClosedByInterruptException.java,
9534 java/nio/channels/ConnectionPendingException.java,
9535 java/nio/channels/FileLockInterruptionException.java,
9536 java/nio/channels/IllegalSelectorException.java,
9537 java/nio/channels/NoConnectionPendingException.java,
9538 java/nio/channels/NonReadableChannelException.java,
9539 java/nio/channels/NonWritableChannelException.java,
9540 java/nio/channels/NotYetBoundException.java,
9541 java/nio/channels/NotYetConnectedException.java,
9542 java/nio/channels/OverlappingFileLockException.java,
9543 java/nio/channels/UnresolvedAddressException.java,
9544 java/nio/channels/UnsupportedAddressTypeException.java:
9546 * Makefile.am (ordinary_java_source_files): Added new files.
9547 * Makefile.in: Regenerated.
9549 2002-11-21 Michael Koch <konqueror@gmx.de>
9552 (_Jv_socket): New method.
9553 (_Jv_connect): New method.
9554 (_Jv_close): New method.
9555 (_Jv_platform_close_on_exec): Prefixed system function with "::".
9556 (_Jv_bind): New method.
9557 (_Jv_listen): New method.
9558 (_Jv_write): New method.
9559 (_Jv_read): New method.
9561 (_Jv_socket): New method.
9562 (_Jv_connect): New method.
9563 (_Jv_close): New method.
9564 (_Jv_bind): New method.
9565 (_Jv_listen): New method.
9566 (_Jv_write): New method.
9567 (_Jv_read): New method.
9568 * java/net/natNetworkInterface.cc:
9569 Include platform.h, removed inclusion of socket.h
9570 (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
9571 ::close() by _Jv_close().
9572 * java/net/natPlainDatagramSocketImpl.cc:
9573 Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
9574 added some new lines to make code more readable.
9575 (create): Replaced ::socket() by _Jv_socket().
9576 (close): Replaced NATIVE_CLOSE() by _Jv_close().
9577 * java/net/natPlainSocketImpl.cc:
9578 Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
9579 removed include of socket.h, removed some windows defines
9580 (now in include/win32.h).
9581 (create): Replaced ::socket() by _Jv_socket().
9582 (close): Replaced NATIVE_CLOSE() by _Jv_close().
9583 (write): Replaced ::read by _Jv_write().
9584 (read): Replaced ::read by _Jv_read().
9586 2002-11-20 Michael Koch <konqueror@gmx.de>
9588 * Makefile.am (ordinary_java_source_files):
9589 Added java/nio/channels/FileChannel.java.
9590 * Makefile.in: Regenerated.
9592 2002-11-20 Michael Koch <konqueror@gmx.de>
9594 * java/io/FileInputStream.java
9595 (getChannel): New method.
9596 * java/io/FileOutputStream.java
9597 (getChannel): New method.
9598 * java/net/ServerSocket.java
9599 (bind): Removed duplicate code and called another bind method instead.
9600 * java/nio/channels/SelectionKey.java
9601 (isValid): Removed wrong exception documentation.
9602 * java/nio/channels/ServerSocketChannel.java
9603 (accept): Added exception documentation.
9604 (open): Fixed typo, added exception documentation.
9605 * java/nio/channels/spi/AbstractSelectableChannel.java
9606 (implCloseChannel): Added exception documentation.
9608 (register): Added exception documentation.
9610 2002-11-20 Andreas Jaeger <aj@suse.de>
9612 * configure: Regenerated with new libtool.m4.
9614 2002-11-19 Tom Tromey <tromey@redhat.com>
9616 * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
9618 (finalize_referred_to_object): Don't modify `referent' or `copy'
9620 (add_to_hash): Correctly set `n->next' when updating list.
9621 * java/lang/ref/Reference.java (enqueue): Return false if already
9624 2002-11-19 Ranjit Mathew <rmathew@hotmail.com>
9626 * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
9627 to function and function pointer declarations in accordance with
9628 Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
9629 based on whether __GCJ_JNI_IMPL__ has been defined or not.
9630 * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
9631 JNI function definitions.
9633 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
9635 * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
9636 that was causing CoderResults to be cached, not WeakReferences
9639 2002-11-18 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
9641 * java/security/KeyStore.java (getInstance): Fix
9642 comment and throw IllegalArgumentException if
9643 given provider is null.
9644 (getInstance): New method for jdk1.4 compatibility.
9646 2002-11-18 Michael Koch <konqueror@gmx.de>
9648 * java/net/PlainSocketImpl.java: Fix imports.
9650 2002-11-18 Michael Koch <konqueror@gmx.de>
9652 * java/nio/channels/SelectionKey.java
9653 (isValid): Added exception documentation.
9654 * java/nio/channels/Selector.java
9655 (open): Declare "throws IOException".
9657 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
9659 * java/nio/charset/Charset.java
9660 (<clinit>): New method.
9661 (encode): Synchronize use of cached encoder object.
9662 (decode): Synchronize use of cached encoder object.
9664 2002-11-18 Michael Koch <konqueror@gmx.de>
9666 * gnu/java/nio/ByteBufferImpl.java,
9667 gnu/java/nio/CharBufferImpl.java,
9668 gnu/java/nio/DatagramChannelImpl.java,
9669 gnu/java/nio/DoubleBufferImpl.java,
9670 gnu/java/nio/FileChannelImpl.java,
9671 gnu/java/nio/FloatBufferImpl.java,
9672 gnu/java/nio/IntBufferImpl.java,
9673 gnu/java/nio/LongBufferImpl.java,
9674 gnu/java/nio/PipeImpl.java,
9675 gnu/java/nio/SelectionKeyImpl.java,
9676 gnu/java/nio/SelectorImpl.java,
9677 gnu/java/nio/SelectorProviderImpl.java,
9678 gnu/java/nio/ServerSocketChannelImpl.java,
9679 gnu/java/nio/ShortBufferImpl.java,
9680 gnu/java/nio/SocketChannelImpl.java,
9681 java/nio/DoubleBuffer.java,
9682 java/nio/FloatBuffer.java,
9683 java/nio/IntBuffer.java,
9684 java/nio/LongBuffer.java,
9685 java/nio/ShortBuffer.java,
9686 java/nio/channels/FileChannel.java: New files.
9688 2002-11-18 Michael Koch <konqueror@gmx.de>
9690 * Makefile.am (ordinary_java_source_files):
9691 Added java/nio/ReadOnlyBufferException.java and
9692 java/nio/channels/ClosedSelectorException.java.
9693 * Makefile.in: Regenerated.
9695 2002-11-18 Michael Koch <konqueror@gmx.de>
9697 * java/net/PlainSocketImpl.java: Reworked imports.
9698 * java/net/ServerSocket.java
9699 (ServerSocket): Create socket.
9700 * java/net/SocketAddress.java: Documentation added.
9701 * java/net/natPlainSocketImpl.cc: Reindented.
9702 * java/nio/ReadOnlyBufferException.java: New file
9703 * java/nio/channels/ClosedChannelException.java: Documentation added.
9704 * java/nio/channels/ClosedSelectorException.java: New file.
9706 2002-11-17 Mark Wielaard <mark@klomp.org>
9708 * java/net/HttpURLConnection.java ((getPermission): Take port
9710 (getErrorStream): Implement.
9712 2002-11-17 Mark Wielaard <mark@klomp.org>
9714 * java/net/HttpURLConnection.java: Merge with GNU Classpath.
9716 2002-11-16 Mark Wielaard <mark@klomp.org>
9718 Integrate work by Raif S. Naffah (raif@fl.net.au)
9719 * java/security/DummyKeyPairGenerator.java (clone): New method.
9720 * java/security/DummyMessageDigest.java (clone): New method.
9721 (engineUpdate): Now public.
9722 (engineReset): Likewise.
9723 (engineDigest): Likewise.
9724 (engineGetDigestLength): New method.
9725 * java/security/DummySignature.java (clone): New method.
9726 * java/security/KeyPairGenerator.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 (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
9731 * java/security/KeyPairGeneratorSpi.java (clone): New method.
9732 * java/security/MessageDigest.java (provider): Now package private.
9733 (getInstance(String): Use getInstance(String,Provider).
9734 (getInstance(String,String): Use getInstance(String,Provider)
9735 (getInstance(String,Provider): New method.
9736 * java/security/Provider.java (toCanonicalKey): New method.
9737 (get): New method that uses toCanonicalKey().
9738 (put): Use toCanonicalKey().
9740 * java/security/Security.java (insertProviderAt): Provider index is one
9741 based, not zero based.
9742 (addProvider): Likewise.
9743 (removeProvider): Likewise.
9744 * java/security/Signature.java (provider): Now package private.
9745 (getInstance(String)): Use getInstance(String,Provider).
9746 (getInstance(String,String): Use getInstance(String,Provider)
9747 (getInstance(String,Provider): New method.
9748 (getInstance(String,String,Provider): Don't cast DummySignature.
9750 2002-11-15 Tom Tromey <tromey@redhat.com>
9753 * java/util/zip/GZIPInputStream.java (read): Check file size.
9754 Look in inflater for remaining input bytes.
9755 (read4): Added buf and offset arguments.
9757 2002-11-12 Eric Blake <ebb9@email.byu.edu>
9759 * java/applet/AppletContext.java: Fix typo and remove redundant
9762 2002-11-14 Tom Tromey <tromey@redhat.com>
9764 * java/lang/natRuntime.cc (insertSystemProperties): Set
9767 2002-11-13 Michael Koch <konqueror@gmx.de>
9769 * java/nio/ByteBuffer.java
9770 (allocate): New method.
9775 2002-11-13 Michael Koch <konqueror@gmx.de>
9777 * java/nio/channels/AlreadyConnectedException.java:
9778 Removed unneeded import.
9779 (AlreadyConnectedException): Documentation added.
9780 * java/nio/channels/Pipe.java
9781 (SinkChannel.SinkChannel): Documentation added.
9782 (SinkChannel.validOps): New method.
9783 (SourceChannel.SourceChannel): Documentation added.
9784 (SourceChannel.validOps): New method.
9785 (Pipe): Documentation added.
9786 (open): Documentation added.
9787 (SinkChannel.channel): Documentation added.
9788 (SourceChannel.channel): Documentation added.
9789 * java/nio/channel/SelectableChannel.java
9790 (SelectableChannel): Documentation added.
9791 (blockingLock): Documentation added.
9792 (configureBlocking):Documentation added.
9793 (isBlocking):Documentation added.
9794 (isRegistered):Documentation added.
9795 (keyFor):Documentation added.
9796 (provider):Documentation added.
9797 (register): Documentation added.
9798 (validOps): Documentation added.
9799 * jaba/nio/channels/SelectionKey.java
9800 (SelectionKey): Documentation added.
9801 (attach): Documentation added.
9802 (attachment): Documentation added.
9803 (isAcceptable): Documentation added.
9804 (isConnetable): Documentation added.
9805 (isReadable): Documentation added.
9806 (isWritable): Documentation added.
9807 (cancel): Documentation added.
9808 (channel): Documentation added.
9809 (interestOps): Documentation added.
9810 (isValid): Documentation added.
9811 (readyOps): Documentation added.
9812 (selector): Documentation added.
9813 * jaba/nio/channels/Selector.java
9814 (Selector): Documentation added.
9815 (open): Documentation added.
9816 (close): Documentation added.
9817 (isOpen): Documentation added.
9818 (keys): Documentation added.
9819 (provider): Documentation added.
9820 (select): Documentation added.
9821 (selectedKeys): Documentation added.
9822 (selectNow): Documentation added.
9823 (wakeup): Documentation added.
9824 * java/nio/channels/spi/AbstractInterruptibleChannel.java
9825 (AbstractInterruptibleChannel): Documentation added.
9826 (opened): Default to true;
9827 (begin): Documentation added.
9828 (close): Set opened to false, documentation added.
9829 (isOpen): Documentation added.
9830 * java/nio/channels/spi/AbstractSelectionKey.java
9831 (AbstractSelectionKey): Documentation added.
9832 (cancel): Documentation added.
9833 (isValid): Documentation added.
9834 * java/nio/channels/spi/AbstractSelector.java
9835 (AbstractSelector): Documentation added.
9836 (begin): Documentation added.
9837 (close): Documentation added.
9838 (isOpen): Documentation added.
9839 (deregister): Documentation added.
9840 (end): Documentation added.
9841 (provider): Documentation added.
9842 (implCloseSelector): Documentation added.
9843 (register): Documentation added.
9844 * java/nio/channels/spi/SelectorProvider.java
9845 (SelectorProvider): Documentation added.
9846 (openDatagramChannel): Documentation added.
9847 (openPipe): Documentation added.
9848 (openSelector): Documentation added.
9849 (openServerSocketChannel): Documentation added.
9850 (openSocketChannel): Documentation added.
9851 (provider): Documentation added.
9853 2002-11-12 Michael Koch <konqueror@gmx.de>
9855 * java/nio/Buffer.java: Implemented.
9856 * java/nio/CharBuffer.java: New file.
9857 * java/nio/InvalidMarkException.java: New file.
9858 * java/nio/channels/DatagramChannel.java: Implemented.
9859 * java/nio/channels/ServerSocketChannel.java: Implemented.
9860 * java/nio/channels/SocketChannel.java: Implemented.
9861 * java/nio/channels/spi/AbstractChannel.java: Removed.
9862 * java/nio/channels/spi/AbstractSelectableChannel.java:
9864 * java/nio/charset/Charset.java:
9865 Merge from Classpath.
9866 * java/nio/charset/CharsetDecoder.java: New file.
9867 * java/nio/charset/CharsetEncoder.java: New file.
9868 * java/nio/charset/CoderResult.java: New file.
9869 * Makefile.am (ordinary_java_source_files): Added new files.
9870 * Makefile.in: Regenerated.
9872 2002-11-11 Jesse Rosenstock <jmr@ugcs.caltech.edu>
9874 * gnu/java/nio/charset/ISO_8859_1.java,
9875 gnu/java/nio/charset/Provider.java,
9876 gnu/java/nio/charset/US_ASCII.java,
9877 gnu/java/nio/charset/UTF_16.java,
9878 gnu/java/nio/charset/UTF_16BE.java,
9879 gnu/java/nio/charset/UTF_16Decoder.java,
9880 gnu/java/nio/charset/UTF_16Encoder.java,
9881 gnu/java/nio/charset/UTF_16LE.java,
9882 gnu/java/nio/charset/UTF_8.java: New files.
9884 2002-11-11 Michael Koch <konqueror@gmx.de>
9886 * java/nio/charset/CharacterCodingException.java:
9887 This class must be public.
9888 * java/nio/charset/CoderMalfunctionError.java:
9889 This class must be public.
9890 * java/nio/charset/CodingErrorAction.java:
9891 This class must be public.
9892 * java/nio/charset/IllegalCharsetNameException.java:
9893 This class must be public, better implementation.
9894 * java/nio/charset/MalformedInputException.java:
9895 This class must be public, better implementation.
9896 * java/nio/charset/UnmappableCharacterException.java:
9897 This class must be public, better implementation.
9898 * java/nio/charset/UnsupportedCharsetException.java:
9899 This class must be public, better implementation.
9901 2002-11-11 Michael Koch <konqueror@gmx.de>
9903 * java/nio/BufferOverflowException.java,
9904 java/nio/BufferUnderflowException.java: New file.
9905 * Makefile.am (ordinary_java_source_files):
9907 * Makefile.in: Regenerated.
9909 2002-11-10 Tom Tromey <tromey@redhat.com>
9911 * java/awt/Container.java (validate): Use tree lock.
9912 (getComponent): Likewise.
9913 (getComponents): Likewise.
9914 (addImpl): Likewise.
9916 (removeAll): Likewise.
9917 (processEvent): Fixed indentation.
9918 (getComponentAt): Use tree lock.
9919 (findComponentAt): Likewise.
9920 (removeNotify): Likewise.
9921 (isAncestorOf): Likewise.
9923 (visitChildren): Likewise.
9924 (findNextFocusComponent): Likewise.
9925 (addNotifyContainerChildren): Likewise.
9926 (getAccessibleChildrenCount): Likewise.
9927 (getAccessibleChild): Likewise.
9929 * java/awt/GridLayout.java (layoutContainer): Use tree lock.
9930 (getSize): Likewise.
9931 * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
9932 (getSize): Likewise.
9933 * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
9934 (calcSize): Likewise.
9935 * java/awt/CardLayout.java (getSize): Use tree lock.
9936 (gotoComponent): Likewise.
9937 (layoutContainer): Likewise.
9939 * java/io/natFileDescriptorWin32.cc (read): Handle case where
9941 * java/io/natFileDescriptorPosix.cc (read): Handle case where
9944 * java/io/Externalizable.java, java/io/FilePermission.java,
9945 java/io/ObjectStreamConstants.java, java/io/Serializable.java,
9946 java/io/SerializablePermission.java, java/text/Format.java,
9947 java/util/AbstractMap.java, java/util/HashMap.java,
9948 java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
9949 versions from Classpath.
9951 2002-11-10 Anthony Green <green@redhat.com>
9953 * java/util/jar/Attributes.java (Name): Fix name check.
9955 2002-11-10 Mark Wielaard <mark@klomp.org>
9957 * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
9958 with getName() as message.
9959 (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
9962 * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
9965 2002-11-08 Ranjit Mathew <rmathew@hotmail.com>
9967 * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
9968 for Win32. JNICALL has been defined to __stdcall to be compatible
9971 2002-11-10 Tom Tromey <tromey@redhat.com>
9973 * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
9974 (setRows): Check newRows, not rows.
9976 * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
9978 2002-11-09 Tom Tromey <tromey@redhat.com>
9980 * java/applet/Applet.java, java/applet/AppletContext.java,
9981 java/applet/AppletStub.java, java/applet/AudioClip.java,
9982 java/awt/CardLayout.java,
9983 java/awt/ContainerOrderFocusTraversalPolicy.java,
9984 java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
9985 java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
9986 java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
9987 java/awt/color/ICC_ColorSpace.java,
9988 java/awt/color/ICC_Profile.java,
9989 java/awt/color/ICC_ProfileGray.java,
9990 java/awt/color/ICC_ProfileRGB.java,
9991 java/awt/datatransfer/DataFlavor.java,
9992 java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
9993 java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
9994 New versions from Classpath.
9995 * Makefile.in: Rebuilt.
9996 * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
9999 * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
10002 * java/awt/List.java (processEvent): Added missing `else's.
10004 * java/awt/Window.java (show): validate() before showing. Make
10005 parent displayable.
10006 (isDisplayable): New method.
10008 2002-11-07 Mark Wielaard <mark@klomp.org>
10010 Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
10011 * java/rmi/MarshalledObject.java (equals): Check hashcode first.
10013 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
10015 (loadClass): Take String as codebases.
10016 (getClassAnnotation): Use MyClassLoader annotations.
10017 * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
10018 call exportObject(this).
10020 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
10021 (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
10022 (setAnnotation): Don't set locBytesStream and locStream.
10023 (replaceObject): Removed.
10024 (flush): Don't test locStream.
10025 (getLocBytes): LikeWise.
10026 * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
10027 (leaseCache): New field.
10028 (dirty): Use leaseCache.
10029 (LeaseRecord): New inner class.
10030 * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
10031 explicitly call exportObject().
10032 * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
10033 false to communicate with Sun JDK130.
10034 * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
10035 * gnu/java/rmi/server/RMIObjectInputStream.java
10036 (UnicastConnectionManager): Removed field.
10037 * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
10038 Use UnicastServer.getExportedRef().
10039 * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
10040 (expireTime): Likewise.
10041 (CONNECTION_TIMEOUT): Likewise.
10042 (disconnect): Call sock.close().
10043 (isExpired): New method.
10044 (resetTime): Likewise.
10045 (run): Use do while loop and catch Exception for discardConnection().
10046 * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
10047 * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
10048 * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
10049 * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
10050 (exportObject): Use refcache.
10051 (unexportObject): Likewise.
10052 (getExportedRef): New method.
10053 * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
10055 (exportObject): Save manager.serverobj.
10056 (getStub): New method.
10058 2002-11-07 Mark Wielaard <mark@klomp.org>
10060 * java/lang/reflect/natField.cc (getBoolean): Use getType().
10061 (getByte): Likewise.
10062 (getShort): Likewise.
10063 (getInt): Likewise.
10064 (getLong): Likewise.
10065 (getFloat): Likewise.
10066 (getDouble): Likewise.
10068 (setChar): Likewise.
10069 (setByte): Likewise.
10070 (setShort): Likewise.
10071 (setInt): Likewise.
10072 (setLong): Likewise.
10073 (setFloat): Likewise.
10074 (setDouble): Likewise.
10076 2002-11-07 Michael Koch <konqueror@gmx.de>
10078 * java/awt/Choice.java,
10079 java/awt/Container.java,
10080 java/awt/GridBagLayout.java:
10081 Fixed documentation.
10082 * java/awt/peer/ContainerPeer.java:
10085 2002-11-07 Michael Koch <konqueror@gmx.de>
10087 * java/awt/color/ICC_Profile.java:
10088 Added missing constants.
10089 * java/awt/color/ICC_ColorSpace.java
10090 (getMinValue): Added dummy implementation.
10091 (getMaxValue): Added dummy implementation.
10092 * java/awt/datatransfer/DataFlavor.java
10093 (imageFlavor): Added.
10094 (isMimeTypeEqual): Must be final.
10095 (getDefaultRepresentationClass): Must be non-static.
10096 (getDefaultRepresentationClassAsString): Must be non-static.
10097 * java/awt/dnd/DragSourceContext.java
10098 (dragExit): Corrected argument.
10099 (dragDropEnd): Corrected argument.
10100 * java/awt/dnd/DragSourceListener.java.java
10101 (dragExit): Corrected argument.
10102 (dragDropEnd): Corrected argument.
10103 * java/awt/font/TextHitInfo.java
10104 (toString): Added stubbed implementation.
10105 * java/awt/geom/PathIterator.java:
10106 The constants must be static.
10107 * java/awt/image/VolatileImage.java
10108 (IMAGE_INCOMPATIBLE): Fixed typo.
10109 * java/awt/image/renderable/RenderableImage.java
10110 (HINTS_OBSERVED): Must be static.
10111 * java/beans/BeanInfo.java:
10112 Constants must be final.
10114 2002-11-06 Tom Tromey <tromey@redhat.com>
10116 From svens@it.uu.se. For PR libgcj/8481.
10117 * java/util/Random.java (nextInt(int)): Only use 31 bits.
10119 2002-11-06 Tom Tromey <tromey@redhat.com>
10121 * jni.cc (array_from_valist): Assume that jlong won't be
10124 2002-11-04 R. A. Rivas Diaz <rivasdiaz@yahoo.com>
10126 * gnu/java/security/provider/SHA.java (engineGetDigestLength):
10128 * gnu/java/security/provider/MD5.java (engineGetDigestLength):
10131 2002-11-03 Tom Tromey <tromey@redhat.com>
10133 * java/lang/ClassLoader.java (loadClass): Call loadClass on
10134 VMClassLoader, not findClass.
10136 2002-11-03 Jeff Sturm <jsturm@one-point.com>
10138 * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
10139 (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
10140 _Jv_DetermineVTableIndex, to determine vtable offset.
10141 (_Jv_DetermineVTableIndex): Remove.
10142 (_Jv_PrepareClass): Don't layout vtable. Use _Jv_MakeVTable instead.
10144 * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
10146 2002-11-03 Tom Tromey <tromey@redhat.com>
10148 * java/nio/channels/AlreadyConnectedException.java: Extend
10149 IllegalStateException, per spec.
10151 2002-10-31 Stephen Crawley <crawley@dstc.edu.au>
10153 * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
10155 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
10157 * java/util/ArrayList.java (readObject, writeObject): Only read/write
10160 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
10162 * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
10163 initial estimated size to avoid enlarge buffer frequently.
10165 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
10167 * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
10168 ClassLoader when null.
10169 (ProxyType.hashCode): Loader null check no longer needed.
10170 (ProxyType.sameTypes): New method.
10171 (ProxyType.equals): Use new method.
10173 2002-10-31 Mark Wielaard <mark@klomp.org>
10175 * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
10177 * java/net/URLEncoder.java (encode): Likewise.
10179 2002-10-31 Mark Wielaard <mark@klomp.org>
10181 * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
10182 when stream is closed.
10183 (closeEntry): Likewise.
10185 * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
10186 ZipException when no entry active.
10187 (closeEntry): Likewise.
10190 2002-11-02 Tom Tromey <tromey@redhat.com>
10192 * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
10193 * java/lang/natClass.cc (initializeClass): Don't return just
10194 because self==thread.
10197 * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
10198 * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
10200 2002-11-02 Andreas Schwab <schwab@suse.de>
10202 * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
10204 (FLAGS_TO_PASS): Define.
10205 * Makefile.in: Regenerated.
10207 2002-11-01 Michael Koch <konqueror@gmx.de>
10209 * java/nio/ByteOrder.java: New file.
10210 * java/nio/channels/DatagramChannel.java:
10211 (DatagramChannel): New constructor.
10212 * java/nio/channels/Pipe.java: New file.
10213 * java/nio/channels/SelectableChannel.java: New file.
10214 * java/nio/channels/SelectionKey.java: New file.
10215 * java/nio/channels/Selector.java: New file.
10216 * java/nio/channels/ServerSocketChannel.java
10217 (ServerSocketChannel): New constructor.
10218 * java/nio/channels/SocketChannel.java
10219 (SocketChannel): New constructor.
10220 * java/nio/channels/Pipe.java: New file.
10221 * java/nio/channels/spi/AbstractChannel.java: New file.
10222 * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
10223 * java/nio/channels/spi/AbstractSelectableChannel.java:
10225 (AbstractSelectableChannel): New stubbed method.
10226 * java/nio/channels/spi/AbstractSelectionKey.java: New file.
10227 * java/nio/channels/spi/AbstractSelector.java: New file.
10228 * java/nio/channels/spi/SelectorProvider.java: New file.
10229 * java/nio/charset/Charset.java: New file.
10230 * java/nio/charset/CoderMalfunctionError.java: New file.
10231 * java/nio/charset/CodingErrorAction.java: New file.
10232 * java/nio/charset/spi/CharsetProvider.java
10233 (charsetForName): Uncommented.
10234 * Makefile.am (java_native_source_files): Added new files.
10235 * Makefile.in: Regenerated.
10237 2002-11-01 Michael Koch <konqueror@gmx.de>
10239 * java/net/InetAddress.java:
10240 (isAnyLocalAddress): Implemented.
10241 (isLoopbackAddress): Implemented, comment added.
10242 (isLinkLocalAddress): Implemented, documentation added.
10243 (isSiteLocalAddress): Implemented, documentation added.
10244 (isMCGlobal): Implemented, documentation added.
10245 (isMCNodeLocal): Implemented, documentation added.
10246 (isMCLinkLocal): Implemented, documentation added.
10247 (isMCSiteLocal): Implemented, documentation added.
10248 (isMCOrgLocal): Implemented, documentation added.
10249 (getHostName): Documentation added.
10250 (getCanonicalHostName): Implemented, documentation added.
10251 (getAddress): Documentation added.
10252 (hashCode): Documentation added.
10253 (equals): Documentation added.
10254 (toString): Fixed implementation.
10255 (getByAddress): Use Inet4Address and Inet6Address.
10256 (lookup): New linewrap.
10257 (getByName): SecurityManager check added, support Inet4Address and
10258 Inet6address, comments added.
10259 (getAllByName): SecurityManager check added, comments added.
10260 * java/net/Inet6Address.java:
10261 (Inet6Address): Initialize parent class with addr instead of null.
10262 * java/net/URL.java
10263 (equals): Documentation added.
10264 (getFile): Documentation added.
10265 (hashCode): Documentation added.
10266 * java/net/natInetAddress.cc:
10267 (aton): Fix IPv6 support.
10268 * java/net/natPlainDatagramSocketImpl.cc:
10269 (peek): Throw PortUnreachableException when suitable.
10270 (peekData): Throw PortUnreachableException when suitable.
10271 (send): Throw PortUnreachableException when suitable.
10272 (receive): Throw PortUnreachableException when suitable.
10274 2002-10-27 Mark Wielaard <mark@klomp.org>
10276 * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
10278 (readLeShort): Likewise and use byte[].
10279 (readLeInt): Likewise.
10280 (readEntries): Use new versions of methods and use byte[] for reading
10281 a complete zip entry. Add ZipFile name to exceptions.
10282 (entries): Add ZipFile name to exceptions.
10283 (getEntry): Likewise.
10284 (checkLocalHeader): Use new versions of methods and add ZipFile name
10287 2002-10-31 Mark Anderson <mark@panonet.net>
10289 * java/awt/GridBagLayout.java (setConstraints): New stubbed method
10292 2002-10-25 Krister Walfridsson <cato@df.lth.se>
10294 * configure.in: Disable hash sync when not using threads.
10295 * configure: Regenerated.
10297 2002-10-24 Tom Tromey <tromey@redhat.com>
10299 * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
10300 (_Jv_FindSymbolInExecutable): Removed argument name.
10301 (insertSystemProperties): Call _Jv_SetDLLSearchPath if
10302 java.library.path is set.
10304 * gij.cc (help): Document --showversion.
10305 (version): Don't exit.
10306 (main): Handle --showversion. Exit if --version given.
10308 2002-10-23 Tom Tromey <tromey@redhat.com>
10310 * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
10311 (array_from_valist): Correctly handle promotion for jint, jlong,
10312 jfloat, and jdouble.
10314 2002-10-23 Ranjit Mathew <rmathew@hotmail.com>
10316 * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
10317 GetFileAttributesEx( ) to find file length and modification times,
10318 as the latter is not present on Windows 95.
10320 2002-10-21 Michael Koch <konqueror@gmx.de>
10322 * java/net/URL.java
10323 (URL): Activate SecurityManager checks.
10324 (equals): Use URLStreamHandler implementation instead of doing it
10325 alone. This allows special protocol stream handlers to change default
10327 (hashCode): Use URLStreamHandler implementation instead of doing it
10328 alone. This allows special protocol stream handlers to change default
10330 * java/net/URLStreamHandler.java
10331 (equals): Implemented default URL equality check.
10332 (hostsEqual): Implemented default URL equality check.
10333 (hashCode): Implemented default URL hashCode algorithm.
10334 * java/net/natPlainDatagramSocketImpl.cc:
10335 No lines longer then 80 characters.
10337 2002-10-20 Adam Megacz <adam@xwt.org>
10339 * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
10340 * configure.in: enabled hash sync on Win32
10341 * include/win32-threads.h (_Jv_ThreadId_t): added.
10342 * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
10343 heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
10344 removed some posix-isms, use Thread::sleep() instead of usleep,
10345 added code to clear bottom three bits if platform has a broken
10347 * include/win32-threads.h (_Jv_ThreadId_t): added.
10349 2002-10-19 Ranjit Mathew <rmathew@hotmail.com>
10351 * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
10352 runtime property "gnu.gcj.progname" containing the name used to
10353 invoke the current Java program (similar to argv[0] for C
10356 2002-10-15 Tom Tromey <tromey@redhat.com>
10358 Fix for PR libgcj/8234:
10359 * java/util/zip/natInflater.cc (reset): Reset avail_in.
10360 * java/util/zip/natDeflater.cc (reset): Reset avail_in.
10362 2002-10-13 Mark Wielaard <mark@klomp.org>
10364 * mauve-libgcj: Enable Mauve tests that compile now.
10366 2002-10-11 Mark Wielaard <mark@klomp.org>
10368 Fix for PR libgcj/8142
10369 * java/lang/natClassLoader.cc (findClass): Skip inner classes when
10370 loading native modules.
10372 2002-10-10 Michael Koch <konqueror@gmx.de>
10374 * javax/swing/AbstractListModel.java
10375 (getListDataListeners): New stubbed method.
10376 javax/swing/DefaultBoundedRangeModel.java
10377 (getChangeListeners): New stubbed method.
10378 javax/swing/DefaultSingleSelectionModel.java
10379 (getChangeListeners): New stubbed method.
10381 2002-10-10 Michael Koch <konqueror@gmx.de>
10383 * gcj/.cvsignore: New file to ignore files generated during build.
10384 * include/.cvsignore: New file to ignore files generated during build.
10386 2002-10-10 Michael Koch <konqueror@gmx.de>
10388 * java/net/HttpURLConnection.java
10389 (getPermission): New method.
10390 (getErrorStream): New stub method.
10391 (getHeaderFieldDate): New stub method.
10392 * java/net/Inet4Address.java:
10393 (isLinkLocalAddress): Typo fixed.
10394 * java/net/InetAddress.java:
10395 (readResolve): New stubbed method (for serialization).
10396 (isAnyLocalAddress): New stubbed method.
10397 (isLoopbackAddress): New stubbed method.
10398 (isLinkLocalAddress): New stubbed method.
10399 (isSiteLocalAddress): New stubbed method.
10400 (isMCGlobal): New stubbed method.
10401 (isMCNodeGlobal): New stubbed method.
10402 (isMCLinkLocal): New stubbed method.
10403 (isMCSiteLocal): New stubbed method.
10404 (isMCOrgLocal): New stubbed method.
10405 (getCanonicalHostName): New stubbed method.
10406 (getByAddress): Create instances of Inet4Address/Inet6Address,
10407 instead of InetAddress, documentation added.
10408 * java/net/MulticastSocket.java
10409 (getInterface): Removed FIXME.
10410 (getNetworkInterface): New method.
10411 (setNetworkInterface): New method.
10412 * java/net/NetworkInterface.java:
10413 (toString): Use property "line.separator" instead of "\n".
10414 * java/net/URLConnection.java
10415 (getContent): New stubbed method.
10416 * java/net/URLStreamHandler.java:
10417 (equals): New stubbed method.
10418 (hostsEqual): New stubbed method.
10419 (hashCode): New stubbed method.
10420 * java/net/natNetworkInterface.cc:
10421 (getRealNetworkInterfaces): Create Inet4Address object
10422 instead of InetAddress.
10424 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
10426 * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
10427 unsigned long temporary to implement insn_iushr shifts.
10429 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
10431 * configure.host [s390*-*]: Enable Java interpreter.
10432 Enable hash synchronization. Add sysdeps dir.
10433 * sysdep/s390/locks.h: New file.
10435 2002-10-06 Mark Wielaard <mark@klomp.org>
10437 * java/lang/Thread.java (setDaemon): Check startable_flag,
10440 2002-10-07 Michael Koch <konqueror@gmx.de>
10442 * java/nio/Buffer.java: New stub file.
10443 * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
10445 * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
10446 * Makefile.in: Regenerated.
10448 2002-10-07 Michael Koch <konqueror@gmx.de>
10450 * java/nio/ByteBuffer.java:
10451 removed import of not commited class.
10453 2002-10-07 Michael Koch <konqueror@gmx.de>
10455 * java/nio/ByteBuffer.java,
10456 java/nio/MappedByteBuffer.java:
10457 New files, forgot to add these dummies.
10458 * Makefile.am (java_native_source_files): Added new files.
10459 * Makefile.in: Regenerated.
10461 2002-10-07 Michael Koch <konqueror@gmx.de>
10463 * java/nio/channels/AlreadyConnectedException.java,
10464 java/nio/channels/ClosedChannelException.java,
10465 java/nio/channels/ReadableByteChannel.java,
10466 java/nio/channels/InterruptibleChannel.java,
10467 java/nio/channels/Channel.java,
10468 java/nio/channels/ByteChannel.java,
10469 java/nio/channels/GatheringByteChannel.java,
10470 java/nio/channels/ScatteringByteChannel.java,
10471 java/nio/channels/WritableByteChannel.java,
10472 java/nio/charset/CharacterCodingException.java,
10473 java/nio/charset/IllegalCharsetNameException.java,
10474 java/nio/charset/MalformedInputException.java,
10475 java/nio/charset/UnmappableCharacterException.java,
10476 java/nio/charset/UnsupportedCharsetException.java,
10477 java/nio/charset/spi/CharsetProvider.java: New file.
10478 These files are exceptions or interfaces,
10479 no real or abstract classes.
10480 * Makefile.am (java_native_source_files): Added new files.
10481 * Makefile.in: Regenerated.
10483 2002-10-05 Michael Koch <konqueror@gmx.de>
10485 * java/net/InetAddress.java
10486 (getByAddress): Fixed documentation.
10487 (getByAddress): New method.
10488 * java/net/Inet4Address.java: New file.
10489 * java/net/URL.java
10490 (URL): Documentation added.
10491 (getContent): Documentation added.
10492 (getContent): New stubbed method.
10493 (getQuery): New method.
10494 (openConnection): Documentation added.
10495 (openStream): Documentation added.
10496 (setURLStreamHandlerFactory): Documentation added.
10497 * java/net/URI.java: New stub file.
10499 (java_native_source_files): Added java/net/Inet4Address.java,
10500 java/net/Inet6Address.java and java/net/URI.java.
10501 * Makefile.in: Regenerated.
10503 2002-10-04 C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
10505 * java/lang/ProtectionDomain.java (linesep): Remove field.
10506 (toString): Use System.getProperty("line.separator").
10508 2002-10-04 Michael Koch <konqueror@gmx.de>
10510 * java/security/Identity.java: Added serialVersionUID.
10511 * java/security/KeyPair.java: Added serialVersionUID.
10512 * java/security/Provider.java: Added serialVersionUID.
10513 * java/security/SecureRandom.java: Added serialVersionUID.
10514 * java/security/SecureRandomSpi.java: Added serialVersionUID.
10515 * java/security/SignedObject.java: Added serialVersionUID.
10516 * java/security/cert/Certificate.java: Added serialVersionUID.
10518 2002-10-04 Mark Wielaard <mark@klomp.org>
10520 * java/security/Security.java: Use java.home or gnu.classpath.home
10522 (loadProviders): Extra dir argument.
10523 (getProvider): Return null when not found.
10525 2002-10-04 Mark Wielaard <mark@klomp.org>
10527 * java/lang/Throwable.java: Remerge with Classpath.
10529 2002-10-04 Michael Koch <konqueror@gmx.de>
10531 * java/net/InetAddress.java:
10532 (isMulticastAddress): Added documentation.
10533 (getHostAddress): Added documentation.
10534 (toString): Added documentation.
10535 (getByAddress): Fixed documentation.
10536 (getByName): Added documentation.
10537 (getAllByName): Added documentation.
10538 (getLocalHost): Added documentation.
10540 2002-10-04 Michael Koch <konqueror@gmx.de>
10542 * java/beans/beancontext/BeanContextChildSupport.java:
10543 Added serialVersionUID.
10544 * java/text/Collator.java: (compare): Made documentation HTML-aware.
10545 * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
10546 * javax/naming/Name.java: Added serialVersionUID.
10548 2002-10-03 Adam Megacz <adam@xwt.org>
10550 * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
10551 some functionality that isn't supported yet on WIN32.
10553 2002-10-03 Tom Tromey <tromey@redhat.com>
10555 * Makefile.in: Rebuilt.
10556 * Makefile.am (awt_java_source_files): Added new files.
10558 2002-10-03 Michael Koch <konqueror@gmx.de>
10560 * java/net/InetAddress.java
10561 (class InetAddress): Removed final keyword.
10562 (equals): Fixed typo.
10563 (getByAddress): New method.
10565 2002-10-03 Michael Koch <konqueror@gmx.de>
10567 * java/awt/dnd/Autoscroll.java:
10568 New file, merge from Classpath.
10569 * java/awt/dnd/DragSourceAdapter.java:
10570 (dragExit): Fixed typos in argument type.
10571 (dragDropEnd): Fixed typos in argument type.
10572 * java/awt/dnd/DragSourceDropEvent.java:
10573 New file, merge from Classpath.
10574 * java/awt/dnd/DropTarget.java:
10575 Added stubs, merge from Classpath.
10576 * java/awt/dnd/DropTargetAdapter.java:
10577 New file, merge from Classpath.
10578 * java/awt/dnd/DropTargetContext.java:
10579 New file, merge from Classpath.
10580 * java/awt/dnd/DropTargetDragEvent.java:
10581 New file, merge from Classpath.
10582 * java/awt/dnd/DropTargetDropEvent.java:
10583 New file, merge from Classpath.
10584 * java/awt/dnd/DropTargetEvent.java:
10585 New file, merge from Classpath.
10586 * java/awt/dnd/DropTargetListener.java:
10587 New file, merge from Classpath.
10588 * java/awt/dnd/MouseDragGestureRecognizer.java:
10589 New file, merge from Classpath.
10590 * java/awt/dnd/peer/DropTargetContextPeer.java:
10591 New file, merge from Classpath.
10593 2002-10-03 Michael Koch <konqueror@gmx.de>
10595 * java/net/DatagramPacket.java
10596 (setLength): Fixed typo and be HTML-aware.
10597 * java/net/InetSocketAddress.java
10598 (InetSocketAddress): Correct initialization of hostname, fixed typo.
10599 (equals): Added comment about equality of InetSocketAddress objects.
10600 * java/net/ServerSocket.java
10601 (accept): Added checks.
10602 (isClosed): New stubbed method.
10603 * java/net/SocketOptions.java: Reindention.
10604 * java/net/SocketPermission
10605 (SocketPermission): Documentation fixed.
10607 2002-10-03 Michael Koch <konqueror@gmx.de>
10609 * java/net/DatagramSocket.java
10610 (receive): Check with SecurityManager AFTER the packet is received,
10611 check if connected to multicast address, documentation added.
10612 (send): Only check SecurityManager if connected, check address of
10614 (connect): Implemented, documentation added.
10615 * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
10616 * java/net/InetSocketAddress.java
10617 (whole file): Reindented.
10618 (hostname): New attribute.
10619 (InetSocketAddress): Initialize new attribute.
10620 (getAddress): Documentation added.
10621 (getHostName): Documentation added.
10622 (getPort): Documentation added.
10623 (hashCode): Documentation added.
10624 (isUnresolved): Documentation added.
10625 (toString): Conform to output of JDK 1.4.1, documentation added.
10626 * java/net/MulticastSocket.java
10627 (joinGroup): Removed FIXME, documentation added.
10628 (leaveGroup): Removed FIXME, documentation added.
10629 (send): Documentation added.
10630 * java/net/Socket.java
10631 (inputShutdown): New variable.
10632 (outputShutdown): New variable.
10633 (Socket): Initialize new variables.
10634 (getRemoteSocketAddress): Check if connected.
10635 (shutdownInput): Set new variable.
10636 (shutdownOutput): Set new variable.
10637 (isConnected): New method.
10638 (isClosed): New method.
10639 (isInputShutdown): New method.
10640 (isOutputShutdown): New method.
10641 * java/net/URLStreamHandler.java
10642 (URLStreamHandler): New method.
10643 (openConnection): Added documentation.
10644 (parseURL): Added documentation.
10645 (getHostAddress): New method.
10646 (getDefaultPort): New method.
10648 2002-10-02 Tom Tromey <tromey@redhat.com>
10650 * java/rmi/activation/ActivationDesc.java,
10651 java/rmi/activation/ActivationGroupDesc.java,
10652 java/rmi/activation/ActivationGroupID.java,
10653 java/rmi/activation/ActivationID.java: New versions from
10656 2002-09-30 Bo Thorsen <bo@suse.de>
10658 * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
10660 2002-09-30 Tom Tromey <tromey@redhat.com>
10662 * java/io/ObjectInputStream.java (resolveProxyClass): New method
10664 * Makefile.in: Rebuilt.
10665 * Makefile.am (rmi_java_source_files): Added new files.
10666 * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
10667 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
10668 gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
10670 * gnu/java/rmi/dgc/DGCImpl.java,
10671 gnu/java/rmi/dgc/DGCImpl_Skel.java,
10672 gnu/java/rmi/dgc/DGCImpl_Stub.java,
10673 gnu/java/rmi/registry/RegistryImpl_Skel.java,
10674 gnu/java/rmi/registry/RegistryImpl_Stub.java,
10675 gnu/java/rmi/server/RMIHashes.java,
10676 gnu/java/rmi/server/RMIObjectInputStream.java,
10677 gnu/java/rmi/server/RMIObjectOutputStream.java,
10678 gnu/java/rmi/server/UnicastConnection.java,
10679 gnu/java/rmi/server/UnicastConnectionManager.java,
10680 gnu/java/rmi/server/UnicastRef.java,
10681 gnu/java/rmi/server/UnicastServer.java,
10682 gnu/java/rmi/server/UnicastServerRef.java,
10683 java/rmi/MarshalledObject.java,
10684 java/rmi/server/RMIClassLoader.java,
10685 java/rmi/server/RemoteObject.java,
10686 java/rmi/server/UnicastRemoteObject.java,
10687 java/security/SecureClassLoader.java: Merged from Classpath.
10689 2002-09-29 Anthony Green <green@redhat.com>
10691 * java/lang/reflect/UndeclaredThrowableException.java: New file.
10692 Imported from GNU Classpath.
10693 * java/lang/reflect/natProxy.cc: New file.
10694 * java/lang/reflect/InvocationHandler.java: New file. Imported
10695 from GNU Classpath.
10696 * java/lang/reflect/Proxy.java: New file. Imported from GNU
10698 * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
10700 * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
10701 HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
10703 * gcj/javaprims.h ("Java"): Add new classes.
10704 * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
10705 * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
10706 java/lang/reflect/Proxy$$ProxyType.h): And this.
10707 (inner_nat_headers): Add these new headers.
10708 (ordinary_java_source_files): Add new files.
10709 (nat_source_files): Add new file.
10710 * Makefile.in: Rebuilt.
10712 2002-09-28 Richard Earnshaw <rearnsha@arm.com>
10714 * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
10715 a single configuration.
10717 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
10719 * java/util/TimeZone.java (getDSTSavings): New method.
10720 Fixes PR libgcj/7786.
10722 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
10724 * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
10725 to see if `the_method == 0' before looking up vtable index.
10726 Fixes PR libgcj/7709.
10728 2002-09-25 Tom Tromey <tromey@redhat.com>
10730 * java/lang/natClassLoader.cc:
10731 (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
10732 * resolve.cc: Include NoClassDefFoundError.h, not
10733 ClassNotFoundException.h.
10734 (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
10736 * defineclass.cc: Don't include ClassNotFoundException.h.
10738 * resolve.cc: Include StringBuffer.
10739 (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
10741 * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
10742 allocated but not initialized.
10744 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
10746 Fix for PR libgcj/7766:
10747 * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
10748 (getNextEntry): Set it.
10749 (closeEntry): Likewise.
10752 (available): Use it.
10754 2002-09-25 Michael Koch <konqueror@gmx.de>
10756 * java/net/DatagramSocket.java
10757 (DatagramSocket): Initialize new instance variables.
10758 (close): Reset new instance variables.
10759 (getLocalAddress): Remove unneeded SecurityManager usage.
10760 (getLocalPort): Check if socket is already bound.
10761 (isConnected): New method.
10762 (getInetAddress): Implemented.
10763 (getPort): Better Implementation, documentation fixed.
10764 (getRemoteSocketAddress): New method.
10765 * java/net/JarURLConnection.java
10766 (element): Typo fixed.
10767 (getMainAttributes): New method.
10768 (getAttributes): New method (stub only).
10769 (getManifest): New method (stub only).
10770 * java/net/NetPermission.java: Added serialVersionsUID.
10771 * java/net/Socket.java
10772 (connect): Check blocking mode of associated channel,
10773 documentation added.
10774 (getLocalSocketAddress): Better implementation.
10775 (getRemoteSocketAddress): Implemented.
10776 (isBound): New method.
10777 (setSendBufferSize): Documentation added.
10778 * java/net/SocketAddress.java: Added serialVersionsUID.
10779 * java/net/SocketPermission.java: Added serialVersionsUID.
10780 * java/net/URL.java
10781 (URL): Wrap for shorter lines, initialize new instance variables,
10782 documentation added.
10783 (equals): Check new instance variables too.
10784 (getContent): Documentation added.
10785 (getPath): Documentation added.
10786 (getAuthority): New method.
10787 (getHost): Documentation added.
10788 (getPort): Documentation added.
10789 (getDefaultPort): New method.
10790 (getProtocol): Documentation added.
10791 (getUserInfo): Documentation added.
10792 (set): Initialize new instance variables, documentation added.
10793 * java/net/URLStreamHandler.java
10794 (setURL): New method.
10795 * java/net/natPlainDatagramSocketImpl.cc
10796 (connect): Fix exception name.
10797 (disconnect): Fix exception name.
10799 2002-09-25 Michael Koch <konqueror@gmx.de>
10801 * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
10802 * java/nio/channels/DatagramChannel.java:
10803 extends AbstractSelectableChannel
10804 * java/nio/channels/ServerSocketChannel.java:
10805 extends AbstractSelectableChannel
10806 * java/nio/channels/SocketChannel.java:
10807 extends AbstractSelectableChannel
10808 * Makefile.am (ordinary_java_source_files):
10809 java/nio/channels/spi/AbstractSelectableChannel.java added.
10810 * Makefile.in: Regenerated.
10812 2002-09-25 Michael Koch <konqueror@gmx.de>
10814 * java/net/DatagramSocket.java
10815 (DatagramSocket): Exception documentation added.
10816 (bind): Exception documentation added, addded SecurityManager check,
10817 added SocketAddress type check.
10818 (getSoTimeout): Check impl.
10819 (receive): Fix SecurityManager check, check impl, documentation added.
10820 (send): Check channel mode, documentation added.
10821 (connect): New method.
10822 (disconnect): Implemented.
10823 (getLocalSocketAddress): New method.
10824 (getReceiveBufferSize): Check impl.
10825 (setReuseAddress): Check impl.
10826 (getReuseAddress): Check impl.
10827 (setBroadcast): Check impl.
10828 (getBroadcast): Check impl.
10829 (setTrafficClass): Check impl, Documentation cleared.
10830 (getTrafficClass): Check impl.
10831 (getSendBufferSize): Check impl.
10832 (setReceiveBufferSize): Check impl, documentation added.
10833 (setSendBufferSize): Documentation added.
10834 (setDatagramSocketImplFactory): New method.
10835 * java/net/HttpURLConnection.java
10836 (HTTP_INTERNAL_ERROR): The correct code is 500.
10837 (HTTP_NOT_IMPLEMENTED): Added new constant.
10838 (setFollowRedirects): Documentation added.
10839 (getInstanceFollowRedirects): New method.
10840 (setInstanceFollowRedirects): New method.
10841 (setRequestMethod): Documentation added.
10842 (getResponseCode): Documentation added.
10843 (getResponseMessage): Documentation added.
10844 * java/net/JarURLConnection.java
10845 (JarURLConnection): protected since JDK 1.4.
10846 (getJarEntry): java.io.IOException to IOException, documentation added.
10847 (getJarFile): Documentation added.
10848 * java/net/ServerSocket.java
10849 (ServerSocket): Private to public, exception added.
10850 (ServerSocket): java.io.IOException to IOException, documentation added.
10851 (bind): Check socket address type, documentation added.
10852 (bind): java.io.IOException to IOException, documentation added.
10853 (accept): Documentation added.
10854 (implAccept): Check ch is not non-blocking, documentation added.
10855 (setSoTimeout): Documentation fixed.
10856 (setReceiveBufferSize): Documentation added.
10857 * java/net/Socket.java
10858 (Socket): Documentation added.
10859 (bind): Documentation added.
10860 (connect): Check socket address type, documentation added.
10861 (getRemoteSocketAddress): New method.
10862 (getLocalSocketAddress): New method.
10863 (setSoLinger): Documentation added.
10864 (getReuseAddress): New method.
10865 (setReuseAddress): New method.
10866 (getTrafficClass): New method.
10867 (setTrafficClass): New method.
10868 * java/net/URLStreamHandler.java
10869 (openConnection): java.io.IOException to IOException.
10870 (parseURL): Documentation added.
10871 (sameFile): public to protected, documentation added.
10872 (setURL): Documentation added.
10873 * java/nio/IllegalBlockingModeException.java: New file.
10874 * Makefile.am (ordinary_java_source_files):
10875 added java/nio/IllegalBlockingModeException.java
10876 * Makefile.in: Regenerated.
10878 2002-09-25 Michael Koch <konqueror@gmx.de>
10880 * java/net/DatagramPacket
10881 (DatagramPacket): Exception documentation added.
10882 (setData): Likewise.
10883 (setSocketAddress): Likewise.
10884 * java/net/DatagramSocketImpl.java
10885 (peek): Documentation addded.
10886 (peekData): Documentation addded.
10887 (send): Documentation addded.
10888 (receive): Documentation addded.
10889 (connect): New method.
10890 (disconnect): New method.
10891 (joinGroup): New abstract method.
10892 (leaveGroup): New abstract method.
10893 * java/net/InetSocketAddress.java
10894 (InetSocketAddress): Documentation added.
10895 (equals): final keyword added.
10896 (getAddress): final keyword added.
10897 (getHostName): final keyword added.
10898 (getPort): final keyword added.
10899 (hashCode): final keyword added.
10900 (isUnresolved): final keyword added.
10901 * java/net/MulticastSocket.java
10902 (MulticastSocket): Documentation added.
10903 (MulticastSocket): New method.
10904 (joinGroup): Documentation added.
10905 (joinGroup): New method.
10906 (leaveGroup): Documentation added.
10907 (leaveGroup): New method.
10908 (send): Documentation added.
10909 * java/net/NetworkInterface.java
10910 (getByName): Documentation added.
10911 (getByInetAddress): Documentation added.
10912 (getNetworkInterfaces): Documentation added.
10913 * java/net/PlainDatagramSocketImpl.java
10914 (connect): New method.
10915 (disconnect): New method.
10916 * java/net/SocketImpl.java
10917 (create): Documentation added.
10918 (shutdownInput): Convert public to protected, as it always was.
10919 (shutdownOutput): Convert public to protected, as it always was.
10920 * java/net/SocketOptions.java
10921 (whole file): Reintented.
10922 * java/net/URLClassLoader.java
10923 (URLClassLoader): SecurityManager check added, documentation added.
10924 (findResources): Documentation added.
10925 (findClass): Documentation added.
10926 (newInstance): More correct method arguments.
10927 * java/net/URLConnection.java
10928 (connect): Documentation added.
10929 (getContent): Documentation added.
10930 (getPermission): Documentation added.
10931 (getInputStream): Documentation added.
10932 (getOutputStream): Documentation added.
10933 (setDoInput): Throw correct exception, documentation added.
10934 (setDoOutput): Throw correct exception, documentation added.
10935 (setAllowUserInteraction): Throw correct exception, documentation added.
10936 (setUseCaches): Throw correct exception, documentation added.
10937 (setIfModifiedSince): Throw correct exception, documentation added.
10938 (setRequestProperty): Throw exception, documentation added.
10939 (addRequestProperty): Throw exception, documentation added.
10940 (getRequestProperty): Throw exception, documentation added.
10941 (getRequestProperties): Documentation added.
10942 (setContentHandlerFactory): Documentation added.
10943 (guessContentTypeFromName): protected to public.
10944 (setFileNameMap): Documentation added.
10945 * java/net/URLDecoder.java
10946 (URLDecoder): New method.
10947 (decode): Documentation added.
10948 (whole file): Reindented.
10949 * java/net/URLEncoder.java
10950 (encode): Documentation added.
10951 * java/net/natPlainDatagramSocketImpl.cc
10952 (connect): New method.
10953 (disconnect): New method.
10954 * javax/naming/RefAddr:
10955 (addrType): addrType was never final.
10956 (equals): Fix typo in method name.
10957 * javax/naming/BinaryRefAddr:
10958 (equals): Fix typo in method name.
10960 2002-09-22 Tom Tromey <tromey@redhat.com>
10962 Fix for PR libgcj/6576:
10963 * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
10964 didn't find a given bundle.
10965 (getBundle): Don't require base bundle.
10966 (setParent): Removed old comment.
10967 (tryLocalBundle): Try components even if preceding components were
10970 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10972 * Makefile.am (all-multi): Fix multilib parallel build.
10974 2002-09-21 Michael Koch <konqueror@gmx.de>
10976 * java/net/Socket.java
10977 (sendUrgentData): New method.
10978 (getChannel): New method.
10979 * java/net/ServerSocket.java
10980 (getChannel): New method.
10981 (isBound): New method.
10982 * java/net/DatagramSocket.java
10983 (DatagramSocket): Two new methods.
10984 (bind): New method.
10985 (getChannel): New method.
10986 (isBound): New method.
10987 (send): Added newline to to make shorter lines.
10988 * java/net/PlainDatagramSocketImpl.java
10989 (mcastGrp): Added argument.
10990 (join): Use new mcastGrp.
10991 (leave): Use new mcastGrp.
10992 (joinGroup): New method.
10993 (leaveGroup): New method.
10994 * java/net/natPlainDatagramSocketImpl.cc
10995 (mcastGrp): Added argument, no yet really implemented.
10996 (getOption): Added newline for shorter lines.
10997 * java/net/natPlainSocketImpl.cc
10998 (read, setOption, getOption): Added newline for shorter lines.
11000 2002-09-19 Tom Tromey <tromey@redhat.com>
11002 * java/lang/ClassLoader.java (resolveClass0): Set cause for
11003 newly-created exception.
11005 2002-09-18 Michael Koch <konqueror@gmx.de>
11007 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
11008 java/util/regex/PatternSyntaxException.java:
11009 Merge with classpath, new files.
11010 * Makefile.am (core_java_source_files):
11011 Added java/util/regex/Matcher.java,
11012 java/util/regex/Pattern.java,
11013 java/util/regex/PatternSyntaxException.java
11014 * Makefile.in: Regenerated.
11015 * include/config.h.in: Added HAVE_NET_IF_H.
11016 * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
11017 Removed #if 0 ... #endif.
11019 2002-09-17 Michael Koch <konqueror@gmx.de>
11021 * java/net/natNetworkInterface.cc:
11022 Removed unneed and yet wrong includes.
11024 2002-09-17 Michael Koch <konqueror@gmx.de>
11026 * java/net/NetworkInterface.java: New file.
11027 * java/net/natNetworkInterface.java: New file.
11028 * configure.in: Added check for net/if.h.
11029 * configure: Regenerated.
11031 (ordinary_java_source_files): Added NetworkInterface.java.
11032 (nat_source_files): Added natNetworkInterface.cc.
11033 * Makefile.in: Regenerated.
11035 2002-09-16 Tom Tromey <tromey@redhat.com>
11037 * java/net/URLClassLoader.java (findClass): Code source for a
11038 class from a jar is not necessarily a jar: URL.
11040 2002-09-16 Michael Koch <konqueror@gmx.de>
11042 * java/lang/AssertionError.java:
11043 Merge with classpath, fixes HTML.
11044 * java/rmi/server/LogStream.java:
11045 Merge with classpath, fixes some constants.
11046 * java/net/server/RemoteServer.java:
11047 Merge with classpath, adds serialVersionUID.
11048 * javax/naming/BinaryRefAddr.java:
11049 Merge with classpath, s/equal/equals/.
11050 * javax/naming/NamingException.java:
11051 Merge with classpath, fixed typo.
11052 * javax/naming/RefAddr.java:
11053 Merge with classpath, s/equal/equals/.
11054 * java/awt/Toolkit.java:
11055 s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
11058 2002-09-15 Adam Megacz <adam@xwt.org>
11060 * java/net/natPlainSocketImpl.cc: fixed typo.
11062 2002-09-15 Adam Megacz <adam@xwt.org>
11064 * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
11065 which don't work on Win32 (yet).
11067 2002-09-14 Adam Megacz <adam@xwt.org>
11069 * java/net/natPlainDatagramSocket.cc: removed #include
11070 <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
11071 * include/win32.h: included definition for IP_TOS to satisfy
11072 natPlainDatagramSocket.cc
11074 2002-09-13 Michael Koch <konqueror@gmx.de>
11076 * java/net/DatagramPacket.java (DatagramPacket):
11077 Added linebreak for 80 chars per line.
11078 * java/net/JarURLConection.java
11079 (getInputStreami, getJarEntry): Likewise.
11080 * java/net/SocketPErmission.java
11081 (SocketPermission class docu, implies): Likewise.
11082 * java/net/URLClassLoader.java (findResources): Likewise.
11083 * java/net/URLConnection.java: Reindendet remark for 80 chars per line
11085 2002-09-13 Michael Koch <konqueror@gmx.de>
11087 * java/nio/channels/DatagramChannel.java,
11088 java/nio/channels/ServerSocketChannel.java
11089 java/nio/channels/SocketChannel.java:
11090 New dummy files to make java.net fully JDK 1.4 compatible
11091 * Makefile.am (ordinary_java_source_files): Added
11092 java/net/DatagramSocketImplFactory.java (long forgotten),
11093 java/nio/SocketChannel.java,
11094 java/nio/ServerSocketChannel.java,
11095 java/nio/DatagramChannel.java
11096 * Makefile.in: Regenrated.
11098 2002-09-12 Michael Koch <konqueror@gmx.de>
11100 * java/net/DatagramSocketImpl.java
11101 (peekData): New method.
11102 * java/net/PlainDatagramSocketImpl.java
11103 (peekData): New method.
11104 * java/net/natPlainDatagramSocketImpl.cc
11105 (peekData): New method.
11106 * java/net/URLConnection
11107 (getPermission): New method.
11108 (addRequestProperty): New method.
11109 (getRequestProperties): New method.
11110 (guessContentTypeFromStream): New method, not really implemented.
11111 (URLConnection): Added/updated documentation.
11112 (connect): Added/updated documentation.
11113 (getURL): Added/updated documentation.
11114 (getContentLength): Added/updated documentation.
11115 (getContentType: Added/updated documentation.
11116 (getContentEncoding): Added/updated documentation.
11117 (getExpiration): Added/updated documentation.
11118 (getDate): Added/updated documentation.
11119 (getLastModified): Added/updated documentation.
11120 (getHeaderField): Added/updated documentation.
11121 (getHeaderFields): Added/updated documentation.
11122 (getHeaderFieldInt): Added/updated documentation.
11123 (getHeaderFieldDate): Added/updated documentation.
11124 (getHeaderFieldKey): Added/updated documentation.
11125 (getContent): Added/updated documentation.
11126 (getInputStream): Added/updated documentation.
11127 (getOutputStream): Added/updated documentation.
11128 (toString): Added/updated documentation.
11129 (setDoInput): Added/updated documentation.
11130 (getDoInput): Added/updated documentation.
11131 (setDoOutput): Added/updated documentation.
11132 (getDoOutput): Added/updated documentation.
11133 (setAllowUserInteraction): Added/updated documentation.
11134 (getAllowUserInteraction): Added/updated documentation.
11135 (setDefaultAllowUserInteraction): Added/updated documentation.
11136 (getDefaultAllowUserInteraction): Added/updated documentation.
11137 (setUseCaches): Added/updated documentation.
11138 (getUseCaches): Added/updated documentation.
11139 (setIfModifiedSince): Added/updated documentation.
11140 (getIfModifiedSince): Added/updated documentation.
11141 (getDefaultUseCaches): Added/updated documentation.
11142 (setDefaultUseCaches): Added/updated documentation.
11143 (setRequestProperty): Added/updated documentation.
11144 (getRequestProperty): Added/updated documentation.
11145 (setDefaultRequestProperty): Added/updated documentation.
11146 (getDefaultRequestProperty): Added/updated documentation.
11147 (setContentHandlerFactory): Added/updated documentation.
11148 (guessContentTypeFromName): Added/updated documentation.
11149 (getFileNameMap): Added/updated documentation.
11150 (setFileNameMap): Added/updated documentation.
11152 2002-09-11 Michael Koch <konqueror@gmx.de>
11154 * java/net/Socket.java
11155 (Socket): protected to public (since JDK 1.4). Added @specnote.
11156 (bind): New method.
11157 (connect): Two new methods.
11158 (getKeepalive): Get correct socket option.
11159 (setKeepalive): Set correct socket option.
11160 (getOOBInline): New method.
11161 (setOOBInline): New method.
11162 * java/net/ServerSocket.java
11163 (bind): Two new methods.
11164 (getInetAddress): Reimplemented, catch exception.
11165 (getLocalSocketAddress): New method.
11166 (setReuseAddress): New method.
11167 (getReuseAdress): New method.
11168 (setReceiveBufferSize): New method.
11169 (getReceiveBufferSize): New method.
11170 (toString): Made string JDK 1.4 compliant.
11172 2002-09-10 Michael Koch <konqueror@gmx.de>
11174 * java/net/SocketImpl.java
11175 (connect): New method.
11176 (supportsUrgentData): New method.
11177 (sendUrgentData): New method.
11178 * java/net/PlainSocketImpl.java
11179 (connect): One new method and two new implementation.
11180 (sendUrgentData): New method.
11181 * java/natPlainSocketImpl.cc
11182 (connect): Arguments changed, added support for timeouts.
11183 (getOption): Another __java_boolean to jboolean.
11185 2002-09-07 Adam Megacz <adam@xwt.org>
11187 * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
11188 definition of IP_TOS.
11190 2002-09-04 Michael Koch <konqueror@gmx.de>
11192 * java/net/DatagramSocket.java
11193 (DatagramSocket): Added documentation.
11195 (getLocalAddress): Likewise.
11196 (getLocalPort): Likewise.
11197 (receive): Likewise.
11199 (setSoTimeout): Likewise.
11200 (connect): New method.
11201 (disconnect): New method.
11202 (getInetAddress): New method (FIXME)
11203 (getPort): New method.
11204 (setReuseAddress): New method.
11205 (getReuseAddress): New method.
11206 (setBroadcast): New method.
11207 (getBroadcast): New method.
11208 (setTrafficClass): New method.
11209 (getTrafficClass): New method.
11210 * java/net/MulticastSocket.java):
11211 (getTTL): Added @see in documentation.
11212 (setTTL): Added @see in documentation.
11213 (setLoopbackMode): New method.
11214 (getLoopbackMode): New method.
11215 * java/net/PlainSocketImpl.java:
11216 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
11217 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
11218 * java/net/PlainDatagramSocketImpl.java
11219 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
11220 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
11221 * java/net/natPlainSocketImpl.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
11226 This should also fix SO_KEEPALIVE
11227 * java/net/natPlainDatagramSocketImpl.cc
11228 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
11229 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
11230 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
11231 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
11233 2002-09-04 Michael Koch <konqueror@gmx.de>
11235 * java/net/SocketOptions.java: added static variables to be JDK 1.4
11236 compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
11237 IP_MULTICAST_LOOP, IP_TOS
11239 2002-09-03 Tom Tromey <tromey@redhat.com>
11241 * java/lang/Class.h (_getDeclaredMethod): Declare.
11242 (_getMethod): Now private.
11243 * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
11244 getDeclaredMethod. Now returns NULL on failure.
11245 * java/lang/Class.java (_getDeclaredMethod): Declare.
11246 (getDeclaredMethod): No longer native; implements access checks.
11248 2002-09-01 Mark Wielaard <mark@klomp.org>
11250 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
11251 (sanitizeStack): Correctly reset unknown and interpreter counters,
11252 detect interpreter runtime frames.
11253 (demangleInterpreterMethod): New method.
11254 * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
11255 * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
11256 filling in addrs[].
11258 2002-09-02 Michael Koch <konqueror@gmx.de>
11260 * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
11261 re-indented documentation.
11263 2002-08-30 Jesse Rosenstock <jmr@ugcs.caltech.edu>
11265 * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
11266 public, per 1.4 spec. Fixes PR libgcj/7785.
11268 2002-08-30 Jeff Sturm <jsturm@one-point.com>
11270 * Makefile.in: Rebuilt.
11271 * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
11273 2002-08-29 Tom Tromey <tromey@redhat.com>
11275 * java/net/JarURLConnection.java (getCertificates): New method
11277 * java/net/URLClassLoader.java (URLClassLoader): Extends
11279 (definePackage): New method from Classpath.
11280 (getPermissions): Likewise.
11281 (newInstance): Likewise.
11282 (findClass): Construct CodeSource for new class (from Classpath).
11283 * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
11285 * java/net/URL.java (getUserInfo): New method.
11286 (set(String,String,int,String,String,String,String,String)): New
11288 * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
11289 (shutdownInput, shutdownOutput): Declare.
11290 * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
11292 * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
11293 (getOption): Likewise.
11294 (shutdownInput): New method.
11295 (shutdownOutput): Likewise.
11296 * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
11298 (getOption): Likewise.
11299 * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
11300 * java/net/Socket.java (setKeepAlive): New method.
11301 (getKeepAlive): Likewise.
11302 (shutdownInput, shutdownOutput): New methods.
11304 2002-08-29 Michael Koch <konqueror@gmx.de>
11306 * java/net/DatagramPacket.java: updated to JDK 1.4 API
11308 DatagramPacket(byte[] buf, int offset, int length, SocketAddress
11310 DatagramPacket(byte[] buf, int length, SocketAddress address),
11311 void setSocketAddress(SocketAddress address)
11312 public SocketAddress getSocketAddress()
11314 2002-08-29 Tom Tromey <tromey@redhat.com>
11316 * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
11317 ftruncate is missing.
11318 * configure, include/config.h.in: Rebuilt.
11319 * acconfig.h (HAVE_FTRUNCATE): Mention.
11320 * configure.in: Check for ftruncate.
11322 2002-08-29 Tom Tromey <tromey@redhat.com>
11324 * include/jvm.h (struct _Jv_frame_info): New structure.
11325 * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
11327 (lookupInterp): New method.
11328 (getAddrAsString): Use _Jv_frame_info.
11329 (dladdrLookup): Likewise.
11330 * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
11332 (lookupInterp): Declare.
11333 * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
11334 (fillInStackTrace): Collect information on interpreted frames.
11335 Use _Jv_frame_info.
11336 * interpret.cc: Include Thread.h.
11337 (run): Create and push _Jv_MethodChain object.
11338 (_Jv_EndOfInterpreter): New global.
11339 * java/lang/Thread.java (interp_frame): New field.
11340 * include/java-interp.h (struct _Jv_MethodChain): New structure.
11341 Include NameFinder.h.
11343 2002-08-28 Tom Tromey <tromey@redhat.com>
11345 * java/lang/Class.h: Include Package.h.
11346 (Class::getProtectionDomain): Declare.
11347 (Class::getPackage): Declare.
11349 2002-08-28 Michael Koch <konqueror@gmx.de>
11351 * java/net/InetSocketAddress.java: Added some documentation and argument
11352 checks for the port numbers.
11353 * java/net/DatagramSocketImplFactory.java: New file.
11355 2002-08-28 Michael Koch <konqueror@gmx.de>
11357 * java/net/Authenticator.java: added some documentation.
11359 2002-08-27 Tom Tromey <tromey@redhat.com>
11361 * java/lang/reflect/natConstructor.cc (newInstance): Initialize
11363 * java/lang/reflect/natMethod.cc (invoke): Initialize class.
11365 2002-08-27 Michael Koch <konqueror@gmx.de>
11367 * java/net/BindException.java,
11368 java/net/JarURLConnection.java,
11369 java/net/FileNameMap.java,
11370 java/net/HttpURLConnection.java,
11371 java/net/InetSocketAddress.java,
11372 java/net/DatagramPacket.java,
11373 java/net/DatagramSocket.java,
11374 java/net/DatagramSocketImpl.java,
11375 java/net/MulticastSocket.java,
11376 java/net/PasswordAuthentication.java,
11377 java/net/ServerSocket.java,
11378 java/net/Socket.java,
11379 java/net/URLClassLoader.java,
11380 java/net/URLConnection.java: add/update of some @since/@deprecated
11382 2002-08-27 Tony Kimball <alk@pobox.com>
11383 Tom Tromey <tromey@redhat.com>
11385 * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
11387 (::close): Removed.
11388 (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
11389 * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
11390 (::close): Removed.
11391 (PlainSocketImpl::close): Use NATIVE_CLOSE.
11392 * include/win32.h (getcwd): Removed declaration. Include io.h.
11394 2002-08-25 Adam Megacz <adam@xwt.org>
11396 * include/win32.h (getcwd): copied function declaration as
11397 temporary fix for header confusion.
11399 2002-08-24 Mark Wielaard <mark@klomp.org>
11401 * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
11402 (core_java_source_files): Add VMThrowable.java and NameFinder.java
11403 (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
11404 and natNameFinder.cc.
11405 * Makefile.in: Regenerate.
11406 * prims.cc: Use trace_enabled from VMThrowable.
11407 * name-finder.cc: Removed.
11408 * gcj/javaprims.h: Add class VMThrowable.
11409 * gnu/gcj/runtime/NameFinder.java: New file.
11410 * gnu/gcj/runtime/natNameFinder.cc: Likewise.
11411 * include/name-finder.h: Removed.
11412 * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
11413 method stackTraceString().
11414 (printStackTrace (PrintWriter)): Likewise.
11415 (stackTraceString): Complete rewrite of old printStackTrace using
11417 (stackTraceStringBuffer): New helper method for stackTraceString().
11418 (fillInStackTrace): Delegate to VMTrowable.
11419 (getStackTrace): Likewise.
11420 (getStackTrace0): Removed.
11421 (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
11422 (setStackTrace): Copy given array.
11423 * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
11424 * java/lang/VMThrowable.java: New class.
11425 * java/lang/natVMThrowable.cc: New file.
11427 2003-08-23 Michael Koch <konqueror@gmx.de>
11429 * java/net/URLConnection.java,
11430 java/netJarURLConnection.java,
11431 gnu/gcj/protocol/core/Connection.java,
11432 gnu/gcj/protocol/file/Connection.java,
11433 gnu/gcj/protocol/http/Connection.java: Added implementation of
11436 2002-08-22 Tom Tromey <tromey@redhat.com>
11438 * gij.cc (help): Document -cp and -classpath.
11439 (main): Handle -classpath.
11441 2002-08-21 Tom Tromey <tromey@redhat.com>
11443 * Makefile.in: Rebuilt.
11444 * Makefile.am (ordinary_java_source_files): Added
11445 SocketAddress.java, InetSocketAddress.java.
11446 * java/net/PortUnreachableException.java: Merged with Classpath.
11447 * java/net/SocketTimeoutException.java: Likewise.
11448 * java/net/URISyntaxException.java: Likewise.
11449 * java/net/SocketAddress.java: New class from Classpath.
11450 * java/net/InetSocketAddress.java: Likewise.
11452 2003-08-21 Michael Koch <konqueror@gmx.de>
11454 * java/net/Authenticator.java: updated JDK 1.4
11455 * java/net/ContentHandler.java: updated JDK 1.4
11457 2002-08-20 Michael Koch <konqueror@gmx.de>
11459 * java/net/URISyntaxException.java: New file.
11460 * java/net/SocketTimeoutException.java: New file.
11461 * java/net/PortUnreachableException.java: New file.
11462 * Makefile.am: Updated.
11463 * Makefile.in: Rebuilt.
11465 2002-08-18 Mark Wielaard <mark@klomp.org>
11467 Thanks to Vladimir Puskas <vpuskas@eunet.yu>
11468 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
11469 MessageDigestSpi (fixes Classpath bug #783).
11471 2002-08-14 Jesse Rosenstock <jmr@ugcs.caltech.edu>
11473 * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
11474 (startProcess): Allocate path for chdir in async-signal-safe way.
11476 2002-08-13 Jesse Rosenstock <jmr@ugcs.caltech.edu>
11478 Fix for PR libgcj/7570 and PR libgcj/7578:
11479 * java/lang/natPosixProcess.cc: Include java/io/File.h.
11480 (startProcess): Handle new `dir' argument.
11481 * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
11483 * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
11485 (startProcess): Likewise.
11486 * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
11488 * java/lang/Runtime.java (execInternal): Added `dir' argument.
11489 (exec): Don't create new environment if ENV==null. Pass DIR to
11491 * java/lang/natRuntime.cc: Include java/io/File.h.
11492 (execInternal): Added `dir' argument.
11494 2002-08-13 Jesse Rosenstock <jmr@fulcrummicro.com>
11496 * java/io/RandomAccessFile.java (skipBytes): Return number of
11499 2002-08-01 Mark Wielaard <mark@klomp.org>
11501 Reenable patch since shared library troubles on powerpc are solved:
11502 * gnu/java/security/provider/Gnu.java: Reference all implementation
11503 classes by using Class.getName().
11504 * gnu/java/security/der/DEREncodingException.java,
11505 gnu/java/security/provider/DERReader.java,
11506 gnu/java/security/provider/DERWriter.java,
11507 gnu/java/security/provider/DSAKeyPairGenerator.java,
11508 gnu/java/security/provider/DSAParameterGenerator.java,
11509 gnu/java/security/provider/DSAParameters.java,
11510 gnu/java/security/provider/DSASignature.java,
11511 gnu/java/security/provider/GnuDSAPrivateKey.java,
11512 gnu/java/security/provider/GnuDSAPublicKey.java,
11513 gnu/java/security/provider/MD5.java,
11514 gnu/java/security/util/Prime.java: New classes
11515 * Makefile.am (ordinary_java_source_files): Add above files.
11516 * Makefile.in: Regenerate.
11517 * gnu/java/security/provider/DefaultPolicy.java
11518 (getPermissions): Don't maintain static class variable of Permissions.
11519 * gnu/java/security/provider/SHA.java
11520 (engineUpdate): algorithm change.
11521 (engineDigest): algorithm change.
11523 2002-08-09 Mark Wielaard <mark@klomp.org>
11525 * java/awt/image/MemoryImageSource.java: Change constructor to take
11527 * java/awt/Graphics2D.java: Uncomment methods that can now be
11529 * java/awt/GridBagLayout.java: New stub implementation.
11530 * javax/swing/text/html/HTML.java: Stub implementation.
11531 * javax/swing/text/html/parser/ParserDelegator.java: New stub
11534 * Makefile.am: Add new files.
11535 * Makefile.in: Rebuilt.
11537 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11539 * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
11540 methods in Graphics2D.
11542 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11544 AWT/Swing merge from GNU Classpath.
11546 * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
11547 java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
11548 java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
11549 java/awt/color/ProfileDataException.java,
11550 java/awt/CompositeContext.java, java/awt/Composite.java,
11551 java/awt/ContainerOrderFocusTraversalPolicy.java,
11552 java/awt/datatransfer/FlavorTable.java,
11553 java/awt/DefaultFocusTraversalPolicy.java,
11554 java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
11555 java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
11556 java/awt/dnd/DragGestureListener.java,
11557 java/awt/dnd/DragGestureRecognizer.java,
11558 java/awt/dnd/DragSourceAdapter.java,
11559 java/awt/dnd/DragSourceContext.java,
11560 java/awt/dnd/DragSourceDragEvent.java,
11561 java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
11562 java/awt/dnd/DragSourceListener.java,
11563 java/awt/dnd/DragSourceMotionListener.java,
11564 java/awt/dnd/DropTarget.java,
11565 java/awt/dnd/InvalidDnDOperationException.java,
11566 java/awt/dnd/peer/DragSourceContextPeer.java,
11567 java/awt/event/AWTEventListenerProxy.java,
11568 java/awt/event/MouseWheelEvent.java,
11569 java/awt/event/MouseWheelListener.java,
11570 java/awt/event/WindowFocusListener.java,
11571 java/awt/event/WindowStateListener.java,
11572 java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
11573 java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
11574 java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
11575 java/awt/geom/FlatteningPathIterator.java,
11576 java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
11577 java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
11578 java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
11579 java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
11580 java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
11581 java/awt/image/ImagingOpException.java,
11582 java/awt/image/RasterFormatException.java,
11583 java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
11584 java/awt/image/VolatileImage.java,
11585 java/awt/image/WritableRenderedImage.java,
11586 java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
11587 java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
11588 java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
11589 java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
11590 java/awt/PageAttributes.java, java/awt/print/Book.java,
11591 java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
11592 java/awt/print/Paper.java, java/awt/print/Printable.java,
11593 java/awt/print/PrinterAbortException.java,
11594 java/awt/print/PrinterException.java,
11595 java/awt/print/PrinterGraphics.java,
11596 java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
11597 java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
11598 java/awt/Stroke.java, java/awt/TexturePaint.java,
11599 javax/accessibility/AccessibleAction.java,
11600 javax/accessibility/AccessibleBundle.java,
11601 javax/accessibility/AccessibleComponent.java,
11602 javax/accessibility/AccessibleContext.java,
11603 javax/accessibility/AccessibleEditableText.java,
11604 javax/accessibility/AccessibleExtendedComponent.java,
11605 javax/accessibility/AccessibleExtendedTable.java,
11606 javax/accessibility/AccessibleHyperlink.java,
11607 javax/accessibility/AccessibleHypertext.java,
11608 javax/accessibility/AccessibleIcon.java,
11609 javax/accessibility/Accessible.java,
11610 javax/accessibility/AccessibleKeyBinding.java,
11611 javax/accessibility/AccessibleRelation.java,
11612 javax/accessibility/AccessibleRelationSet.java,
11613 javax/accessibility/AccessibleResourceBundle.java,
11614 javax/accessibility/AccessibleRole.java,
11615 javax/accessibility/AccessibleSelection.java,
11616 javax/accessibility/AccessibleState.java,
11617 javax/accessibility/AccessibleStateSet.java,
11618 javax/accessibility/AccessibleTable.java,
11619 javax/accessibility/AccessibleTableModelChange.java,
11620 javax/accessibility/AccessibleText.java,
11621 javax/accessibility/AccessibleValue.java,
11622 javax/swing/AbstractAction.java,
11623 javax/swing/AbstractButton.java,
11624 javax/swing/AbstractCellEditor.java,
11625 javax/swing/AbstractListModel.java,
11626 javax/swing/AbstractSet.java, javax/swing/Action.java,
11627 javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
11628 javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
11629 javax/swing/border/CompoundBorder.java,
11630 javax/swing/border/EmptyBorder.java,
11631 javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
11632 javax/swing/border/LineBorder.java,
11633 javax/swing/border/MatteBorder.java,
11634 javax/swing/border/TitledBorder.java,
11635 javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
11636 javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
11637 javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
11638 javax/swing/CellRendererPane.java,
11639 javax/swing/colorchooser/AbstractColorChooserPanel.java,
11640 javax/swing/colorchooser/ColorChooserComponentFactory.java,
11641 javax/swing/colorchooser/ColorSelectionModel.java,
11642 javax/swing/colorchooser/DefaultColorSelectionModel.java,
11643 javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
11644 javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
11645 javax/swing/DefaultBoundedRangeModel.java,
11646 javax/swing/DefaultButtonModel.java,
11647 javax/swing/DefaultCellEditor.java,
11648 javax/swing/DefaultCellRenderer.java,
11649 javax/swing/DefaultComboBoxModel.java,
11650 javax/swing/DefaultDesktopManager.java,
11651 javax/swing/DefaultFocusManager.java,
11652 javax/swing/DefaultListCellRenderer.java,
11653 javax/swing/DefaultListModel.java,
11654 javax/swing/DefaultListSelectionModel.java,
11655 javax/swing/DefaultSingleSelectionModel.java,
11656 javax/swing/DesktopManager.java,
11657 javax/swing/event/AncestorEvent.java,
11658 javax/swing/event/AncestorListener.java,
11659 javax/swing/event/CaretEvent.java,
11660 javax/swing/event/CaretListener.java,
11661 javax/swing/event/CellEditorListener.java,
11662 javax/swing/event/ChangeEvent.java,
11663 javax/swing/event/ChangeListener.java,
11664 javax/swing/event/DocumentEvent.java,
11665 javax/swing/event/DocumentListener.java,
11666 javax/swing/event/EventListenerList.java,
11667 javax/swing/event/HyperlinkEvent.java,
11668 javax/swing/event/HyperlinkListener.java,
11669 javax/swing/event/InternalFrameAdapter.java,
11670 javax/swing/event/InternalFrameEvent.java,
11671 javax/swing/event/InternalFrameListener.java,
11672 javax/swing/event/ListDataEvent.java,
11673 javax/swing/event/ListDataListener.java,
11674 javax/swing/event/ListSelectionEvent.java,
11675 javax/swing/event/ListSelectionListener.java,
11676 javax/swing/event/MenuDragMouseEvent.java,
11677 javax/swing/event/MenuDragMouseListener.java,
11678 javax/swing/event/MenuEvent.java,
11679 javax/swing/event/MenuKeyEvent.java,
11680 javax/swing/event/MenuKeyListener.java,
11681 javax/swing/event/MenuListener.java,
11682 javax/swing/event/MouseInputAdapter.java,
11683 javax/swing/event/MouseInputListener.java,
11684 javax/swing/event/PopupMenuEvent.java,
11685 javax/swing/event/PopupMenuListener.java,
11686 javax/swing/event/SwingPropertyChangeSupport.java,
11687 javax/swing/event/TableColumnModelEvent.java,
11688 javax/swing/event/TableColumnModelListener.java,
11689 javax/swing/event/TableModelEvent.java,
11690 javax/swing/event/TableModelListener.java,
11691 javax/swing/event/TreeExpansionEvent.java,
11692 javax/swing/event/TreeExpansionListener.java,
11693 javax/swing/event/TreeModelEvent.java,
11694 javax/swing/event/TreeModelListener.java,
11695 javax/swing/event/TreeSelectionEvent.java,
11696 javax/swing/event/TreeSelectionListener.java,
11697 javax/swing/event/TreeWillExpandListener.java,
11698 javax/swing/event/UndoableEditEvent.java,
11699 javax/swing/event/UndoableEditListener.java,
11700 javax/swing/filechooser/FileFilter.java,
11701 javax/swing/filechooser/FileSystemView.java,
11702 javax/swing/filechooser/FileView.java,
11703 javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
11704 javax/swing/Icon.java, javax/swing/ImageIcon.java,
11705 javax/swing/InputMap.java, javax/swing/InputVerifier.java,
11706 javax/swing/JApplet.java, javax/swing/JButton.java,
11707 javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
11708 javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
11709 javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
11710 javax/swing/JDialog.java, javax/swing/JEditorPane.java,
11711 javax/swing/JFileChooser.java, javax/swing/JFrame.java,
11712 javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
11713 javax/swing/JLayeredPane.java, javax/swing/JList.java,
11714 javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
11715 javax/swing/JMenu.java, javax/swing/JOptionPane.java,
11716 javax/swing/JPanel.java, javax/swing/JPasswordField.java,
11717 javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
11718 javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
11719 javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
11720 javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
11721 javax/swing/JSlider.java, javax/swing/JSplitPane.java,
11722 javax/swing/JTabbedPane.java, javax/swing/JTable.java,
11723 javax/swing/JTextField.java, javax/swing/JTextPane.java,
11724 javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
11725 javax/swing/JToolTip.java, javax/swing/JTree.java,
11726 javax/swing/JViewport.java, javax/swing/JWindow.java,
11727 javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
11728 javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
11729 javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
11730 javax/swing/MenuSelectionManager.java,
11731 javax/swing/MutableComboBoxModel.java,
11732 javax/swing/OverlayLayout.java,
11733 javax/swing/plaf/ActionMapUIResource.java,
11734 javax/swing/plaf/basic/BasicBorders.java,
11735 javax/swing/plaf/basic/BasicButtonUI.java,
11736 javax/swing/plaf/basic/BasicCheckBoxUI.java,
11737 javax/swing/plaf/basic/BasicDefaults.java,
11738 javax/swing/plaf/basic/BasicGraphicsUtils.java,
11739 javax/swing/plaf/basic/BasicIconFactory.java,
11740 javax/swing/plaf/basic/BasicLabelUI.java,
11741 javax/swing/plaf/basic/BasicListUI.java,
11742 javax/swing/plaf/basic/BasicLookAndFeel.java,
11743 javax/swing/plaf/basic/BasicOptionPaneUI.java,
11744 javax/swing/plaf/basic/BasicPanelUI.java,
11745 javax/swing/plaf/basic/BasicRadioButtonUI.java,
11746 javax/swing/plaf/basic/BasicScrollPaneUI.java,
11747 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
11748 javax/swing/plaf/basic/BasicTextUI.java,
11749 javax/swing/plaf/basic/BasicToggleButtonUI.java,
11750 javax/swing/plaf/basic/BasicTreeUI.java,
11751 javax/swing/plaf/basic/BasicViewportUI.java,
11752 javax/swing/plaf/BorderUIResource.java,
11753 javax/swing/plaf/ButtonUI.java,
11754 javax/swing/plaf/ColorChooserUI.java,
11755 javax/swing/plaf/ColorUIResource.java,
11756 javax/swing/plaf/ComboBoxUI.java,
11757 javax/swing/plaf/ComponentInputMapUIResource.java,
11758 javax/swing/plaf/ComponentUI.java,
11759 javax/swing/plaf/DesktopIconUI.java,
11760 javax/swing/plaf/DesktopPaneUI.java,
11761 javax/swing/plaf/DimensionUIResource.java,
11762 javax/swing/plaf/FileChooserUI.java,
11763 javax/swing/plaf/FontUIResource.java,
11764 javax/swing/plaf/IconUIResource.java,
11765 javax/swing/plaf/InputMapUIResource.java,
11766 javax/swing/plaf/InsetsUIResource.java,
11767 javax/swing/plaf/InternalFrameUI.java,
11768 javax/swing/plaf/LabelUI.java,
11769 javax/swing/plaf/ListUI.java,
11770 javax/swing/plaf/MenuBarUI.java,
11771 javax/swing/plaf/MenuItemUI.java,
11772 javax/swing/plaf/OptionPaneUI.java,
11773 javax/swing/plaf/PanelUI.java,
11774 javax/swing/plaf/PopupMenuUI.java,
11775 javax/swing/plaf/ProgressBarUI.java,
11776 javax/swing/plaf/RootPaneUI.java,
11777 javax/swing/plaf/ScrollBarUI.java,
11778 javax/swing/plaf/ScrollPaneUI.java,
11779 javax/swing/plaf/SeparatorUI.java,
11780 javax/swing/plaf/SliderUI.java,
11781 javax/swing/plaf/SplitPaneUI.java,
11782 javax/swing/plaf/TabbedPaneUI.java,
11783 javax/swing/plaf/TableHeaderUI.java,
11784 javax/swing/plaf/TableUI.java,
11785 javax/swing/plaf/TextUI.java,
11786 javax/swing/plaf/ToolBarUI.java,
11787 javax/swing/plaf/ToolTipUI.java,
11788 javax/swing/plaf/TreeUI.java,
11789 javax/swing/plaf/UIResource.java,
11790 javax/swing/plaf/ViewportUI.java,
11791 javax/swing/ProgressMonitorInputStream.java,
11792 javax/swing/ProgressMonitor.java,
11793 javax/swing/Renderer.java,
11794 javax/swing/RepaintManager.java,
11795 javax/swing/RootPaneContainer.java,
11796 javax/swing/Scrollable.java,
11797 javax/swing/ScrollPaneConstants.java,
11798 javax/swing/ScrollPaneLayout.java,
11799 javax/swing/SingleSelectionModel.java,
11800 javax/swing/SizeRequirements.java,
11801 javax/swing/SizeSequence.java,
11802 javax/swing/SwingConstants.java,
11803 javax/swing/SwingUtilities.java,
11804 javax/swing/table/AbstractTableModel.java,
11805 javax/swing/table/DefaultTableCellRenderer.java,
11806 javax/swing/table/DefaultTableColumnModel.java,
11807 javax/swing/table/DefaultTableModel.java,
11808 javax/swing/table/TableCellEditor.java,
11809 javax/swing/table/TableCellRenderer.java,
11810 javax/swing/table/TableColumn.java,
11811 javax/swing/table/TableColumnModel.java,
11812 javax/swing/table/TableModel.java,
11813 javax/swing/text/AbstractDocument.java,
11814 javax/swing/text/AttributeSet.java,
11815 javax/swing/text/BadLocationException.java,
11816 javax/swing/text/Caret.java,
11817 javax/swing/text/CharacterIterator.java,
11818 javax/swing/text/ComponentView.java,
11819 javax/swing/text/DefaultCaret.java,
11820 javax/swing/text/DefaultEditorKit.java,
11821 javax/swing/text/Document.java,
11822 javax/swing/text/EditorKit.java,
11823 javax/swing/text/Element.java,
11824 javax/swing/text/GapContent.java,
11825 javax/swing/text/JTextComponent.java,
11826 javax/swing/text/Keymap.java,
11827 javax/swing/text/MutableAttributeSet.java,
11828 javax/swing/text/PlainDocument.java,
11829 javax/swing/text/PlainEditorKit.java,
11830 javax/swing/text/Position.java,
11831 javax/swing/text/Segment.java,
11832 javax/swing/text/StyledDocument.java,
11833 javax/swing/text/StyledEditorKit.java,
11834 javax/swing/text/Style.java,
11835 javax/swing/text/TextAction.java,
11836 javax/swing/text/ViewFactory.java,
11837 javax/swing/text/View.java,
11838 javax/swing/Timer.java,
11839 javax/swing/ToggleButtonModel.java,
11840 javax/swing/ToolTipManager.java,
11841 javax/swing/tree/AbstractLayoutCache.java,
11842 javax/swing/tree/DefaultMutableTreeNode.java,
11843 javax/swing/tree/DefaultTreeCellEditor.java,
11844 javax/swing/tree/DefaultTreeCellRenderer.java,
11845 javax/swing/tree/DefaultTreeModel.java,
11846 javax/swing/tree/DefaultTreeSelectionModel.java,
11847 javax/swing/tree/ExpandVetoException.java,
11848 javax/swing/tree/FixedHeightLayoutCache.java,
11849 javax/swing/tree/MutableTreeNode.java,
11850 javax/swing/tree/RowMapper.java,
11851 javax/swing/tree/TreeCellEditor.java,
11852 javax/swing/tree/TreeCellRenderer.java,
11853 javax/swing/tree/TreeModel.java,
11854 javax/swing/tree/TreeNode.java,
11855 javax/swing/tree/TreePath.java,
11856 javax/swing/tree/TreeSelectionModel.java,
11857 javax/swing/tree/VariableHeightLayoutCache.java,
11858 javax/swing/UIDefaults.java,
11859 javax/swing/UIManager.java,
11860 javax/swing/undo/AbstractUndoableEdit.java,
11861 javax/swing/undo/CannotRedoException.java,
11862 javax/swing/undo/CannotUndoException.java,
11863 javax/swing/undo/CompoundEdit.java,
11864 javax/swing/undo/StateEditable.java,
11865 javax/swing/undo/StateEdit.java,
11866 javax/swing/undo/UndoableEdit.java,
11867 javax/swing/undo/UndoableEditSupport.java,
11868 javax/swing/undo/UndoManager.java,
11869 javax/swing/UnsupportedLookAndFeelException.java,
11870 javax/swing/ViewportLayout.java,
11871 javax/swing/WindowConstants.java: New files, from GNU Classpath.
11873 * java/awt/ActiveEvent.java,
11874 java/awt/Adjustable.java, java/awt/AWTError.java,
11875 java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
11876 java/awt/AWTException.java, java/awt/AWTPermission.java,
11877 java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
11878 java/awt/Color.java, java/awt/Component.java,
11879 java/awt/ComponentOrientation.java, java/awt/Container.java,
11880 java/awt/datatransfer/MimeTypeParseException.java,
11881 java/awt/datatransfer/Transferable.java,
11882 java/awt/datatransfer/UnsupportedFlavorException.java,
11883 java/awt/Dimension.java, java/awt/event/ActionEvent.java,
11884 java/awt/event/ActionListener.java,
11885 java/awt/event/AdjustmentEvent.java,
11886 java/awt/event/AdjustmentListener.java,
11887 java/awt/event/AWTEventListener.java,
11888 java/awt/event/ComponentAdapter.java,
11889 java/awt/event/ComponentEvent.java,
11890 java/awt/event/ComponentListener.java,
11891 java/awt/event/ContainerAdapter.java,
11892 java/awt/event/ContainerEvent.java,
11893 java/awt/event/ContainerListener.java,
11894 java/awt/event/FocusAdapter.java,
11895 java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
11896 java/awt/event/HierarchyBoundsAdapter.java,
11897 java/awt/event/HierarchyBoundsListener.java,
11898 java/awt/event/HierarchyEvent.java,
11899 java/awt/event/HierarchyListener.java,
11900 java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
11901 java/awt/event/InputMethodListener.java,
11902 java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
11903 java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
11904 java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
11905 java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
11906 java/awt/event/MouseListener.java,
11907 java/awt/event/MouseMotionAdapter.java,
11908 java/awt/event/MouseMotionListener.java,
11909 java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
11910 java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
11911 java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
11912 java/awt/event/WindowListener.java, java/awt/Font.java,
11913 java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
11914 java/awt/geom/Ellipse2D.java,
11915 java/awt/geom/IllegalPathStateException.java,
11916 java/awt/geom/Line2D.java,
11917 java/awt/geom/NoninvertibleTransformException.java,
11918 java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
11919 java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
11920 java/awt/geom/RoundRectangle2D.java,
11921 java/awt/GraphicsConfiguration.java,
11922 java/awt/IllegalComponentStateException.java,
11923 java/awt/image/IndexColorModel.java,
11924 java/awt/Image.java, java/awt/image/MemoryImageSource.java,
11925 java/awt/image/PixelGrabber.java, java/awt/Insets.java,
11926 java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
11927 java/awt/LayoutManager.java, java/awt/MenuContainer.java,
11928 java/awt/MenuItem.java, java/awt/PaintContext.java,
11929 java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
11930 java/awt/Polygon.java, java/awt/PrintGraphics.java,
11931 java/awt/PrintJob.java, java/awt/Rectangle.java,
11932 java/awt/RenderingHints.java, java/awt/ScrollPane.java,
11933 java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
11934 java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
11936 * java/awt/im/spi/InputMethod.java,
11937 java/awt/im/spi/InputMethodContext.java,
11938 java/awt/im/spi/InputMethodDescriptor.java,
11939 java/awt/image/renderable/ContextualRenderedImageFactory.java,
11940 java/awt/image/renderable/ParameterBlock.java,
11941 java/awt/image/renderable/RenderContext.java,
11942 java/awt/image/renderable/RenderableImage.java,
11943 java/awt/image/renderable/RenderableImageOp.java,
11944 java/awt/image/renderable/RenderableImageProducer.java,
11945 java/awt/image/renderable/RenderedImageFactory.java: New files from
11948 * gnu/java/awt/EventModifier.java,
11949 gnu/java/awt/image/ImageDecoder.java,
11950 gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
11952 * gnu/awt/xlib/XGraphicsConfiguration.java,
11953 gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
11956 * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
11959 * Makefile.am: Add new files.
11960 * Makefile.in: Rebuilt.
11962 2002-08-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11964 * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
11965 defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
11966 findResource, getResources, findResources): Add javadoc from classpath.
11967 (getSystemResources): Implemented.
11969 2002-08-01 Mark Wielaard <mark@klomp.org>
11971 Revert patch that breaks libgcj shared library on powerpc:
11972 * gnu/java/security/provider/Gnu.java: Reverse referencing all
11973 implementation classes by using Class.getName(). Uses Strings again.
11974 * gnu/java/security/der/DEREncodingException.java,
11975 gnu/java/security/provider/DERReader.java,
11976 gnu/java/security/provider/DERWriter.java,
11977 gnu/java/security/provider/DSAKeyPairGenerator.java,
11978 gnu/java/security/provider/DSAParameterGenerator.java,
11979 gnu/java/security/provider/DSAParameters.java,
11980 gnu/java/security/provider/DSASignature.java,
11981 gnu/java/security/provider/GnuDSAPrivateKey.java,
11982 gnu/java/security/provider/GnuDSAPublicKey.java,
11983 gnu/java/security/provider/MD5.java,
11984 gnu/java/security/util/Prime.java: Removed.
11985 * Makefile.am (ordinary_java_source_files): Remove above files.
11986 * Makefile.in: Regenerate.
11987 * gnu/java/security/provider/DefaultPolicy.java
11988 (getPermissions): Revert to maintaining static class variable of
11990 * gnu/java/security/provider/SHA.java
11991 (engineUpdate): Revert algorithm change.
11992 (engineDigest): Revert algorithm change.
11994 2002-08-01 Kaz Kojima <kkojima@gcc.gnu.org>
11996 * configure.host: Add SH support.
11997 * sysdep/sh/locks.h: New file.
11999 2002-07-31 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12001 * java/awt/Frame.java (Frame): Remove println calls.
12003 2002-07-30 Jeff Sturm <jsturm@one-point.com>
12005 * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
12006 * configure: Rebuilt.
12008 2002-07-27 Alan Modra <amodra@bigpond.net.au>
12010 * sysdep/powerpc/locks.h: Formatting.
12013 (compare_and_swap): Use _LARX and _STCX.
12014 (compare_and_swap_release): Likewise.
12016 2002-07-26 Tom Tromey <tromey@redhat.com>
12018 * java/net/Authenticator.java: New version from Classpath.
12019 * java/net/DatagramSocketImpl.java: New version from Classpath.
12021 2002-07-27 Alan Modra <amodra@bigpond.net.au>
12023 * configure.host: Add powerpc64*-* entry.
12025 2002-07-26 Tom Tromey <tromey@redhat.com>
12027 * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
12030 2002-07-24 Tom Tromey <tromey@redhat.com>
12032 * java/lang/Runtime.java (loadLibrary): Pass `true' as search
12035 2002-07-24 Tom Tromey <tromey@redhat.com>
12036 Tony Kimball <alk@pobox.com>
12038 * java/io/natFileDescriptorWin32.cc (setLength): New method.
12039 * java/io/natFileDescriptorPosix.cc (setLength): New method.
12040 * java/io/RandomAccessFile.java (setLength): New method.
12041 * java/io/natFileDescriptorEcos.cc (setLength): New method.
12042 * java/io/FileDescriptor.java (setLength): New method.
12044 2002-07-24 Mark Wielaard <mark@klomp.org>
12046 * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
12047 * java/io/ObjectInputStream.java (setBooleanField): Before setting
12048 field call setAccessible(true).
12049 (setByteField): Likewise.
12050 (setCharField): Likewise.
12051 (setDoubleField): Likewise.
12052 (setFloatField): Likewise.
12053 (setIntField): Likewise.
12054 (setLongField): Likewise.
12055 (setShortField): Likewise.
12056 (setObjectField): Likewise.
12058 2002-07-24 Tom Tromey <tromey@redhat.com>
12060 * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
12061 use toString() to format array element.
12063 2002-07-23 Mark Wielaard <mark@klomp.org>
12065 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
12066 MessageDigestSpi (fixes Classpath bug #783).
12068 2002-07-21 Mark Wielaard <mark@klomp.org>
12070 * gnu/java/security/provider/Gnu.java: Reference all implementation
12071 classes by using Class.getName().
12073 2002-07-19 Bo Thorsen <bo@berlioz.suse.de>
12075 * java/lang/ieeefp.h: Add x86-64 support.
12076 * configure.in: Likewise.
12077 * configure.host: Likewise.
12078 * configure: Regenerated.
12079 * sysdep/x86-64/locks.h: New file with x86-64 locks.
12081 2002-07-16 Mark Wielaard <mark@klomp.org>
12083 * java/io/StreamTokenizer.java (pushBack): Update documentation.
12084 (whitespaceChars): call resetChar().
12086 2002-07-15 Tom Tromey <tromey@redhat.com>
12088 * Makefile.in: Rebuilt.
12089 * Makefile.am (awt_java_source_files): Added new files.
12090 * java/beans/ExceptionListener.java: Merged with Classpath.
12091 * java/beans/PropertyChangeEvent.java: Merged with Classpath.
12092 * java/beans/PropertyChangeListener.java: Merged with Classpath.
12093 * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
12094 * java/beans/PropertyChangeSupport.java: Merged with Classpath.
12095 * java/beans/VetoableChangeListener.java: Merged with Classpath.
12096 * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
12097 * java/beans/VetoableChangeSupport.java: Merged with Classpath.
12099 2002-07-14 Mark Wielaard <mark@klomp.org>
12101 * gnu/java/security/der/DEREncodingException.java,
12102 gnu/java/security/provider/DERReader.java,
12103 gnu/java/security/provider/DERWriter.java,
12104 gnu/java/security/provider/DSAKeyPairGenerator.java,
12105 gnu/java/security/provider/DSAParameterGenerator.java,
12106 gnu/java/security/provider/DSAParameters.java,
12107 gnu/java/security/provider/DSASignature.java,
12108 gnu/java/security/provider/GnuDSAPrivateKey.java,
12109 gnu/java/security/provider/GnuDSAPublicKey.java,
12110 gnu/java/security/provider/MD5.java,
12111 gnu/java/security/util/Prime.java: New files from Classpath.
12112 * Makefile.am (ordinary_java_source_files): Add new files.
12113 * Makefile.in: Regenerate.
12115 2002-07-14 C. Brian Jones <cbj@gnu.org>
12117 * gnu/java/security/provider/DefaultPolicy.java
12118 (getPermissions): do not maintain static class variable of
12120 * gnu/java/security/provider/SHA.java
12121 (engineUpdate): algorithm change
12122 (engineDigest): algorithm change
12124 2002-07-12 Jesse Rosenstock <jmr@fulcrummicro.com>
12126 For PR libgcj/7292:
12127 * java/lang/Character.java (toString(char)): Now static.
12129 2002-07-12 Mark Wielaard <mark@klomp.org>
12131 * java/lang/natThrowable.cc (printRawStackTrace): removed.
12132 (getStackTrace0): new method.
12133 * java/lang/Throwable.java (CPlusPlusDemangler): removed.
12134 (printStackTrace(PrintWriter)): replace with pure java implementation.
12135 (printRawStackTrace): removed.
12136 (getStackTrace0): new method.
12137 * java/lang/StackTraceElement.java (toString): add extra whitespace.
12138 * gcj/javaprims.h: regenerate class list.
12139 * include/name-finder.h (lookup): new returns StackTraceElement*.
12140 (method_name, file_name): fields removed.
12141 (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
12142 (~_Jv_name_finder): close new descriptors.
12143 * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
12144 (createStackTraceElement): new method.
12145 (lookup): returns StackTraceElement*, uses createStackTraceElement().
12147 2002-07-10 Tom Tromey <tromey@redhat.com>
12149 * configure: Rebuilt.
12150 * configure.in: Use `test' after `&&'. From Chris Faylor.
12152 2002-07-08 Mark Wielaard <mark@klomp.org>
12154 * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
12155 java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
12156 java.sql.DatabaseMetaData.TestJdbc20
12158 2002-07-05 Tony Kimball <alk@pobox.com>
12160 * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
12162 2002-07-04 Tom Tromey <tromey@redhat.com>
12163 Jeff Sturm <jsturm@one-point.com>
12165 Fix for PR libgcj/7060:
12166 * java/lang/Class.h (_getMethod): Renamed from getMethod.
12167 * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
12168 Recurse into superinterfaces. Don't throw NoSuchMethodException.
12169 * java/lang/Class.java (getMethod): New Java implementation;
12170 complies with spec.
12171 (_getMethod): New native method.
12173 2002-07-02 Tom Tromey <tromey@redhat.com>
12174 David Hovemeyer <daveho@cs.umd.edu>
12176 * java/text/ChoiceFormat.java
12177 (format(double,StringBuffer,FieldPosition)): Fix fencepost error
12179 * java/text/MessageFormat.java
12180 (format(Object[],StringBuffer,FieldPosition): Pass all arguments
12183 2002-07-01 Tom Tromey <tromey@redhat.com>
12185 * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
12186 StringTokenizer on null string. For PR libgcj/7180.
12187 From daveho@cs.umd.edu.
12189 2002-06-24 Tom Tromey <tromey@redhat.com>
12191 * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
12192 (IntegerClass): Likewise.
12193 * java/lang/natClass.cc (CloneableClass): Removed.
12194 (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
12195 ConstructorClass): Likewise.
12196 * java/lang/natClassLoader.cc (CloneableClass): Removed.
12197 (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
12198 SerializableClass): Likewise.
12199 * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
12200 (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
12201 LongClass, FloatClass, DoubleClass): Likewise.
12203 * verify.cc (branch_prepass): Updated for change to exception
12205 (verify_instructions_0): Likewise.
12206 * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
12207 (handleExceptionTableEntry): Updated for change to exception
12209 * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
12210 * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
12211 (union _Jv_InterpPC): New.
12212 (class _Jv_InterpException): Changed types to _Jv_InterpPC.
12213 (class _Jv_InterpMethod): Added new `prepared' field.
12214 (class _Jv_InterpMethod): Added `compile' method. Removed
12215 `continue1' and `find_exception'. Changed arguments to `run'.
12216 * interpret.cc (union insn_slot): New.
12217 (find_exception): Removed.
12218 (run_normal): Removed most logic.
12219 (run_synch_object): Likewise; also, use JvSynchronize.
12220 (run_synch_class): Likewise.
12222 (continue1): Renamed as `run'. Compile bytecode if required.
12223 Add new code to allow refinement of direct-threaded code at
12224 runtime. Handle exceptions.
12225 (SAVE_PC): Removed.
12226 (compile): New method.
12227 (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
12228 (NULLARRAYCHECK): Don't use SAVE_PC.
12229 (pc_t): New typedef.
12230 (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
12231 SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
12233 2002-06-23 Tom Tromey <tromey@redhat.com>
12235 * configure: Rebuilt.
12236 * configure.in (INTERPRETER): New subst.
12237 (AM_RUNTESTFLAGS): Don't subst.
12239 * Makefile.in: Rebuilt.
12240 * Makefile.am ($(srcdir)/java/lang/Object.h,
12241 $(srcdir)/java/lang/Class.h): Added dummy targets.
12243 2002-06-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12245 Reformat JDBC classes and add new JDK 1.4 classes and methods.
12247 * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
12248 java/sql/Savepoint.java: New files.
12249 * java/sql/Array.java, java/sql/BatchUpdateException.java,
12250 java/sql/Blob.java, java/sql/CallableStatement.java,
12251 java/sql/Clob.java, java/sql/Connection.java,
12252 java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
12253 java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
12254 java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
12255 java/sql/Ref.java, java/sql/ResultSet.java,
12256 java/sql/ResultSetMetaData.java, java/sql/SQLData.java
12257 java/sql/SQLException.java, java/sql/SQLInput.java,
12258 java/sql/SQLOutput.java, java/sql/SQLWarning.java
12259 java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
12260 java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
12261 (JDK 1.4) specification.
12262 * javax/sql/ConnectionEvent.java,
12263 javax/sql/ConnectionEventListener.java,
12264 javax/sql/ConnectionPoolDataSource.java,
12265 javax/sql/DataSource.java, javax/sql/PooledConnection.java,
12266 javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
12267 javax/sql/RowSet.java, javax/sql/RowSetListener.java,
12268 javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
12269 javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
12270 javax/sql/XADataSource.java: New files.
12271 * Makefile.am: Add new files.
12272 * Makefile.in: Rebuilt.
12274 2002-06-20 Tom Tromey <tromey@redhat.com>
12276 For PR libgcj/7073:
12277 * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
12279 * defineclass.cc (handleClassBegin): Superclass for interface is
12282 2002-06-18 Tom Tromey <tromey@redhat.com>
12284 * gcj/javaprims.h: Updated class declaration list.
12285 * Makefile.in: Rebuilt.
12286 * Makefile.am (core_java_source_files): Removed
12287 BasicMapEntry.java.
12288 * java/util/BasicMapEntry.java: Removed.
12290 2002-06-18 Jeff Sturm <jsturm@one-point.com>
12292 * java/net/natPlainDatagramSocketImpl.cc (receive):
12293 Check bounds of argument to FD_SET.
12294 (setOption): Throw exception if socket is closed.
12296 * java/net/natPlainSocketImpl.cc (accept, read):
12297 Check bounds of argument to FD_SET.
12298 (setOption): Throw exception if socket is closed.
12300 2002-06-18 Tom Tromey <tromey@redhat.com>
12302 * gcj/javaprims.h: Updated class declaration list.
12303 * Makefile.in: Rebuilt.
12304 * Makefile.am (core_java_source_files): Added
12305 PropertyPermissionCollection.java.
12306 * java/lang/Thread.java (group, name): Now package-private.
12307 * java/lang/ThreadGroup.java: Re-merge with Classpath.
12308 * java/util/AbstractList.java: Likewise.
12309 * java/util/AbstractMap.java: Likewise.
12310 * java/util/Calendar.java: Likewise.
12311 * java/util/Collections.java: Likewise.
12312 * java/util/HashMap.java: Likewise.
12313 * java/util/Hashtable.java: Likewise.
12314 * java/util/LinkedHashMap.java: Likewise.
12315 * java/util/LinkedList.java: Likewise.
12316 * java/util/List.java: Likewise.
12317 * java/util/ListResourceBundle.java: Likewise.
12318 * java/util/Map.java: Likewise.
12319 * java/util/Observable.java: Likewise.
12320 * java/util/Properties.java: Likewise.
12321 * java/util/PropertyPermission.java: Likewise.
12322 * java/util/PropertyPermissionCollection.java: Likewise.
12323 * java/util/PropertyResourceBundle.java: Likewise.
12324 * java/util/Random.java: Likewise.
12325 * java/util/SimpleTimeZone.java: Likewise.
12326 * java/util/StringTokenizer.java: Likewise.
12327 * java/util/TimerTask.java: Likewise.
12328 * java/util/TreeMap.java: Likewise.
12329 * java/util/WeakHashMap.java: Likewise.
12330 * java/util/jar/Attributes.java: Likewise.
12331 * java/util/jar/JarException.java: Likewise.
12332 * java/util/jar/Manifest.java: Likewise.
12334 2002-06-17 Tom Tromey <tromey@redhat.com>
12336 * gcj/javaprims.h: Updated class declaration list.
12337 * Makefile.in: Rebuilt.
12338 * Makefile.am (core_java_source_files): Added new file.
12339 * java/util/EventListenerProxy.java: New file.
12340 * java/util/EventListener.java: Re-merge with Classpath.
12341 * java/util/EventObject.java: Re-merge with Classpath.
12343 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
12345 * java/lang/ClassNotFoundException.java: New Classpath version.
12347 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
12349 * java/rmi/activation/ActivateFailedException.java: Remerge from
12351 * java/rmi/activation/ActivationException.java: Ditto.
12352 * java/rmi/activation/UnknownGroupException.java: Ditto.
12353 * java/rmi/activation/UnknownObjectException.java: Ditto.
12354 * java/rmi/server/ExportException: Ditto.
12355 * java/rmi/server/ServerCloneException: Ditto.
12356 * java/rmi/server/ServerNotActiveException: Ditto.
12357 * java/rmi/server/SkeletonMismatchException: Ditto.
12358 * java/rmi/server/SkeletonNotFoundException: Ditto.
12359 * java/rmi/server/SocketSecurityException: Ditto.
12361 2002-06-16 Tom Tromey <tromey@redhat.com>
12363 * gcj/javaprims.h: Updated class declaration list.
12365 * java/io/LineNumberInputStream.java: Merged with Classpath.
12367 * java/lang/RuntimeException.java: Re-merge with Classpath.
12368 * java/util/ArrayList.java: Likewise.
12369 * java/util/Arrays.java: Likewise.
12370 * java/util/BitSet.java: Likewise.
12371 * java/util/Dictionary.java: Likewise.
12372 * java/util/IdentityHashMap.java: Likewise.
12373 * java/util/MissingResourceException.java: Likewise.
12374 * java/util/Observer.java: Likewise.
12375 * java/util/TooManyListenersException.java: Likewise.
12376 * java/util/zip/DataFormatException.java: Likewise.
12377 * java/util/zip/ZipException.java: Likewise.
12379 2002-06-16 Nathanael Nerode <neroden@twcny.rr.com>
12381 * java/rmi/AccessException.java: Remerge from Classpath.
12382 * java/rmi/AlreadyBoundException.java: Ditto.
12383 * java/rmi/ConnectException.java: Ditto.
12384 * java/rmi/ConnectIOException.java: Ditto.
12385 * java/rmi/MarshalException.java: Ditto.
12386 * java/rmi/NoSuchObjectException.java: Ditto.
12387 * java/rmi/NotBoundException.java: Ditto.
12388 * java/rmi/RemoteException.java: Ditto.
12389 * java/rmi/RMISecurityException.java: Ditto.
12390 * java/rmi/ServerError.java: Ditto.
12391 * java/rmi/ServerException.java: Ditto.
12392 * java/rmi/ServerRuntimeException.java: Ditto.
12393 * java/rmi/StubNotFoundException.java: Ditto.
12394 * java/rmi/UnexpectedExcpetion.java: Ditto.
12395 * java/rmi/UnknownHostException.java: Ditto.
12396 * java/rmi/UnmarshalException.java: Ditto.
12398 2002-06-15 Tom Tromey <tromey@redhat.com>
12400 * java/lang/AbstractMethodError.java: Re-merged with Classpath.
12401 * java/lang/ArithmeticException.java: Likewise.
12402 * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
12403 * java/lang/ArrayStoreException.java: Likewise.
12404 * java/lang/Byte.java: Likewise.
12405 * java/lang/CharSequence.java: Likewise.
12406 * java/lang/ClassCastException.java: Likewise.
12407 * java/lang/ClassCircularityError.java: Likewise.
12408 * java/lang/ClassFormatError.java: Likewise.
12409 * java/lang/CloneNotSupportedException.java: Likewise.
12410 * java/lang/Cloneable.java: Likewise.
12411 * java/lang/Comparable.java: Likewise.
12412 * java/lang/Compiler.java: Likewise.
12413 * java/lang/Error.java: Likewise.
12414 * java/lang/ExceptionInInitializerError.java: Likewise.
12415 * java/lang/IllegalAccessError.java: Likewise.
12416 * java/lang/IllegalAccessException.java: Likewise.
12417 * java/lang/IllegalArgumentException.java: Likewise.
12418 * java/lang/IllegalMonitorStateException.java: Likewise.
12419 * java/lang/IllegalStateException.java: Likewise.
12420 * java/lang/IllegalThreadStateException.java: Likewise.
12421 * java/lang/IncompatibleClassChangeError.java: Likewise.
12422 * java/lang/IndexOutOfBoundsException.java: Likewise.
12423 * java/lang/InheritableThreadLocal.java: Likewise.
12424 * java/lang/InstantiationError.java: Likewise.
12425 * java/lang/InstantiationException.java: Likewise.
12426 * java/lang/InternalError.java: Likewise.
12427 * java/lang/InterruptedException.java: Likewise.
12428 * java/lang/LinkageError.java: Likewise.
12429 * java/lang/NegativeArraySizeException.java: Likewise.
12430 * java/lang/NoClassDefFoundError.java: Likewise.
12431 * java/lang/NoSuchFieldError.java: Likewise.
12432 * java/lang/NoSuchFieldException.java: Likewise.
12433 * java/lang/NoSuchMethodError.java: Likewise.
12434 * java/lang/NoSuchMethodException.java: Likewise.
12435 * java/lang/NullPointerException.java: Likewise.
12436 * java/lang/NumberFormatException.java: Likewise.
12437 * java/lang/OutOfMemoryError.java: Likewise.
12438 * java/lang/Process.java: Likewise.
12439 * java/lang/Runnable.java: Likewise.
12440 * java/lang/RuntimePermission.java: Likewise.
12441 * java/lang/SecurityException.java: Likewise.
12442 * java/lang/Short.java: Likewise.
12443 * java/lang/StackOverflowError.java: Likewise.
12444 * java/lang/StringIndexOutOfBoundsException.java: Likewise.
12445 * java/lang/ThreadDeath.java: Likewise.
12446 * java/lang/ThreadLocal.java: Likewise.
12447 * java/lang/UnknownError.java: Likewise.
12448 * java/lang/UnsatisfiedLinkError.java: Likewise.
12449 * java/lang/UnsupportedClassVersionError.java: Likewise.
12450 * java/lang/UnsupportedOperationException.java: Likewise.
12451 * java/lang/VerifyError.java: Likewise.
12452 * java/lang/VirtualMachineError.java: Likewise.
12453 * java/lang/reflect/InvocationTargetException.java: Likewise.
12454 * java/net/BindException.java: Likewise.
12455 * java/net/ConnectException.java: Likewise.
12456 * java/net/MalformedURLException.java: Likewise.
12457 * java/net/NoRouteToHostException.java: Likewise.
12458 * java/net/ProtocolException.java: Likewise.
12459 * java/net/SocketException.java: Likewise.
12460 * java/net/UnknownHostException.java: Likewise.
12461 * java/net/UnknownServiceException.java: Likewise.
12463 * java/io/BufferedOutputStream.java: Re-merged with Classpath.
12464 * java/io/CharConversionException.java: Likewise.
12465 * java/io/EOFException.java: Likewise.
12466 * java/io/FileNotFoundException.java: Likewise.
12467 * java/io/IOException.java: Likewise.
12468 * java/io/InterruptedIOException.java: Likewise.
12469 * java/io/InvalidClassException.java: Likewise.
12470 * java/io/InvalidObjectException.java: Likewise.
12471 * java/io/NotActiveException.java: Likewise.
12472 * java/io/NotSerializableException.java: Likewise.
12473 * java/io/ObjectStreamException.java: Likewise.
12474 * java/io/ObjectStreamConstants.java: Likewise.
12475 * java/io/OptionalDataException.java: Likewise.
12476 * java/io/PipedInputStream.java: Likewise.
12477 * java/io/PushbackInputStream.java: Likewise.
12478 * java/io/StreamCorruptedException.java: Likewise.
12479 * java/io/SyncFailedException.java: Likewise.
12480 * java/io/UTFDataFormatException.java: Likewise.
12481 * java/io/UnsupportedEncodingException.java: Likewise.
12482 * java/io/WriteAbortedException.java: Likewise.
12484 2002-06-15 Nathanael Nerode <neroden@twcny.rr.com>
12486 * java/text/ChoiceFormat.java: Update comments from Classpath.
12487 * java/text/ParseException.java (serialVersionUID): New
12488 field from Classpath.
12489 * java/text/ParseException.java: Update formatting & comments
12492 2002-06-15 Tom Tromey <tromey@redhat.com>
12494 * java/util/zip/InflaterInputStream.java (read): Loop if data has
12495 been read but none output by inflater.
12496 * java/util/zip/natDeflater.cc (reset): Set is_finished.
12497 * java/util/zip/natInflater.cc (reset): Set dist_needed and
12499 * java/util/zip/ZipOutputStream.java: Replaced with Classpath
12501 * java/util/zip/ZipFile.java: Replaced with Classpath version.
12502 * java/util/zip/ZipEntry.java: Replaced with Classpath version.
12503 * java/util/zip/ZipInputStream.java: Replaced with Classpath
12505 * java/util/zip/ZipConstants.java: Replaced with Classpath version.
12507 2002-06-13 Tom Tromey <tromey@redhat.com>
12509 * java/lang/natString.cc (init): Handle case where DONT_COPY is
12510 true and OFFSET!=0.
12511 * java/lang/String.java (String(char[],int,int,boolean): New
12513 * java/lang/Long.java: Imported new version from Classpath.
12514 * java/lang/Number.java: Likewise.
12515 * java/lang/Integer.java: Likewise.
12516 * java/lang/Long.java: Likewise.
12517 * java/lang/Float.java: Likewise.
12518 * java/lang/Boolean.java: Likewise.
12519 * java/lang/Double.java: Likewise.
12520 * java/lang/Void.java: Likewise.
12522 2002-06-12 Tom Tromey <tromey@redhat.com>
12524 * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
12525 Fixes PR libgcj/6652.
12527 2002-06-10 Tom Tromey <tromey@redhat.com>
12529 * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
12530 (Class::getPackagePortion): Likewise.
12531 * java/lang/Class.java (desiredAssertionStatus): New method from
12533 (getPackagePortion): Likewise.
12534 * java/lang/VMClassLoader.java (defaultAssertionStatus,
12535 packageAssertionStatus, classAssertionStatus): New methods from
12537 * java/lang/ClassLoader.java (defaultAssertionStatus,
12538 systemPackageAssertionStatus, packageAssertionStatus,
12539 systemClassAssertionStatus, classAssertionStatus): New fields from
12541 (setDefaultAssertionStatus, setPackageAssertionStatus,
12542 setClassAssertionStatus, clearAssertionStatus): New methods from
12544 * Makefile.in: Rebuilt.
12545 * Makefile.am (core_java_source_files): Added AssertionError.java.
12546 * java/lang/AssertionError.java: New from Classpath.
12548 2002-06-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12550 * configure.host: Disable hash synchronization and slow_pthread_self
12553 2002-06-06 Adam Megacz <adam@xwt.org>
12555 * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
12556 locking, just like the Sun JVM does.
12558 2002-06-05 H.J. Lu (hjl@gnu.org)
12560 * Makefile.am (libgcj_convenience.la): Revert the last change.
12561 (libgcj.la): Likewise.
12562 * Makefile.in: Regenerated.
12564 2002-06-04 H.J. Lu (hjl@gnu.org)
12566 * Makefile.am (libgcj_convenience.la): New target.
12567 (libgcj.la): Depend on libgcj_convenience.la.
12568 * Makefile.in: Regenerated.
12570 2002-06-04 H.J. Lu (hjl@gnu.org)
12572 * configure.in (--with-newlib): New option:
12573 Check ${with_newlib} instead of ${with_cross_host} for newlib.
12574 (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
12576 * configure: Regenerated.
12578 2002-06-04 Tom Tromey <tromey@redhat.com>
12580 * java/util/natTimeZone.cc: Include <stdio.h>.
12582 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com>
12584 * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
12585 * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
12586 Set SIGNAL_HANDLER=include/s390-linux.h.
12587 * configure: Regenerate.
12588 * include/s390-linux.h: New file.
12590 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12592 * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
12595 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12597 Merge JDK 1.4 java.security changes from classpath.
12599 * java/security/AccessControlException.java: Merge from Classpath.
12600 * java/security/AccessController.java: Likewise.
12601 * java/security/AllPermission.java: Likewise.
12602 * java/security/BasicPermission.java: Likewise.
12603 * java/security/Certificate.java: Likewise.
12604 * java/security/CodeSource.java: Likewise.
12605 * java/security/DigestException.java: Likewise.
12606 * java/security/DigestOutputStream.java: Likewise.
12607 * java/security/DomainCombiner.java: Likewise.
12608 * java/security/GeneralSecurityException.java: Likewise.
12609 * java/security/Guard.java: Likewise.
12610 * java/security/GuardedObject.java: Likewise.
12611 * java/security/InvalidAlgorithmParameterException.java: Likewise.
12612 * java/security/InvalidKeyException.java: Likewise.
12613 * java/security/InvalidParameterException.java: Likewise.
12614 * java/security/Key.java: Likewise.
12615 * java/security/KeyException.java: Likewise.
12616 * java/security/KeyManagementException.java: Likewise.
12617 * java/security/KeyStoreException.java: Likewise.
12618 * java/security/MessageDigest.java: Likewise.
12619 * java/security/NoSuchAlgorithmException.java: Likewise.
12620 * java/security/NoSuchProviderException.java: Likewise.
12621 * java/security/Permission.java: Likewise.
12622 * java/security/PermissionCollection.java: Likewise.
12623 * java/security/Permissions.java: Likewise.
12624 * java/security/Policy.java: Likewise.
12625 * java/security/Principal.java: Likewise.
12626 * java/security/PrivateKey.java: Likewise.
12627 * java/security/PrivilegedAction.java: Likewise.
12628 * java/security/PrivilegedActionException.java: Likewise.
12629 * java/security/PrivilegedExceptionAction.java: Likewise.
12630 * java/security/ProtectionDomain.java: Likewise.
12631 * java/security/ProviderException.java: Likewise.
12632 * java/security/PublicKey.java: Likewise.
12633 * java/security/SecureClassLoader.java: Likewise.
12634 * java/security/SecurityPermission.java: Likewise.
12635 * java/security/SignatureException.java: Likewise.
12636 * java/security/UnrecoverableKeyException.java: Likewise.
12637 * java/security/UnresolvedPermission.java: Likewise.
12638 * java/security/acl/AclNotFoundException.java: Likewise.
12639 * java/security/acl/LastOwnerException.java: Likewise.
12640 * java/security/acl/NotOwnerException.java: Likewise.
12641 * java/security/cert/CRLException.java: Likewise.
12642 * java/security/cert/CertificateEncodingException.java: Likewise.
12643 * java/security/cert/CertificateException.java: Likewise.
12644 * java/security/cert/CertificateExpiredException.java: Likewise.
12645 * java/security/cert/CertificateFactory.java: Likewise.
12646 * java/security/cert/CertificateNotYetValidException.java: Likewise.
12647 * java/security/cert/CertificateParsingException.java: Likewise.
12648 * java/security/spec/InvalidKeySpecException.java: Likewise.
12649 * java/security/spec/InvalidParameterSpecException.java: Likewise.
12651 * java/security/cert/CertPath.java: New file.
12652 * java/security/cert/CertPathBuilderException.java: New file.
12653 * java/security/cert/CertPathValidatorException.java: New file.
12654 * java/security/cert/CertStoreException.java: New file.
12656 * Makefile.am: Add new CertPath classes.
12657 * Makefile.in: Rebuilt.
12659 * gnu/java/util/EmptyEnumeration.java: New file from classpath.
12661 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12663 Merge JDK 1.4 exception chaining support from classpath.
12665 * java/lang/Throwable.java: Merge 1.4 support from classpath.
12666 (stackTraceBytes): Rename from stackTrace.
12667 * java/lang/Exception.java: Merge from classpath.
12668 * java/lang/StackTraceElement: New file from classpath.
12669 * gcj/javaprims.h: Rebuild CNI namespace declarations.
12670 * Makefile.am: Add StackTraceElement.
12671 * Makefile.in: Rebuilt.
12673 2002-05-23 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12675 * Makefile.am (all-recursive): Depend on $all_java_class_files so that
12677 * Makefile.in: Rebuilt.
12679 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12681 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
12682 * configure.in: Likewise.
12683 * aclocal.m4: Regenerate.
12684 * configure: Regenerate.
12686 2002-05-13 Tom Tromey <tromey@redhat.com>
12688 * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
12689 * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
12690 Include platform.h.
12692 Fixes PR libgcj/6389:
12693 * Makefile.in: Rebuilt.
12694 * Makefile.am (nat_source_files): Added natTimeZone.cc.
12695 * java/util/natTimeZone.cc: New file.
12696 * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
12697 * java/lang/System.java: Merged with Classpath.
12698 * java/lang/Runtime.java: Merged with Classpath.
12699 * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
12701 (setIn0): Renamed from setIn; don't run security check.
12702 (setOut0): Renamed from setOut; don't run security check.
12703 (file_encoding, getpwuid_adaptor, getSystemTimeZone,
12704 init_properties): Moved to natRuntime.cc.
12705 Moved many includes to natRuntime.cc.
12706 (isWordsBigEndian): New method.
12707 * java/lang/natRuntime.cc: Include Long.h, also other includes
12708 previously in natSystem.cc.
12709 (maxMemory): New function.
12710 (exitInternal): Renamed from `_exit'.
12712 (init): Don't set finalize_on_exit.
12713 (exitInternal): Use `finalizeOnExit'.
12714 (file_encoding, getpwuid_adaptor): New functions from
12716 (insertSystemProperties): New method, renamed from
12717 System::init_properties. Don't set user.timezone.
12718 (_load): Don't call checkLink.
12719 (execInternal): New method.
12720 (availableProcessors): Likewise.
12721 (nativeGetLibname): Likewise.
12723 2002-05-11 Mark Wielaard <mark@klomp.org>
12725 * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
12727 (previous_internal): Likewise.
12729 2002-05-09 Tom Tromey <tromey@redhat.com>
12731 * jni.cc (_Jv_JNIFunctions): Fixed typo.
12733 * java/util/ResourceBundle.java: New version from Classpath.
12734 * java/util/Locale.java: Likewise.
12736 2002-05-09 Jakub Jelinek <jakub@redhat.com>
12738 * testsuite/lib/libjava.exp (libjava_arguments): Append all
12739 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
12742 2002-05-08 Mark Mitchell <mark@codesourcery.com>
12744 * libjava/Makefile.am (all_java_source_files): New variable.
12745 (all_java_class_files): Likewise.
12746 .java.class: New rule.
12747 (CLEANFILES): Remove tmp-list.
12748 * libjava/Makefile.in: Regenerated.
12750 2002-05-09 David.Billinghurst <David.Billinghurst@riotinto.com>
12752 * testsuite/lib/libjava.exp (test_libjava_from_javac):
12753 Append .exe to executable names. Fix for cygwin.
12755 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
12757 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
12758 script entry, and set LD to it when configuring multilibs.
12759 * configure: Rebuilt.
12761 2002-05-07 Tom Tromey <tromey@redhat.com>
12763 * java/lang/natString.cc (unintern): Fixed typo.
12765 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
12767 * testsuite/lib/libjava.exp (libjava_arguments): Don't link
12768 with -no-install on *-*-cygwin*.
12770 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
12772 * testsuite/lib/libjava.exp (test_libjava_from_source):
12773 Add comment explaining last patch
12775 2002-05-04 David Billinghurst <David.Billinghurst@riotinto.com>
12777 * testsuite/lib/libjava.exp (test_libjava_from_source):
12778 Append .exe to executable names. If no suffix is present,
12779 then ".exe" is added by default on win32. Harmless
12780 elsewhere so always do it.
12782 2002-05-03 David Billinghurst <David.Billinghurst@riotinto.com>
12783 Tom Tromey <tromey@redhat.com>
12785 * java/lang/natSystem.cc (getSystemTimeZone): Use
12786 HAVE_UNDERSCORE_TIMEZONE.
12787 * include/config.h.in: Rebuilt.
12788 * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
12789 * aclocal.m4, configure: Rebuilt.
12790 * acinclude.m4: Run AC_EXEEXT.
12791 * configure.in: Adjust test for `timezone' so it fails on Cygwin.
12792 Add test for `_timezone'.
12794 2002-05-03 Alexandre Oliva <aoliva@redhat.com>
12796 Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12797 * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
12798 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
12799 * Makefile.in: Rebuilt.
12801 2002-05-02 Hans Boehm <Hans_Boehm@hp.com>
12803 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
12804 use sigaction instead of __libc_sigaction.
12806 2002-05-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12808 * testsuite/lib/libjava.exp (libjava_find_spec): New function.
12809 (libjava_init): Use it to find libgcj.spec.
12810 (libjava_arguments): Likewise.
12812 2002-05-02 David S. Miller <davem@redhat.com>
12815 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
12816 __libc_sigaction on Sparc.
12818 2002-05-02 Jerome Marc <marcjero@yahoo.com>
12820 * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
12821 sys/filio.h, if present.
12823 2002-04-30 Tom Tromey <tromey@redhat.com>
12825 * java/io/BufferedReader.java (fill): Handle case where markPos
12826 point to ignored \n. Fixes PR libgcj/6301.
12828 2002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
12830 * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
12832 2002-04-29 Adam King <aking@dreammechanics.com>
12834 * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
12835 of file in APPEND mode.
12837 2002-04-25 David S. Miller <davem@redhat.com>
12840 * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
12841 program counter to next program counter minus 8. Update
12842 comments in this macro to explain why.
12844 2002-04-26 Tom Tromey <tromey@redhat.com>
12846 * verify.cc (construct_primitive_array_type) [void_type]: New
12848 (branch_prepass): Added dummy entries for unused instruction
12850 (verify_instructions_0): Likewise.
12851 * interpret.cc (continue1): Comment fix.
12852 * include/java-insns.h (op_xxxunusedxxx1): Removed.
12853 * Makefile.in: Rebuilt.
12854 * Makefile.am: Added -Wswitch-enum.
12856 2002-04-24 Tom Tromey <tromey@redhat.com>
12858 * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
12859 correct length of UTF-8 encoded name. Strip leading `/'.
12860 (_Jv_RegisterResource): Use _Jv_Malloc.
12862 2002-04-23 Adam Megacz <adam@xwt.org>
12864 * win32.cc, include/win32.cc (backtrace): Added this function
12865 because Win32 does not supply it.
12867 2002-04-21 David S. Miller <davem@redhat.com>
12869 * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
12870 magic instruction reading sequence.
12872 2002-04-21 Mark Wielaard <mark@klomp.org>
12874 * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
12876 2002-04-19 David S. Miller <davem@redhat.com>
12878 * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
12880 (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
12881 (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
12883 * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
12885 (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
12886 * sysdeps/sparc/locks.h: New file.
12887 * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
12888 on all sparc Solaris configurations. Set to
12889 include/dwarf2-signal.h on sparc Linux.
12890 * configure: Regenerate
12891 * configure.host (can_unwind_signal): sparc*-linux* can do it now.
12893 2002-04-19 Hans Boehm <Hans_Boehm@hp.com>
12895 * configure: Rebuilt.
12896 * configure.in (backtrace): Function doesn't work on IA-64.
12898 2002-04-17 Adam King <aking@dreammechanics.com>
12900 * java/io/File.java (normalizePath): Add Win32 support for auto
12901 conversion of a '/' path separator to Win32's '\' separator.
12903 2002-04-16 Tom Tromey <tromey@redhat.com>
12905 Fix for PR libgcj/6081:
12906 * Makefile.in: Rebuilt.
12907 * Makefile.am (install-data-local): Use GNU make trick to avoid
12910 2002-04-16 Adam King <aking@dreammechanics.com>
12911 Tom Tromey <tromey@redhat.com>
12913 * java/io/natFileWin32.cc (performList): Return the correct array
12914 type. Don't duplicate the creation of a File since it's already
12915 done earlier in the method and the existing code would cause a
12916 ArrayStoreException. Don't use fixed-size array.
12917 (_access, _stat, attr, getCanonicalPath, performMkdir,
12918 performRenameTo): Don't use fixed-size array.
12919 (getCanonicalPath): Use throw, not _Jv_Throw.
12921 2002-04-15 DJ Delorie <dj@redhat.com>
12923 * configure.in: Allow building in $srcdir.
12924 * configure: Regenerated.
12926 2002-04-14 Mark Wielaard <mark@klomp.org>
12928 * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
12929 * java/net/natSocketImpl.cc (close): Likewise.
12931 2002-04-14 Mark Wielaard <mark@klomp.org>
12933 * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
12935 2002-04-13 Adam King <aking@dreammechanics.com>
12937 * java/lang/natDouble.cc (parseDouble): Allow a number to end with
12938 the f/F/d/D modifiers.
12940 2002-04-12 Anthony Green <green@redhat.com>
12942 * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
12943 Create libgcj-@gcc_version@.jar instead of libgcj.jar.
12944 * Makefile.in: Rebuilt.
12945 * configure.in: Substitute gcc_version.
12946 * configure: Rebuilt.
12948 2002-04-11 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12950 * configure.host: Set can_unwind_signal on hosts which support it.
12951 Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
12952 * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
12953 exceptions and can_unwind_signal isn't set.
12954 * configure: Rebuilt.
12956 2002-04-11 Tom Tromey <tromey@redhat.com>
12958 * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
12960 2002-04-11 Adam King <aking@dreammechanics.com>
12961 Tom Tromey <tromey@redhat.com>
12963 * include/jvm.h (_Jv_ThrowBadArrayIndex,
12964 _Jv_ThrowNullPointerException): Mark as noreturn.
12965 * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
12966 and _Jv_free. Correctly invoke GetTempPath(). Indentation
12969 2002-04-10 Tom Tromey <tromey@redhat.com>
12971 * Makefile.in: Rebuilt.
12972 * Makefile.am (java/lang/Thread.h): Mark
12973 _Jv_AttachCurrentThreadAsDaemon as friend.
12974 * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
12975 * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
12976 * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
12978 * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
12979 * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
12980 (_Jv_JNI_InvokeFunctions): Added
12981 _Jv_JNI_AttachCurrentThreadAsDaemon.
12982 (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
12983 (JNI_GetDefaultJavaVMInitArgs): Likewise.
12984 (JNI_CreateJavaVM): Likewise.
12985 (_Jv_JNI_AttachCurrentThread): Likewise.
12986 (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
12987 (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
12988 (_Jv_JNIFunctions): Initialize new fields.
12989 (_Jv_JNI_NewDirectByteBuffer): New function.
12990 (_Jv_JNI_GetDirectBufferAddress): Likewise.
12991 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
12992 * include/jni.h (JNI_VERSION_1_4): New macro.
12993 (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
12994 (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
12995 (JNINativeInterface::NewDirectByteBuffer): New field.
12996 (JNINativeInterface::GetDirectBufferAddress): New field.
12997 (JNINativeInterface::GetDirectBufferCapacity): New field.
12998 (_Jv_JNIEnv::NewDirectByteBuffer): New method.
12999 (_Jv_JNIEnv::GetDirectBufferAddress): New method.
13000 (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
13002 2002-04-09 Tom Tromey <tromey@redhat.com>
13004 * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
13006 2002-04-08 Alberto Biancardi <alberto.biancardi@unipv.it>
13008 Fix for PR libgcj/6187:
13009 * java/awt/geom/Point2D.java (distance): Call distanceSq, not
13012 2002-04-07 Mark Wielaard <mark@klomp.org>
13014 * java/util/AbstractMap.java (putAll): Use entrySet size.
13015 (toString): Explicitly use getKey() and getValue().
13017 2002-04-07 Mark Wielaard <mark@klomp.org>
13019 * java/util/Hashtable.java (contains): Remove NullPointer check.
13020 (containsValue): Add NullPointer check.
13021 (remove): Always throw NullPointerException when key
13024 2002-04-07 Adam King <aking@dreammechanics.com>
13026 * java/lang/natSystem.cc (init_properties): Call new function
13027 _Jv_platform_initProperties.
13028 * win32.cc (_Jv_platform_initProperties): New function that adds Win32
13029 support for the System properties os.name, os.arch, os.version,
13030 user.name, user.home, and user.dir.
13031 * include/posix.h, include/win32.h, posix.cc: New function
13032 _Jv_platform_initProperties.
13034 2002-04-06 Mark Wielaard <mark@klomp.org>
13036 * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
13038 2002-04-06 Mark Wielaard <mark@klomp.org>
13040 * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
13041 all of the remaining elements.
13042 * java/util/Vector.java (addAll(int,Collection)): Likewise.
13043 (removeRange): If toIndex == fromIndex do
13044 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
13045 (removeAll): Always throw NullPointerException when collection is
13047 (retrainAll): Likewise.
13049 2002-04-05 Mark Wielaard <mark@klomp.org>
13051 * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
13052 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
13054 2002-04-05 Adam Megacz <adam@xwt.org>
13056 * exception.cc (abort): added static modifier
13058 2002-04-04 Adam Megacz <adam@xwt.org>
13060 * include/win32.h (_Jv_platform_close_on_exec): added inline
13063 2002-04-04 Loren J. Rittle <ljrittle@acm.org>
13065 * configure.host: Add case statement to support generic port
13066 properties. Add *-*-freebsd* section.
13068 2002-04-04 Mark Wielaard <mark@klomp.org>
13070 * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
13072 * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
13073 FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
13074 that depend on awt code and BufferedByteOutputStream.interrupt.
13076 2002-04-04 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13078 * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
13079 incorrect "hi" value when count > 40.
13081 2002-04-03 Mark Wielaard <mark@klomp.org>
13083 * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
13086 2002-04-02 Tom Tromey <tromey@redhat.com>
13088 * java/lang/natClassLoader.cc (findClass): Compare against `3',
13091 2002-04-02 Mark Wielaard <mark@klomp.org>
13093 * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
13094 list of testsuite crashers.
13096 2002-04-02 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13098 * java/util/IdentityHashMap.java (put): Set new threshold correctly
13099 when resizing table.
13101 2002-04-01 Mark Wielaard <mark@klomp.org>
13103 * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
13104 NegativeArraySizeException
13105 (clear(int)): Use sign extended shift.
13106 (flip(int)): Likewise.
13107 (get(int)): Likewise.
13108 (nextClearBit(int)): Likewise.
13109 (nextSetBit(int)): Likewise.
13110 (set(int)): Likewise.
13112 2002-04-01 Mark Wielaard <mark@klomp.org>
13114 * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
13115 that can be compiled now and add testsuite crashers to ignore list.
13117 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
13119 * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
13121 * libgcj.spec.in: Override libgcc, not lib.
13122 * libgcj-test.spec.in: Likewise.
13124 2002-03-29 Tom Tromey <tromey@redhat.com>
13126 * java/net/natPlainDatagramSocketImpl.cc (close): New function.
13127 * java/net/natPlainSocketImpl.cc (close): Indentation fix.
13129 2002-03-27 Jeff Sturm <jsturm@one-point.com>
13131 * java/net/PlainDatagramSocketImpl.java
13132 (close): Use native implementation.
13133 (finalize): New method.
13135 * java/net/PlainSocketImpl.java (finalize): New method.
13137 * java/net/natPlainDatagramSocketImpl.cc
13138 (java/io/FileDescriptor.h): Don't include.
13139 (close): Implement method here.
13140 (create): Don't assign fd.
13142 * java/net/natPlainSocketImpl.cc
13143 (java/io/FileDescriptor.h): Don't include.
13144 (create): Don't assign fd.
13145 (accept): Likewise.
13146 (close): Synchronize.
13148 2002-03-27 Richard Henderson <rth@redhat.com>
13150 * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
13152 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
13154 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
13155 (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
13156 instead of syscall on IA-64.
13159 2002-03-27 Anthony Green <green@redhat.com>
13161 * libgcj.spec.in: Add CHECKREFSPEC.
13162 * configure.in: Ditto.
13163 * configure.host: Ditto. Check references for xscale-elf.
13164 * configure: Rebuilt.
13166 2002-03-26 Hans Boehm <Hans_Boehm@hp.com>
13168 * include/dwarf2-signal.h: Temporarily back out last change.
13170 2002-03-26 Loren J. Rittle <ljrittle@acm.org>
13172 * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
13174 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
13176 * configure.in, configure: enable dwarf2-exception-style
13177 exception handling on IA-64.
13178 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
13179 (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
13182 2002-03-25 Tom Tromey <tromey@redhat.com>
13184 * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
13185 (jv_convert_LDFLAGS): Likewise.
13186 (gij_LDFLAGS): Likewise.
13187 (rmic_LDFLAGS): Likewise.
13188 (rmiregistry_LDFLAGS): Likewise.
13189 * configure.in (THREADLDFLAGS): New subst; set correctly for
13192 2002-03-25 Tom Tromey <tromey@redhat.com>
13194 For PR libgcj/5303:
13195 * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
13197 (help): New method.
13198 (version): Likewise.
13199 * gnu/gcj/convert/Convert.java (version): Removed extraneous
13201 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
13204 2002-03-25 Tom Tromey <tromey@redhat.com>
13206 * java/awt/Component.java (processEvent): Check ComponentEvent
13209 2002-03-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13211 * java/io/PushbackReader.java: Reformat.
13213 * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
13214 calculate correct number of bytes skipped.
13216 Based on patch from Intel's ORP team:
13217 * java/io/PushbackInputStream.java (available): Calculate correct
13218 number of bytes in buffer.
13219 (read): Remove redundant bound check. Return bytes from both the
13220 buffer and the stream.
13222 2002-03-24 Tom Tromey <tromey@redhat.com>
13224 * java/awt/TextComponent.java (TextComponent): Editable by
13227 * java/awt/MenuItem.java (eventMask): No longer private.
13228 * java/awt/Button.java (dispatchEventImpl): Only dispatch to
13229 superclass if we didn't handle event.
13230 * java/awt/Checkbox.java (dispatchEventImpl): New method.
13231 * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
13232 * java/awt/Choice.java (dispatchEventImpl): New method.
13233 * java/awt/List.java (dispatchEventImpl): New method.
13234 * java/awt/Scrollbar.java (dispatchEventImpl): New method.
13235 * java/awt/TextComponent.java (dispatchEventImpl): New method.
13236 * java/awt/TextField.java (dispatchEventImpl): New method.
13238 2002-03-24 Eric Blake <ebb9@email.byu.edu>
13240 * java/beans/IntrospectionException.java: Update to 1.4.
13241 * java/beans/PropertyVetoException.java: Ditto.
13243 2002-03-24 Eric Blake <ebb9@email.byu.edu>
13245 * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
13246 Arrays.equals instead of ArrayHelper.equalsArray.
13248 2002-03-24 C. Brian Jones <cbj@gnu.org>
13250 * java/beans/Introspector.java: added new static final fields
13251 introduced in 1.2, lots of other updates remain to be done
13253 2002-03-24 C. Brian Jones <cbj@gnu.org>
13255 * java/beans/Introspector.java: reformatting
13257 2002-03-24 C. Brian Jones <cbj@gnu.org>
13259 * java/beans/Introspector.java: default beanInfoSearchPath will
13260 not include sun.beans.infos given we provide no such package and
13261 the API doesn't really require it; gnu.java.beans.info is the
13264 2002-03-24 Mark Wielaard <mark@klomp.org>
13266 Thanks to Orp developers
13267 * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
13268 switch TRUE and FALSE return values.
13270 2002-03-23 Tom Tromey <tromey@redhat.com>
13272 * include/name-finder.h (_Jv_name_finder::myclose): New method.
13273 * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
13275 2002-03-23 Michael Smith <msmith@spinnakernet.com>
13277 * java/util/GregorianCalendar.java (minimums, maximums): Correct
13278 MONTH entry. Fixes PR libgcj/6045.
13280 2002-03-23 Jeff Sturm <jsturm@one-point.com>
13282 * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
13284 2002-03-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13286 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
13288 * sysdep/powerpc/locks.h (write_barrier): New function.
13289 * sysdep/i386/locks.h (write_barrier): New function.
13291 2002-03-19 Martin Kahlert <martin.kahlert@infineon.com>
13293 * include/jni.h Use correct C comments.
13295 2002-03-18 Tom Tromey <tromey@redhat.com>
13297 * include/jni.h (JNIIMPORT): New macro.
13298 (JNIEXPORT): Likewise.
13299 (JNICALL): Likewise.
13301 2002-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13303 * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
13306 2002-03-18 Andrew Haley <aph@cambridge.redhat.com>
13308 * include/i386-signal.h (old_i386_kernel_sigaction): New.
13309 INIT_SEGV: Use old_i386_kernel_sigaction.
13312 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13314 * java/lang/natSystem.cc (init_properties): Update VM version
13316 * configure.in: Set GCJVERSION.
13317 * acconfig.h: Add GCJVERSION.
13318 * configure: Rebuilt.
13319 * include/config.h.in: Rebuilt.
13321 2002-03-17 Anthony Green <green@redhat.com>
13323 * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
13325 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13327 Build a single libgcj.so, without separate gc and zlib libraries.
13328 * configure.in: Use convenience libraries for boehm-gc and zlib. Set
13329 SYS_ZLIBS if system zlib is used.
13330 * configure: Rebuilt.
13331 * Makefile.am: Use boehm-gc and zlib convenience libraries.
13332 * Makefile.in: Rebuilt.
13333 * libtool-version: Increment .so version number.
13335 * Makefile.am: Escape quotes in echo.
13336 * Makefile.in: Rebuilt.
13338 2002-03-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13340 * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
13341 * Makefile.in: Rebuilt.
13343 2002-03-15 Anthony Green <green@redhat.com>
13345 * configure.host (FILE): New macro for specifing File
13347 * configure: Rebuilt.
13348 * configure.in: Use FILE. Define HAVE_TIME for newlib targets.
13350 2002-03-15 Alexandre Oliva <aoliva@redhat.com>
13352 * Makefile.am (jv_convert_LDADD): Don't list libraries that are
13353 already implicitly brought in from libgcj.la.
13354 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
13355 * Makefile.in: Rebuilt.
13357 2002-03-15 Eric Blake <ebb9@email.byu.edu>
13359 * THANKS: Fix punctuation, alphabetization.
13361 2002-03-15 Tom Tromey <tromey@redhat.com>
13362 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13364 Fix for PR libgcj/5944.
13365 * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
13367 2002-03-15 Anthony Green <green@redhat.com>
13369 * configure.in (tool_include_dir): Define.
13370 * configure: Rebuilt.
13371 * gcj/Makefile.am: Install libgcj-config.h relative to
13373 * gcj/Makefile: Rebuilt.
13374 * gcj/libgcj-config.h: Add warning comment.
13376 2002-03-12 Andreas Tobler <a.tobler@schweiz.ch>
13378 * configure.host (powerpc*-darwin*): Enable interpreter.
13380 2002-03-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13382 * include/posix.h: Add multiple include header protection.
13383 * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
13385 2002-03-10 Adam Megacz <adam@xwt.org>
13387 * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
13389 2002-03-10 Tom Tromey <tromey@redhat.com>
13391 * java/awt/GridLayout.java (layoutContainer): Handle case where
13392 there are no items in container.
13394 * java/lang/Win32Process.java: Added comment.
13395 * include/posix.h (_Jv_platform_close_on_exec): New function.
13397 * include/win32.h (_Jv_platform_close_on_exec): New function.
13398 * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
13400 (accept): Likewise.
13401 * java/net/natPlainDatagramSocketImpl.cc (create): Set
13402 close-on-exec flag.
13403 * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
13406 2002-03-09 Tom Tromey <tromey@redhat.com>
13408 * verify.cc (state::NO_STACK): New constant.
13409 (state::is_unmerged_ret_state): Handle case where stacktop is
13411 (state::merge): Handle NO_STACK merges.
13412 (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
13413 for instruction following jsr.
13414 (stacktop, stackdepth): Removed unused variables.
13415 (pop_jump): Ignore case where all remaining states are skipped.
13417 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13419 * java/awt/ImageMediaEntry: Removed.
13420 * java/awt/MediaEntry: Removed.
13422 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13424 Hashtable synchronization for PowerPC.
13425 * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
13426 slow_pthread_self. Set up symlink for sysdeps directory.
13427 * configure: Rebuild.
13428 * configure.host: Document more shell variables. Set sysdeps_dir
13429 for most platforms. Set slow_pthread_self for i686. Set
13430 enable_hash_synchronization_default and slow_pthread_self for PowerPC.
13431 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
13432 that memory barrier is emitted where required.
13433 * prims.cc: 64-bit align static primitive class instances.
13434 * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
13435 read_barrier() to enforce ordering of reads.
13436 * sysdep/powerpc/locks.h: New file. Implementation of synchronization
13437 primitives for PowerPC.
13438 * sysdep/i386/locks.h: New file. Synchronization primitives for i386
13439 moved from natObject.cc.
13440 * sysdep/alpha/locks.h: Likewise.
13441 * sysdep/ia64/locks.h: Likewise.
13442 * sysdep/generic/locks.h: Likewise.
13443 * java/lang/natObject.cc: Move thread synchronization primitives to
13444 system-dependent headers.
13446 2002-03-09 Adam Megacz <adam@xwt.org>
13448 * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
13449 bytes read and no failure code returned.
13451 2002-03-09 Adam Megacz <adam@xwt.org>
13453 * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
13454 definitions to simulate -mthreads.
13456 2002-03-09 Adam Megacz <adam@xwt.org>
13458 * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
13459 avoid precision loss.
13461 2002-03-09 Per Bothner <per@bothner.com>
13463 * gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.
13464 * gnu/gcj/xlib/XImage.java: Likewise.
13465 * gnu/gcj/xlib/XColor.java: Likewise.
13467 2002-03-09 Adam Megacz <adam@xwt.org>
13469 * java/lang/Win32Process.java (ConcreteProcess): Now throws an
13470 IOException so that Throwable.printStackTrace fails correctly.
13472 2002-03-08 Adam Megacz <adam@xwt.org>
13474 * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
13477 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13479 * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
13482 2002-03-08 Tom Tromey <tromey@redhat.com>
13484 * include/jni.h: Include stdio.h.
13486 2002-03-08 Tom Tromey <tromey@redhat.com>
13488 * posix.cc (internal_gettimeofday): New function.
13489 (_Jv_select): Use it.
13491 2002-03-07 Adam Megacz <adam@xwt.org>
13493 * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
13494 WIN32, and added thunks for read(), write(), and close().
13495 * java/net/natPlainSocketImpl.cc (accept, read, read):
13496 Disabled timeouts on WIN32 pending discussion.
13498 2002-03-07 Adam Megacz <adam@xwt.org>
13500 * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
13501 returns jlong. Added implementation
13502 * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
13504 * win32.h (_Jv_platform_gettimeofday): Now takes no args,
13506 * posix.h (_Jv_platform_gettimeofday): Now takes no args,
13508 * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
13509 _Jv_platform_gettimeofday signature.
13511 2002-03-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13513 * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
13514 (read): Call recv() directly, not _Jv_recv().
13516 2002-03-06 Tom Tromey <tromey@redhat.com>
13518 * java/io/natFileDescriptorEcos.cc (init): Don't use
13520 * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
13522 (init): Don't use GetStdHandle.
13524 * include/config.h.in: Rebuilt.
13525 * configure: Rebuilt.
13526 * Makefile.in: Rebuilt.
13528 2002-03-06 Adam Megacz <adam@xwt.org>
13530 * java/io/FileDescriptor.java: Initialize in/out/err in init().
13531 * java/io/natFileDescriptorWin32.cc (init()): Added function.
13532 * java/io/natFileDescriptorPosix.cc (init()): Added function.
13533 * java/io/natFileDescriptorEcos.cc (init()): Added function.
13535 2002-03-06 Eric Blake <ebb9@email.byu.edu>
13537 * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
13538 the code for generating include/java-chartables.h.
13539 * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
13540 merge with Classpath.
13541 * scripts/unicode-muncher.pl: Copy from Classpath.
13542 * scritps/MakeCharTables.java: New file.
13543 * gnu/gcj/convert/Blocks-3.txt: New file.
13544 * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
13545 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
13546 * gnu/java/lang/CharData.java: Copy from Classpath.
13547 * Makefile.am (ordinary_java_source_files): Add
13548 gnu/java/lang/CharData.java.
13549 * configure.in: Remove --enable-fast-character option.
13550 * java/lang/Character.java: Merge algorithms and Javadoc with
13552 * java/lang/natCharacter.cc: Implement Unicode lookup table more
13554 * include/java-chardecomp.h: Regenerate.
13555 * include/java-chartables.h: Regenerate.
13557 2002-03-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13559 * java/awt/MediaTracker.java: Implemented.
13560 * Makefile.am: Add MediaTracker.
13561 * Makefile.in: Rebuilt.
13563 2002-03-05 Tom Tromey <tromey@redhat.com>
13565 * java/lang/natPosixProcess.cc (fail): Removed.
13566 (startProcess): Simplified error-handling. Preserve
13567 LD_LIBRARY_PATH across exec.
13569 * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
13570 AbstractMethodError.
13572 2002-03-03 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13574 * Makefile.am: Use -bootclasspath, not -CLASSPATH.
13575 * Makefile.in: Rebuilt.
13577 2002-03-03 Mark Wielaard <mark@klomp.org>
13579 * java/util/Timer (TaskQueue.stop): set elements to zero.
13581 2002-02-28 Anthony Green <green@redhat.com>
13583 * java/lang/reflect/natMethod.cc (result): Add void* element.
13584 (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments. Move
13587 2002-02-27 Adam Megacz <adam@xwt.org>
13589 * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
13592 2002-02-26 Tom Tromey <tromey@redhat.com>
13594 * java/lang/natSystem.cc (init_properties): Use __VERSION__.
13595 * gij.cc (version): Use __VERSION__.
13596 * include/config.h.in: Rebuilt.
13597 * acconfig.h (GCJVERSION): Removed.
13598 * configure: Rebuilt.
13599 * configure.in (GCJVERSION): Removed.
13601 2002-02-26 Andreas Schwab <schwab@suse.de>
13603 * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
13604 glibcpp_CXX, since libjava uses even another CXX.
13605 * aclocal.m4, configure: Regenerated.
13607 2002-02-26 Tom Tromey <tromey@redhat.com>
13609 * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
13612 2002-02-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13614 * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
13615 dependency tracking for .java files.
13616 * Makefile.in: Rebuilt.
13618 2002-02-24 Adam Megacz <adam@xwt.org>
13620 * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
13623 2002-02-24 Adam Megacz <adam@xwt.org>
13625 * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
13626 for Win32, changed #ifdefs to check WIN32 instead of the
13627 (now-obsolete) USE_WINSOCK, and removed support for socket
13628 timeouts on Win32 pending further discussion.
13630 2002-02-24 Adam Megacz <adam@xwt.org>
13632 * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
13633 * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
13636 2002-02-24 Adam Megacz <adam@xwt.org>
13638 * java/lang/Win32Process.java: Created a dummy class to allow
13639 build process to run to completion.
13641 2002-02-24 Jeff Sturm <jsturm@one-point.com>
13643 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
13644 Define ffi_result union for ffi_call result. Cast
13645 ffi_result members to jvalue.
13647 2002-02-23 Alexandre Oliva <aoliva@redhat.com>
13649 * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
13650 * testsuite/Makefile.in: Likewise.
13652 2002-02-20 Per Bothner <per@bothner.com>
13654 * java/net/URL.java (getPath): New JDK 1.3 method.
13656 * java/net/URLStreamHandler.java (parseURL):
13657 It is wrong to prepend '/' to the file part of a relative url.
13659 * java/net/URLStreamHandler.java (parseURL):
13660 Minor optizations - append '/' rather than "/".
13662 * java/net/URLStreamHandler.java (parseURL):
13663 Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
13664 We probably should canonicalize for a context-relative url, though.
13665 * java/net/URL.java (sameFile): Delegate to URLStreamHandler.
13666 * java/net/URLStreamHandler.java (canonicalizeFilename): New helper.
13667 (sameFile): New method. Uses canonicalizeFilename.
13669 2002-02-22 Tom Tromey <tromey@redhat.com>
13671 * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
13672 java.vendor and java.vm.vendor.
13673 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
13674 recent copyright date.
13675 * gnu/gcj/convert/Convert.java (version): Print `Inc'.
13676 * gij.cc (version): Print `Inc'.
13678 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
13680 * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
13681 * aclocal.m4, configure: Rebuilt.
13683 2002-02-20 Per Bothner <per@bothner.com>
13685 * gnu/gcj/protocol/file/Connection.java (conect): Open the input
13686 and/or output streams immediately here, instead of using File.exists.
13687 (inputStream, outputStream): New fields to save open streams.
13688 (getInputStream, getOutputStream): Use already-opened streams.
13690 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
13692 * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
13694 * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
13695 * aclocal.m4, configure, Makefile.in: Rebuilt.
13697 2002-02-19 Tom Tromey <tromey@redhat.com>
13699 Fix for PR libgcj/5696:
13700 * verify.cc (is_assignable_from_slow): Never call
13701 _Jv_IsAssignableFrom.
13702 (verify_instructions_0): Added new debug statement.
13703 (state::print): Print information about whether local has
13705 (state::merge): Don't call note_variable when merging locals.
13706 (state::set_exception): Removed old FIXME comment.
13708 2002-02-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13710 * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
13711 enable SO_BROADCAST.
13713 2002-02-18 Jason Merrill <jason@redhat.com>
13715 * name-finder.cc (toHex): Use word mode, not long long.
13717 * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
13719 2002-02-15 Tom Tromey <tromey@redhat.com>
13721 Fix for PR libgcj/5695:
13722 * verify.cc (is_assignable_from_slow): Check to see if target is
13723 an Object before checking to see if source is an interface.
13724 (verify_instructions_0) [op_invokeinterface]: Handle case where
13725 we're making an interface call on Object.
13727 2002-02-15 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13729 * Makefile.in: Rebuilt with Eric's change below.
13731 * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
13732 round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
13733 Removed functions which are now implemented in Math.java.
13735 2002-02-14 Eric Blake <ebb9@email.byu.edu>
13737 * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
13738 * Makefile.am (core_java_source_files): Add
13739 java/lang/StrictMath.java.
13740 * java/lang/Math.java: Merge with Classpath.
13741 * java/lang/StrictMath.java: New file - merge with Classpath.
13743 2002-02-14 Mark Wielaard <mark@klomp.org>
13745 * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
13746 package as a workaround for gcj 3.0.x
13748 2002-02-14 Mark Wielaard <mark@klomp.org>
13750 * java/security/BasicPermission.java: extends with fully qualified
13751 classname as workaround for gcj 3.0.4.
13753 2002-02-14 Eric Blake <ebb9@email.byu.edu>
13755 * java/net/DatagramSocketImpl.java (setOption, getOption): Work
13756 around gcj bug of wrong emitted qualifier for inherited method.
13757 * java/net/SocketImpl.java (setOption, getOption): Ditto.
13758 * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
13759 constructor to reduce amount of emitted bytecode. While this
13760 happens to work around a jikes 1.15 bug, it is still a useful
13761 patch even for correct compilers.
13762 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
13763 * gnu/java/rmi/server/UnicastRemoteCall.java
13764 (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
13766 2002-02-14 Eric Blake <ebb9@email.byu.edu>
13768 * java/net/DatagramSocketImpl.java: Reformat (no code changes).
13769 * java/net/SocketImpl.java: Ditto.
13770 * java/rmi/server/RMIClassLoader.java: Ditto.
13771 * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
13773 2002-02-14 Mark Wielaard <mark@klomp.org>
13775 Thanks to Takashi Okamoto
13776 * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
13777 * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
13778 * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
13780 2002-02-13 Todd Stock <toddastock@yahoo.com>
13782 Fix for PR libgcj/5670:
13783 * verify.cc (is_assignable_from_slow): If `source' is interface,
13784 recursively look for merge with `target'.
13786 2002-02-14 Martin Kahlert <martin.kahlert@infineon.com>
13788 * include/jni.h: Fix typo.
13790 2002-02-13 Martin Kahlert <martin.kahlert@infineon.com>
13792 * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
13795 2002-02-13 Todd Stock <toddastock@yahoo.com>
13797 Fix for PR libgcj/5671:
13798 * verify.cc (state::merge): Handle case where we're merging
13799 against an interface.
13801 2002-02-12 Tom Tromey <tromey@redhat.com>
13803 * exception.cc (std::abort): Mark as noreturn.
13805 2002-02-12 Adam Megacz <adam@xwt.org>
13807 * java/lang/Win32Process.java: Filled in a placeholder
13808 implementation so Win32 will build.
13810 2002-02-12 Adam Megacz <adam@xwt.org>
13812 * java/io/natFilePosix.cc: Copied this from natFile.cc.
13813 * java/io/natFile.cc: Removed from repository.
13814 * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
13816 2002-02-12 Adam Megacz <adam@xwt.org>
13818 * win32.cc: Added two #includes to make win32.cc compile.
13820 2002-02-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13822 * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
13824 (_Jv_InitGC): Don't bother locking, as this is always called from a
13825 single-thread. Turn off GC_all_interior_pointers. Remove dead code.
13827 2002-02-11 Adam Megacz <adam@xwt.org>
13829 * include/win32.h: Added _Jv_platform_gettimeofday.
13830 * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
13832 2002-02-11 Adam Megacz <adam@xwt.org>
13834 * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
13835 Added #undef STRICT to make windows.h and
13836 java/lang/reflect/Modifier.h cooperate.
13838 2002-02-11 Adam Megacz <adam@xwt.org>
13840 * java/io/natFileWin32.cc: Created a placeholder class with lots
13843 2002-02-11 Adam Megacz <adam@xwt.org>
13845 * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
13846 std::abort() to simply abort(). Also added "fake" std::abort() so
13847 we can #include unwind-pe.h without having to link against
13850 2002-02-10 Andreas Tobler <toa@pop.agri.ch>
13852 * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
13854 2002-02-08 Tom Tromey <tromey@redhat.com>
13856 * interpret.cc (convert): New function.
13857 (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
13861 2002-02-08 Anthony Green <green@redhat.com>
13863 * configure.host: Add support for xscale-elf embedded target.
13865 2002-02-08 Martin Kahlert <martin.kahlert@infineon.com>
13867 * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
13869 (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
13872 2002-02-07 Tom Tromey <tromey@redhat.com>
13874 * java/io/natFile.cc (_access): Use __builtin_alloca.
13877 (getCanonicalPath): Likewise.
13878 (performList): Likewise.
13879 (performMkdir): Likewise.
13880 (performSetReadOnly): Likewise.
13881 (performRenameTo): Likewise.
13882 (performSetLastModified): Likewise.
13883 (performCreate): Likewise.
13884 (performDelete): Likewise.
13886 2002-02-08 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13888 * HACKING: Fix URL for the automake-gcj.
13890 2002-02-07 Tom Tromey <tromey@redhat.com>
13892 * java/lang/natThrowable.cc: Updated copyright.
13893 * java/io/natFileWin32.cc: Updated copyright.
13894 * java/io/natFileDescriptorWin32.cc: Updated copyright.
13895 * win32-threads.cc: Updated copyright.
13896 * name-finder.cc: Updated copyright.
13897 * include/name-finder.h: Updated copyright.
13899 * include/name-finder.h: Conditionally include sys/wait.h.
13900 * include/config.h.in: Rebuilt.
13902 * java/io/natFile.cc (_access): Don't stack-allocate buffer.
13903 Size buffer based on real size of string.
13906 (getCanonicalPath): Likewise.
13907 (performList): Likewise.
13908 (performMkdir): Likewise.
13909 (performSetReadOnly): Likewise.
13910 (unixroot): Removed.
13911 (performRenameTo): Likewise.
13912 (performSetLastModified): Likewise.
13913 (performCreate): Likewise.
13914 (performDelete): Likewise.
13915 (performListRoots): Always return new array.
13917 * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
13918 * win32.cc (win32_exception_handler): Now static.
13919 * include/win32.h (_Jv_platform_initialize): Declare.
13920 (win32_exception_handler): Don't declare.
13921 * java/lang/natSystem.cc (currentTimeMillis): Use
13922 _Jv_platform_gettimeofday.
13923 * posix.cc (_Jv_platform_gettimeofday): Renamed.
13924 (_Jv_select): Use new name.
13925 (_Jv_platform_initialize): New function.
13926 * include/posix.h (_Jv_platform_gettimeofday): Renamed from
13928 (_Jv_platform_initialize): Declare.
13930 * configure: Rebuilt.
13931 * configure.in: Removed unnecessary parens.
13933 2002-02-06 Adam Megacz <adam@xwt.org>
13935 * configure.in: Changed mingw) to *mingw*).
13936 * win32.cc: Created this file.
13937 * win32.h: Created this file.
13938 * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
13939 win32_exception_handler from prims.cc to win32.cc, added
13941 * prims.cc: removed some #ifdef-WIN32'd headers which are no
13942 longer needed now that we have platform.h
13944 2002-02-06 Adam Megacz <adam@xwt.org>
13946 * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
13947 use uint<n>_t instead of LONG and BYTE
13949 2002-02-06 Adam Megacz <adam@xwt.org>
13951 * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
13953 2002-02-06 Anthony Green <green@redhat.com>
13955 * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
13956 Implement missing method stubs.
13957 java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
13959 * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
13960 concept of timezones.
13961 (init_properties): Don't refer to _Jv_Environment_Properties
13962 when this feature is not available.
13963 * include/config.h.in: Rebuilt.
13964 * acconfig.h: Add DISABLE_MAIN_ARGS.
13965 * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
13966 * configure: Rebuilt.
13967 * configure.in: Add --disable-main-args option. Test for
13968 opendir function. Replace AC_CHECK_SIZEOF with
13969 AC_COMPILE_CHECK_SIZEOF.
13970 * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
13971 * aclocal.m4: Rebuilt.
13972 * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
13974 2002-02-06 Tom Tromey <tromey@redhat.com>
13976 * verify.cc (require_array_type): If argument is a null array of
13977 references, return null as the element type.
13979 2002-02-06 Mark Wielaard <mark@klomp.org>
13981 * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
13982 duplicate of a wide type.
13984 2002-02-06 Tom Tromey <tromey@redhat.com>
13986 * verify.cc (type::isnull): New method.
13987 (require_array_type): Handle case where array is null.
13988 (verify_instructions_0) [op_arraylength]: Likewise.
13990 2002-02-05 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13992 * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
13993 Symlink PLATFORMH to platform.h.
13994 * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
13996 * java/lang/natSystem.cc: #include platform.h not posix.h.
13997 * Makefile.in: Rebuilt with libgcj automake.
13998 * configure: Rebuilt.
14000 2002-02-05 Richard Henderson <rth@redhat.com>
14002 * Makefile.in: Undo munging last change.
14004 2002-02-04 Adam Megacz <adam@xwt.org>
14006 * win32.cc: Created it.
14007 * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
14008 which is set to posix.cc or win32.cc.
14009 * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
14011 2002-02-04 Adam Megacz <adam@xwt.org>
14013 * configure.in: Corrected mingw case branches; added * before
14016 2002-02-04 Adam Megacz <adam@xwt.org>
14018 * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
14019 if compiling for win32
14021 2002-02-04 Adam Megacz <adam@xwt.org>
14023 * win32-threads.cc: #undef STRICT after gc.h inclusion
14025 2002-02-02 Tom Tromey <tromey@redhat.com>
14027 * Makefile.in: Rebuilt.
14029 2002-02-02 Jason Merrill <jason@redhat.com>
14031 * Makefile.am (clean-nat): New target.
14033 2002-02-02 Tom Tromey <tromey@redhat.com>
14035 * java/io/natFile.cc: Removed old "FIXME" comments.
14037 2002-02-01 Tom Tromey <tromey@redhat.com>
14039 * java/lang/natPosixProcess.cc (myclose): New function.
14041 (startProcess): Likewise.
14043 2002-02-01 Adam Megacz <adam@xwt.org>
14045 * prims.cc: Added #undef STRICT after #include<windows.h>.
14047 2002-02-01 Adam Megacz <adam@xwt.org>
14050 (_Jv_CreateJavaVM): We now use WIN32 instead of
14051 USE_WIN32_SIGNALLING and USE_WINSOCK.
14052 (win32_exception_handler): Now throws an exception out of
14053 the signal handler; assumes SJLJ.
14055 2002-02-01 Adam Megacz <adam@xwt.org>
14057 * win32-threads.cc:
14058 (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
14059 wait() algorithm to make it safe.
14060 (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
14061 Added lazy creation of Win32 Events for better performance
14062 (really_start): This now uses GC_CreateThread so boehm-gc
14063 knows about new threads even when statically linked.
14065 2002-02-01 Adam Megacz <adam@xwt.org>
14067 * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
14068 enable safer wait() algorithm.
14069 (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
14070 _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
14071 (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
14072 _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
14074 (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
14076 2002-02-01 Adam Megacz <adam@xwt.org>
14078 * configure.in: Added support for mingw.
14079 * java/lang/Win32Process.java: Created as empty file.
14080 * java/lang/natWin32Process.cc: Created as empty file.
14082 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
14085 * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
14086 for libiconv in LIBICONV variable.
14087 * configure: Regenerated.
14089 2002-01-31 Tom Tromey <tromey@redhat.com>
14091 * verify.cc (state::enter_subroutine): New method.
14092 (handle_jsr_insn): Use it.
14093 (state::merge): When processing a `ret', correctly use
14094 subroutine's state to determine which local variables have
14096 (push_exception_jump): Don't let stack overflow.
14098 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
14100 * gnu/gcj/convert/Convert.java: Only include one copyright year in
14103 2002-01-30 Tom Tromey <tromey@redhat.com>
14105 * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
14106 parameter for `recv' return type.
14108 * verify.cc (handle_ret_insn): Check for subroutine merge here...
14109 (state::merge): ... not here.
14110 (subr_entry_info): New structure.
14111 (entry_points): New field.
14112 (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs. Free
14115 2002-01-29 Tom Tromey <tromey@redhat.com>
14117 * java/awt/List.java (addNotify): Correctly check to see if peer
14120 * java/awt/GridLayout.java (layoutContainer): Use number of rows
14121 to compute height of each cell, and number of columns to compute
14122 width of each cell.
14123 * java/awt/Window.java (getOwnedWindows): Don't return null.
14124 * java/awt/FlowLayout.java (layoutContainer): Set width and height
14125 of component. Increment x using horizontal gap, not vertical
14128 2002-01-28 Tom Tromey <tromey@redhat.com>
14130 * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
14131 `nargs' byte is number of words, not number of arguments.
14133 2002-01-27 Tom Tromey <tromey@redhat.com>
14135 * java/awt/event/MouseEvent.java (modifiers): Removed field.
14137 * java/awt/event/InputEvent.java (modifiers, when): Now
14140 * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
14142 (state::merge): Use current class' class loader.
14143 (state::print): Print subroutine.
14144 (state::merge): Don't look at subroutine of unmerged `ret'.
14146 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
14148 * nogc.cc: Remove warnings.
14149 (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
14152 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14154 * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
14155 int, int): Remove empty "if" statement to work around compiler bug.
14156 (newPixels(int[], ColorModel, int, int): Likewise.
14158 2002-01-25 Per Bothner <per@bothner.com>
14160 * verify.cc (verify_fail): Change from being a top-level function
14161 to e method of _Jv_BytecodeVerifier. Emit current method name.
14162 Pass the current verifier to type: and state: methods as needed,
14163 for better error messages, and for resolve.
14164 (resolve): Pass current class's loader for Class.forName and
14165 _Jv_FindClassFromSignature, rather than using the default loader.
14166 (various type: and state: methods): Take _Jv_BytecodeVerifier* arg.
14167 (get_type_val_for_signature): Make non-static.
14168 (various methods): Pass start_PC implicitly, not explicitly.
14170 2002-01-25 Tom Tromey <tromey@redhat.com>
14172 * java/awt/FlowLayout.java (layoutContainer): Correctly compute
14173 loop termination condition.
14174 * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
14177 2002-01-24 Tom Tromey <tromey@redhat.com>
14179 * java/awt/Shape.java: Merged with Classpath.
14180 * java/awt/Scrollbar.java: Merged with Classpath.
14182 * java/awt/Container.java (addNotify): Unconditionally call
14183 addNotifyContainerChildren and superclass addNotify.
14185 * java/awt/image/ColorModel.java (getAlpha(Object)): Call
14186 getAlpha, not getBlue.
14188 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14190 * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
14192 * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
14193 (grabPixels(long)): Wait to be notified that the ImageProducer has
14196 2002-01-24 Per Bothner <per@bothner.com>
14198 * verify.cc (is_assignable_from_slow): If target is an interface,
14199 we must still check the source's superclass before giving up.
14201 2002-01-24 Tom Tromey <tromey@redhat.com>
14203 * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
14205 2002-01-23 Tom Tromey <tromey@redhat.com>
14207 * java/awt/BorderLayout.java (addLayoutComponent): Added missing
14210 * Makefile.in: Rebuilt.
14211 * Makefile.am (awt_java_source_files): Added new files.
14212 * java/awt/Toolkit.java: Merged with Classpath.
14213 * java/awt/PrintGraphics.java: New file from Classpath.
14214 * java/awt/PrintJob.java: New file from Classpath.
14215 * java/awt/datatransfer/Clipboard.java: New file from Classpath.
14216 * java/awt/datatransfer/ClipboardOwner.java: New file from
14218 * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
14219 * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
14220 * java/awt/datatransfer/MimeTypeParseException.java: New file from
14222 * java/awt/datatransfer/StringSelection.java: New file from
14224 * java/awt/datatransfer/SystemFlavorMap.java: New file from
14226 * java/awt/datatransfer/Transferable.java: New file from
14228 * java/awt/datatransfer/UnsupportedFlavorException.java: New file
14231 * Makefile.in: Rebuilt.
14232 * Makefile.am (awt_java_source_files): Added new files.
14233 * java/awt/image/AreaAveragingScaleFilter.java: New file from
14235 * java/awt/image/CropImageFilter.java: New file from Classpath.
14236 * java/awt/image/FilteredImageSource.java: New file from
14238 * java/awt/image/ImageFilter.java: New file from Classpath.
14239 * java/awt/image/MemoryImageSource.java: New file from Classpath.
14240 * java/awt/image/PixelGrabber.java: New file from Classpath.
14241 * java/awt/image/RGBImageFilter.java: New file from Classpath.
14242 * java/awt/image/ReplicateScaleFilter.java: New file from
14244 * java/awt/image/ImageProducer.java: Replaced with Classpath
14246 * java/awt/image/ImageObserver.java: Replaced with Classpath
14248 * java/awt/image/ImageConsumer.java: Replaced with Classpath
14250 * java/awt/GridBagConstraints.java (clone): Catch
14251 CloneNotSupportedException.
14253 2002-01-23 Per Bothner <per@bothner.com>
14255 * java/lang/reflect/natField.cc (setAddr): New function.
14256 Calls getAddr and then checks that the field isn't final.
14257 (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
14258 setDouble, set): Use setAddr instead of getAddr, to check for FINAL.
14259 (set): Call setAddr before check that new value has right type,
14260 to better match specified semantics.
14262 2002-01-22 Tom Tromey <tromey@redhat.com>
14264 * java/awt/TextField.java: Replaced with Classpath version.
14265 * java/awt/TextArea.java: Replaced with Classpath version.
14266 * java/awt/TextComponent.java: Replaced with Classpath version.
14268 * java/awt/GridBagConstraints.java: Updated copyright.
14270 2002-01-22 Mark Wielaard <mark@klomp.org>
14272 * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
14273 java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
14274 java/awt/Dialog.java java/awt/FileDialog.java
14275 java/awt/Font.java java/awt/FontMetrics.java
14276 java/awt/Image.java java/awt/ImageMediaEntry.java
14277 java/awt/Insets.java java/awt/List.java
14278 java/awt/MediaEntry.java java/awt/MediaTracker.java
14279 java/awt/Menu.java java/awt/MenuBar.java
14280 java/awt/MenuContainer.java java/awt/MenuShortcut.java
14281 java/awt/PaintContext.java java/awt/Panel.java
14282 java/awt/PopupMenu.java java/awt/SystemColor.java
14283 java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
14284 java/awt/peer/CheckboxMenuItemPeer.java
14285 java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
14286 java/awt/peer/ComponentPeer.java
14287 java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
14288 java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
14289 java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
14290 java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
14291 java/awt/peer/MenuBarPeer.java
14292 java/awt/peer/MenuComponentPeer.java
14293 java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
14294 java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
14295 java/awt/peer/ScrollPanePeer.java
14296 java/awt/peer/ScrollbarPeer.java
14297 java/awt/peer/TextAreaPeer.java
14298 java/awt/peer/TextComponentPeer.java
14299 java/awt/peer/TextFieldPeer.java
14300 java/awt/peer/WindowPeer.java: Add license clarification.
14302 2002-01-22 Mark Wielaard <mark@klomp.org>
14304 * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
14305 gnu/gcj/runtime/StringBuffer.java
14306 gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
14307 gnu/java/awt/ComponentDataBlitOp.java
14308 gnu/java/awt/GLightweightPeer.java
14309 gnu/java/beans/BeanInfoEmbryo.java
14310 gnu/java/beans/EmptyBeanInfo.java
14311 gnu/java/beans/ExplicitBeanInfo.java
14312 gnu/java/beans/IntrospectionIncubator.java
14313 gnu/java/beans/editors/ColorEditor.java
14314 gnu/java/beans/editors/FontEditor.java
14315 gnu/java/beans/editors/NativeBooleanEditor.java
14316 gnu/java/beans/editors/NativeByteEditor.java
14317 gnu/java/beans/editors/NativeDoubleEditor.java
14318 gnu/java/beans/editors/NativeFloatEditor.java
14319 gnu/java/beans/editors/NativeIntEditor.java
14320 gnu/java/beans/editors/NativeLongEditor.java
14321 gnu/java/beans/editors/NativeShortEditor.java
14322 gnu/java/beans/editors/StringEditor.java
14323 gnu/java/beans/info/ComponentBeanInfo.java
14324 gnu/java/io/ClassLoaderObjectInputStream.java
14325 gnu/java/io/NullOutputStream.java
14326 gnu/java/io/ObjectIdentityWrapper.java
14327 gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
14328 gnu/java/lang/reflect/TypeSignature.java
14329 gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
14330 gnu/java/locale/Calendar_en.java
14331 gnu/java/locale/Calendar_nl.java
14332 gnu/java/locale/LocaleInformation.java
14333 gnu/java/locale/LocaleInformation_de.java
14334 gnu/java/locale/LocaleInformation_en.java
14335 gnu/java/locale/LocaleInformation_nl.java
14336 gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
14337 gnu/java/rmi/registry/RegistryImpl.java
14338 gnu/java/rmi/rmic/Compile_gcj.java
14339 gnu/java/rmi/rmic/Compiler.java
14340 gnu/java/rmi/rmic/CompilerProcess.java
14341 gnu/java/rmi/rmic/RMIC.java
14342 gnu/java/rmi/rmic/TabbedWriter.java
14343 gnu/java/rmi/server/ProtocolConstants.java
14344 gnu/java/rmi/server/RMIDefaultSocketFactory.java
14345 gnu/java/rmi/server/RMIHashes.java
14346 gnu/java/rmi/server/RMIObjectInputStream.java
14347 gnu/java/rmi/server/RMIObjectOutputStream.java
14348 gnu/java/rmi/server/UnicastConnection.java
14349 gnu/java/rmi/server/UnicastConnectionManager.java
14350 gnu/java/rmi/server/UnicastRef.java
14351 gnu/java/rmi/server/UnicastRemoteCall.java
14352 gnu/java/rmi/server/UnicastRemoteStub.java
14353 gnu/java/rmi/server/UnicastServer.java
14354 gnu/java/rmi/server/UnicastServerRef.java
14355 gnu/java/security/provider/DefaultPolicy.java
14356 gnu/java/security/provider/Gnu.java
14357 gnu/java/security/provider/SHA.java
14358 gnu/java/security/provider/SHA1PRNG.java
14359 gnu/java/text/BaseBreakIterator.java
14360 gnu/java/text/CharacterBreakIterator.java
14361 gnu/java/text/LineBreakIterator.java
14362 gnu/java/text/SentenceBreakIterator.java
14363 gnu/java/text/WordBreakIterator.java
14364 gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
14365 java/applet/AppletContext.java java/applet/AppletStub.java
14366 java/applet/AudioClip.java java/awt/AWTError.java
14367 java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
14368 java/awt/AWTException.java java/awt/AWTPermission.java
14369 java/awt/ActiveEvent.java java/awt/BorderLayout.java
14370 java/awt/Button.java java/awt/Canvas.java
14371 java/awt/CardLayout.java java/awt/Checkbox.java
14372 java/awt/CheckboxGroup.java java/awt/Component.java
14373 java/awt/ComponentOrientation.java java/awt/Container.java
14374 java/awt/Dimension.java java/awt/Event.java
14375 java/awt/EventDispatchThread.java java/awt/EventQueue.java
14376 java/awt/FlowLayout.java java/awt/Frame.java
14377 java/awt/Graphics.java java/awt/Graphics2D.java
14378 java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
14379 java/awt/IllegalComponentStateException.java
14380 java/awt/ItemSelectable.java java/awt/Label.java
14381 java/awt/LayoutManager.java java/awt/LayoutManager2.java
14382 java/awt/MenuComponent.java java/awt/MenuItem.java
14383 java/awt/Paint.java java/awt/Point.java
14384 java/awt/Rectangle.java java/awt/RenderingHints.java
14385 java/awt/Transparency.java java/awt/Window.java
14386 java/awt/color/ColorSpace.java
14387 java/awt/color/ICC_ColorSpace.java
14388 java/awt/color/ICC_Profile.java
14389 java/awt/event/HierarchyBoundsAdapter.java
14390 java/awt/event/HierarchyBoundsListener.java
14391 java/awt/event/HierarchyEvent.java
14392 java/awt/event/HierarchyListener.java
14393 java/awt/geom/AffineTransform.java
14394 java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
14395 java/awt/geom/IllegalPathStateException.java
14396 java/awt/geom/Line2D.java
14397 java/awt/geom/NoninvertibleTransformException.java
14398 java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
14399 java/awt/geom/Rectangle2D.java
14400 java/awt/geom/RectangularShape.java
14401 java/awt/geom/RoundRectangle2D.java
14402 java/awt/image/BufferedImage.java
14403 java/awt/image/ColorModel.java
14404 java/awt/image/ComponentColorModel.java
14405 java/awt/image/ComponentSampleModel.java
14406 java/awt/image/DataBuffer.java
14407 java/awt/image/DataBufferByte.java
14408 java/awt/image/DataBufferInt.java
14409 java/awt/image/DataBufferUShort.java
14410 java/awt/image/DirectColorModel.java
14411 java/awt/image/PackedColorModel.java
14412 java/awt/image/Raster.java java/awt/image/RasterOp.java
14413 java/awt/image/SampleModel.java
14414 java/awt/image/SinglePixelPackedSampleModel.java
14415 java/awt/image/WritableRaster.java
14416 java/beans/AppletInitializer.java
14417 java/beans/BeanDescriptor.java java/beans/BeanInfo.java
14418 java/beans/Beans.java java/beans/Customizer.java
14419 java/beans/DesignMode.java java/beans/EventSetDescriptor.java
14420 java/beans/FeatureDescriptor.java
14421 java/beans/IndexedPropertyDescriptor.java
14422 java/beans/IntrospectionException.java
14423 java/beans/Introspector.java java/beans/MethodDescriptor.java
14424 java/beans/ParameterDescriptor.java
14425 java/beans/PropertyChangeEvent.java
14426 java/beans/PropertyChangeListener.java
14427 java/beans/PropertyChangeSupport.java
14428 java/beans/PropertyDescriptor.java
14429 java/beans/PropertyEditor.java
14430 java/beans/PropertyEditorManager.java
14431 java/beans/PropertyEditorSupport.java
14432 java/beans/PropertyVetoException.java
14433 java/beans/SimpleBeanInfo.java
14434 java/beans/VetoableChangeListener.java
14435 java/beans/VetoableChangeSupport.java
14436 java/beans/Visibility.java
14437 java/beans/beancontext/BeanContext.java
14438 java/beans/beancontext/BeanContextChild.java
14439 java/beans/beancontext/BeanContextChildComponentProxy.java
14440 java/beans/beancontext/BeanContextChildSupport.java
14441 java/beans/beancontext/BeanContextContainerProxy.java
14442 java/beans/beancontext/BeanContextEvent.java
14443 java/beans/beancontext/BeanContextMembershipEvent.java
14444 java/beans/beancontext/BeanContextMembershipListener.java
14445 java/beans/beancontext/BeanContextProxy.java
14446 java/beans/beancontext/BeanContextServiceAvailableEvent.java
14447 java/beans/beancontext/BeanContextServiceProvider.java
14448 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
14449 java/beans/beancontext/BeanContextServiceRevokedEvent.java
14450 java/beans/beancontext/BeanContextServiceRevokedListener.java
14451 java/beans/beancontext/BeanContextServices.java
14452 java/beans/beancontext/BeanContextServicesListener.java
14453 java/io/BufferedInputStream.java
14454 java/io/BufferedOutputStream.java java/io/BufferedReader.java
14455 java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
14456 java/io/ByteArrayOutputStream.java
14457 java/io/CharArrayReader.java java/io/CharArrayWriter.java
14458 java/io/CharConversionException.java java/io/DataInput.java
14459 java/io/DataInputStream.java java/io/DataOutput.java
14460 java/io/EOFException.java java/io/Externalizable.java
14461 java/io/FileFilter.java java/io/FileNotFoundException.java
14462 java/io/FilePermission.java java/io/FileReader.java
14463 java/io/FileWriter.java java/io/FilenameFilter.java
14464 java/io/FilterInputStream.java java/io/FilterOutputStream.java
14465 java/io/FilterReader.java java/io/FilterWriter.java
14466 java/io/IOException.java java/io/InputStream.java
14467 java/io/InterruptedIOException.java
14468 java/io/InvalidClassException.java
14469 java/io/InvalidObjectException.java
14470 java/io/NotActiveException.java
14471 java/io/NotSerializableException.java java/io/ObjectInput.java
14472 java/io/ObjectInputStream.java
14473 java/io/ObjectInputValidation.java java/io/ObjectOutput.java
14474 java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
14475 java/io/ObjectStreamConstants.java
14476 java/io/ObjectStreamException.java
14477 java/io/ObjectStreamField.java
14478 java/io/OptionalDataException.java java/io/OutputStream.java
14479 java/io/PipedInputStream.java java/io/PipedOutputStream.java
14480 java/io/PipedReader.java java/io/PipedWriter.java
14481 java/io/PrintWriter.java java/io/PushbackInputStream.java
14482 java/io/PushbackReader.java java/io/Reader.java
14483 java/io/SequenceInputStream.java java/io/Serializable.java
14484 java/io/SerializablePermission.java
14485 java/io/StreamCorruptedException.java
14486 java/io/StreamTokenizer.java
14487 java/io/StringBufferInputStream.java java/io/StringReader.java
14488 java/io/StringWriter.java java/io/SyncFailedException.java
14489 java/io/UTFDataFormatException.java
14490 java/io/UnsupportedEncodingException.java
14491 java/io/WriteAbortedException.java java/io/Writer.java
14492 java/lang/AbstractMethodError.java
14493 java/lang/ArithmeticException.java
14494 java/lang/ArrayIndexOutOfBoundsException.java
14495 java/lang/ArrayStoreException.java java/lang/Boolean.java
14496 java/lang/Byte.java java/lang/CharSequence.java
14497 java/lang/ClassCastException.java
14498 java/lang/ClassCircularityError.java
14499 java/lang/ClassFormatError.java
14500 java/lang/ClassNotFoundException.java
14501 java/lang/CloneNotSupportedException.java
14502 java/lang/Cloneable.java java/lang/Comparable.java
14503 java/lang/Compiler.java java/lang/Double.java
14504 java/lang/Error.java java/lang/Exception.java
14505 java/lang/ExceptionInInitializerError.java
14506 java/lang/Float.java java/lang/IllegalAccessError.java
14507 java/lang/IllegalAccessException.java
14508 java/lang/IllegalArgumentException.java
14509 java/lang/IllegalMonitorStateException.java
14510 java/lang/IllegalStateException.java
14511 java/lang/IllegalThreadStateException.java
14512 java/lang/IncompatibleClassChangeError.java
14513 java/lang/IndexOutOfBoundsException.java
14514 java/lang/InheritableThreadLocal.java
14515 java/lang/InstantiationError.java
14516 java/lang/InstantiationException.java java/lang/Integer.java
14517 java/lang/InternalError.java
14518 java/lang/InterruptedException.java
14519 java/lang/LinkageError.java java/lang/Long.java
14520 java/lang/NegativeArraySizeException.java
14521 java/lang/NoClassDefFoundError.java
14522 java/lang/NoSuchFieldError.java
14523 java/lang/NoSuchFieldException.java
14524 java/lang/NoSuchMethodError.java
14525 java/lang/NoSuchMethodException.java
14526 java/lang/NullPointerException.java java/lang/Number.java
14527 java/lang/NumberFormatException.java
14528 java/lang/OutOfMemoryError.java java/lang/Package.java
14529 java/lang/Process.java java/lang/Runnable.java
14530 java/lang/RuntimeException.java
14531 java/lang/RuntimePermission.java
14532 java/lang/SecurityException.java
14533 java/lang/SecurityManager.java java/lang/Short.java
14534 java/lang/StackOverflowError.java java/lang/StringBuffer.java
14535 java/lang/StringIndexOutOfBoundsException.java
14536 java/lang/ThreadDeath.java java/lang/ThreadGroup.java
14537 java/lang/ThreadLocal.java java/lang/UnknownError.java
14538 java/lang/UnsatisfiedLinkError.java
14539 java/lang/UnsupportedClassVersionError.java
14540 java/lang/UnsupportedOperationException.java
14541 java/lang/VerifyError.java java/lang/VirtualMachineError.java
14542 java/lang/Void.java java/lang/ref/PhantomReference.java
14543 java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
14544 java/lang/ref/SoftReference.java
14545 java/lang/ref/WeakReference.java
14546 java/lang/reflect/AccessibleObject.java
14547 java/lang/reflect/InvocationTargetException.java
14548 java/lang/reflect/Member.java java/lang/reflect/Modifier.java
14549 java/lang/reflect/ReflectPermission.java
14550 java/math/BigDecimal.java java/math/BigInteger.java
14551 java/net/Authenticator.java java/net/BindException.java
14552 java/net/ConnectException.java java/net/ContentHandler.java
14553 java/net/ContentHandlerFactory.java
14554 java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
14555 java/net/FileNameMap.java java/net/MalformedURLException.java
14556 java/net/MulticastSocket.java java/net/NetPermission.java
14557 java/net/NoRouteToHostException.java
14558 java/net/PasswordAuthentication.java
14559 java/net/ProtocolException.java java/net/ServerSocket.java
14560 java/net/Socket.java java/net/SocketException.java
14561 java/net/SocketImpl.java java/net/SocketImplFactory.java
14562 java/net/SocketOptions.java java/net/SocketPermission.java
14563 java/net/URLDecoder.java java/net/URLEncoder.java
14564 java/net/URLStreamHandlerFactory.java
14565 java/net/UnknownHostException.java
14566 java/net/UnknownServiceException.java
14567 java/rmi/AccessException.java
14568 java/rmi/AlreadyBoundException.java
14569 java/rmi/ConnectException.java
14570 java/rmi/ConnectIOException.java
14571 java/rmi/MarshalException.java java/rmi/MarshalledObject.java
14572 java/rmi/Naming.java java/rmi/NoSuchObjectException.java
14573 java/rmi/NotBoundException.java
14574 java/rmi/RMISecurityException.java
14575 java/rmi/RMISecurityManager.java java/rmi/Remote.java
14576 java/rmi/RemoteException.java java/rmi/ServerError.java
14577 java/rmi/ServerException.java
14578 java/rmi/ServerRuntimeException.java
14579 java/rmi/StubNotFoundException.java
14580 java/rmi/UnexpectedException.java
14581 java/rmi/UnknownHostException.java
14582 java/rmi/UnmarshalException.java
14583 java/rmi/activation/Activatable.java
14584 java/rmi/activation/ActivateFailedException.java
14585 java/rmi/activation/ActivationDesc.java
14586 java/rmi/activation/ActivationException.java
14587 java/rmi/activation/ActivationGroup.java
14588 java/rmi/activation/ActivationGroupDesc.java
14589 java/rmi/activation/ActivationGroupID.java
14590 java/rmi/activation/ActivationID.java
14591 java/rmi/activation/ActivationInstantiator.java
14592 java/rmi/activation/ActivationMonitor.java
14593 java/rmi/activation/ActivationSystem.java
14594 java/rmi/activation/Activator.java
14595 java/rmi/activation/UnknownGroupException.java
14596 java/rmi/activation/UnknownObjectException.java
14597 java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
14598 java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
14599 java/rmi/registry/Registry.java
14600 java/rmi/registry/RegistryHandler.java
14601 java/rmi/server/ExportException.java
14602 java/rmi/server/LoaderHandler.java
14603 java/rmi/server/LogStream.java java/rmi/server/ObjID.java
14604 java/rmi/server/Operation.java
14605 java/rmi/server/RMIClassLoader.java
14606 java/rmi/server/RMIClientSocketFactory.java
14607 java/rmi/server/RMIFailureHandler.java
14608 java/rmi/server/RMIServerSocketFactory.java
14609 java/rmi/server/RMISocketFactory.java
14610 java/rmi/server/RemoteCall.java
14611 java/rmi/server/RemoteObject.java
14612 java/rmi/server/RemoteRef.java
14613 java/rmi/server/RemoteServer.java
14614 java/rmi/server/RemoteStub.java
14615 java/rmi/server/ServerCloneException.java
14616 java/rmi/server/ServerNotActiveException.java
14617 java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
14618 java/rmi/server/SkeletonMismatchException.java
14619 java/rmi/server/SkeletonNotFoundException.java
14620 java/rmi/server/SocketSecurityException.java
14621 java/rmi/server/UID.java
14622 java/rmi/server/UnicastRemoteObject.java
14623 java/rmi/server/Unreferenced.java
14624 java/security/AccessControlContext.java
14625 java/security/AccessControlException.java
14626 java/security/AccessController.java
14627 java/security/AlgorithmParameterGenerator.java
14628 java/security/AlgorithmParameterGeneratorSpi.java
14629 java/security/AlgorithmParameters.java
14630 java/security/AlgorithmParametersSpi.java
14631 java/security/AllPermission.java
14632 java/security/BasicPermission.java
14633 java/security/Certificate.java java/security/CodeSource.java
14634 java/security/DigestException.java
14635 java/security/DigestInputStream.java
14636 java/security/DigestOutputStream.java
14637 java/security/DomainCombiner.java
14638 java/security/DummyKeyPairGenerator.java
14639 java/security/DummyMessageDigest.java
14640 java/security/DummySignature.java
14641 java/security/GeneralSecurityException.java
14642 java/security/Guard.java java/security/GuardedObject.java
14643 java/security/Identity.java java/security/IdentityScope.java
14644 java/security/InvalidAlgorithmParameterException.java
14645 java/security/InvalidKeyException.java
14646 java/security/InvalidParameterException.java
14647 java/security/Key.java java/security/KeyException.java
14648 java/security/KeyFactory.java java/security/KeyFactorySpi.java
14649 java/security/KeyManagementException.java
14650 java/security/KeyPair.java java/security/KeyPairGenerator.java
14651 java/security/KeyPairGeneratorSpi.java
14652 java/security/KeyStore.java
14653 java/security/KeyStoreException.java
14654 java/security/KeyStoreSpi.java
14655 java/security/MessageDigest.java
14656 java/security/MessageDigestSpi.java
14657 java/security/NoSuchAlgorithmException.java
14658 java/security/NoSuchProviderException.java
14659 java/security/Permission.java
14660 java/security/PermissionCollection.java
14661 java/security/Permissions.java java/security/Policy.java
14662 java/security/Principal.java java/security/PrivateKey.java
14663 java/security/PrivilegedAction.java
14664 java/security/PrivilegedActionException.java
14665 java/security/PrivilegedExceptionAction.java
14666 java/security/ProtectionDomain.java
14667 java/security/Provider.java
14668 java/security/ProviderException.java
14669 java/security/PublicKey.java
14670 java/security/SecureClassLoader.java
14671 java/security/SecureRandom.java
14672 java/security/SecureRandomSpi.java java/security/Security.java
14673 java/security/SecurityPermission.java
14674 java/security/Signature.java
14675 java/security/SignatureException.java
14676 java/security/SignatureSpi.java
14677 java/security/SignedObject.java java/security/Signer.java
14678 java/security/UnrecoverableKeyException.java
14679 java/security/UnresolvedPermission.java
14680 java/security/acl/Acl.java java/security/acl/AclEntry.java
14681 java/security/acl/AclNotFoundException.java
14682 java/security/acl/Group.java
14683 java/security/acl/LastOwnerException.java
14684 java/security/acl/NotOwnerException.java
14685 java/security/acl/Owner.java java/security/acl/Permission.java
14686 java/security/cert/CRL.java
14687 java/security/cert/CRLException.java
14688 java/security/cert/Certificate.java
14689 java/security/cert/CertificateEncodingException.java
14690 java/security/cert/CertificateException.java
14691 java/security/cert/CertificateExpiredException.java
14692 java/security/cert/CertificateFactory.java
14693 java/security/cert/CertificateFactorySpi.java
14694 java/security/cert/CertificateNotYetValidException.java
14695 java/security/cert/CertificateParsingException.java
14696 java/security/cert/X509CRL.java
14697 java/security/cert/X509CRLEntry.java
14698 java/security/cert/X509Certificate.java
14699 java/security/cert/X509Extension.java
14700 java/security/interfaces/DSAKey.java
14701 java/security/interfaces/DSAKeyPairGenerator.java
14702 java/security/interfaces/DSAParams.java
14703 java/security/interfaces/DSAPrivateKey.java
14704 java/security/interfaces/DSAPublicKey.java
14705 java/security/interfaces/RSAKey.java
14706 java/security/interfaces/RSAPrivateCrtKey.java
14707 java/security/interfaces/RSAPrivateKey.java
14708 java/security/interfaces/RSAPublicKey.java
14709 java/security/spec/AlgorithmParameterSpec.java
14710 java/security/spec/DSAParameterSpec.java
14711 java/security/spec/DSAPrivateKeySpec.java
14712 java/security/spec/DSAPublicKeySpec.java
14713 java/security/spec/EncodedKeySpec.java
14714 java/security/spec/InvalidKeySpecException.java
14715 java/security/spec/InvalidParameterSpecException.java
14716 java/security/spec/KeySpec.java
14717 java/security/spec/PKCS8EncodedKeySpec.java
14718 java/security/spec/RSAKeyGenParameterSpec.java
14719 java/security/spec/RSAPrivateCrtKeySpec.java
14720 java/security/spec/RSAPrivateKeySpec.java
14721 java/security/spec/RSAPublicKeySpec.java
14722 java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
14723 java/sql/BatchUpdateException.java java/sql/Blob.java
14724 java/sql/CallableStatement.java java/sql/Clob.java
14725 java/sql/Connection.java java/sql/DataTruncation.java
14726 java/sql/DatabaseMetaData.java java/sql/Date.java
14727 java/sql/Driver.java java/sql/DriverManager.java
14728 java/sql/DriverPropertyInfo.java
14729 java/sql/PreparedStatement.java java/sql/Ref.java
14730 java/sql/ResultSet.java java/sql/ResultSetMetaData.java
14731 java/sql/SQLData.java java/sql/SQLException.java
14732 java/sql/SQLInput.java java/sql/SQLOutput.java
14733 java/sql/SQLWarning.java java/sql/Statement.java
14734 java/sql/Struct.java java/sql/Time.java
14735 java/sql/Timestamp.java java/sql/Types.java
14736 java/text/Annotation.java
14737 java/text/AttributedCharacterIterator.java
14738 java/text/AttributedString.java
14739 java/text/AttributedStringIterator.java
14740 java/text/BreakIterator.java java/text/CharacterIterator.java
14741 java/text/ChoiceFormat.java java/text/Collator.java
14742 java/text/DateFormat.java java/text/DateFormatSymbols.java
14743 java/text/DecimalFormat.java
14744 java/text/DecimalFormatSymbols.java
14745 java/text/FieldPosition.java java/text/Format.java
14746 java/text/MessageFormat.java java/text/NumberFormat.java
14747 java/text/ParseException.java java/text/ParsePosition.java
14748 java/text/SimpleDateFormat.java
14749 java/text/StringCharacterIterator.java
14750 java/util/AbstractCollection.java java/util/AbstractList.java
14751 java/util/AbstractMap.java
14752 java/util/AbstractSequentialList.java
14753 java/util/AbstractSet.java java/util/ArrayList.java
14754 java/util/Arrays.java java/util/BasicMapEntry.java
14755 java/util/BitSet.java java/util/Calendar.java
14756 java/util/Collection.java java/util/Collections.java
14757 java/util/Comparator.java
14758 java/util/ConcurrentModificationException.java
14759 java/util/Date.java java/util/Dictionary.java
14760 java/util/EmptyStackException.java java/util/Enumeration.java
14761 java/util/EventListener.java java/util/EventObject.java
14762 java/util/GregorianCalendar.java java/util/HashMap.java
14763 java/util/HashSet.java java/util/Hashtable.java
14764 java/util/IdentityHashMap.java java/util/Iterator.java
14765 java/util/LinkedHashMap.java java/util/LinkedHashSet.java
14766 java/util/LinkedList.java java/util/List.java
14767 java/util/ListIterator.java java/util/ListResourceBundle.java
14768 java/util/Locale.java java/util/Map.java
14769 java/util/MissingResourceException.java
14770 java/util/NoSuchElementException.java
14771 java/util/Observable.java java/util/Observer.java
14772 java/util/Properties.java java/util/PropertyPermission.java
14773 java/util/PropertyResourceBundle.java java/util/Random.java
14774 java/util/RandomAccess.java java/util/ResourceBundle.java
14775 java/util/Set.java java/util/SimpleTimeZone.java
14776 java/util/SortedMap.java java/util/SortedSet.java
14777 java/util/Stack.java java/util/StringTokenizer.java
14778 java/util/TimeZone.java java/util/Timer.java
14779 java/util/TimerTask.java
14780 java/util/TooManyListenersException.java
14781 java/util/TreeMap.java java/util/TreeSet.java
14782 java/util/Vector.java java/util/WeakHashMap.java
14783 java/util/jar/Attributes.java java/util/jar/JarEntry.java
14784 java/util/jar/JarException.java java/util/jar/JarFile.java
14785 java/util/jar/JarInputStream.java
14786 java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
14787 java/util/zip/Adler32.java java/util/zip/CRC32.java
14788 java/util/zip/CheckedInputStream.java
14789 java/util/zip/CheckedOutputStream.java
14790 java/util/zip/Checksum.java
14791 java/util/zip/DataFormatException.java
14792 java/util/zip/Deflater.java
14793 java/util/zip/DeflaterOutputStream.java
14794 java/util/zip/GZIPInputStream.java
14795 java/util/zip/GZIPOutputStream.java
14796 java/util/zip/Inflater.java
14797 java/util/zip/InflaterInputStream.java
14798 java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
14799 java/util/zip/ZipException.java java/util/zip/ZipFile.java
14800 java/util/zip/ZipInputStream.java
14801 java/util/zip/ZipOutputStream.java
14802 javax/naming/BinaryRefAddr.java
14803 javax/naming/InvalidNameException.java javax/naming/Name.java
14804 javax/naming/NamingException.java javax/naming/RefAddr.java
14805 javax/naming/StringRefAddr.java: Add license clarification.
14807 2002-01-22 Tom Tromey <tromey@redhat.com>
14809 * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
14810 * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
14811 * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
14813 * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
14814 * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
14815 * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
14816 * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
14817 * java/awt/peer/DialogPeer.java: Replace with Classpath version.
14818 * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
14819 * java/awt/peer/FontPeer.java: Replace with Classpath version.
14820 * java/awt/peer/FramePeer.java: Replace with Classpath version.
14821 * java/awt/peer/LabelPeer.java: Replace with Classpath version.
14822 * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
14823 * java/awt/peer/ListPeer.java: Replace with Classpath version.
14824 * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
14825 * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
14826 * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
14827 * java/awt/peer/MenuPeer.java: Replace with Classpath version.
14828 * java/awt/peer/PanelPeer.java: Replace with Classpath version.
14829 * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
14830 * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
14831 * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
14832 * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
14833 * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
14834 * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
14835 * java/awt/peer/WindowPeer.java: Replace with Classpath version.
14836 * gnu/awt/xlib/XPanelPeer.java (insets): New method.
14837 * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
14838 (minimumSize, preferredSize, reshape): Likewise.
14839 * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
14840 getColorModel): New methods.
14841 * java/awt/PopupMenu.java: Merged with Classpath.
14842 * java/awt/MenuBar.java: Merged with Classpath.
14843 * java/awt/SystemColor.java: Replace with Classpath version.
14844 * java/awt/Panel.java: Merged with Classpath.
14845 * java/awt/PaintContext.java: Updated copyright.
14846 * java/awt/MenuShortcut.java: Merged with Classpath.
14847 * java/awt/MenuContainer.java: Merged with Classpath.
14848 * java/awt/Menu.java: Merged with Classpath.
14849 * java/awt/MediaEntry.java: New file from Classpath.
14850 * java/awt/MediaTracker.java: New file from Classpath.
14851 * java/awt/List.java: Merged with Classpath version.
14852 * java/awt/Insets.java: Merged with Classpath version.
14853 * java/awt/ImageMediaEntry.java: New file from Classpath.
14854 * java/awt/Image.java: Replaced with Classpath version.
14855 * java/awt/FontMetrics.java: Merged with Classpath version.
14856 * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
14858 * java/awt/Font.java: Merged with Classpath version.
14859 * java/awt/Dialog.java: Merged with Classpath version.
14860 * java/awt/Color.java: Merged with Classpath version.
14861 * java/awt/Choice.java: Merged with Classpath version.
14862 * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
14863 * java/awt/Adjustable.java: Replace with Classpath version.
14864 * java/awt/MenuItem.java (paramString): Don't include class name
14865 or brackets. Call superclass paramString.
14866 * java/awt/MenuComponent.java (toString): Call paramString.
14867 (paramString): Compute string; don't call toString.
14868 * java/awt/Label.java (paramString): Don't include class name
14869 or brackets. Call superclass paramString.
14870 * java/awt/Checkbox.java (paramString): Don't include class name
14871 or brackets. Call superclass paramString.
14872 * java/awt/Button.java (paramString): Don't include class name or
14873 brackets. Call superclass paramString.
14874 * java/awt/MenuComponent.java (getTreeLock): Now protected.
14876 2002-01-20 Andreas Schwab <schwab@suse.de>
14878 * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
14879 function and of parameter recv_func to ssize_t, as specified by
14882 2002-01-19 Per Bothner <per@bothner.com>
14884 * java/util/zip/ZipOutputStream.java (putNextEntry): Clear
14885 uncompressed_size in readiness for next entry.
14887 2002-01-18 Tom Tromey <tromey@redhat.com>
14889 * java/net/natPlainSocketImpl.cc: Include
14890 IllegalArgumentException.h.
14891 (_Jv_recv): New template function.
14892 (BooleanClass): Removed.
14893 (read): Use _Jv_recv.
14894 (setOption): Use Boolean::class$. Throw exception if object is
14895 not Boolean or Integer.
14897 2002-01-17 Tom Tromey <tromey@redhat.com>
14899 * java/awt/MenuComponent.java: Merged with Classpath.
14900 * java/awt/MenuItem.java: Merged with Classpath.
14901 * java/awt/Button.java: Merged with Classpath.
14903 * java/awt/ActiveEvent.java: Updated copyright.
14905 * java/awt/AWTError.java: Replaced with Classpath version.
14906 * java/awt/AWTException.java: Replaced with Classpath version.
14907 * java/awt/IllegalComponentStateException.java: Replaced with
14910 2002-01-16 Tom Tromey <tromey@redhat.com>
14912 * java/awt/Canvas.java (serialVersionUID): New constant.
14913 Updated copyright. Added javadoc from Classpath.
14914 * java/awt/ItemSelectable.java: Replaced with Classpath version.
14916 * java/awt/CheckboxGroup.java: Merged with Classpath.
14917 * java/awt/Checkbox.java: Merged with Classpath.
14919 * java/awt/Dimension.java: Updated copyright. Added javadoc from
14921 * java/awt/Point.java: Updated copyright.
14923 * java/awt/Point.java (toString): Use getClass().getName().
14926 * java/util/IdentityHashMap.java (IdentityHashMap): Removed
14928 (hash): Correctly compute initial value for `h'.
14930 * java/awt/Label.java: Merged with Classpath.
14932 2002-01-15 Tom Tromey <tromey@redhat.com>
14934 * java/awt/AWTPermission.java: Updated copyright.
14936 * java/awt/LayoutManager2.java: Merged with Classpath.
14937 * java/awt/LayoutManager.java: Merged with Classpath.
14938 * java/awt/GridLayout.java: Updated copyright and javadoc.
14939 (getSize): Use `parent.ncomponents'. Handle insets.
14940 (layoutContainer): Use `parent.ncomponents'. Handle case where
14941 there are fewer children than columns. Correctly compute size of
14942 each cell in the grid. Handle case where there isn't enough
14944 * java/awt/CardLayout.java (tab): Renamed from `map'. Updated
14946 (gotoComponent): Use parent.ncomponents. Ensure child exists
14947 before calling setVisible() on it. Last item is `num - 1', not
14949 (layoutContainer): Hoist invariants out of loop.
14951 Start of AWT merge with Classpath:
14952 * Makefile.in: Rebuilt.
14953 * Makefile.am (awt_java_source_files): Reference files in
14954 gnu/java/awt, not gnu/gcj/awt.
14955 * java/awt/image/BufferedImage.java: Updated copyright.
14956 * java/awt/image/ComponentColorModel.java: Updated copyright.
14957 * java/awt/image/ComponentSampleModel.java: Updated copyright.
14958 * java/awt/image/DataBuffer.java: Updated copyright.
14959 * java/awt/image/DataBufferByte.java: Updated copyright.
14960 * java/awt/image/DataBufferInt.java: Updated copyright.
14961 * java/awt/image/DataBufferUShort.java: Updated copyright.
14962 * java/awt/image/IndexColorModel.java: Updated copyright.
14963 * java/awt/image/PackedColorModel.java: Updated copyright.
14964 * java/awt/image/Raster.java: Updated copyright.
14965 * java/awt/image/RasterOp.java: Updated copyright.
14966 * java/awt/image/SampleModel.java: Updated copyright.
14967 * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
14968 * java/awt/image/WritableRaster.java: Updated copyright.
14969 * java/awt/color/ColorSpace.java: Updated copyright.
14970 * java/awt/color/ICC_ColorSpace.java: Updated copyright
14971 * java/awt/color/ICC_Profile.java: Updated copyright.
14972 * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
14973 * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
14974 * java/awt/event/HierarchyEvent.java: Updated copyright.
14975 * java/awt/event/HierarchyListener.java: Updated copyright.
14976 * java/awt/geom/AffineTransform.java: Updated copyright.
14977 * java/awt/geom/Dimension2D.java: Updated copyright.
14978 * java/awt/geom/Ellipse2D.java: Updated copyright.
14979 * java/awt/geom/IllegalPathStateException.java: Updated copyright.
14980 * java/awt/geom/Line2D.java: Updated copyright.
14981 * java/awt/geom/NoninvertibleTransformException.java: Updated
14983 * java/awt/geom/PathIterator.java: Updated copyright.
14984 * java/awt/geom/Point2D.java: Updated copyright.
14985 * java/awt/geom/Rectangle2D.java: Updated copyright.
14986 * java/awt/geom/RectangularShape.java: Updated copyright.
14987 * java/awt/geom/RoundRectangle2D.java: Updated copyright.
14988 * java/awt/Toolkit.java: Updated import for file moves.
14989 * java/awt/Rectangle.java: Updated copyright; added javadoc from
14991 (hashCode): New method from Classpath.
14992 * java/awt/Graphics2D.java: Updated copyright.
14993 * java/awt/Transparency.java: Updated copyright.
14994 * java/awt/Paint.java: Updated copyright.
14995 * java/awt/Graphics.java: New version from Classpath.
14996 * java/awt/EventDispatchThread.java: Updated copyright.
14997 * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
14999 (gotoComponent): Wrap around on next/previous.
15000 * gnu/gcj/awt/BitMaskExtent.java: Removed.
15001 * gnu/gcj/awt/Buffers.java: Removed.
15002 * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
15003 * gnu/gcj/awt/GLightweightPeer.java: Removed.
15004 * gnu/java/awt/BitMaskExtent.java: Added.
15005 * gnu/java/awt/Buffers.java: Added.
15006 * gnu/java/awt/ComponentDataBlitOp.java: Added.
15007 * gnu/java/awt/GLightweightPeer.java: Added.
15008 * java/awt/geom/Line2D.java (clone): Ignore
15009 CloneNotSupportedException.
15010 * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
15011 * java/awt/Frame.java: Merged with Classpath.
15012 * java/awt/RenderingHints.java: Copyright update.
15013 * java/awt/Paint.java: Copyright update.
15014 * java/awt/image/DirectColorModel.java: Merged with Classpath.
15015 * java/awt/image/ColorModel.java: Merged with Classpath.
15016 * java/awt/Window.java (show): New Implementation from Classpath.
15017 (isShowing): Use super.isShowing().
15018 * java/awt/EventQueue.java: Merged with Classpath.
15019 * java/awt/AWTEventMulticaster.java (save): Throw
15021 (saveInternal): Likewise.
15022 * java/awt/AWTEvent.java: Now implements Serializable.
15023 * java/awt/Event.java: Copyright update.
15024 * java/awt/peer/ComponentPeer.java: Merged with Classpath.
15025 * java/awt/image/BufferedImage.java: Copyright update.
15026 * java/awt/GraphicsConfiguration.java: Copyright update.
15027 * java/awt/Component.java: (addNotify): Don't call
15028 addNotifyContainerChildren().
15029 (addNotifyContainerChildren): Removed.
15030 (setPeer): New method from Classpath.
15031 (setTreeLock): Likewise.
15032 (setVisible): Rewrote.
15035 (validate): Set `valid'.
15036 (checkImage(Image,ImageObserver)): Implementation from Classpath.
15037 (createImage(ImageProducer)): Likewise.
15038 (prepareImage): Likewise.
15039 * java/awt/Container.java (addImpl): Handle case where constraint
15040 is not a String. Post event via system event queue.
15041 (remove): Post event via system event queue.
15042 (validateTree): Only validate child if it is invalid.
15043 (getAlignmentX): Call super method as default.
15044 (getAlignmentY): Likewise.
15045 (addContainerListener): Now synchronized.
15046 (removeContainerListener): Likewise.
15047 (addNotifyContainerChildren): Now private.
15048 * java/awt/ComponentOrientation.java: Updated copyright. Added
15050 * java/awt/FlowLayout.java (serialVersionUID): New field.
15051 (setAlignment): Better exception message.
15052 (layoutContainer): Don't compute component's preferred size unless
15053 we're going to use it.
15054 * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
15055 BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
15056 (firstLine, lastLine, firstItem, lastItem): New fields.
15057 (addLayoutComponent): Handle case where constraints is null.
15058 Also, handle relative locations.
15059 (removeLayoutComponent): Handle relative locations.
15060 (MIN, MAX, PREF): New constants.
15061 (calcCompSize): New method.
15062 (calcSize): New method.
15063 (minimumLayoutSize): Use it.
15064 (preferredLayoutSize): Likewise.
15065 (maximumLayoutSize): Likewise.
15066 (toString): Include more information.
15067 (setBounds): New method.
15068 (layoutContainer): Use libgcj implementation; extended to handle
15069 relative locations.
15071 2002-01-15 Tom Tromey <tromey@redhat.com>
15073 * java/lang/Float.java (equals): Preserve old code.
15074 * java/lang/Double.java (equals): Preserve old code.
15076 2002-01-15 Eric Blake <ebb9@email.byu.edu>
15078 * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
15079 * java/lang/Float.java (equals, compare): Ditto.
15081 2002-01-13 Mark Wielaard <mark@klomp.org>
15083 * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
15084 * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
15085 * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
15086 * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
15088 2002-01-11 Mark Wielaard <mark@klomp.org>
15090 * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
15091 * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
15093 * java/net/MulticastSocket.java (MulticastSocket): Likewise.
15094 * java/net/Socket.java: Merge with Classpath.
15095 * java/net/ServerSocket.java: Likewise.
15097 2002-01-11 Chris Sears <cbsears_sf@yahoo.com>
15099 * interpret.cc (NULLARRAYCHECK): New macro.
15100 (SAVE_PC): Just store `pc'.
15101 (find_exception): Subtract one from `pc' here.
15102 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
15103 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
15104 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
15105 insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
15106 don't call SAVE_PC.
15107 (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
15110 2002-01-11 Tom Tromey <tromey@redhat.com>
15112 * java/lang/natSystem.cc (init_properties): Only look for default
15113 locale if LC_MESSAGES is defined.
15114 * aclocal.m4, configure, include/config.h.in: Rebuilt.
15115 * configure.in: Call AM_LC_MESSAGES.
15116 * acinclude.m4 (AM_LC_MESSAGES): New macro.
15118 2002-01-10 Tom Tromey <tromey@redhat.com>
15120 For PR libgcj/5303:
15121 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
15122 --version. Recognize GNU-style long options. Print GNU-style
15124 (usage): Print GNU-style help. Exit with status 0.
15125 (error): New method.
15126 (run): Print error message if no class names found.
15127 (main): Don't print usage on error.
15129 2002-01-09 Tom Tromey <tromey@redhat.com>
15131 * gnu/gcj/convert/Convert.java (version): Use java.vm.name
15133 (help, version): Use println(), not println("").
15135 For PR libgcj/5303:
15136 * gnu/gcj/convert/Convert.java (error): Program is called
15137 `jv-convert'. Print GNU-style message. Exit with status 1, not
15139 (main): Handle --help and --version.
15140 (help): New method.
15141 (version): Likewise.
15143 2002-01-08 Tom Tromey <tromey@redhat.com>
15145 * Makefile.in: Rebuilt.
15146 * Makefile.am (ordinary_java_source_files): Added new files.
15147 * gnu/java/locale/LocaleInformation.java: Extend
15148 LocaleInformation_en.
15149 * gnu/java/locale/LocaleInformation_en.java: Added zone strings
15150 and time/date formats.
15151 * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
15153 * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
15154 * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
15155 * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
15156 * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
15157 * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
15158 * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
15159 * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
15160 * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
15161 * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
15162 * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
15163 * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
15164 * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
15165 * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
15166 * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
15167 * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
15168 * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
15169 * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
15170 * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
15171 * gnu/java/locale/LocaleInformation_be_BY.java: New file.
15172 * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
15173 * gnu/java/locale/LocaleInformation_br_FR.java: New file.
15174 * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
15175 * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
15176 * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
15177 * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
15178 * gnu/java/locale/LocaleInformation_da_DK.java: New file.
15179 * gnu/java/locale/LocaleInformation_de_AT.java: New file.
15180 * gnu/java/locale/LocaleInformation_de_BE.java: New file.
15181 * gnu/java/locale/LocaleInformation_de_CH.java: New file.
15182 * gnu/java/locale/LocaleInformation_de_DE.java: New file.
15183 * gnu/java/locale/LocaleInformation_de_LU.java: New file.
15184 * gnu/java/locale/LocaleInformation_el_GR.java: New file.
15185 * gnu/java/locale/LocaleInformation_en_AU.java: New file.
15186 * gnu/java/locale/LocaleInformation_en_BW.java: New file.
15187 * gnu/java/locale/LocaleInformation_en_CA.java: New file.
15188 * gnu/java/locale/LocaleInformation_en_DK.java: New file.
15189 * gnu/java/locale/LocaleInformation_en_GB.java: New file.
15190 * gnu/java/locale/LocaleInformation_en_HK.java: New file.
15191 * gnu/java/locale/LocaleInformation_en_IE.java: New file.
15192 * gnu/java/locale/LocaleInformation_en_IN.java: New file.
15193 * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
15194 * gnu/java/locale/LocaleInformation_en_PH.java: New file.
15195 * gnu/java/locale/LocaleInformation_en_SG.java: New file.
15196 * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
15197 * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
15198 * gnu/java/locale/LocaleInformation_es_AR.java: New file.
15199 * gnu/java/locale/LocaleInformation_es_BO.java: New file.
15200 * gnu/java/locale/LocaleInformation_es_CL.java: New file.
15201 * gnu/java/locale/LocaleInformation_es_CO.java: New file.
15202 * gnu/java/locale/LocaleInformation_es_CR.java: New file.
15203 * gnu/java/locale/LocaleInformation_es_DO.java: New file.
15204 * gnu/java/locale/LocaleInformation_es_EC.java: New file.
15205 * gnu/java/locale/LocaleInformation_es_ES.java: New file.
15206 * gnu/java/locale/LocaleInformation_es_GT.java: New file.
15207 * gnu/java/locale/LocaleInformation_es_HN.java: New file.
15208 * gnu/java/locale/LocaleInformation_es_MX.java: New file.
15209 * gnu/java/locale/LocaleInformation_es_NI.java: New file.
15210 * gnu/java/locale/LocaleInformation_es_PA.java: New file.
15211 * gnu/java/locale/LocaleInformation_es_PE.java: New file.
15212 * gnu/java/locale/LocaleInformation_es_PR.java: New file.
15213 * gnu/java/locale/LocaleInformation_es_PY.java: New file.
15214 * gnu/java/locale/LocaleInformation_es_SV.java: New file.
15215 * gnu/java/locale/LocaleInformation_es_US.java: New file.
15216 * gnu/java/locale/LocaleInformation_es_UY.java: New file.
15217 * gnu/java/locale/LocaleInformation_es_VE.java: New file.
15218 * gnu/java/locale/LocaleInformation_et_EE.java: New file.
15219 * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
15220 * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
15221 * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
15222 * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
15223 * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
15224 * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
15225 * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
15226 * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
15227 * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
15228 * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
15229 * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
15230 * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
15231 * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
15232 * gnu/java/locale/LocaleInformation_he_IL.java: New file.
15233 * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
15234 * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
15235 * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
15236 * gnu/java/locale/LocaleInformation_id_ID.java: New file.
15237 * gnu/java/locale/LocaleInformation_it_CH.java: New file.
15238 * gnu/java/locale/LocaleInformation_it_IT.java: New file.
15239 * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
15240 * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
15241 * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
15242 * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
15243 * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
15244 * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
15245 * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
15246 * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
15247 * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
15248 * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
15249 * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
15250 * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
15251 * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
15252 * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
15253 * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
15254 * gnu/java/locale/LocaleInformation_no_NO.java: New file.
15255 * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
15256 * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
15257 * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
15258 * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
15259 * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
15260 * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
15261 * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
15262 * gnu/java/locale/LocaleInformation_se_NO.java: New file.
15263 * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
15264 * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
15265 * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
15266 * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
15267 * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
15268 * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
15269 * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
15270 * gnu/java/locale/LocaleInformation_te_IN.java: New file.
15271 * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
15272 * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
15273 * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
15274 * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
15275 * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
15276 * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
15277 * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
15278 * gnu/java/locale/LocaleInformation_yi_US.java: New file.
15279 * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
15280 * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
15281 * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
15282 * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
15284 For PR libgcj/5031:
15285 * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
15286 choose default locale.
15288 * Makefile.in: Rebuilt.
15289 * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
15291 2002-01-08 Nic Ferrier <nferrier@tf1.tapsellferrier.co.uk>
15293 * java/net/natPlainSocketImpl.cc: Added timeout handling for
15295 (close): New function closes the socket.
15296 (write): New functions for output to socket.
15297 (read): New functions for reading from socket.
15298 * java/net/PlainSocketImpl.java: Glue for new timeout
15300 (write): Call the native impl.
15302 (getInputStream): Get a stream to read from the socket.
15303 (getOutputStream): Get a stream to write to the socket.
15305 2002-01-08 Tom Tromey <tromey@redhat.com>
15307 * resolve.cc (_Jv_PrepareClass): Enable verifier.
15309 2002-01-07 Andreas Tobler <a.tobler@schweiz.ch>
15311 * java/lang/reflect/natMethod.cc: Don't include alloca.h.
15312 (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
15314 2002-01-08 Chris Sears <cbsears_sf@yahoo.com>
15316 * interpret.cc (ARRAYBOUNDSCHECK): New macro.
15317 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
15318 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
15319 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
15320 insn_bastore, insn_castore, insn_sastore]: Use it.
15321 (continue1) [insn_arraylength]: Check for null array.
15323 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
15325 * configure, include/config.h.in: Rebuilt.
15326 * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
15327 * configure.in: Call AC_STRUCT_TIMEZONE.
15329 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
15331 * configure.host: Disable the interpreter for Darwin.
15333 2002-01-04 Tom Tromey <tromey@redhat.com>
15335 * java/lang/Thread.java (stop): No longer synchronized.
15338 2002-01-02 Tom Tromey <tromey@redhat.com>
15340 * java/lang/ieeefp.h: Fix bug in my hand-application of previous
15343 2002-1-1 Andrew Pinski <pinskia@physics.uc.edu>
15345 * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
15346 PPC Darwin, not for all of Darwin.