1 2003-03-29 Mohan Embar <gnustuff@thisiscool.com>
3 * include/jvm.h: (_Jv_GetNbArgs) added
6 * prims.cc: (_Jv_GetNbArgs) implemented
7 (_Jv_GetSafeArg) implemented
8 (_Jv_SetArgs) implemented
9 (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
10 setting _Jv_argc and _Jv_argv
11 * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
13 * java/lang/natRuntime.cc: (insertSystemProperties) use
14 _Jv_GetSafeArg() instead of _Jv_argv
16 2003-04-23 Tom Tromey <tromey@redhat.com>
18 * resolve.cc (_Jv_PrepareClass): Round size up to alignment
19 required by this object. Search superclasses to find required
21 (get_alignment_from_class): Use alignment of type as it appears
24 (struct aligner): New helper structure.
26 2003-04-20 Scott Gilbertson <scottg@mantatest.com>
28 * java/awt/Container.java (addImpl): Enable paint events if adding
29 a lightweight to a heavyweight.
30 (addNotify): Ensure that peer is created before
31 addNotifyContainerChildren.
32 (addNotifyContainerChildren): Enable paint events if a heavyweight
33 container contains a lightweight.
35 2003-04-20 Tom Tromey <tromey@redhat.com>
37 * java/io/BufferedReader.java, java/io/BufferedWriter.java,
38 java/io/DataInput.java, java/io/DataOutput.java: Imports from
41 2003-04-19 Tom Tromey <tromey@redhat.com>
43 * java/sql/Date.java, java/sql/DriverManager.java,
44 java/sql/Time.java, java/sql/Timestamp.java: New versions from
47 * Makefile.in: Rebuilt.
48 * Makefile.am (ordinary_java_source_files): Added new files.
49 * java/security/AlgorithmParameterGenerator.java,
50 java/security/AlgorithmParameters.java, java/security/Engine.java,
51 java/security/Identity.java, java/security/IdentityScope.java,
52 java/security/KeyFactory.java,
53 java/security/KeyPairGenerator.java, java/security/KeyStore.java,
54 java/security/MessageDigest.java, java/security/Policy.java,
55 java/security/ProtectionDomain.java,
56 java/security/SecureRandom.java, java/security/Security.java,
57 java/security/Signature.java, java/security/SignatureSpi.java,
58 java/security/SignedObject.java, java/security/Signer.java,
59 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
60 java/security/spec/PSSParameterSpec.java,
61 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
62 java/security/spec/RSAOtherPrimeInfo.java: New versions from
65 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
67 * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
68 (dispose): Null metrics.
69 * gnu/awt/xlib/XToolkit.java (sync): Implement.
70 * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
72 (finalize): Call dispose.
73 * gnu/gcj/xlib/Drawable.java (gcCache): New field.
74 (gcCachedCount): New field.
75 (finalize): New method.
76 (putGCInCache): New method.
77 (getGCFromCache): New method.
78 * gnu/gcj/xlib/GC.java (GC): Make protected.
79 (clone): Get new GC from cache if possible.
80 (create): New static method.
81 (dispose): Save old GC in cache.
82 * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
84 * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
86 * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
87 * java/awt/Container.java (visitChild): Dispose gfx2 when
90 2003-04-19 Jerry Quinn <jlquinn@optonline.net>
92 * java/math/BigInteger.java (probablePrime): New.
93 * java/math/BigDecimal.java (unscaledValue): New.
95 2003-04-19 Ranjit Mathew <rmathew@hotmail.com>
97 * java/io/File.java (getAbsolutePath): On Windows, take care
98 of paths like "C:", "G:foo\bar", etc.
99 (getName): Make it work correctly on Windows.
100 (getParent): Make it work correctly on Windows. For UNIX,
101 fix bug that causes "/" to be returned as the parent of "/",
102 instead of null as returned by Sun's JRE.
104 * java/io/natFileWin32.cc: Change copyright owner to FSF.
106 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
108 * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
110 (CACHE_SIZE_PER_DISPLAY): New field
111 (fontMetricsCache): New field
112 (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
113 loading ISO10646-1 fonts.
115 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
117 * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
119 * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
122 2003-04-16 Richard Earnshaw <rearnsha@arm.com>
124 * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
127 2003-04-15 Jakub Jelinek <jakub@redhat.com>
129 * configure.host (*-linux*): Don't set slow_pthread_self if primary
130 installed libpthread is either linuxthreads with floating stacks or
133 2003-04-14 Tom Tromey <tromey@redhat.com>
135 * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
138 2003-04-10 Tom Tromey <tromey@redhat.com>
140 * verify.cc (pop64): Removed.
141 (verify_instructions_0) <op_pop2>: Inline code. Don't throw
142 exception if top-of-stack is narrow.
143 (initialize_stack): Check to ensure that <init> is not static and
146 2003-04-07 Aaron M. Renn (arenn@urbanophile.com)
148 * java/io/ObjectStreamException
150 * java/io/FilenameFilter
151 * java/io/ObjectInput
152 * java/io/ObjectOutput
153 * java/io/ObjectStreamConstants
154 Minor doc fixes, format fixes, spelling corrections, etc.
156 Corrected code samples in Javadocs to match reality
158 * java/io/ObjectInputValidation
159 Major documentation fixes - all Javadocs re-written or updated
161 2003-04-06 Michael Koch <konqueror@gmx.de>
163 * java/net/URLConnection.java:
164 Import classes directly.
165 (URLConnection): Merged class documentation with classpath.
166 (url): Moved, documentation from classpath added.
167 (doInput): Moved, documentation from classpath added.
168 (doOutput): Moved, documentation from classpath added.
169 (allowUserInteraction): Moved.
170 (useCaches): Moved, documentation from classpath added.
171 (ifModifiedSince): Moved, documentation from classpath added.
172 (connected): Moved, documentation from classpath added.
174 2003-04-06 Michael Koch <konqueror@gmx.de>
176 * java/io/FileInputStream.java
177 (skip): Renamed some variables to match classpath, added
178 checks from classpath.
180 2003-03-31 Michael Koch <konqueror@gmx.de>
182 * javax/swing/AbstractAction.java
183 (AbstractAction): Reformatted.
184 (serialVersionUID): New private member variable.
185 * javax/swing/plaf/BorderUIResource.java
186 (serialVersionUID): New private member variable.
187 * javax/swing/plaf/basic/BasicLookAndFeel.java
188 (serialVersionUID): New private member variable.
190 2003-03-31 Michael Koch <konqueror@gmx.de>
193 (valueOf): Deprecated, reformatted.
194 (toString): Deprecated, reformatted.
196 (valueOf): Deprecated, reformatted.
197 (toString): Deprecated, reformatted.
199 2003-03-31 Michael Koch <konqueror@gmx.de>
201 * java/rmi/dgc/VMID.java
202 (isUnique): Deprecated.
204 2003-03-31 Michael Koch <konqueror@gmx.de>
207 (separator): Merged documentation from classpath.
208 (separatorChar): Merged documentation from classpath.
209 (pathSeparator): Merged documentation from classpath.
210 (pathSeparatorChar): Merged documentation from classpath.
211 (path): Merged documentation from classpath.
212 (canRead): Merged documentation from classpath.
213 (canWrite): Merged documentation from classpath.
214 (createNewFile): Merged documentation from classpath.
215 (delete): Merged documentation from classpath.
216 (equals): Merged documentation from classpath.
217 (exists): Merged documentation from classpath.
218 (File): Renamed p to name to match classpath, merged documentation
220 (getAbsolutePath): Merged documentation from classpath.
221 (getCanonicalPath): Merged documentation from classpath.
222 (getCanonicalFile): Merged documentation from classpath.
223 (getName): Merged documentation from classpath.
224 (getParent): Merged documentation from classpath.
225 (getParentFile): Merged documentation from classpath.
226 (getPath): Merged documentation from classpath.
227 (hashCode): Merged documentation from classpath.
228 (isAbsolute): Merged documentation from classpath.
229 (isDirectory): Merged documentation from classpath.
230 (isFile): Merged documentation from classpath.
231 (isHidden): Merged documentation from classpath.
232 (lastModified): Merged documentation from classpath.
233 (length): Merged documentation from classpath.
234 (list): Merged documentation from classpath.
235 (listFiles): Merged documentation from classpath.
236 (toString): Merged documentation from classpath.
237 (toURL): Merged documentation from classpath.
238 (mkdir): Merged documentation from classpath.
239 (mkdirs): Merged documentation from classpath.
240 (createTempFile): Merged documentation from classpath.
241 (setReadOnly): Merged documentation from classpath.
242 (listRoots): Merged documentation from classpath.
243 (compareTo): Merged documentation from classpath.
244 (renameTo): Merged documentation from classpath.
245 (setLastModified): Merged documentation from classpath.
246 * java/io/PrintStream.java
247 (auto_flush): Merged documentation from classpath.
248 (PrintStream): Merged documentation from classpath.
249 (checkError): Merged documentation from classpath.
250 (setError): Merged documentation from classpath.
251 (close): Merged documentation from classpath.
252 (flush): Merged documentation from classpath.
253 (print): Merged documentation from classpath.
254 (println): Merged documentation from classpath.
255 (write): Renamed count to len to match classpath,
256 merged documentation from classpath.
257 * java/io/RandomAccessFile.java
258 (readShort): Merged documentation from classpath.
259 (readUnsignedByte): Merged documentation from classpath.
260 (readUnsignedShort): Merged documentation from classpath.
261 (readUTF): Merged documentation from classpath.
262 (seek): Reformatted, merged documentation from classpath.
263 (skipBytes): Renamed some variables to match classpath, reformatted,
264 merged documentation from classpath.
265 (write): Merged documentation from classpath.
266 (writeBoolean): Merged documentation from classpath.
267 (writeByte): Merged documentation from classpath.
268 (writeShort): Merged documentation from classpath.
269 (writeChar): Merged documentation from classpath.
270 (writeInt): Merged documentation from classpath.
271 (writeLong): Merged documentation from classpath.
272 (writeFloat): Merged documentation from classpath.
273 (writeDouble): Merged documentation from classpath.
274 (writeBytes): Merged documentation from classpath.
275 (writeChars): Merged documentation from classpath.
276 (writeUTF): Reformatted.
277 (getChannel): Reformatted.
279 2003-03-31 Michael Koch <konqueror@gmx.de>
281 * java/awt/font/TextAttribute.java
282 (readResolve): Throws java.io.InvalidObjectException.
284 2003-03-31 Michael Koch <konqueror@gmx.de>
286 * java/rmi/server/LoaderHandler.java
287 (loadClass): Deprecated.
288 (getSecurityContext): Deprecated.
289 * java/rmi/server/LogStream.java
290 (getDefaultStream): Deprecated.
291 (setDefaultStream): Deprecated.
292 (getOutputStream): Deprecated.
293 (setOutputStream): Deprecated.
295 (toString): Deprecated.
296 (parseLevel): Deprecated.
297 * java/rmi/server/Operation.java
298 (Operation): Deprecated.
299 (getOperation): Deprecated.
300 (toString): Deprecated.
301 * java/rmi/server/RemoteCall.java
302 (getOutputStream): Deprecated.
303 (releaseOutputStream): Deprecated.
304 (getInputStream): Deprecated.
305 (releaseInputStream): Deprecated.
306 (getResultStream): Deprecated.
307 (executeCall): Deprecated.
309 * java/rmi/server/RemoteRef.java
310 (invoke): Deprecated.
311 (newCall): Deprecated.
313 * java/rmi/server/RemoteStub.java
314 (setRef): Deprecated.
315 * java/rmi/server/Skeleton.java:
316 No need to import java.lang.Exception explicitly.
317 (dispatch): Deprecated.
318 (getOperations): Deprecated.
320 2003-03-31 Michael Koch <konqueror@gmx.de>
322 * java/rmi/dgc/VMID.java,
323 java/rmi/registry/RegistryHandler.java,
324 java/rmi/server/LogStream.java,
325 java/rmi/server/Operation.java,
326 java/rmi/server/RemoteCall.java,
327 java/rmi/server/RemoteRef.java,
328 java/rmi/server/RemoteStub.java:
331 2003-03-31 Michael Koch <konqueror@gmx.de>
333 * javax/swing/AbstractCellEditor.java,
334 javax/swing/AbstractListModel.java,
335 javax/swing/ActionMap.java,
336 javax/swing/BorderFactory.java,
337 javax/swing/ButtonGroup.java,
338 javax/swing/DefaultBoundedRangeModel.java,
339 javax/swing/DefaultButtonModel.java,
340 javax/swing/DefaultCellEditor.java,
341 javax/swing/DefaultComboBoxModel.java,
342 javax/swing/DefaultDesktopManager.java,
343 javax/swing/DefaultListCellRenderer.java,
344 javax/swing/DefaultSingleSelectionModel.java,
345 javax/swing/InputMap.java,
346 javax/swing/JComponent.java,
347 javax/swing/JMenu.java,
348 javax/swing/JSlider.java,
349 javax/swing/KeyStroke.java,
350 javax/swing/OverlayLayout.java,
351 javax/swing/ScrollPaneLayout.java,
352 javax/swing/SizeRequirements.java,
353 javax/swing/UIManager.java,
354 javax/swing/ViewportLayout.java,
355 javax/swing/border/AbstractBorder.java,
356 javax/swing/colorchooser/DefaultColorSelectionModel.java,
357 javax/swing/event/EventListenerList.java,
358 javax/swing/table/AbstractTableModel.java,
359 javax/swing/table/DefaultTableCellRenderer.java,
360 javax/swing/table/DefaultTableColumnModel.java,
361 javax/swing/table/DefaultTableModel.java,
362 javax/swing/table/TableColumn.java,
363 javax/swing/text/StyledEditorKit.java,
364 javax/swing/tree/DefaultMutableTreeNode.java,
365 javax/swing/tree/DefaultTreeModel.java,
366 javax/swing/tree/DefaultTreeSelectionModel.java,
367 javax/swing/tree/TreePath.java,
368 javax/swing/undo/AbstractUndoableEdit.java,
369 javax/swing/undo/StateEdit.java,
370 javax/swing/undo/StateEditable.java,
371 javax/swing/undo/UndoableEditSupport.java:
372 Merges from classpath.
374 2003-03-30 Tom Tromey <tromey@redhat.com>
376 * java/lang/String.java (data, boffset, count): Documented.
377 (String(byte[],String)): Reformatted.
378 (String(byte[])): Likewise.
379 (lastIndexOf(int)): Likewise.
380 (lastIndexOf(String)): Likewise.
381 (substring(int)): Renamed argument to match Classpath.
382 (String(StringBuffer)): Don't share buffer if it is nearly empty.
384 * java/lang/String.java: Miscellaneous minor formatting changes
385 to match Classpath more closely.
387 2003-03-29 Eric Blake <ebb9@email.byu.edu>
388 Tom Tromey <tromey@redhat.com>
390 * java/lang/natString.cc (hashCode): Use cachedHashCode.
392 (charAt): Put index in exception.
393 (contentEquals): New method.
394 Include StringBuffer.h.
395 * java/lang/String.java (cachedHashCode): New field.
396 (String()): Follow classpath implementation.
398 (contentEquals): Declare.
399 (subSequence): Don't declare IndexOutIfBoundsException in throws
401 (matches, replaceFirst, replaceAll, split): New methods from
404 2003-03-29 Tom Tromey <tromey@redhat.com>
406 * java/lang/String.java: Reordered to follow Classpath; merged in
409 * java/text/MessageFormat.java: Removed some whitespace.
411 * Makefile.in: Rebuilt.
412 * Makefile.am (awt_java_source_files): Added new files.
413 * gnu/javax/rmi/PortableServer.java,
414 gnu/javax/rmi/CORBA/DelegateFactory.java,
415 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
416 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
417 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
418 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
419 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
420 javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
421 javax/rmi/PortableRemoteObject.java,
422 javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
423 javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
424 javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
425 javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
426 javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
427 javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
429 * java/lang/natClass.cc (newInstance): Put method name in
431 (getConstructor): Likewise.
432 (getDeclaredConstructor): Likewise.
433 (getPrivateMethod): Likewise.
435 2003-03-28 Tom Tromey <tromey@redhat.com>
437 * java/lang/reflect/Proxy.java: New version from Classpath.
438 * java/lang/Package.java: New version from Classpath.
440 2003-03-29 Ulrich Weigand <uweigand@de.ibm.com>
442 * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
443 * configure: Regenerate.
445 2003-03-28 Michael Koch <konqueror@gmx.de>
448 Import needed classes instead of whole packages, merged class
449 documentation with classpath, moved constants and variables to top of
451 * java/io/PrintStream.java:
452 Merged class documentation with classpath, moved constants and
453 variables to top of class.
454 * java/io/RandomAccessFile.java
455 (RandomAccessFile): Merged with classpath.
456 (read): Merged with classpath).
457 (read*): Reformatted.
459 2003-03-28 Michael Koch <konqueror@gmx.de>
461 * java/io/FileDescriptor.java
462 (finalize): Throws Throwable, not IOException.
463 * java/io/ObjectOutputStream.java
464 (PutField.put): Doesnt throws anything.
466 2003Â03-28 Michael Koch <konqueror@gmx.de>
468 * java/io/FileOutputStream.java:
469 Merged class documentation and authors with classpath.
470 (FileOutputStream): Partly merged with classpath.
471 (write): Merged with classpath.
472 (getChannel): Make it synchronized instead of explicit block in this
474 * java/io/RandomAccessFile.java:
475 Merged class documentation and authors with classpath.
477 2003-03-26 Tom Tromey <tromey@redhat.com>
479 * java/lang/natRuntime.cc (insertSystemProperties): Set
480 gnu.classpath.home.url.
481 * Makefile.in: Rebuilt.
482 * Makefile.am: Define LIBDIR.
484 2003-03-25 Michael Koch <konqueror@gmx.de>
486 * java/io/FileInputStream.java
487 (read): Renamed b to buf and off to offset.
488 * java/io/FileOutputStream.java
489 (ch): Documentation added.
490 (FileOutputStream): Documentation added.
491 (getFD): Documentation added.
492 (write): Documentation added.
493 (close): Documentation added.
494 (getChannel): Documentation added.
496 2003-03-24 Michael Koch <konqueror@gmx.de>
498 * java/io/DataOutputStream.java
499 (write): Merged from classpath.
501 Merged copyrigth with classpath.
502 * java/io/FileInputStream.java
503 (getChannel): Made it synchronized instead of using a synchronized
505 * java/io/FileOutputStream.java: Reformatted.
506 * java/io/InputStreamReader.java
507 (InputStreamReader): Renamed enc to encoding_name.
508 (close): Merged documentation from classpath.
509 (getEncoding): Merged documentation from classpath.
510 (ready): Merged documentation from classpath.
511 (read): Merged documentation from classpath.
512 * java/io/LineNumberReader.java
513 (lineNumber): Made it private.
514 (LineNumberReader): Use Constant instead of a direct value.
515 * java/io/OutputStreamWriter.java
516 (OutputStreamWriter): Renamed enc to encoding_scheme, merged
517 documentation from classpath.
518 (close): Merged documentation from classpath.
519 (flush): Merged documentation from classpath.
520 (write): Merged documentation from classpath.
521 * java/io/PrintStream.java: Reformatted.
523 2003-03-24 Michael Koch <konqueror@gmx.de>
525 * javax/swing/text/ComponentView.java
526 (getComponent): Must be final.
527 * javax/swing/tree/DefaultTreeCellRenderer.java:
529 * javax/swing/undo/StateEditable.java:
532 2003-03-24 Michael Koch <konqueror@gmx.de>
534 * java/rmi/activation/ActivationInstantiator.java:
536 * java/rmi/activation/Activator.java:
538 * java/rmi/registry/RegistryHandler.java:
539 Remerged from classpath.
541 2003-03-24 Michael Koch <konqueror@gmx.de>
543 * java/util/Date.java:
544 Fixed documentation starting tag to make javadoc happy.
545 * java/util/regex/Pattern.java
546 (Pattern): Implements Serializable.
547 * java/util/PatternSyntaxException.java
548 (serialVersionUID): New member variable.
550 2003-03-24 Michael Koch <koqnueror@gmx.de>
552 * java/awt/ContainerOrderFocusTraversalPolicy.java
553 (getFirstComponent): Implemented.
554 (getLastComponent): Implemented.
555 (getDefaultComponent): Implemented.
556 (setImplicitDownCycleTraversal): Fixed implementation.
557 * java/awt/Robot.java
558 (Robot): Added documentation.
559 * java/awt/Toolkit.java
560 (getFontList): Deprecated.
561 (getFontMetrics): Deprecated.
562 (getPrintJob): Added documentation.
563 (getSystemSelection): Added documentation.
564 (getLockingKeyState): Added documentation.
565 (setLockingKeyState): Added documentation.
566 (createCustomCursor): Added documentation.
567 (getBestCursorSize): Added documentation.
568 (getMaximumCursorColors): Added documentation.
569 (isFrameStateSupported): Added documentation.
571 2003-03-24 Michael Koch <konqueror@gmx.de>
573 * java/io/RandomAccessFile.java:
574 More little merges with classpath. No code changes.
576 2003-03-24 Michael Koch <konqueror@gmx.de>
578 * java/net/natInetAddressNoNet.cc:
580 * java/net/natPlainDatagramSocketImplNoNet.cc:
581 Fixed inlcude of java/net/DatagramPacket.h.
582 * java/net/natPlainSocketImplNoNet.cc:
583 Include some missing classes.
585 2003-03-24 Michael Koch <konqueror@gmx.de>
587 * java/awt/dnd/DropTarget.java
588 (DropTargetAutoScroller): According to the online documentation, this
589 is protected, but in reality it is public.
590 * java/awt/dnd/DropTargetContext.java
591 (TransferableProxy): According to the online documentation, this
592 is protected, but in reality it is public.
594 2003-03-24 Michael Koch <konqueror@gmx.de>
596 * java/io/DataInputStream.java
597 (): Wrapped documentation line.
598 (): Fixed @return tag.
599 * java/io/DataOutputStream.java
600 (written): Moved to top of class.
601 (all methods): Merged documentation from classpath.
603 Merged copyright year with classpath.
604 * java/io/FileInputStream.java
605 (all methods): Merged documentation from classpath.
606 * java/io/LineNumberReader.java
607 (getLineNumber): Fixed @return tag.
608 * java/io/ObjectInputStream.java.
610 * java/io/ObjectOutputStream.java:
611 Reformatted, fixed some @see tags.
612 * java/io/OutputStreamWriter.java:
614 * java/io/Writer.java:
617 2003-03-24 Michael Koch <konqueror@gmx.de>
619 * java/awt/Frame.java
620 (DEFAULT_CURSOR): Fixed @deprecated tag.
621 (setCursor): Fixed @deprecated tag.
623 2003-03-24 Michael Koch <konqueror@gmx.de>
625 * java/beans/beancontext/BeanContextEvent.java:
628 2003-03-23 Eric Blake <ebb9@email.byu.edu>
630 * java/lang/natStringBuffer.cc (regionMatches): New function.
631 * java/lang/String.java (count): Now package-private.
632 * java/lang/StringBuffer.java: Merged with Classpath.
634 2003-03-23 Michael Koch <konqueror@gmx.de>
636 * java/io/BufferedOutputStream.java:
638 * java/io/BufferedReader.java:
640 * java/io/ByteArrayOutputStream.java
641 (size): Fixed @see tag.
642 * java/io/CharArrayWriter.java
643 (size): Fixed @see tag.
644 * java/io/DataInput.java:
646 * java/io/DataOutput.java:
648 * java/io/DataOutputStream.java:
649 Merged copyright years with classpath.
650 * java/io/Externalizable.java:
652 * java/io/FileFilter.java:
654 * java/io/FileInputStream.java:
655 Merged copyright years with classpath.
656 * java/io/FileOutputStream.java:
657 Merged copyright years with classpath.
658 * java/io/FilePermission.java
659 (FilePermission): Replaced @XXX with FIXME:.
660 * java/io/FileWriter.java:
662 * java/io/FilenameFilter.java:
664 * java/io/FilterInputStream.java:
666 * java/io/FilterOutputStream.java:
668 * java/io/FilterReader.java:
670 * java/io/FilterWriter.java:
672 * java/io/LineNumberInputStream.java
673 (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
675 (getLineNumber): Fixed @return tag.
676 * java/io/ObjectInput.java:
678 * java/io/ObjectOutput.java:
680 * java/io/ObjectStreamClass.java:
682 * java/io/PrintStream.java:
683 Merged copyright years with classpath.
684 * java/io/PushbackReader.java
685 (PushbackReader): Replaced @code with @param.
686 * java/io/SerializablePermission.java:
688 * java/io/StreamTokenizer.java
689 (resetSyntax): Fixed @see tag.
691 2003-03-22 Richard Henderson <rth@redhat.com>
693 * sysdep/ia64/locks.h: Include ia64intrin.h.
694 (compare_and_swap): Use __sync_bool_compare_and_swap.
695 (compare_and_swap_release): Expose ar.ccv assignment.
697 2003-03-22 Andreas Tobler <a.tobler@schweiz.ch>
699 * include/posix.h: Add suffix for darwin dynamic libraries.
701 2003-03-21 Michael Koch <konqueror@gmx.de>
703 * javax/swing/Action.java
704 (ACCELERATOR_KEY): New constant.
705 (ACTION_COMMAND_KEY): Likewise.
706 (MNEMONIC_KEY): Likewise.
707 * javax/swing/UnsupportedLookAndFeelException.java
708 (UnsupportedLookAndFeelException): Must be public.
709 * javax/swing/WindowConstants.java
710 (EXIT_ON_CLOSE): New constant.
711 * javax/swing/text/BadLocationException.java
712 (offset): New member variable.
713 (BadLocationException): New implementation, documentation added.
714 (offsetRequested): New method.
715 * javax/swing/text/Caret.java:
717 * javax/swing/text/Document.java:
720 2003-03-21 Michael Koch <konqueror@gmx.de>
722 * java/rmi/activation/Activatable.java
723 (serialVersionUID): New member variable.
724 * java/rmi/activation/ActivationGroup.java
725 (serialVersionUID): New member variable.
726 * java/rmi/activation/ActivationGroupDesc.java
727 (serialVersionUID): New member variable.
728 * java/rmi/registry/Registry.java:
730 (Registry): Deprecated.
731 * java/rmi/server/LoaderHandler.java
733 (LoaderHandler): Deprecated.
734 * java/rmi/server/LogStream.java
736 (LogStream): Deprecated.
737 * java/rmi/server/Operation.java
738 (Operation): Deprecated.
739 * java/rmi/server/RMIFailureHandler.java:
741 * java/rmi/server/RMISocketFactory.java:
743 * java/rmi/server/RemoteCall.java
744 (RemoteCall): Deprecated.
745 * java/rmi/server/RemoteStub.java:
747 * java/rmi/server/Skeleton.java
749 (Skeleton): Deprecated.
751 2003-03-21 Michael Koch <konqueror@gmx.de>
753 * java/io/LineNumberReader.java
754 (LineNumberReader): Merged documentation with classpath.
755 (getLineNumber): Likewise.
756 (setLineNumber): Likewise.
760 (readLine): Likewise.
763 2003-03-21 Michael Koch <konqueror@gmx.de>
765 * java/rmi/RMISecurityManager.java
766 (checkAccept): Removed.
767 (checkAccess): Likewise.
768 (checkAccess): Likewise.
769 (checkAwtEventQueueAccess): Likewise.
770 (checkConnect): Likewise.
771 (checkCreateClassLoader): Likewise.
772 (checkDelete): Likewise.
773 (checkExec): Likewise.
774 (checkExit): Likewise.
775 (checkLink): Likewise.
776 (checkListen): Likewise.
777 (checkMemberAccess): Likewise.
778 (checkMulticast): Likewise.
779 (checkPackageAccess): Likewise.
780 (checkPackageDefinition): Likewise.
781 (checkPermission): Likewise.
782 (checkPrintJobAccess): Likewise.
783 (checkPropertiesAccess): Likewise.
784 (checkPropertyAccess): Likewise.
785 (checkRead): Likewise.
786 (checkSecurityAccess): Likewise.
787 (checkSetFactory): Likewise.
788 (checkSystemClipboardAccess): Likewise.
789 (checkTopLevelWindow): Likewise.
790 (checkWrite): Likewise.
792 2003-03-20 Michael Koch <konqueror@gmx.de>
794 * gnu/java/nio/FileChannelImpl.java
796 (map_address): New member variable.
797 (length): Make it package private.
798 (fd): Make it package private.
799 (buf): Make it package private.
800 (file_obj): Make it package private.
801 (FileChannelImpl): New constructor.
802 (nio_mmap_file): Use RawData instead of long.
803 (nio_munmap_file): Use RawData instead of long.
804 (nio_msync): Use RawData instead of long.
805 (implCloseChannel): New implementation using map_address.
808 (create_direct_mapped_buffer): Implemented, use RawData, throws
810 (force): Use map_address instead of address.
811 * gnu/java/nio/MappedByteFileBuffer.java
813 (map_address): New member variable.
814 (MappedByteFileBuffer): Use map_address instead of address, reformated.
815 (several methods): Use map_address instead of address, replaced long
816 with RawData where appropriate.
817 * gnu/java/nio/natFileChannelImpl.cc
818 (nio_mmap_file): Replaced long with RawData.
819 (nio_munmap_file): Replaced long with RawData.
820 (nio_msync): Replaced long with RawData.
821 * gnu/java/nio/natMappedByteFileBuffer.cc
822 (several methods): Replaced long with RawData where appropriate.
824 2003-03-20 Michael Koch <konqueror@gmx.de>
826 * java/net/InetAddress.java,
827 java/net/JarURLConnection.java,
828 java/net/PlainDatagramSocketImpl.java,
829 java/net/PlainSocketImpl.java,
830 java/net/URLConnection.java:
831 Merged copyright statements with classpath for easier merging.
833 2003-03-20 Michael Koch <konqueror@gmx.de>
835 * java/io/FileInputStream.java
836 (getChannel): New implementation.
837 * java/io/FileOutputStream.java
838 (ch): New member variable.
839 (getChannel): Implemented.
840 * java/io/RandomAccessFile.java
841 (RandomAccessFile): Throws FileNotFoundException instead of
843 (getChannel): New method.
844 (ch): New member variable.
846 2003-03-20 Michael Koch <konqueror@gmx.de>
848 * java/io/DataOutputStream.java,
850 java/io/FileInputStream.java,
851 java/io/FileOutputStream.java,
852 java/io/InputStreamReader.java,
853 java/io/LineNumberReader.java,
854 java/io/OutputStreamWriter.java,
855 java/io/PrintStream.java,
856 java/io/RandomAccessFile.java:
857 Merged copyright statements with classpath for easier merging.
859 2003-03-19 Michael Koch <konqueror@gmx.de>
861 * java/lang/Process.java:
862 Merged from classpath.
864 2003-03-19 Michael Koch <konqueror@gmx.de>
866 * java/io/FileOutputStream.java
867 (FileOutputStream): New constructor, merged from classpath.
868 * java/io/FileWriter.java
869 (FileWriter): New constructor, merged from classpath.
871 2003-03-18 Michael Koch <konqueror@gmx.de>
873 * java/awt/ScrollPane.java
874 (ScrollPane): Rewrote for new ScrollPaneAdjustable.
875 (getViewportSize): Likewise.
876 (addNotify): Likewise.
877 (removeNotify): Likewise.
878 * java/awt/ScrollPaneAdjustable.java
879 (ScrollPaneAdjustable): No longer extends Scrollbar.
880 * java/beans/beancontext/BeanContextServices.java:
882 (getService): Added throws TooManyListenersException;
883 * java/beans/beancontext/BeanContextServicesSupport.java:
886 2003-03-18 Michael Koch <konqueror@gmx.de>
888 * java/io/BufferedOutputStream.java,
889 java/io/DataInput.java,
890 java/io/DataInputStream.java,
891 java/io/DataOutput.java,
892 java/io/Externalizable.java:
893 More merges from classpath.
895 2003-03-18 Michael Koch <konqueror@gmx.de>
897 * configure.in: Fixed links to platform dependant java.net files.
898 * configure: Regenerated.
899 * java/net/natInetAddress.cc,
900 java/net/natNetworkInterface.cc,
901 java/net/natPlainDatagramSocketImpl.cc,
902 java/net/natPlainSocketImpl.cc:
905 2003-03-18 Michael Koch <konqueror@gmx.de>
907 * configure.in: Create links to architecture dependent files,
908 introduced PLATFORMNET variable (set to NoNet for newlib usage).
909 * configure: Regenerated.
910 * java/net/natInetAddressNoNet.cc,
911 java/net/natInetAddressPosix.cc,
912 java/net/natInetAddressWin32.cc,
913 java/net/natNetworkInterfaceNoNet.cc,
914 java/net/natNetworkInterfacePosix.cc,
915 java/net/natNetworkInterfaceWin32.cc,
916 java/net/natPlainDatagramSocketImplNoNet.cc,
917 java/net/natPlainDatagramSocketImplPosix.cc,
918 java/net/natPlainDatagramSocketImplWin32.cc,
919 java/net/natPlainSocketImplNoNet.cc,
920 java/net/natPlainSocketImplPosix.cc,
921 java/net/natPlainSocketImplWin32.cc: New files.
923 2003-03-18 Michael Koch <konqueror@gmx.de>
925 * java/io/BufferedReader.java,
926 java/io/BufferedWriter.java,
927 java/io/ByteArrayOutputStream.java,
928 java/io/FileFilter.java,
929 java/io/FilePermission.java,
930 java/io/FileReader.java,
931 java/io/FileWriter.java,
932 java/io/FilenameFilter.java,
933 java/io/FilterInputStream.java,
934 java/io/FilterOutputStream.java,
935 java/io/FilterReader.java,
936 java/io/FilterWriter.java,
937 java/io/ObjectInput.java,
938 java/io/ObjectInputValidation.java,
939 java/io/ObjectOutput.java,
940 java/io/ObjectStreamField.java,
941 java/io/PipedInputStream.java,
942 java/io/PipedReader.java,
943 java/io/PrintWriter.java,
944 java/io/PushbackReader.java,
946 java/io/SerializablePermission.java,
947 java/io/StringReader.java,
949 Merged from classpath.
951 2003-03-17 Michael Koch <konqueror@gmx.de>
953 * java/awt/ScrollPaneAdjustable.java:
956 2003-03-17 Michael Koch <konqueror@gmx.de>
958 * java/net/DatagramSocket.java
959 (connect): Fixed comment.
960 * java/nio/ByteBuffer.java
961 (hasArray): Fixed comment.
963 2003-03-17 Michael Koch <konqueror@gmx.de>
965 * java/beans/Beans.java:
966 Explicitely import classes not packages.
967 * java/beans/FeatureDescriptor.java
968 (preferred): New member variable.
969 (isPreferred): New method.
970 (setPreferred): New method.
971 * java/beans/PropertyEditorManager.java:
972 Explicitely import used classes.
973 * java/beans/beancontext/BeanContextChild.java:
975 * java/beans/beancontext/BeanContextChildSupport.java:
977 * java/beans/beancontext/BeanContextEvent.java:
980 2003-03-17 Michael Koch <konqueror@gmx.de>
982 * java/awt/Dialog.java
983 (Dialog): New constructor, changed implementations, added
985 * java/awt/ScrollPaneAdjustable.java
986 (ScrollPaneAdjustable): Extends Object, implements Adjustable and
988 (serialVersionUID): New member variable.
989 (sp): New member variable.
990 (orientation): New member variable.
991 (value): New member variable.
992 (minimum): New member variable.
993 (maximum): New member variable.
994 (visibleAmount): New member variable.
995 (unitIncrement): New member variable.
996 (blockIncrement): New member variable.
997 (AdjustmentListener): New member variable.
998 (ScrollPaneAdjustable): New implementation.
999 (addAdjustmentListener): New method.
1000 (removeAdjustmentListener): New method.
1001 (getAdjustmentListeners): New method.
1002 (getBlockIncrement): New method.
1003 (getMaximum): New method.
1004 (getMinimum): New method.
1005 (getOrientation): New method.
1006 (getUnitIncrement): New method.
1007 (getValue): New method.
1008 (getVisibleAmount): New method.
1009 (setBlockIncrement): New method.
1010 (setMaximum): Implemented.
1011 (setMinimum): Implemented.
1012 (setUnitIncrement): New method.
1013 (setValue): New method.
1014 (setVisibleAmount): Implemented.
1015 (paramString): New stubbed method.
1016 * java/awt/Window.java
1017 (show): Call setVisible().
1018 (hide): Call setVisible().
1019 (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
1020 and WINDOW_STATE_CHANGED.
1021 (processWindowFocusEvent): New method.
1022 (processWindowStateEvent): New method.
1023 (postEvent): Deprecated.
1024 (applyResourceBundle): Deprecated.
1025 * java/awt/datatransfer/DataFlavor.java
1026 (DataFlavor): Doesn't thow ClassNotFoundException.
1028 2003-03-17 Michael Koch
1030 * javax/print/attribute/Attribute.java,
1031 javax/print/attribute/AttributeSet.java,
1032 javax/print/attribute/PrintRequestAttributeSet.java:
1035 (javax_source_files): Added new files:
1036 javax/print/attribute/Attribute.java
1037 javax/print/attribute/AttributeSet.java
1038 javax/print/attribute/PrintRequestAttributeSet.java
1039 * Makefile.in: Regenerated.
1041 2003-03-17 Michael Koch
1043 * javax/print/attribute/Attribute.java,
1044 javax/print/attribute/AttributeSet.java,
1045 javax/print/attribute/PrintRequestAttributeSet.java:
1048 (awt_java_source_files): Added new files:
1049 javax/print/attribute/Attribute.java
1050 javax/print/attribute/AttributeSet.java
1051 javax/print/attribute/PrintRequestAttributeSet.java
1052 * Makefile.in: Regenerated.
1054 2003-03-16 Tom Tromey <tromey@redhat.com>
1056 * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
1058 * java/lang/natRuntime.cc (insertSystemProperties): Use
1059 _Jv_platform_path_separator.
1060 (nativeGetLibname): Use _Jv_platform_file_separator.
1061 (_load): Use _Jv_platform_onload_names.
1062 (onload_names): New global.
1063 * include/win32.h (_Jv_platform_file_separator): New define.
1064 (_Jv_platform_path_separator): Likewise.
1065 (_Jv_platform_onload_names): Likewise.
1066 (_Jv_platform_ffi_abi): Likewise.
1067 * include/posix.h (_Jv_platform_file_separator): New define.
1068 (_Jv_platform_path_separator): Likewise.
1069 (_Jv_platform_onload_names): Likewise.
1070 (_Jv_platform_ffi_abi): Likewise.
1072 2003-03-14 Hans Boehm <Hans.Boehm@hp.com>
1074 * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
1076 2003-02-14 Jeroen Frijters <jeroen@sumatra.nl>
1078 * java/io/ObjectInputStream.java (readObject): Cleaned up the class
1080 (readFields(Object,ObjectStreamField[],boolean)): Changed argument
1081 list to Object,ObjectStreamClass, moved callReadMethod code up into
1082 readObject and added Class argument to all setXxxField calls.
1083 (callReadMethod): Changed Class argument to ObjectStreamClass to be
1084 consistent with ObjectOutputStream and to facilitate caching the
1085 Method in the future.
1086 (setBooleanField): Added Class argument.
1087 (setByteField): Likewise.
1088 (setCharField): Likewise.
1089 (setDoubleField): Likewise.
1090 (setFloatField): Likewise.
1091 (setIntField): Likewise.
1092 (setLongField): Likewise.
1093 (setShortField): Likewise.
1094 (setObjectField): Likewise.
1095 * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
1096 class hierarchy loop.
1097 (defaultWriteObject): Call writeFields with new argument list.
1098 (writeFields(Object,ObjectStreamField[],boolean): Changed argument
1099 list to Object,ObjectStreamClass, moved callWriteMethod up into
1100 writeObject and added Class argument to all getXxxField calls.
1101 (callWriteMethod): Added ObjectStreamClass argument to be able to
1102 get the proper class to call getMethod on (each class can have (or
1103 not have) its own writeObject method).
1104 (getBooleanField): Added Class argument.
1105 (getByteField): Likewise.
1106 (getCharField): Likewise.
1107 (getDoubleField): Likewise.
1108 (getFloatField): Likewise.
1109 (getIntField): Likewise.
1110 (getLongField): Likewise.
1111 (getShortField): Likewise.
1112 (getObjectField): Likewise.
1113 * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
1114 facilitate caching the Method object in the future.
1116 2003-03-12 Andreas Schwab <schwab@suse.de>
1118 * configure.in: Avoid trailing /. in toolexeclibdir.
1119 * configure: Rebuilt.
1121 2003-03-11 Michael Koch <konqueror@gmx.de>
1123 * gnu/java/nio/ByteBufferImpl.java
1124 (putInt): Use limit() instead of limit.
1125 * gnu/java/nio/CharBufferImpl.java
1126 (slice): Fixed implementation.
1127 (subSequence): Better bounds checking.
1128 * gnu/java/nio/MappedByteFileBuffer.java:
1129 Import all needed classes directly.
1130 * java/nio/ByteBuffer.java
1131 (hashCode): New dummy method.
1132 * java/nio/CharBuffer.java
1133 (array_offset): New member variable.
1134 (hasArray): Fixed documentation.
1135 (arrayOffset): Return array_offset.
1137 2003-03-10 2003-02-27 Mohan Embar <gnustuff@thisiscool.com>
1139 * include/jvm.h: removed declaration of _Jv_ThisExecutable()
1140 setter; made return value of getter const char* instead of char*
1141 * prims.cc: removed all references to _Jv_ThisExecutable().
1142 These are in the platform-specific sections now.
1143 * posix.cc: define platform-specific _Jv_ThisExecutable().
1144 Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
1145 * win32.cc: define platform-specific _Jv_ThisExecutable()
1146 using GetModuleFilename()
1147 * java/lang/natRuntime.cc: set gnu.gcj.progname property
1148 to argv[0] instead of _Jv_ThisExecutable()
1150 2003-03-10 Ranjit Mathew <rmathew@hotmail.com>
1152 * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
1153 that is set if we are using addr2name.awk instead of addr2line.
1154 (NameFinder): Set usingAddr2name if using addr2name.awk.
1155 (getExternalLabel): New native method to convert a method
1156 name to an external label.
1157 (lookup): Convert name given by addr2line to an external label
1160 * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
1161 constant representing the prefix attached to method names to
1162 convert them to an external label.
1163 (gnu::gcj::runtime::NameFinder::getExternalLabel): Define
1166 2003-03-10 Tom Tromey <tromey@redhat.com>
1168 * Makefile.in: Rebuilt.
1169 * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
1170 (JC1FLAGS): Removed -Wno-deprecated.
1172 2003-03-10 Michael Koch <konqueror@gmx.de>
1174 * java/nio/ByteOrder.java
1175 (nativeOrder): Working implementation, added documentation.
1176 (toString): Added documentation.
1178 2003-03-10 Michael Koch <konqueror@gmx.de>
1180 * java/net/DatagramSocket.java,
1181 java/net/MulticastSocket.java,
1182 java/net/Socket.java,
1184 java/net/URLConnection.java:
1185 Fixed some documentation tags to make javadoc and friends happy.
1187 2003-03-10 Michael Koch <koqnueror@gmx.de>
1189 * java/beans/beancontext/BeanContextServicesSupport.java,
1190 java/beans/beancontext/BeanContextSupport.java: New files.
1192 (awt_source_files): Added new files.
1193 * Makefile.in: Regenerated.
1195 2003-03-10 Michael Koch <konqueror@gmx.de>
1197 * java/awt/FocusTraversalPolicy.java
1198 (FocusTraversalPolicy): Documentation added.
1199 (getComponentAfter): Documentation added.
1200 (getComponentBefore): Documentation added.
1201 (getFirstComponent): Documentation added.
1202 (getLastComponent): Documentation added.
1203 (getDefaultComponent): Documentation added.
1204 (getInitialComponent): Documentation added.
1205 * java/awt/ScrollPaneAdjustable.java
1206 (sp): New member variable.
1207 (orientation): New member variable.
1208 (value): New member variable.
1209 (minimum): New member variable.
1210 (maximum): New member variable.
1211 (visibleAmount): New member variable.
1212 (unitIncrement): New member variable.
1213 (blockIncrement): New member variable.
1214 (adjustmentListener): New member variable.
1215 (ScrollPaneAdjustable): Rewrote.
1216 (addAdjustmentListener): New method.
1217 (removeAdjustmentListener): New method.
1218 (getAdjustmentListeners): New method.
1219 (getBlockIncrement): New method.
1220 (getMaximum): New method.
1221 (getMinimum): New method.
1222 (getOrientation): New method.
1223 (getUnitIncrement): New method.
1224 (getValue): New method.
1225 (getVisibleAmount): New method.
1226 (setBlockIncrement): New method.
1227 (setUnitIncrement): New method.
1228 (setMaximum): Implemented.
1229 (setMinimum): Implemented.
1230 (setValue): New method.
1231 (setVisibleAmount): Implemented.
1232 (paramString): New method.
1233 * java/awt/Window.java
1234 (show): Use setVisible(true) instead of super.show().
1235 (hide): Use sevVisible(false) instead of super.hide().
1236 (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
1237 WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
1238 (postEvent): Deprecated.
1239 (applyResourceBundle): Deprecated.
1240 (processWindowFocusEvent): New method.
1241 (processWindowStateEvent): New method.
1242 * java/awt/datatransfer/DataFlavor.java: Reindented.
1243 * java/awt/font/TextHitInfo.java
1244 (charIndex): New member variable.
1245 (leadingEdge): New member variable.
1246 (TextHitInfo): New constructor.
1247 (getCharIndex): Implemented.
1248 (isLeadingEdge): Implemented.
1249 (getInsertionIndex): Implemented.
1250 (hashCode): Access charIndex directly.
1251 (equals): Reformated.
1252 (leading): Implemented.
1253 (trailing): Implemented.
1254 (beforeOffset): Implemented.
1255 (afterOffset): Implemented.
1256 (getOtherHit): Implemented.
1257 (getOffsetHit): Implemented.
1258 (toString): Implemented.
1259 * java/awt/image/BufferedImage.java
1260 (BufferedImage): Implements WritableRenderedImage.
1261 (observers): New member variable.
1262 (addTileObserver): New method.
1263 (removeTileObserver): New method.
1265 2003-03-09 Tom Tromey <tromey@redhat.com>
1268 * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
1269 to lseek. Return 0 if we can't compute the value.
1271 2003-03-03 Michael Koch <konqueror@gmx.de>
1273 * java/net/NetworkInterface.java: Merged with classpath.
1275 2003-03-03 Tom Tromey <tromey@redhat.com>
1277 * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
1279 (handle_ret_insn): Fail if returning to jsr that appears at end of
1282 2003-03-03 Michael Koch <konqueror@gmx.de>
1285 (ordinary_java_source_files):
1286 Added gnu/java/nio/MappedByteFileBuffer.java.
1288 Added gnu/java/nio/natMappedByteFileBuffer.cc.
1289 * Makefile.in: Regenerated.
1291 2003-03-03 Michael Koch <konqueror@gmx.de>
1293 * java/net/DatagramSocket.java
1294 (connect): Merged comment from classpath.
1295 (receive): Merged documentation from classpath.
1296 * java/net/Socket.java
1297 (setSoTimeout): Clarified documentation.
1299 (getPath): Merged from classpath.
1300 (getUserInfo): Merged from classpath.
1301 (getQuery): Merged from classpath.
1302 * java/net/URLStreamHandler.java
1303 (toExternalForm): Merged from classpath.
1305 2003-03-02 Mark Wielaard <mark@klomp.org>
1307 * java/util/Properties.java (load): Only skip line if the first
1308 character is a comment, whitespaces don't count.
1310 2003-03-02 Michael Koch <konqueror@gmx.de>
1312 * java/net/NetPermission.java:
1313 Merged copyright with classpath.
1315 2003-03-02 Michael Koch <konqueror@gmx.de>
1317 * java/lang/Package.java:
1318 Remerged from classpath.
1320 2003-03-02 Michael Koch <konqueror@gmx.de>
1322 * java/net/HttpURLConnection.java
1323 (HTTP_SERVER_ERROR): Deprecated.
1324 * java/net/MulticastSocket.java
1325 (send): Replaced checkMulticast with appropriate checkPermission call,
1327 * java/net/URLDecoder.java
1328 (decode): Deprecated.
1329 * java/net/URLEncoder.java
1330 (encode): Deprecated.
1332 2003-03-02 Michael Koch <konqueror@gmx.de>
1334 * javax/swing/text/Caret.java
1335 (getMagicCaretPosition): Fixed typo in method name.
1336 * javax/swing/text/DefaultCaret.java
1337 (getMagicCaretPosition): Fixed typo in method name.
1339 2003-03-02 Michael Koch <konqueror@gmx.de>
1341 * java/awt/List.java
1342 (setMultipleSelections): Deprecated.
1343 (delItem): Deprecated.
1344 * java/awt/MenuComponent.java
1345 (getPeer): Deprecated.
1346 * java/awt/ScrollPane.java
1347 (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
1348 * java/awt/dnd/MouseDragGestureRecognizer.java
1349 (mouseClicked): Added comment.
1350 (mousePressed): Added comment.
1351 (mouseReleased): Added comment.
1352 (mouseEntered): Added comment.
1353 (mouseExited): Added comment.
1354 (mouseDragged): Added comment.
1355 (mouseMoved): Added comment.
1356 * java/awt/event/KeyEvent.java
1357 (KeyEvent): Deprecated.
1358 (setModifiers): Deprecated.
1360 2003-03-02 Michael Koch <konqueror@gmx.de>
1362 * gnu/java/nio/FileChannelImpl.java
1363 (fd): Type FileDescriptor instead of int.
1364 (lengthInternal): Removed.
1365 (FileChannelImpl): Fixed arguments, check type of file object.
1366 (size): Made it native.
1367 (implPosition): New native method.
1368 (implTruncate): New native method.
1369 (position): Implemented.
1370 (truncate): Implemented.
1371 (nio_mmap_file): Changed arguments.
1372 (nio_munmap_file): Changed arguments.
1373 (nio_msync): Changed arguments.
1374 * gnu/java/nio/natFileChannelImpl.cc
1375 (lengthInternal): Removed.
1377 (implPosition): New method.
1378 (implTruncate): New method.
1379 (nio_mmap_file): Changed arguments.
1380 (nio_munmap_file): Changed arguments.
1381 (nio_msync): Changed arguments.
1383 2003-03-02 Michael Koch <konqueror@gmx.de>
1385 * java/awt/dnd/DropTargetContext.java:
1386 Compile fix: Forgot to commit import.
1388 2003-03-02 Michael Koch <konqueror@gmx.de>
1390 * java/awt/Component.java,
1391 java/awt/ScrollPane.java:
1394 2003-03-02 Michael Koch <konqueror@gmx.de>
1396 * java/awt/dnd/DnDEventMulticaster.java: New file.
1397 * java/awt/dnd/DragSource.java
1398 (flavorMap): New member variable.
1399 (dragSourceListener): New member variable.
1400 (dragSourceMotionListener): New member variable.
1401 (getFlavorMap): Implemented.
1402 (createDragGestureRecognizer): Implemented.
1403 (addDragSourceListener): Implemented.
1404 (removeDragSourceListener): Implemented.
1405 (getDragSourceListeners): Implemented.
1406 (addDragSourceMotionListener): Implemented.
1407 (removeDragSourceMotionListener): Implemented.
1408 (getDragSourceMotionListeners): Implemented.
1409 (getListeners): Implemented.
1410 * java/awt/dnd/DragSourceContext.java
1411 (peer): New member variable.
1412 (cursor): New member variable.
1413 (transferable): New member variable.
1414 (trigger): New member variable.
1415 (dragSourceListener): New member variable.
1416 (image): New member variable.
1417 (offset): New member variable.
1418 (DragSourceContext): Implemented.
1419 (getDragSource): Implemented.
1420 (getComponent): Implemented.
1421 (getTrigger): Implemented.
1422 (getSourceActions): Implemented.
1423 (setCursor): Implemented.
1424 (getCursor): Implemented.
1425 (addDragSourceListener): Implemented.
1426 (removeDragSourceListener): Implemented.
1427 (getTransferable): Implemented.
1428 * java/awt/dnd/DropTarget.java
1429 (DropTargetAutoScroller.component): New member variable.
1430 (DropTargetAutoScroller.point): New member variable.
1431 (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
1432 (DropTargetAutoScroller.updateLocation): Implemented.
1433 (active): Renamed from isActive, defaults to true now.
1434 (component): New member variable.
1435 (flavorMap): New member variable.
1436 (actions): New member variable.
1437 (dropTargetContext): New member variable.
1438 (dropTargetListener): New member variable.
1439 (DropTarget): Implemented.
1440 (getComponent): Implemented.
1441 (setComponent): Implemented.
1442 (setDefaultActions): Implemented.
1443 (getDefaultActions): Implemented.
1444 (setActive): Use active instead of isActive.
1445 (isActive): Use active instead of isActive.
1446 (addDropTargetListener): Implemented.
1447 (removeDropTargetListener): Implemented.
1448 (getFlavorMap): Implemented.
1449 (setFlavorMap): Implemented.
1450 (getDropTargetContext): Implemented.
1451 (createDropTargetContext): Implemented.
1452 (createDropTargetAutoScroller): Implemented.
1453 * java/awt/dnd/DropTargetContext.java
1454 (TransferableProxy.getTransferDataFlavors): Implemented.
1455 (TransferableProxy.isDataFlavorSupported): Implemented.
1456 (TransferableProxy.getTransferData): Implemented.
1457 (dropTarget): New member variable.
1458 (dtcp): New member variable.
1459 (DropTargetContext): New package private constructor.
1460 (getDropTarget): Implemented.
1461 (getComponent): Implemented.
1462 (addNotify): Implemented.
1463 (removeNotify): Implemented.
1464 (getCurrentDataFlavorsAsList): Implemented.
1465 (isDataFlavorSupported): Implemented.
1466 * java/awt/dnd/MouseDragGestureRecognizer.java
1467 (registerListeners): Implemented.
1468 (unregisterListeners): Implemented.
1470 (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
1471 * Makefile.in: Regenerated.
1473 2003-03-02 Michael Koch <konqueror@gmx.de>
1475 * java/awt/Component.java
1476 (eventTypeEnabled): New method.
1477 (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
1478 * java/awt/Container.java
1479 (changeSupport): New member variable.
1480 (addPropertyChangeListener): New methods.
1481 * java/awt/ContainerOrderFocusTraversalPolicy.java
1482 (ContainerOrderFocusTraversalPolicy): Added comment.
1483 (getComponentAfter): Throw exception, documentation added.
1484 (getComponentBefore): Throw exception, documentation added.
1485 (getFirstComponent): Throw exception, documentation added.
1486 (getLastComponent): Throw exception, documentation added.
1487 (getDefaultComponent): Throw exception, documentation added.
1488 * java/awt/EventQueue.java: Reindented.
1489 * java/awt/FocusTraversalPolicy.java:
1490 (FocusTraversalPolicy): Added comment.
1491 (getComponentAfter): Documentation added.
1492 (getComponentBefore): Documentation added.
1493 (getFirstComponent): Documentation added.
1494 (getLastComponent): Documentation added.
1495 (getDefaultComponent): Documentation added.
1496 (getInitialComponent): Documentation added.
1497 * java/awt/ScrollPane.java
1498 (wheelScrollingEnabled): New member variable.
1499 (ScrollPane): Initialize wheelScollingEnabled.
1500 (eventTypeEnabled): New method.
1501 (isWheelScrollingEnabled): New method.
1502 (setWheelScrollingEnabled): New method.
1504 2003-03-02 Michael Koch <konqueror@gmx.de>
1506 * java/net/DatagramSocket.java
1507 (closed): New member variable.
1508 (close): Use closed variable.
1509 (getInetAddress): No need to call isConnected().
1510 (getPort): No need to call isConnected().
1511 (disconnect): Reset remoteAddress and remotePort, fixed typo.
1512 (isClosed): Reimplemented.
1514 2003-03-02 Michael Koch <konqueror@gmx.de>
1516 * configure.in: Added check for memory mapping of files.
1517 * configure: Regenerated.
1518 * config.h.in: Regenerated.
1520 2003-03-01 Jason Thorpe <thorpej@wasabisystems.com>
1522 * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
1523 (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
1525 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
1527 * java/io/File.java (normalizePath): Remove trailing separator
1528 on Windows only if path is not of the form "x:\".
1530 * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
1531 (java::io::File::attr): Change formatting a bit and use
1532 WIN32_EPOCH_MILLIS instead of magic numbers.
1533 (java::io::File::isAbsolute): Path must have at least 3
1534 characters for a UNC network path.
1535 (java::io::File::init_native): Define.
1536 (java::io::File::performCreate): Likewise.
1537 (java::io::File::performSetReadOnly): Likewise.
1538 (java::io::File::performSetLastModified): Likewise.
1539 (java::io::File::performListRoots): Likewise.
1541 2003-03-01 Tom Tromey <tromey@redhat.com>
1543 * java/lang/natObject.cc: Don't include assert.h.
1544 (heavy_lock_obj_finalization_proc): Use JvAssert.
1545 (remove_all_heavy): Likewise.
1546 (_Jv_MonitorEnter): Likewise.
1547 (_Jv_MonitorExit): Likewise.
1550 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
1552 * java/io/File (getAbsolutePath): Prefix drive specifier on
1553 Windows for paths starting with a '\'.
1554 (toURL): Make URL more consistent with what Sun's JDK returns.
1556 * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
1557 true only if the path is a UNC network path or it starts with a
1560 * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
1561 Be prepared to handle either '/' or '\\' in the file path for
1562 Windows if using the "file" protocol.
1563 Canonicalise the file path if using a relative path in the given
1564 context and the "file" protocol.
1566 2003-03-01 Mohan Embar <gnustuff@thisiscool.com>
1568 * java/lang/natWin32Process.cc (startProcess): Double-quote each
1569 program array element passed to CreateProcess.
1571 2003-03-01 Tom Tromey <tromey@redhat.com>
1573 * java/rmi/registry/RegistryHandler.java: Deprecate.
1575 2003-03-01 Tom Tromey <tromey@redhat.com>
1577 * javax/accessibility/AccessibleEditableText.java,
1578 javax/accessibility/AccessibleHyperlink.java: New versions from
1581 * gnu/java/locale/LocaleInformation_af_ZA.java,
1582 gnu/java/locale/LocaleInformation_ar_AE.java,
1583 gnu/java/locale/LocaleInformation_ar_BH.java,
1584 gnu/java/locale/LocaleInformation_ar_DZ.java,
1585 gnu/java/locale/LocaleInformation_ar_EG.java,
1586 gnu/java/locale/LocaleInformation_ar_IN.java,
1587 gnu/java/locale/LocaleInformation_ar_IQ.java,
1588 gnu/java/locale/LocaleInformation_ar_JO.java,
1589 gnu/java/locale/LocaleInformation_ar_KW.java,
1590 gnu/java/locale/LocaleInformation_ar_LB.java,
1591 gnu/java/locale/LocaleInformation_ar_LY.java,
1592 gnu/java/locale/LocaleInformation_ar_MA.java,
1593 gnu/java/locale/LocaleInformation_ar_OM.java,
1594 gnu/java/locale/LocaleInformation_ar_QA.java,
1595 gnu/java/locale/LocaleInformation_ar_SD.java,
1596 gnu/java/locale/LocaleInformation_ar_SY.java,
1597 gnu/java/locale/LocaleInformation_ar_TN.java,
1598 gnu/java/locale/LocaleInformation_ar_YE.java,
1599 gnu/java/locale/LocaleInformation_be_BY.java,
1600 gnu/java/locale/LocaleInformation_bn_IN.java,
1601 gnu/java/locale/LocaleInformation_br_FR.java,
1602 gnu/java/locale/LocaleInformation_bs_BA.java,
1603 gnu/java/locale/LocaleInformation_ca_ES.java,
1604 gnu/java/locale/LocaleInformation_cs_CZ.java,
1605 gnu/java/locale/LocaleInformation_cy_GB.java,
1606 gnu/java/locale/LocaleInformation_da_DK.java,
1607 gnu/java/locale/LocaleInformation_de_AT.java,
1608 gnu/java/locale/LocaleInformation_de_BE.java,
1609 gnu/java/locale/LocaleInformation_de_CH.java,
1610 gnu/java/locale/LocaleInformation_de_DE.java,
1611 gnu/java/locale/LocaleInformation_de_LU.java,
1612 gnu/java/locale/LocaleInformation_el_GR.java,
1613 gnu/java/locale/LocaleInformation_en_AU.java,
1614 gnu/java/locale/LocaleInformation_en_BW.java,
1615 gnu/java/locale/LocaleInformation_en_CA.java,
1616 gnu/java/locale/LocaleInformation_en_DK.java,
1617 gnu/java/locale/LocaleInformation_en_GB.java,
1618 gnu/java/locale/LocaleInformation_en_HK.java,
1619 gnu/java/locale/LocaleInformation_en_IE.java,
1620 gnu/java/locale/LocaleInformation_en_IN.java,
1621 gnu/java/locale/LocaleInformation_en_NZ.java,
1622 gnu/java/locale/LocaleInformation_en_PH.java,
1623 gnu/java/locale/LocaleInformation_en_SG.java,
1624 gnu/java/locale/LocaleInformation_en_US.java,
1625 gnu/java/locale/LocaleInformation_en_ZA.java,
1626 gnu/java/locale/LocaleInformation_en_ZW.java,
1627 gnu/java/locale/LocaleInformation_es_AR.java,
1628 gnu/java/locale/LocaleInformation_es_BO.java,
1629 gnu/java/locale/LocaleInformation_es_CL.java,
1630 gnu/java/locale/LocaleInformation_es_CO.java,
1631 gnu/java/locale/LocaleInformation_es_CR.java,
1632 gnu/java/locale/LocaleInformation_es_DO.java,
1633 gnu/java/locale/LocaleInformation_es_EC.java,
1634 gnu/java/locale/LocaleInformation_es_ES.java,
1635 gnu/java/locale/LocaleInformation_es_GT.java,
1636 gnu/java/locale/LocaleInformation_es_HN.java,
1637 gnu/java/locale/LocaleInformation_es_MX.java,
1638 gnu/java/locale/LocaleInformation_es_NI.java,
1639 gnu/java/locale/LocaleInformation_es_PA.java,
1640 gnu/java/locale/LocaleInformation_es_PE.java,
1641 gnu/java/locale/LocaleInformation_es_PR.java,
1642 gnu/java/locale/LocaleInformation_es_PY.java,
1643 gnu/java/locale/LocaleInformation_es_SV.java,
1644 gnu/java/locale/LocaleInformation_es_US.java,
1645 gnu/java/locale/LocaleInformation_es_UY.java,
1646 gnu/java/locale/LocaleInformation_es_VE.java,
1647 gnu/java/locale/LocaleInformation_et_EE.java,
1648 gnu/java/locale/LocaleInformation_eu_ES.java,
1649 gnu/java/locale/LocaleInformation_fa_IR.java,
1650 gnu/java/locale/LocaleInformation_fi_FI.java,
1651 gnu/java/locale/LocaleInformation_fo_FO.java,
1652 gnu/java/locale/LocaleInformation_fr_BE.java,
1653 gnu/java/locale/LocaleInformation_fr_CA.java,
1654 gnu/java/locale/LocaleInformation_fr_CH.java,
1655 gnu/java/locale/LocaleInformation_fr_FR.java,
1656 gnu/java/locale/LocaleInformation_fr_LU.java,
1657 gnu/java/locale/LocaleInformation_ga_IE.java,
1658 gnu/java/locale/LocaleInformation_gd_GB.java,
1659 gnu/java/locale/LocaleInformation_gl_ES.java,
1660 gnu/java/locale/LocaleInformation_gv_GB.java,
1661 gnu/java/locale/LocaleInformation_he_IL.java,
1662 gnu/java/locale/LocaleInformation_hi_IN.java,
1663 gnu/java/locale/LocaleInformation_hr_HR.java,
1664 gnu/java/locale/LocaleInformation_hu_HU.java,
1665 gnu/java/locale/LocaleInformation_id_ID.java,
1666 gnu/java/locale/LocaleInformation_it_CH.java,
1667 gnu/java/locale/LocaleInformation_it_IT.java,
1668 gnu/java/locale/LocaleInformation_iw_IL.java,
1669 gnu/java/locale/LocaleInformation_ja_JP.java,
1670 gnu/java/locale/LocaleInformation_ka_GE.java,
1671 gnu/java/locale/LocaleInformation_kl_GL.java,
1672 gnu/java/locale/LocaleInformation_ko_KR.java,
1673 gnu/java/locale/LocaleInformation_kw_GB.java,
1674 gnu/java/locale/LocaleInformation_lt_LT.java,
1675 gnu/java/locale/LocaleInformation_lv_LV.java,
1676 gnu/java/locale/LocaleInformation_mi_NZ.java,
1677 gnu/java/locale/LocaleInformation_mk_MK.java,
1678 gnu/java/locale/LocaleInformation_mr_IN.java,
1679 gnu/java/locale/LocaleInformation_mt_MT.java,
1680 gnu/java/locale/LocaleInformation_nl_BE.java,
1681 gnu/java/locale/LocaleInformation_nl_NL.java,
1682 gnu/java/locale/LocaleInformation_nn_NO.java,
1683 gnu/java/locale/LocaleInformation_no_NO.java,
1684 gnu/java/locale/LocaleInformation_oc_FR.java,
1685 gnu/java/locale/LocaleInformation_pl_PL.java,
1686 gnu/java/locale/LocaleInformation_pt_BR.java,
1687 gnu/java/locale/LocaleInformation_pt_PT.java,
1688 gnu/java/locale/LocaleInformation_ro_RO.java,
1689 gnu/java/locale/LocaleInformation_ru_RU.java,
1690 gnu/java/locale/LocaleInformation_ru_UA.java,
1691 gnu/java/locale/LocaleInformation_se_NO.java,
1692 gnu/java/locale/LocaleInformation_sk_SK.java,
1693 gnu/java/locale/LocaleInformation_sl_SI.java,
1694 gnu/java/locale/LocaleInformation_sq_AL.java,
1695 gnu/java/locale/LocaleInformation_sr_YU.java,
1696 gnu/java/locale/LocaleInformation_sv_FI.java,
1697 gnu/java/locale/LocaleInformation_sv_SE.java,
1698 gnu/java/locale/LocaleInformation_ta_IN.java,
1699 gnu/java/locale/LocaleInformation_te_IN.java,
1700 gnu/java/locale/LocaleInformation_tg_TJ.java,
1701 gnu/java/locale/LocaleInformation_tl_PH.java,
1702 gnu/java/locale/LocaleInformation_tr_TR.java,
1703 gnu/java/locale/LocaleInformation_uk_UA.java,
1704 gnu/java/locale/LocaleInformation_ur_PK.java,
1705 gnu/java/locale/LocaleInformation_uz_UZ.java,
1706 gnu/java/locale/LocaleInformation_vi_VN.java,
1707 gnu/java/locale/LocaleInformation_yi_US.java,
1708 gnu/java/locale/LocaleInformation_zh_CN.java,
1709 gnu/java/locale/LocaleInformation_zh_HK.java,
1710 gnu/java/locale/LocaleInformation_zh_SG.java,
1711 gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
1712 info; from Classpath.
1714 * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
1715 isPaintPending): New methods.
1716 * gnu/awt/xlib/XFramePeer.java (getState, setState,
1717 setMaximizedBounds): New methods.
1718 (beginLayout, endLayout, isPaintPending): Likewise.
1719 * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
1720 (requestFocus): Likewise.
1721 (isObscured): Likewise.
1722 (canDetermineObscurity): Likewise.
1723 (coalescePaintEvent): Likewise.
1724 (updateCursorImmediately): Likewise.
1725 (createVolatileImage): Likewise.
1726 (handlesWheelScrolling): Likewise.
1727 (createBuffers): Likewise.
1728 (getBackBuffer): Likewise.
1730 (destroyBuffers): Likewise.
1732 * Makefile.in: Rebuilt.
1733 * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
1735 * gnu/java/awt/GLightweightPeer.java,
1736 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
1737 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1738 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
1739 gnu/java/awt/peer/gtk/GtkFramePeer.java,
1740 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
1741 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
1742 java/awt/dnd/peer/DragSourceContextPeer.java,
1743 java/awt/dnd/peer/DropTargetContextPeer.java,
1744 java/awt/peer/ButtonPeer.java,
1745 java/awt/peer/CheckboxMenuItemPeer.java,
1746 java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
1747 java/awt/peer/ComponentPeer.java,
1748 java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
1749 java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
1750 java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
1751 java/awt/peer/MenuBarPeer.java,
1752 java/awt/peer/MenuComponentPeer.java,
1753 java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
1754 java/awt/peer/PopupMenuPeer.java,
1755 java/awt/peer/ScrollPanePeer.java,
1756 java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
1757 java/awt/peer/TextComponentPeer.java,
1758 java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
1759 New versions from Classpath.
1760 * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
1761 * java/awt/peer/RobotPeer.java: Likewise.
1763 2003-03-01 Mark Wielaard <mark@klomp.org>
1765 * java/io/ObjectInputStream.java: Reindent.
1766 * java/io/ObjectOutputStream.java: Likewise.
1768 2003-02-28 Hans Boehm <Hans.Boehm@hp.com>
1770 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
1771 jvalue for each argument. Simplify.
1772 * testsuite/libjava.jni/calls.c (docall),
1773 testsuite/libjava.jni/calls.java (longpb_f): check for argument
1776 2003-02-28 Mark Wielaard <mark@klomp.org>
1778 * Makefile.am (nat_source_files): Remove
1779 java/io/natObjectOutputStream.cc.
1780 * Makefile.in: Regenerated.
1781 * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
1782 * java/io/ObjectStreamField.java (typename): New field.
1783 (ObjectStreamField(String, Class)): Initialize new field.
1784 (ObjectStreamField(String, String)): New Constructor.
1785 (getTypeCode): Use new field.
1786 (getTypeString): Use new field.
1787 * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
1788 ObjectStreamExceptions. Remember and reset old BlockDataMode.
1789 Handle reading of Proxy classes. Never drain(), just write
1790 TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
1791 (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
1792 (flush): Call flush(), not just drain().
1793 (writeBoolean): Always use blockDataOutput.
1794 (writeByte): Likewise.
1795 (writeShort): Likewise.
1796 (writeChar): Likewise.
1797 (writeInt): Likewise.
1798 (writeLong): Likewise.
1799 (writeFloat): Likewise.
1800 (writeDouble): Likewise.
1801 (writeBytes): Likewise.
1802 (putfield (put(String,Object))): Throw IllegalArgumentException if
1803 field cannot be found.
1804 (putfield (write(ObjectOutput))): Remember old BlockDataMode.
1805 (writeArraySizeAndElements): Write byte[] in one go.
1806 (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
1807 set BlockDataMode to false.
1808 (annotateProxyClass): New method.
1809 (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
1810 (getField): No longer native.
1811 (getMethod): Likewise.
1812 (setBlockDataMode): Always drain() on switch, return old mode.
1813 (static): New static code block.
1814 * java/io/natObjectOutputStream.cc: Removed.
1815 * java/io/ObjectInputStream.java (getField): No longer native.
1816 (getMethod): Likewise.
1817 (readObject): Remember and reset old BlockDataMode. Track whether
1818 object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
1820 (defaultReadObject): Set BlockDataMode to false during readFields.
1821 (resolveClass): Create new SecurityManager if necessary.
1822 Use Class.forName() if null ClassLoader found.
1823 (read(byte[],int,int): Copy remaining bytes to data before calling
1825 (readFields): Set and reset BlockDataMode on call_read_method.
1826 Catch NoSuchFieldErrors.
1827 (setBlockDataMode): Return old mode.
1828 (static): New static code block.
1829 * java/io/natObjectInputStream.cc (getField): Removed.
1830 (getMethod): Likewise.
1832 2003-02-27 Michael Koch <konqueror@gmx.de>
1834 * java/beans/Beans.java,
1835 java/beans/FeatureDescriptor.java
1836 java/beans/PropertyEditorManager.java:
1837 Reformated to GNU style.
1839 2003-02-25 Michael Koch <konqueror@gmx.de>
1841 * gnu/java/nio/MappedByteFileBuffer.java,
1842 gnu/java/nio/natMappedByteFileBuffer.cc:
1843 New files, both are not compiled yet to get not noncompiling CVS.
1845 2003-02-24 Tom Tromey <tromey@redhat.com>
1847 * java/util/prefs/AbstractPreferences.java (isUserNode):
1850 2003-02-24 Tom Tromey <tromey@redhat.com>
1852 * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
1854 * java/lang/Thread.java (resume): Deprecate.
1855 * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
1858 2003-02-23 Tom Tromey <tromey@redhat.com>
1860 * Makefile.in: Rebuilt.
1861 * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
1863 2003-02-23 Tom Tromey <tromey@redhat.com>
1865 * java/lang/natRuntime.cc (libraries_size, libraries_count,
1866 libraries): Removed.
1867 (add_library): Removed.
1868 (_load): Don't call add_library.
1869 (loadLibraryInternal): Likewise.
1871 (lookup_data): New struct.
1872 (find_symbol): New function.
1873 (_Jv_FindSymbolInExecutable): Use it.
1875 2002-02-21 Anthony Green <green@redhat.com>
1877 * java/lang/Thread.java (Thread): New constructor taking stack
1878 size parameter (ignored for now).
1879 * Many methods: Merged GNU Classpath documentation.
1881 * java/lang/Class.java (finalize): throws a Throwable.
1883 2003-02-21 Mark Wielaard <mark@klomp.org>
1885 * java/util/zip/ZipEntry.java (setComment): Don't check length when
1888 2003-02-21 Mark Wielaard <mark@klomp.org>
1890 * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
1891 then 65535 chars throw IllegalArgumentException.
1893 2003-02-21 Mark Wielaard <mark@klomp.org>
1895 * java/util/zip/ZipFile.java (finalize): New method.
1897 2003-02-21 Michael Koch <konqueror@gmx.de>
1899 * gnu/java/nio/natSocketChannelImpl.cc:
1900 Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
1901 <cato@df.lth.se> for pointing to it.
1903 2003-02-20 Raif S. Naffah <raif@fl.net.au>
1905 * java/math/BigInteger.java (euclidInv): Take result array as an
1906 argument. Updated all callers.
1907 (modInverse): Removed unused variables.
1909 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
1911 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
1913 * configure: Rebuilt.
1915 2003-02-19 Michael Koch <konqueror@gmx.de>
1917 * gnu/java/nio/natSocketChannelImpl.cc:
1918 Added support for platforms without network support.
1920 2003-02-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1922 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
1923 after config.h. Use <> for consistency.
1924 * java/lang/natObject.cc: Likewise.
1925 * java/lang/natRuntime.cc: Likewise.
1926 * java/lang/natSystem.cc: Likewise.
1927 * java/util/natTimeZone.cc: Likewise.
1928 * win32.cc: Likewise.
1929 * include/posix.h (fcntl, socket, connect, close, bind, accept,
1930 listen, write, read): Undef to avoid interference from OS macros.
1932 2003-02-19 Michael Koch <konqueror@gmx.de>
1934 * gnu/java/nio/ByteBufferImpl.java
1935 (ByteBufferImpl): Renamed two variables.
1936 * gnu/java/nio/CharBufferImpl.java
1937 (CharBufferImpl): Renamed two variables.
1938 * gnu/java/nio/DoubleBufferImpl.java
1939 (DoubleBufferImpl): Renamed two variables.
1940 * gnu/java/nio/FloatBufferImpl.java
1941 (FloatBufferImpl): Renamed two variables.
1942 * gnu/java/nio/IntBufferImpl.java
1943 (IntBufferImpl): Renamed two variables.
1944 * gnu/java/nio/LongBufferImpl.java
1945 (LongBufferImpl): Renamed two variables.
1946 * gnu/java/nio/ShortBufferImpl.java
1947 (ShortBufferImpl): Renamed two variables.
1948 * java/nio/CharBuffer.java
1949 (wrap): Fixed arguments to CharBufferImpl constructor.
1950 (hasArray): Only not read-only buffers have backing arrays.
1951 (length): Documentation added.
1952 (subSequence): Documentation added.
1953 * java/nio/DoubleBuffer.java
1954 (hasArray): Only not read-only buffers have backing arrays.
1955 * java/nio/FloatBuffer.java
1956 (hasArray): Only not read-only buffers have backing arrays.
1957 * java/nio/IntBuffer.java
1958 (hasArray): Only not read-only buffers have backing arrays.
1959 * java/nio/LongBuffer.java
1960 (hasArray): Only not read-only buffers have backing arrays.
1961 * java/nio/ShortBuffer.java
1962 (hasArray): Only not read-only buffers have backing arrays.
1964 2003-02-19 Michael Koch <konqueror@gmx.de>
1966 * javax/accessibility/AccessibleContext.java
1967 (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
1969 2003-02-19 Michael Koch <konqueror@gmx.de>
1971 * java/awt/ScrollPaneAdjustable.java: Reformated.
1973 2003-02-19 Michael Koch <konqueror@gmx.de>
1975 * gnu/awt/j2d/Graphics2DImpl.java
1976 (getFontRenderContext): New method.
1977 (drawGlyphVector): New method.
1978 * java/awt/Graphics2D.java
1979 (getFontRenderContext): New abstract method.
1980 (drawGlyphVector): New abstract method.
1982 2003-02-18 Hans Boehm <Hans.Boehm@hp.com>
1984 * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
1987 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1988 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
1989 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
1990 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
1991 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
1992 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
1993 (setFont, gtkSetFont): add.
1994 gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
1995 Propagate font to peer. (setFont): add FIXME comment.
1997 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
1998 (gtkTextGetSize): fix height, width computation.
2000 * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
2001 Make X font name a bit less bogus.
2003 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
2004 (post_adjustment_event): Pass on GTK_SCROLL_NONE.
2006 * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
2007 (processAdjustmentEvent): Adjust value.
2009 * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
2012 * java/awt/Component.java (setVisible, show, hide): Call show and
2013 hide methods in subclasses.
2014 (getPreferredSize): don't set prefSize before we have peer.
2016 * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
2017 Guess (0,0) if we don't have peer.
2020 2003-02-18 Michael Koch <konqueror@gmx.de>
2022 * java/nio/channels/FileChannel.java
2023 (toString): New implementation, added documentation.
2024 (map): Added exception documentation.
2025 (size): Added exception documentation.
2026 (write): New methods, documentation work.
2027 (read): New methods, documentation work.
2028 (implCloseChannel): Rewrote exception documentation.
2029 (force): Throws IOException, added documentation.
2030 (lock): New methods.
2031 (tryLock): New methods.
2032 (position): New methods.
2033 (transferTo): New method.
2034 (transferFrom): New method.
2035 (truncate): New method.
2036 * java/nio/channels/spi/SelectorProvider.java
2037 (provider): Implemented.
2039 (ordinary_java_source_files): Added the following files:
2040 gnu/java/nio/DatagramChannelImpl.java
2041 gnu/java/nio/FileChannelImpl.java
2042 gnu/java/nio/PipeImpl.java
2043 gnu/java/nio/SelectionKeyImpl.java
2044 gnu/java/nio/SelectorImpl.java
2045 gnu/java/nio/SelectorProviderImpl.java
2046 gnu/java/nio/ServerSocketChannelImpl.java
2047 gnu/java/nio/SocketChannelImpl.java
2048 java/nio/channels/FileLock.java
2049 (nat_java_source_files): Added the following files:
2050 gnu/java/nio/natFileChannelImpl.cc
2051 gnu/java/nio/natSelectorImpl.cc
2052 gnu/java/nio/natSocketChannelImpl.cc
2053 * Makefile.in: Regenerated.
2055 2003-02-17 Tom Tromey <tromey@redhat.com>
2057 * java/awt/image/ColorModel.java: Re-merged with Classpath.
2058 * java/awt/image/ImageFilter.java: Likewise.
2060 2003-02-17 Raif S. Naffah <raif@fl.net.au>
2062 * java/math/BigInteger.java (euclidInv): Return array of
2063 `BigInteger's. Changed all callers.
2065 2003-02-17 Ranjit Mathew <rmathew@hotmail.com>
2067 * java/util/Properties.java (store): Move the code formerly in
2068 list(), into this method.
2069 (list (PrintStream)): Just call list (PrintWriter) with a
2070 PrintWriter object constructed from the given PrintStream object.
2071 (list (PrintWriter)): Emulate the output of Properties.list()
2072 as found in JDK 1.3/1.4.
2074 2003-02-17 Michael Koch <konqueror@gmx.de>
2076 * java/net/DatagramSocket.java
2077 (connect): Merged with classpath.
2078 (disconnect): Merged documentation with classpath.
2079 (receice): Merged documentation with classpath.
2080 (send): Merged documentation with classpath.
2082 2003-02-17 Michael Koch <konqueror@gmx.de>
2084 * java/awt/dnd/DragSourceContext.java
2085 (addDragSourceListener): Added documentation.
2086 * java/awt/dnd/DragSourceDragEvent.java
2087 (serialVersionUID): New member variable.
2088 (getDropAction): Reformated.
2089 * java/awt/dnd/DragSourceDropEvent.java
2090 (serialVersionUID): New member variable.
2091 (dropSuccess): Renamed from success for serialization issues.
2092 * java/awt/dnd/DragSourceEvent.java
2093 (serialVersionUID): New member variable.
2094 * java/awt/dnd/DropTarget.java
2095 (serialVersionUID): New member variable.
2096 (DropTarget): Implemented, documentation reworked.
2097 (setComponent): Documentation added.
2098 (getComponent): Documentation added.
2099 (setDefaultActions): Documentation added.
2100 (getDefaultActions): Documentation added.
2101 (addDropTargetListener): Documentation added.
2102 * java/awt/dnd/DropTargetContext.java
2103 (DropTargetContext): Documentation added.
2104 (TransferableProxy.TransferableProxy): New method.
2105 (dropComplete): Fixed documentation.
2106 (getTransferable): Fixed documentation.
2107 (createTransferableProxy): Implemented.
2108 * java/awt/dnd/DropTargetDragEvent.java
2109 (DropTargetDragEvent): Documentation added.
2110 (serialVersionUID): New member variable.
2111 (DropTargetDragEvent): Throw exceptions, documentation added.
2112 (acceptDrag): Implemented.
2113 (getCurrentDataFlavors): Implemented.3yy
2114 (getCurrentDataFlavorsAsList): Implemented.
2115 (isDataFlavorSupported): Implemented.
2116 (rejectDrag): Implemented.
2117 * java/awt/dnd/DropTargetDropEvent.java
2118 (DropTargetDropEvent): Documentation added.
2119 (serialVersionUID): New member variable.
2120 (actions): Renamed from srcActions for serialization issues.
2121 (isLocalTx): Renamed from isLocalTx for serialization issues.
2122 (DropTargetDropEvent): New implementation, throw exceptions,
2123 documentation added.
2124 (getCurrentDataFlavors): Implemented.
2125 (getCurrentDataFlavorsAsList): Implemented.
2126 (isDataFlavorSupported): Implemented.
2127 (getSourceActions): Implemented.
2128 (getDropAction): Implemented.
2129 (getTransferable): Implemented.
2130 (acceptDrop): Implemented.
2131 (rejectDrop): Implemented.
2132 * java/awt/dnd/DropTargetListener.java
2133 (drop): Fixed documentation.
2134 * java/awt/dnd/MouseDragGestureRecognizer.java
2135 (MouseDragGestureRecognizer): Documentation added.
2137 2003-02-17 Michael Koch <konqueror@gmx.de>
2139 * java/awt/font/FontRenderContext.java,
2140 java/awt/font/ShapeGraphicAttribute.java,
2141 java/awt/font/MultipleMaster.java,
2142 java/awt/font/TransformAttribute.java,
2143 java/awt/font/GlyphJustificationInfo.java,
2144 java/awt/font/LineBreakMeasurer.java,
2145 java/awt/font/TextMeasurer.java,
2146 java/awt/font/TextLayout.java,
2147 java/awt/font/LineMetrics.java,
2148 java/awt/font/TextAttribute.java,
2149 java/awt/font/GlyphMetrics.java,
2150 java/awt/font/OpenType.java,
2151 java/awt/font/GlyphVector.java,
2152 java/awt/font/GraphicAttribute.java,
2153 java/awt/font/ImageGraphicAttribute.java,
2154 java/awt/font/NumericShaper.java: New files.
2156 (awt_java_source_files): Added the following files:
2157 java/awt/font/FontRenderContext.java
2158 java/awt/font/ShapeGraphicAttribute.java
2159 java/awt/font/MultipleMaster.java
2160 java/awt/font/TransformAttribute.java
2161 java/awt/font/GlyphJustificationInfo.java
2162 java/awt/font/LineBreakMeasurer.java
2163 java/awt/font/TextMeasurer.java
2164 java/awt/font/TextLayout.java
2165 java/awt/font/LineMetrics.java
2166 java/awt/font/TextAttribute.java
2167 java/awt/font/GlyphMetrics.java
2168 java/awt/font/OpenType.java
2169 java/awt/font/GlyphVector.java
2170 java/awt/font/GraphicAttribute.java
2171 java/awt/font/ImageGraphicAttribute.java
2172 java/awt/font/NumericShaper.java
2173 * Makefile.in: Regenerated.
2175 2003-02-17 Michael Koch <konqueror@gmx.de>
2177 * java/awt/print/Paper.java
2178 (Paper): Implements Cloneable.
2179 * java/awt/print/PrinterJob.java
2180 (setJobName): Return value must be void.
2181 (print): Throws PrinterException.
2183 2003-02-16 Tom Tromey <tromey@redhat.com>
2185 * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
2188 2003-02-15 Michael Koch <konqueror@gmx.de>
2190 * java/awt/datatransfer/DataFlavor.java
2191 (isRepresentationClassByteBuffer): Removed try-catch block.
2192 (isRepresentationClassCharBuffer): Removed try-catch block.
2193 (isRepresentationClassReader): Removed try-catch block.
2195 2003-02-15 Jesse Rosenstock <jmr@ugcs.caltech.edu>
2197 * java/nio/charset/Charset.java
2198 (isRegistered): Fixed method args and implementation.
2199 * java/nio/charset/CharsetEncoder.java
2200 (unmappableCharacterAction): New method.
2202 2003-02-15 Michael Koch <konqueror@gmx.de>
2204 * java/awt/CheckboxMenuItem.java
2205 (CheckBoxMenuItem): Dont implement Serializable.
2206 (getListeners): New method,
2207 (getItemListeners): New method.
2208 * java/awt/Choice.java
2209 (getListeners): New method,
2210 (getItemListeners): New method.
2211 * java/awt/Container.java
2212 (getListeners): Added exception documentation.
2213 (setFocusTraversalKeys): Throw exceptions, added documentattion.
2214 (getFocusTraversalKeys): Added documentation.
2215 (areFocusTraversalKeysSet): Added documentation.
2216 (applyComponentOrientation): Added documentation.
2217 * java/awt/ContainerOrderFocusTraversalPolicy.java
2218 (implicitDownCycleTraversal): Renamed from downCycle for
2220 (ContainerOrderFocusTraversalPolicy): Added documentation.
2221 (accept): Reformated.
2222 * java/awt/Dialog.java
2223 (Dialog): Dont implement Serializable.
2224 (Dialog): Added documentation.
2225 * java/awt/Font.java
2226 (Font): Dont use absolute class name.
2227 * java/awt/Frame.java
2228 (Frame): Font implement Serializable.
2229 * java/awt/List.java
2230 (getListeners): New method,
2231 (getActionListeners): New method.
2232 (getItemListeners): New method.
2233 * java/awt/Menu.java
2234 (countItems): New deprecated method.
2235 * java/awt/Scrollbar.java
2236 (getListeners): New method,
2237 (getAdjustmentListeners): New method,
2238 * java/awt/TextComponent.java
2239 (getListeners): New method,
2240 (getTextListeners): New method,
2241 * java/awt/TextField.java
2242 (getListeners): New method,
2243 (getActionListeners): New method.
2244 * java/awt/Window.java
2245 (windowFocusListener): New member variable.
2246 (windowStateListener): New member variable.
2247 (getWindowFocusListeners): New method.
2248 (getWindowStateListeners): New method.
2249 (addWindowFocusListener): New method.
2250 (addWindowStateListener): New method.
2251 (removeWindowFocusListener): New method.
2252 (removeWindowStateListener): New method.
2253 * java/awt/datatransfer/DataFlavor.java
2254 (isRepresentationClassByteBuffer): New method.
2255 (isRepresentationClassCharBuffer): New method.
2256 (isRepresentationClassReader): New method.
2258 2003-02-14 Mark Wielaard <mark@klomp.org>
2260 * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
2261 zero when there is an exponent and the significant is zero.
2262 (divide): Always set scale to newScale even in special ZERO case.
2264 2003-02-14 Tom Tromey <tromey@redhat.com>
2266 * java/lang/System.java (properties): Use Properties.clone.
2267 (setProperties): Likewise.
2269 2003-02-14 Michael Koch <konqueror@gmx.de>
2271 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
2272 * gnu/java/nio/ServerSocketChannelImpl.java
2273 (SocketAccept): Removed.
2274 (accept): Commented out use of SocketAccept.
2276 2003-02-13 Tom Tromey <tromey@redhat.com>
2278 * verify.cc (state::seen_subrs): New field.
2279 (state::state): Initialize it.
2280 (state::clean_subrs): New method.
2281 (state::~state): Call it.
2282 (state::copy): Copy subroutine list.
2283 (state::add_subr): New method.
2284 (state::merge): Only register a change if the current subroutine
2285 hasn't yet been noted.
2287 2003-02-13 Mark Wielaard <mark@klomp.org>
2289 * java/io/InputStreamReader.java (getEncoding): Return null when
2291 * java/io/OutputStreamWriter.java (getEncoding): Likewise.
2293 2003-02-13 Mark Wielaard <mark@klomp.org>
2295 * java/util/zip/InflaterInputStream.java (read): Return zero when len
2298 2003-02-13 Mark Wielaard <mark@klomp.org>
2300 * java/io/BufferedOutputStream.java (write(int)): Only flush when
2301 next byte cannot be buffered.
2303 2003-02-13 Michael Koch <konqueror@gmx.de>
2305 * java/awt/Label.java
2306 (Label): Don't implement Serializable directly.
2307 (addNotify): Fixed typo in documentation.
2308 * java/awt/List.java
2309 (List): Don't implement Serializable directly.
2310 * java/awt/PopupMenu.java
2311 (PopupMenu): Don't implement Serializable directly.
2312 * java/awt/ScrollPane.java
2313 (ScrollPane): Don't implement Serializable directly.
2314 * java/awt/Scrollbar.java
2315 (Scrollbar): Don't implement Serializable directly.
2316 * java/awt/TextArea.java
2317 (preferredSize): Fixed method arguments.
2318 * java/awt/TextField.java
2319 (TextField): Don't implement Serializable directly.
2320 * java/awt/color/ICC_ColorSpace.java
2321 (fromCIOXYZ): Documentation added.
2322 (getMinValue): Documentation added.
2323 (getMaxValue): Documentation added.
2324 * java/awt/datatransfer/DataFlavor.java
2325 (isMimeTypeEqual): May not be final.
2326 (clone): Throws CloneNotSupportedException.
2327 (getReaderForText): Don't throws UnsupportedEncodingException.
2329 2003-02-13 Michael Koch <konqueror@gmx.de>
2331 * gnu/java/awt/peer/gtk/GdkGraphics.java
2332 (drawString): New stubbed method.
2333 * java/awt/Graphics.java
2334 (drawString): New method.
2336 2003-02-13 Casey Marshall <rsdio@metastatic.org>
2339 * java/security/SecureRandom.java (next): Avoid bias in results.
2341 2003-02-13 Michael <konqueror@gmx.de>
2343 * gnu/java/nio/FileChannelImpl.java
2344 (lengthInternal): Must be native.
2345 (size): Check if channel is already closed.
2346 (implCloseChannel): Reformated.
2347 (read): w was unused, removed it.
2350 (write): New method.
2351 (map): Check arguments.
2352 (force): Throws IOException, check if channel is closed.
2353 (transferTo): New method.
2354 (transferFrom): New method.
2356 (tryLock): New method.
2357 (position): New method.
2358 (truncate): New method.
2359 (nio_mmap_file): Uncommented.
2360 (nio_munmap_file): Uncommented.
2361 (nio_msync): Uncommented.
2362 * gnu/java/nio/natFileChannelImpl.cc: New file.
2364 2003-02-13 Michael Koch <konqueror@gmx.de>
2366 * java/nio/ByteBuffer.java
2367 (endian): New member variable.
2369 (equals): New method.
2370 (compareTo): New method.
2371 (order): New methods.
2372 (compact): New method.
2373 (isDirect): New method.
2374 (slice): New method.
2375 (duplicate): New method.
2376 (asReadOnlyBuffer): New method.
2377 (asCharBuffer): New method.
2378 (asDoubleBuffer): New method.
2379 (asFloatBuffer): New method.
2380 (asIntBuffer): New method.
2381 (asLongBuffer): New method.
2382 (asShortBuffer): New method.
2383 (get*): New methods.
2384 (put*): New methods.
2385 (toString): New method.
2386 * java/nio/CharBuffer.java
2387 (CharBuffer): Implement Comparable instead of Cloneable.
2388 (get): May not be final.
2389 (put): May not be final.
2391 2002-02-13 Ranjit Mathew <rmathew@hotmail.com>
2393 * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
2394 lastIndexOf( ) instead of indexOf( ) to find the colon before
2395 the line number, because Win32 file names might contain a
2396 drive letter and a colon at the start of an absolute path.
2398 2003-02-13 Michael Koch <konqueror@gmx.de>
2400 * gnu/java/nio/natSocketChannelImpl.cc
2401 (SocketConnect): This is not implemented yet.
2402 (SocketBind): This is not implemented yet.
2404 2003-02-13 Michael Koch <konqueror@gmx.de>
2406 * gnu/java/nio/natByteBufferImpl.cc,
2407 gnu/java/nio/natCharBufferImpl.cc,
2408 gnu/java/nio/natDoubleBufferImpl.cc,
2409 gnu/java/nio/natFloatBufferImpl.cc,
2410 gnu/java/nio/natIntBufferImpl.cc,
2411 gnu/java/nio/natLongBufferImpl.cc,
2412 gnu/java/nio/natShortBufferImpl.cc:
2413 Added copyright and license.
2414 * java/nio/DoubleBuffer.java,
2415 java/nio/FloatBuffer.java,
2416 java/nio/IntBuffer.java,
2417 java/nio/LongBuffer.java,
2418 java/nio/ShortBuffer.java
2419 (array): Throw exceptions.
2420 (arrayOffset): Throw exceptions.
2422 2003-02-13 Michael Koch <konqueror@gmx.de>
2424 * gnu/java/util/prefs/FileBasedFactory.java,
2425 gnu/java/util/prefs/MemmoryBasedFactory.java,
2426 gnu/java/util/prefs/MemoryBasedPreferences.java,
2427 gnu/java/util/prefs/NodeReader.java,
2428 gnu/java/util/prefs/NodeWriter.java,
2429 java/util/prefs/AbstractPreferences.java,
2430 java/util/prefs/BackingStoreException.java,
2431 java/util/prefs/InvalidPreferencesFormatException.java,
2432 java/util/prefs/NodeChangeEvent.java,
2433 java/util/prefs/NodeChangeListener.java,
2434 java/util/prefs/PreferenceChangeEvent.java,
2435 java/util/prefs/PreferenceChangeListener.java,
2436 java/util/prefs/Preferences.java,
2437 java/util/prefs/PreferencesFactory.java:
2438 New files, all merged from classpath.
2440 (ordinary_java_source_files): Added the following files:
2441 gnu/java/util/prefs/FileBasedFactory.java,
2442 gnu/java/util/prefs/MemmoryBasedFactory.java,
2443 gnu/java/util/prefs/MemoryBasedPreferences.java,
2444 gnu/java/util/prefs/NodeReader.java,
2445 gnu/java/util/prefs/NodeWriter.java,
2446 (core_java_source_files): Added the following files:
2447 java/util/prefs/AbstractPreferences.java,
2448 java/util/prefs/BackingStoreException.java,
2449 java/util/prefs/InvalidPreferencesFormatException.java,
2450 java/util/prefs/NodeChangeEvent.java,
2451 java/util/prefs/NodeChangeListener.java,
2452 java/util/prefs/PreferenceChangeEvent.java,
2453 java/util/prefs/PreferenceChangeListener.java,
2454 java/util/prefs/Preferences.java,
2455 java/util/prefs/PreferencesFactory.java
2456 * Makefile.in: Regenerated.
2458 2003-02-13 Michael Koch <konqueror@gmx.de>
2460 * java/net/NetPermission.java
2461 (NetPermission): Make doucmentation match the method declaration.
2462 * java/net/NetworkInterface.java
2463 (equals): Reformated for GNU coding style.
2464 * java/net/ServerSocket.java: Merged with classpath.
2465 * java/net/Socket.java: Partly merged with classpath (Added some @since).
2466 * java/net/SocketImpl.java
2467 (localPort): Merged with classpath (initialize with -1).
2468 * java/net/SocketPermission.java: Merged with classpath (reindented).
2469 * java/net/URLDecoder.java: Merged with classpath (reindented).
2471 2003-02-13 Michael Koch <konqueror@gmx.de>
2473 * java/awt/GridBagConstraints.java
2474 (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
2475 LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
2476 * java/awt/KeyboardFocusManager.java
2477 (setGlobalCurrentFocusCycleRoot): Must be public.
2478 * java/awt/MenuComponent.java
2479 (MenuComponent): Must be public.
2480 * java/awt/Toolkit.java:
2481 Added some empty lines to make documentation more readable.
2482 (getFontPeer): Added @deprecated.
2483 (getColorModel): Added exception documentation.
2484 (getProperty): Fixed documentation.
2486 2003-02-12 Jeff Sturm <jsturm@one-point.com>
2488 * configure.host (alpha*-*): Default to -mieee.
2489 * configure.in (IEEESPEC): New.
2490 * libgcj.spec.in (jc1): Add IEEESPEC.
2491 * configure: Rebuild.
2493 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
2495 * include/win32.h: Include ws2tcpip.h instead of
2496 winsock.h to obtain definition of the socklen_t type.
2497 Remove IP_TOS definition - not needed with ws2tcpip.h
2498 (_Jv_connect): Correct slight formatting error.
2500 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
2502 * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
2503 size of the arguments for a JNI function. For Win32,
2504 modify to search for all forms of possible exported
2505 names of an stdcall JNI function.
2506 (_Jv_JNIMethod::call): Modify to calculate the size
2507 of the arguments passed to a JNI function and pass
2508 it to _Jv_LookupJNIMethod.
2510 2003-02-12 Michael Koch <konqueror@gmx.de>
2512 * java/nio/channels/Channels.java: New file.
2514 (ordinary_java_source_files): Added java/nio/channels/Channels.java.
2515 * Makefile.in: Regenerated.
2517 2003-02-12 Michael Koch <konqueror@gmx.de>
2519 * java/nio/ByteBuffer.java
2520 (allocate): Implemented.
2521 (wrap): Implemented.
2522 * java/nio/CharBuffer.java:
2523 Some documentation added and reworked.
2525 (allocate): Implemented.
2526 (wrap): Implemented.
2527 (array): Throw exceptions.
2528 (arrayOffset): Throw exceptions.
2529 (toString): Implemented.
2530 (length): Implemented.
2532 (charAt): Implemented.
2534 2003-02-11 John Leuner <jewel@debian.org>
2536 * java/util/zip/ZipInputStream.java: Fix problem with 0-length
2537 reads from end of file.
2539 2003-02-11 Ranjit Mathew <rmathew@hotmail.com>
2541 * java/io/natFileDescriptorWin32.cc
2542 (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
2543 returns with Win32 error code ERROR_BROKEN_PIPE.
2545 2003-02-11 Michael Koch <konqueror@gmx.de>
2548 (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
2550 2003-02-11 Michael Koch <konqueror@gmx.de>
2552 * gnu/java/nio/ByteBufferImpl.java:
2553 Reformated and removed some code.
2554 (backing_buffer): Removed.
2555 (array_offset): Removed.
2556 (ro): Renamed to readOnly.
2557 (ByteBufferImpl): Use parent constructor, initialize readOnly.
2558 * gnu/java/nio/CharBufferImpl.java:
2559 Reformated and removed some code.
2560 (array_offset): Removed.
2561 (ro): Renamed to readOnly.
2562 (CharBufferImpl): Use parent constructor, initialize readOnly.
2564 (order): New method.
2565 * gnu/java/nio/DoubleBufferImpl.java:
2566 Reformated and removed some code.
2567 (array_offset): Removed.
2568 (ro): Renamed to readOnly.
2569 (DoubleBufferImpl): Use parent constructor, initialize readOnly.
2571 (order): New method.
2572 * gnu/java/nio/FloatBufferImpl.java:
2573 Reformated and removed some code.
2574 (array_offset): Removed.
2575 (ro): Renamed to readOnly.
2576 (FloatBufferImpl): Use parent constructor, initialize readOnly.
2578 (order): New method.
2579 * gnu/java/nio/IntBufferImpl.java:
2580 Reformated and removed some code.
2581 (array_offset): Removed.
2582 (ro): Renamed to readOnly.
2583 (IntBufferImpl): Use parent constructor, initialize readOnly.
2585 (order): New method.
2586 * gnu/java/nio/LongBufferImpl.java:
2587 Reformated and removed some code.
2588 (array_offset): Removed.
2589 (ro): Renamed to readOnly.
2590 (LongBufferImpl): Use parent constructor, initialize readOnly.
2592 (order): New method.
2593 * gnu/java/nio/ShortBufferImpl.java:
2594 Reformated and removed some code.
2595 (array_offset): Removed.
2596 (ro): Renamed to readOnly.
2597 (ShortBufferImpl): Use parent constructor, initialize readOnly.
2599 (order): New method.
2601 (ordinary_java_source_files): Added the following files:
2602 gnu/java/nio/ByteBufferImpl.java
2603 gnu/java/nio/CharBufferImpl.java
2604 gnu/java/nio/DoubleBufferImpl.java
2605 gnu/java/nio/FloatBufferImpl.java
2606 gnu/java/nio/IntBufferImpl.java
2607 gnu/java/nio/LongBufferImpl.java
2608 gnu/java/nio/ShortBufferImpl.java
2609 java/nio/DoubleBuffer.java
2610 java/nio/FloatBuffer.java
2611 java/nio/IntBuffer.java
2612 java/nio/LongBuffer.java
2613 java/nio/ShortBuffer.java
2614 (nat_source_files): Added the following files:
2615 gnu/java/nio/natByteBufferImpl.cc
2616 gnu/java/nio/natCharBufferImpl.cc
2617 gnu/java/nio/natDoubleBufferImpl.cc
2618 gnu/java/nio/natFloatBufferImpl.cc
2619 gnu/java/nio/natIntBufferImpl.cc
2620 gnu/java/nio/natLongBufferImpl.cc
2621 gnu/java/nio/natShortBufferImpl.cc
2622 * Makefile.in: Regenerated.
2624 2003-02-11 Michael Koch <konqueror@gmx.de>
2626 * gnu/java/nio/natCharBufferImpl.cc
2627 (nio_cast): Removed.
2628 (nio_put_*): Removed.
2629 (nio_get_*): Removed.
2630 * gnu/java/nio/natDoubleBufferImpl.cc
2631 (nio_cast): Removed.
2632 (nio_put_*): Removed.
2633 (nio_get_*): Removed.
2634 * gnu/java/nio/natFloatBufferImpl.cc
2635 (nio_cast): Removed.
2636 (nio_put_*): Removed.
2637 (nio_get_*): Removed.
2638 * gnu/java/nio/natIntBufferImpl.cc
2639 (nio_cast): Removed.
2640 (nio_put_*): Removed.
2641 (nio_get_*): Removed.
2642 * gnu/java/nio/natLongBufferImpl.cc
2643 (nio_cast): Removed.
2644 (nio_put_*): Removed.
2645 (nio_get_*): Removed.
2646 * gnu/java/nio/natShortBufferImpl.cc
2647 (nio_cast): Removed.
2648 (nio_put_*): Removed.
2649 (nio_get_*): Removed.
2650 * gnu/java/nio/SelectorProviderImpl.java
2651 (openDatagramChannel): Throws IOException.
2652 (openPipe): Throws IOException.
2653 (openSelector): Throws IOException.
2654 (openServerSocketChannel): Throws IOException.
2655 (openSocketChannel): Throws IOException.
2656 * gnu/java/nio/ServerSocketChannelImpl.java
2657 (ServerSocketChannelImpl): Throws IOException.
2658 (implCloseSelectableChannel): Throws IOException.
2659 (implConfigureBlocking): Throws IOException.
2660 * java/nio/ByteBuffer.java
2661 (readOnly): Removed.
2662 (hasArray): Use isReadOnly() instead of readOnly.
2663 (array): Use isReadOnly() instead of readOnly.
2664 (arrayOffset): Use isReadOnly() instead of readOnly.
2665 * java/nio/CharBuffer.java
2666 (CharBuffer): Implements Cloneable and CharSequence.
2668 2003-02-11 Michael Koch <konqueror@gmx.de>
2670 * java/nio/DoubleBuffer.java
2671 (DoubleBuffer): Implements Comparable.
2673 (array_offset): New member variable.
2674 (DoubleBuffer): New constuctor.
2675 (get): May not be final.
2676 (put): May not be final.
2677 (arrayOffset): Implemented.
2678 (order): Made abstract.
2680 (as*Buffer): Removed.
2683 * java/nio/FloatBuffer.java
2684 (FloatBuffer): Implements Comparable.
2686 (array_offset): New member variable.
2687 (FloatBuffer): New constuctor.
2688 (get): May not be final.
2689 (put): May not be final.
2690 (arrayOffset): Implemented.
2691 (order): Made abstract.
2693 (as*Buffer): Removed.
2696 * java/nio/IntBuffer.java
2697 (IntBuffer): Implements Comparable.
2699 (array_offset): New member variable.
2700 (IntBuffer): New constuctor.
2701 (get): May not be final.
2702 (put): May not be final.
2703 (arrayOffset): Implemented.
2704 (order): Made abstract.
2706 (as*Buffer): Removed.
2709 * java/nio/LongBuffer.java
2710 (LongBuffer): Implements Comparable.
2712 (array_offset): New member variable.
2713 (LongBuffer): New constuctor.
2714 (get): May not be final.
2715 (put): May not be final.
2716 (arrayOffset): Implemented.
2717 (order): Made abstract.
2719 (as*Buffer): Removed.
2722 * java/nio/ShortBuffer.java
2723 (ShortBuffer): Implements Comparable.
2725 (array_offset): New member variable.
2726 (ShortBuffer): New constuctor.
2727 (get): May not be final.
2728 (put): May not be final.
2729 (arrayOffset): Implemented.
2730 (order): Made abstract.
2732 (as*Buffer): Removed.
2736 2003-02-11 Michael Koch <konqueror@gmx.de>
2738 * java/nio/channels/SelectionKey.java
2739 (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
2742 2003-02-11 Michael Koch <konqueror@gmx.de>
2744 * java/nio/channels/DatagramChannel.java
2745 (write): Throws IOException.
2746 (connect): Throws IOException.
2747 (disconnect): Throws IOException.
2748 (read): Throws IOException.
2749 (receive): Throws IOException.
2750 (send): Throws IOException.
2751 * java/nio/channels/Pipe.java
2752 (open): Throws IOException.
2753 * java/nio/channels/SelectableChannel.java
2754 (configureBlocking): Throws IOException.
2755 * java/nio/channels/ServerSocketChannel.java
2756 (accept): Throws IOException.
2757 * java/nio/channels/SocketChannel.java
2758 (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
2759 GatheringByteChannel.
2760 (read): Throws IOException.
2761 (write): Throws IOException.
2762 (finishConnect): Throws IOException.
2763 * java/nio/channels/spi/AbstractInterruptibleChannel.java
2764 (end): Throws AsynchronousCloseException.
2765 * java/nio/channels/spi/AbstractSelectableChannel.java
2766 (configureBlocking): Throws IOException.
2767 (implCloseChannel): Throws IOException.
2768 (implCloseSelectableChannel): Throws IOException.
2769 (implConfigureBlocking): Throws IOException.
2770 * java/nio/channels/spi/SelectorProvider.java
2771 (openDatagramChannel): Throws IOException.
2772 (openPipe): Throws IOException.
2773 (openSelector): Throws IOException.
2774 (openServerSocketChannel): Throws IOException.
2775 (openSocketChannel): Throws IOException.
2777 2003-02-11 Michael Koch <konqueror@gmx.de>
2779 * gnu/java/nio/FileLockImpl.java,
2780 java/nio/channels/FileLock.java: New files.
2782 2003-02-11 Michael Koch <konqueror@gmx.de>
2784 * java/nio/charset/IllegalCharsetNameException.java
2785 (serialVersionUID): New member variable.
2786 (charsetName): New member variable.
2787 (IllegalCharsetException): New implementation.
2788 (getCharsetName): New implementation.
2789 * java/nio/charset/UnsupportedCharsetException.java
2790 (serialVersionUID): New member variable.
2791 (charsetName): New member variable.
2792 (UnsupportedCharsetException): New implementation.
2793 (getCharsetName): New implementation.
2795 2003-02-10 Tom Tromey <tromey@redhat.com>
2797 * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
2798 (ex): Renamed from sqlException.
2800 2003-02-10 Raif S. Naffah <raif@fl.net.au>
2802 * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new
2803 method used to ensure seeding has occurred and that a specific
2804 seed can be set and used.
2806 2003-02-10 Ranjit Mathew <rmathew@hotmail.com>
2808 * java/lang/Win32Process.java (destroy): Declare as native.
2809 (hasExited): New native method.
2810 (exitValue): Define.
2811 (getErrorStream): Likewise.
2812 (getInputStream): Likewise.
2813 (getOutputStream): Likewise.
2814 (waitFor): Declare as native.
2815 (startProcess): New native method.
2816 (cleanup): Likewise.
2817 (ConcreteProcess): Define.
2818 (outputStream, inputStream, errorStream): New members.
2819 (procHandle, exitCode): Likewise.
2821 * java/lang/natWin32Process.cc
2822 (java::lang::ConcreteProcess::cleanup): Define.
2823 (java::lang::ConcreteProcess::destroy): Likewise.
2824 (java::lang::ConcreteProcess::hasExited): Likewise.
2825 (java::lang::ConcreteProcess::waitFor): Likewise.
2826 (new_string): Likewise.
2827 (java::lang::ConcreteProcess::startProcess): Likewise.
2829 2003-02-10 Raif S. Naffah <raif@fl.net.au>
2831 * java/math/BigInteger.java:
2832 Updated notice to include years 2002 and 3.
2833 Added 2 private (int) arrays with values from the HAC (Handbook of
2834 Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
2835 and t[] that contains nbr. of tests --used in isProbablePrime().
2837 * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
2839 * java/math/BigInteger.java (make(int[],int), add(int,int),
2840 add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
2841 isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
2842 bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
2845 * java/math/BigInteger.java (euclidInv): Reduce number of work vars
2846 (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
2847 (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
2848 BIs and returns void.
2849 (modInverse(BI)): Use new signatures of euclidInv().
2851 * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
2852 static small primes instead of remainder().
2853 Use pre-computed max nbr of trials based on bitlength of BI to test.
2854 Use pre-computed small primes for the trial tests instead of random
2857 * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
2860 * java/math/BigInteger.java (format(int,StringBuffer)): Removed
2861 invoacation of MPN.chars_per_word(). not used.
2863 * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
2864 local var and used where needed.
2866 * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
2867 Combined declaration with initialisation of locals.
2870 * java/math/BigInteger.java: Style changes
2871 (pow(int)): Removed 'else' keyword.
2872 (toString(int)): idem.
2873 (doubleValue()): idem.
2874 (bitLength()): idem.
2875 (equals(Object)): Use static methods name in same class w/o prepending
2877 (doubleValue()): idem.
2878 (setNegative(BI)): idem.
2880 (and(BI,int)): idem.
2883 (byteArrayToIntArray()): Removed casting to (int). this is
2885 (canonicalize()): idem.
2886 (alloc(int)): Always instantiate a new BI.
2888 2003-02-10 Tom Tromey <tromey@redhat.com>
2890 * java/sql/Timestamp.java (compareTo(Object)): New method.
2891 (compareTo(Timestamp)): Likewise.
2892 (serialVersionUID): Updated.
2894 2003-02-07 Mark Wielaard <mark@klomp.org>
2896 * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
2897 when verify is true.
2898 (JarFile(File, boolean)): Likewise.
2899 (manifestRead): Set manifestRead field correctly.
2901 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
2903 * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
2904 tests; see patch #1016 on Savannah.
2906 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
2908 * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
2909 (toString): do not return Strings starting with . and - erroneously.
2910 Improves Mauve results to 12 of 600 instead of 16 of 338 on
2913 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
2915 * java/beans/PropertyDescriptor.java
2916 (PropertyDescriptor(String, Class)): Sanity check getter and setter
2918 (PropertyDescriptor(String, Class, String, String)): Likewise.
2919 (PropertyDescriptor(String, Method, Method): Factor out getter and
2920 setter method sanity checks into new method.
2921 (findMethods): Don't do parameter sanity checking of get method here.
2922 (checkMethods): New method.
2924 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
2926 * java/beans/PropertyDescriptor.java: Reformat.
2928 2003-02-04 Tom Tromey <tromey@redhat.com>
2930 * java/io/PipedOutputStream.java (flush): Declare as throwing
2933 * java/io/PipedWriter.java (close): Declare as throwing
2935 * java/io/StringWriter.java (close): Declare as throwing
2938 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
2940 * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
2941 of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
2942 could also have been exported as "JNI_OnLoad@8" (MinGW) or
2943 "_JNI_OnLoad@8" (MSVC).
2945 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
2947 * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
2948 convention on Win32 to invoke native JNI methods.
2950 2003-02-03 Andrew Haley <aph@redhat.com>
2952 * configure.host (x86_64): Enable interpreter.
2954 2003-02-03 Andrew Haley <aph@redhat.com>
2956 * libgcj.spec.in (jc1): Add BACKTRACESPEC.
2957 * configure.host (x86_64): Default to -fno-omit-frame-pointer.
2958 * configure.in (BACKTRACESPEC): New.
2959 * configure: Regenerate.
2961 2003-02-02 Tom Tromey <tromey@redhat.com>
2963 * configure: Rebuilt.
2964 * configure.in (TOOLKIT) [xlib]: Set correctly.
2966 * Makefile.in: Rebuilt.
2967 * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
2970 2003-01-31 Mark WIelaard <mark@klomp.org>
2972 * Makefile.in: Rebuilt.
2973 * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
2975 2003-01-31 Tom Tromey <tromey@redhat.com>
2977 * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
2978 cast to element type.
2979 (_Jv_JNI_SetObjectArrayElement): Check array bounds.
2980 (_Jv_JNI_GetObjectArrayElement): Likewise.
2982 * Makefile.in: Rebuilt.
2983 * Makefile.am (cond_x_ltlibrary): Renamed library to
2984 lib-gnu-awt-xlib.la.
2985 (lib_gnu_awt_xlib_la_SOURCES): Renamed.
2986 (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
2987 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
2988 (lib_gnu_awt_xlib_la_LIBADD): Likewise.
2989 (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
2990 (lib_gnu_awt_xlib_la_LINK): Likewise.
2991 (install-exec-hook): Removed.
2992 (lib-gnu-awt-xlib.la): Renamed.
2994 2003-01-31 Tom Tromey <tromey@redhat.com>
2996 * aclocal.m4, configure, include/config.h.in: Rebuilt.
2997 * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
2998 aclocal.m4 and lost in some merge.
3000 * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
3001 Don't try to find graphics configuration.
3002 * java/awt/Toolkit.java (default_toolkit_name): Use new
3003 Configuration entry.
3004 * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
3006 * configure: Rebuilt.
3007 * configure.in (TOOLKIT): New subst.
3008 (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
3009 Do AWT tests much earlier. Run Gtk tests. Make jniinclude
3010 directory. Make output directories for .c files.
3011 * Makefile.in: Rebuilt.
3012 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
3013 (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
3014 (all_java_source_files): Added new sources.
3015 ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
3016 (gtk_c_files): New macro.
3017 (gtk_c_source_files): New macro.
3018 (cond_gtk_ltlibrary): New macro.
3019 ($(gtk_c_files)): New target.
3020 (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
3021 (gtk_awt_peer_sources): New macro.
3022 (gtk_c_headers): New macro.
3023 ($(gtk_c_headers)): New target.
3024 (ACLOCAL_AMFLAGS): New macro.
3025 * gtk.m4, glib.m4, libart.m4: New files.
3026 * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
3027 gnu/java/awt/peer/gtk/GdkGraphics.java,
3028 gnu/java/awt/peer/gtk/GtkArg.java,
3029 gnu/java/awt/peer/gtk/GtkArgList.java,
3030 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
3031 gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
3032 gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
3033 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
3034 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
3035 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
3036 gnu/java/awt/peer/gtk/GtkClipboard.java,
3037 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3038 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
3039 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
3040 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
3041 gnu/java/awt/peer/gtk/GtkFontPeer.java,
3042 gnu/java/awt/peer/gtk/GtkFramePeer.java,
3043 gnu/java/awt/peer/gtk/GtkGenericPeer.java,
3044 gnu/java/awt/peer/gtk/GtkImage.java,
3045 gnu/java/awt/peer/gtk/GtkImagePainter.java,
3046 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
3047 gnu/java/awt/peer/gtk/GtkListPeer.java,
3048 gnu/java/awt/peer/gtk/GtkMainThread.java,
3049 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
3050 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
3051 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
3052 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
3053 gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
3054 gnu/java/awt/peer/gtk/GtkPanelPeer.java,
3055 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
3056 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
3057 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
3058 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
3059 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
3060 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
3061 gnu/java/awt/peer/gtk/GtkToolkit.java,
3062 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3063 gnu/java/awt/peer/gtk/TestAWT.java,
3064 gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
3065 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
3066 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
3067 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
3068 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
3069 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
3070 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
3071 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
3072 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
3073 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
3074 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
3075 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
3076 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
3077 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
3078 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
3079 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
3080 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
3081 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
3082 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
3083 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
3084 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
3085 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
3086 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.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_GtkToolkit.c,
3091 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
3092 jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
3093 jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
3094 jni/classpath/jnilink.c, jni/classpath/jnilink.h,
3095 jni/classpath/native_state.c, jni/classpath/native_state.h,
3096 jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
3098 2003-01-31 Julian Dolby <dolby@us.ibm.com>
3100 * java/util/Properties.java (load): Ignore backslash before EOF.
3102 2003-01-30 Jeff Sturm <jsturm@one-point.com>
3104 * java/lang/natClass.cc (initializeClass): Check tables when
3105 (state == JV_STATE_IN_PROGRESS).
3106 (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
3107 * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
3108 interpreted classes.
3109 (linkClass0): Use _Jv_WaitForState.
3111 2003-01-28 Oscar Pearce <oscar@pearceenterprises.com>
3113 * java/awt/Component.java (processPaintEvent): Dispose of Graphics
3114 object when finished.
3116 2003-01-28 Andreas Tobler <a.tobler@schweiz.ch>
3118 * libjava/configure.host: Disable can_unwind_signal on darwin.
3120 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
3123 * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
3124 additionally containing id of the owner thread as well as
3125 the number of nested times the thread has acquired the mutex.
3126 (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
3127 (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
3128 (_Jv_MutexUnlock): Check if really the owner thread, reset
3129 owner thread id to 0 before leaving, if leaving for the last
3131 (_Jv_MutexLock): Set owner thread id in the mutex and increment
3133 (_Jv_ThreadYield): Yield using a call to Sleep(0).
3134 * win32-threads.cc (_Jv_CondWait): Check if really owner of
3136 Pass handle of the broadcast event, instead of a pointer to it
3137 in Win32 ResetEvent( ) call.
3138 Remove incorrect return values.
3139 (_Jv_CondDestroy): Close both event handles and delete
3141 (_Jv_CondNotify): Check if really the owner thread.
3142 (_Jv_CondNotifyAll): Check if really the owner thread.
3143 (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
3144 (really_start): Use SetEvent( ) to signal daemon_cond.
3145 (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
3146 WaitForSingleObject( ) instead to wait for daemon_cond to be
3149 2003-01-27 Ranjit Mathew <rmathew@hotmail.com>
3151 * configure.in: Specifically define HAVE_BACKTRACE if building
3153 * include/win32.h: Remove HAVE_BACKTRACE definition.
3154 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
3155 * configure: Rebuilt.
3157 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
3159 * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
3160 Set and AC_SUBST. Remove USE_LIBDIR conditional.
3161 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
3162 (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
3163 * Makefile.in, configure: Rebuilt.
3165 2003-01-24 Ranjit Mathew <rmathew@hotmail.com>
3168 * java/io/natFileWin32.cc (performList): Append only "*.*"
3169 if the canonical file path already has a "\" at the end.
3171 2003-01-24 Tom Tromey <tromey@redhat.com>
3173 * defineclass.cc (handleMethodsEnd): Precompute code for static
3175 (handleCodeAttribute): Likewise.
3176 * resolve.cc (ncode): Use run_class for unsynchronized static
3178 * include/java-interp.h (class _Jv_InterpMethod): Declare
3180 * interpret.cc (run_synch_class): Initialize class.
3181 (run) [insn_invokestatic]: Don't initialize class.
3182 [insn_anewarray]: Likewise.
3183 [insn_multianewarray]: Likewise.
3184 (run_class): New function.
3186 2003-01-24 Tom Tromey <tromey@redhat.com>
3188 * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
3191 2003-01-22 Andrew Haley <aph@redhat.com>
3193 * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
3194 * configure.host (CHECKREFSPEC): Define for x86_64.
3196 2003-01-21 Tom Tromey <tromey@redhat.com>
3198 * java/util/natResourceBundle.cc (getCallingClassLoader): Start
3201 2003-01-21 Vladimir Puskas <vpuskas@eunet.yu>
3203 * java/io/natFileWin32.cc (isAbsolute): Check path length before
3204 looking at any characters.
3205 * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
3207 (isAbsolute): Check path's length as well.
3209 2003-01-17 Mark Wielaard <mark@klomp.org>
3211 * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
3212 (nat_source_files): Add natVMObjectStreamClass.cc.
3213 * Makefile.in: Regenerated.
3214 * gcj/javaprims.h (namespace java): Regenerated.
3215 * java/io/ObjectStreamClass.java (getClassUID): Call
3216 VMObjectStreamClass.hasClassInitializer().
3217 (hasClassInitializer): Removed.
3218 * java/io/VMObjectStreamClass.java: New class.
3219 * java/io/natVMObjectStreamClass.cc: New file.
3220 * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
3222 2003-01-16 Mark Wielaard <mark@klomp.org>
3224 * java/net/SocketImpl.java (toString): Don't explicitly call
3225 toString() on possible null address.
3227 2003-01-16 Michael Koch <konqueror@gmx.de>
3229 * java/net/MulticastSocket.java
3230 (setInterface): Reindented.
3232 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
3234 * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
3235 * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
3236 * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
3237 translateY arguments. Implement.
3238 * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
3239 down translation arguments.
3240 (drawPolyline, drawPolygon): Fix incorrect tests.
3241 * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
3242 translateX and translateY arguments.
3244 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
3246 * Makefile.in: Rebuilt.
3247 * Makefile.am (xlib_includes): New macro.
3250 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
3252 * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
3253 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
3254 16-bit display mode.
3256 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
3258 * java/awt/CardLayout.java (show): Rewrote.
3259 (gotoComponent): Removed `target' argument. Simplified code.
3260 Don't pre-compute `choice' unless `what' is FIRST or LAST.
3261 Changed all callers.
3264 2003-01-14 Michael Koch <konqueror@gmx.de>
3266 * java/net/InetSocketAddress.java
3267 (serialVersionUID): New member variable.
3268 * java/net/NetPermission.java
3269 (NetPermission): Dont implement java.io.Serialization directly.
3270 * java/net/SocketAddress.java:
3271 (serialVersionUID): Documentation added.
3273 2003-01-14 Michael Koch <konqueror@gmx.de>
3275 * java/awt/Label.java
3276 (Label): Implements javax.accessibility.Accessible;
3277 * java/awt/List.java
3278 (List): Implements javax.accessibility.Accessible;
3279 * java/awt/ScrollPane.java
3280 (ScrollPane): Implements javax.accessibility.Accessible;
3281 * java/awt/Scrollbar.java
3282 (Scrollbar): Implements javax.accessibility.Accessible;
3283 * java/awt/TextComponent.java
3284 (setCaretPosition): Throw exception, documentation added.
3285 * java/awt/Toolkit.java:
3286 Added some newlines in method documentations.
3287 (createButton): Exception documentation added.
3288 (createTextField): Exception documentation added.
3289 (createLabel): Exception documentation added.
3290 (createList): Exception documentation added.
3291 (createCheckbox): Exception documentation added.
3292 (createScrollbar): Exception documentation added.
3293 (createScrollPane): Exception documentation added.
3294 (createTextArea): Exception documentation added.
3295 (createChoice): Exception documentation added.
3296 (createFrame): Exception documentation added.
3297 (createWindow): Exception documentation added.
3298 (createDialog): Exception documentation added.
3299 (createMenuBar): Exception documentation added.
3300 (createMenu): Exception documentation added.
3301 (createMenuItem): Exception documentation added.
3302 (createFileDialog): Exception documentation added.
3303 (createCheckboxMenuItem): Exception documentation added.
3304 (loadSystemColors): Exception documentation added.
3305 (setDynamicLayout): Exception documentation added.
3306 (isDynamicLayoutSet): Exception documentation added.
3307 (isDynamicLayoutActive): Exception documentation added.
3308 (getScreenSize): Exception documentation added.
3309 (getScreenResolution): Exception documentation added.
3310 (getScreenInsets): Exception documentation added.
3311 (getColorModel): Exception documentation added.
3312 (getSystemClipboard): Exception documentation added.
3313 (getSystemSelection): Exception documentation added.
3314 (getMenuShortcutKeyMask): Exception documentation added.
3315 (getSystemEventQueue): Exception documentation added.
3316 * java/awt/Window.java:
3317 Reindented some code.
3318 (Window): Centralized implementation, documentation added.
3319 (finalize): Documentation added.
3320 (hide): Fixed typo in comment.
3321 (getWindowListeners): Documentation added.
3322 * java/awt/color/ColorSpace.java
3323 (toRGB): Documentation added.
3324 * java/awt/color/ICC_ColorSpace.java
3325 (ICC_ColorSpace): Documentation added.
3326 (toRGB): Throw exception, documentation added.
3327 (fromRGB): Throw exception, documentation added.
3328 (toCIEXYZ): Documentation added.
3329 (fromCIEXYZ): Documentation added.
3330 (getMinValue): Documentation added.
3331 (getMaxValue): Documentation added.
3332 * java/awt/geom/Dimension2D.java
3333 (clone): Documentation added.
3334 * java/awt/geom/GeneralPath.java
3335 (clone): Documentation added.
3336 * java/awt/geom/Line2D.java
3337 (clone): Documentation added.
3338 * java/awt/geom/QuadCurve2D.java
3339 (clone): Documentation added.
3340 * java/awt/image/ColorModel.java
3341 (ColorModel): Throw exception, documentation added.
3342 * java/awt/image/ImageFilter.java
3343 (clone): Doesnt throw CloneNotSupportedException.
3345 2003-01-14 Andrew Haley <aph@redhat.com>
3347 * java/lang/natRuntime.cc (_load): StackTrace access needs to be
3350 2003-01-10 Andrew Haley <aph@redhat.com>
3352 * include/dwarf2-signal.h: Remove x86_64.
3353 * configure.host (x86_64 DIVIDESPEC): Remove.
3354 * include/x86_64-signal.h: New file.
3355 * configure.in: Regenerate.
3357 2003-01-10 Michael Koch <konqueror@gmx.de>
3359 * java/net/DatagramSocket.java
3360 (ch): Description added.
3361 (remotePort): Initialize with -1.
3362 (connect): Doesnt throws SocketException.
3363 * java/net/MulticastSocket.java
3364 (setInterface): Merge with Classpath.
3365 * java/net/ServerSocket.java
3366 (closed): New member variable.
3367 (bind): Check if socket is closed.
3368 (close): Close an associated channel too, set new value to closed.
3369 (isBound): Reindented.
3370 (isClosed): Implemented.
3371 * java/net/Socket.java
3372 (closed): New member variable.
3373 (bind): Check if socket is closed.
3374 (connect): Check if socket is closed.
3375 (close): Close an associated channel too, set new value to closed.
3376 (isClosed): Implemented.
3378 2003-01-10 Michael Koch <konqueror@gmx.de>
3380 * java/awt/DisplayMode.java
3381 (equals): Fixed argument type and implementation.
3383 2003-01-07 Tom Tromey <tromey@redhat.com>
3385 * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
3386 JV_HASH_SYNCHRONIZATION.
3387 * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
3388 JV_HASH_SYNCHRONIZATION.
3390 2003-01-07 Michael Koch <konqueror@gmx.de>
3392 * java/net/DatagramSocket.java:
3393 Added classpath license info.
3394 (DatagramSocket): Merged description with classpath.
3395 (close): Merged description with classpath.
3396 (getChannel): Merged description with classpath.
3397 (getInetAddress): Merged description with classpath.
3398 (getPort): Merged description with classpath.
3399 (getLocalAddress): Merged description with classpath.
3400 (getLocalPort): Merged description with classpath.
3401 (getSoTimeout): Merged description with classpath.
3402 (setSoTimeout): Merged description with classpath.
3403 (getSendBufferSize): Merged description with classpath.
3404 (setSendBufferSize): Merged description with classpath.
3405 (getReceiveBufferSize): Merged description with classpath.
3406 (setReceiveBufferSize): Merged description with classpath.
3408 2003-01-04 Tom Tromey <tromey@redhat.com>
3410 * java/awt/List.java: Merged with Classpath.
3412 2003-01-03 Mark Wielaard <mark@klomp.org>
3414 * java/io/FileDescriptor.java (position): New private field.
3415 * java/io/natFileDescriptorPosix.cc (write): Up position.
3416 (setLength): Use and set position.
3417 (seek): Set position.
3418 (getFilePointer): Return position.
3419 (read): Up position.
3421 2003-01-03 Mark Wielaard <mark@klomp.org>
3423 Merge with Classpath:
3424 * java/io/ObjectStreamClass.java (lookup): Split method and call
3425 lookupForClassObject().
3426 (lookupForClassObject): New method.
3427 (isProxyClass): New field.
3428 (setClass): Set isProxyClass, add object to classLookupTable, set
3429 superClass and calculateOffsets.
3430 (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
3431 and not a proxy class.
3432 (setFields): Set accessible true for serialPersistentFields.
3433 (getClassUID): Same for suid. And check if suid is of type long.
3434 (hasClassInitializer): Don't throw NoSuchMethodError.
3436 2003-01-03 Mark Wielaard <mark@klomp.org>
3438 * java/io/FileInputStream.java (finalize): Don't explicitly
3439 finalize FileDescriptor.
3441 2003-01-03 Jeff Sturm <jsturm@one-point.com>
3443 * configure.host (sparc*-*): Enable bytecode interpreter.
3445 2003-01-03 Dhek Bhun Kho <bhun@chello.nl>
3447 * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
3448 Don't throw RemoteException.
3449 * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
3450 throw RemoteException.
3452 2003-01-03 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
3454 * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
3455 proxyHost): New static fields.
3456 (<clinit>): Initialize new fields.
3457 (connect): Use proxy if necessary.
3458 (usingProxy): Implement.
3460 2003-01-03 Eric Blake <ebb9@email.byu.edu>
3462 * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
3463 (TreeIterator.remove): Prefer IllegalStateException over
3464 ConcurrentModificationException, to match Sun.
3466 2002-12-22 Anthony Green <green@redhat.com>
3468 * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
3470 2003-01-02 Mark Wielaard <mark@klomp.org>
3472 * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
3474 (HTTP_USE_PROXY): Add field.
3475 (getResponseVals): Only set responseCode when not yet explicitly
3478 2003-01-02 Artur Biesiadowski <abies@pg.gda.pl>
3479 Mark Wielaard <mark@klomp.org>
3481 * java/util/zip/ZipFile.java (entries): Now HashMap.
3482 (readLeShort(DataInput, byte[])): Read from given byte array.
3483 (readLeInt(DataInput, byte[]): Likewise.
3484 (readLeShort(byte[] b, int off)): New method.
3485 (readLeInt(byte[] b, int off)): Likewise.
3486 (readEntries): Use byte arrays to read info in bigger chunks.
3487 (getEntries): Return HashMap.
3488 (getEntry): Use HashMap.
3489 (locBuf): New private field.
3490 (checkLocalHeader): Use locBuf to read info in one chunk.
3491 (getInputStream): Use entries HashMap, wrap PartialInputStream
3492 in BufferedInputStream.
3493 (ZipEntryEnumeration): Use HashMap and Interator.
3495 2003-01-02 Mark Wielaard <mark@klomp.org>
3496 Jeroen Frijters <jeroen@sumatra.nl>
3498 * java/net/URLClassLoader.java (Resource.getCodeSource):
3499 Fix check certs == null.
3500 (getCanonicalFileURL): Removed method.
3501 (JarURLLoader): Don't call removed method.
3502 (FileURLLoader): Likewise.
3503 (FileURLLoader.getResource): Don't canonicalize file name.
3505 2003-01-01 Tom Tromey <tromey@redhat.com>
3507 * Makefile.in: Rebuilt.
3508 * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
3509 * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
3510 java/awt/BufferCapabilities.java, java/awt/Button.java,
3511 java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
3512 java/awt/Container.java, java/awt/Cursor.java,
3513 java/awt/EventQueue.java, java/awt/FileDialog.java,
3514 java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
3515 java/awt/MenuBar.java, java/awt/MenuComponent.java,
3516 java/awt/PopupMenu.java, java/awt/ScrollPane.java,
3517 java/awt/Scrollbar.java, java/awt/TextArea.java,
3518 java/awt/TextField.java, java/awt/color/CMMException.java,
3519 java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
3520 java/awt/color/ProfileDataException.java,
3521 java/awt/datatransfer/Clipboard.java,
3522 java/awt/datatransfer/DataFlavor.java,
3523 java/awt/datatransfer/FlavorMap.java,
3524 java/awt/datatransfer/SystemFlavorMap.java,
3525 java/awt/dnd/DragGestureEvent.java,
3526 java/awt/dnd/DragGestureRecognizer.java,
3527 java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
3528 java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
3529 java/awt/im/InputMethodHighlight.java,
3530 java/io/PipedOutputStream.java, java/io/PipedWriter.java,
3531 java/rmi/server/RMIClassLoader.java: Merged from Classpath.
3533 * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
3534 `op' to BufferedImageOp.
3536 2002-12-31 Tom Tromey <tromey@redhat.com>
3538 Fix for PR libgcj/7416:
3539 * javax/naming/InitialContext.java (init): Use
3540 gnu.classpath.home.url.
3541 * java/security/Security.java: Use new properties.
3542 (loadProviders): Accept base url; use it.
3543 * java/lang/System.java: Document gnu.classpath.vm.shortname, and
3544 gnu.classpath.home.url.
3545 (gnu.classpath.home.url): Define.
3546 (gnu.classpath.vm.shortname): Likewise.
3548 2002-12-31 Tom Tromey <tromey@redhat.com>
3549 Ranjit Mathew <rmathew@hotmail.com>
3551 Fix for PR libgcj/8997:
3552 * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
3554 * include/posix.h (_Jv_platform_usleep): New function.
3555 * include/win32.h (_Jv_platform_usleep): New function.
3557 2002-12-29 Tom Tromey <tromey@redhat.com>
3559 * gcj/javaprims.h: Updated.
3560 * scripts/classes.pl (scan): Removed stray semicolon.
3562 2002-12-30 Mark Wielaard <mark@klomp.org>
3564 * java/net/URLStreamHandler.java (toExternalForm): Ignore port
3567 2002-12-30 Mark Wielaard <mark@klomp.org>
3569 * java/util/Properties (formatForOutput): Don't fall through to
3570 default case after escaping character.
3572 2002-12-30 Mark Wielaard <mark@klomp.org>
3574 * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
3577 2002-12-27 Mark Mitchell <mark@codesourcery.com>
3579 * boehm.cc: Remove stray semicolon.
3580 * interpret.cc: Likewise.
3581 * prims.cc: Likewise.
3582 * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
3583 earlier to ensure default arguments are processed.
3584 * gcj/array.h (JArray): Add forward declaration.
3585 (elements): Likewise.
3586 * gcj/javaprim.h: Remove stray semicolons.
3587 * include/bohm-gc.h: Likewise.
3588 * include/jni.h: Likewise.
3589 * include/jvm.h: Likewise.
3590 * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
3592 2002-12-23 Jeff Sturm <jsturm@one-point.com>
3594 * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
3596 * java/lang/natClass.cc (initializeClass): Link vtable, otable,
3597 idt tables after initializing superclass.
3598 * java/lang/natClassLoader.cc (uaddr): New typedef.
3599 (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
3600 if they are constant pool indicies. Don't link vtable, otable yet.
3602 2002-12-21 Anthony Green <green@redhat.com>
3604 * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
3606 * Makefile.in: Rebuilt.
3608 2002-12-19 Anthony Green <green@redhat.com>
3610 * Makefile.am (ordinary_java_source_files): Add
3611 org/xml/sax/helpers/NewInstance.java.
3612 * Makefile.in: Rebuilt.
3613 * org/xml/sax/package.html, org/xml/sax/ext/package.html,
3614 org/xml/sax/helpers/package.html: New files.
3615 * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
3616 http://www.saxproject.org.
3618 2002-12-19 Andrew Haley <aph@redhat.com>
3620 * java/util/natResourceBundle.cc: Include
3621 ArrayIndexOutOfBoundsException.h.
3622 (getCallingClassLoader): Don't put upper bound on stack search.
3623 Catch ArrayIndexOutOfBoundsException.
3625 2002-12-19 Tom Tromey <tromey@redhat.com>
3627 * libtool-version: Increased `current'.
3629 2002-12-19 Tom Tromey <tromey@redhat.com>
3631 * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
3633 * java/lang/ClassLoader.java (defineClass): Use chained
3634 exception when rethrowing.
3635 * defineclass.cc (handleClassBegin): Mark class as interpreted.
3636 * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
3638 * resolve.cc (_Jv_PrepareMissingMethods): New function.
3639 (_Jv_PrepareClass): Use it.
3640 * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
3641 (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
3642 * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
3643 (Class): _Jv_PrepareMissingMethods now friend.
3644 * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
3645 Record `NULL' for system class loader.
3646 (_Jv_RegisterInitiatingLoader): Use JvSynchronize. Special case
3647 system class loader.
3648 (_Jv_FindClassInCache): Likewise.
3649 (_Jv_UnregisterClass): Use JvSynchronize. Free old loader info.
3650 (_Jv_FindClass): Special case system class loader.
3651 * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
3652 (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
3654 (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
3656 (_getDeclaredMethod): Don't return synthetic methods.
3657 (getDeclaredMethods): Likewise.
3658 (_getMethod): Likewise.
3659 (_getMethods): Likewise.
3661 2002-12-18 Raif Naffah <raif@fl.net.au>
3663 * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
3664 canonical form after divide().
3665 (modInverse): Likewise.
3667 2002-12-13 Casey Marshall <rsdio@metastatic.org>
3668 Mark Wielaard <mark@klomp.org>
3670 * java/security/SecurityRandom (digest): Removed field.
3671 (SecureRandom): Check all providers for case-insensitive SecureRandom
3672 implementation. Don't ignore classname == null. Fallback to SHA1PRNG
3674 (getInstance(String,Provider,boolean): New method.
3675 (getInstance(String)): Use new method.
3676 (getInstance(String,String)): Likewise.
3677 (getInstance(String,Provider)): Likewise.
3679 2002-12-13 Casey Marshall <rsdio@metastatic.org>
3681 * java/security/Security.java (loadProviders): Increment i only once.
3683 2002-12-12 Mark Wielaard <mark@klomp.org>
3685 * java/lang/ClassLoader.java (resolveClass0): Transform
3686 ClassNotFoundException to NoClassDefFoundError. Transform all other
3687 throwables to LinkageError.
3689 2002-12-11 Tom Tromey <tromey@redhat.com>
3691 * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
3693 * java/lang/ClassLoader.java (loadedClasses): New field.
3694 (defineClass): Fixed indentation. Put new class in
3696 (findLoadedClass): Implement here.
3697 * java/lang/natClassLoader.cc (findLoadedClass): Removed.
3699 2002-12-10 Tom Tromey <tromey@redhat.com>
3701 * Makefile.in: Rebuilt.
3702 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
3703 * gnu/gcj/runtime/natVMClassLoader.cc: New file.
3704 (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
3705 * java/lang/natClassLoader.cc
3706 (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
3708 2002-12-10 Mark Wielaard <mark@klomp.org>
3709 Tom Tromey <tromey@redhat.com>
3711 * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
3712 (JarURLLoader): Use it.
3713 (FileURLLoader): Likewise.
3714 (JarURLResource.getURL): Use chained exception.
3715 (FileResource.getURL): Likewise.
3716 (FileURLLoader.getResource): Use canonical file name.
3717 (addURL): Indentation fix.
3719 2002-12-10 Tom Tromey <tromey@redhat.com>
3721 * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
3722 From Laurent Bardet <l.bardet@magic.fr>.
3724 2002-12-09 Tom Tromey <tromey@redhat.com>
3726 * include/win32.h (_Jv_platform_solib_prefix): New define.
3727 (_Jv_platform_solib_suffix): Likewise.
3728 * include/posix.h (_Jv_platform_solib_prefix): New define.
3729 (_Jv_platform_solib_suffix): Likewise.
3730 * java/lang/natRuntime.cc: Include StackTrace.h.
3731 (_load): Use findLibrary and new platform defines.
3732 (nativeGetLibname): Use new platform defines.
3734 * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
3737 2002-12-08 Mark Wielaard <mark@klomp.org>
3739 * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
3740 cache remote jar files.
3741 * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
3742 add File.separator to URL when it is a directory.
3743 * java/lang/ClassLoader.java: Add Classpath javadoc.
3745 (getParent): Add (disabled) security check.
3746 (findLibrary): New default method.
3747 * java/net/JarURLConnection.java (getManifest): Implement.
3748 (getInputStream): Only create InputStream when entry exists.
3749 (getHeaders): Only use jarFileURLConnection or JarEntry to set length
3751 * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
3753 2002-12-08 Mark Wielaard <mark@klomp.org>
3755 * java/util/ResourceBundle.java (resourceBundleCache): Not final.
3756 (lastDefaultLocale): New field.
3757 (getBundle): When Locale.getDefault != lastDefaultLocale reset
3758 resourceBundleCache.
3760 2002-12-06 Mark Wielaard <mark@klomp.org>
3762 * java/net/InetAddress.java (toString): Use hostname when not null,
3763 don't do an explicit reverse getHostName() lookup.
3764 * java/net/Socket.java (setSocketImplFactory): When fac == null throw
3765 NullPointerException.
3767 2002-12-06 Tom Tromey <tromey@redhat.com>
3769 * include/java-interp.h (class _Jv_InterpMethod): Added
3771 * boehm.cc (_Jv_MarkObj): Consolidated interpreter code. Also
3772 mark `prepared' field of interpreted method.
3773 * interpret.cc (compile): Use _Jv_AllocBytes.
3775 2002-12-05 Andrew Haley <aph@redhat.com>
3777 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
3778 #ifdef (HAVE_BACKTRACE) around the whole function body.
3780 2002-12-05 Tom Tromey <tromey@redhat.com>
3782 * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
3783 * resolve.cc: Don't include AbstractMethodError.h.
3784 (_Jv_abstractMethodError): Removed.
3785 * defineclass.cc (handleMethodsBegin): Initialize method index to
3787 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
3788 method index for "new" final method.
3789 (_Jv_SetVTableEntries): Compare index against -1 instead of using
3790 isVirtualMethod. Added `flags' argument.
3791 (_Jv_MakeVTable): Throw exception for abstract method in concrete
3794 2002-12-04 Tom Tromey <tromey@redhat.com>
3796 * java/net/SocketPermission.java (hashCode): Rewrote.
3798 2002-12-04 Tom Tromey <tromey@redhat.com>
3800 * Makefile.in: Rebuilt.
3801 * Makefile.am (nat_source_files): Added natVMSecurityManager,
3803 * java/util/ResourceBundle.java (Security): Removed.
3804 (getCallingClassLoader): Now native.
3805 * java/util/natResourceBundle.cc: New file.
3806 * java/lang/natVMSecurityManager.cc: New file.
3807 * java/lang/VMSecurityManager.java (getClassContext): Now native.
3809 2002-12-03 Mark Wielaard <mark@klomp.org>
3811 * java/util/jar/JarFile.java (manifest): Not final.
3812 (manifestRead): New field.
3813 (JarFile): Don't read Manifest in constructor.
3814 (getManifest): New method.
3815 (JarEnumeration.nextElement): Use new method.
3816 (getEntry): Likewise.
3817 * java/util/zip/ZipFile.java (name): Final.
3819 (entries): Change type to Hashtable.
3820 (closed): New field.
3821 (ZipFile): Don't read enties in constructor.
3822 (readEntries): Use Hashtable.
3823 (close): Set new close flag and set entries to null inside
3825 (entries): Contruct enumeration using new getEntries() method and
3827 (getEntryIndex): Removed.
3828 (getEntries): New method.
3829 (getEntry): Use new getEntries() method and entries Hastable.
3830 (getInputStream): Likewise.
3831 (size): Return getEntries().size().
3832 (ZipEntryEnumeration): Wrap entries Hashtable elements.
3833 * java/util/zip/ZipEntry.java (cal): Don't initialize.
3835 (dostime): New field.
3836 (zipFileIndex): Removed.
3837 (ZipEntry(ZipEntry)): Copy dostime.
3838 (setDOSTime): Now final and doesn't convert dos time.
3839 (getDOSTime): Likewise.
3840 (setTime): Convert dos time.
3841 (getTime): Likewise.
3842 (getCalendar): New method.
3843 (setExtra): Use setTime().
3844 * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
3846 2002-12-03 Tom Tromey <tromey@redhat.com>
3848 * java/lang/Character.java (forDigit): Formatting fix.
3850 2002-12-03 Raif Naffah <raif@fl.net.au>
3852 * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
3853 * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
3854 * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
3856 2002-12-03 Andrew Haley <aph@redhat.com>
3858 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
3860 (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
3861 (_Jv_PopClass): New.
3862 (_Jv_PushClass): New.
3863 * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
3864 discover the ClassLoader of our caller.
3865 (_Jv_CheckArrayStore): Don't check that a class is assignment
3866 compatible with Object.
3867 * java/lang/natVMTHrowable.cc: Delete.
3868 * gnu/gcj/runtime/StackTrace.java: New, partly copied from
3869 java.lang.VMThrowable.
3870 (StackTrace(), StackTrace(int)): New constructors.
3871 (classAt, methodAt, update, methodAtAddress): New methods.
3873 * java/lang/VMThrowable.java: Use StackTrace instead of
3875 * java/lang/Class.h (getClassLoaderInternal): New.
3876 (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
3877 Be friendly with gnu::gcj::runtime::StackTrace.
3878 (Object.chain): New field.
3879 * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
3880 gnu::gcj::runtime::StackTrace.
3881 * gnu/gcj/runtime/natStackTrace.cc: New file.
3882 * gnu/gcj/runtime/MethodRef.java: New file.
3883 * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
3884 instead of getClassLoader().
3885 * verify.cc (class _Jv_BytecodeVerifier): Likewise.
3886 java::lang::VMThrowable.
3887 * Makefile.am (core_java_source_files): Add MethodRef.java,
3889 (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
3890 * Makefile.in: Rebuild.
3892 2002-12-02 Kaz Kojima <kkojima@gcc.gnu.org>
3894 * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
3895 CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
3896 yes also for sh-linux* and sh[34]*-linux*.
3897 * configure.in: Add sh-linux* and sh[34]*-linux* cases and
3898 set SIGNAL_HANDLER to use DWARF2 exception for them.
3899 * configure: Regenerate.
3901 2002-12-02 Tom Tromey <tromey@redhat.com>
3903 * jni.cc: Added `name' argument.
3904 * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
3905 `const char *' argument.
3906 (class _Jv_JNIEnv) [DefineClass]: Likewise.
3908 2002-12-01 Tom Tromey <tromey@redhat.com>
3910 Bug compatibility, for PR libgcj/8738:
3911 * java/io/CharArrayWriter.java (close): Do nothing.
3913 (reset): Don't touch `closed'.
3914 (write(int)): Don't throw IOException.
3915 (write(char[],int,int)): Likewise.
3916 (write(String,int,int)): Likewise.
3919 2002-12-01 Mark Wielaard <mark@klomp.org>
3921 * java/lang/SecurityManager.java: Remerge comments, indenting and
3922 checkXXX methods with Classpath.
3924 2002-11-29 Scott Gilbertson <scottg@mantatest.com>
3926 * java/awt/image/ColorModel.java (getUnnormalizedComponents,
3927 getNormalizedComponents): Fix calculation which was using one too
3928 many bits in the unnormalized format.
3930 2002-11-29 Gary Benson <gbenson@redhat.com>
3933 * java/beans/Introspector.java (flushCaches): New method.
3934 (flushFromCaches): Likewise.
3936 2002-11-29 Michael Koch <konqueror@gmx.de>
3938 * java/nio/channels/DatagramChannel.java
3939 (open): Added exception documentation.
3940 (write): Added exception documentation.
3941 (connect): Added exception documentation.
3942 (disconnect): Added exception documentation.
3943 (isConnected): Added exception documentation.
3944 (read): Added exception documentation.
3945 (receive): Added exception documentation.
3946 (send): Added exception documentation.
3947 (validOps): Added exception documentation.
3948 * java/nio/channels/SocketChannel.java
3949 (open): Added exception documentation.
3950 (read): Added exception documentation.
3951 (write): Added exception documentation.
3952 (connect): Added exception documentation.
3953 (finishConnect): Added exception documentation.
3955 2002-11-29 Michael Koch <konqueror@gmx.de>
3957 * gnu/java/nio/DatagramChannelImpl:
3958 (fd): New member variable to store file descriptor of socket.
3959 * gnu/java/nio/SelectionKeyImpl.java:
3961 (readyOps): New member variable.
3962 (interestOps): New member variable.
3963 (readyOps): Implemented.
3964 (readyOps): New method to set member variable readyOps.
3965 (interestOps): Replaced ops by interestOps.
3966 * gnu/java/nio/SelectorImpl.java:
3967 (SelectorImpl): Initialize key sets.
3968 (select): Call select with -1 instead of Long.MAX_VALUE).
3969 (java_do_select): Make it a native method.
3970 (getFDsAsArray): New helper method.
3971 (select): Remove canceled keys, give only interested file discriptors
3972 to java_do_select, set ready ops.
3973 (add): No need to initialize keys set here.
3974 (add_selected): No need to initialize selected set here.
3975 (deregisterCanceledKeys): New helper method.
3976 (register): Set interest ops, set attachments, added handling of datagram
3978 * gnu/java/nio/ServerSocketChannelImpl:
3979 (SocketAccept): Renamed from NioSocketAccept.
3980 (implConfigureBlocking): Implemented.
3981 (accept): Use SocketAccept instead of NioSocketAccept.
3982 * gnu/java/nio/SocketChannelImpl:
3983 Reactivate native methods.
3985 2002-11-29 Michael Koch <konqueror@gmx.de>
3987 * gnu/java/nio/natByteBufferImpl.cc,
3988 gnu/java/nio/natCharBufferImpl.cc,
3989 gnu/java/nio/natDoubleBufferImpl.cc,
3990 gnu/java/nio/natFloatBufferImpl.cc,
3991 gnu/java/nio/natIntBufferImpl.cc,
3992 gnu/java/nio/natLongBufferImpl.cc,
3993 gnu/java/nio/natSelectorImpl.cc,
3994 gnu/java/nio/natServerSocketChannelImpl.cc,
3995 gnu/java/nio/natShortBufferImpl.cc,
3996 gnu/java/nio/natSocketChannelImpl.cc:
3997 New files that implement native functionalities.
3999 2002-11-29 Michael Koch <konqueror@gmx.de>
4001 * gnu/java/nio/ByteBufferImpl.java
4002 (ByteBufferImpl): Moved position() after limit.
4003 (nio_*): Use native implementation.
4004 * gnu/java/nio/CharBufferImpl.java:
4006 (endian): New member variable string endianess of buffer.
4007 (CharBufferImpl): Moved position() after limit.
4008 (nio_*): Use native implementation.
4009 (subSequence): Implemented.
4010 * gnu/java/nio/DoubleBufferImpl.java
4011 (DoubleBufferImpl): Moved position() after limit.
4012 (nio_*): Use native implementation.
4013 * gnu/java/nio/FloatBufferImpl.java
4015 (FloatBufferImpl): Moved position() after limit.
4016 (nio_*): Use native implementation.
4017 * gnu/java/nio/IntBufferImpl.java
4018 Added needed imports, Reformated.
4019 (IntBufferImpl): Moved position() after limit.
4020 (nio_*): Use native implementation.
4021 * gnu/java/nio/LongBufferImpl.java
4023 (LongBufferImpl): Moved position() after limit.
4024 (nio_*): Use native implementation.
4025 * gnu/java/nio/ShortBufferImpl.java
4027 (ShortBufferImpl): Moved position() after limit.
4028 (nio_*): Use native implementation.
4030 2002-11-27 Julian Dolby <dolby@us.ibm.com>
4032 * java/util/Locale.java (toString): Improve efficiency if country
4033 and variant are both empty.
4035 2002-11-26 Tom Tromey <tromey@redhat.com>
4037 * verify.cc (pop_init_ref): New method.
4038 (verify_instructions_0) [op_iaload, op_laload, op_faload,
4039 op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
4040 op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
4041 op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
4042 op_instanceof, op_monitorenter, op_monitorexit]: Use it.
4043 (verify_instructions_0) [op_invokevirtual, op_invokespecial,
4044 op_invokestatic, op_invokeinterface]: Use pop_init_ref. Don't
4045 let `this' argument be uninitialized. Don't let `null' be passed
4046 as `this' to construtor.
4048 2002-11-26 Mark Wielaard <mark@klomp.org>
4050 * javax/transaction/HeuristicCommitException.java: Classpath merge.
4051 * javax/transaction/HeuristicMixedException.java: Likewise.
4052 * javax/transaction/HeuristicRollbackException.java: Likewise.
4053 * javax/transaction/InvalidTransactionException.java: Likewise.
4054 * javax/transaction/NotSupportedException.java: Likewise.
4055 * javax/transaction/RollbackException.java: Likewise.
4056 * javax/transaction/Status.java: Likewise.
4057 * javax/transaction/Synchronization.java: Likewise.
4058 * javax/transaction/SystemException.java: Likewise.
4059 * javax/transaction/Transaction.java: Likewise.
4060 * javax/transaction/TransactionManager.java: Likewise.
4061 * javax/transaction/TransactionRequiredException.java: Likewise.
4062 * javax/transaction/TransactionRolledbackException.java: Likewise.
4063 * javax/transaction/UserTransaction.java: Likewise.
4064 * javax/transaction/xa/XAException.java: Likewise.
4065 * javax/transaction/xa/XAResource.java: Likewise.
4066 * javax/transaction/xa/Xid.java: Likewise.
4068 2002-11-26 Andreas Tobler <a.tobler@schweiz.ch>
4070 * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
4072 * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
4073 * include/posix.h (socklen_t): Define if not already defined.
4075 2002-11-25 Tom Tromey <tromey@redhat.com>
4077 * verify.cc (type::compatible): Backed out broken change.
4079 * verify.cc (type::compatible): Check initialization status
4081 * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
4082 Don't use NULLCHECK.
4084 2002-11-23 H.J. Lu <hjl@gnu.org>
4086 * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
4087 Include ../config/accross.m4.
4088 * aclocal.m4; Rebuild.
4089 * configure: Likewise.
4091 2002-11-23 Mark Wielaard <mark@klomp.org>
4093 * javax/naming/AuthenticationException.java: Update copyright header.
4094 * javax/naming/AuthenticationNotSupportedException.java: Likewise.
4095 * javax/naming/Binding.java: Likewise.
4096 * javax/naming/CannotProceedException.java: Likewise.
4097 * javax/naming/CommunicationException.java: Likewise.
4098 * javax/naming/CompositeName.java: Likewise.
4099 * javax/naming/CompoundName.java: Likewise.
4100 * javax/naming/ConfigurationException.java: Likewise.
4101 * javax/naming/Context.java: Likewise.
4102 * javax/naming/ContextNotEmptyException.java: Likewise.
4103 * javax/naming/InitialContext.java: Likewise.
4104 * javax/naming/InsufficientResourcesException.java: Likewise.
4105 * javax/naming/InterruptedNamingException.java: Likewise.
4106 * javax/naming/LimitExceededException.java: Likewise.
4107 * javax/naming/LinkException.java: Likewise.
4108 * javax/naming/LinkLoopException.java: Likewise.
4109 * javax/naming/LinkRef.java: Likewise.
4110 * javax/naming/MalformedLinkException.java: Likewise.
4111 * javax/naming/NameAlreadyBoundException.java: Likewise.
4112 * javax/naming/NameClassPair.java: Likewise.
4113 * javax/naming/NameNotFoundException.java: Likewise.
4114 * javax/naming/NameParser.java: Likewise.
4115 * javax/naming/NamingEnumeration.java: Likewise.
4116 * javax/naming/NamingSecurityException.java: Likewise.
4117 * javax/naming/NoInitialContextException.java: Likewise.
4118 * javax/naming/NoPermissionException.java: Likewise.
4119 * javax/naming/NotContextException.java: Likewise.
4120 * javax/naming/OperationNotSupportedException.java: Likewise.
4121 * javax/naming/PartialResultException.java: Likewise.
4122 * javax/naming/Reference.java: Likewise.
4123 * javax/naming/Referenceable.java: Likewise.
4124 * javax/naming/ReferralException.java: Likewise.
4125 * javax/naming/ServiceUnavailableException.java: Likewise.
4126 * javax/naming/SizeLimitExceededException.java: Likewise.
4127 * javax/naming/TimeLimitExceededException.java: Likewise.
4128 * javax/naming/directory/Attribute.java: Likewise.
4129 * javax/naming/directory/AttributeInUseException.java: Likewise.
4130 * javax/naming/directory/AttributeModificationException.java: Likewise.
4131 * javax/naming/directory/Attributes.java: Likewise.
4132 * javax/naming/directory/BasicAttribute.java: Likewise.
4133 * javax/naming/directory/BasicAttributes.java: Likewise.
4134 * javax/naming/directory/DirContext.java: Likewise.
4135 * javax/naming/directory/InitialDirContext.java: Likewise.
4136 * javax/naming/directory/InvalidAttributeIdentifierException.java:
4138 * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
4139 * javax/naming/directory/InvalidAttributesException.java: Likewise.
4140 * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
4141 * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
4142 * javax/naming/directory/ModificationItem.java: Likewise.
4143 * javax/naming/directory/NoSuchAttributeException.java: Likewise.
4144 * javax/naming/directory/SchemaViolationException.java: Likewise.
4145 * javax/naming/directory/SearchControls.java: Likewise.
4146 * javax/naming/directory/SearchResult.java: Likewise.
4147 * javax/naming/event/EventContext.java: Likewise.
4148 * javax/naming/event/EventDirContext.java: Likewise.
4149 * javax/naming/event/NamespaceChangeListener.java: Likewise.
4150 * javax/naming/event/NamingEvent.java: Likewise.
4151 * javax/naming/event/NamingExceptionEvent.java: Likewise.
4152 * javax/naming/event/NamingListener.java: Likewise.
4153 * javax/naming/event/ObjectChangeListener.java: Likewise.
4154 * javax/naming/ldap/Control.java: Likewise.
4155 * javax/naming/ldap/ControlFactory.java: Likewise.
4156 * javax/naming/ldap/ExtendedRequest.java: Likewise.
4157 * javax/naming/ldap/ExtendedResponse.java: Likewise.
4158 * javax/naming/ldap/HasControls.java: Likewise.
4159 * javax/naming/ldap/InitialLdapContext.java: Likewise.
4160 * javax/naming/ldap/LdapContext.java: Likewise.
4161 * javax/naming/ldap/LdapReferralException.java: Likewise.
4162 * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
4163 * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
4164 * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
4165 * javax/naming/spi/DirObjectFactory.java: Likewise.
4166 * javax/naming/spi/DirStateFactory.java: Likewise.
4167 * javax/naming/spi/DirectoryManager.java: Likewise.
4168 * javax/naming/spi/InitialContextFactory.java: Likewise.
4169 * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
4170 * javax/naming/spi/NamingManager.java: Likewise.
4171 * javax/naming/spi/ObjectFactory.java: Likewise.
4172 * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
4173 * javax/naming/spi/ResolveResult.java: Likewise.
4174 * javax/naming/spi/Resolver.java: Likewise.
4175 * javax/naming/spi/StateFactory.java: Likewise.
4177 * javax/naming/spi/NamingManager.java (ofb): Package private.
4179 2002-11-21 Mark Wielaard <mark@klomp.org>
4181 * java/net/URL.java: Merge with Classpath (partly).
4182 * java/net/URLStreamHandler: Merge with Classpath.
4184 2002-11-22 Michael Koch <konqueror@gmx.de>
4187 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
4189 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
4190 (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
4192 2002-11-21 Michael Koch <konqueror@gmx.de>
4194 * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
4195 Only the new network functions should be in it.
4197 2002-11-21 Michael Koch <konqueror@gmx.de>
4199 * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
4200 * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
4202 2002-11-21 Michael Koch <konqueror@gmx.de>
4204 * java/nio/channels/AsynchronousCloseException.java,
4205 java/nio/channels/CancelledKeyException.java,
4206 java/nio/channels/ClosedByInterruptException.java,
4207 java/nio/channels/ConnectionPendingException.java,
4208 java/nio/channels/FileLockInterruptionException.java,
4209 java/nio/channels/IllegalSelectorException.java,
4210 java/nio/channels/NoConnectionPendingException.java,
4211 java/nio/channels/NonReadableChannelException.java,
4212 java/nio/channels/NonWritableChannelException.java,
4213 java/nio/channels/NotYetBoundException.java,
4214 java/nio/channels/NotYetConnectedException.java,
4215 java/nio/channels/OverlappingFileLockException.java,
4216 java/nio/channels/UnresolvedAddressException.java,
4217 java/nio/channels/UnsupportedAddressTypeException.java:
4219 * Makefile.am (ordinary_java_source_files): Added new files.
4220 * Makefile.in: Regenerated.
4222 2002-11-21 Michael Koch <konqueror@gmx.de>
4225 (_Jv_socket): New method.
4226 (_Jv_connect): New method.
4227 (_Jv_close): New method.
4228 (_Jv_platform_close_on_exec): Prefixed system function with "::".
4229 (_Jv_bind): New method.
4230 (_Jv_listen): New method.
4231 (_Jv_write): New method.
4232 (_Jv_read): New method.
4234 (_Jv_socket): New method.
4235 (_Jv_connect): New method.
4236 (_Jv_close): New method.
4237 (_Jv_bind): New method.
4238 (_Jv_listen): New method.
4239 (_Jv_write): New method.
4240 (_Jv_read): New method.
4241 * java/net/natNetworkInterface.cc:
4242 Include platform.h, removed inclusion of socket.h
4243 (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
4244 ::close() by _Jv_close().
4245 * java/net/natPlainDatagramSocketImpl.cc:
4246 Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
4247 added some new lines to make code more readable.
4248 (create): Replaced ::socket() by _Jv_socket().
4249 (close): Replaced NATIVE_CLOSE() by _Jv_close().
4250 * java/net/natPlainSocketImpl.cc:
4251 Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
4252 removed include of socket.h, removed some windows defines
4253 (now in include/win32.h).
4254 (create): Replaced ::socket() by _Jv_socket().
4255 (close): Replaced NATIVE_CLOSE() by _Jv_close().
4256 (write): Replaced ::read by _Jv_write().
4257 (read): Replaced ::read by _Jv_read().
4259 2002-11-20 Michael Koch <konqueror@gmx.de>
4261 * Makefile.am (ordinary_java_source_files):
4262 Added java/nio/channels/FileChannel.java.
4263 * Makefile.in: Regenerated.
4265 2002-11-20 Michael Koch <konqueror@gmx.de>
4267 * java/io/FileInputStream.java
4268 (getChannel): New method.
4269 * java/io/FileOutputStream.java
4270 (getChannel): New method.
4271 * java/net/ServerSocket.java
4272 (bind): Removed duplicate code and called another bind method instead.
4273 * java/nio/channels/SelectionKey.java
4274 (isValid): Removed wrong exception documentation.
4275 * java/nio/channels/ServerSocketChannel.java
4276 (accept): Added exception documentation.
4277 (open): Fixed typo, added exception documentation.
4278 * java/nio/channels/spi/AbstractSelectableChannel.java
4279 (implCloseChannel): Added exception documentation.
4281 (register): Added exception documentation.
4283 2002-11-20 Andreas Jaeger <aj@suse.de>
4285 * configure: Regenerated with new libtool.m4.
4287 2002-11-19 Tom Tromey <tromey@redhat.com>
4289 * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
4291 (finalize_referred_to_object): Don't modify `referent' or `copy'
4293 (add_to_hash): Correctly set `n->next' when updating list.
4294 * java/lang/ref/Reference.java (enqueue): Return false if already
4297 2002-11-19 Ranjit Mathew <rmathew@hotmail.com>
4299 * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
4300 to function and function pointer declarations in accordance with
4301 Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
4302 based on whether __GCJ_JNI_IMPL__ has been defined or not.
4303 * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
4304 JNI function definitions.
4306 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
4308 * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
4309 that was causing CoderResults to be cached, not WeakReferences
4312 2002-11-18 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
4314 * java/security/KeyStore.java (getInstance): Fix
4315 comment and throw IllegalArgumentException if
4316 given provider is null.
4317 (getInstance): New method for jdk1.4 compatibility.
4319 2002-11-18 Michael Koch <konqueror@gmx.de>
4321 * java/net/PlainSocketImpl.java: Fix imports.
4323 2002-11-18 Michael Koch <konqueror@gmx.de>
4325 * java/nio/channels/SelectionKey.java
4326 (isValid): Added exception documentation.
4327 * java/nio/channels/Selector.java
4328 (open): Declare "throws IOException".
4330 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
4332 * java/nio/charset/Charset.java
4333 (<clinit>): New method.
4334 (encode): Synchronize use of cached encoder object.
4335 (decode): Synchronize use of cached encoder object.
4337 2002-11-18 Michael Koch <konqueror@gmx.de>
4339 * gnu/java/nio/ByteBufferImpl.java,
4340 gnu/java/nio/CharBufferImpl.java,
4341 gnu/java/nio/DatagramChannelImpl.java,
4342 gnu/java/nio/DoubleBufferImpl.java,
4343 gnu/java/nio/FileChannelImpl.java,
4344 gnu/java/nio/FloatBufferImpl.java,
4345 gnu/java/nio/IntBufferImpl.java,
4346 gnu/java/nio/LongBufferImpl.java,
4347 gnu/java/nio/PipeImpl.java,
4348 gnu/java/nio/SelectionKeyImpl.java,
4349 gnu/java/nio/SelectorImpl.java,
4350 gnu/java/nio/SelectorProviderImpl.java,
4351 gnu/java/nio/ServerSocketChannelImpl.java,
4352 gnu/java/nio/ShortBufferImpl.java,
4353 gnu/java/nio/SocketChannelImpl.java,
4354 java/nio/DoubleBuffer.java,
4355 java/nio/FloatBuffer.java,
4356 java/nio/IntBuffer.java,
4357 java/nio/LongBuffer.java,
4358 java/nio/ShortBuffer.java,
4359 java/nio/channels/FileChannel.java: New files.
4361 2002-11-18 Michael Koch <konqueror@gmx.de>
4363 * Makefile.am (ordinary_java_source_files):
4364 Added java/nio/ReadOnlyBufferException.java and
4365 java/nio/channels/ClosedSelectorException.java.
4366 * Makefile.in: Regenerated.
4368 2002-11-18 Michael Koch <konqueror@gmx.de>
4370 * java/net/PlainSocketImpl.java: Reworked imports.
4371 * java/net/ServerSocket.java
4372 (ServerSocket): Create socket.
4373 * java/net/SocketAddress.java: Documentation added.
4374 * java/net/natPlainSocketImpl.cc: Reindented.
4375 * java/nio/ReadOnlyBufferException.java: New file
4376 * java/nio/channels/ClosedChannelException.java: Documentation added.
4377 * java/nio/channels/ClosedSelectorException.java: New file.
4379 2002-11-17 Mark Wielaard <mark@klomp.org>
4381 * java/net/HttpURLConnection.java ((getPermission): Take port
4383 (getErrorStream): Implement.
4385 2002-11-17 Mark Wielaard <mark@klomp.org>
4387 * java/net/HttpURLConnection.java: Merge with GNU Classpath.
4389 2002-11-16 Mark Wielaard <mark@klomp.org>
4391 Integrate work by Raif S. Naffah (raif@fl.net.au)
4392 * java/security/DummyKeyPairGenerator.java (clone): New method.
4393 * java/security/DummyMessageDigest.java (clone): New method.
4394 (engineUpdate): Now public.
4395 (engineReset): Likewise.
4396 (engineDigest): Likewise.
4397 (engineGetDigestLength): New method.
4398 * java/security/DummySignature.java (clone): New method.
4399 * java/security/KeyPairGenerator.java (provider): Now package private.
4400 (getInstance(String)): Use getInstance(String,Provider).
4401 (getInstance(String,String): Use getInstance(String,Provider)
4402 (getInstance(String,Provider): New method.
4403 (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
4404 * java/security/KeyPairGeneratorSpi.java (clone): New method.
4405 * java/security/MessageDigest.java (provider): Now package private.
4406 (getInstance(String): Use getInstance(String,Provider).
4407 (getInstance(String,String): Use getInstance(String,Provider)
4408 (getInstance(String,Provider): New method.
4409 * java/security/Provider.java (toCanonicalKey): New method.
4410 (get): New method that uses toCanonicalKey().
4411 (put): Use toCanonicalKey().
4413 * java/security/Security.java (insertProviderAt): Provider index is one
4414 based, not zero based.
4415 (addProvider): Likewise.
4416 (removeProvider): Likewise.
4417 * java/security/Signature.java (provider): Now package private.
4418 (getInstance(String)): Use getInstance(String,Provider).
4419 (getInstance(String,String): Use getInstance(String,Provider)
4420 (getInstance(String,Provider): New method.
4421 (getInstance(String,String,Provider): Don't cast DummySignature.
4423 2002-11-15 Tom Tromey <tromey@redhat.com>
4426 * java/util/zip/GZIPInputStream.java (read): Check file size.
4427 Look in inflater for remaining input bytes.
4428 (read4): Added buf and offset arguments.
4430 2002-11-12 Eric Blake <ebb9@email.byu.edu>
4432 * java/applet/AppletContext.java: Fix typo and remove redundant
4435 2002-11-14 Tom Tromey <tromey@redhat.com>
4437 * java/lang/natRuntime.cc (insertSystemProperties): Set
4440 2002-11-13 Michael Koch <konqueror@gmx.de>
4442 * java/nio/ByteBuffer.java
4443 (allocate): New method.
4448 2002-11-13 Michael Koch <konqueror@gmx.de>
4450 * java/nio/channels/AlreadyConnectedException.java:
4451 Removed unneeded import.
4452 (AlreadyConnectedException): Documentation added.
4453 * java/nio/channels/Pipe.java
4454 (SinkChannel.SinkChannel): Documentation added.
4455 (SinkChannel.validOps): New method.
4456 (SourceChannel.SourceChannel): Documentation added.
4457 (SourceChannel.validOps): New method.
4458 (Pipe): Documentation added.
4459 (open): Documentation added.
4460 (SinkChannel.channel): Documentation added.
4461 (SourceChannel.channel): Documentation added.
4462 * java/nio/channel/SelectableChannel.java
4463 (SelectableChannel): Documentation added.
4464 (blockingLock): Documentation added.
4465 (configureBlocking):Documentation added.
4466 (isBlocking):Documentation added.
4467 (isRegistered):Documentation added.
4468 (keyFor):Documentation added.
4469 (provider):Documentation added.
4470 (register): Documentation added.
4471 (validOps): Documentation added.
4472 * jaba/nio/channels/SelectionKey.java
4473 (SelectionKey): Documentation added.
4474 (attach): Documentation added.
4475 (attachment): Documentation added.
4476 (isAcceptable): Documentation added.
4477 (isConnetable): Documentation added.
4478 (isReadable): Documentation added.
4479 (isWritable): Documentation added.
4480 (cancel): Documentation added.
4481 (channel): Documentation added.
4482 (interestOps): Documentation added.
4483 (isValid): Documentation added.
4484 (readyOps): Documentation added.
4485 (selector): Documentation added.
4486 * jaba/nio/channels/Selector.java
4487 (Selector): Documentation added.
4488 (open): Documentation added.
4489 (close): Documentation added.
4490 (isOpen): Documentation added.
4491 (keys): Documentation added.
4492 (provider): Documentation added.
4493 (select): Documentation added.
4494 (selectedKeys): Documentation added.
4495 (selectNow): Documentation added.
4496 (wakeup): Documentation added.
4497 * java/nio/channels/spi/AbstractInterruptibleChannel.java
4498 (AbstractInterruptibleChannel): Documentation added.
4499 (opened): Default to true;
4500 (begin): Documentation added.
4501 (close): Set opened to false, documentation added.
4502 (isOpen): Documentation added.
4503 * java/nio/channels/spi/AbstractSelectionKey.java
4504 (AbstractSelectionKey): Documentation added.
4505 (cancel): Documentation added.
4506 (isValid): Documentation added.
4507 * java/nio/channels/spi/AbstractSelector.java
4508 (AbstractSelector): Documentation added.
4509 (begin): Documentation added.
4510 (close): Documentation added.
4511 (isOpen): Documentation added.
4512 (deregister): Documentation added.
4513 (end): Documentation added.
4514 (provider): Documentation added.
4515 (implCloseSelector): Documentation added.
4516 (register): Documentation added.
4517 * java/nio/channels/spi/SelectorProvider.java
4518 (SelectorProvider): Documentation added.
4519 (openDatagramChannel): Documentation added.
4520 (openPipe): Documentation added.
4521 (openSelector): Documentation added.
4522 (openServerSocketChannel): Documentation added.
4523 (openSocketChannel): Documentation added.
4524 (provider): Documentation added.
4526 2002-11-12 Michael Koch <konqueror@gmx.de>
4528 * java/nio/Buffer.java: Implemented.
4529 * java/nio/CharBuffer.java: New file.
4530 * java/nio/InvalidMarkException.java: New file.
4531 * java/nio/channels/DatagramChannel.java: Implemented.
4532 * java/nio/channels/ServerSocketChannel.java: Implemented.
4533 * java/nio/channels/SocketChannel.java: Implemented.
4534 * java/nio/channels/spi/AbstractChannel.java: Removed.
4535 * java/nio/channels/spi/AbstractSelectableChannel.java:
4537 * java/nio/charset/Charset.java:
4538 Merge from Classpath.
4539 * java/nio/charset/CharsetDecoder.java: New file.
4540 * java/nio/charset/CharsetEncoder.java: New file.
4541 * java/nio/charset/CoderResult.java: New file.
4542 * Makefile.am (ordinary_java_source_files): Added new files.
4543 * Makefile.in: Regenerated.
4545 2002-11-11 Jesse Rosenstock <jmr@ugcs.caltech.edu>
4547 * gnu/java/nio/charset/ISO_8859_1.java,
4548 gnu/java/nio/charset/Provider.java,
4549 gnu/java/nio/charset/US_ASCII.java,
4550 gnu/java/nio/charset/UTF_16.java,
4551 gnu/java/nio/charset/UTF_16BE.java,
4552 gnu/java/nio/charset/UTF_16Decoder.java,
4553 gnu/java/nio/charset/UTF_16Encoder.java,
4554 gnu/java/nio/charset/UTF_16LE.java,
4555 gnu/java/nio/charset/UTF_8.java: New files.
4557 2002-11-11 Michael Koch <konqueror@gmx.de>
4559 * java/nio/charset/CharacterCodingException.java:
4560 This class must be public.
4561 * java/nio/charset/CoderMalfunctionError.java:
4562 This class must be public.
4563 * java/nio/charset/CodingErrorAction.java:
4564 This class must be public.
4565 * java/nio/charset/IllegalCharsetNameException.java:
4566 This class must be public, better implementation.
4567 * java/nio/charset/MalformedInputException.java:
4568 This class must be public, better implementation.
4569 * java/nio/charset/UnmappableCharacterException.java:
4570 This class must be public, better implementation.
4571 * java/nio/charset/UnsupportedCharsetException.java:
4572 This class must be public, better implementation.
4574 2002-11-11 Michael Koch <konqueror@gmx.de>
4576 * java/nio/BufferOverflowException.java,
4577 java/nio/BufferUnderflowException.java: New file.
4578 * Makefile.am (ordinary_java_source_files):
4580 * Makefile.in: Regenerated.
4582 2002-11-10 Tom Tromey <tromey@redhat.com>
4584 * java/awt/Container.java (validate): Use tree lock.
4585 (getComponent): Likewise.
4586 (getComponents): Likewise.
4587 (addImpl): Likewise.
4589 (removeAll): Likewise.
4590 (processEvent): Fixed indentation.
4591 (getComponentAt): Use tree lock.
4592 (findComponentAt): Likewise.
4593 (removeNotify): Likewise.
4594 (isAncestorOf): Likewise.
4596 (visitChildren): Likewise.
4597 (findNextFocusComponent): Likewise.
4598 (addNotifyContainerChildren): Likewise.
4599 (getAccessibleChildrenCount): Likewise.
4600 (getAccessibleChild): Likewise.
4602 * java/awt/GridLayout.java (layoutContainer): Use tree lock.
4603 (getSize): Likewise.
4604 * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
4605 (getSize): Likewise.
4606 * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
4607 (calcSize): Likewise.
4608 * java/awt/CardLayout.java (getSize): Use tree lock.
4609 (gotoComponent): Likewise.
4610 (layoutContainer): Likewise.
4612 * java/io/natFileDescriptorWin32.cc (read): Handle case where
4614 * java/io/natFileDescriptorPosix.cc (read): Handle case where
4617 * java/io/Externalizable.java, java/io/FilePermission.java,
4618 java/io/ObjectStreamConstants.java, java/io/Serializable.java,
4619 java/io/SerializablePermission.java, java/text/Format.java,
4620 java/util/AbstractMap.java, java/util/HashMap.java,
4621 java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
4622 versions from Classpath.
4624 2002-11-10 Anthony Green <green@redhat.com>
4626 * java/util/jar/Attributes.java (Name): Fix name check.
4628 2002-11-10 Mark Wielaard <mark@klomp.org>
4630 * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
4631 with getName() as message.
4632 (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
4635 * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
4638 2002-11-08 Ranjit Mathew <rmathew@hotmail.com>
4640 * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
4641 for Win32. JNICALL has been defined to __stdcall to be compatible
4644 2002-11-10 Tom Tromey <tromey@redhat.com>
4646 * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
4647 (setRows): Check newRows, not rows.
4649 * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
4651 2002-11-09 Tom Tromey <tromey@redhat.com>
4653 * java/applet/Applet.java, java/applet/AppletContext.java,
4654 java/applet/AppletStub.java, java/applet/AudioClip.java,
4655 java/awt/CardLayout.java,
4656 java/awt/ContainerOrderFocusTraversalPolicy.java,
4657 java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
4658 java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
4659 java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
4660 java/awt/color/ICC_ColorSpace.java,
4661 java/awt/color/ICC_Profile.java,
4662 java/awt/color/ICC_ProfileGray.java,
4663 java/awt/color/ICC_ProfileRGB.java,
4664 java/awt/datatransfer/DataFlavor.java,
4665 java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
4666 java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
4667 New versions from Classpath.
4668 * Makefile.in: Rebuilt.
4669 * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
4672 * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
4675 * java/awt/List.java (processEvent): Added missing `else's.
4677 * java/awt/Window.java (show): validate() before showing. Make
4679 (isDisplayable): New method.
4681 2002-11-07 Mark Wielaard <mark@klomp.org>
4683 Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
4684 * java/rmi/MarshalledObject.java (equals): Check hashcode first.
4686 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
4688 (loadClass): Take String as codebases.
4689 (getClassAnnotation): Use MyClassLoader annotations.
4690 * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
4691 call exportObject(this).
4693 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
4694 (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
4695 (setAnnotation): Don't set locBytesStream and locStream.
4696 (replaceObject): Removed.
4697 (flush): Don't test locStream.
4698 (getLocBytes): LikeWise.
4699 * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
4700 (leaseCache): New field.
4701 (dirty): Use leaseCache.
4702 (LeaseRecord): New inner class.
4703 * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
4704 explicitly call exportObject().
4705 * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
4706 false to communicate with Sun JDK130.
4707 * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
4708 * gnu/java/rmi/server/RMIObjectInputStream.java
4709 (UnicastConnectionManager): Removed field.
4710 * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
4711 Use UnicastServer.getExportedRef().
4712 * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
4713 (expireTime): Likewise.
4714 (CONNECTION_TIMEOUT): Likewise.
4715 (disconnect): Call sock.close().
4716 (isExpired): New method.
4717 (resetTime): Likewise.
4718 (run): Use do while loop and catch Exception for discardConnection().
4719 * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
4720 * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
4721 * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
4722 * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
4723 (exportObject): Use refcache.
4724 (unexportObject): Likewise.
4725 (getExportedRef): New method.
4726 * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
4728 (exportObject): Save manager.serverobj.
4729 (getStub): New method.
4731 2002-11-07 Mark Wielaard <mark@klomp.org>
4733 * java/lang/reflect/natField.cc (getBoolean): Use getType().
4734 (getByte): Likewise.
4735 (getShort): Likewise.
4737 (getLong): Likewise.
4738 (getFloat): Likewise.
4739 (getDouble): Likewise.
4741 (setChar): Likewise.
4742 (setByte): Likewise.
4743 (setShort): Likewise.
4745 (setLong): Likewise.
4746 (setFloat): Likewise.
4747 (setDouble): Likewise.
4749 2002-11-07 Michael Koch <konqueror@gmx.de>
4751 * java/awt/Choice.java,
4752 java/awt/Container.java,
4753 java/awt/GridBagLayout.java:
4754 Fixed documentation.
4755 * java/awt/peer/ContainerPeer.java:
4758 2002-11-07 Michael Koch <konqueror@gmx.de>
4760 * java/awt/color/ICC_Profile.java:
4761 Added missing constants.
4762 * java/awt/color/ICC_ColorSpace.java
4763 (getMinValue): Added dummy implementation.
4764 (getMaxValue): Added dummy implementation.
4765 * java/awt/datatransfer/DataFlavor.java
4766 (imageFlavor): Added.
4767 (isMimeTypeEqual): Must be final.
4768 (getDefaultRepresentationClass): Must be non-static.
4769 (getDefaultRepresentationClassAsString): Must be non-static.
4770 * java/awt/dnd/DragSourceContext.java
4771 (dragExit): Corrected argument.
4772 (dragDropEnd): Corrected argument.
4773 * java/awt/dnd/DragSourceListener.java.java
4774 (dragExit): Corrected argument.
4775 (dragDropEnd): Corrected argument.
4776 * java/awt/font/TextHitInfo.java
4777 (toString): Added stubbed implementation.
4778 * java/awt/geom/PathIterator.java:
4779 The constants must be static.
4780 * java/awt/image/VolatileImage.java
4781 (IMAGE_INCOMPATIBLE): Fixed typo.
4782 * java/awt/image/renderable/RenderableImage.java
4783 (HINTS_OBSERVED): Must be static.
4784 * java/beans/BeanInfo.java:
4785 Constants must be final.
4787 2002-11-06 Tom Tromey <tromey@redhat.com>
4789 From svens@it.uu.se. For PR libgcj/8481.
4790 * java/util/Random.java (nextInt(int)): Only use 31 bits.
4792 2002-11-06 Tom Tromey <tromey@redhat.com>
4794 * jni.cc (array_from_valist): Assume that jlong won't be
4797 2002-11-04 R. A. Rivas Diaz <rivasdiaz@yahoo.com>
4799 * gnu/java/security/provider/SHA.java (engineGetDigestLength):
4801 * gnu/java/security/provider/MD5.java (engineGetDigestLength):
4804 2002-11-03 Tom Tromey <tromey@redhat.com>
4806 * java/lang/ClassLoader.java (loadClass): Call loadClass on
4807 VMClassLoader, not findClass.
4809 2002-11-03 Jeff Sturm <jsturm@one-point.com>
4811 * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
4812 (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
4813 _Jv_DetermineVTableIndex, to determine vtable offset.
4814 (_Jv_DetermineVTableIndex): Remove.
4815 (_Jv_PrepareClass): Don't layout vtable. Use _Jv_MakeVTable instead.
4817 * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
4819 2002-11-03 Tom Tromey <tromey@redhat.com>
4821 * java/nio/channels/AlreadyConnectedException.java: Extend
4822 IllegalStateException, per spec.
4824 2002-10-31 Stephen Crawley <crawley@dstc.edu.au>
4826 * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
4828 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
4830 * java/util/ArrayList.java (readObject, writeObject): Only read/write
4833 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
4835 * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
4836 initial estimated size to avoid enlarge buffer frequently.
4838 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
4840 * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
4841 ClassLoader when null.
4842 (ProxyType.hashCode): Loader null check no longer needed.
4843 (ProxyType.sameTypes): New method.
4844 (ProxyType.equals): Use new method.
4846 2002-10-31 Mark Wielaard <mark@klomp.org>
4848 * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
4850 * java/net/URLEncoder.java (encode): Likewise.
4852 2002-10-31 Mark Wielaard <mark@klomp.org>
4854 * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
4855 when stream is closed.
4856 (closeEntry): Likewise.
4858 * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
4859 ZipException when no entry active.
4860 (closeEntry): Likewise.
4863 2002-11-02 Tom Tromey <tromey@redhat.com>
4865 * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
4866 * java/lang/natClass.cc (initializeClass): Don't return just
4867 because self==thread.
4870 * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
4871 * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
4873 2002-11-02 Andreas Schwab <schwab@suse.de>
4875 * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
4877 (FLAGS_TO_PASS): Define.
4878 * Makefile.in: Regenerated.
4880 2002-11-01 Michael Koch <konqueror@gmx.de>
4882 * java/nio/ByteOrder.java: New file.
4883 * java/nio/channels/DatagramChannel.java:
4884 (DatagramChannel): New constructor.
4885 * java/nio/channels/Pipe.java: New file.
4886 * java/nio/channels/SelectableChannel.java: New file.
4887 * java/nio/channels/SelectionKey.java: New file.
4888 * java/nio/channels/Selector.java: New file.
4889 * java/nio/channels/ServerSocketChannel.java
4890 (ServerSocketChannel): New constructor.
4891 * java/nio/channels/SocketChannel.java
4892 (SocketChannel): New constructor.
4893 * java/nio/channels/Pipe.java: New file.
4894 * java/nio/channels/spi/AbstractChannel.java: New file.
4895 * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
4896 * java/nio/channels/spi/AbstractSelectableChannel.java:
4898 (AbstractSelectableChannel): New stubbed method.
4899 * java/nio/channels/spi/AbstractSelectionKey.java: New file.
4900 * java/nio/channels/spi/AbstractSelector.java: New file.
4901 * java/nio/channels/spi/SelectorProvider.java: New file.
4902 * java/nio/charset/Charset.java: New file.
4903 * java/nio/charset/CoderMalfunctionError.java: New file.
4904 * java/nio/charset/CodingErrorAction.java: New file.
4905 * java/nio/charset/spi/CharsetProvider.java
4906 (charsetForName): Uncommented.
4907 * Makefile.am (java_native_source_files): Added new files.
4908 * Makefile.in: Regenerated.
4910 2002-11-01 Michael Koch <konqueror@gmx.de>
4912 * java/net/InetAddress.java:
4913 (isAnyLocalAddress): Implemented.
4914 (isLoopbackAddress): Implemented, comment added.
4915 (isLinkLocalAddress): Implemented, documentation added.
4916 (isSiteLocalAddress): Implemented, documentation added.
4917 (isMCGlobal): Implemented, documentation added.
4918 (isMCNodeLocal): Implemented, documentation added.
4919 (isMCLinkLocal): Implemented, documentation added.
4920 (isMCSiteLocal): Implemented, documentation added.
4921 (isMCOrgLocal): Implemented, documentation added.
4922 (getHostName): Documentation added.
4923 (getCanonicalHostName): Implemented, documentation added.
4924 (getAddress): Documentation added.
4925 (hashCode): Documentation added.
4926 (equals): Documentation added.
4927 (toString): Fixed implementation.
4928 (getByAddress): Use Inet4Address and Inet6Address.
4929 (lookup): New linewrap.
4930 (getByName): SecurityManager check added, support Inet4Address and
4931 Inet6address, comments added.
4932 (getAllByName): SecurityManager check added, comments added.
4933 * java/net/Inet6Address.java:
4934 (Inet6Address): Initialize parent class with addr instead of null.
4936 (equals): Documentation added.
4937 (getFile): Documentation added.
4938 (hashCode): Documentation added.
4939 * java/net/natInetAddress.cc:
4940 (aton): Fix IPv6 support.
4941 * java/net/natPlainDatagramSocketImpl.cc:
4942 (peek): Throw PortUnreachableException when suitable.
4943 (peekData): Throw PortUnreachableException when suitable.
4944 (send): Throw PortUnreachableException when suitable.
4945 (receive): Throw PortUnreachableException when suitable.
4947 2002-10-27 Mark Wielaard <mark@klomp.org>
4949 * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
4951 (readLeShort): Likewise and use byte[].
4952 (readLeInt): Likewise.
4953 (readEntries): Use new versions of methods and use byte[] for reading
4954 a complete zip entry. Add ZipFile name to exceptions.
4955 (entries): Add ZipFile name to exceptions.
4956 (getEntry): Likewise.
4957 (checkLocalHeader): Use new versions of methods and add ZipFile name
4960 2002-10-31 Mark Anderson <mark@panonet.net>
4962 * java/awt/GridBagLayout.java (setConstraints): New stubbed method
4965 2002-10-25 Krister Walfridsson <cato@df.lth.se>
4967 * configure.in: Disable hash sync when not using threads.
4968 * configure: Regenerated.
4970 2002-10-24 Tom Tromey <tromey@redhat.com>
4972 * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
4973 (_Jv_FindSymbolInExecutable): Removed argument name.
4974 (insertSystemProperties): Call _Jv_SetDLLSearchPath if
4975 java.library.path is set.
4977 * gij.cc (help): Document --showversion.
4978 (version): Don't exit.
4979 (main): Handle --showversion. Exit if --version given.
4981 2002-10-23 Tom Tromey <tromey@redhat.com>
4983 * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
4984 (array_from_valist): Correctly handle promotion for jint, jlong,
4985 jfloat, and jdouble.
4987 2002-10-23 Ranjit Mathew <rmathew@hotmail.com>
4989 * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
4990 GetFileAttributesEx( ) to find file length and modification times,
4991 as the latter is not present on Windows 95.
4993 2002-10-21 Michael Koch <konqueror@gmx.de>
4996 (URL): Activate SecurityManager checks.
4997 (equals): Use URLStreamHandler implementation instead of doing it
4998 alone. This allows special protocol stream handlers to change default
5000 (hashCode): Use URLStreamHandler implementation instead of doing it
5001 alone. This allows special protocol stream handlers to change default
5003 * java/net/URLStreamHandler.java
5004 (equals): Implemented default URL equality check.
5005 (hostsEqual): Implemented default URL equality check.
5006 (hashCode): Implemented default URL hashCode algorithm.
5007 * java/net/natPlainDatagramSocketImpl.cc:
5008 No lines longer then 80 characters.
5010 2002-10-20 Adam Megacz <adam@xwt.org>
5012 * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
5013 * configure.in: enabled hash sync on Win32
5014 * include/win32-threads.h (_Jv_ThreadId_t): added.
5015 * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
5016 heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
5017 removed some posix-isms, use Thread::sleep() instead of usleep,
5018 added code to clear bottom three bits if platform has a broken
5020 * include/win32-threads.h (_Jv_ThreadId_t): added.
5022 2002-10-19 Ranjit Mathew <rmathew@hotmail.com>
5024 * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
5025 runtime property "gnu.gcj.progname" containing the name used to
5026 invoke the current Java program (similar to argv[0] for C
5029 2002-10-15 Tom Tromey <tromey@redhat.com>
5031 Fix for PR libgcj/8234:
5032 * java/util/zip/natInflater.cc (reset): Reset avail_in.
5033 * java/util/zip/natDeflater.cc (reset): Reset avail_in.
5035 2002-10-13 Mark Wielaard <mark@klomp.org>
5037 * mauve-libgcj: Enable Mauve tests that compile now.
5039 2002-10-11 Mark Wielaard <mark@klomp.org>
5041 Fix for PR libgcj/8142
5042 * java/lang/natClassLoader.cc (findClass): Skip inner classes when
5043 loading native modules.
5045 2002-10-10 Michael Koch <konqueror@gmx.de>
5047 * javax/swing/AbstractListModel.java
5048 (getListDataListeners): New stubbed method.
5049 javax/swing/DefaultBoundedRangeModel.java
5050 (getChangeListeners): New stubbed method.
5051 javax/swing/DefaultSingleSelectionModel.java
5052 (getChangeListeners): New stubbed method.
5054 2002-10-10 Michael Koch <konqueror@gmx.de>
5056 * gcj/.cvsignore: New file to ignore files generated during build.
5057 * include/.cvsignore: New file to ignore files generated during build.
5059 2002-10-10 Michael Koch <konqueror@gmx.de>
5061 * java/net/HttpURLConnection.java
5062 (getPermission): New method.
5063 (getErrorStream): New stub method.
5064 (getHeaderFieldDate): New stub method.
5065 * java/net/Inet4Address.java:
5066 (isLinkLocalAddress): Typo fixed.
5067 * java/net/InetAddress.java:
5068 (readResolve): New stubbed method (for serialization).
5069 (isAnyLocalAddress): New stubbed method.
5070 (isLoopbackAddress): New stubbed method.
5071 (isLinkLocalAddress): New stubbed method.
5072 (isSiteLocalAddress): New stubbed method.
5073 (isMCGlobal): New stubbed method.
5074 (isMCNodeGlobal): New stubbed method.
5075 (isMCLinkLocal): New stubbed method.
5076 (isMCSiteLocal): New stubbed method.
5077 (isMCOrgLocal): New stubbed method.
5078 (getCanonicalHostName): New stubbed method.
5079 (getByAddress): Create instances of Inet4Address/Inet6Address,
5080 instead of InetAddress, documentation added.
5081 * java/net/MulticastSocket.java
5082 (getInterface): Removed FIXME.
5083 (getNetworkInterface): New method.
5084 (setNetworkInterface): New method.
5085 * java/net/NetworkInterface.java:
5086 (toString): Use property "line.separator" instead of "\n".
5087 * java/net/URLConnection.java
5088 (getContent): New stubbed method.
5089 * java/net/URLStreamHandler.java:
5090 (equals): New stubbed method.
5091 (hostsEqual): New stubbed method.
5092 (hashCode): New stubbed method.
5093 * java/net/natNetworkInterface.cc:
5094 (getRealNetworkInterfaces): Create Inet4Address object
5095 instead of InetAddress.
5097 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
5099 * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
5100 unsigned long temporary to implement insn_iushr shifts.
5102 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
5104 * configure.host [s390*-*]: Enable Java interpreter.
5105 Enable hash synchronization. Add sysdeps dir.
5106 * sysdep/s390/locks.h: New file.
5108 2002-10-06 Mark Wielaard <mark@klomp.org>
5110 * java/lang/Thread.java (setDaemon): Check startable_flag,
5113 2002-10-07 Michael Koch <konqueror@gmx.de>
5115 * java/nio/Buffer.java: New stub file.
5116 * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
5118 * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
5119 * Makefile.in: Regenerated.
5121 2002-10-07 Michael Koch <konqueror@gmx.de>
5123 * java/nio/ByteBuffer.java:
5124 removed import of not commited class.
5126 2002-10-07 Michael Koch <konqueror@gmx.de>
5128 * java/nio/ByteBuffer.java,
5129 java/nio/MappedByteBuffer.java:
5130 New files, forgot to add these dummies.
5131 * Makefile.am (java_native_source_files): Added new files.
5132 * Makefile.in: Regenerated.
5134 2002-10-07 Michael Koch <konqueror@gmx.de>
5136 * java/nio/channels/AlreadyConnectedException.java,
5137 java/nio/channels/ClosedChannelException.java,
5138 java/nio/channels/ReadableByteChannel.java,
5139 java/nio/channels/InterruptibleChannel.java,
5140 java/nio/channels/Channel.java,
5141 java/nio/channels/ByteChannel.java,
5142 java/nio/channels/GatheringByteChannel.java,
5143 java/nio/channels/ScatteringByteChannel.java,
5144 java/nio/channels/WritableByteChannel.java,
5145 java/nio/charset/CharacterCodingException.java,
5146 java/nio/charset/IllegalCharsetNameException.java,
5147 java/nio/charset/MalformedInputException.java,
5148 java/nio/charset/UnmappableCharacterException.java,
5149 java/nio/charset/UnsupportedCharsetException.java,
5150 java/nio/charset/spi/CharsetProvider.java: New file.
5151 These files are exceptions or interfaces,
5152 no real or abstract classes.
5153 * Makefile.am (java_native_source_files): Added new files.
5154 * Makefile.in: Regenerated.
5156 2002-10-05 Michael Koch <konqueror@gmx.de>
5158 * java/net/InetAddress.java
5159 (getByAddress): Fixed documentation.
5160 (getByAddress): New method.
5161 * java/net/Inet4Address.java: New file.
5163 (URL): Documentation added.
5164 (getContent): Documentation added.
5165 (getContent): New stubbed method.
5166 (getQuery): New method.
5167 (openConnection): Documentation added.
5168 (openStream): Documentation added.
5169 (setURLStreamHandlerFactory): Documentation added.
5170 * java/net/URI.java: New stub file.
5172 (java_native_source_files): Added java/net/Inet4Address.java,
5173 java/net/Inet6Address.java and java/net/URI.java.
5174 * Makefile.in: Regenerated.
5176 2002-10-04 C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
5178 * java/lang/ProtectionDomain.java (linesep): Remove field.
5179 (toString): Use System.getProperty("line.separator").
5181 2002-10-04 Michael Koch <konqueror@gmx.de>
5183 * java/security/Identity.java: Added serialVersionUID.
5184 * java/security/KeyPair.java: Added serialVersionUID.
5185 * java/security/Provider.java: Added serialVersionUID.
5186 * java/security/SecureRandom.java: Added serialVersionUID.
5187 * java/security/SecureRandomSpi.java: Added serialVersionUID.
5188 * java/security/SignedObject.java: Added serialVersionUID.
5189 * java/security/cert/Certificate.java: Added serialVersionUID.
5191 2002-10-04 Mark Wielaard <mark@klomp.org>
5193 * java/security/Security.java: Use java.home or gnu.classpath.home
5195 (loadProviders): Extra dir argument.
5196 (getProvider): Return null when not found.
5198 2002-10-04 Mark Wielaard <mark@klomp.org>
5200 * java/lang/Throwable.java: Remerge with Classpath.
5202 2002-10-04 Michael Koch <konqueror@gmx.de>
5204 * java/net/InetAddress.java:
5205 (isMulticastAddress): Added documentation.
5206 (getHostAddress): Added documentation.
5207 (toString): Added documentation.
5208 (getByAddress): Fixed documentation.
5209 (getByName): Added documentation.
5210 (getAllByName): Added documentation.
5211 (getLocalHost): Added documentation.
5213 2002-10-04 Michael Koch <konqueror@gmx.de>
5215 * java/beans/beancontext/BeanContextChildSupport.java:
5216 Added serialVersionUID.
5217 * java/text/Collator.java: (compare): Made documentation HTML-aware.
5218 * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
5219 * javax/naming/Name.java: Added serialVersionUID.
5221 2002-10-03 Adam Megacz <adam@xwt.org>
5223 * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
5224 some functionality that isn't supported yet on WIN32.
5226 2002-10-03 Tom Tromey <tromey@redhat.com>
5228 * Makefile.in: Rebuilt.
5229 * Makefile.am (awt_java_source_files): Added new files.
5231 2002-10-03 Michael Koch <konqueror@gmx.de>
5233 * java/net/InetAddress.java
5234 (class InetAddress): Removed final keyword.
5235 (equals): Fixed typo.
5236 (getByAddress): New method.
5238 2002-10-03 Michael Koch <konqueror@gmx.de>
5240 * java/awt/dnd/Autoscroll.java:
5241 New file, merge from Classpath.
5242 * java/awt/dnd/DragSourceAdapter.java:
5243 (dragExit): Fixed typos in argument type.
5244 (dragDropEnd): Fixed typos in argument type.
5245 * java/awt/dnd/DragSourceDropEvent.java:
5246 New file, merge from Classpath.
5247 * java/awt/dnd/DropTarget.java:
5248 Added stubs, merge from Classpath.
5249 * java/awt/dnd/DropTargetAdapter.java:
5250 New file, merge from Classpath.
5251 * java/awt/dnd/DropTargetContext.java:
5252 New file, merge from Classpath.
5253 * java/awt/dnd/DropTargetDragEvent.java:
5254 New file, merge from Classpath.
5255 * java/awt/dnd/DropTargetDropEvent.java:
5256 New file, merge from Classpath.
5257 * java/awt/dnd/DropTargetEvent.java:
5258 New file, merge from Classpath.
5259 * java/awt/dnd/DropTargetListener.java:
5260 New file, merge from Classpath.
5261 * java/awt/dnd/MouseDragGestureRecognizer.java:
5262 New file, merge from Classpath.
5263 * java/awt/dnd/peer/DropTargetContextPeer.java:
5264 New file, merge from Classpath.
5266 2002-10-03 Michael Koch <konqueror@gmx.de>
5268 * java/net/DatagramPacket.java
5269 (setLength): Fixed typo and be HTML-aware.
5270 * java/net/InetSocketAddress.java
5271 (InetSocketAddress): Correct initialization of hostname, fixed typo.
5272 (equals): Added comment about equality of InetSocketAddress objects.
5273 * java/net/ServerSocket.java
5274 (accept): Added checks.
5275 (isClosed): New stubbed method.
5276 * java/net/SocketOptions.java: Reindention.
5277 * java/net/SocketPermission
5278 (SocketPermission): Documentation fixed.
5280 2002-10-03 Michael Koch <konqueror@gmx.de>
5282 * java/net/DatagramSocket.java
5283 (receive): Check with SecurityManager AFTER the packet is received,
5284 check if connected to multicast address, documentation added.
5285 (send): Only check SecurityManager if connected, check address of
5287 (connect): Implemented, documentation added.
5288 * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
5289 * java/net/InetSocketAddress.java
5290 (whole file): Reindented.
5291 (hostname): New attribute.
5292 (InetSocketAddress): Initialize new attribute.
5293 (getAddress): Documentation added.
5294 (getHostName): Documentation added.
5295 (getPort): Documentation added.
5296 (hashCode): Documentation added.
5297 (isUnresolved): Documentation added.
5298 (toString): Conform to output of JDK 1.4.1, documentation added.
5299 * java/net/MulticastSocket.java
5300 (joinGroup): Removed FIXME, documentation added.
5301 (leaveGroup): Removed FIXME, documentation added.
5302 (send): Documentation added.
5303 * java/net/Socket.java
5304 (inputShutdown): New variable.
5305 (outputShutdown): New variable.
5306 (Socket): Initialize new variables.
5307 (getRemoteSocketAddress): Check if connected.
5308 (shutdownInput): Set new variable.
5309 (shutdownOutput): Set new variable.
5310 (isConnected): New method.
5311 (isClosed): New method.
5312 (isInputShutdown): New method.
5313 (isOutputShutdown): New method.
5314 * java/net/URLStreamHandler.java
5315 (URLStreamHandler): New method.
5316 (openConnection): Added documentation.
5317 (parseURL): Added documentation.
5318 (getHostAddress): New method.
5319 (getDefaultPort): New method.
5321 2002-10-02 Tom Tromey <tromey@redhat.com>
5323 * java/rmi/activation/ActivationDesc.java,
5324 java/rmi/activation/ActivationGroupDesc.java,
5325 java/rmi/activation/ActivationGroupID.java,
5326 java/rmi/activation/ActivationID.java: New versions from
5329 2002-09-30 Bo Thorsen <bo@suse.de>
5331 * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
5333 2002-09-30 Tom Tromey <tromey@redhat.com>
5335 * java/io/ObjectInputStream.java (resolveProxyClass): New method
5337 * Makefile.in: Rebuilt.
5338 * Makefile.am (rmi_java_source_files): Added new files.
5339 * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
5340 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
5341 gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
5343 * gnu/java/rmi/dgc/DGCImpl.java,
5344 gnu/java/rmi/dgc/DGCImpl_Skel.java,
5345 gnu/java/rmi/dgc/DGCImpl_Stub.java,
5346 gnu/java/rmi/registry/RegistryImpl_Skel.java,
5347 gnu/java/rmi/registry/RegistryImpl_Stub.java,
5348 gnu/java/rmi/server/RMIHashes.java,
5349 gnu/java/rmi/server/RMIObjectInputStream.java,
5350 gnu/java/rmi/server/RMIObjectOutputStream.java,
5351 gnu/java/rmi/server/UnicastConnection.java,
5352 gnu/java/rmi/server/UnicastConnectionManager.java,
5353 gnu/java/rmi/server/UnicastRef.java,
5354 gnu/java/rmi/server/UnicastServer.java,
5355 gnu/java/rmi/server/UnicastServerRef.java,
5356 java/rmi/MarshalledObject.java,
5357 java/rmi/server/RMIClassLoader.java,
5358 java/rmi/server/RemoteObject.java,
5359 java/rmi/server/UnicastRemoteObject.java,
5360 java/security/SecureClassLoader.java: Merged from Classpath.
5362 2002-09-29 Anthony Green <green@redhat.com>
5364 * java/lang/reflect/UndeclaredThrowableException.java: New file.
5365 Imported from GNU Classpath.
5366 * java/lang/reflect/natProxy.cc: New file.
5367 * java/lang/reflect/InvocationHandler.java: New file. Imported
5369 * java/lang/reflect/Proxy.java: New file. Imported from GNU
5371 * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
5373 * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
5374 HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
5376 * gcj/javaprims.h ("Java"): Add new classes.
5377 * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
5378 * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
5379 java/lang/reflect/Proxy$$ProxyType.h): And this.
5380 (inner_nat_headers): Add these new headers.
5381 (ordinary_java_source_files): Add new files.
5382 (nat_source_files): Add new file.
5383 * Makefile.in: Rebuilt.
5385 2002-09-28 Richard Earnshaw <rearnsha@arm.com>
5387 * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
5388 a single configuration.
5390 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
5392 * java/util/TimeZone.java (getDSTSavings): New method.
5393 Fixes PR libgcj/7786.
5395 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
5397 * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
5398 to see if `the_method == 0' before looking up vtable index.
5399 Fixes PR libgcj/7709.
5401 2002-09-25 Tom Tromey <tromey@redhat.com>
5403 * java/lang/natClassLoader.cc:
5404 (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
5405 * resolve.cc: Include NoClassDefFoundError.h, not
5406 ClassNotFoundException.h.
5407 (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
5409 * defineclass.cc: Don't include ClassNotFoundException.h.
5411 * resolve.cc: Include StringBuffer.
5412 (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
5414 * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
5415 allocated but not initialized.
5417 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
5419 Fix for PR libgcj/7766:
5420 * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
5421 (getNextEntry): Set it.
5422 (closeEntry): Likewise.
5425 (available): Use it.
5427 2002-09-25 Michael Koch <konqueror@gmx.de>
5429 * java/net/DatagramSocket.java
5430 (DatagramSocket): Initialize new instance variables.
5431 (close): Reset new instance variables.
5432 (getLocalAddress): Remove unneeded SecurityManager usage.
5433 (getLocalPort): Check if socket is already bound.
5434 (isConnected): New method.
5435 (getInetAddress): Implemented.
5436 (getPort): Better Implementation, documentation fixed.
5437 (getRemoteSocketAddress): New method.
5438 * java/net/JarURLConnection.java
5439 (element): Typo fixed.
5440 (getMainAttributes): New method.
5441 (getAttributes): New method (stub only).
5442 (getManifest): New method (stub only).
5443 * java/net/NetPermission.java: Added serialVersionsUID.
5444 * java/net/Socket.java
5445 (connect): Check blocking mode of associated channel,
5446 documentation added.
5447 (getLocalSocketAddress): Better implementation.
5448 (getRemoteSocketAddress): Implemented.
5449 (isBound): New method.
5450 (setSendBufferSize): Documentation added.
5451 * java/net/SocketAddress.java: Added serialVersionsUID.
5452 * java/net/SocketPermission.java: Added serialVersionsUID.
5454 (URL): Wrap for shorter lines, initialize new instance variables,
5455 documentation added.
5456 (equals): Check new instance variables too.
5457 (getContent): Documentation added.
5458 (getPath): Documentation added.
5459 (getAuthority): New method.
5460 (getHost): Documentation added.
5461 (getPort): Documentation added.
5462 (getDefaultPort): New method.
5463 (getProtocol): Documentation added.
5464 (getUserInfo): Documentation added.
5465 (set): Initialize new instance variables, documentation added.
5466 * java/net/URLStreamHandler.java
5467 (setURL): New method.
5468 * java/net/natPlainDatagramSocketImpl.cc
5469 (connect): Fix exception name.
5470 (disconnect): Fix exception name.
5472 2002-09-25 Michael Koch <konqueror@gmx.de>
5474 * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
5475 * java/nio/channels/DatagramChannel.java:
5476 extends AbstractSelectableChannel
5477 * java/nio/channels/ServerSocketChannel.java:
5478 extends AbstractSelectableChannel
5479 * java/nio/channels/SocketChannel.java:
5480 extends AbstractSelectableChannel
5481 * Makefile.am (ordinary_java_source_files):
5482 java/nio/channels/spi/AbstractSelectableChannel.java added.
5483 * Makefile.in: Regenerated.
5485 2002-09-25 Michael Koch <konqueror@gmx.de>
5487 * java/net/DatagramSocket.java
5488 (DatagramSocket): Exception documentation added.
5489 (bind): Exception documentation added, addded SecurityManager check,
5490 added SocketAddress type check.
5491 (getSoTimeout): Check impl.
5492 (receive): Fix SecurityManager check, check impl, documentation added.
5493 (send): Check channel mode, documentation added.
5494 (connect): New method.
5495 (disconnect): Implemented.
5496 (getLocalSocketAddress): New method.
5497 (getReceiveBufferSize): Check impl.
5498 (setReuseAddress): Check impl.
5499 (getReuseAddress): Check impl.
5500 (setBroadcast): Check impl.
5501 (getBroadcast): Check impl.
5502 (setTrafficClass): Check impl, Documentation cleared.
5503 (getTrafficClass): Check impl.
5504 (getSendBufferSize): Check impl.
5505 (setReceiveBufferSize): Check impl, documentation added.
5506 (setSendBufferSize): Documentation added.
5507 (setDatagramSocketImplFactory): New method.
5508 * java/net/HttpURLConnection.java
5509 (HTTP_INTERNAL_ERROR): The correct code is 500.
5510 (HTTP_NOT_IMPLEMENTED): Added new constant.
5511 (setFollowRedirects): Documentation added.
5512 (getInstanceFollowRedirects): New method.
5513 (setInstanceFollowRedirects): New method.
5514 (setRequestMethod): Documentation added.
5515 (getResponseCode): Documentation added.
5516 (getResponseMessage): Documentation added.
5517 * java/net/JarURLConnection.java
5518 (JarURLConnection): protected since JDK 1.4.
5519 (getJarEntry): java.io.IOException to IOException, documentation added.
5520 (getJarFile): Documentation added.
5521 * java/net/ServerSocket.java
5522 (ServerSocket): Private to public, exception added.
5523 (ServerSocket): java.io.IOException to IOException, documentation added.
5524 (bind): Check socket address type, documentation added.
5525 (bind): java.io.IOException to IOException, documentation added.
5526 (accept): Documentation added.
5527 (implAccept): Check ch is not non-blocking, documentation added.
5528 (setSoTimeout): Documentation fixed.
5529 (setReceiveBufferSize): Documentation added.
5530 * java/net/Socket.java
5531 (Socket): Documentation added.
5532 (bind): Documentation added.
5533 (connect): Check socket address type, documentation added.
5534 (getRemoteSocketAddress): New method.
5535 (getLocalSocketAddress): New method.
5536 (setSoLinger): Documentation added.
5537 (getReuseAddress): New method.
5538 (setReuseAddress): New method.
5539 (getTrafficClass): New method.
5540 (setTrafficClass): New method.
5541 * java/net/URLStreamHandler.java
5542 (openConnection): java.io.IOException to IOException.
5543 (parseURL): Documentation added.
5544 (sameFile): public to protected, documentation added.
5545 (setURL): Documentation added.
5546 * java/nio/IllegalBlockingModeException.java: New file.
5547 * Makefile.am (ordinary_java_source_files):
5548 added java/nio/IllegalBlockingModeException.java
5549 * Makefile.in: Regenerated.
5551 2002-09-25 Michael Koch <konqueror@gmx.de>
5553 * java/net/DatagramPacket
5554 (DatagramPacket): Exception documentation added.
5555 (setData): Likewise.
5556 (setSocketAddress): Likewise.
5557 * java/net/DatagramSocketImpl.java
5558 (peek): Documentation addded.
5559 (peekData): Documentation addded.
5560 (send): Documentation addded.
5561 (receive): Documentation addded.
5562 (connect): New method.
5563 (disconnect): New method.
5564 (joinGroup): New abstract method.
5565 (leaveGroup): New abstract method.
5566 * java/net/InetSocketAddress.java
5567 (InetSocketAddress): Documentation added.
5568 (equals): final keyword added.
5569 (getAddress): final keyword added.
5570 (getHostName): final keyword added.
5571 (getPort): final keyword added.
5572 (hashCode): final keyword added.
5573 (isUnresolved): final keyword added.
5574 * java/net/MulticastSocket.java
5575 (MulticastSocket): Documentation added.
5576 (MulticastSocket): New method.
5577 (joinGroup): Documentation added.
5578 (joinGroup): New method.
5579 (leaveGroup): Documentation added.
5580 (leaveGroup): New method.
5581 (send): Documentation added.
5582 * java/net/NetworkInterface.java
5583 (getByName): Documentation added.
5584 (getByInetAddress): Documentation added.
5585 (getNetworkInterfaces): Documentation added.
5586 * java/net/PlainDatagramSocketImpl.java
5587 (connect): New method.
5588 (disconnect): New method.
5589 * java/net/SocketImpl.java
5590 (create): Documentation added.
5591 (shutdownInput): Convert public to protected, as it always was.
5592 (shutdownOutput): Convert public to protected, as it always was.
5593 * java/net/SocketOptions.java
5594 (whole file): Reintented.
5595 * java/net/URLClassLoader.java
5596 (URLClassLoader): SecurityManager check added, documentation added.
5597 (findResources): Documentation added.
5598 (findClass): Documentation added.
5599 (newInstance): More correct method arguments.
5600 * java/net/URLConnection.java
5601 (connect): Documentation added.
5602 (getContent): Documentation added.
5603 (getPermission): Documentation added.
5604 (getInputStream): Documentation added.
5605 (getOutputStream): Documentation added.
5606 (setDoInput): Throw correct exception, documentation added.
5607 (setDoOutput): Throw correct exception, documentation added.
5608 (setAllowUserInteraction): Throw correct exception, documentation added.
5609 (setUseCaches): Throw correct exception, documentation added.
5610 (setIfModifiedSince): Throw correct exception, documentation added.
5611 (setRequestProperty): Throw exception, documentation added.
5612 (addRequestProperty): Throw exception, documentation added.
5613 (getRequestProperty): Throw exception, documentation added.
5614 (getRequestProperties): Documentation added.
5615 (setContentHandlerFactory): Documentation added.
5616 (guessContentTypeFromName): protected to public.
5617 (setFileNameMap): Documentation added.
5618 * java/net/URLDecoder.java
5619 (URLDecoder): New method.
5620 (decode): Documentation added.
5621 (whole file): Reindented.
5622 * java/net/URLEncoder.java
5623 (encode): Documentation added.
5624 * java/net/natPlainDatagramSocketImpl.cc
5625 (connect): New method.
5626 (disconnect): New method.
5627 * javax/naming/RefAddr:
5628 (addrType): addrType was never final.
5629 (equals): Fix typo in method name.
5630 * javax/naming/BinaryRefAddr:
5631 (equals): Fix typo in method name.
5633 2002-09-22 Tom Tromey <tromey@redhat.com>
5635 Fix for PR libgcj/6576:
5636 * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
5637 didn't find a given bundle.
5638 (getBundle): Don't require base bundle.
5639 (setParent): Removed old comment.
5640 (tryLocalBundle): Try components even if preceding components were
5643 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5645 * Makefile.am (all-multi): Fix multilib parallel build.
5647 2002-09-21 Michael Koch <konqueror@gmx.de>
5649 * java/net/Socket.java
5650 (sendUrgentData): New method.
5651 (getChannel): New method.
5652 * java/net/ServerSocket.java
5653 (getChannel): New method.
5654 (isBound): New method.
5655 * java/net/DatagramSocket.java
5656 (DatagramSocket): Two new methods.
5658 (getChannel): New method.
5659 (isBound): New method.
5660 (send): Added newline to to make shorter lines.
5661 * java/net/PlainDatagramSocketImpl.java
5662 (mcastGrp): Added argument.
5663 (join): Use new mcastGrp.
5664 (leave): Use new mcastGrp.
5665 (joinGroup): New method.
5666 (leaveGroup): New method.
5667 * java/net/natPlainDatagramSocketImpl.cc
5668 (mcastGrp): Added argument, no yet really implemented.
5669 (getOption): Added newline for shorter lines.
5670 * java/net/natPlainSocketImpl.cc
5671 (read, setOption, getOption): Added newline for shorter lines.
5673 2002-09-19 Tom Tromey <tromey@redhat.com>
5675 * java/lang/ClassLoader.java (resolveClass0): Set cause for
5676 newly-created exception.
5678 2002-09-18 Michael Koch <konqueror@gmx.de>
5680 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
5681 java/util/regex/PatternSyntaxException.java:
5682 Merge with classpath, new files.
5683 * Makefile.am (core_java_source_files):
5684 Added java/util/regex/Matcher.java,
5685 java/util/regex/Pattern.java,
5686 java/util/regex/PatternSyntaxException.java
5687 * Makefile.in: Regenerated.
5688 * include/config.h.in: Added HAVE_NET_IF_H.
5689 * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
5690 Removed #if 0 ... #endif.
5692 2002-09-17 Michael Koch <konqueror@gmx.de>
5694 * java/net/natNetworkInterface.cc:
5695 Removed unneed and yet wrong includes.
5697 2002-09-17 Michael Koch <konqueror@gmx.de>
5699 * java/net/NetworkInterface.java: New file.
5700 * java/net/natNetworkInterface.java: New file.
5701 * configure.in: Added check for net/if.h.
5702 * configure: Regenerated.
5704 (ordinary_java_source_files): Added NetworkInterface.java.
5705 (nat_source_files): Added natNetworkInterface.cc.
5706 * Makefile.in: Regenerated.
5708 2002-09-16 Tom Tromey <tromey@redhat.com>
5710 * java/net/URLClassLoader.java (findClass): Code source for a
5711 class from a jar is not necessarily a jar: URL.
5713 2002-09-16 Michael Koch <konqueror@gmx.de>
5715 * java/lang/AssertionError.java:
5716 Merge with classpath, fixes HTML.
5717 * java/rmi/server/LogStream.java:
5718 Merge with classpath, fixes some constants.
5719 * java/net/server/RemoteServer.java:
5720 Merge with classpath, adds serialVersionUID.
5721 * javax/naming/BinaryRefAddr.java:
5722 Merge with classpath, s/equal/equals/.
5723 * javax/naming/NamingException.java:
5724 Merge with classpath, fixed typo.
5725 * javax/naming/RefAddr.java:
5726 Merge with classpath, s/equal/equals/.
5727 * java/awt/Toolkit.java:
5728 s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
5731 2002-09-15 Adam Megacz <adam@xwt.org>
5733 * java/net/natPlainSocketImpl.cc: fixed typo.
5735 2002-09-15 Adam Megacz <adam@xwt.org>
5737 * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
5738 which don't work on Win32 (yet).
5740 2002-09-14 Adam Megacz <adam@xwt.org>
5742 * java/net/natPlainDatagramSocket.cc: removed #include
5743 <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
5744 * include/win32.h: included definition for IP_TOS to satisfy
5745 natPlainDatagramSocket.cc
5747 2002-09-13 Michael Koch <konqueror@gmx.de>
5749 * java/net/DatagramPacket.java (DatagramPacket):
5750 Added linebreak for 80 chars per line.
5751 * java/net/JarURLConection.java
5752 (getInputStreami, getJarEntry): Likewise.
5753 * java/net/SocketPErmission.java
5754 (SocketPermission class docu, implies): Likewise.
5755 * java/net/URLClassLoader.java (findResources): Likewise.
5756 * java/net/URLConnection.java: Reindendet remark for 80 chars per line
5758 2002-09-13 Michael Koch <konqueror@gmx.de>
5760 * java/nio/channels/DatagramChannel.java,
5761 java/nio/channels/ServerSocketChannel.java
5762 java/nio/channels/SocketChannel.java:
5763 New dummy files to make java.net fully JDK 1.4 compatible
5764 * Makefile.am (ordinary_java_source_files): Added
5765 java/net/DatagramSocketImplFactory.java (long forgotten),
5766 java/nio/SocketChannel.java,
5767 java/nio/ServerSocketChannel.java,
5768 java/nio/DatagramChannel.java
5769 * Makefile.in: Regenrated.
5771 2002-09-12 Michael Koch <konqueror@gmx.de>
5773 * java/net/DatagramSocketImpl.java
5774 (peekData): New method.
5775 * java/net/PlainDatagramSocketImpl.java
5776 (peekData): New method.
5777 * java/net/natPlainDatagramSocketImpl.cc
5778 (peekData): New method.
5779 * java/net/URLConnection
5780 (getPermission): New method.
5781 (addRequestProperty): New method.
5782 (getRequestProperties): New method.
5783 (guessContentTypeFromStream): New method, not really implemented.
5784 (URLConnection): Added/updated documentation.
5785 (connect): Added/updated documentation.
5786 (getURL): Added/updated documentation.
5787 (getContentLength): Added/updated documentation.
5788 (getContentType: Added/updated documentation.
5789 (getContentEncoding): Added/updated documentation.
5790 (getExpiration): Added/updated documentation.
5791 (getDate): Added/updated documentation.
5792 (getLastModified): Added/updated documentation.
5793 (getHeaderField): Added/updated documentation.
5794 (getHeaderFields): Added/updated documentation.
5795 (getHeaderFieldInt): Added/updated documentation.
5796 (getHeaderFieldDate): Added/updated documentation.
5797 (getHeaderFieldKey): Added/updated documentation.
5798 (getContent): Added/updated documentation.
5799 (getInputStream): Added/updated documentation.
5800 (getOutputStream): Added/updated documentation.
5801 (toString): Added/updated documentation.
5802 (setDoInput): Added/updated documentation.
5803 (getDoInput): Added/updated documentation.
5804 (setDoOutput): Added/updated documentation.
5805 (getDoOutput): Added/updated documentation.
5806 (setAllowUserInteraction): Added/updated documentation.
5807 (getAllowUserInteraction): Added/updated documentation.
5808 (setDefaultAllowUserInteraction): Added/updated documentation.
5809 (getDefaultAllowUserInteraction): Added/updated documentation.
5810 (setUseCaches): Added/updated documentation.
5811 (getUseCaches): Added/updated documentation.
5812 (setIfModifiedSince): Added/updated documentation.
5813 (getIfModifiedSince): Added/updated documentation.
5814 (getDefaultUseCaches): Added/updated documentation.
5815 (setDefaultUseCaches): Added/updated documentation.
5816 (setRequestProperty): Added/updated documentation.
5817 (getRequestProperty): Added/updated documentation.
5818 (setDefaultRequestProperty): Added/updated documentation.
5819 (getDefaultRequestProperty): Added/updated documentation.
5820 (setContentHandlerFactory): Added/updated documentation.
5821 (guessContentTypeFromName): Added/updated documentation.
5822 (getFileNameMap): Added/updated documentation.
5823 (setFileNameMap): Added/updated documentation.
5825 2002-09-11 Michael Koch <konqueror@gmx.de>
5827 * java/net/Socket.java
5828 (Socket): protected to public (since JDK 1.4). Added @specnote.
5830 (connect): Two new methods.
5831 (getKeepalive): Get correct socket option.
5832 (setKeepalive): Set correct socket option.
5833 (getOOBInline): New method.
5834 (setOOBInline): New method.
5835 * java/net/ServerSocket.java
5836 (bind): Two new methods.
5837 (getInetAddress): Reimplemented, catch exception.
5838 (getLocalSocketAddress): New method.
5839 (setReuseAddress): New method.
5840 (getReuseAdress): New method.
5841 (setReceiveBufferSize): New method.
5842 (getReceiveBufferSize): New method.
5843 (toString): Made string JDK 1.4 compliant.
5845 2002-09-10 Michael Koch <konqueror@gmx.de>
5847 * java/net/SocketImpl.java
5848 (connect): New method.
5849 (supportsUrgentData): New method.
5850 (sendUrgentData): New method.
5851 * java/net/PlainSocketImpl.java
5852 (connect): One new method and two new implementation.
5853 (sendUrgentData): New method.
5854 * java/natPlainSocketImpl.cc
5855 (connect): Arguments changed, added support for timeouts.
5856 (getOption): Another __java_boolean to jboolean.
5858 2002-09-07 Adam Megacz <adam@xwt.org>
5860 * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
5861 definition of IP_TOS.
5863 2002-09-04 Michael Koch <konqueror@gmx.de>
5865 * java/net/DatagramSocket.java
5866 (DatagramSocket): Added documentation.
5868 (getLocalAddress): Likewise.
5869 (getLocalPort): Likewise.
5870 (receive): Likewise.
5872 (setSoTimeout): Likewise.
5873 (connect): New method.
5874 (disconnect): New method.
5875 (getInetAddress): New method (FIXME)
5876 (getPort): New method.
5877 (setReuseAddress): New method.
5878 (getReuseAddress): New method.
5879 (setBroadcast): New method.
5880 (getBroadcast): New method.
5881 (setTrafficClass): New method.
5882 (getTrafficClass): New method.
5883 * java/net/MulticastSocket.java):
5884 (getTTL): Added @see in documentation.
5885 (setTTL): Added @see in documentation.
5886 (setLoopbackMode): New method.
5887 (getLoopbackMode): New method.
5888 * java/net/PlainSocketImpl.java:
5889 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
5890 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
5891 * java/net/PlainDatagramSocketImpl.java
5892 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
5893 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
5894 * java/net/natPlainSocketImpl.cc
5895 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
5896 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
5897 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
5898 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
5899 This should also fix SO_KEEPALIVE
5900 * java/net/natPlainDatagramSocketImpl.cc
5901 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
5902 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
5903 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
5904 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
5906 2002-09-04 Michael Koch <konqueror@gmx.de>
5908 * java/net/SocketOptions.java: added static variables to be JDK 1.4
5909 compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
5910 IP_MULTICAST_LOOP, IP_TOS
5912 2002-09-03 Tom Tromey <tromey@redhat.com>
5914 * java/lang/Class.h (_getDeclaredMethod): Declare.
5915 (_getMethod): Now private.
5916 * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
5917 getDeclaredMethod. Now returns NULL on failure.
5918 * java/lang/Class.java (_getDeclaredMethod): Declare.
5919 (getDeclaredMethod): No longer native; implements access checks.
5921 2002-09-01 Mark Wielaard <mark@klomp.org>
5923 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
5924 (sanitizeStack): Correctly reset unknown and interpreter counters,
5925 detect interpreter runtime frames.
5926 (demangleInterpreterMethod): New method.
5927 * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
5928 * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
5931 2002-09-02 Michael Koch <konqueror@gmx.de>
5933 * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
5934 re-indented documentation.
5936 2002-08-30 Jesse Rosenstock <jmr@ugcs.caltech.edu>
5938 * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
5939 public, per 1.4 spec. Fixes PR libgcj/7785.
5941 2002-08-30 Jeff Sturm <jsturm@one-point.com>
5943 * Makefile.in: Rebuilt.
5944 * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
5946 2002-08-29 Tom Tromey <tromey@redhat.com>
5948 * java/net/JarURLConnection.java (getCertificates): New method
5950 * java/net/URLClassLoader.java (URLClassLoader): Extends
5952 (definePackage): New method from Classpath.
5953 (getPermissions): Likewise.
5954 (newInstance): Likewise.
5955 (findClass): Construct CodeSource for new class (from Classpath).
5956 * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
5958 * java/net/URL.java (getUserInfo): New method.
5959 (set(String,String,int,String,String,String,String,String)): New
5961 * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
5962 (shutdownInput, shutdownOutput): Declare.
5963 * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
5965 * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
5966 (getOption): Likewise.
5967 (shutdownInput): New method.
5968 (shutdownOutput): Likewise.
5969 * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
5971 (getOption): Likewise.
5972 * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
5973 * java/net/Socket.java (setKeepAlive): New method.
5974 (getKeepAlive): Likewise.
5975 (shutdownInput, shutdownOutput): New methods.
5977 2002-08-29 Michael Koch <konqueror@gmx.de>
5979 * java/net/DatagramPacket.java: updated to JDK 1.4 API
5981 DatagramPacket(byte[] buf, int offset, int length, SocketAddress
5983 DatagramPacket(byte[] buf, int length, SocketAddress address),
5984 void setSocketAddress(SocketAddress address)
5985 public SocketAddress getSocketAddress()
5987 2002-08-29 Tom Tromey <tromey@redhat.com>
5989 * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
5990 ftruncate is missing.
5991 * configure, include/config.h.in: Rebuilt.
5992 * acconfig.h (HAVE_FTRUNCATE): Mention.
5993 * configure.in: Check for ftruncate.
5995 2002-08-29 Tom Tromey <tromey@redhat.com>
5997 * include/jvm.h (struct _Jv_frame_info): New structure.
5998 * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
6000 (lookupInterp): New method.
6001 (getAddrAsString): Use _Jv_frame_info.
6002 (dladdrLookup): Likewise.
6003 * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
6005 (lookupInterp): Declare.
6006 * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
6007 (fillInStackTrace): Collect information on interpreted frames.
6009 * interpret.cc: Include Thread.h.
6010 (run): Create and push _Jv_MethodChain object.
6011 (_Jv_EndOfInterpreter): New global.
6012 * java/lang/Thread.java (interp_frame): New field.
6013 * include/java-interp.h (struct _Jv_MethodChain): New structure.
6014 Include NameFinder.h.
6016 2002-08-28 Tom Tromey <tromey@redhat.com>
6018 * java/lang/Class.h: Include Package.h.
6019 (Class::getProtectionDomain): Declare.
6020 (Class::getPackage): Declare.
6022 2002-08-28 Michael Koch <konqueror@gmx.de>
6024 * java/net/InetSocketAddress.java: Added some documentation and argument
6025 checks for the port numbers.
6026 * java/net/DatagramSocketImplFactory.java: New file.
6028 2002-08-28 Michael Koch <konqueror@gmx.de>
6030 * java/net/Authenticator.java: added some documentation.
6032 2002-08-27 Tom Tromey <tromey@redhat.com>
6034 * java/lang/reflect/natConstructor.cc (newInstance): Initialize
6036 * java/lang/reflect/natMethod.cc (invoke): Initialize class.
6038 2002-08-27 Michael Koch <konqueror@gmx.de>
6040 * java/net/BindException.java,
6041 java/net/JarURLConnection.java,
6042 java/net/FileNameMap.java,
6043 java/net/HttpURLConnection.java,
6044 java/net/InetSocketAddress.java,
6045 java/net/DatagramPacket.java,
6046 java/net/DatagramSocket.java,
6047 java/net/DatagramSocketImpl.java,
6048 java/net/MulticastSocket.java,
6049 java/net/PasswordAuthentication.java,
6050 java/net/ServerSocket.java,
6051 java/net/Socket.java,
6052 java/net/URLClassLoader.java,
6053 java/net/URLConnection.java: add/update of some @since/@deprecated
6055 2002-08-27 Tony Kimball <alk@pobox.com>
6056 Tom Tromey <tromey@redhat.com>
6058 * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
6061 (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
6062 * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
6064 (PlainSocketImpl::close): Use NATIVE_CLOSE.
6065 * include/win32.h (getcwd): Removed declaration. Include io.h.
6067 2002-08-25 Adam Megacz <adam@xwt.org>
6069 * include/win32.h (getcwd): copied function declaration as
6070 temporary fix for header confusion.
6072 2002-08-24 Mark Wielaard <mark@klomp.org>
6074 * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
6075 (core_java_source_files): Add VMThrowable.java and NameFinder.java
6076 (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
6077 and natNameFinder.cc.
6078 * Makefile.in: Regenerate.
6079 * prims.cc: Use trace_enabled from VMThrowable.
6080 * name-finder.cc: Removed.
6081 * gcj/javaprims.h: Add class VMThrowable.
6082 * gnu/gcj/runtime/NameFinder.java: New file.
6083 * gnu/gcj/runtime/natNameFinder.cc: Likewise.
6084 * include/name-finder.h: Removed.
6085 * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
6086 method stackTraceString().
6087 (printStackTrace (PrintWriter)): Likewise.
6088 (stackTraceString): Complete rewrite of old printStackTrace using
6090 (stackTraceStringBuffer): New helper method for stackTraceString().
6091 (fillInStackTrace): Delegate to VMTrowable.
6092 (getStackTrace): Likewise.
6093 (getStackTrace0): Removed.
6094 (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
6095 (setStackTrace): Copy given array.
6096 * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
6097 * java/lang/VMThrowable.java: New class.
6098 * java/lang/natVMThrowable.cc: New file.
6100 2003-08-23 Michael Koch <konqueror@gmx.de>
6102 * java/net/URLConnection.java,
6103 java/netJarURLConnection.java,
6104 gnu/gcj/protocol/core/Connection.java,
6105 gnu/gcj/protocol/file/Connection.java,
6106 gnu/gcj/protocol/http/Connection.java: Added implementation of
6109 2002-08-22 Tom Tromey <tromey@redhat.com>
6111 * gij.cc (help): Document -cp and -classpath.
6112 (main): Handle -classpath.
6114 2002-08-21 Tom Tromey <tromey@redhat.com>
6116 * Makefile.in: Rebuilt.
6117 * Makefile.am (ordinary_java_source_files): Added
6118 SocketAddress.java, InetSocketAddress.java.
6119 * java/net/PortUnreachableException.java: Merged with Classpath.
6120 * java/net/SocketTimeoutException.java: Likewise.
6121 * java/net/URISyntaxException.java: Likewise.
6122 * java/net/SocketAddress.java: New class from Classpath.
6123 * java/net/InetSocketAddress.java: Likewise.
6125 2003-08-21 Michael Koch <konqueror@gmx.de>
6127 * java/net/Authenticator.java: updated JDK 1.4
6128 * java/net/ContentHandler.java: updated JDK 1.4
6130 2002-08-20 Michael Koch <konqueror@gmx.de>
6132 * java/net/URISyntaxException.java: New file.
6133 * java/net/SocketTimeoutException.java: New file.
6134 * java/net/PortUnreachableException.java: New file.
6135 * Makefile.am: Updated.
6136 * Makefile.in: Rebuilt.
6138 2002-08-18 Mark Wielaard <mark@klomp.org>
6140 Thanks to Vladimir Puskas <vpuskas@eunet.yu>
6141 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
6142 MessageDigestSpi (fixes Classpath bug #783).
6144 2002-08-14 Jesse Rosenstock <jmr@ugcs.caltech.edu>
6146 * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
6147 (startProcess): Allocate path for chdir in async-signal-safe way.
6149 2002-08-13 Jesse Rosenstock <jmr@ugcs.caltech.edu>
6151 Fix for PR libgcj/7570 and PR libgcj/7578:
6152 * java/lang/natPosixProcess.cc: Include java/io/File.h.
6153 (startProcess): Handle new `dir' argument.
6154 * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
6156 * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
6158 (startProcess): Likewise.
6159 * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
6161 * java/lang/Runtime.java (execInternal): Added `dir' argument.
6162 (exec): Don't create new environment if ENV==null. Pass DIR to
6164 * java/lang/natRuntime.cc: Include java/io/File.h.
6165 (execInternal): Added `dir' argument.
6167 2002-08-13 Jesse Rosenstock <jmr@fulcrummicro.com>
6169 * java/io/RandomAccessFile.java (skipBytes): Return number of
6172 2002-08-01 Mark Wielaard <mark@klomp.org>
6174 Reenable patch since shared library troubles on powerpc are solved:
6175 * gnu/java/security/provider/Gnu.java: Reference all implementation
6176 classes by using Class.getName().
6177 * gnu/java/security/der/DEREncodingException.java,
6178 gnu/java/security/provider/DERReader.java,
6179 gnu/java/security/provider/DERWriter.java,
6180 gnu/java/security/provider/DSAKeyPairGenerator.java,
6181 gnu/java/security/provider/DSAParameterGenerator.java,
6182 gnu/java/security/provider/DSAParameters.java,
6183 gnu/java/security/provider/DSASignature.java,
6184 gnu/java/security/provider/GnuDSAPrivateKey.java,
6185 gnu/java/security/provider/GnuDSAPublicKey.java,
6186 gnu/java/security/provider/MD5.java,
6187 gnu/java/security/util/Prime.java: New classes
6188 * Makefile.am (ordinary_java_source_files): Add above files.
6189 * Makefile.in: Regenerate.
6190 * gnu/java/security/provider/DefaultPolicy.java
6191 (getPermissions): Don't maintain static class variable of Permissions.
6192 * gnu/java/security/provider/SHA.java
6193 (engineUpdate): algorithm change.
6194 (engineDigest): algorithm change.
6196 2002-08-09 Mark Wielaard <mark@klomp.org>
6198 * java/awt/image/MemoryImageSource.java: Change constructor to take
6200 * java/awt/Graphics2D.java: Uncomment methods that can now be
6202 * java/awt/GridBagLayout.java: New stub implementation.
6203 * javax/swing/text/html/HTML.java: Stub implementation.
6204 * javax/swing/text/html/parser/ParserDelegator.java: New stub
6207 * Makefile.am: Add new files.
6208 * Makefile.in: Rebuilt.
6210 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
6212 * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
6213 methods in Graphics2D.
6215 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
6217 AWT/Swing merge from GNU Classpath.
6219 * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
6220 java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
6221 java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
6222 java/awt/color/ProfileDataException.java,
6223 java/awt/CompositeContext.java, java/awt/Composite.java,
6224 java/awt/ContainerOrderFocusTraversalPolicy.java,
6225 java/awt/datatransfer/FlavorTable.java,
6226 java/awt/DefaultFocusTraversalPolicy.java,
6227 java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
6228 java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
6229 java/awt/dnd/DragGestureListener.java,
6230 java/awt/dnd/DragGestureRecognizer.java,
6231 java/awt/dnd/DragSourceAdapter.java,
6232 java/awt/dnd/DragSourceContext.java,
6233 java/awt/dnd/DragSourceDragEvent.java,
6234 java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
6235 java/awt/dnd/DragSourceListener.java,
6236 java/awt/dnd/DragSourceMotionListener.java,
6237 java/awt/dnd/DropTarget.java,
6238 java/awt/dnd/InvalidDnDOperationException.java,
6239 java/awt/dnd/peer/DragSourceContextPeer.java,
6240 java/awt/event/AWTEventListenerProxy.java,
6241 java/awt/event/MouseWheelEvent.java,
6242 java/awt/event/MouseWheelListener.java,
6243 java/awt/event/WindowFocusListener.java,
6244 java/awt/event/WindowStateListener.java,
6245 java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
6246 java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
6247 java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
6248 java/awt/geom/FlatteningPathIterator.java,
6249 java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
6250 java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
6251 java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
6252 java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
6253 java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
6254 java/awt/image/ImagingOpException.java,
6255 java/awt/image/RasterFormatException.java,
6256 java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
6257 java/awt/image/VolatileImage.java,
6258 java/awt/image/WritableRenderedImage.java,
6259 java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
6260 java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
6261 java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
6262 java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
6263 java/awt/PageAttributes.java, java/awt/print/Book.java,
6264 java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
6265 java/awt/print/Paper.java, java/awt/print/Printable.java,
6266 java/awt/print/PrinterAbortException.java,
6267 java/awt/print/PrinterException.java,
6268 java/awt/print/PrinterGraphics.java,
6269 java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
6270 java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
6271 java/awt/Stroke.java, java/awt/TexturePaint.java,
6272 javax/accessibility/AccessibleAction.java,
6273 javax/accessibility/AccessibleBundle.java,
6274 javax/accessibility/AccessibleComponent.java,
6275 javax/accessibility/AccessibleContext.java,
6276 javax/accessibility/AccessibleEditableText.java,
6277 javax/accessibility/AccessibleExtendedComponent.java,
6278 javax/accessibility/AccessibleExtendedTable.java,
6279 javax/accessibility/AccessibleHyperlink.java,
6280 javax/accessibility/AccessibleHypertext.java,
6281 javax/accessibility/AccessibleIcon.java,
6282 javax/accessibility/Accessible.java,
6283 javax/accessibility/AccessibleKeyBinding.java,
6284 javax/accessibility/AccessibleRelation.java,
6285 javax/accessibility/AccessibleRelationSet.java,
6286 javax/accessibility/AccessibleResourceBundle.java,
6287 javax/accessibility/AccessibleRole.java,
6288 javax/accessibility/AccessibleSelection.java,
6289 javax/accessibility/AccessibleState.java,
6290 javax/accessibility/AccessibleStateSet.java,
6291 javax/accessibility/AccessibleTable.java,
6292 javax/accessibility/AccessibleTableModelChange.java,
6293 javax/accessibility/AccessibleText.java,
6294 javax/accessibility/AccessibleValue.java,
6295 javax/swing/AbstractAction.java,
6296 javax/swing/AbstractButton.java,
6297 javax/swing/AbstractCellEditor.java,
6298 javax/swing/AbstractListModel.java,
6299 javax/swing/AbstractSet.java, javax/swing/Action.java,
6300 javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
6301 javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
6302 javax/swing/border/CompoundBorder.java,
6303 javax/swing/border/EmptyBorder.java,
6304 javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
6305 javax/swing/border/LineBorder.java,
6306 javax/swing/border/MatteBorder.java,
6307 javax/swing/border/TitledBorder.java,
6308 javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
6309 javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
6310 javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
6311 javax/swing/CellRendererPane.java,
6312 javax/swing/colorchooser/AbstractColorChooserPanel.java,
6313 javax/swing/colorchooser/ColorChooserComponentFactory.java,
6314 javax/swing/colorchooser/ColorSelectionModel.java,
6315 javax/swing/colorchooser/DefaultColorSelectionModel.java,
6316 javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
6317 javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
6318 javax/swing/DefaultBoundedRangeModel.java,
6319 javax/swing/DefaultButtonModel.java,
6320 javax/swing/DefaultCellEditor.java,
6321 javax/swing/DefaultCellRenderer.java,
6322 javax/swing/DefaultComboBoxModel.java,
6323 javax/swing/DefaultDesktopManager.java,
6324 javax/swing/DefaultFocusManager.java,
6325 javax/swing/DefaultListCellRenderer.java,
6326 javax/swing/DefaultListModel.java,
6327 javax/swing/DefaultListSelectionModel.java,
6328 javax/swing/DefaultSingleSelectionModel.java,
6329 javax/swing/DesktopManager.java,
6330 javax/swing/event/AncestorEvent.java,
6331 javax/swing/event/AncestorListener.java,
6332 javax/swing/event/CaretEvent.java,
6333 javax/swing/event/CaretListener.java,
6334 javax/swing/event/CellEditorListener.java,
6335 javax/swing/event/ChangeEvent.java,
6336 javax/swing/event/ChangeListener.java,
6337 javax/swing/event/DocumentEvent.java,
6338 javax/swing/event/DocumentListener.java,
6339 javax/swing/event/EventListenerList.java,
6340 javax/swing/event/HyperlinkEvent.java,
6341 javax/swing/event/HyperlinkListener.java,
6342 javax/swing/event/InternalFrameAdapter.java,
6343 javax/swing/event/InternalFrameEvent.java,
6344 javax/swing/event/InternalFrameListener.java,
6345 javax/swing/event/ListDataEvent.java,
6346 javax/swing/event/ListDataListener.java,
6347 javax/swing/event/ListSelectionEvent.java,
6348 javax/swing/event/ListSelectionListener.java,
6349 javax/swing/event/MenuDragMouseEvent.java,
6350 javax/swing/event/MenuDragMouseListener.java,
6351 javax/swing/event/MenuEvent.java,
6352 javax/swing/event/MenuKeyEvent.java,
6353 javax/swing/event/MenuKeyListener.java,
6354 javax/swing/event/MenuListener.java,
6355 javax/swing/event/MouseInputAdapter.java,
6356 javax/swing/event/MouseInputListener.java,
6357 javax/swing/event/PopupMenuEvent.java,
6358 javax/swing/event/PopupMenuListener.java,
6359 javax/swing/event/SwingPropertyChangeSupport.java,
6360 javax/swing/event/TableColumnModelEvent.java,
6361 javax/swing/event/TableColumnModelListener.java,
6362 javax/swing/event/TableModelEvent.java,
6363 javax/swing/event/TableModelListener.java,
6364 javax/swing/event/TreeExpansionEvent.java,
6365 javax/swing/event/TreeExpansionListener.java,
6366 javax/swing/event/TreeModelEvent.java,
6367 javax/swing/event/TreeModelListener.java,
6368 javax/swing/event/TreeSelectionEvent.java,
6369 javax/swing/event/TreeSelectionListener.java,
6370 javax/swing/event/TreeWillExpandListener.java,
6371 javax/swing/event/UndoableEditEvent.java,
6372 javax/swing/event/UndoableEditListener.java,
6373 javax/swing/filechooser/FileFilter.java,
6374 javax/swing/filechooser/FileSystemView.java,
6375 javax/swing/filechooser/FileView.java,
6376 javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
6377 javax/swing/Icon.java, javax/swing/ImageIcon.java,
6378 javax/swing/InputMap.java, javax/swing/InputVerifier.java,
6379 javax/swing/JApplet.java, javax/swing/JButton.java,
6380 javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
6381 javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
6382 javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
6383 javax/swing/JDialog.java, javax/swing/JEditorPane.java,
6384 javax/swing/JFileChooser.java, javax/swing/JFrame.java,
6385 javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
6386 javax/swing/JLayeredPane.java, javax/swing/JList.java,
6387 javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
6388 javax/swing/JMenu.java, javax/swing/JOptionPane.java,
6389 javax/swing/JPanel.java, javax/swing/JPasswordField.java,
6390 javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
6391 javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
6392 javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
6393 javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
6394 javax/swing/JSlider.java, javax/swing/JSplitPane.java,
6395 javax/swing/JTabbedPane.java, javax/swing/JTable.java,
6396 javax/swing/JTextField.java, javax/swing/JTextPane.java,
6397 javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
6398 javax/swing/JToolTip.java, javax/swing/JTree.java,
6399 javax/swing/JViewport.java, javax/swing/JWindow.java,
6400 javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
6401 javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
6402 javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
6403 javax/swing/MenuSelectionManager.java,
6404 javax/swing/MutableComboBoxModel.java,
6405 javax/swing/OverlayLayout.java,
6406 javax/swing/plaf/ActionMapUIResource.java,
6407 javax/swing/plaf/basic/BasicBorders.java,
6408 javax/swing/plaf/basic/BasicButtonUI.java,
6409 javax/swing/plaf/basic/BasicCheckBoxUI.java,
6410 javax/swing/plaf/basic/BasicDefaults.java,
6411 javax/swing/plaf/basic/BasicGraphicsUtils.java,
6412 javax/swing/plaf/basic/BasicIconFactory.java,
6413 javax/swing/plaf/basic/BasicLabelUI.java,
6414 javax/swing/plaf/basic/BasicListUI.java,
6415 javax/swing/plaf/basic/BasicLookAndFeel.java,
6416 javax/swing/plaf/basic/BasicOptionPaneUI.java,
6417 javax/swing/plaf/basic/BasicPanelUI.java,
6418 javax/swing/plaf/basic/BasicRadioButtonUI.java,
6419 javax/swing/plaf/basic/BasicScrollPaneUI.java,
6420 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
6421 javax/swing/plaf/basic/BasicTextUI.java,
6422 javax/swing/plaf/basic/BasicToggleButtonUI.java,
6423 javax/swing/plaf/basic/BasicTreeUI.java,
6424 javax/swing/plaf/basic/BasicViewportUI.java,
6425 javax/swing/plaf/BorderUIResource.java,
6426 javax/swing/plaf/ButtonUI.java,
6427 javax/swing/plaf/ColorChooserUI.java,
6428 javax/swing/plaf/ColorUIResource.java,
6429 javax/swing/plaf/ComboBoxUI.java,
6430 javax/swing/plaf/ComponentInputMapUIResource.java,
6431 javax/swing/plaf/ComponentUI.java,
6432 javax/swing/plaf/DesktopIconUI.java,
6433 javax/swing/plaf/DesktopPaneUI.java,
6434 javax/swing/plaf/DimensionUIResource.java,
6435 javax/swing/plaf/FileChooserUI.java,
6436 javax/swing/plaf/FontUIResource.java,
6437 javax/swing/plaf/IconUIResource.java,
6438 javax/swing/plaf/InputMapUIResource.java,
6439 javax/swing/plaf/InsetsUIResource.java,
6440 javax/swing/plaf/InternalFrameUI.java,
6441 javax/swing/plaf/LabelUI.java,
6442 javax/swing/plaf/ListUI.java,
6443 javax/swing/plaf/MenuBarUI.java,
6444 javax/swing/plaf/MenuItemUI.java,
6445 javax/swing/plaf/OptionPaneUI.java,
6446 javax/swing/plaf/PanelUI.java,
6447 javax/swing/plaf/PopupMenuUI.java,
6448 javax/swing/plaf/ProgressBarUI.java,
6449 javax/swing/plaf/RootPaneUI.java,
6450 javax/swing/plaf/ScrollBarUI.java,
6451 javax/swing/plaf/ScrollPaneUI.java,
6452 javax/swing/plaf/SeparatorUI.java,
6453 javax/swing/plaf/SliderUI.java,
6454 javax/swing/plaf/SplitPaneUI.java,
6455 javax/swing/plaf/TabbedPaneUI.java,
6456 javax/swing/plaf/TableHeaderUI.java,
6457 javax/swing/plaf/TableUI.java,
6458 javax/swing/plaf/TextUI.java,
6459 javax/swing/plaf/ToolBarUI.java,
6460 javax/swing/plaf/ToolTipUI.java,
6461 javax/swing/plaf/TreeUI.java,
6462 javax/swing/plaf/UIResource.java,
6463 javax/swing/plaf/ViewportUI.java,
6464 javax/swing/ProgressMonitorInputStream.java,
6465 javax/swing/ProgressMonitor.java,
6466 javax/swing/Renderer.java,
6467 javax/swing/RepaintManager.java,
6468 javax/swing/RootPaneContainer.java,
6469 javax/swing/Scrollable.java,
6470 javax/swing/ScrollPaneConstants.java,
6471 javax/swing/ScrollPaneLayout.java,
6472 javax/swing/SingleSelectionModel.java,
6473 javax/swing/SizeRequirements.java,
6474 javax/swing/SizeSequence.java,
6475 javax/swing/SwingConstants.java,
6476 javax/swing/SwingUtilities.java,
6477 javax/swing/table/AbstractTableModel.java,
6478 javax/swing/table/DefaultTableCellRenderer.java,
6479 javax/swing/table/DefaultTableColumnModel.java,
6480 javax/swing/table/DefaultTableModel.java,
6481 javax/swing/table/TableCellEditor.java,
6482 javax/swing/table/TableCellRenderer.java,
6483 javax/swing/table/TableColumn.java,
6484 javax/swing/table/TableColumnModel.java,
6485 javax/swing/table/TableModel.java,
6486 javax/swing/text/AbstractDocument.java,
6487 javax/swing/text/AttributeSet.java,
6488 javax/swing/text/BadLocationException.java,
6489 javax/swing/text/Caret.java,
6490 javax/swing/text/CharacterIterator.java,
6491 javax/swing/text/ComponentView.java,
6492 javax/swing/text/DefaultCaret.java,
6493 javax/swing/text/DefaultEditorKit.java,
6494 javax/swing/text/Document.java,
6495 javax/swing/text/EditorKit.java,
6496 javax/swing/text/Element.java,
6497 javax/swing/text/GapContent.java,
6498 javax/swing/text/JTextComponent.java,
6499 javax/swing/text/Keymap.java,
6500 javax/swing/text/MutableAttributeSet.java,
6501 javax/swing/text/PlainDocument.java,
6502 javax/swing/text/PlainEditorKit.java,
6503 javax/swing/text/Position.java,
6504 javax/swing/text/Segment.java,
6505 javax/swing/text/StyledDocument.java,
6506 javax/swing/text/StyledEditorKit.java,
6507 javax/swing/text/Style.java,
6508 javax/swing/text/TextAction.java,
6509 javax/swing/text/ViewFactory.java,
6510 javax/swing/text/View.java,
6511 javax/swing/Timer.java,
6512 javax/swing/ToggleButtonModel.java,
6513 javax/swing/ToolTipManager.java,
6514 javax/swing/tree/AbstractLayoutCache.java,
6515 javax/swing/tree/DefaultMutableTreeNode.java,
6516 javax/swing/tree/DefaultTreeCellEditor.java,
6517 javax/swing/tree/DefaultTreeCellRenderer.java,
6518 javax/swing/tree/DefaultTreeModel.java,
6519 javax/swing/tree/DefaultTreeSelectionModel.java,
6520 javax/swing/tree/ExpandVetoException.java,
6521 javax/swing/tree/FixedHeightLayoutCache.java,
6522 javax/swing/tree/MutableTreeNode.java,
6523 javax/swing/tree/RowMapper.java,
6524 javax/swing/tree/TreeCellEditor.java,
6525 javax/swing/tree/TreeCellRenderer.java,
6526 javax/swing/tree/TreeModel.java,
6527 javax/swing/tree/TreeNode.java,
6528 javax/swing/tree/TreePath.java,
6529 javax/swing/tree/TreeSelectionModel.java,
6530 javax/swing/tree/VariableHeightLayoutCache.java,
6531 javax/swing/UIDefaults.java,
6532 javax/swing/UIManager.java,
6533 javax/swing/undo/AbstractUndoableEdit.java,
6534 javax/swing/undo/CannotRedoException.java,
6535 javax/swing/undo/CannotUndoException.java,
6536 javax/swing/undo/CompoundEdit.java,
6537 javax/swing/undo/StateEditable.java,
6538 javax/swing/undo/StateEdit.java,
6539 javax/swing/undo/UndoableEdit.java,
6540 javax/swing/undo/UndoableEditSupport.java,
6541 javax/swing/undo/UndoManager.java,
6542 javax/swing/UnsupportedLookAndFeelException.java,
6543 javax/swing/ViewportLayout.java,
6544 javax/swing/WindowConstants.java: New files, from GNU Classpath.
6546 * java/awt/ActiveEvent.java,
6547 java/awt/Adjustable.java, java/awt/AWTError.java,
6548 java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
6549 java/awt/AWTException.java, java/awt/AWTPermission.java,
6550 java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
6551 java/awt/Color.java, java/awt/Component.java,
6552 java/awt/ComponentOrientation.java, java/awt/Container.java,
6553 java/awt/datatransfer/MimeTypeParseException.java,
6554 java/awt/datatransfer/Transferable.java,
6555 java/awt/datatransfer/UnsupportedFlavorException.java,
6556 java/awt/Dimension.java, java/awt/event/ActionEvent.java,
6557 java/awt/event/ActionListener.java,
6558 java/awt/event/AdjustmentEvent.java,
6559 java/awt/event/AdjustmentListener.java,
6560 java/awt/event/AWTEventListener.java,
6561 java/awt/event/ComponentAdapter.java,
6562 java/awt/event/ComponentEvent.java,
6563 java/awt/event/ComponentListener.java,
6564 java/awt/event/ContainerAdapter.java,
6565 java/awt/event/ContainerEvent.java,
6566 java/awt/event/ContainerListener.java,
6567 java/awt/event/FocusAdapter.java,
6568 java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
6569 java/awt/event/HierarchyBoundsAdapter.java,
6570 java/awt/event/HierarchyBoundsListener.java,
6571 java/awt/event/HierarchyEvent.java,
6572 java/awt/event/HierarchyListener.java,
6573 java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
6574 java/awt/event/InputMethodListener.java,
6575 java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
6576 java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
6577 java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
6578 java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
6579 java/awt/event/MouseListener.java,
6580 java/awt/event/MouseMotionAdapter.java,
6581 java/awt/event/MouseMotionListener.java,
6582 java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
6583 java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
6584 java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
6585 java/awt/event/WindowListener.java, java/awt/Font.java,
6586 java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
6587 java/awt/geom/Ellipse2D.java,
6588 java/awt/geom/IllegalPathStateException.java,
6589 java/awt/geom/Line2D.java,
6590 java/awt/geom/NoninvertibleTransformException.java,
6591 java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
6592 java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
6593 java/awt/geom/RoundRectangle2D.java,
6594 java/awt/GraphicsConfiguration.java,
6595 java/awt/IllegalComponentStateException.java,
6596 java/awt/image/IndexColorModel.java,
6597 java/awt/Image.java, java/awt/image/MemoryImageSource.java,
6598 java/awt/image/PixelGrabber.java, java/awt/Insets.java,
6599 java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
6600 java/awt/LayoutManager.java, java/awt/MenuContainer.java,
6601 java/awt/MenuItem.java, java/awt/PaintContext.java,
6602 java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
6603 java/awt/Polygon.java, java/awt/PrintGraphics.java,
6604 java/awt/PrintJob.java, java/awt/Rectangle.java,
6605 java/awt/RenderingHints.java, java/awt/ScrollPane.java,
6606 java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
6607 java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
6609 * java/awt/im/spi/InputMethod.java,
6610 java/awt/im/spi/InputMethodContext.java,
6611 java/awt/im/spi/InputMethodDescriptor.java,
6612 java/awt/image/renderable/ContextualRenderedImageFactory.java,
6613 java/awt/image/renderable/ParameterBlock.java,
6614 java/awt/image/renderable/RenderContext.java,
6615 java/awt/image/renderable/RenderableImage.java,
6616 java/awt/image/renderable/RenderableImageOp.java,
6617 java/awt/image/renderable/RenderableImageProducer.java,
6618 java/awt/image/renderable/RenderedImageFactory.java: New files from
6621 * gnu/java/awt/EventModifier.java,
6622 gnu/java/awt/image/ImageDecoder.java,
6623 gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
6625 * gnu/awt/xlib/XGraphicsConfiguration.java,
6626 gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
6629 * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
6632 * Makefile.am: Add new files.
6633 * Makefile.in: Rebuilt.
6635 2002-08-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
6637 * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
6638 defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
6639 findResource, getResources, findResources): Add javadoc from classpath.
6640 (getSystemResources): Implemented.
6642 2002-08-01 Mark Wielaard <mark@klomp.org>
6644 Revert patch that breaks libgcj shared library on powerpc:
6645 * gnu/java/security/provider/Gnu.java: Reverse referencing all
6646 implementation classes by using Class.getName(). Uses Strings again.
6647 * gnu/java/security/der/DEREncodingException.java,
6648 gnu/java/security/provider/DERReader.java,
6649 gnu/java/security/provider/DERWriter.java,
6650 gnu/java/security/provider/DSAKeyPairGenerator.java,
6651 gnu/java/security/provider/DSAParameterGenerator.java,
6652 gnu/java/security/provider/DSAParameters.java,
6653 gnu/java/security/provider/DSASignature.java,
6654 gnu/java/security/provider/GnuDSAPrivateKey.java,
6655 gnu/java/security/provider/GnuDSAPublicKey.java,
6656 gnu/java/security/provider/MD5.java,
6657 gnu/java/security/util/Prime.java: Removed.
6658 * Makefile.am (ordinary_java_source_files): Remove above files.
6659 * Makefile.in: Regenerate.
6660 * gnu/java/security/provider/DefaultPolicy.java
6661 (getPermissions): Revert to maintaining static class variable of
6663 * gnu/java/security/provider/SHA.java
6664 (engineUpdate): Revert algorithm change.
6665 (engineDigest): Revert algorithm change.
6667 2002-08-01 Kaz Kojima <kkojima@gcc.gnu.org>
6669 * configure.host: Add SH support.
6670 * sysdep/sh/locks.h: New file.
6672 2002-07-31 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
6674 * java/awt/Frame.java (Frame): Remove println calls.
6676 2002-07-30 Jeff Sturm <jsturm@one-point.com>
6678 * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
6679 * configure: Rebuilt.
6681 2002-07-27 Alan Modra <amodra@bigpond.net.au>
6683 * sysdep/powerpc/locks.h: Formatting.
6686 (compare_and_swap): Use _LARX and _STCX.
6687 (compare_and_swap_release): Likewise.
6689 2002-07-26 Tom Tromey <tromey@redhat.com>
6691 * java/net/Authenticator.java: New version from Classpath.
6692 * java/net/DatagramSocketImpl.java: New version from Classpath.
6694 2002-07-27 Alan Modra <amodra@bigpond.net.au>
6696 * configure.host: Add powerpc64*-* entry.
6698 2002-07-26 Tom Tromey <tromey@redhat.com>
6700 * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
6703 2002-07-24 Tom Tromey <tromey@redhat.com>
6705 * java/lang/Runtime.java (loadLibrary): Pass `true' as search
6708 2002-07-24 Tom Tromey <tromey@redhat.com>
6709 Tony Kimball <alk@pobox.com>
6711 * java/io/natFileDescriptorWin32.cc (setLength): New method.
6712 * java/io/natFileDescriptorPosix.cc (setLength): New method.
6713 * java/io/RandomAccessFile.java (setLength): New method.
6714 * java/io/natFileDescriptorEcos.cc (setLength): New method.
6715 * java/io/FileDescriptor.java (setLength): New method.
6717 2002-07-24 Mark Wielaard <mark@klomp.org>
6719 * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
6720 * java/io/ObjectInputStream.java (setBooleanField): Before setting
6721 field call setAccessible(true).
6722 (setByteField): Likewise.
6723 (setCharField): Likewise.
6724 (setDoubleField): Likewise.
6725 (setFloatField): Likewise.
6726 (setIntField): Likewise.
6727 (setLongField): Likewise.
6728 (setShortField): Likewise.
6729 (setObjectField): Likewise.
6731 2002-07-24 Tom Tromey <tromey@redhat.com>
6733 * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
6734 use toString() to format array element.
6736 2002-07-23 Mark Wielaard <mark@klomp.org>
6738 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
6739 MessageDigestSpi (fixes Classpath bug #783).
6741 2002-07-21 Mark Wielaard <mark@klomp.org>
6743 * gnu/java/security/provider/Gnu.java: Reference all implementation
6744 classes by using Class.getName().
6746 2002-07-19 Bo Thorsen <bo@berlioz.suse.de>
6748 * java/lang/ieeefp.h: Add x86-64 support.
6749 * configure.in: Likewise.
6750 * configure.host: Likewise.
6751 * configure: Regenerated.
6752 * sysdep/x86-64/locks.h: New file with x86-64 locks.
6754 2002-07-16 Mark Wielaard <mark@klomp.org>
6756 * java/io/StreamTokenizer.java (pushBack): Update documentation.
6757 (whitespaceChars): call resetChar().
6759 2002-07-15 Tom Tromey <tromey@redhat.com>
6761 * Makefile.in: Rebuilt.
6762 * Makefile.am (awt_java_source_files): Added new files.
6763 * java/beans/ExceptionListener.java: Merged with Classpath.
6764 * java/beans/PropertyChangeEvent.java: Merged with Classpath.
6765 * java/beans/PropertyChangeListener.java: Merged with Classpath.
6766 * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
6767 * java/beans/PropertyChangeSupport.java: Merged with Classpath.
6768 * java/beans/VetoableChangeListener.java: Merged with Classpath.
6769 * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
6770 * java/beans/VetoableChangeSupport.java: Merged with Classpath.
6772 2002-07-14 Mark Wielaard <mark@klomp.org>
6774 * gnu/java/security/der/DEREncodingException.java,
6775 gnu/java/security/provider/DERReader.java,
6776 gnu/java/security/provider/DERWriter.java,
6777 gnu/java/security/provider/DSAKeyPairGenerator.java,
6778 gnu/java/security/provider/DSAParameterGenerator.java,
6779 gnu/java/security/provider/DSAParameters.java,
6780 gnu/java/security/provider/DSASignature.java,
6781 gnu/java/security/provider/GnuDSAPrivateKey.java,
6782 gnu/java/security/provider/GnuDSAPublicKey.java,
6783 gnu/java/security/provider/MD5.java,
6784 gnu/java/security/util/Prime.java: New files from Classpath.
6785 * Makefile.am (ordinary_java_source_files): Add new files.
6786 * Makefile.in: Regenerate.
6788 2002-07-14 C. Brian Jones <cbj@gnu.org>
6790 * gnu/java/security/provider/DefaultPolicy.java
6791 (getPermissions): do not maintain static class variable of
6793 * gnu/java/security/provider/SHA.java
6794 (engineUpdate): algorithm change
6795 (engineDigest): algorithm change
6797 2002-07-12 Jesse Rosenstock <jmr@fulcrummicro.com>
6800 * java/lang/Character.java (toString(char)): Now static.
6802 2002-07-12 Mark Wielaard <mark@klomp.org>
6804 * java/lang/natThrowable.cc (printRawStackTrace): removed.
6805 (getStackTrace0): new method.
6806 * java/lang/Throwable.java (CPlusPlusDemangler): removed.
6807 (printStackTrace(PrintWriter)): replace with pure java implementation.
6808 (printRawStackTrace): removed.
6809 (getStackTrace0): new method.
6810 * java/lang/StackTraceElement.java (toString): add extra whitespace.
6811 * gcj/javaprims.h: regenerate class list.
6812 * include/name-finder.h (lookup): new returns StackTraceElement*.
6813 (method_name, file_name): fields removed.
6814 (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
6815 (~_Jv_name_finder): close new descriptors.
6816 * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
6817 (createStackTraceElement): new method.
6818 (lookup): returns StackTraceElement*, uses createStackTraceElement().
6820 2002-07-10 Tom Tromey <tromey@redhat.com>
6822 * configure: Rebuilt.
6823 * configure.in: Use `test' after `&&'. From Chris Faylor.
6825 2002-07-08 Mark Wielaard <mark@klomp.org>
6827 * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
6828 java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
6829 java.sql.DatabaseMetaData.TestJdbc20
6831 2002-07-05 Tony Kimball <alk@pobox.com>
6833 * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
6835 2002-07-04 Tom Tromey <tromey@redhat.com>
6836 Jeff Sturm <jsturm@one-point.com>
6838 Fix for PR libgcj/7060:
6839 * java/lang/Class.h (_getMethod): Renamed from getMethod.
6840 * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
6841 Recurse into superinterfaces. Don't throw NoSuchMethodException.
6842 * java/lang/Class.java (getMethod): New Java implementation;
6844 (_getMethod): New native method.
6846 2002-07-02 Tom Tromey <tromey@redhat.com>
6847 David Hovemeyer <daveho@cs.umd.edu>
6849 * java/text/ChoiceFormat.java
6850 (format(double,StringBuffer,FieldPosition)): Fix fencepost error
6852 * java/text/MessageFormat.java
6853 (format(Object[],StringBuffer,FieldPosition): Pass all arguments
6856 2002-07-01 Tom Tromey <tromey@redhat.com>
6858 * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
6859 StringTokenizer on null string. For PR libgcj/7180.
6860 From daveho@cs.umd.edu.
6862 2002-06-24 Tom Tromey <tromey@redhat.com>
6864 * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
6865 (IntegerClass): Likewise.
6866 * java/lang/natClass.cc (CloneableClass): Removed.
6867 (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
6868 ConstructorClass): Likewise.
6869 * java/lang/natClassLoader.cc (CloneableClass): Removed.
6870 (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
6871 SerializableClass): Likewise.
6872 * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
6873 (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
6874 LongClass, FloatClass, DoubleClass): Likewise.
6876 * verify.cc (branch_prepass): Updated for change to exception
6878 (verify_instructions_0): Likewise.
6879 * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
6880 (handleExceptionTableEntry): Updated for change to exception
6882 * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
6883 * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
6884 (union _Jv_InterpPC): New.
6885 (class _Jv_InterpException): Changed types to _Jv_InterpPC.
6886 (class _Jv_InterpMethod): Added new `prepared' field.
6887 (class _Jv_InterpMethod): Added `compile' method. Removed
6888 `continue1' and `find_exception'. Changed arguments to `run'.
6889 * interpret.cc (union insn_slot): New.
6890 (find_exception): Removed.
6891 (run_normal): Removed most logic.
6892 (run_synch_object): Likewise; also, use JvSynchronize.
6893 (run_synch_class): Likewise.
6895 (continue1): Renamed as `run'. Compile bytecode if required.
6896 Add new code to allow refinement of direct-threaded code at
6897 runtime. Handle exceptions.
6899 (compile): New method.
6900 (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
6901 (NULLARRAYCHECK): Don't use SAVE_PC.
6902 (pc_t): New typedef.
6903 (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
6904 SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
6906 2002-06-23 Tom Tromey <tromey@redhat.com>
6908 * configure: Rebuilt.
6909 * configure.in (INTERPRETER): New subst.
6910 (AM_RUNTESTFLAGS): Don't subst.
6912 * Makefile.in: Rebuilt.
6913 * Makefile.am ($(srcdir)/java/lang/Object.h,
6914 $(srcdir)/java/lang/Class.h): Added dummy targets.
6916 2002-06-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
6918 Reformat JDBC classes and add new JDK 1.4 classes and methods.
6920 * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
6921 java/sql/Savepoint.java: New files.
6922 * java/sql/Array.java, java/sql/BatchUpdateException.java,
6923 java/sql/Blob.java, java/sql/CallableStatement.java,
6924 java/sql/Clob.java, java/sql/Connection.java,
6925 java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
6926 java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
6927 java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
6928 java/sql/Ref.java, java/sql/ResultSet.java,
6929 java/sql/ResultSetMetaData.java, java/sql/SQLData.java
6930 java/sql/SQLException.java, java/sql/SQLInput.java,
6931 java/sql/SQLOutput.java, java/sql/SQLWarning.java
6932 java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
6933 java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
6934 (JDK 1.4) specification.
6935 * javax/sql/ConnectionEvent.java,
6936 javax/sql/ConnectionEventListener.java,
6937 javax/sql/ConnectionPoolDataSource.java,
6938 javax/sql/DataSource.java, javax/sql/PooledConnection.java,
6939 javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
6940 javax/sql/RowSet.java, javax/sql/RowSetListener.java,
6941 javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
6942 javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
6943 javax/sql/XADataSource.java: New files.
6944 * Makefile.am: Add new files.
6945 * Makefile.in: Rebuilt.
6947 2002-06-20 Tom Tromey <tromey@redhat.com>
6950 * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
6952 * defineclass.cc (handleClassBegin): Superclass for interface is
6955 2002-06-18 Tom Tromey <tromey@redhat.com>
6957 * gcj/javaprims.h: Updated class declaration list.
6958 * Makefile.in: Rebuilt.
6959 * Makefile.am (core_java_source_files): Removed
6961 * java/util/BasicMapEntry.java: Removed.
6963 2002-06-18 Jeff Sturm <jsturm@one-point.com>
6965 * java/net/natPlainDatagramSocketImpl.cc (receive):
6966 Check bounds of argument to FD_SET.
6967 (setOption): Throw exception if socket is closed.
6969 * java/net/natPlainSocketImpl.cc (accept, read):
6970 Check bounds of argument to FD_SET.
6971 (setOption): Throw exception if socket is closed.
6973 2002-06-18 Tom Tromey <tromey@redhat.com>
6975 * gcj/javaprims.h: Updated class declaration list.
6976 * Makefile.in: Rebuilt.
6977 * Makefile.am (core_java_source_files): Added
6978 PropertyPermissionCollection.java.
6979 * java/lang/Thread.java (group, name): Now package-private.
6980 * java/lang/ThreadGroup.java: Re-merge with Classpath.
6981 * java/util/AbstractList.java: Likewise.
6982 * java/util/AbstractMap.java: Likewise.
6983 * java/util/Calendar.java: Likewise.
6984 * java/util/Collections.java: Likewise.
6985 * java/util/HashMap.java: Likewise.
6986 * java/util/Hashtable.java: Likewise.
6987 * java/util/LinkedHashMap.java: Likewise.
6988 * java/util/LinkedList.java: Likewise.
6989 * java/util/List.java: Likewise.
6990 * java/util/ListResourceBundle.java: Likewise.
6991 * java/util/Map.java: Likewise.
6992 * java/util/Observable.java: Likewise.
6993 * java/util/Properties.java: Likewise.
6994 * java/util/PropertyPermission.java: Likewise.
6995 * java/util/PropertyPermissionCollection.java: Likewise.
6996 * java/util/PropertyResourceBundle.java: Likewise.
6997 * java/util/Random.java: Likewise.
6998 * java/util/SimpleTimeZone.java: Likewise.
6999 * java/util/StringTokenizer.java: Likewise.
7000 * java/util/TimerTask.java: Likewise.
7001 * java/util/TreeMap.java: Likewise.
7002 * java/util/WeakHashMap.java: Likewise.
7003 * java/util/jar/Attributes.java: Likewise.
7004 * java/util/jar/JarException.java: Likewise.
7005 * java/util/jar/Manifest.java: Likewise.
7007 2002-06-17 Tom Tromey <tromey@redhat.com>
7009 * gcj/javaprims.h: Updated class declaration list.
7010 * Makefile.in: Rebuilt.
7011 * Makefile.am (core_java_source_files): Added new file.
7012 * java/util/EventListenerProxy.java: New file.
7013 * java/util/EventListener.java: Re-merge with Classpath.
7014 * java/util/EventObject.java: Re-merge with Classpath.
7016 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
7018 * java/lang/ClassNotFoundException.java: New Classpath version.
7020 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
7022 * java/rmi/activation/ActivateFailedException.java: Remerge from
7024 * java/rmi/activation/ActivationException.java: Ditto.
7025 * java/rmi/activation/UnknownGroupException.java: Ditto.
7026 * java/rmi/activation/UnknownObjectException.java: Ditto.
7027 * java/rmi/server/ExportException: Ditto.
7028 * java/rmi/server/ServerCloneException: Ditto.
7029 * java/rmi/server/ServerNotActiveException: Ditto.
7030 * java/rmi/server/SkeletonMismatchException: Ditto.
7031 * java/rmi/server/SkeletonNotFoundException: Ditto.
7032 * java/rmi/server/SocketSecurityException: Ditto.
7034 2002-06-16 Tom Tromey <tromey@redhat.com>
7036 * gcj/javaprims.h: Updated class declaration list.
7038 * java/io/LineNumberInputStream.java: Merged with Classpath.
7040 * java/lang/RuntimeException.java: Re-merge with Classpath.
7041 * java/util/ArrayList.java: Likewise.
7042 * java/util/Arrays.java: Likewise.
7043 * java/util/BitSet.java: Likewise.
7044 * java/util/Dictionary.java: Likewise.
7045 * java/util/IdentityHashMap.java: Likewise.
7046 * java/util/MissingResourceException.java: Likewise.
7047 * java/util/Observer.java: Likewise.
7048 * java/util/TooManyListenersException.java: Likewise.
7049 * java/util/zip/DataFormatException.java: Likewise.
7050 * java/util/zip/ZipException.java: Likewise.
7052 2002-06-16 Nathanael Nerode <neroden@twcny.rr.com>
7054 * java/rmi/AccessException.java: Remerge from Classpath.
7055 * java/rmi/AlreadyBoundException.java: Ditto.
7056 * java/rmi/ConnectException.java: Ditto.
7057 * java/rmi/ConnectIOException.java: Ditto.
7058 * java/rmi/MarshalException.java: Ditto.
7059 * java/rmi/NoSuchObjectException.java: Ditto.
7060 * java/rmi/NotBoundException.java: Ditto.
7061 * java/rmi/RemoteException.java: Ditto.
7062 * java/rmi/RMISecurityException.java: Ditto.
7063 * java/rmi/ServerError.java: Ditto.
7064 * java/rmi/ServerException.java: Ditto.
7065 * java/rmi/ServerRuntimeException.java: Ditto.
7066 * java/rmi/StubNotFoundException.java: Ditto.
7067 * java/rmi/UnexpectedExcpetion.java: Ditto.
7068 * java/rmi/UnknownHostException.java: Ditto.
7069 * java/rmi/UnmarshalException.java: Ditto.
7071 2002-06-15 Tom Tromey <tromey@redhat.com>
7073 * java/lang/AbstractMethodError.java: Re-merged with Classpath.
7074 * java/lang/ArithmeticException.java: Likewise.
7075 * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
7076 * java/lang/ArrayStoreException.java: Likewise.
7077 * java/lang/Byte.java: Likewise.
7078 * java/lang/CharSequence.java: Likewise.
7079 * java/lang/ClassCastException.java: Likewise.
7080 * java/lang/ClassCircularityError.java: Likewise.
7081 * java/lang/ClassFormatError.java: Likewise.
7082 * java/lang/CloneNotSupportedException.java: Likewise.
7083 * java/lang/Cloneable.java: Likewise.
7084 * java/lang/Comparable.java: Likewise.
7085 * java/lang/Compiler.java: Likewise.
7086 * java/lang/Error.java: Likewise.
7087 * java/lang/ExceptionInInitializerError.java: Likewise.
7088 * java/lang/IllegalAccessError.java: Likewise.
7089 * java/lang/IllegalAccessException.java: Likewise.
7090 * java/lang/IllegalArgumentException.java: Likewise.
7091 * java/lang/IllegalMonitorStateException.java: Likewise.
7092 * java/lang/IllegalStateException.java: Likewise.
7093 * java/lang/IllegalThreadStateException.java: Likewise.
7094 * java/lang/IncompatibleClassChangeError.java: Likewise.
7095 * java/lang/IndexOutOfBoundsException.java: Likewise.
7096 * java/lang/InheritableThreadLocal.java: Likewise.
7097 * java/lang/InstantiationError.java: Likewise.
7098 * java/lang/InstantiationException.java: Likewise.
7099 * java/lang/InternalError.java: Likewise.
7100 * java/lang/InterruptedException.java: Likewise.
7101 * java/lang/LinkageError.java: Likewise.
7102 * java/lang/NegativeArraySizeException.java: Likewise.
7103 * java/lang/NoClassDefFoundError.java: Likewise.
7104 * java/lang/NoSuchFieldError.java: Likewise.
7105 * java/lang/NoSuchFieldException.java: Likewise.
7106 * java/lang/NoSuchMethodError.java: Likewise.
7107 * java/lang/NoSuchMethodException.java: Likewise.
7108 * java/lang/NullPointerException.java: Likewise.
7109 * java/lang/NumberFormatException.java: Likewise.
7110 * java/lang/OutOfMemoryError.java: Likewise.
7111 * java/lang/Process.java: Likewise.
7112 * java/lang/Runnable.java: Likewise.
7113 * java/lang/RuntimePermission.java: Likewise.
7114 * java/lang/SecurityException.java: Likewise.
7115 * java/lang/Short.java: Likewise.
7116 * java/lang/StackOverflowError.java: Likewise.
7117 * java/lang/StringIndexOutOfBoundsException.java: Likewise.
7118 * java/lang/ThreadDeath.java: Likewise.
7119 * java/lang/ThreadLocal.java: Likewise.
7120 * java/lang/UnknownError.java: Likewise.
7121 * java/lang/UnsatisfiedLinkError.java: Likewise.
7122 * java/lang/UnsupportedClassVersionError.java: Likewise.
7123 * java/lang/UnsupportedOperationException.java: Likewise.
7124 * java/lang/VerifyError.java: Likewise.
7125 * java/lang/VirtualMachineError.java: Likewise.
7126 * java/lang/reflect/InvocationTargetException.java: Likewise.
7127 * java/net/BindException.java: Likewise.
7128 * java/net/ConnectException.java: Likewise.
7129 * java/net/MalformedURLException.java: Likewise.
7130 * java/net/NoRouteToHostException.java: Likewise.
7131 * java/net/ProtocolException.java: Likewise.
7132 * java/net/SocketException.java: Likewise.
7133 * java/net/UnknownHostException.java: Likewise.
7134 * java/net/UnknownServiceException.java: Likewise.
7136 * java/io/BufferedOutputStream.java: Re-merged with Classpath.
7137 * java/io/CharConversionException.java: Likewise.
7138 * java/io/EOFException.java: Likewise.
7139 * java/io/FileNotFoundException.java: Likewise.
7140 * java/io/IOException.java: Likewise.
7141 * java/io/InterruptedIOException.java: Likewise.
7142 * java/io/InvalidClassException.java: Likewise.
7143 * java/io/InvalidObjectException.java: Likewise.
7144 * java/io/NotActiveException.java: Likewise.
7145 * java/io/NotSerializableException.java: Likewise.
7146 * java/io/ObjectStreamException.java: Likewise.
7147 * java/io/ObjectStreamConstants.java: Likewise.
7148 * java/io/OptionalDataException.java: Likewise.
7149 * java/io/PipedInputStream.java: Likewise.
7150 * java/io/PushbackInputStream.java: Likewise.
7151 * java/io/StreamCorruptedException.java: Likewise.
7152 * java/io/SyncFailedException.java: Likewise.
7153 * java/io/UTFDataFormatException.java: Likewise.
7154 * java/io/UnsupportedEncodingException.java: Likewise.
7155 * java/io/WriteAbortedException.java: Likewise.
7157 2002-06-15 Nathanael Nerode <neroden@twcny.rr.com>
7159 * java/text/ChoiceFormat.java: Update comments from Classpath.
7160 * java/text/ParseException.java (serialVersionUID): New
7161 field from Classpath.
7162 * java/text/ParseException.java: Update formatting & comments
7165 2002-06-15 Tom Tromey <tromey@redhat.com>
7167 * java/util/zip/InflaterInputStream.java (read): Loop if data has
7168 been read but none output by inflater.
7169 * java/util/zip/natDeflater.cc (reset): Set is_finished.
7170 * java/util/zip/natInflater.cc (reset): Set dist_needed and
7172 * java/util/zip/ZipOutputStream.java: Replaced with Classpath
7174 * java/util/zip/ZipFile.java: Replaced with Classpath version.
7175 * java/util/zip/ZipEntry.java: Replaced with Classpath version.
7176 * java/util/zip/ZipInputStream.java: Replaced with Classpath
7178 * java/util/zip/ZipConstants.java: Replaced with Classpath version.
7180 2002-06-13 Tom Tromey <tromey@redhat.com>
7182 * java/lang/natString.cc (init): Handle case where DONT_COPY is
7184 * java/lang/String.java (String(char[],int,int,boolean): New
7186 * java/lang/Long.java: Imported new version from Classpath.
7187 * java/lang/Number.java: Likewise.
7188 * java/lang/Integer.java: Likewise.
7189 * java/lang/Long.java: Likewise.
7190 * java/lang/Float.java: Likewise.
7191 * java/lang/Boolean.java: Likewise.
7192 * java/lang/Double.java: Likewise.
7193 * java/lang/Void.java: Likewise.
7195 2002-06-12 Tom Tromey <tromey@redhat.com>
7197 * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
7198 Fixes PR libgcj/6652.
7200 2002-06-10 Tom Tromey <tromey@redhat.com>
7202 * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
7203 (Class::getPackagePortion): Likewise.
7204 * java/lang/Class.java (desiredAssertionStatus): New method from
7206 (getPackagePortion): Likewise.
7207 * java/lang/VMClassLoader.java (defaultAssertionStatus,
7208 packageAssertionStatus, classAssertionStatus): New methods from
7210 * java/lang/ClassLoader.java (defaultAssertionStatus,
7211 systemPackageAssertionStatus, packageAssertionStatus,
7212 systemClassAssertionStatus, classAssertionStatus): New fields from
7214 (setDefaultAssertionStatus, setPackageAssertionStatus,
7215 setClassAssertionStatus, clearAssertionStatus): New methods from
7217 * Makefile.in: Rebuilt.
7218 * Makefile.am (core_java_source_files): Added AssertionError.java.
7219 * java/lang/AssertionError.java: New from Classpath.
7221 2002-06-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
7223 * configure.host: Disable hash synchronization and slow_pthread_self
7226 2002-06-06 Adam Megacz <adam@xwt.org>
7228 * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
7229 locking, just like the Sun JVM does.
7231 2002-06-05 H.J. Lu (hjl@gnu.org)
7233 * Makefile.am (libgcj_convenience.la): Revert the last change.
7234 (libgcj.la): Likewise.
7235 * Makefile.in: Regenerated.
7237 2002-06-04 H.J. Lu (hjl@gnu.org)
7239 * Makefile.am (libgcj_convenience.la): New target.
7240 (libgcj.la): Depend on libgcj_convenience.la.
7241 * Makefile.in: Regenerated.
7243 2002-06-04 H.J. Lu (hjl@gnu.org)
7245 * configure.in (--with-newlib): New option:
7246 Check ${with_newlib} instead of ${with_cross_host} for newlib.
7247 (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
7249 * configure: Regenerated.
7251 2002-06-04 Tom Tromey <tromey@redhat.com>
7253 * java/util/natTimeZone.cc: Include <stdio.h>.
7255 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com>
7257 * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
7258 * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
7259 Set SIGNAL_HANDLER=include/s390-linux.h.
7260 * configure: Regenerate.
7261 * include/s390-linux.h: New file.
7263 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
7265 * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
7268 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
7270 Merge JDK 1.4 java.security changes from classpath.
7272 * java/security/AccessControlException.java: Merge from Classpath.
7273 * java/security/AccessController.java: Likewise.
7274 * java/security/AllPermission.java: Likewise.
7275 * java/security/BasicPermission.java: Likewise.
7276 * java/security/Certificate.java: Likewise.
7277 * java/security/CodeSource.java: Likewise.
7278 * java/security/DigestException.java: Likewise.
7279 * java/security/DigestOutputStream.java: Likewise.
7280 * java/security/DomainCombiner.java: Likewise.
7281 * java/security/GeneralSecurityException.java: Likewise.
7282 * java/security/Guard.java: Likewise.
7283 * java/security/GuardedObject.java: Likewise.
7284 * java/security/InvalidAlgorithmParameterException.java: Likewise.
7285 * java/security/InvalidKeyException.java: Likewise.
7286 * java/security/InvalidParameterException.java: Likewise.
7287 * java/security/Key.java: Likewise.
7288 * java/security/KeyException.java: Likewise.
7289 * java/security/KeyManagementException.java: Likewise.
7290 * java/security/KeyStoreException.java: Likewise.
7291 * java/security/MessageDigest.java: Likewise.
7292 * java/security/NoSuchAlgorithmException.java: Likewise.
7293 * java/security/NoSuchProviderException.java: Likewise.
7294 * java/security/Permission.java: Likewise.
7295 * java/security/PermissionCollection.java: Likewise.
7296 * java/security/Permissions.java: Likewise.
7297 * java/security/Policy.java: Likewise.
7298 * java/security/Principal.java: Likewise.
7299 * java/security/PrivateKey.java: Likewise.
7300 * java/security/PrivilegedAction.java: Likewise.
7301 * java/security/PrivilegedActionException.java: Likewise.
7302 * java/security/PrivilegedExceptionAction.java: Likewise.
7303 * java/security/ProtectionDomain.java: Likewise.
7304 * java/security/ProviderException.java: Likewise.
7305 * java/security/PublicKey.java: Likewise.
7306 * java/security/SecureClassLoader.java: Likewise.
7307 * java/security/SecurityPermission.java: Likewise.
7308 * java/security/SignatureException.java: Likewise.
7309 * java/security/UnrecoverableKeyException.java: Likewise.
7310 * java/security/UnresolvedPermission.java: Likewise.
7311 * java/security/acl/AclNotFoundException.java: Likewise.
7312 * java/security/acl/LastOwnerException.java: Likewise.
7313 * java/security/acl/NotOwnerException.java: Likewise.
7314 * java/security/cert/CRLException.java: Likewise.
7315 * java/security/cert/CertificateEncodingException.java: Likewise.
7316 * java/security/cert/CertificateException.java: Likewise.
7317 * java/security/cert/CertificateExpiredException.java: Likewise.
7318 * java/security/cert/CertificateFactory.java: Likewise.
7319 * java/security/cert/CertificateNotYetValidException.java: Likewise.
7320 * java/security/cert/CertificateParsingException.java: Likewise.
7321 * java/security/spec/InvalidKeySpecException.java: Likewise.
7322 * java/security/spec/InvalidParameterSpecException.java: Likewise.
7324 * java/security/cert/CertPath.java: New file.
7325 * java/security/cert/CertPathBuilderException.java: New file.
7326 * java/security/cert/CertPathValidatorException.java: New file.
7327 * java/security/cert/CertStoreException.java: New file.
7329 * Makefile.am: Add new CertPath classes.
7330 * Makefile.in: Rebuilt.
7332 * gnu/java/util/EmptyEnumeration.java: New file from classpath.
7334 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
7336 Merge JDK 1.4 exception chaining support from classpath.
7338 * java/lang/Throwable.java: Merge 1.4 support from classpath.
7339 (stackTraceBytes): Rename from stackTrace.
7340 * java/lang/Exception.java: Merge from classpath.
7341 * java/lang/StackTraceElement: New file from classpath.
7342 * gcj/javaprims.h: Rebuild CNI namespace declarations.
7343 * Makefile.am: Add StackTraceElement.
7344 * Makefile.in: Rebuilt.
7346 2002-05-23 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
7348 * Makefile.am (all-recursive): Depend on $all_java_class_files so that
7350 * Makefile.in: Rebuilt.
7352 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
7354 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
7355 * configure.in: Likewise.
7356 * aclocal.m4: Regenerate.
7357 * configure: Regenerate.
7359 2002-05-13 Tom Tromey <tromey@redhat.com>
7361 * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
7362 * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
7365 Fixes PR libgcj/6389:
7366 * Makefile.in: Rebuilt.
7367 * Makefile.am (nat_source_files): Added natTimeZone.cc.
7368 * java/util/natTimeZone.cc: New file.
7369 * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
7370 * java/lang/System.java: Merged with Classpath.
7371 * java/lang/Runtime.java: Merged with Classpath.
7372 * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
7374 (setIn0): Renamed from setIn; don't run security check.
7375 (setOut0): Renamed from setOut; don't run security check.
7376 (file_encoding, getpwuid_adaptor, getSystemTimeZone,
7377 init_properties): Moved to natRuntime.cc.
7378 Moved many includes to natRuntime.cc.
7379 (isWordsBigEndian): New method.
7380 * java/lang/natRuntime.cc: Include Long.h, also other includes
7381 previously in natSystem.cc.
7382 (maxMemory): New function.
7383 (exitInternal): Renamed from `_exit'.
7385 (init): Don't set finalize_on_exit.
7386 (exitInternal): Use `finalizeOnExit'.
7387 (file_encoding, getpwuid_adaptor): New functions from
7389 (insertSystemProperties): New method, renamed from
7390 System::init_properties. Don't set user.timezone.
7391 (_load): Don't call checkLink.
7392 (execInternal): New method.
7393 (availableProcessors): Likewise.
7394 (nativeGetLibname): Likewise.
7396 2002-05-11 Mark Wielaard <mark@klomp.org>
7398 * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
7400 (previous_internal): Likewise.
7402 2002-05-09 Tom Tromey <tromey@redhat.com>
7404 * jni.cc (_Jv_JNIFunctions): Fixed typo.
7406 * java/util/ResourceBundle.java: New version from Classpath.
7407 * java/util/Locale.java: Likewise.
7409 2002-05-09 Jakub Jelinek <jakub@redhat.com>
7411 * testsuite/lib/libjava.exp (libjava_arguments): Append all
7412 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
7415 2002-05-08 Mark Mitchell <mark@codesourcery.com>
7417 * libjava/Makefile.am (all_java_source_files): New variable.
7418 (all_java_class_files): Likewise.
7419 .java.class: New rule.
7420 (CLEANFILES): Remove tmp-list.
7421 * libjava/Makefile.in: Regenerated.
7423 2002-05-09 David.Billinghurst <David.Billinghurst@riotinto.com>
7425 * testsuite/lib/libjava.exp (test_libjava_from_javac):
7426 Append .exe to executable names. Fix for cygwin.
7428 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
7430 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
7431 script entry, and set LD to it when configuring multilibs.
7432 * configure: Rebuilt.
7434 2002-05-07 Tom Tromey <tromey@redhat.com>
7436 * java/lang/natString.cc (unintern): Fixed typo.
7438 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
7440 * testsuite/lib/libjava.exp (libjava_arguments): Don't link
7441 with -no-install on *-*-cygwin*.
7443 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
7445 * testsuite/lib/libjava.exp (test_libjava_from_source):
7446 Add comment explaining last patch
7448 2002-05-04 David Billinghurst <David.Billinghurst@riotinto.com>
7450 * testsuite/lib/libjava.exp (test_libjava_from_source):
7451 Append .exe to executable names. If no suffix is present,
7452 then ".exe" is added by default on win32. Harmless
7453 elsewhere so always do it.
7455 2002-05-03 David Billinghurst <David.Billinghurst@riotinto.com>
7456 Tom Tromey <tromey@redhat.com>
7458 * java/lang/natSystem.cc (getSystemTimeZone): Use
7459 HAVE_UNDERSCORE_TIMEZONE.
7460 * include/config.h.in: Rebuilt.
7461 * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
7462 * aclocal.m4, configure: Rebuilt.
7463 * acinclude.m4: Run AC_EXEEXT.
7464 * configure.in: Adjust test for `timezone' so it fails on Cygwin.
7465 Add test for `_timezone'.
7467 2002-05-03 Alexandre Oliva <aoliva@redhat.com>
7469 Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
7470 * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
7471 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
7472 * Makefile.in: Rebuilt.
7474 2002-05-02 Hans Boehm <Hans_Boehm@hp.com>
7476 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
7477 use sigaction instead of __libc_sigaction.
7479 2002-05-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
7481 * testsuite/lib/libjava.exp (libjava_find_spec): New function.
7482 (libjava_init): Use it to find libgcj.spec.
7483 (libjava_arguments): Likewise.
7485 2002-05-02 David S. Miller <davem@redhat.com>
7488 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
7489 __libc_sigaction on Sparc.
7491 2002-05-02 Jerome Marc <marcjero@yahoo.com>
7493 * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
7494 sys/filio.h, if present.
7496 2002-04-30 Tom Tromey <tromey@redhat.com>
7498 * java/io/BufferedReader.java (fill): Handle case where markPos
7499 point to ignored \n. Fixes PR libgcj/6301.
7501 2002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
7503 * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
7505 2002-04-29 Adam King <aking@dreammechanics.com>
7507 * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
7508 of file in APPEND mode.
7510 2002-04-25 David S. Miller <davem@redhat.com>
7513 * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
7514 program counter to next program counter minus 8. Update
7515 comments in this macro to explain why.
7517 2002-04-26 Tom Tromey <tromey@redhat.com>
7519 * verify.cc (construct_primitive_array_type) [void_type]: New
7521 (branch_prepass): Added dummy entries for unused instruction
7523 (verify_instructions_0): Likewise.
7524 * interpret.cc (continue1): Comment fix.
7525 * include/java-insns.h (op_xxxunusedxxx1): Removed.
7526 * Makefile.in: Rebuilt.
7527 * Makefile.am: Added -Wswitch-enum.
7529 2002-04-24 Tom Tromey <tromey@redhat.com>
7531 * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
7532 correct length of UTF-8 encoded name. Strip leading `/'.
7533 (_Jv_RegisterResource): Use _Jv_Malloc.
7535 2002-04-23 Adam Megacz <adam@xwt.org>
7537 * win32.cc, include/win32.cc (backtrace): Added this function
7538 because Win32 does not supply it.
7540 2002-04-21 David S. Miller <davem@redhat.com>
7542 * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
7543 magic instruction reading sequence.
7545 2002-04-21 Mark Wielaard <mark@klomp.org>
7547 * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
7549 2002-04-19 David S. Miller <davem@redhat.com>
7551 * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
7553 (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
7554 (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
7556 * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
7558 (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
7559 * sysdeps/sparc/locks.h: New file.
7560 * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
7561 on all sparc Solaris configurations. Set to
7562 include/dwarf2-signal.h on sparc Linux.
7563 * configure: Regenerate
7564 * configure.host (can_unwind_signal): sparc*-linux* can do it now.
7566 2002-04-19 Hans Boehm <Hans_Boehm@hp.com>
7568 * configure: Rebuilt.
7569 * configure.in (backtrace): Function doesn't work on IA-64.
7571 2002-04-17 Adam King <aking@dreammechanics.com>
7573 * java/io/File.java (normalizePath): Add Win32 support for auto
7574 conversion of a '/' path separator to Win32's '\' separator.
7576 2002-04-16 Tom Tromey <tromey@redhat.com>
7578 Fix for PR libgcj/6081:
7579 * Makefile.in: Rebuilt.
7580 * Makefile.am (install-data-local): Use GNU make trick to avoid
7583 2002-04-16 Adam King <aking@dreammechanics.com>
7584 Tom Tromey <tromey@redhat.com>
7586 * java/io/natFileWin32.cc (performList): Return the correct array
7587 type. Don't duplicate the creation of a File since it's already
7588 done earlier in the method and the existing code would cause a
7589 ArrayStoreException. Don't use fixed-size array.
7590 (_access, _stat, attr, getCanonicalPath, performMkdir,
7591 performRenameTo): Don't use fixed-size array.
7592 (getCanonicalPath): Use throw, not _Jv_Throw.
7594 2002-04-15 DJ Delorie <dj@redhat.com>
7596 * configure.in: Allow building in $srcdir.
7597 * configure: Regenerated.
7599 2002-04-14 Mark Wielaard <mark@klomp.org>
7601 * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
7602 * java/net/natSocketImpl.cc (close): Likewise.
7604 2002-04-14 Mark Wielaard <mark@klomp.org>
7606 * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
7608 2002-04-13 Adam King <aking@dreammechanics.com>
7610 * java/lang/natDouble.cc (parseDouble): Allow a number to end with
7611 the f/F/d/D modifiers.
7613 2002-04-12 Anthony Green <green@redhat.com>
7615 * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
7616 Create libgcj-@gcc_version@.jar instead of libgcj.jar.
7617 * Makefile.in: Rebuilt.
7618 * configure.in: Substitute gcc_version.
7619 * configure: Rebuilt.
7621 2002-04-11 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
7623 * configure.host: Set can_unwind_signal on hosts which support it.
7624 Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
7625 * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
7626 exceptions and can_unwind_signal isn't set.
7627 * configure: Rebuilt.
7629 2002-04-11 Tom Tromey <tromey@redhat.com>
7631 * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
7633 2002-04-11 Adam King <aking@dreammechanics.com>
7634 Tom Tromey <tromey@redhat.com>
7636 * include/jvm.h (_Jv_ThrowBadArrayIndex,
7637 _Jv_ThrowNullPointerException): Mark as noreturn.
7638 * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
7639 and _Jv_free. Correctly invoke GetTempPath(). Indentation
7642 2002-04-10 Tom Tromey <tromey@redhat.com>
7644 * Makefile.in: Rebuilt.
7645 * Makefile.am (java/lang/Thread.h): Mark
7646 _Jv_AttachCurrentThreadAsDaemon as friend.
7647 * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
7648 * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
7649 * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
7651 * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
7652 * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
7653 (_Jv_JNI_InvokeFunctions): Added
7654 _Jv_JNI_AttachCurrentThreadAsDaemon.
7655 (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
7656 (JNI_GetDefaultJavaVMInitArgs): Likewise.
7657 (JNI_CreateJavaVM): Likewise.
7658 (_Jv_JNI_AttachCurrentThread): Likewise.
7659 (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
7660 (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
7661 (_Jv_JNIFunctions): Initialize new fields.
7662 (_Jv_JNI_NewDirectByteBuffer): New function.
7663 (_Jv_JNI_GetDirectBufferAddress): Likewise.
7664 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
7665 * include/jni.h (JNI_VERSION_1_4): New macro.
7666 (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
7667 (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
7668 (JNINativeInterface::NewDirectByteBuffer): New field.
7669 (JNINativeInterface::GetDirectBufferAddress): New field.
7670 (JNINativeInterface::GetDirectBufferCapacity): New field.
7671 (_Jv_JNIEnv::NewDirectByteBuffer): New method.
7672 (_Jv_JNIEnv::GetDirectBufferAddress): New method.
7673 (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
7675 2002-04-09 Tom Tromey <tromey@redhat.com>
7677 * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
7679 2002-04-08 Alberto Biancardi <alberto.biancardi@unipv.it>
7681 Fix for PR libgcj/6187:
7682 * java/awt/geom/Point2D.java (distance): Call distanceSq, not
7685 2002-04-07 Mark Wielaard <mark@klomp.org>
7687 * java/util/AbstractMap.java (putAll): Use entrySet size.
7688 (toString): Explicitly use getKey() and getValue().
7690 2002-04-07 Mark Wielaard <mark@klomp.org>
7692 * java/util/Hashtable.java (contains): Remove NullPointer check.
7693 (containsValue): Add NullPointer check.
7694 (remove): Always throw NullPointerException when key
7697 2002-04-07 Adam King <aking@dreammechanics.com>
7699 * java/lang/natSystem.cc (init_properties): Call new function
7700 _Jv_platform_initProperties.
7701 * win32.cc (_Jv_platform_initProperties): New function that adds Win32
7702 support for the System properties os.name, os.arch, os.version,
7703 user.name, user.home, and user.dir.
7704 * include/posix.h, include/win32.h, posix.cc: New function
7705 _Jv_platform_initProperties.
7707 2002-04-06 Mark Wielaard <mark@klomp.org>
7709 * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
7711 2002-04-06 Mark Wielaard <mark@klomp.org>
7713 * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
7714 all of the remaining elements.
7715 * java/util/Vector.java (addAll(int,Collection)): Likewise.
7716 (removeRange): If toIndex == fromIndex do
7717 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
7718 (removeAll): Always throw NullPointerException when collection is
7720 (retrainAll): Likewise.
7722 2002-04-05 Mark Wielaard <mark@klomp.org>
7724 * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
7725 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
7727 2002-04-05 Adam Megacz <adam@xwt.org>
7729 * exception.cc (abort): added static modifier
7731 2002-04-04 Adam Megacz <adam@xwt.org>
7733 * include/win32.h (_Jv_platform_close_on_exec): added inline
7736 2002-04-04 Loren J. Rittle <ljrittle@acm.org>
7738 * configure.host: Add case statement to support generic port
7739 properties. Add *-*-freebsd* section.
7741 2002-04-04 Mark Wielaard <mark@klomp.org>
7743 * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
7745 * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
7746 FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
7747 that depend on awt code and BufferedByteOutputStream.interrupt.
7749 2002-04-04 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
7751 * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
7752 incorrect "hi" value when count > 40.
7754 2002-04-03 Mark Wielaard <mark@klomp.org>
7756 * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
7759 2002-04-02 Tom Tromey <tromey@redhat.com>
7761 * java/lang/natClassLoader.cc (findClass): Compare against `3',
7764 2002-04-02 Mark Wielaard <mark@klomp.org>
7766 * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
7767 list of testsuite crashers.
7769 2002-04-02 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
7771 * java/util/IdentityHashMap.java (put): Set new threshold correctly
7772 when resizing table.
7774 2002-04-01 Mark Wielaard <mark@klomp.org>
7776 * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
7777 NegativeArraySizeException
7778 (clear(int)): Use sign extended shift.
7779 (flip(int)): Likewise.
7780 (get(int)): Likewise.
7781 (nextClearBit(int)): Likewise.
7782 (nextSetBit(int)): Likewise.
7783 (set(int)): Likewise.
7785 2002-04-01 Mark Wielaard <mark@klomp.org>
7787 * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
7788 that can be compiled now and add testsuite crashers to ignore list.
7790 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
7792 * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
7794 * libgcj.spec.in: Override libgcc, not lib.
7795 * libgcj-test.spec.in: Likewise.
7797 2002-03-29 Tom Tromey <tromey@redhat.com>
7799 * java/net/natPlainDatagramSocketImpl.cc (close): New function.
7800 * java/net/natPlainSocketImpl.cc (close): Indentation fix.
7802 2002-03-27 Jeff Sturm <jsturm@one-point.com>
7804 * java/net/PlainDatagramSocketImpl.java
7805 (close): Use native implementation.
7806 (finalize): New method.
7808 * java/net/PlainSocketImpl.java (finalize): New method.
7810 * java/net/natPlainDatagramSocketImpl.cc
7811 (java/io/FileDescriptor.h): Don't include.
7812 (close): Implement method here.
7813 (create): Don't assign fd.
7815 * java/net/natPlainSocketImpl.cc
7816 (java/io/FileDescriptor.h): Don't include.
7817 (create): Don't assign fd.
7819 (close): Synchronize.
7821 2002-03-27 Richard Henderson <rth@redhat.com>
7823 * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
7825 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
7827 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
7828 (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
7829 instead of syscall on IA-64.
7832 2002-03-27 Anthony Green <green@redhat.com>
7834 * libgcj.spec.in: Add CHECKREFSPEC.
7835 * configure.in: Ditto.
7836 * configure.host: Ditto. Check references for xscale-elf.
7837 * configure: Rebuilt.
7839 2002-03-26 Hans Boehm <Hans_Boehm@hp.com>
7841 * include/dwarf2-signal.h: Temporarily back out last change.
7843 2002-03-26 Loren J. Rittle <ljrittle@acm.org>
7845 * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
7847 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
7849 * configure.in, configure: enable dwarf2-exception-style
7850 exception handling on IA-64.
7851 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
7852 (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
7855 2002-03-25 Tom Tromey <tromey@redhat.com>
7857 * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
7858 (jv_convert_LDFLAGS): Likewise.
7859 (gij_LDFLAGS): Likewise.
7860 (rmic_LDFLAGS): Likewise.
7861 (rmiregistry_LDFLAGS): Likewise.
7862 * configure.in (THREADLDFLAGS): New subst; set correctly for
7865 2002-03-25 Tom Tromey <tromey@redhat.com>
7868 * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
7871 (version): Likewise.
7872 * gnu/gcj/convert/Convert.java (version): Removed extraneous
7874 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
7877 2002-03-25 Tom Tromey <tromey@redhat.com>
7879 * java/awt/Component.java (processEvent): Check ComponentEvent
7882 2002-03-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
7884 * java/io/PushbackReader.java: Reformat.
7886 * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
7887 calculate correct number of bytes skipped.
7889 Based on patch from Intel's ORP team:
7890 * java/io/PushbackInputStream.java (available): Calculate correct
7891 number of bytes in buffer.
7892 (read): Remove redundant bound check. Return bytes from both the
7893 buffer and the stream.
7895 2002-03-24 Tom Tromey <tromey@redhat.com>
7897 * java/awt/TextComponent.java (TextComponent): Editable by
7900 * java/awt/MenuItem.java (eventMask): No longer private.
7901 * java/awt/Button.java (dispatchEventImpl): Only dispatch to
7902 superclass if we didn't handle event.
7903 * java/awt/Checkbox.java (dispatchEventImpl): New method.
7904 * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
7905 * java/awt/Choice.java (dispatchEventImpl): New method.
7906 * java/awt/List.java (dispatchEventImpl): New method.
7907 * java/awt/Scrollbar.java (dispatchEventImpl): New method.
7908 * java/awt/TextComponent.java (dispatchEventImpl): New method.
7909 * java/awt/TextField.java (dispatchEventImpl): New method.
7911 2002-03-24 Eric Blake <ebb9@email.byu.edu>
7913 * java/beans/IntrospectionException.java: Update to 1.4.
7914 * java/beans/PropertyVetoException.java: Ditto.
7916 2002-03-24 Eric Blake <ebb9@email.byu.edu>
7918 * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
7919 Arrays.equals instead of ArrayHelper.equalsArray.
7921 2002-03-24 C. Brian Jones <cbj@gnu.org>
7923 * java/beans/Introspector.java: added new static final fields
7924 introduced in 1.2, lots of other updates remain to be done
7926 2002-03-24 C. Brian Jones <cbj@gnu.org>
7928 * java/beans/Introspector.java: reformatting
7930 2002-03-24 C. Brian Jones <cbj@gnu.org>
7932 * java/beans/Introspector.java: default beanInfoSearchPath will
7933 not include sun.beans.infos given we provide no such package and
7934 the API doesn't really require it; gnu.java.beans.info is the
7937 2002-03-24 Mark Wielaard <mark@klomp.org>
7939 Thanks to Orp developers
7940 * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
7941 switch TRUE and FALSE return values.
7943 2002-03-23 Tom Tromey <tromey@redhat.com>
7945 * include/name-finder.h (_Jv_name_finder::myclose): New method.
7946 * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
7948 2002-03-23 Michael Smith <msmith@spinnakernet.com>
7950 * java/util/GregorianCalendar.java (minimums, maximums): Correct
7951 MONTH entry. Fixes PR libgcj/6045.
7953 2002-03-23 Jeff Sturm <jsturm@one-point.com>
7955 * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
7957 2002-03-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
7959 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
7961 * sysdep/powerpc/locks.h (write_barrier): New function.
7962 * sysdep/i386/locks.h (write_barrier): New function.
7964 2002-03-19 Martin Kahlert <martin.kahlert@infineon.com>
7966 * include/jni.h Use correct C comments.
7968 2002-03-18 Tom Tromey <tromey@redhat.com>
7970 * include/jni.h (JNIIMPORT): New macro.
7971 (JNIEXPORT): Likewise.
7972 (JNICALL): Likewise.
7974 2002-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
7976 * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
7979 2002-03-18 Andrew Haley <aph@cambridge.redhat.com>
7981 * include/i386-signal.h (old_i386_kernel_sigaction): New.
7982 INIT_SEGV: Use old_i386_kernel_sigaction.
7985 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
7987 * java/lang/natSystem.cc (init_properties): Update VM version
7989 * configure.in: Set GCJVERSION.
7990 * acconfig.h: Add GCJVERSION.
7991 * configure: Rebuilt.
7992 * include/config.h.in: Rebuilt.
7994 2002-03-17 Anthony Green <green@redhat.com>
7996 * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
7998 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8000 Build a single libgcj.so, without separate gc and zlib libraries.
8001 * configure.in: Use convenience libraries for boehm-gc and zlib. Set
8002 SYS_ZLIBS if system zlib is used.
8003 * configure: Rebuilt.
8004 * Makefile.am: Use boehm-gc and zlib convenience libraries.
8005 * Makefile.in: Rebuilt.
8006 * libtool-version: Increment .so version number.
8008 * Makefile.am: Escape quotes in echo.
8009 * Makefile.in: Rebuilt.
8011 2002-03-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8013 * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
8014 * Makefile.in: Rebuilt.
8016 2002-03-15 Anthony Green <green@redhat.com>
8018 * configure.host (FILE): New macro for specifing File
8020 * configure: Rebuilt.
8021 * configure.in: Use FILE. Define HAVE_TIME for newlib targets.
8023 2002-03-15 Alexandre Oliva <aoliva@redhat.com>
8025 * Makefile.am (jv_convert_LDADD): Don't list libraries that are
8026 already implicitly brought in from libgcj.la.
8027 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
8028 * Makefile.in: Rebuilt.
8030 2002-03-15 Eric Blake <ebb9@email.byu.edu>
8032 * THANKS: Fix punctuation, alphabetization.
8034 2002-03-15 Tom Tromey <tromey@redhat.com>
8035 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8037 Fix for PR libgcj/5944.
8038 * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
8040 2002-03-15 Anthony Green <green@redhat.com>
8042 * configure.in (tool_include_dir): Define.
8043 * configure: Rebuilt.
8044 * gcj/Makefile.am: Install libgcj-config.h relative to
8046 * gcj/Makefile: Rebuilt.
8047 * gcj/libgcj-config.h: Add warning comment.
8049 2002-03-12 Andreas Tobler <a.tobler@schweiz.ch>
8051 * configure.host (powerpc*-darwin*): Enable interpreter.
8053 2002-03-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8055 * include/posix.h: Add multiple include header protection.
8056 * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
8058 2002-03-10 Adam Megacz <adam@xwt.org>
8060 * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
8062 2002-03-10 Tom Tromey <tromey@redhat.com>
8064 * java/awt/GridLayout.java (layoutContainer): Handle case where
8065 there are no items in container.
8067 * java/lang/Win32Process.java: Added comment.
8068 * include/posix.h (_Jv_platform_close_on_exec): New function.
8070 * include/win32.h (_Jv_platform_close_on_exec): New function.
8071 * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
8074 * java/net/natPlainDatagramSocketImpl.cc (create): Set
8076 * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
8079 2002-03-09 Tom Tromey <tromey@redhat.com>
8081 * verify.cc (state::NO_STACK): New constant.
8082 (state::is_unmerged_ret_state): Handle case where stacktop is
8084 (state::merge): Handle NO_STACK merges.
8085 (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
8086 for instruction following jsr.
8087 (stacktop, stackdepth): Removed unused variables.
8088 (pop_jump): Ignore case where all remaining states are skipped.
8090 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8092 * java/awt/ImageMediaEntry: Removed.
8093 * java/awt/MediaEntry: Removed.
8095 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8097 Hashtable synchronization for PowerPC.
8098 * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
8099 slow_pthread_self. Set up symlink for sysdeps directory.
8100 * configure: Rebuild.
8101 * configure.host: Document more shell variables. Set sysdeps_dir
8102 for most platforms. Set slow_pthread_self for i686. Set
8103 enable_hash_synchronization_default and slow_pthread_self for PowerPC.
8104 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
8105 that memory barrier is emitted where required.
8106 * prims.cc: 64-bit align static primitive class instances.
8107 * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
8108 read_barrier() to enforce ordering of reads.
8109 * sysdep/powerpc/locks.h: New file. Implementation of synchronization
8110 primitives for PowerPC.
8111 * sysdep/i386/locks.h: New file. Synchronization primitives for i386
8112 moved from natObject.cc.
8113 * sysdep/alpha/locks.h: Likewise.
8114 * sysdep/ia64/locks.h: Likewise.
8115 * sysdep/generic/locks.h: Likewise.
8116 * java/lang/natObject.cc: Move thread synchronization primitives to
8117 system-dependent headers.
8119 2002-03-09 Adam Megacz <adam@xwt.org>
8121 * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
8122 bytes read and no failure code returned.
8124 2002-03-09 Adam Megacz <adam@xwt.org>
8126 * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
8127 definitions to simulate -mthreads.
8129 2002-03-09 Adam Megacz <adam@xwt.org>
8131 * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
8132 avoid precision loss.
8134 2002-03-09 Per Bothner <per@bothner.com>
8136 * gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.
8137 * gnu/gcj/xlib/XImage.java: Likewise.
8138 * gnu/gcj/xlib/XColor.java: Likewise.
8140 2002-03-09 Adam Megacz <adam@xwt.org>
8142 * java/lang/Win32Process.java (ConcreteProcess): Now throws an
8143 IOException so that Throwable.printStackTrace fails correctly.
8145 2002-03-08 Adam Megacz <adam@xwt.org>
8147 * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
8150 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8152 * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
8155 2002-03-08 Tom Tromey <tromey@redhat.com>
8157 * include/jni.h: Include stdio.h.
8159 2002-03-08 Tom Tromey <tromey@redhat.com>
8161 * posix.cc (internal_gettimeofday): New function.
8162 (_Jv_select): Use it.
8164 2002-03-07 Adam Megacz <adam@xwt.org>
8166 * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
8167 WIN32, and added thunks for read(), write(), and close().
8168 * java/net/natPlainSocketImpl.cc (accept, read, read):
8169 Disabled timeouts on WIN32 pending discussion.
8171 2002-03-07 Adam Megacz <adam@xwt.org>
8173 * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
8174 returns jlong. Added implementation
8175 * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
8177 * win32.h (_Jv_platform_gettimeofday): Now takes no args,
8179 * posix.h (_Jv_platform_gettimeofday): Now takes no args,
8181 * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
8182 _Jv_platform_gettimeofday signature.
8184 2002-03-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8186 * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
8187 (read): Call recv() directly, not _Jv_recv().
8189 2002-03-06 Tom Tromey <tromey@redhat.com>
8191 * java/io/natFileDescriptorEcos.cc (init): Don't use
8193 * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
8195 (init): Don't use GetStdHandle.
8197 * include/config.h.in: Rebuilt.
8198 * configure: Rebuilt.
8199 * Makefile.in: Rebuilt.
8201 2002-03-06 Adam Megacz <adam@xwt.org>
8203 * java/io/FileDescriptor.java: Initialize in/out/err in init().
8204 * java/io/natFileDescriptorWin32.cc (init()): Added function.
8205 * java/io/natFileDescriptorPosix.cc (init()): Added function.
8206 * java/io/natFileDescriptorEcos.cc (init()): Added function.
8208 2002-03-06 Eric Blake <ebb9@email.byu.edu>
8210 * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
8211 the code for generating include/java-chartables.h.
8212 * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
8213 merge with Classpath.
8214 * scripts/unicode-muncher.pl: Copy from Classpath.
8215 * scritps/MakeCharTables.java: New file.
8216 * gnu/gcj/convert/Blocks-3.txt: New file.
8217 * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
8218 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
8219 * gnu/java/lang/CharData.java: Copy from Classpath.
8220 * Makefile.am (ordinary_java_source_files): Add
8221 gnu/java/lang/CharData.java.
8222 * configure.in: Remove --enable-fast-character option.
8223 * java/lang/Character.java: Merge algorithms and Javadoc with
8225 * java/lang/natCharacter.cc: Implement Unicode lookup table more
8227 * include/java-chardecomp.h: Regenerate.
8228 * include/java-chartables.h: Regenerate.
8230 2002-03-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8232 * java/awt/MediaTracker.java: Implemented.
8233 * Makefile.am: Add MediaTracker.
8234 * Makefile.in: Rebuilt.
8236 2002-03-05 Tom Tromey <tromey@redhat.com>
8238 * java/lang/natPosixProcess.cc (fail): Removed.
8239 (startProcess): Simplified error-handling. Preserve
8240 LD_LIBRARY_PATH across exec.
8242 * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
8243 AbstractMethodError.
8245 2002-03-03 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8247 * Makefile.am: Use -bootclasspath, not -CLASSPATH.
8248 * Makefile.in: Rebuilt.
8250 2002-03-03 Mark Wielaard <mark@klomp.org>
8252 * java/util/Timer (TaskQueue.stop): set elements to zero.
8254 2002-02-28 Anthony Green <green@redhat.com>
8256 * java/lang/reflect/natMethod.cc (result): Add void* element.
8257 (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments. Move
8260 2002-02-27 Adam Megacz <adam@xwt.org>
8262 * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
8265 2002-02-26 Tom Tromey <tromey@redhat.com>
8267 * java/lang/natSystem.cc (init_properties): Use __VERSION__.
8268 * gij.cc (version): Use __VERSION__.
8269 * include/config.h.in: Rebuilt.
8270 * acconfig.h (GCJVERSION): Removed.
8271 * configure: Rebuilt.
8272 * configure.in (GCJVERSION): Removed.
8274 2002-02-26 Andreas Schwab <schwab@suse.de>
8276 * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
8277 glibcpp_CXX, since libjava uses even another CXX.
8278 * aclocal.m4, configure: Regenerated.
8280 2002-02-26 Tom Tromey <tromey@redhat.com>
8282 * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
8285 2002-02-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8287 * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
8288 dependency tracking for .java files.
8289 * Makefile.in: Rebuilt.
8291 2002-02-24 Adam Megacz <adam@xwt.org>
8293 * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
8296 2002-02-24 Adam Megacz <adam@xwt.org>
8298 * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
8299 for Win32, changed #ifdefs to check WIN32 instead of the
8300 (now-obsolete) USE_WINSOCK, and removed support for socket
8301 timeouts on Win32 pending further discussion.
8303 2002-02-24 Adam Megacz <adam@xwt.org>
8305 * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
8306 * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
8309 2002-02-24 Adam Megacz <adam@xwt.org>
8311 * java/lang/Win32Process.java: Created a dummy class to allow
8312 build process to run to completion.
8314 2002-02-24 Jeff Sturm <jsturm@one-point.com>
8316 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
8317 Define ffi_result union for ffi_call result. Cast
8318 ffi_result members to jvalue.
8320 2002-02-23 Alexandre Oliva <aoliva@redhat.com>
8322 * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
8323 * testsuite/Makefile.in: Likewise.
8325 2002-02-20 Per Bothner <per@bothner.com>
8327 * java/net/URL.java (getPath): New JDK 1.3 method.
8329 * java/net/URLStreamHandler.java (parseURL):
8330 It is wrong to prepend '/' to the file part of a relative url.
8332 * java/net/URLStreamHandler.java (parseURL):
8333 Minor optizations - append '/' rather than "/".
8335 * java/net/URLStreamHandler.java (parseURL):
8336 Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
8337 We probably should canonicalize for a context-relative url, though.
8338 * java/net/URL.java (sameFile): Delegate to URLStreamHandler.
8339 * java/net/URLStreamHandler.java (canonicalizeFilename): New helper.
8340 (sameFile): New method. Uses canonicalizeFilename.
8342 2002-02-22 Tom Tromey <tromey@redhat.com>
8344 * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
8345 java.vendor and java.vm.vendor.
8346 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
8347 recent copyright date.
8348 * gnu/gcj/convert/Convert.java (version): Print `Inc'.
8349 * gij.cc (version): Print `Inc'.
8351 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
8353 * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
8354 * aclocal.m4, configure: Rebuilt.
8356 2002-02-20 Per Bothner <per@bothner.com>
8358 * gnu/gcj/protocol/file/Connection.java (conect): Open the input
8359 and/or output streams immediately here, instead of using File.exists.
8360 (inputStream, outputStream): New fields to save open streams.
8361 (getInputStream, getOutputStream): Use already-opened streams.
8363 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
8365 * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
8367 * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
8368 * aclocal.m4, configure, Makefile.in: Rebuilt.
8370 2002-02-19 Tom Tromey <tromey@redhat.com>
8372 Fix for PR libgcj/5696:
8373 * verify.cc (is_assignable_from_slow): Never call
8374 _Jv_IsAssignableFrom.
8375 (verify_instructions_0): Added new debug statement.
8376 (state::print): Print information about whether local has
8378 (state::merge): Don't call note_variable when merging locals.
8379 (state::set_exception): Removed old FIXME comment.
8381 2002-02-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8383 * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
8384 enable SO_BROADCAST.
8386 2002-02-18 Jason Merrill <jason@redhat.com>
8388 * name-finder.cc (toHex): Use word mode, not long long.
8390 * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
8392 2002-02-15 Tom Tromey <tromey@redhat.com>
8394 Fix for PR libgcj/5695:
8395 * verify.cc (is_assignable_from_slow): Check to see if target is
8396 an Object before checking to see if source is an interface.
8397 (verify_instructions_0) [op_invokeinterface]: Handle case where
8398 we're making an interface call on Object.
8400 2002-02-15 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8402 * Makefile.in: Rebuilt with Eric's change below.
8404 * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
8405 round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
8406 Removed functions which are now implemented in Math.java.
8408 2002-02-14 Eric Blake <ebb9@email.byu.edu>
8410 * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
8411 * Makefile.am (core_java_source_files): Add
8412 java/lang/StrictMath.java.
8413 * java/lang/Math.java: Merge with Classpath.
8414 * java/lang/StrictMath.java: New file - merge with Classpath.
8416 2002-02-14 Mark Wielaard <mark@klomp.org>
8418 * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
8419 package as a workaround for gcj 3.0.x
8421 2002-02-14 Mark Wielaard <mark@klomp.org>
8423 * java/security/BasicPermission.java: extends with fully qualified
8424 classname as workaround for gcj 3.0.4.
8426 2002-02-14 Eric Blake <ebb9@email.byu.edu>
8428 * java/net/DatagramSocketImpl.java (setOption, getOption): Work
8429 around gcj bug of wrong emitted qualifier for inherited method.
8430 * java/net/SocketImpl.java (setOption, getOption): Ditto.
8431 * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
8432 constructor to reduce amount of emitted bytecode. While this
8433 happens to work around a jikes 1.15 bug, it is still a useful
8434 patch even for correct compilers.
8435 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
8436 * gnu/java/rmi/server/UnicastRemoteCall.java
8437 (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
8439 2002-02-14 Eric Blake <ebb9@email.byu.edu>
8441 * java/net/DatagramSocketImpl.java: Reformat (no code changes).
8442 * java/net/SocketImpl.java: Ditto.
8443 * java/rmi/server/RMIClassLoader.java: Ditto.
8444 * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
8446 2002-02-14 Mark Wielaard <mark@klomp.org>
8448 Thanks to Takashi Okamoto
8449 * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
8450 * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
8451 * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
8453 2002-02-13 Todd Stock <toddastock@yahoo.com>
8455 Fix for PR libgcj/5670:
8456 * verify.cc (is_assignable_from_slow): If `source' is interface,
8457 recursively look for merge with `target'.
8459 2002-02-14 Martin Kahlert <martin.kahlert@infineon.com>
8461 * include/jni.h: Fix typo.
8463 2002-02-13 Martin Kahlert <martin.kahlert@infineon.com>
8465 * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
8468 2002-02-13 Todd Stock <toddastock@yahoo.com>
8470 Fix for PR libgcj/5671:
8471 * verify.cc (state::merge): Handle case where we're merging
8472 against an interface.
8474 2002-02-12 Tom Tromey <tromey@redhat.com>
8476 * exception.cc (std::abort): Mark as noreturn.
8478 2002-02-12 Adam Megacz <adam@xwt.org>
8480 * java/lang/Win32Process.java: Filled in a placeholder
8481 implementation so Win32 will build.
8483 2002-02-12 Adam Megacz <adam@xwt.org>
8485 * java/io/natFilePosix.cc: Copied this from natFile.cc.
8486 * java/io/natFile.cc: Removed from repository.
8487 * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
8489 2002-02-12 Adam Megacz <adam@xwt.org>
8491 * win32.cc: Added two #includes to make win32.cc compile.
8493 2002-02-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8495 * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
8497 (_Jv_InitGC): Don't bother locking, as this is always called from a
8498 single-thread. Turn off GC_all_interior_pointers. Remove dead code.
8500 2002-02-11 Adam Megacz <adam@xwt.org>
8502 * include/win32.h: Added _Jv_platform_gettimeofday.
8503 * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
8505 2002-02-11 Adam Megacz <adam@xwt.org>
8507 * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
8508 Added #undef STRICT to make windows.h and
8509 java/lang/reflect/Modifier.h cooperate.
8511 2002-02-11 Adam Megacz <adam@xwt.org>
8513 * java/io/natFileWin32.cc: Created a placeholder class with lots
8516 2002-02-11 Adam Megacz <adam@xwt.org>
8518 * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
8519 std::abort() to simply abort(). Also added "fake" std::abort() so
8520 we can #include unwind-pe.h without having to link against
8523 2002-02-10 Andreas Tobler <toa@pop.agri.ch>
8525 * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
8527 2002-02-08 Tom Tromey <tromey@redhat.com>
8529 * interpret.cc (convert): New function.
8530 (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
8534 2002-02-08 Anthony Green <green@redhat.com>
8536 * configure.host: Add support for xscale-elf embedded target.
8538 2002-02-08 Martin Kahlert <martin.kahlert@infineon.com>
8540 * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
8542 (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
8545 2002-02-07 Tom Tromey <tromey@redhat.com>
8547 * java/io/natFile.cc (_access): Use __builtin_alloca.
8550 (getCanonicalPath): Likewise.
8551 (performList): Likewise.
8552 (performMkdir): Likewise.
8553 (performSetReadOnly): Likewise.
8554 (performRenameTo): Likewise.
8555 (performSetLastModified): Likewise.
8556 (performCreate): Likewise.
8557 (performDelete): Likewise.
8559 2002-02-08 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8561 * HACKING: Fix URL for the automake-gcj.
8563 2002-02-07 Tom Tromey <tromey@redhat.com>
8565 * java/lang/natThrowable.cc: Updated copyright.
8566 * java/io/natFileWin32.cc: Updated copyright.
8567 * java/io/natFileDescriptorWin32.cc: Updated copyright.
8568 * win32-threads.cc: Updated copyright.
8569 * name-finder.cc: Updated copyright.
8570 * include/name-finder.h: Updated copyright.
8572 * include/name-finder.h: Conditionally include sys/wait.h.
8573 * include/config.h.in: Rebuilt.
8575 * java/io/natFile.cc (_access): Don't stack-allocate buffer.
8576 Size buffer based on real size of string.
8579 (getCanonicalPath): Likewise.
8580 (performList): Likewise.
8581 (performMkdir): Likewise.
8582 (performSetReadOnly): Likewise.
8583 (unixroot): Removed.
8584 (performRenameTo): Likewise.
8585 (performSetLastModified): Likewise.
8586 (performCreate): Likewise.
8587 (performDelete): Likewise.
8588 (performListRoots): Always return new array.
8590 * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
8591 * win32.cc (win32_exception_handler): Now static.
8592 * include/win32.h (_Jv_platform_initialize): Declare.
8593 (win32_exception_handler): Don't declare.
8594 * java/lang/natSystem.cc (currentTimeMillis): Use
8595 _Jv_platform_gettimeofday.
8596 * posix.cc (_Jv_platform_gettimeofday): Renamed.
8597 (_Jv_select): Use new name.
8598 (_Jv_platform_initialize): New function.
8599 * include/posix.h (_Jv_platform_gettimeofday): Renamed from
8601 (_Jv_platform_initialize): Declare.
8603 * configure: Rebuilt.
8604 * configure.in: Removed unnecessary parens.
8606 2002-02-06 Adam Megacz <adam@xwt.org>
8608 * configure.in: Changed mingw) to *mingw*).
8609 * win32.cc: Created this file.
8610 * win32.h: Created this file.
8611 * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
8612 win32_exception_handler from prims.cc to win32.cc, added
8614 * prims.cc: removed some #ifdef-WIN32'd headers which are no
8615 longer needed now that we have platform.h
8617 2002-02-06 Adam Megacz <adam@xwt.org>
8619 * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
8620 use uint<n>_t instead of LONG and BYTE
8622 2002-02-06 Adam Megacz <adam@xwt.org>
8624 * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
8626 2002-02-06 Anthony Green <green@redhat.com>
8628 * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
8629 Implement missing method stubs.
8630 java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
8632 * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
8633 concept of timezones.
8634 (init_properties): Don't refer to _Jv_Environment_Properties
8635 when this feature is not available.
8636 * include/config.h.in: Rebuilt.
8637 * acconfig.h: Add DISABLE_MAIN_ARGS.
8638 * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
8639 * configure: Rebuilt.
8640 * configure.in: Add --disable-main-args option. Test for
8641 opendir function. Replace AC_CHECK_SIZEOF with
8642 AC_COMPILE_CHECK_SIZEOF.
8643 * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
8644 * aclocal.m4: Rebuilt.
8645 * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
8647 2002-02-06 Tom Tromey <tromey@redhat.com>
8649 * verify.cc (require_array_type): If argument is a null array of
8650 references, return null as the element type.
8652 2002-02-06 Mark Wielaard <mark@klomp.org>
8654 * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
8655 duplicate of a wide type.
8657 2002-02-06 Tom Tromey <tromey@redhat.com>
8659 * verify.cc (type::isnull): New method.
8660 (require_array_type): Handle case where array is null.
8661 (verify_instructions_0) [op_arraylength]: Likewise.
8663 2002-02-05 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8665 * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
8666 Symlink PLATFORMH to platform.h.
8667 * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
8669 * java/lang/natSystem.cc: #include platform.h not posix.h.
8670 * Makefile.in: Rebuilt with libgcj automake.
8671 * configure: Rebuilt.
8673 2002-02-05 Richard Henderson <rth@redhat.com>
8675 * Makefile.in: Undo munging last change.
8677 2002-02-04 Adam Megacz <adam@xwt.org>
8679 * win32.cc: Created it.
8680 * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
8681 which is set to posix.cc or win32.cc.
8682 * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
8684 2002-02-04 Adam Megacz <adam@xwt.org>
8686 * configure.in: Corrected mingw case branches; added * before
8689 2002-02-04 Adam Megacz <adam@xwt.org>
8691 * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
8692 if compiling for win32
8694 2002-02-04 Adam Megacz <adam@xwt.org>
8696 * win32-threads.cc: #undef STRICT after gc.h inclusion
8698 2002-02-02 Tom Tromey <tromey@redhat.com>
8700 * Makefile.in: Rebuilt.
8702 2002-02-02 Jason Merrill <jason@redhat.com>
8704 * Makefile.am (clean-nat): New target.
8706 2002-02-02 Tom Tromey <tromey@redhat.com>
8708 * java/io/natFile.cc: Removed old "FIXME" comments.
8710 2002-02-01 Tom Tromey <tromey@redhat.com>
8712 * java/lang/natPosixProcess.cc (myclose): New function.
8714 (startProcess): Likewise.
8716 2002-02-01 Adam Megacz <adam@xwt.org>
8718 * prims.cc: Added #undef STRICT after #include<windows.h>.
8720 2002-02-01 Adam Megacz <adam@xwt.org>
8723 (_Jv_CreateJavaVM): We now use WIN32 instead of
8724 USE_WIN32_SIGNALLING and USE_WINSOCK.
8725 (win32_exception_handler): Now throws an exception out of
8726 the signal handler; assumes SJLJ.
8728 2002-02-01 Adam Megacz <adam@xwt.org>
8731 (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
8732 wait() algorithm to make it safe.
8733 (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
8734 Added lazy creation of Win32 Events for better performance
8735 (really_start): This now uses GC_CreateThread so boehm-gc
8736 knows about new threads even when statically linked.
8738 2002-02-01 Adam Megacz <adam@xwt.org>
8740 * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
8741 enable safer wait() algorithm.
8742 (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
8743 _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
8744 (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
8745 _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
8747 (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
8749 2002-02-01 Adam Megacz <adam@xwt.org>
8751 * configure.in: Added support for mingw.
8752 * java/lang/Win32Process.java: Created as empty file.
8753 * java/lang/natWin32Process.cc: Created as empty file.
8755 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
8758 * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
8759 for libiconv in LIBICONV variable.
8760 * configure: Regenerated.
8762 2002-01-31 Tom Tromey <tromey@redhat.com>
8764 * verify.cc (state::enter_subroutine): New method.
8765 (handle_jsr_insn): Use it.
8766 (state::merge): When processing a `ret', correctly use
8767 subroutine's state to determine which local variables have
8769 (push_exception_jump): Don't let stack overflow.
8771 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
8773 * gnu/gcj/convert/Convert.java: Only include one copyright year in
8776 2002-01-30 Tom Tromey <tromey@redhat.com>
8778 * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
8779 parameter for `recv' return type.
8781 * verify.cc (handle_ret_insn): Check for subroutine merge here...
8782 (state::merge): ... not here.
8783 (subr_entry_info): New structure.
8784 (entry_points): New field.
8785 (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs. Free
8788 2002-01-29 Tom Tromey <tromey@redhat.com>
8790 * java/awt/List.java (addNotify): Correctly check to see if peer
8793 * java/awt/GridLayout.java (layoutContainer): Use number of rows
8794 to compute height of each cell, and number of columns to compute
8796 * java/awt/Window.java (getOwnedWindows): Don't return null.
8797 * java/awt/FlowLayout.java (layoutContainer): Set width and height
8798 of component. Increment x using horizontal gap, not vertical
8801 2002-01-28 Tom Tromey <tromey@redhat.com>
8803 * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
8804 `nargs' byte is number of words, not number of arguments.
8806 2002-01-27 Tom Tromey <tromey@redhat.com>
8808 * java/awt/event/MouseEvent.java (modifiers): Removed field.
8810 * java/awt/event/InputEvent.java (modifiers, when): Now
8813 * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
8815 (state::merge): Use current class' class loader.
8816 (state::print): Print subroutine.
8817 (state::merge): Don't look at subroutine of unmerged `ret'.
8819 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
8821 * nogc.cc: Remove warnings.
8822 (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
8825 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8827 * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
8828 int, int): Remove empty "if" statement to work around compiler bug.
8829 (newPixels(int[], ColorModel, int, int): Likewise.
8831 2002-01-25 Per Bothner <per@bothner.com>
8833 * verify.cc (verify_fail): Change from being a top-level function
8834 to e method of _Jv_BytecodeVerifier. Emit current method name.
8835 Pass the current verifier to type: and state: methods as needed,
8836 for better error messages, and for resolve.
8837 (resolve): Pass current class's loader for Class.forName and
8838 _Jv_FindClassFromSignature, rather than using the default loader.
8839 (various type: and state: methods): Take _Jv_BytecodeVerifier* arg.
8840 (get_type_val_for_signature): Make non-static.
8841 (various methods): Pass start_PC implicitly, not explicitly.
8843 2002-01-25 Tom Tromey <tromey@redhat.com>
8845 * java/awt/FlowLayout.java (layoutContainer): Correctly compute
8846 loop termination condition.
8847 * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
8850 2002-01-24 Tom Tromey <tromey@redhat.com>
8852 * java/awt/Shape.java: Merged with Classpath.
8853 * java/awt/Scrollbar.java: Merged with Classpath.
8855 * java/awt/Container.java (addNotify): Unconditionally call
8856 addNotifyContainerChildren and superclass addNotify.
8858 * java/awt/image/ColorModel.java (getAlpha(Object)): Call
8859 getAlpha, not getBlue.
8861 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8863 * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
8865 * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
8866 (grabPixels(long)): Wait to be notified that the ImageProducer has
8869 2002-01-24 Per Bothner <per@bothner.com>
8871 * verify.cc (is_assignable_from_slow): If target is an interface,
8872 we must still check the source's superclass before giving up.
8874 2002-01-24 Tom Tromey <tromey@redhat.com>
8876 * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
8878 2002-01-23 Tom Tromey <tromey@redhat.com>
8880 * java/awt/BorderLayout.java (addLayoutComponent): Added missing
8883 * Makefile.in: Rebuilt.
8884 * Makefile.am (awt_java_source_files): Added new files.
8885 * java/awt/Toolkit.java: Merged with Classpath.
8886 * java/awt/PrintGraphics.java: New file from Classpath.
8887 * java/awt/PrintJob.java: New file from Classpath.
8888 * java/awt/datatransfer/Clipboard.java: New file from Classpath.
8889 * java/awt/datatransfer/ClipboardOwner.java: New file from
8891 * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
8892 * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
8893 * java/awt/datatransfer/MimeTypeParseException.java: New file from
8895 * java/awt/datatransfer/StringSelection.java: New file from
8897 * java/awt/datatransfer/SystemFlavorMap.java: New file from
8899 * java/awt/datatransfer/Transferable.java: New file from
8901 * java/awt/datatransfer/UnsupportedFlavorException.java: New file
8904 * Makefile.in: Rebuilt.
8905 * Makefile.am (awt_java_source_files): Added new files.
8906 * java/awt/image/AreaAveragingScaleFilter.java: New file from
8908 * java/awt/image/CropImageFilter.java: New file from Classpath.
8909 * java/awt/image/FilteredImageSource.java: New file from
8911 * java/awt/image/ImageFilter.java: New file from Classpath.
8912 * java/awt/image/MemoryImageSource.java: New file from Classpath.
8913 * java/awt/image/PixelGrabber.java: New file from Classpath.
8914 * java/awt/image/RGBImageFilter.java: New file from Classpath.
8915 * java/awt/image/ReplicateScaleFilter.java: New file from
8917 * java/awt/image/ImageProducer.java: Replaced with Classpath
8919 * java/awt/image/ImageObserver.java: Replaced with Classpath
8921 * java/awt/image/ImageConsumer.java: Replaced with Classpath
8923 * java/awt/GridBagConstraints.java (clone): Catch
8924 CloneNotSupportedException.
8926 2002-01-23 Per Bothner <per@bothner.com>
8928 * java/lang/reflect/natField.cc (setAddr): New function.
8929 Calls getAddr and then checks that the field isn't final.
8930 (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
8931 setDouble, set): Use setAddr instead of getAddr, to check for FINAL.
8932 (set): Call setAddr before check that new value has right type,
8933 to better match specified semantics.
8935 2002-01-22 Tom Tromey <tromey@redhat.com>
8937 * java/awt/TextField.java: Replaced with Classpath version.
8938 * java/awt/TextArea.java: Replaced with Classpath version.
8939 * java/awt/TextComponent.java: Replaced with Classpath version.
8941 * java/awt/GridBagConstraints.java: Updated copyright.
8943 2002-01-22 Mark Wielaard <mark@klomp.org>
8945 * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
8946 java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
8947 java/awt/Dialog.java java/awt/FileDialog.java
8948 java/awt/Font.java java/awt/FontMetrics.java
8949 java/awt/Image.java java/awt/ImageMediaEntry.java
8950 java/awt/Insets.java java/awt/List.java
8951 java/awt/MediaEntry.java java/awt/MediaTracker.java
8952 java/awt/Menu.java java/awt/MenuBar.java
8953 java/awt/MenuContainer.java java/awt/MenuShortcut.java
8954 java/awt/PaintContext.java java/awt/Panel.java
8955 java/awt/PopupMenu.java java/awt/SystemColor.java
8956 java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
8957 java/awt/peer/CheckboxMenuItemPeer.java
8958 java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
8959 java/awt/peer/ComponentPeer.java
8960 java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
8961 java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
8962 java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
8963 java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
8964 java/awt/peer/MenuBarPeer.java
8965 java/awt/peer/MenuComponentPeer.java
8966 java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
8967 java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
8968 java/awt/peer/ScrollPanePeer.java
8969 java/awt/peer/ScrollbarPeer.java
8970 java/awt/peer/TextAreaPeer.java
8971 java/awt/peer/TextComponentPeer.java
8972 java/awt/peer/TextFieldPeer.java
8973 java/awt/peer/WindowPeer.java: Add license clarification.
8975 2002-01-22 Mark Wielaard <mark@klomp.org>
8977 * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
8978 gnu/gcj/runtime/StringBuffer.java
8979 gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
8980 gnu/java/awt/ComponentDataBlitOp.java
8981 gnu/java/awt/GLightweightPeer.java
8982 gnu/java/beans/BeanInfoEmbryo.java
8983 gnu/java/beans/EmptyBeanInfo.java
8984 gnu/java/beans/ExplicitBeanInfo.java
8985 gnu/java/beans/IntrospectionIncubator.java
8986 gnu/java/beans/editors/ColorEditor.java
8987 gnu/java/beans/editors/FontEditor.java
8988 gnu/java/beans/editors/NativeBooleanEditor.java
8989 gnu/java/beans/editors/NativeByteEditor.java
8990 gnu/java/beans/editors/NativeDoubleEditor.java
8991 gnu/java/beans/editors/NativeFloatEditor.java
8992 gnu/java/beans/editors/NativeIntEditor.java
8993 gnu/java/beans/editors/NativeLongEditor.java
8994 gnu/java/beans/editors/NativeShortEditor.java
8995 gnu/java/beans/editors/StringEditor.java
8996 gnu/java/beans/info/ComponentBeanInfo.java
8997 gnu/java/io/ClassLoaderObjectInputStream.java
8998 gnu/java/io/NullOutputStream.java
8999 gnu/java/io/ObjectIdentityWrapper.java
9000 gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
9001 gnu/java/lang/reflect/TypeSignature.java
9002 gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
9003 gnu/java/locale/Calendar_en.java
9004 gnu/java/locale/Calendar_nl.java
9005 gnu/java/locale/LocaleInformation.java
9006 gnu/java/locale/LocaleInformation_de.java
9007 gnu/java/locale/LocaleInformation_en.java
9008 gnu/java/locale/LocaleInformation_nl.java
9009 gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
9010 gnu/java/rmi/registry/RegistryImpl.java
9011 gnu/java/rmi/rmic/Compile_gcj.java
9012 gnu/java/rmi/rmic/Compiler.java
9013 gnu/java/rmi/rmic/CompilerProcess.java
9014 gnu/java/rmi/rmic/RMIC.java
9015 gnu/java/rmi/rmic/TabbedWriter.java
9016 gnu/java/rmi/server/ProtocolConstants.java
9017 gnu/java/rmi/server/RMIDefaultSocketFactory.java
9018 gnu/java/rmi/server/RMIHashes.java
9019 gnu/java/rmi/server/RMIObjectInputStream.java
9020 gnu/java/rmi/server/RMIObjectOutputStream.java
9021 gnu/java/rmi/server/UnicastConnection.java
9022 gnu/java/rmi/server/UnicastConnectionManager.java
9023 gnu/java/rmi/server/UnicastRef.java
9024 gnu/java/rmi/server/UnicastRemoteCall.java
9025 gnu/java/rmi/server/UnicastRemoteStub.java
9026 gnu/java/rmi/server/UnicastServer.java
9027 gnu/java/rmi/server/UnicastServerRef.java
9028 gnu/java/security/provider/DefaultPolicy.java
9029 gnu/java/security/provider/Gnu.java
9030 gnu/java/security/provider/SHA.java
9031 gnu/java/security/provider/SHA1PRNG.java
9032 gnu/java/text/BaseBreakIterator.java
9033 gnu/java/text/CharacterBreakIterator.java
9034 gnu/java/text/LineBreakIterator.java
9035 gnu/java/text/SentenceBreakIterator.java
9036 gnu/java/text/WordBreakIterator.java
9037 gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
9038 java/applet/AppletContext.java java/applet/AppletStub.java
9039 java/applet/AudioClip.java java/awt/AWTError.java
9040 java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
9041 java/awt/AWTException.java java/awt/AWTPermission.java
9042 java/awt/ActiveEvent.java java/awt/BorderLayout.java
9043 java/awt/Button.java java/awt/Canvas.java
9044 java/awt/CardLayout.java java/awt/Checkbox.java
9045 java/awt/CheckboxGroup.java java/awt/Component.java
9046 java/awt/ComponentOrientation.java java/awt/Container.java
9047 java/awt/Dimension.java java/awt/Event.java
9048 java/awt/EventDispatchThread.java java/awt/EventQueue.java
9049 java/awt/FlowLayout.java java/awt/Frame.java
9050 java/awt/Graphics.java java/awt/Graphics2D.java
9051 java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
9052 java/awt/IllegalComponentStateException.java
9053 java/awt/ItemSelectable.java java/awt/Label.java
9054 java/awt/LayoutManager.java java/awt/LayoutManager2.java
9055 java/awt/MenuComponent.java java/awt/MenuItem.java
9056 java/awt/Paint.java java/awt/Point.java
9057 java/awt/Rectangle.java java/awt/RenderingHints.java
9058 java/awt/Transparency.java java/awt/Window.java
9059 java/awt/color/ColorSpace.java
9060 java/awt/color/ICC_ColorSpace.java
9061 java/awt/color/ICC_Profile.java
9062 java/awt/event/HierarchyBoundsAdapter.java
9063 java/awt/event/HierarchyBoundsListener.java
9064 java/awt/event/HierarchyEvent.java
9065 java/awt/event/HierarchyListener.java
9066 java/awt/geom/AffineTransform.java
9067 java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
9068 java/awt/geom/IllegalPathStateException.java
9069 java/awt/geom/Line2D.java
9070 java/awt/geom/NoninvertibleTransformException.java
9071 java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
9072 java/awt/geom/Rectangle2D.java
9073 java/awt/geom/RectangularShape.java
9074 java/awt/geom/RoundRectangle2D.java
9075 java/awt/image/BufferedImage.java
9076 java/awt/image/ColorModel.java
9077 java/awt/image/ComponentColorModel.java
9078 java/awt/image/ComponentSampleModel.java
9079 java/awt/image/DataBuffer.java
9080 java/awt/image/DataBufferByte.java
9081 java/awt/image/DataBufferInt.java
9082 java/awt/image/DataBufferUShort.java
9083 java/awt/image/DirectColorModel.java
9084 java/awt/image/PackedColorModel.java
9085 java/awt/image/Raster.java java/awt/image/RasterOp.java
9086 java/awt/image/SampleModel.java
9087 java/awt/image/SinglePixelPackedSampleModel.java
9088 java/awt/image/WritableRaster.java
9089 java/beans/AppletInitializer.java
9090 java/beans/BeanDescriptor.java java/beans/BeanInfo.java
9091 java/beans/Beans.java java/beans/Customizer.java
9092 java/beans/DesignMode.java java/beans/EventSetDescriptor.java
9093 java/beans/FeatureDescriptor.java
9094 java/beans/IndexedPropertyDescriptor.java
9095 java/beans/IntrospectionException.java
9096 java/beans/Introspector.java java/beans/MethodDescriptor.java
9097 java/beans/ParameterDescriptor.java
9098 java/beans/PropertyChangeEvent.java
9099 java/beans/PropertyChangeListener.java
9100 java/beans/PropertyChangeSupport.java
9101 java/beans/PropertyDescriptor.java
9102 java/beans/PropertyEditor.java
9103 java/beans/PropertyEditorManager.java
9104 java/beans/PropertyEditorSupport.java
9105 java/beans/PropertyVetoException.java
9106 java/beans/SimpleBeanInfo.java
9107 java/beans/VetoableChangeListener.java
9108 java/beans/VetoableChangeSupport.java
9109 java/beans/Visibility.java
9110 java/beans/beancontext/BeanContext.java
9111 java/beans/beancontext/BeanContextChild.java
9112 java/beans/beancontext/BeanContextChildComponentProxy.java
9113 java/beans/beancontext/BeanContextChildSupport.java
9114 java/beans/beancontext/BeanContextContainerProxy.java
9115 java/beans/beancontext/BeanContextEvent.java
9116 java/beans/beancontext/BeanContextMembershipEvent.java
9117 java/beans/beancontext/BeanContextMembershipListener.java
9118 java/beans/beancontext/BeanContextProxy.java
9119 java/beans/beancontext/BeanContextServiceAvailableEvent.java
9120 java/beans/beancontext/BeanContextServiceProvider.java
9121 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
9122 java/beans/beancontext/BeanContextServiceRevokedEvent.java
9123 java/beans/beancontext/BeanContextServiceRevokedListener.java
9124 java/beans/beancontext/BeanContextServices.java
9125 java/beans/beancontext/BeanContextServicesListener.java
9126 java/io/BufferedInputStream.java
9127 java/io/BufferedOutputStream.java java/io/BufferedReader.java
9128 java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
9129 java/io/ByteArrayOutputStream.java
9130 java/io/CharArrayReader.java java/io/CharArrayWriter.java
9131 java/io/CharConversionException.java java/io/DataInput.java
9132 java/io/DataInputStream.java java/io/DataOutput.java
9133 java/io/EOFException.java java/io/Externalizable.java
9134 java/io/FileFilter.java java/io/FileNotFoundException.java
9135 java/io/FilePermission.java java/io/FileReader.java
9136 java/io/FileWriter.java java/io/FilenameFilter.java
9137 java/io/FilterInputStream.java java/io/FilterOutputStream.java
9138 java/io/FilterReader.java java/io/FilterWriter.java
9139 java/io/IOException.java java/io/InputStream.java
9140 java/io/InterruptedIOException.java
9141 java/io/InvalidClassException.java
9142 java/io/InvalidObjectException.java
9143 java/io/NotActiveException.java
9144 java/io/NotSerializableException.java java/io/ObjectInput.java
9145 java/io/ObjectInputStream.java
9146 java/io/ObjectInputValidation.java java/io/ObjectOutput.java
9147 java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
9148 java/io/ObjectStreamConstants.java
9149 java/io/ObjectStreamException.java
9150 java/io/ObjectStreamField.java
9151 java/io/OptionalDataException.java java/io/OutputStream.java
9152 java/io/PipedInputStream.java java/io/PipedOutputStream.java
9153 java/io/PipedReader.java java/io/PipedWriter.java
9154 java/io/PrintWriter.java java/io/PushbackInputStream.java
9155 java/io/PushbackReader.java java/io/Reader.java
9156 java/io/SequenceInputStream.java java/io/Serializable.java
9157 java/io/SerializablePermission.java
9158 java/io/StreamCorruptedException.java
9159 java/io/StreamTokenizer.java
9160 java/io/StringBufferInputStream.java java/io/StringReader.java
9161 java/io/StringWriter.java java/io/SyncFailedException.java
9162 java/io/UTFDataFormatException.java
9163 java/io/UnsupportedEncodingException.java
9164 java/io/WriteAbortedException.java java/io/Writer.java
9165 java/lang/AbstractMethodError.java
9166 java/lang/ArithmeticException.java
9167 java/lang/ArrayIndexOutOfBoundsException.java
9168 java/lang/ArrayStoreException.java java/lang/Boolean.java
9169 java/lang/Byte.java java/lang/CharSequence.java
9170 java/lang/ClassCastException.java
9171 java/lang/ClassCircularityError.java
9172 java/lang/ClassFormatError.java
9173 java/lang/ClassNotFoundException.java
9174 java/lang/CloneNotSupportedException.java
9175 java/lang/Cloneable.java java/lang/Comparable.java
9176 java/lang/Compiler.java java/lang/Double.java
9177 java/lang/Error.java java/lang/Exception.java
9178 java/lang/ExceptionInInitializerError.java
9179 java/lang/Float.java java/lang/IllegalAccessError.java
9180 java/lang/IllegalAccessException.java
9181 java/lang/IllegalArgumentException.java
9182 java/lang/IllegalMonitorStateException.java
9183 java/lang/IllegalStateException.java
9184 java/lang/IllegalThreadStateException.java
9185 java/lang/IncompatibleClassChangeError.java
9186 java/lang/IndexOutOfBoundsException.java
9187 java/lang/InheritableThreadLocal.java
9188 java/lang/InstantiationError.java
9189 java/lang/InstantiationException.java java/lang/Integer.java
9190 java/lang/InternalError.java
9191 java/lang/InterruptedException.java
9192 java/lang/LinkageError.java java/lang/Long.java
9193 java/lang/NegativeArraySizeException.java
9194 java/lang/NoClassDefFoundError.java
9195 java/lang/NoSuchFieldError.java
9196 java/lang/NoSuchFieldException.java
9197 java/lang/NoSuchMethodError.java
9198 java/lang/NoSuchMethodException.java
9199 java/lang/NullPointerException.java java/lang/Number.java
9200 java/lang/NumberFormatException.java
9201 java/lang/OutOfMemoryError.java java/lang/Package.java
9202 java/lang/Process.java java/lang/Runnable.java
9203 java/lang/RuntimeException.java
9204 java/lang/RuntimePermission.java
9205 java/lang/SecurityException.java
9206 java/lang/SecurityManager.java java/lang/Short.java
9207 java/lang/StackOverflowError.java java/lang/StringBuffer.java
9208 java/lang/StringIndexOutOfBoundsException.java
9209 java/lang/ThreadDeath.java java/lang/ThreadGroup.java
9210 java/lang/ThreadLocal.java java/lang/UnknownError.java
9211 java/lang/UnsatisfiedLinkError.java
9212 java/lang/UnsupportedClassVersionError.java
9213 java/lang/UnsupportedOperationException.java
9214 java/lang/VerifyError.java java/lang/VirtualMachineError.java
9215 java/lang/Void.java java/lang/ref/PhantomReference.java
9216 java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
9217 java/lang/ref/SoftReference.java
9218 java/lang/ref/WeakReference.java
9219 java/lang/reflect/AccessibleObject.java
9220 java/lang/reflect/InvocationTargetException.java
9221 java/lang/reflect/Member.java java/lang/reflect/Modifier.java
9222 java/lang/reflect/ReflectPermission.java
9223 java/math/BigDecimal.java java/math/BigInteger.java
9224 java/net/Authenticator.java java/net/BindException.java
9225 java/net/ConnectException.java java/net/ContentHandler.java
9226 java/net/ContentHandlerFactory.java
9227 java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
9228 java/net/FileNameMap.java java/net/MalformedURLException.java
9229 java/net/MulticastSocket.java java/net/NetPermission.java
9230 java/net/NoRouteToHostException.java
9231 java/net/PasswordAuthentication.java
9232 java/net/ProtocolException.java java/net/ServerSocket.java
9233 java/net/Socket.java java/net/SocketException.java
9234 java/net/SocketImpl.java java/net/SocketImplFactory.java
9235 java/net/SocketOptions.java java/net/SocketPermission.java
9236 java/net/URLDecoder.java java/net/URLEncoder.java
9237 java/net/URLStreamHandlerFactory.java
9238 java/net/UnknownHostException.java
9239 java/net/UnknownServiceException.java
9240 java/rmi/AccessException.java
9241 java/rmi/AlreadyBoundException.java
9242 java/rmi/ConnectException.java
9243 java/rmi/ConnectIOException.java
9244 java/rmi/MarshalException.java java/rmi/MarshalledObject.java
9245 java/rmi/Naming.java java/rmi/NoSuchObjectException.java
9246 java/rmi/NotBoundException.java
9247 java/rmi/RMISecurityException.java
9248 java/rmi/RMISecurityManager.java java/rmi/Remote.java
9249 java/rmi/RemoteException.java java/rmi/ServerError.java
9250 java/rmi/ServerException.java
9251 java/rmi/ServerRuntimeException.java
9252 java/rmi/StubNotFoundException.java
9253 java/rmi/UnexpectedException.java
9254 java/rmi/UnknownHostException.java
9255 java/rmi/UnmarshalException.java
9256 java/rmi/activation/Activatable.java
9257 java/rmi/activation/ActivateFailedException.java
9258 java/rmi/activation/ActivationDesc.java
9259 java/rmi/activation/ActivationException.java
9260 java/rmi/activation/ActivationGroup.java
9261 java/rmi/activation/ActivationGroupDesc.java
9262 java/rmi/activation/ActivationGroupID.java
9263 java/rmi/activation/ActivationID.java
9264 java/rmi/activation/ActivationInstantiator.java
9265 java/rmi/activation/ActivationMonitor.java
9266 java/rmi/activation/ActivationSystem.java
9267 java/rmi/activation/Activator.java
9268 java/rmi/activation/UnknownGroupException.java
9269 java/rmi/activation/UnknownObjectException.java
9270 java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
9271 java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
9272 java/rmi/registry/Registry.java
9273 java/rmi/registry/RegistryHandler.java
9274 java/rmi/server/ExportException.java
9275 java/rmi/server/LoaderHandler.java
9276 java/rmi/server/LogStream.java java/rmi/server/ObjID.java
9277 java/rmi/server/Operation.java
9278 java/rmi/server/RMIClassLoader.java
9279 java/rmi/server/RMIClientSocketFactory.java
9280 java/rmi/server/RMIFailureHandler.java
9281 java/rmi/server/RMIServerSocketFactory.java
9282 java/rmi/server/RMISocketFactory.java
9283 java/rmi/server/RemoteCall.java
9284 java/rmi/server/RemoteObject.java
9285 java/rmi/server/RemoteRef.java
9286 java/rmi/server/RemoteServer.java
9287 java/rmi/server/RemoteStub.java
9288 java/rmi/server/ServerCloneException.java
9289 java/rmi/server/ServerNotActiveException.java
9290 java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
9291 java/rmi/server/SkeletonMismatchException.java
9292 java/rmi/server/SkeletonNotFoundException.java
9293 java/rmi/server/SocketSecurityException.java
9294 java/rmi/server/UID.java
9295 java/rmi/server/UnicastRemoteObject.java
9296 java/rmi/server/Unreferenced.java
9297 java/security/AccessControlContext.java
9298 java/security/AccessControlException.java
9299 java/security/AccessController.java
9300 java/security/AlgorithmParameterGenerator.java
9301 java/security/AlgorithmParameterGeneratorSpi.java
9302 java/security/AlgorithmParameters.java
9303 java/security/AlgorithmParametersSpi.java
9304 java/security/AllPermission.java
9305 java/security/BasicPermission.java
9306 java/security/Certificate.java java/security/CodeSource.java
9307 java/security/DigestException.java
9308 java/security/DigestInputStream.java
9309 java/security/DigestOutputStream.java
9310 java/security/DomainCombiner.java
9311 java/security/DummyKeyPairGenerator.java
9312 java/security/DummyMessageDigest.java
9313 java/security/DummySignature.java
9314 java/security/GeneralSecurityException.java
9315 java/security/Guard.java java/security/GuardedObject.java
9316 java/security/Identity.java java/security/IdentityScope.java
9317 java/security/InvalidAlgorithmParameterException.java
9318 java/security/InvalidKeyException.java
9319 java/security/InvalidParameterException.java
9320 java/security/Key.java java/security/KeyException.java
9321 java/security/KeyFactory.java java/security/KeyFactorySpi.java
9322 java/security/KeyManagementException.java
9323 java/security/KeyPair.java java/security/KeyPairGenerator.java
9324 java/security/KeyPairGeneratorSpi.java
9325 java/security/KeyStore.java
9326 java/security/KeyStoreException.java
9327 java/security/KeyStoreSpi.java
9328 java/security/MessageDigest.java
9329 java/security/MessageDigestSpi.java
9330 java/security/NoSuchAlgorithmException.java
9331 java/security/NoSuchProviderException.java
9332 java/security/Permission.java
9333 java/security/PermissionCollection.java
9334 java/security/Permissions.java java/security/Policy.java
9335 java/security/Principal.java java/security/PrivateKey.java
9336 java/security/PrivilegedAction.java
9337 java/security/PrivilegedActionException.java
9338 java/security/PrivilegedExceptionAction.java
9339 java/security/ProtectionDomain.java
9340 java/security/Provider.java
9341 java/security/ProviderException.java
9342 java/security/PublicKey.java
9343 java/security/SecureClassLoader.java
9344 java/security/SecureRandom.java
9345 java/security/SecureRandomSpi.java java/security/Security.java
9346 java/security/SecurityPermission.java
9347 java/security/Signature.java
9348 java/security/SignatureException.java
9349 java/security/SignatureSpi.java
9350 java/security/SignedObject.java java/security/Signer.java
9351 java/security/UnrecoverableKeyException.java
9352 java/security/UnresolvedPermission.java
9353 java/security/acl/Acl.java java/security/acl/AclEntry.java
9354 java/security/acl/AclNotFoundException.java
9355 java/security/acl/Group.java
9356 java/security/acl/LastOwnerException.java
9357 java/security/acl/NotOwnerException.java
9358 java/security/acl/Owner.java java/security/acl/Permission.java
9359 java/security/cert/CRL.java
9360 java/security/cert/CRLException.java
9361 java/security/cert/Certificate.java
9362 java/security/cert/CertificateEncodingException.java
9363 java/security/cert/CertificateException.java
9364 java/security/cert/CertificateExpiredException.java
9365 java/security/cert/CertificateFactory.java
9366 java/security/cert/CertificateFactorySpi.java
9367 java/security/cert/CertificateNotYetValidException.java
9368 java/security/cert/CertificateParsingException.java
9369 java/security/cert/X509CRL.java
9370 java/security/cert/X509CRLEntry.java
9371 java/security/cert/X509Certificate.java
9372 java/security/cert/X509Extension.java
9373 java/security/interfaces/DSAKey.java
9374 java/security/interfaces/DSAKeyPairGenerator.java
9375 java/security/interfaces/DSAParams.java
9376 java/security/interfaces/DSAPrivateKey.java
9377 java/security/interfaces/DSAPublicKey.java
9378 java/security/interfaces/RSAKey.java
9379 java/security/interfaces/RSAPrivateCrtKey.java
9380 java/security/interfaces/RSAPrivateKey.java
9381 java/security/interfaces/RSAPublicKey.java
9382 java/security/spec/AlgorithmParameterSpec.java
9383 java/security/spec/DSAParameterSpec.java
9384 java/security/spec/DSAPrivateKeySpec.java
9385 java/security/spec/DSAPublicKeySpec.java
9386 java/security/spec/EncodedKeySpec.java
9387 java/security/spec/InvalidKeySpecException.java
9388 java/security/spec/InvalidParameterSpecException.java
9389 java/security/spec/KeySpec.java
9390 java/security/spec/PKCS8EncodedKeySpec.java
9391 java/security/spec/RSAKeyGenParameterSpec.java
9392 java/security/spec/RSAPrivateCrtKeySpec.java
9393 java/security/spec/RSAPrivateKeySpec.java
9394 java/security/spec/RSAPublicKeySpec.java
9395 java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
9396 java/sql/BatchUpdateException.java java/sql/Blob.java
9397 java/sql/CallableStatement.java java/sql/Clob.java
9398 java/sql/Connection.java java/sql/DataTruncation.java
9399 java/sql/DatabaseMetaData.java java/sql/Date.java
9400 java/sql/Driver.java java/sql/DriverManager.java
9401 java/sql/DriverPropertyInfo.java
9402 java/sql/PreparedStatement.java java/sql/Ref.java
9403 java/sql/ResultSet.java java/sql/ResultSetMetaData.java
9404 java/sql/SQLData.java java/sql/SQLException.java
9405 java/sql/SQLInput.java java/sql/SQLOutput.java
9406 java/sql/SQLWarning.java java/sql/Statement.java
9407 java/sql/Struct.java java/sql/Time.java
9408 java/sql/Timestamp.java java/sql/Types.java
9409 java/text/Annotation.java
9410 java/text/AttributedCharacterIterator.java
9411 java/text/AttributedString.java
9412 java/text/AttributedStringIterator.java
9413 java/text/BreakIterator.java java/text/CharacterIterator.java
9414 java/text/ChoiceFormat.java java/text/Collator.java
9415 java/text/DateFormat.java java/text/DateFormatSymbols.java
9416 java/text/DecimalFormat.java
9417 java/text/DecimalFormatSymbols.java
9418 java/text/FieldPosition.java java/text/Format.java
9419 java/text/MessageFormat.java java/text/NumberFormat.java
9420 java/text/ParseException.java java/text/ParsePosition.java
9421 java/text/SimpleDateFormat.java
9422 java/text/StringCharacterIterator.java
9423 java/util/AbstractCollection.java java/util/AbstractList.java
9424 java/util/AbstractMap.java
9425 java/util/AbstractSequentialList.java
9426 java/util/AbstractSet.java java/util/ArrayList.java
9427 java/util/Arrays.java java/util/BasicMapEntry.java
9428 java/util/BitSet.java java/util/Calendar.java
9429 java/util/Collection.java java/util/Collections.java
9430 java/util/Comparator.java
9431 java/util/ConcurrentModificationException.java
9432 java/util/Date.java java/util/Dictionary.java
9433 java/util/EmptyStackException.java java/util/Enumeration.java
9434 java/util/EventListener.java java/util/EventObject.java
9435 java/util/GregorianCalendar.java java/util/HashMap.java
9436 java/util/HashSet.java java/util/Hashtable.java
9437 java/util/IdentityHashMap.java java/util/Iterator.java
9438 java/util/LinkedHashMap.java java/util/LinkedHashSet.java
9439 java/util/LinkedList.java java/util/List.java
9440 java/util/ListIterator.java java/util/ListResourceBundle.java
9441 java/util/Locale.java java/util/Map.java
9442 java/util/MissingResourceException.java
9443 java/util/NoSuchElementException.java
9444 java/util/Observable.java java/util/Observer.java
9445 java/util/Properties.java java/util/PropertyPermission.java
9446 java/util/PropertyResourceBundle.java java/util/Random.java
9447 java/util/RandomAccess.java java/util/ResourceBundle.java
9448 java/util/Set.java java/util/SimpleTimeZone.java
9449 java/util/SortedMap.java java/util/SortedSet.java
9450 java/util/Stack.java java/util/StringTokenizer.java
9451 java/util/TimeZone.java java/util/Timer.java
9452 java/util/TimerTask.java
9453 java/util/TooManyListenersException.java
9454 java/util/TreeMap.java java/util/TreeSet.java
9455 java/util/Vector.java java/util/WeakHashMap.java
9456 java/util/jar/Attributes.java java/util/jar/JarEntry.java
9457 java/util/jar/JarException.java java/util/jar/JarFile.java
9458 java/util/jar/JarInputStream.java
9459 java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
9460 java/util/zip/Adler32.java java/util/zip/CRC32.java
9461 java/util/zip/CheckedInputStream.java
9462 java/util/zip/CheckedOutputStream.java
9463 java/util/zip/Checksum.java
9464 java/util/zip/DataFormatException.java
9465 java/util/zip/Deflater.java
9466 java/util/zip/DeflaterOutputStream.java
9467 java/util/zip/GZIPInputStream.java
9468 java/util/zip/GZIPOutputStream.java
9469 java/util/zip/Inflater.java
9470 java/util/zip/InflaterInputStream.java
9471 java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
9472 java/util/zip/ZipException.java java/util/zip/ZipFile.java
9473 java/util/zip/ZipInputStream.java
9474 java/util/zip/ZipOutputStream.java
9475 javax/naming/BinaryRefAddr.java
9476 javax/naming/InvalidNameException.java javax/naming/Name.java
9477 javax/naming/NamingException.java javax/naming/RefAddr.java
9478 javax/naming/StringRefAddr.java: Add license clarification.
9480 2002-01-22 Tom Tromey <tromey@redhat.com>
9482 * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
9483 * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
9484 * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
9486 * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
9487 * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
9488 * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
9489 * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
9490 * java/awt/peer/DialogPeer.java: Replace with Classpath version.
9491 * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
9492 * java/awt/peer/FontPeer.java: Replace with Classpath version.
9493 * java/awt/peer/FramePeer.java: Replace with Classpath version.
9494 * java/awt/peer/LabelPeer.java: Replace with Classpath version.
9495 * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
9496 * java/awt/peer/ListPeer.java: Replace with Classpath version.
9497 * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
9498 * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
9499 * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
9500 * java/awt/peer/MenuPeer.java: Replace with Classpath version.
9501 * java/awt/peer/PanelPeer.java: Replace with Classpath version.
9502 * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
9503 * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
9504 * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
9505 * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
9506 * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
9507 * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
9508 * java/awt/peer/WindowPeer.java: Replace with Classpath version.
9509 * gnu/awt/xlib/XPanelPeer.java (insets): New method.
9510 * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
9511 (minimumSize, preferredSize, reshape): Likewise.
9512 * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
9513 getColorModel): New methods.
9514 * java/awt/PopupMenu.java: Merged with Classpath.
9515 * java/awt/MenuBar.java: Merged with Classpath.
9516 * java/awt/SystemColor.java: Replace with Classpath version.
9517 * java/awt/Panel.java: Merged with Classpath.
9518 * java/awt/PaintContext.java: Updated copyright.
9519 * java/awt/MenuShortcut.java: Merged with Classpath.
9520 * java/awt/MenuContainer.java: Merged with Classpath.
9521 * java/awt/Menu.java: Merged with Classpath.
9522 * java/awt/MediaEntry.java: New file from Classpath.
9523 * java/awt/MediaTracker.java: New file from Classpath.
9524 * java/awt/List.java: Merged with Classpath version.
9525 * java/awt/Insets.java: Merged with Classpath version.
9526 * java/awt/ImageMediaEntry.java: New file from Classpath.
9527 * java/awt/Image.java: Replaced with Classpath version.
9528 * java/awt/FontMetrics.java: Merged with Classpath version.
9529 * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
9531 * java/awt/Font.java: Merged with Classpath version.
9532 * java/awt/Dialog.java: Merged with Classpath version.
9533 * java/awt/Color.java: Merged with Classpath version.
9534 * java/awt/Choice.java: Merged with Classpath version.
9535 * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
9536 * java/awt/Adjustable.java: Replace with Classpath version.
9537 * java/awt/MenuItem.java (paramString): Don't include class name
9538 or brackets. Call superclass paramString.
9539 * java/awt/MenuComponent.java (toString): Call paramString.
9540 (paramString): Compute string; don't call toString.
9541 * java/awt/Label.java (paramString): Don't include class name
9542 or brackets. Call superclass paramString.
9543 * java/awt/Checkbox.java (paramString): Don't include class name
9544 or brackets. Call superclass paramString.
9545 * java/awt/Button.java (paramString): Don't include class name or
9546 brackets. Call superclass paramString.
9547 * java/awt/MenuComponent.java (getTreeLock): Now protected.
9549 2002-01-20 Andreas Schwab <schwab@suse.de>
9551 * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
9552 function and of parameter recv_func to ssize_t, as specified by
9555 2002-01-19 Per Bothner <per@bothner.com>
9557 * java/util/zip/ZipOutputStream.java (putNextEntry): Clear
9558 uncompressed_size in readiness for next entry.
9560 2002-01-18 Tom Tromey <tromey@redhat.com>
9562 * java/net/natPlainSocketImpl.cc: Include
9563 IllegalArgumentException.h.
9564 (_Jv_recv): New template function.
9565 (BooleanClass): Removed.
9566 (read): Use _Jv_recv.
9567 (setOption): Use Boolean::class$. Throw exception if object is
9568 not Boolean or Integer.
9570 2002-01-17 Tom Tromey <tromey@redhat.com>
9572 * java/awt/MenuComponent.java: Merged with Classpath.
9573 * java/awt/MenuItem.java: Merged with Classpath.
9574 * java/awt/Button.java: Merged with Classpath.
9576 * java/awt/ActiveEvent.java: Updated copyright.
9578 * java/awt/AWTError.java: Replaced with Classpath version.
9579 * java/awt/AWTException.java: Replaced with Classpath version.
9580 * java/awt/IllegalComponentStateException.java: Replaced with
9583 2002-01-16 Tom Tromey <tromey@redhat.com>
9585 * java/awt/Canvas.java (serialVersionUID): New constant.
9586 Updated copyright. Added javadoc from Classpath.
9587 * java/awt/ItemSelectable.java: Replaced with Classpath version.
9589 * java/awt/CheckboxGroup.java: Merged with Classpath.
9590 * java/awt/Checkbox.java: Merged with Classpath.
9592 * java/awt/Dimension.java: Updated copyright. Added javadoc from
9594 * java/awt/Point.java: Updated copyright.
9596 * java/awt/Point.java (toString): Use getClass().getName().
9599 * java/util/IdentityHashMap.java (IdentityHashMap): Removed
9601 (hash): Correctly compute initial value for `h'.
9603 * java/awt/Label.java: Merged with Classpath.
9605 2002-01-15 Tom Tromey <tromey@redhat.com>
9607 * java/awt/AWTPermission.java: Updated copyright.
9609 * java/awt/LayoutManager2.java: Merged with Classpath.
9610 * java/awt/LayoutManager.java: Merged with Classpath.
9611 * java/awt/GridLayout.java: Updated copyright and javadoc.
9612 (getSize): Use `parent.ncomponents'. Handle insets.
9613 (layoutContainer): Use `parent.ncomponents'. Handle case where
9614 there are fewer children than columns. Correctly compute size of
9615 each cell in the grid. Handle case where there isn't enough
9617 * java/awt/CardLayout.java (tab): Renamed from `map'. Updated
9619 (gotoComponent): Use parent.ncomponents. Ensure child exists
9620 before calling setVisible() on it. Last item is `num - 1', not
9622 (layoutContainer): Hoist invariants out of loop.
9624 Start of AWT merge with Classpath:
9625 * Makefile.in: Rebuilt.
9626 * Makefile.am (awt_java_source_files): Reference files in
9627 gnu/java/awt, not gnu/gcj/awt.
9628 * java/awt/image/BufferedImage.java: Updated copyright.
9629 * java/awt/image/ComponentColorModel.java: Updated copyright.
9630 * java/awt/image/ComponentSampleModel.java: Updated copyright.
9631 * java/awt/image/DataBuffer.java: Updated copyright.
9632 * java/awt/image/DataBufferByte.java: Updated copyright.
9633 * java/awt/image/DataBufferInt.java: Updated copyright.
9634 * java/awt/image/DataBufferUShort.java: Updated copyright.
9635 * java/awt/image/IndexColorModel.java: Updated copyright.
9636 * java/awt/image/PackedColorModel.java: Updated copyright.
9637 * java/awt/image/Raster.java: Updated copyright.
9638 * java/awt/image/RasterOp.java: Updated copyright.
9639 * java/awt/image/SampleModel.java: Updated copyright.
9640 * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
9641 * java/awt/image/WritableRaster.java: Updated copyright.
9642 * java/awt/color/ColorSpace.java: Updated copyright.
9643 * java/awt/color/ICC_ColorSpace.java: Updated copyright
9644 * java/awt/color/ICC_Profile.java: Updated copyright.
9645 * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
9646 * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
9647 * java/awt/event/HierarchyEvent.java: Updated copyright.
9648 * java/awt/event/HierarchyListener.java: Updated copyright.
9649 * java/awt/geom/AffineTransform.java: Updated copyright.
9650 * java/awt/geom/Dimension2D.java: Updated copyright.
9651 * java/awt/geom/Ellipse2D.java: Updated copyright.
9652 * java/awt/geom/IllegalPathStateException.java: Updated copyright.
9653 * java/awt/geom/Line2D.java: Updated copyright.
9654 * java/awt/geom/NoninvertibleTransformException.java: Updated
9656 * java/awt/geom/PathIterator.java: Updated copyright.
9657 * java/awt/geom/Point2D.java: Updated copyright.
9658 * java/awt/geom/Rectangle2D.java: Updated copyright.
9659 * java/awt/geom/RectangularShape.java: Updated copyright.
9660 * java/awt/geom/RoundRectangle2D.java: Updated copyright.
9661 * java/awt/Toolkit.java: Updated import for file moves.
9662 * java/awt/Rectangle.java: Updated copyright; added javadoc from
9664 (hashCode): New method from Classpath.
9665 * java/awt/Graphics2D.java: Updated copyright.
9666 * java/awt/Transparency.java: Updated copyright.
9667 * java/awt/Paint.java: Updated copyright.
9668 * java/awt/Graphics.java: New version from Classpath.
9669 * java/awt/EventDispatchThread.java: Updated copyright.
9670 * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
9672 (gotoComponent): Wrap around on next/previous.
9673 * gnu/gcj/awt/BitMaskExtent.java: Removed.
9674 * gnu/gcj/awt/Buffers.java: Removed.
9675 * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
9676 * gnu/gcj/awt/GLightweightPeer.java: Removed.
9677 * gnu/java/awt/BitMaskExtent.java: Added.
9678 * gnu/java/awt/Buffers.java: Added.
9679 * gnu/java/awt/ComponentDataBlitOp.java: Added.
9680 * gnu/java/awt/GLightweightPeer.java: Added.
9681 * java/awt/geom/Line2D.java (clone): Ignore
9682 CloneNotSupportedException.
9683 * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
9684 * java/awt/Frame.java: Merged with Classpath.
9685 * java/awt/RenderingHints.java: Copyright update.
9686 * java/awt/Paint.java: Copyright update.
9687 * java/awt/image/DirectColorModel.java: Merged with Classpath.
9688 * java/awt/image/ColorModel.java: Merged with Classpath.
9689 * java/awt/Window.java (show): New Implementation from Classpath.
9690 (isShowing): Use super.isShowing().
9691 * java/awt/EventQueue.java: Merged with Classpath.
9692 * java/awt/AWTEventMulticaster.java (save): Throw
9694 (saveInternal): Likewise.
9695 * java/awt/AWTEvent.java: Now implements Serializable.
9696 * java/awt/Event.java: Copyright update.
9697 * java/awt/peer/ComponentPeer.java: Merged with Classpath.
9698 * java/awt/image/BufferedImage.java: Copyright update.
9699 * java/awt/GraphicsConfiguration.java: Copyright update.
9700 * java/awt/Component.java: (addNotify): Don't call
9701 addNotifyContainerChildren().
9702 (addNotifyContainerChildren): Removed.
9703 (setPeer): New method from Classpath.
9704 (setTreeLock): Likewise.
9705 (setVisible): Rewrote.
9708 (validate): Set `valid'.
9709 (checkImage(Image,ImageObserver)): Implementation from Classpath.
9710 (createImage(ImageProducer)): Likewise.
9711 (prepareImage): Likewise.
9712 * java/awt/Container.java (addImpl): Handle case where constraint
9713 is not a String. Post event via system event queue.
9714 (remove): Post event via system event queue.
9715 (validateTree): Only validate child if it is invalid.
9716 (getAlignmentX): Call super method as default.
9717 (getAlignmentY): Likewise.
9718 (addContainerListener): Now synchronized.
9719 (removeContainerListener): Likewise.
9720 (addNotifyContainerChildren): Now private.
9721 * java/awt/ComponentOrientation.java: Updated copyright. Added
9723 * java/awt/FlowLayout.java (serialVersionUID): New field.
9724 (setAlignment): Better exception message.
9725 (layoutContainer): Don't compute component's preferred size unless
9726 we're going to use it.
9727 * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
9728 BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
9729 (firstLine, lastLine, firstItem, lastItem): New fields.
9730 (addLayoutComponent): Handle case where constraints is null.
9731 Also, handle relative locations.
9732 (removeLayoutComponent): Handle relative locations.
9733 (MIN, MAX, PREF): New constants.
9734 (calcCompSize): New method.
9735 (calcSize): New method.
9736 (minimumLayoutSize): Use it.
9737 (preferredLayoutSize): Likewise.
9738 (maximumLayoutSize): Likewise.
9739 (toString): Include more information.
9740 (setBounds): New method.
9741 (layoutContainer): Use libgcj implementation; extended to handle
9744 2002-01-15 Tom Tromey <tromey@redhat.com>
9746 * java/lang/Float.java (equals): Preserve old code.
9747 * java/lang/Double.java (equals): Preserve old code.
9749 2002-01-15 Eric Blake <ebb9@email.byu.edu>
9751 * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
9752 * java/lang/Float.java (equals, compare): Ditto.
9754 2002-01-13 Mark Wielaard <mark@klomp.org>
9756 * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
9757 * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
9758 * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
9759 * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
9761 2002-01-11 Mark Wielaard <mark@klomp.org>
9763 * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
9764 * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
9766 * java/net/MulticastSocket.java (MulticastSocket): Likewise.
9767 * java/net/Socket.java: Merge with Classpath.
9768 * java/net/ServerSocket.java: Likewise.
9770 2002-01-11 Chris Sears <cbsears_sf@yahoo.com>
9772 * interpret.cc (NULLARRAYCHECK): New macro.
9773 (SAVE_PC): Just store `pc'.
9774 (find_exception): Subtract one from `pc' here.
9775 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
9776 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
9777 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
9778 insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
9780 (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
9783 2002-01-11 Tom Tromey <tromey@redhat.com>
9785 * java/lang/natSystem.cc (init_properties): Only look for default
9786 locale if LC_MESSAGES is defined.
9787 * aclocal.m4, configure, include/config.h.in: Rebuilt.
9788 * configure.in: Call AM_LC_MESSAGES.
9789 * acinclude.m4 (AM_LC_MESSAGES): New macro.
9791 2002-01-10 Tom Tromey <tromey@redhat.com>
9794 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
9795 --version. Recognize GNU-style long options. Print GNU-style
9797 (usage): Print GNU-style help. Exit with status 0.
9798 (error): New method.
9799 (run): Print error message if no class names found.
9800 (main): Don't print usage on error.
9802 2002-01-09 Tom Tromey <tromey@redhat.com>
9804 * gnu/gcj/convert/Convert.java (version): Use java.vm.name
9806 (help, version): Use println(), not println("").
9809 * gnu/gcj/convert/Convert.java (error): Program is called
9810 `jv-convert'. Print GNU-style message. Exit with status 1, not
9812 (main): Handle --help and --version.
9814 (version): Likewise.
9816 2002-01-08 Tom Tromey <tromey@redhat.com>
9818 * Makefile.in: Rebuilt.
9819 * Makefile.am (ordinary_java_source_files): Added new files.
9820 * gnu/java/locale/LocaleInformation.java: Extend
9821 LocaleInformation_en.
9822 * gnu/java/locale/LocaleInformation_en.java: Added zone strings
9823 and time/date formats.
9824 * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
9826 * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
9827 * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
9828 * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
9829 * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
9830 * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
9831 * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
9832 * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
9833 * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
9834 * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
9835 * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
9836 * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
9837 * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
9838 * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
9839 * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
9840 * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
9841 * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
9842 * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
9843 * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
9844 * gnu/java/locale/LocaleInformation_be_BY.java: New file.
9845 * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
9846 * gnu/java/locale/LocaleInformation_br_FR.java: New file.
9847 * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
9848 * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
9849 * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
9850 * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
9851 * gnu/java/locale/LocaleInformation_da_DK.java: New file.
9852 * gnu/java/locale/LocaleInformation_de_AT.java: New file.
9853 * gnu/java/locale/LocaleInformation_de_BE.java: New file.
9854 * gnu/java/locale/LocaleInformation_de_CH.java: New file.
9855 * gnu/java/locale/LocaleInformation_de_DE.java: New file.
9856 * gnu/java/locale/LocaleInformation_de_LU.java: New file.
9857 * gnu/java/locale/LocaleInformation_el_GR.java: New file.
9858 * gnu/java/locale/LocaleInformation_en_AU.java: New file.
9859 * gnu/java/locale/LocaleInformation_en_BW.java: New file.
9860 * gnu/java/locale/LocaleInformation_en_CA.java: New file.
9861 * gnu/java/locale/LocaleInformation_en_DK.java: New file.
9862 * gnu/java/locale/LocaleInformation_en_GB.java: New file.
9863 * gnu/java/locale/LocaleInformation_en_HK.java: New file.
9864 * gnu/java/locale/LocaleInformation_en_IE.java: New file.
9865 * gnu/java/locale/LocaleInformation_en_IN.java: New file.
9866 * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
9867 * gnu/java/locale/LocaleInformation_en_PH.java: New file.
9868 * gnu/java/locale/LocaleInformation_en_SG.java: New file.
9869 * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
9870 * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
9871 * gnu/java/locale/LocaleInformation_es_AR.java: New file.
9872 * gnu/java/locale/LocaleInformation_es_BO.java: New file.
9873 * gnu/java/locale/LocaleInformation_es_CL.java: New file.
9874 * gnu/java/locale/LocaleInformation_es_CO.java: New file.
9875 * gnu/java/locale/LocaleInformation_es_CR.java: New file.
9876 * gnu/java/locale/LocaleInformation_es_DO.java: New file.
9877 * gnu/java/locale/LocaleInformation_es_EC.java: New file.
9878 * gnu/java/locale/LocaleInformation_es_ES.java: New file.
9879 * gnu/java/locale/LocaleInformation_es_GT.java: New file.
9880 * gnu/java/locale/LocaleInformation_es_HN.java: New file.
9881 * gnu/java/locale/LocaleInformation_es_MX.java: New file.
9882 * gnu/java/locale/LocaleInformation_es_NI.java: New file.
9883 * gnu/java/locale/LocaleInformation_es_PA.java: New file.
9884 * gnu/java/locale/LocaleInformation_es_PE.java: New file.
9885 * gnu/java/locale/LocaleInformation_es_PR.java: New file.
9886 * gnu/java/locale/LocaleInformation_es_PY.java: New file.
9887 * gnu/java/locale/LocaleInformation_es_SV.java: New file.
9888 * gnu/java/locale/LocaleInformation_es_US.java: New file.
9889 * gnu/java/locale/LocaleInformation_es_UY.java: New file.
9890 * gnu/java/locale/LocaleInformation_es_VE.java: New file.
9891 * gnu/java/locale/LocaleInformation_et_EE.java: New file.
9892 * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
9893 * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
9894 * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
9895 * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
9896 * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
9897 * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
9898 * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
9899 * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
9900 * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
9901 * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
9902 * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
9903 * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
9904 * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
9905 * gnu/java/locale/LocaleInformation_he_IL.java: New file.
9906 * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
9907 * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
9908 * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
9909 * gnu/java/locale/LocaleInformation_id_ID.java: New file.
9910 * gnu/java/locale/LocaleInformation_it_CH.java: New file.
9911 * gnu/java/locale/LocaleInformation_it_IT.java: New file.
9912 * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
9913 * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
9914 * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
9915 * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
9916 * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
9917 * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
9918 * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
9919 * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
9920 * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
9921 * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
9922 * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
9923 * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
9924 * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
9925 * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
9926 * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
9927 * gnu/java/locale/LocaleInformation_no_NO.java: New file.
9928 * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
9929 * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
9930 * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
9931 * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
9932 * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
9933 * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
9934 * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
9935 * gnu/java/locale/LocaleInformation_se_NO.java: New file.
9936 * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
9937 * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
9938 * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
9939 * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
9940 * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
9941 * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
9942 * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
9943 * gnu/java/locale/LocaleInformation_te_IN.java: New file.
9944 * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
9945 * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
9946 * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
9947 * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
9948 * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
9949 * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
9950 * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
9951 * gnu/java/locale/LocaleInformation_yi_US.java: New file.
9952 * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
9953 * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
9954 * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
9955 * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
9958 * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
9959 choose default locale.
9961 * Makefile.in: Rebuilt.
9962 * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
9964 2002-01-08 Nic Ferrier <nferrier@tf1.tapsellferrier.co.uk>
9966 * java/net/natPlainSocketImpl.cc: Added timeout handling for
9968 (close): New function closes the socket.
9969 (write): New functions for output to socket.
9970 (read): New functions for reading from socket.
9971 * java/net/PlainSocketImpl.java: Glue for new timeout
9973 (write): Call the native impl.
9975 (getInputStream): Get a stream to read from the socket.
9976 (getOutputStream): Get a stream to write to the socket.
9978 2002-01-08 Tom Tromey <tromey@redhat.com>
9980 * resolve.cc (_Jv_PrepareClass): Enable verifier.
9982 2002-01-07 Andreas Tobler <a.tobler@schweiz.ch>
9984 * java/lang/reflect/natMethod.cc: Don't include alloca.h.
9985 (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
9987 2002-01-08 Chris Sears <cbsears_sf@yahoo.com>
9989 * interpret.cc (ARRAYBOUNDSCHECK): New macro.
9990 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
9991 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
9992 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
9993 insn_bastore, insn_castore, insn_sastore]: Use it.
9994 (continue1) [insn_arraylength]: Check for null array.
9996 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
9998 * configure, include/config.h.in: Rebuilt.
9999 * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
10000 * configure.in: Call AC_STRUCT_TIMEZONE.
10002 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
10004 * configure.host: Disable the interpreter for Darwin.
10006 2002-01-04 Tom Tromey <tromey@redhat.com>
10008 * java/lang/Thread.java (stop): No longer synchronized.
10011 2002-01-02 Tom Tromey <tromey@redhat.com>
10013 * java/lang/ieeefp.h: Fix bug in my hand-application of previous
10016 2002-1-1 Andrew Pinski <pinskia@physics.uc.edu>
10018 * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
10019 PPC Darwin, not for all of Darwin.