1 2003-12-02 Michael Koch <konqueror@gmx.de>
3 * java/text/DateFormat.java:
4 Explicitely import used classes.
6 2003-12-01 Jeff Sturm <jsturm@one-point.com>
8 * verify.cc (state::clean_subrs): Clear seen_subrs.
9 (state::copy): Walk seen_subrs from copy, not `this'.
10 Don't clear seen_subrs.
12 2003-12-01 Kim Ho <kho@redhat.com>
14 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create):
15 Disable wrapping if TextArea has horizontal scroll bars.
17 2003-12-01 Thomas Fitzsimmons <fitzsim@redhat.com>
19 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
20 (awt_event_handler): Hard-code inset values.
22 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (GdkFontMetrics):
23 Pass font name, not XLFD, to initState.
24 (stringWidth(String, int, String)): New method.
25 (stringWidth(String)): Call new stringWidth.
26 (getLeading): Always return 0.
27 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
28 (initState): New Pango implementation.
29 (stringWidth): Likewise.
31 2003-12-01 Olga Rodimina <rodimina@redhat.com>
33 * java/awt/TextComponent.java:
34 (getSelectionStart): Updated javadocs.
35 (getSelectionEnd): Ditto.
36 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer:
37 (getSelectionStart): Changed to return caret position if no
39 (getSelectionEnd): Ditto.
41 2003-12-01 Thomas Fitzsimmons <fitzsim@redhat.com>
43 * gnu/awt/gtk/GtkButtonPeer.java, gnu/awt/gtk/gtkcommon.cc,
44 gnu/awt/gtk/gtkcommon.h, gnu/awt/gtk/GtkComponentPeer.java,
45 gnu/awt/gtk/GtkContainerPeer.java,
46 gnu/awt/gtk/GtkFramePeer.java, gnu/awt/gtk/GtkLabelPeer.java,
47 gnu/awt/gtk/GtkMainThread.java, gnu/awt/gtk/GtkToolkit.java,
48 gnu/awt/gtk/GtkWindowPeer.java, gnu/awt/gtk/natGtkButtonPeer.cc,
49 gnu/awt/gtk/natGtkComponentPeer.cc,
50 gnu/awt/gtk/natGtkContainerPeer.cc,
51 gnu/awt/gtk/natGtkFramePeer.cc, gnu/awt/gtk/natGtkLabelPeer.cc,
52 gnu/awt/gtk/natGtkMainThread.cc, gnu/awt/gtk/natGtkToolkit.cc,
53 gnu/awt/gtk/natGtkWindowPeer.cc: Remove files.
55 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
56 (closed): Mark loader parameter as unused.
58 2003-12-01 Michael Koch <konqueror@gmx.de>
60 * gnu/java/net/protocol/http/Connection.java
61 (Connection): Merged class documentation.
62 (socket): Renamed from sock.
63 (Connection): Made protected, documentation added.
64 (connect): Give URL'S host instead of InetAddress to Socket
66 (disconnect): Documentation added.
67 (getOutputStream): Rewrapped.
69 2003-12-01 Michael Koch <konqueror@gmx.de>
71 * gnu/java/net/protocol/file/Connection.java
72 (fileIn): Documentation added.
73 (inputStream): Likewise.
74 (outputStream): Likewise.
75 (Connection): Likewise.
76 (connect): Simplified.
78 2003-12-01 Thomas Fitzsimmons <fitzsim@redhat.com>
80 * gnu/java/awt/peer/gtk/GtkImage.java (setDimensions,
81 setProperties): Check that io is not null before calling
83 * java/awt/image/ImageConsumer.java (setPixels, imageComplete):
85 * java/awt/image/PixelGrabber.java: Fix implementation and
88 2003-12-01 Michael Koch <konqueror@gmx.de>
90 * gnu/java/net/natPlainSocketImplPosix.cc
91 bind(): Dont set SockedImpl.address field on succesful bind.
92 * gnu/java/net/natPlainSocketImplWin32.cc
95 2003-11-30 Jeff Sturm <jsturm@one-point.com>
97 * java/net/InetAddress.java:
98 (static): Don'f force DNS request for ANY_IF address.
100 2003-11-30 Michael Koch <konqueror@gmx.de>
102 * java/net/InetAddress.java,
103 java/net/natInetAddressNoNet.cc,
104 java/net/natInetAddressPosix.cc,
105 java/net/natInetAddressWin32.cc:
106 Reverted my last patch.
108 2003-11-28 Michael Koch <konqueror@gmx.de>
110 * java/net/InetAddress.java
111 (lookup): New method that doesnt lookup "0.0.0.0".
112 (ImplLookup): Renamed from lookup.
113 * java/net/natInetAddressNoNet.cc
114 (ImplLookup): Renamed from lookup.
115 * java/net/natInetAddressPosix.cc
116 (ImplLookup): Renamed from lookup.
117 * java/net/natInetAddressWin32.cc
118 (ImplLookup): Renamed from lookup.
120 2003-11-28 Bryce McKinlay <bryce@mckinlay.net.nz>
122 * configure: Rebuilt.
123 * configure.in: Require gtk and glib 2.2.0.
125 2003-11-27 Dalibor Topic <robilad@kaffe.org>
127 * java/text/FieldPosition.java (equals): Adapted to handle
128 field_attribute. Added fast-circuit check for comparison to self.
129 Replaced use of instanceof by getClass to fix symmetry for derived
131 (toString): Adapted to handle field_attribute. Improved readability.
132 (hashCode): New method.
134 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org>
136 * java/text/FieldPosition.java (field_attribute): New field.
137 (FieldPosition (Format.Field), FieldPosition(Format.Field, int),
138 getFieldAttribute): New methods.
140 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org>
142 * java/text/DecimalFormatSymbols.java (locale): New field.
143 (DecimalFormatSymbols (Locale)): Set locale.
144 (serialVersionOnStream): Upgraded to number 2.
145 (readObject): Assign locale if it wasn't by the serializer.
147 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org>
149 * java/text/FormatCharacterIterator.java: Documented the class and
151 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org>
153 * java/text/FormatCharacterIterator.java: Fixed some typos.
155 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org>
157 * java/text/NumberFormat.java:
158 (getIntegerInstance) Added the java version in the comments.
160 2003-11-27 Mark Wielaard <mark@klomp.org>
162 * java/text/NumberFormat.java: Import java.io.InvalidObjectException.
163 (readResolve): Reformat.
165 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org>
167 * java/text/NumberFormat.java
168 (NumberFormat.Field): New implemented class to match Java 1.4.
169 (getIntegerInstance): Two new Java 1.4 methods.o
171 2003-11-27 Ito Kazumitsu <kaz@maczuka.gcd.org>
173 * java/util/GregorianCalendar.java (getLinearTime): Avoid counting
174 the leap day of the leap year twice.
175 (computeFields): First week of month is 1 not 0.
177 2003-11-27 Mark Wielaard <mark@klomp.org>
179 * javax/swing/plaf/basic/BasicDefaults.java (BasicDefaults): Put
180 AbstractUndoableEdit.undoText and AbstractUndoableEdit.redoText.
182 2003-11-27 Michael Koch <konqueror@gmx.de>
184 * javax/swing/UIDefaults.java:
185 Reformated to match classpath's version.
187 2003-11-27 Sascha Brawer <brawer@dandelis.ch>
189 * javax/swing/UIManager.java (getDefaults, getDimension,
190 getIcon, getInsets, getInstalledLookAndFeels, getInt,
191 getLookAndFeel, getString, getSystemLookAndFeelClassName):
194 2003-11-26 Sascha Brawer <brawer@dandelis.ch>
196 * javax/swing/undo/StateEdit.java (getPresentationName): Docfix.
197 * javax/swing/undo/AbstractUndoableEdit.java (canUndo, canRedo,
198 isSignificant): Likewise.
200 2003-11-26 Sascha Brawer <brawer@dandelis.ch>
202 * javax/swing/undo/CompoundEdit.java: Re-format, document.
203 (inProgress): Set initial value to true.
204 (undo, redo, die, canUndo, canRedo): Also call inherited
205 implementation; simplify code structure.
206 (getPresentationName, getUndoPresentationName,
207 getRedoPresentationName): Make behavior dependent on lastEdit.
208 (addEdit, isSignificant): Completely re-written.
210 2003-11-26 Sascha Brawer <brawer@dandelis.ch>
212 * javax/swing/undo/StateEdit.java: Re-format, document.
213 (undo, redo): Also call inherited implementation.
215 2003-11-26 Sascha Brawer <brawer@dandelis.ch>
217 * javax/swing/undo/StateEditable.java: Re-format, document.
219 2003-11-26 Sascha Brawer <brawer@dandelis.ch>
221 * javax/swing/undo/AbstractUndoableEdit.java: Re-format, document.
222 (AbstractUndoableEdit): Initialize hasBeenDone to true.
223 (canUndo, canRedo): Simplify.
224 (getUndoPresentationName, getRedoPresentationName): Support
225 localized message; call getPresentationName() only once.
227 2003-11-26 David Belanger <dbelan2@cs.mcgill.ca>
229 * java/util/zip/ZipFile (Zipfile(File)): Set file path as name.
230 (ZipFile(File,int)): Likewise.
232 2003-11-26 Stuart Ballard <stuart.ballard@corp.fast.net>
234 * java/util/HashMap.java (putAll): Use Iterator hasNext() method.
235 (putAllInternal): Likewise.
236 * java/util/Hashtable.java (putAll): Use Iterator hasNext() method.
237 (putAllInternal): Likewise.
239 2003-11-26 Michael Koch <konqueror@gmx.de>
241 * java/net/URLStreamHandler.java
242 (parseURL): Added comment in catch statement.
243 (canonicalizeFilename): Add documentation.
244 (sameURL): Completed documentation.
246 (hostsEqual): Likewise.
247 (getDefaulPort): Likewise.
248 (hashCode): Likewise.
249 (toExternalForm): Likewise.
250 (getHostName): Fix empty hostname check, completed documentation.
252 2003-11-26 Tom Tromey <tromey@redhat.com>
254 * java/lang/natDouble.cc (parseDouble): Reverted patch of
257 2003-11-26 Guilhem Lavaux <guilhem@kaffe.org>
258 Mark Wielaard <mark@klomp.org>
260 * java/net/URLStreamHandler (parseUrl): Fixed URL parsing
261 ('@' should be checked to distinguish port from userinfo).
262 (toExternalForm): Add @ userInfo if necessary.
265 2003-11-26 Michael Koch <konqueror@gmx.de>
267 * java/net/DatagramSocket.java
268 (DategramSocket, bind): Moved binding code from DatagramSocket
269 constructor to bind method.
271 2003-11-26 Michael Koch <konqueror@gmx.de>
273 * java/net/DatagramSocket.java
274 (impl): Made private.
275 (bound): New private member variable.
276 (DatagramSocket): Fixed documentation, use getImpl().
277 (getImpl): New package-private method.
278 (isClosed): Use getImpl().
279 (getLocalAddress): Completed documentation, use getImpl().
280 (getLocalPort): Use getImpl().
281 (getSoTimeout): Likewise.
282 (setSoTimeout): Likewise.
283 (getSendBufferSize): Likewise.
284 (setSendBufferSize): Likewise.
285 (getReceiveBufferSize): Likewise.
286 (setReceiveBufferSize): Likewise.
288 (disconnect): Likewise.
291 (setReuseAddress): Likewise.
292 (setTrafficClass): Likewise.
293 (bind): Added message to exception.
294 (isClosed): Completed documentation.
295 (getChannel): Likewise.
296 (connect): Added missing exception, refined exception message.
297 (isBound): Completed documentation, just return bound.
298 (isConnected): Completed documentation.
299 (getRemoteSocketAddress): Likewise.
300 (getReuseAddress): Completed documentation, use getImpl().
301 (setSoBroadcast): Likewise.
302 (getSoBroadcast): Likewise.
303 (getTrafficClass): Likewise.
304 (getLocalSocketAddress): Simplified.
305 * java/net/MulticastSocket.java
306 (MulticastSocket): Removed comment not applying anymore.
307 (getInterface): Use getImpl().
309 (getTimeToLive): Likewise.
310 (setInterface): Likewise.
311 (setNetworkInterface): Likewise.
312 (getNetworkInterface): Likewise.
313 (setLoopback): Likewise.
314 (getLoopback): Likewise.
316 (setTimeToLive): Likewise.
317 (joinGroup): Likewise.
318 (leaveGroup): Likewise.
321 2003-11-26 Michael Koch <konqueror@gmx.de>
323 * java/net/Socket.java
324 (implCreated): Dont set default value explicitely, added
326 (inputShutdown): Likewise.
327 (outputShutdown): Likewise.
328 (bound): New private member variable.
329 (bind): Set bound to true.
330 (close): Set bound to false.
331 (isBound): Return bound.
332 * java/net/ServerSocket.java
333 (bound): New private member variable.
334 (bind): Set bound to true.
335 (close): Set bound to false.
336 (isBound): Return bound.
338 2003-11-26 Michael Koch <konqueror@gmx.de>
341 (URL): Fixed documentation to be HTML compliant.
342 (getContent): Completed documentation.
345 (getAuthority): Likewise.
347 (getDefaultPort): Likewise.
348 (getProtocol): Likewise.
349 (hashCode): Likewise.
350 (openConnection): Likewise.
351 (openStream): Likewise.
353 (getURLStreamHandler): Wrapped lines to fit into our 79 chars rule.
355 2003-11-26 Michael Koch <konqueror@gmx.de>
357 * java/net/InetSocketAddress.java
358 (hostname): Made private, added documentation.
361 (equals): Completed documentation.
362 (getAddress): Likewise.
363 (getHostName): Likewise.
365 (hashCode): Likewise.
366 (isUnresolved): Likewise.
367 (toString): Likewise.
369 2003-11-26 Michael Koch <konqueror@gmx.de>
371 * gnu/java/net/protocol/file/Handler.java
372 (Handler): New explicit constructor.
373 (openConnection): Added documentation.
374 * gnu/java/net/protocol/jar/Handler.java
375 (Handler): New explicit constructor.
376 (openConnection): Added documentation.
378 2003-11-26 Michael Koch <konqueror@gmx.de>
380 * java/net/DatagramPacket.java
381 (DatagramPacket): Fixed documentation to become legal HTML.
383 2003-11-25 Michael Koch <konqueror@gmx.de>
385 * gcj/javaprims.h: Added missing java.util.Currency.
387 2003-11-25 Michael Koch <konqueror@gmx.de>
389 * testsuite/libjava.mauve/xfails:
390 Removed these two tests, they mystically pass now:
391 -FAIL: gnu.testlet.java.net.ServerSocket.ServerSocketTest: Error :
392 test_params failed - 5getInetAddress did not return proper values
394 -FAIL: gnu.testlet.java.net.Socket.SocketTest: Error :
395 test_BasicServer failed - 11 exception was thrown :Illegal seek
398 2003-11-25 Michael Koch <konqueror@gmx.de>
400 * java/net/DatagramSocket.java
401 (factory): Made private.
403 (DatagramSocket): Check impl argument, use constructor with
404 SocketAddress argument.
405 (close): Set impl to null, use isClosed().
406 (isClosed): Check for impl == null.
407 (getLocalAddress): Use isClosed().
408 (getLocalPort): Check if socket is closed.
409 (getSoTimeout): Likewise.
410 (setSoTimeout): Likewise.
411 (getSendBufferSize): Likewise.
412 (setSendBufferSize): Likewise.
413 (getReceiveBufferSize): Likewise.
414 (setReceiveBufferSize): Likewise.
419 (setReuseAddress): Likewise.
420 (getReuseAddress): Likewise.
421 (setBroadcast): Likewise.
422 (getBroadcast): Likewise.
423 (setTrafficClass): Likewise.
424 (getTrafficClass): Likewise.
425 * java/net/MulticastSocket.java
426 (getInterface): Check if socket is closed.
428 (getTimeToLive): Likewise.
429 (setInterface): Likewise.
430 (setNetworkInterface): Likewise.
431 (getNetworkInterface): Likewise.
432 (setLoopbackMode): Likewise.
434 (setTimeToLive): Likewise.
435 (joinGroup): Likewise.
436 (leaveGroup): Likewise.
438 * java/net/ServerSocket.java
440 (close): Check if socket is closed, set impl to null.
441 (isClosed): Check impl == null;
442 (ServerSocket): Check impl argument.
443 (getInetAddress): Check if socket is bound.
444 (getLocalPort): Likewise.
445 (getLocalSocketAddress): Likewise.
446 (bind): Check if socket is closed.
447 (implAccept): Likewise.
448 (setSoTimeout): Likewise.
449 (getSoTimeout): Likewise.
450 (setReuseAddress): Likewise.
451 (getReuseAddress): Likewise.
452 (setReceiveBufferSize): Likewise.
453 (getReceiveBufferSize): Likewise.
454 (toString): Make output compliant to JDK 1.4.2.
455 * java/net/Socket.java
457 (Socket): Fixed documentation.
458 (connect): Check if socket is closed, changed exception text,
460 (getInputStream): Check of socket is closed and connected.
461 (getOutputStream): Likewise.
462 (bind): Check if socket is closed.
463 (setTcpNoDelay): Likewise.
464 (getTcpNoDelay): Likewise.
465 (setSoLinger): Likewise.
466 (getSoLinger): Likewise.
467 (sendUrgentData): Likewise.
468 (setOOBInline): Likewise.
469 (getOOBInline): Likewise.
470 (setSoTimeout): Likewise.
471 (getSoTimeout): Likewise.
472 (setSendBufferSize): Likewise.
473 (getSendBufferSize): Likewise.
474 (setReceiveBufferSize): Likewise.
475 (getReceiveBufferSize): Likewise.
476 (setKeepAlive): Likewise.
477 (getKeepAlive): Likewise.
479 (shutdownInput): Likewise.
480 (shutdownOutput): Likewise.
481 (getReuseAddress): Likewise.
482 (getTrafficClass): Likewise.
483 (setTrafficClass): Likewise.
484 (isClosed): Check impl == null.
485 (toString): Added missing ']'.
487 2003-11-24 Tom Tromey <tromey@redhat.com>
489 * Makefile.in: Rebuilt.
490 * Makefile.am (propdir): New macro.
491 (install-data-local): Install logging.properties.
492 (core_java_source_files): Added java.util.logging.*.
493 * java/util/logging/logging.properties: New file.
495 2003-11-25 Michael Koch <konqueror@gmx.de>
497 * java/net/DatagramSocket.java
498 (DatagramSocket): Move binding code to bind(), simplify constructors.
499 * java/net/MulticastSocket.java
500 (MulticastSocket): Call parent constructor with null argument,
501 bind socket after setReuseAddress is called, simplify constructors.
503 2003-11-24 Michael Koch <konqueror@gmx.de>
505 * javax/swing/BoxLayout.java
506 (serialVersionUIR): New member variable.
507 (X_AXIS, Y_AXIS): Documentation added.
508 (LINE_AXIS, PAGE_AXIS): New constants.
509 (grid): Renamed from gridbag.
510 (BoxLayout): Use new constants, throw exception if invalid value for
511 way, added documentation.
512 (BoxLayout): Removed.
513 (addLayoutComponent): Use new constants, added documentation.
514 (removeLayoutComponent): Likewise.
515 (addLayoutContainer): Added documentation.
516 (preferredLayoutSize): Added documentation, check given argument.
517 (minimumLayoutSize): Likewise.
518 (layoutContainer): Likewise.
519 (getLayoutAlignmentX): Likewise.
520 (getLayoutAlignmentY): Likewise.
521 (invalidateLayout): Likewise.
522 (maximumLayoutSize): Likewise.
524 2003-11-22 Michael Koch <konqueror@gmx.de>
526 * gnu/java/net/natPlainDatagramSocketImplWin32.cc
527 (peekData): Use offset and maximal free space in datagram packet.
529 (send): Use offset in datagram packet.
531 2003-11-22 Michael Koch <konqueror@gmx.de>
533 * gnu/java/net/natPlainDatagramSocketImplPosix.cc
534 (peekData): Use offset and maximal free space in datagram packet.
536 (send): Use offset in datagram packet.
538 2003-11-22 Michael Koch <konqueror@gmx.de>
540 * gnu/java/nio/DatagramChannelImpl.java
541 (getNativeFD): Use getPlainDatagramSocketImpl().
542 * gnu/java/nio/NIODatagramSocket.java
543 (getPlainDatagramSocketImpl): Renamed from getImpl().
544 * gnu/java/nio/NIOSocket.java
545 (getPlainSocketImpl): Renamed from getImpl().
546 (setChannel): Use getPlainSocketImpl().
547 * gnu/java/nio/SocketChannelImpl.java
548 (SocketChannelImpl): Use getPlainSocketImpl().
549 (getPlainSocketImpl): Renamed from getImpl().
550 (getNativeFD): Use getPlainSocketImpl().
552 2003-11-18 Graydon Hoare <graydon@redhat.com>
554 * javax/swing/JLayeredPane.java: Implement.
555 * javax/swing/JFrame.java (getContentPane): Make public
556 * javax/swing/javax/swing/JRootPane.java (setContentPane):
557 Use JLayeredPane.FRAME_CONTENT_LAYER.
559 2003-11-21 Mark Wielaard <mark@klomp.org>
561 * java/lang/Float.java (static): Removed.
563 2003-11-18 Graydon Hoare <graydon@redhat.com>
565 * java/awt/font/TextLayout.java: Implement simple layouts
566 using attributed strings and glyph vectors.
568 2003-11-17 Graydon Hoare <graydon@redhat.com>
570 * gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: New file.
571 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java
572 (GdkFontLineMetrics): New inner class.
573 (getLineMetrics): Return new GdkFontLineMetrics.
574 (getFontMetrics): Return new GdkClasspathFontPeerMetrics.
575 (layoutGlyphVector): Create GdkGlyphVector.
576 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (stateStack): New member.
577 (GdkGraphics2D): Initialize state via mathod calls.
578 (cairoSetMatrix, cairoShowGlyphs): Simplify native calls.
579 (cairoTranslate, cairoScale, cairoRotate): Remove.
580 (various methods): use setTransform for special transform cases.
581 (DrawState): New inner class.
582 (stateSave): New method.
583 (stateRestore): New method.
584 (various methods): use stateSave, stateRestore.
585 (getClipInDevSpace): New method.
586 (clip, clipRect, setClip, getClip, getClipBounds):
587 Follow spec more closely.
588 (getTransform): Return clone of transform.
589 (setStroke): Set linewidth to passed width / 2.0.
590 (setPaintMode): Set SrcOver rather than Xor.
591 (setColor): Set paint to passed color.
592 (drawRaster, drawImage, PainterThread, drawPixels): Take affine
593 transform from image to user space.
594 (drawRenderedImage, drawRenderableImage): Implement.
595 (getFontRenderContext, getFontMetrics, drawString, getFont):
597 (drawArc, drawOval, drawRoundRect, fillArc, fillOval, fillRoundRect):
599 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
600 Match changes to java side.
601 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
603 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
604 Don't use pango for metrics.
605 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
608 2003-11-19 Guilhem Lavaux <guilhem@kaffe.org>
609 Jim Pick <jim@kaffe.org>
611 * java/text/DecimalFormat.java (getCurrency, setCurrency): New
614 2003-11-19 Guilhem Lavaux <guilhem@kaffe.org>
616 * java/text/DecimalFormatSymbols.java (getCurrency,
617 setCurrency): New methods.
619 2003-11-19 Sascha Brawer <brawer@dandelis.ch>
621 * java/awt/geom/FlatteningPathIterator.java: Entirely re-written.
622 * java/awt/geom/doc-files/FlatteningPathIterator-1.html:
623 Describe how the implementation works.
625 2003-11-19 Michael Koch <konqueror@gmx.de>
627 * java/net/Socket.java
628 (implCreated): New variable that indicates created impl.
629 (getImpl): New method.
630 (toString): Return more SUN compliant string representation.
631 (various): Use getImpl() instead of impl.
633 2003-11-19 Andreas Tobler <a.tobler@schweiz.ch>
635 * lib/libjava.exp: Add DYLD_LIBRARY_PATH for darwin. Look for
636 the right libgcc. Add -multiply_defined suppress and -bind_at_load
639 2003-11-18 Tom Tromey <tromey@redhat.com>
642 * verify.cc (state::copy): Only set local_changed if we're in a
643 subroutine. Correctly copy local variables which were modified
645 (push_jump_merge): Added more debugging output.
647 * jni.cc (_Jv_JNI_GetStringUTFChars): Fail gracefully if string
650 2003-11-17 Graydon Hoare <graydon@redhat.com>
652 * javax/swing/plaf/basic/BasicDefaults.java: Rewrite to spec.
653 * javax/swing/UIDefaults.java: Modify to reflect rewrite.
655 2003-11-16 Tom Tromey <tromey@redhat.com>
658 * java/io/StreamTokenizer.java (commentChar): Clear other
659 attributes for character.
660 (quoteChar): Likewise.
662 2003-11-14 Thomas Fitzsimmons <fitzsim@redhat.com>
664 * java/awt/GridBagLayout.java (getLayoutDimensions): Return array of two
665 zero-length int arrays when layoutInfo is null.
666 (getLayoutWeights): Return array of two zero-length double arrays when
669 2003-11-13 Tom Tromey <tromey@redhat.com>
671 * jni.cc (_Jv_JNI_GetStringUTFChars): Pass length of string to
672 JvGetStringUTFRegion.
673 * java/lang/natPosixProcess.cc (new_string): Pass length of string
674 to JvGetStringUTFRegion.
675 * java/lang/natDouble.cc (parseDouble): Pass length of string to
676 JvGetStringUTFRegion.
677 * java/lang/natWin32Process.cc (startProcess): Pass length of
678 string to JvGetStringUTFRegion.
679 * java/lang/natClass.cc (forName): Pass length of string to
680 JvGetStringUTFRegion.
681 * gnu/gcj/runtime/natNameFinder.cc (getExternalLabel): Pass length
682 of string to JvGetStringUTFRegion.
683 * gnu/gcj/convert/natIconv.cc (init): Pass length of string to
684 JvGetStringUTFRegion.
685 * gnu/awt/gtk/natGtkLabelPeer.cc (setText): Pass length of string
686 to JvGetStringUTFRegion.
687 * gnu/awt/gtk/natGtkButtonPeer.cc (setLabel): Pass length of
688 string to JvGetStringUTFRegion.
690 2003-11-13 Mohan Embar <gnustuff@thisiscool.com>
692 * gnu/java/nio/natSelectorImplPosix.cc
693 (helper_put_filedescriptors): Change to static linkage.
694 (helper_get_filedescriptors): Likewise.
696 2003-11-12 Thomas Fitzsimmons <fitzsim@redhat.com>
698 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Remove
700 * gnu/java/awt/peer/gtk/GtkToolkit.java (prepareImage): Likewise.
701 * java/awt/Component.java (prepareImage): Likewise.
703 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (setAlignment):
704 Rename to nativeSetAlignment.
706 2003-11-11 Danny Smith <dannysmith@users.sourceforge.net>
708 * jni.cc (JNI_CreateJavaVM): Remove JNIEXPORT.
709 (JNI_GetCreatedJavaVMs): Likewise.
710 (JNI_GetDefaultJavaVMInitArgs): Likewise.
711 * include/jni.h (JNIIMPEXP): Remove definition
713 (__GCJ_JNIIMPEXP__): New macro, applicable only to libgcj
715 (__GCJ_DLL__): New macro, controlling __GCJ_JNIIMPEXP__.
717 2003-11-11 Thomas Fitzsimmons <fitzsim@redhat.com>
719 * Makefile.am: Add GdkPixbufDecoder.java and
720 gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
721 * Makefile.in: Regenerate.
722 * gnu/java/awt/image/ImageDecoder.java (ImageDecoder(byte[],int,int)):
724 (startProduction): Create ByteArrayInputStream when url and filename are
726 (produce): Declare stream parameter as InputStream.
727 * gnu/java/awt/image/XBMDecoder.java (produce): Declare stream parameter
729 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
730 (GdkPixbufDecoder(byte[],int,int)): New constructor.
731 (produce): Declare stream parameter as InputStream.
732 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Throw NPE
733 if image is null. Set image's observer before running PrepareImage
734 thread. Pass image to startProduction.
735 * gnu/java/awt/peer/gtk/GtkImage.java: Add null checks before calls to
736 source's member functions.
737 (observer): New field.
738 (setObserver): New method.
739 (setDimensions, setPixels, imageComplete): Call observer's imageUpdate.
740 * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage, getImage): Return
742 (prepareImage): Implement.
743 * java/awt/Component.java: Add static fields incrementalDraw and
745 (imageUpdate): Implement.
746 (createImage): Call Toolkit's createImage if peer is null.
747 (prepareImage): Throw NPE if image is null.
748 * java/awt/MediaTracker.java: Fix return value.
750 2003-11-11 Thomas Fitzsimmons <fitzsim@redhat.com>
752 * gnu/java/awt/peer/gtk/GtkLabelPeer.java (create()): Call new create.
753 (create(String, float)): New method.
754 (setText): Make native.
755 (nativeSetAlignment): New method.
756 (setAlignment): Call nativeSetAlignment.
757 (getArgs): Remove method.
758 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
759 (find_fg_color_widget, find_bg_color_widget): New functions.
760 (gtkWidgetSetForeground): Call find_fg_color_widget.
761 (gtkWidgetSetBackground): Call find_bg_color_widget. Modify active and
763 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create): Wrap label
765 (setText, setAlignment): Implement new native methods.
767 2003-11-11 Michael Koch <konqueror@gmx.de>
769 * java/awt/Font.java,
770 java/awt/datatransfer/DataFlavor.java,
771 java/math/BigInteger.java,
772 java/net/Inet4Address.java,
773 java/net/Inet6Address.java,
774 java/rmi/MarshalledObject.java,
775 java/rmi/server/RMIClassLoader.java,
776 java/security/cert/CertStore.java,
777 java/sql/Timestamp.java,
778 java/text/SimpleDateFormat.java,
779 javax/naming/CompoundName.java:
780 Removed some redundant obj == null checks.
782 2003-11-11 Michael Koch <konqueror@gmx.de>
784 * java/nio/ByteBuffer.java
785 (equals): Remove redundant obj == null check.
787 2003-11-11 Michael Koch <konqueror@gmx.de>
789 * gnu/java/nio/natPipeImpl.cc,
790 gnu/java/nio/natSelectorImpl.cc: Removed
791 * gnu/java/nio/natPipeImplEcos.cc,
792 gnu/java/nio/natPipeImplPosix.cc,
793 gnu/java/nio/natPipeImplWin32.cc,
794 gnu/java/nio/natSelectorImplEcos.cc,
795 gnu/java/nio/natSelectorImplPosix.cc,
796 gnu/java/nio/natSelectorImplWin32.cc: New files
797 * configure.in: Create links for gnu/java/nio/natPipeImpl.cc and
798 gnu/java/nio/natSelectorImpl.cc
799 * configure: Regenerated.
801 2003-11-11 Micheal Koch <konqueror@gmx.de>
803 * java/net/URLStreamHandler.java (toExternalForm): Print port only
804 if host is printed too and port was really given to URL.
806 2003-11-10 Gary Benson <gbenson@redhat.com>
808 * java/sql/Timestamp.java (valueOf): Correctly handle
811 2003-11-09 Tom Tromey <tromey@redhat.com>
813 * java/net/Inet4Address.java (serialVersionUID): Updated.
815 2003-11-08 Jeff Sturm <jsturm@one-point.com>
817 * gnu/gcj/runtime/FirstThread.java (Klocale, Kcalendar):
820 2003-11-08 Jeff Sturm <jsturm@one-point.com>
822 * java/io/ByteArrayOutputStream.java (resize):
823 Fix off-by-one error.
825 2003-11-08 Bryce McKinlay <bryce@mckinlay.net.nz>
827 * gnu/gcj/xlib/XAnyEvent.java (XAnyEvent): Make constructor
830 2003-11-06 Mohan Embar <gnustuff@thisiscool.com>
833 * java/lang/Win32Process.java (hasExited) Changed from
835 (startProcess): Likewise.
837 * java/lang/natWin32Process.cc (cleanup) Don't close
838 input, output and error streams.
839 (ChildProcessPipe): New helper class.
840 (startProcess): Refactored to use ChildProcessPipe.
841 Use CREATE_NO_WINDOW when launching child process.
843 2003-11-06 Mohan Embar <gnustuff@thisiscool.com>
845 * include/win32.h (_Jv_platform_close_on_exec): Changed
846 signature and declared extern.
847 * win32.cc (_Jv_platform_close_on_exec): Implemented.
848 * gnu/java/net/natPlainDatagramSocketImplWin32.cc
849 (create): Use new signature of _Jv_platform_close_on_exec.
850 * gnu/java/net/natPlainSocketImplWin32.cc
851 (create): Eliminated a few typecasts
852 Use new signature of _Jv_platform_close_on_exec.
853 (accept): Eliminated a few typecasts
854 Use new signature of _Jv_platform_close_on_exec.
855 * java/io/natFileDescriptorWin32.cc (open): Use
856 _Jv_platform_close_on_exec.
858 2003-11-04 Bryce McKinlay <bryce@mckinlay.net.nz>
860 * java/lang/natClass.cc (newInstance): Throw InstantiationException
861 if class has no null-argument constructor.
863 2003-10-30 Mohan Embar <gnustuff@thisiscool.com>
866 * win32-threads.cc (_Jv_CondWait): Respect mutex's
867 refcount when releasing and reacquiring it.
869 2003-10-30 Mohan Embar <gnustuff@thisiscool.com>
871 * win32.cc: (dirExists) Internal helper function to
872 test for directory existence.
873 (getUserHome) New helper function refactored out
874 of _Jv_platform_initProperties. Uses USERPROFILE
875 instead of HOMEDIR and attempts to support Win9X and NT.
876 (_Jv_platform_initProperties) Use getUserHome.
878 2003-10-30 Mohan Embar <gnustuff@thisiscool.com>
881 * gnu/java/net/natPlainSocketImplWin32.cc
882 (bind): Don't use SO_REUSEADDR
884 2003-10-30 Mohan Embar <gnustuff@thisiscool.com>
887 * java/io/natFileWin32.cc (getCanonicalPath): Treat "" like ".".
889 2003-10-30 Bryce McKinlay <bryce@mckinlay.net.nz>
891 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Don't use vtable
892 dispatch for final methods.
894 2003-10-30 Thomas Fitzsimmons <fitzsim@redhat.com>
896 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create): Turn on
899 2003-10-29 Thomas Fitzsimmons <fitzsim@redhat.com>
901 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (getSize): Return
902 scrolled window's size request.
904 2003-10-29 Sascha Brawer <brawer@dandelis.ch>
906 * java/awt/geom/CubicCurve2D.java (contains): Docfix for URL of embedded drawing.
907 * java/awt/geom/QuadCurve2D.java: Likewise.
909 2003-10-29 Sascha Brawer <brawer@dandelis.ch>
911 * java/awt/geom/CubicCurve2D.java: Added documentation.
912 * java/awt/geom/QuadCurve2D.java: Likewise.
914 * java/awt/geom/doc-files/QuadCurve2D-4.png,
915 java/awt/geom/doc-files/QuadCurve2D-5.png,
916 java/awt/geom/doc-files/CubicCurve2D-4.png,
917 java/awt/geom/doc-files/Cubicurve2D-5.png: New illustrations.
919 2003-10-29 Sascha Brawer <brawer@dandelis.ch>
921 * java/awt/geom/CubicCurve2D.java (getFlatnessSq): Implement.
922 (subdivide(CubicCurve2D, CubicCurve2D)): Avoid useless object allocation.
923 (subdivide(double[],int,double[],int,double[],int)): Implement.
925 2003-10-29 Sascha Brawer <brawer@dandelis.ch>
927 * java/awt/geom/doc-files/CubicCurve2D-1.png,
928 java/awt/geom/doc-files/CubicCurve2D-2.png,
929 java/awt/geom/doc-files/CubicCurve2D-3.png: New illustrations.
931 2003-10-29 Ito Kazumitsu <kaz@maczuka.gcd.org>
933 * java/text/DecimalFormat.java
934 (scanFormat) corrected so that '%' may appear in a pattern.
936 2003-10-29 Mark Wielaard <mark@klomp.org>
938 From Guilhem Lavaux <guilhem.lavaux@free.fr>
939 * java/text/DateFormat.java (Field): New public static inner class.
940 * java/text/Format.java (Field): Likewise.
941 (formatToCharacterIterator): New method.
942 * java/text/FormatCharacterIterator.java: New file.
944 2003-10-29 Mark Wielaard <mark@klomp.org>
946 From Guilhem Lavaux <guilhem.lavaux@free.fr>
947 * java/util/Currency.java: New file.
949 2003-10-29 Michael Koch <konqueror@gmx.de>
951 * Makefile.am (ordinary_java_source_files): Added
952 java/text/FormatCharacterIterator.java and java/util/Currency.java.
953 * Makefile.in: Regenerated.
955 2003-10-29 Dalibor Topic <robilad@kaffe.org>
957 * gnu/java/beans/IntrospectionIncubator.java (addMethod): Add public
960 2003-10-29 Julian Dolby <dolby@us.ibm.com>
962 * javax/naming/spi/NamingManager.java (getContinuationContext): Call
963 getObjectInstance() with Object, Name, Context and environment
964 Hashtable from exception. Call fillInStackTrace() on exception when
966 * javax/naming/InitialContext.java (lookup(Name)): When a
967 CannotProceedException is thrown use the ContinuationContext.
968 (lookup(String)): Likewise.
969 (close): Clear myProps and defaultInitCtx.
971 2003-10-29 Michael Koch <konqueror@gmx.de>
973 * java/net/InetAddress.java
974 (equals): Remove redundant obj == null check.
975 * java/net/SocketPermission.java
979 (getURLStreamHandler): Likewise.
981 2003-10-29 Michael Koch <konqueror@gmx.de>
983 * gnu/java/net/natPlainDatagramSocketImplPosix.cc
984 (setOption): Directly return if no error occured.
985 * gnu/java/net/natPlainSocketImplPosix.cc
986 (setOption): Likewise.
988 2003-10-28 Bryce McKinlay <bryce@mckinlay.net.nz>
990 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Always assign a
991 vtable slot for final methods. Add FIXME comment.
993 2003-10-28 David S. Miller <davem@redhat.com>
995 * sysdep/sparc/locks.h (__cas_start_atomic): %g0 --> %%g0.
997 2003-10-26 Mark Wielaard <mark@klomp.org>
999 Reported by Helmer Kraemer <hkraemer@freenet.de>
1000 * java/util/jar/JarInputStream.java (readManifest): Don't call
1003 * java/util/zip/DeflaterOutputStream.java (inbufWrite): New method.
1004 (finish): Use inbufWrite().
1005 (write(int)): Likewise.
1006 (write(byte[],int,int)): Likewise.
1008 2003-10-26 Bryce McKinlay <bryce@mckinlay.net.nz>
1010 * java/lang/reflect/AccessibleObject.java (secureSetAccessible):
1011 Don't check for AccessibleObject. Update javadocs.
1013 * java/util/TreeMap.java: Doc fixes. HashMap -> TreeMap.
1015 2003-10-26 Bryce McKinlay <bryce@mckinlay.net.nz>
1017 * java/lang/reflect/Constructor.java (toString): Avoid extra
1018 whitespace on constructor with no modifiers.
1019 * java/lang/reflect/natConstructor.java (newInstance): Look up
1020 caller and perform accessibility check only if constructor is
1021 non-public and accessible flag is not set.
1023 2003-10-26 Bryce McKinlay <bryce@mckinlay.net.nz>
1025 * jni.cc (_Jv_JNI_CallAnyMethodV, _Jv_JNI_CallAnyMethodA,
1026 _Jv_JNI_CallAnyVoidMethodV, _Jv_JNI_CallAnyVoidMethodA): Don't
1027 use _Jv_LookupDeclaredMethod(). Call _Jv_CallAnyMethodA with
1028 is_virtual_call argument.
1029 * include/jvm.h (_Jv_isVirtualMethod): Moved and renamed from
1031 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use
1032 _Jv_isVirtualMethod.
1033 * java/lang/reflect/natMethod.cc (invoke): Don't use
1034 _Jv_LookupDeclaredMethod.
1035 (_Jv_CallAnyMethodA): New is_virtual_call argument. If specified,
1036 look up method in target object's vtable.
1038 2003-10-25 Graydon Hoare <graydon@redhat.com>
1040 * gnu/java/awt/ClasspathToolkit.java: New abstract class.
1041 * gnu/java/awt/peer/ClasspathFontPeer.java: New abstract class.
1042 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
1043 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
1044 New concrete implementation of ClasspathFontPeer, with native part.
1045 * gnu/java/awt/peer/gtk/GdkGlyphVector.java,
1046 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
1047 New class, with native part.
1048 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1049 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
1050 implement setFont, cairoSetFont, drawGlyphVector, cairoShowGlyphs.
1052 2003-10-25 Bryce McKinlay <bryce@mckinlay.net.nz>
1054 * java/lang/reflect/Method.java (toString): Avoid extra whitespace
1055 on method with no modifiers.
1057 2003-10-25 Bryce McKinlay <bryce@mckinlay.net.nz>
1060 * java/lang/reflect/natMethod.cc (invoke): Look up caller and perform
1061 accessibility check only if target is non-public and accessible flag
1063 * java/lang/reflect/natField.cc (getAddr): Likewise.
1065 2003-10-24 Thomas Fitzsimmons <fitzsim@redhat.com>
1067 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (handleEvent):
1069 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postWindowEvent):
1071 * java/awt/Window.java (Window(Window,GraphicsConfiguration),
1072 show, hide, dispose, getOwnedWindows): Synchronize on tree lock.
1073 (dispose): Post WINDOW_CLOSED event.
1074 (addWindowFocusListener, addWindowStateListener): Assign result
1075 of multicaster add back to window listener.
1076 (removeWindowFocusListener, removeWindowStateListener): Assign
1077 result of multicaster remove back to window listener.
1078 (dispatchEventImpl): Add null checks for focus and state
1080 (processWindowEvent): Handle case where windowListener is null
1081 but state or focus listeners exist.
1082 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
1083 glue for postWindowEvent.
1084 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1085 (window_delete_cb, window_destroy_cb, window_show_cb,
1086 window_focus_in_cb, window_focus_out_cb, window_window_state_cb,
1087 window_get_new_state): New functions.
1088 * jni/gtk-peer/gtkpeer.h: Define window event and frame state
1089 macros. Declare postWindowEventID.
1091 2003-10-24 Anthony Green <green@redhat.com>
1093 * java/lang/natClass.cc (_Jv_LinkSymbolTable): Fix case where
1094 we have no interpreter.
1096 2003-10-22 Andrew Haley <aph@redhat.com>
1098 * java/lang/natClass.cc (initializeClass): Call
1099 _Jv_linkExceptionClassTable.
1100 (_Jv_LinkSymbolTable): Call )_Jv_ThrowNoSuchMethodError. Call
1101 _Jv_Defer_Resolution on a method whose ncode is NULL.
1102 (_Jv_linkExceptionClassTable): New function.
1103 (_Jv_LayoutVTableMethods): If superclass looks like a constant pool
1105 * java/lang/Class.h (struct _Jv_CatchClass): New.
1106 (_Jv_linkExceptionClassTable): New friend.
1107 (_Jv_Defer_Resolution): New friend.
1108 (class Class.catch_classes): New field.
1109 * include/java-interp.h (Jv_Defer_Resolution): New method.
1110 (_Jv_PrepareClass): Make a friend of _Jv_MethodBase.
1111 (_Jv_MethodBase.deferred): New field.
1112 (_Jv_Defer_Resolution): New function.
1113 * resolve.cc (_Jv_PrepareClass): Resolve deferred handlers.
1114 * exception.cc (get_ttype_entry): Change return type to void**.
1115 (PERSONALITY_FUNCTION): Remove all code related to using a
1116 Utf8Const* for a match type. Change match type to be a pointer to
1117 a pointer, rather than a pointer to a Class.
1118 * defineclass.cc (handleCodeAttribute): Initialize
1120 (handleMethodsEnd): Likewise.
1122 2003-10-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1124 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Use
1125 _Jv_MutexCheckMonitor instead of accessing mutex.owner directly.
1127 2003-10-22 Tom Tromey <tromey@redhat.com>
1130 * java/lang/Class.h: Updated.
1131 * java/lang/natClass.cc (_getFields): Removed.
1132 (getFields): Likewise.
1133 (getDeclaredFields): Added `public_only' parameter.
1134 * java/lang/Class.java (getFields): Now implemented in java; from
1136 (getDeclaredFields): Likewise.
1137 (getDeclaredFields(boolean)): Declare.
1138 (_getFields): Removed.
1139 (internalGetFields): New method, from Classpath.
1142 * gnu/gcj/runtime/natFirstThread.cc (call_main): Use
1143 _Jv_LookupDeclaredMethod, not _Jv_GetMethodLocal.
1145 2003-10-22 David Daney <ddaney@avtrex.com)
1147 * include/mips-signal.h: New file.
1148 * sysdep/dwarf2-backtrace.cc: New file.
1149 * sysdep/mips: New directory.
1150 * sysdep/mips/locks.h: New file.
1151 * Makefile.am(extra_cc_files): New, to allow extra c++ files to be
1153 (extra_cc_source_files): Ditto.
1154 * configure.host(disable_dladdr): New shell variable passed to
1156 (mips*-*-linux*): sysdeps_dir=mips,
1157 can_unwind_signal=yes, disable_dladdr=yes, use -mxgot.
1158 (mipsel*-linux* | mipsisa32el*-linux*): Enable hash synchronization.
1159 * configure.in:(mips*-*-linux*): Use sysdep/dwarf2-backtrace.cc to
1160 generate backtrace, and include/mips-signal.h as SIGNAL_HANDLER
1161 (HAVE_DLADDR): Make it depend on setting of disable_dladdr.
1162 (EXTRA_CC_FILES): New, to support conditional addition of
1163 sysdep/dwarf2-backtrace.cc.
1164 * configure: Regenerated.
1165 * Makefile.in: Regenerated.
1166 * gcj/Makefile.in: Regenerated.
1167 * include/config.h.in: Regenerated.
1168 * include/Makefile.in: Regenerated.
1169 * testsuite/Makefile.in: Regenerated.
1171 2003-10-22 Sascha Brawer <brawer@dandelis.ch>
1173 * java/awt/geom/QuadCurve2D.java (subdivide): Added documentation.
1174 java/awt/geom/doc-files/QuadCurve2D-3.png: New illustration.
1176 2003-10-22 Sascha Brawer <brawer@dandelis.ch>
1178 * java/awt/geom/QuadCurve2D.java: Reformatted, wrote Javadoc.
1179 * java/awt/geom/doc-files: New directory.
1180 * java/awt/geom/doc-files/QuadCurve2D-1.png,
1181 java/awt/geom/doc-files/QuadCurve2D-2.png: New illustrations.
1183 2003-10-22 Sascha Brawer <brawer@dandelis.ch>
1185 * java/awt/geom/QuadCurve2D.java (subdivide): Implement.
1187 2003-10-22 Sascha Brawer <brawer@dandelis.ch>
1189 * java/awt/geom/QuadCurve2D.java (getFlatness, getFlatnessSq): Implement.
1191 2003-10-22 Michael Koch <konqueror@gmx.de>
1194 (equals): Removed redundant obj == null check.
1195 (createTempFile): Merged comments from classpath.
1197 2003-10-21 Sascha Brawer <brawer@dandelis.ch>
1199 Fix for bug #2944, reported by David Holmes <dholmes@dltech.com.au>
1200 * java/util/logging/ErrorManager.java (everUsed): Made volatile.
1201 (error): Synchronize on instance, not class.
1203 2003-10-21 Mark Wielaard <mark@klomp.org>
1205 Reported by M.Negovanovic
1206 * java/beans/Introspector.java (getBeanInfo(ClassLoader, String)): New
1208 (reallyFindExplicitBeanInfo): Use new getBeanInfo() method.
1210 2003-10-21 Sascha Brawer <brawer@dandelis.ch>
1212 Fix for Classpath bug #6076.
1213 * java/awt/geom/GeneralPath.java (append): Re-written.
1215 2003-10-21 Sascha Brawer <brawer@dandelis.ch>
1217 Fix for Classpath bug #6089.
1218 * java/awt/geom/GeneralPath.java (curveTo): Set correct segment type.
1219 (getPathIterator, GeneralPathIterator): Re-written from scratch.
1221 2003-10-21 Sascha Brawer <brawer@dandelis.ch>
1223 * java/awt/geom/GeneralPath.java (getCurrentPoint): Return last
1224 point, not start of subpath. Fixes Classpath bug #6075.
1226 2003-10-21 Michael Koch <konqueror@gmx.de>
1228 * java/nio/ByteOrder.java,
1229 java/nio/DirectByteBufferImpl.java,
1230 java/nio/channels/FileChannelImpl.java:
1231 Add code to load library with code for native methods if needed.
1233 2003-10-21 Michael Koch <konqueror@gmx.de>
1235 * gnu/java/net/PlainDatagramSocketImpl.java,
1236 gnu/java/net/PlainSocketImpl.java,
1237 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
1238 gnu/java/net/natPlainDatagramSocketImplWin32.cc,
1239 gnu/java/net/natPlainSocketImplPosix.cc,
1240 gnu/java/net/natPlainSocketImplWin32.cc:
1241 Renamed fnum to native_fd to match classpath more.
1243 2003-10-21 Jerry Quinn <jlquinn@optonline.net>
1245 * posix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename
1246 _Jv_PthreadCheckMonitor to _Jv_MutexCheckMonitor.
1247 * include/no-threads.h (_Jv_MutexCheckMonitor): New.
1248 * include/posix-threads.h (_Jv_MutexCheckMonitor): Rename from
1249 _Jv_PthreadCheckMonitor. Simplify code.
1250 (_Jv_MutexUnlock): Use _Jv_MutexCheckMonitor.
1251 * include/win32-threads.h (_Jv_MutexCheckMonitor): New.
1252 * java/lang/Object.h (_Jv_ObjectCheckMonitor): Declare.
1253 * java/lang/Thread.java (holdsLock): New.
1254 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): New, with and
1255 without JV_HASH_SYNCHRONIZATION.
1256 * java/lang/natThread.cc (java::lang::Thread::holdsLock): New.
1258 2003-10-20 Michael Koch <konqueror@gmx.de>
1260 * java/text/RuleBasedCollator.java
1261 (RuleBasedCollator): Check rules not empty, fixed search in already
1262 existing collation elements.
1263 (is_special): Removed common whitespace characters.
1264 (text_argument): Dont return on whitespaces, add characters between
1265 two ' to string buffer.
1267 2003-10-18 Michael Koch <konqueror@gmx.de>
1269 * gnu/java/net/protocol/file/Connection.java,
1270 gnu/java/net/protocol/file/Handler.java,
1271 gnu/java/net/protocol/http/Connection.java,
1272 gnu/java/net/protocol/http/Handler.java,
1273 gnu/java/net/protocol/jar/Connection.java,
1274 gnu/java/net/protocol/jar/Handler.java:
1275 Merged copyright text from classpath to make
1276 it possible to merge the classes.
1278 2003-10-18 Mark Wielaard <mark@klomp.org>
1280 Reported by M.Negovanovic
1281 * java/beans/IndexedPropertyDescriptor.java
1282 (IndexedPropertyDescriptor): this.setIndex = setIndex, not getIndex.
1284 2003-10-17 Mohan Embar <gnustuff@thisiscool.com>
1286 * win32.cc (_Jv_pipe): Implemented.
1287 * gnu/java/nio/natPipeImpl.cc (nativeInit): Use
1288 _Jv_pipe instead of ::pipe.
1289 * include/posix.h (_Jv_pipe): New inline.
1290 * include/win32.h (_Jv_pipe): New declaration.
1292 2003-10-17 Ralph Loader <rcl@ihug.co.nz>
1294 * java/lang/StringBuffer.java (getChars): Fix array index checks.
1295 (append, substring, insert): Likewise.
1296 * testsuite/libjava.lang/StringBuffer_overflow.java: New file.
1297 * testsuite/libjava.lang/StringBuffer_overflow.out: New file.
1299 2003-10-17 Ralph Loader <rcl@ihug.co.nz>
1301 * java/lang/natString.cc (getChars):
1302 Fix validation of array indexes.
1303 (getBytes, regionMatches, startsWith, valueOf): Likewise.
1304 * testsuite/libjava.lang/String_overflow.java: New file.
1305 * testsuite/libjava.lang/String_overflow.out: New file.
1307 2003-10-17 Ralph Loader <rcl@ihug.co.nz>
1309 * prims.cc (_Jv_NewObjectArray): Make sure byte size doesn't
1311 (_Jv_NewPrimArray): Check for overflowing a jint, replacing a
1312 check for overflowing size_t, since the lower level functions
1314 * testsuite/libjava.lang/newarray_overflow.java: New file.
1315 * testsuite/libjava.lang/newarray_overflow.out: New file.
1317 2003-10-15 Michael Koch <konqueror@gmx.de>
1319 * java/text/RuleBasedCollator.java
1320 (RuleBasedCollator): Moved around, documentation added.
1321 (compare): Documentation added.
1323 (getCollationElementIterator): Likewise.
1324 (getCollationKey): Likewise.
1325 (getRules): Likewise.
1326 (hashCode): Likewise.
1328 2003-10-15 Michael Koch <konqueror@gmx.de>
1330 * java/text/RuleBasedCollator.java
1331 (CollationElement): Renamed from RBCElement and moved into
1332 RuledBasedCollator as inner class.
1334 2003-10-15 Michael Koch <konqueror@gmx.de>
1336 * java/text/CollationElementIterator.java
1337 (CollationElementIterator): Moved, documenatation added, call setText.
1339 (reset): Reformated.
1340 (setText): New method.
1341 (getOffset): New method.
1342 * java/text/CollationKey.java
1343 (getSourceString): Reformated.
1344 (hashCode): Reformated.
1345 (toByteArray): Reformated.
1347 2003-10-15 Michael Koch <konqueror@gmx.de>
1349 * java/util/zip/InflaterInputStream.java
1350 (InflaterInputStream): Renamed infl to inf and bufsize to size,
1351 added description to exception, check for inf == null and size < 0.
1353 2003-10-15 Michael Koch <konqueror@gmx.de>
1355 * java/text/AttributedCharacterIterator.java,
1356 java/text/CharacterIterator.java: Reformated.
1358 2003-10-15 Michael Koch <konqueror@gmx.de>
1360 * javax/swing/UIDefaults.java (putDefaults):
1361 Readded accidently removed "public" modifier.
1363 2003-10-14 Paolo Bonzini <bonzini@gnu.org>
1365 * interpret.cc (_Jv_InterpMethod::run): Don't
1366 use libffi types, they were meant to be internal.
1367 * gcj/javaprims.h (_Jv_ulong): New typedef.
1369 2003-10-13 Tom Tromey <tromey@redhat.com>
1371 * java/lang/natClassLoader.cc (_Jv_InitNewClassFields): Removed.
1372 (defineClass): Updated.
1373 (_Jv_NewClass): Likewise.
1374 * prims.cc (_Jv_InitPrimClass): Don't call
1375 _Jv_InitNewClassFields.
1377 2003-10-13 Taras Glek <taras.judge@shaw.ca>
1380 * gnu/java/net/protocol/http/Connection.java (connect): Use \r\n,
1383 2003-10-13 Michael Koch <konqueror@gmx.de>
1385 * java/io/File.java: Reformated.
1386 (equals): Check for obj == null.
1388 2003-10-13 Michael Koch <konqueror@gmx.de>
1390 * java/net/JarURLConnection.java
1391 (jarFileURL): Added dcoumentation.
1392 (jarFileURLConnection): Reformated documentation.
1393 (entryName): Renamed from "element", documentation rewritten.
1394 (connectionCache): Renamed from "conn_cache", documentation
1396 (JarURLConnection): Check URL protocol.
1397 (getEntryName): Use entryName.
1398 (connect): Use connectionCache.
1399 (getInputStream): Use entryName, fixed comment.
1400 (getJarEntry): Use entryName.
1401 (getHeaders): Use entryName.
1402 * java/net/URLConnection.java
1403 (addRequestProperty): Fixed documentation.
1404 (setDefaultRequestProptery): Added comment that it does nothing since
1406 (getDefaultRequestProperty): Likewise.
1408 2003-10-13 Michael Koch <konqueror@gmx.de>
1410 * java/net/java/net/URLStreamHandlerFactory.java
1411 (createURLStreamHandler): Removed redundant "public" modifier.
1412 * java/sql/DatabaseMetaData.java:
1413 (DatabaseMetaData): Readded accidently removed "public" modifier.
1414 * java/sql/ParameterMetaData.java:
1415 (ParameterMetaData): Readded accidently removed "public" modifier.
1416 * java/sql/PreparedStatement.java:
1417 (PreparedStatement): Readded accidently removed "public" modifier.
1418 * java/sql/Ref.java:
1419 (Ref): Readded accidently removed "public" modifier.
1421 2003-10-13 Michael Koch <konqueror@gmx.de>
1423 * java/nio/Buffer.java
1424 (hasRemaining): Made implementation more clear.
1425 * java/nio/MappedByteBuffer.java
1426 (loaded): New member variable.
1427 (force): Added comment.
1428 (isLoaded): Return value of loaded.
1429 (load): Set loaded to true, added comment.
1431 2003-10-12 Michael Koch <konqueror@gmx.de>
1433 * gnu/java/nio/PipeImpl.java
1434 (SourceChannelImpl): New inner class.
1435 (SinkChannelImpl): New inner class.
1436 (sink): New member variable.
1437 (source): New member variable.
1438 (PipeImpl): Add SelectorProvider argument, implemented.
1439 (nativeInit): New method.
1440 (sink): Return sink channel.
1441 (source): Return source channel.
1442 * gnu/java/nio/SelectorProviderImpl.java
1443 (openPipe): Give provider as argument to PipeImpl constructor.
1444 * java/nio/channels/spi/SelectorProvider.java
1446 (systemDefaultProvider): New member variable.
1447 (provider): Made it synchronized, use property
1448 java.nio.channels.spi.SelectorProvider.
1449 * gnu/java/nio/natPipeImpl.cc: New file.
1450 * Makefile.am (nat_source_files): Added gnu/java/nio/natPipeImpl.cc.
1451 * Makefile.in: Regenerated.
1453 2003-10-12 Michael Koch <konqueror@gmx.de>
1455 * javax/swing/table/DefaultTableModel.java,
1456 javax/swing/table/TableCellEditor.java,
1457 javax/swing/table/TableCellRenderer.java,
1458 javax/swing/table/TableColumnModel.java,
1459 javax/swing/table/TableModel.java,
1460 javax/swing/text/AbstractDocument.java,
1461 javax/swing/text/Document.java,
1462 javax/swing/text/MutableAttributeSet.java,
1463 javax/swing/text/StyledDocument.java,
1464 javax/swing/text/ViewFactory.java,
1465 javax/swing/tree/DefaultMutableTreeNode.java,
1466 javax/swing/tree/MutableTreeNode.java,
1467 javax/swing/tree/RowMapper.java,
1468 javax/swing/tree/TreeCellEditor.java,
1469 javax/swing/tree/TreeCellRenderer.java,
1470 javax/swing/tree/TreeModel.java,
1471 javax/swing/tree/TreeNode.java,
1472 javax/swing/tree/TreeSelectionModel.java,
1473 javax/swing/undo/StateEditable.java,
1474 javax/swing/undo/UndoableEdit.java:
1475 Removed redundant modifiers.
1477 2003-10-12 Michael Koch <konqueror@gmx.de>
1479 * javax/swing/event/AncestorListener.java,
1480 javax/swing/event/CaretListener.java,
1481 javax/swing/event/CellEditorListener.java,
1482 javax/swing/event/ChangeListener.java,
1483 javax/swing/event/DocumentEvent.java,
1484 javax/swing/event/DocumentListener.java,
1485 javax/swing/event/HyperlinkListener.java,
1486 javax/swing/event/InternalFrameListener.java,
1487 javax/swing/event/ListDataListener.java,
1488 javax/swing/event/ListSelectionListener.java,
1489 javax/swing/event/MenuDragMouseListener.java,
1490 javax/swing/event/MenuKeyListener.java,
1491 javax/swing/event/MenuListener.java,
1492 javax/swing/event/MouseInputListener.java,
1493 javax/swing/event/PopupMenuListener.java,
1494 javax/swing/event/TableColumnModelListener.java,
1495 javax/swing/event/TableModelListener.java,
1496 javax/swing/event/TreeExpansionListener.java,
1497 javax/swing/event/TreeModelListener.java,
1498 javax/swing/event/TreeSelectionListener.java,
1499 javax/swing/event/TreeWillExpandListener.java,
1500 javax/swing/event/UndoableEditListener.java,
1501 javax/swing/plaf/UIResource.java,
1502 javax/swing/plaf/metal/MetalLookAndFeel.java:
1503 Removed redundant modifiers.
1505 2003-10-12 Michael Koch <konqueror@gmx.de>
1507 * javax/swing/Action.java,
1508 javax/swing/BoundedRangeModel.java,
1509 javax/swing/CellEditor.java,
1510 javax/swing/ComboBoxEditor.java,
1511 javax/swing/ComboBoxModel.java,
1512 javax/swing/DesktopManager.java,
1513 javax/swing/JComboBox.java,
1514 javax/swing/ListCellRenderer.java,
1515 javax/swing/ListSelectionModel.java,
1516 javax/swing/MenuElement.java,
1517 javax/swing/MutableComboBoxModel.java,
1518 javax/swing/Renderer.java,
1519 javax/swing/RootPaneContainer.java,
1520 javax/swing/ScrollPaneConstants.java,
1521 javax/swing/SingleSelectionModel.java,
1522 javax/swing/SpinnerModel.java,
1523 javax/swing/SwingConstants.java,
1524 javax/swing/UIDefaults.java,
1525 javax/swing/WindowConstants.java,
1526 javax/swing/border/Border.java,
1527 javax/swing/colorchooser/ColorSelectionModel.java:
1528 Removed redundant modifiers.
1530 2003-10-11 Michael Koch <konqueror@gmx.de>
1532 * javax/transaction/Status.java,
1533 javax/transaction/Synchronization.java,
1534 javax/transaction/Transaction.java,
1535 javax/transaction/TransactionManager.java,
1536 javax/transaction/UserTransaction.java,
1537 javax/transaction/xa/XAResource.java,
1538 javax/transaction/xa/Xid.java:
1539 Removing redundant modifiers.
1541 2003-10-11 Michael Koch <konqueror@gmx.de>
1543 * javax/print/attribute/Attribute.java,
1544 javax/print/attribute/AttributeSet.java,
1545 javax/print/attribute/PrintRequestAttributeSet.java:
1546 Removing redundant modifiers.
1548 2003-10-11 Michael Koch <konqueror@gmx.de>
1550 * javax/sql/ConnectionEventListener.java,
1551 javax/sql/ConnectionPoolDataSource.java,
1552 javax/sql/DataSource.java,
1553 javax/sql/PooledConnection.java,
1554 javax/sql/RowSet.java,
1555 javax/sql/RowSetInternal.java,
1556 javax/sql/RowSetListener.java,
1557 javax/sql/RowSetMetaData.java,
1558 javax/sql/RowSetReader.java,
1559 javax/sql/RowSetWriter.java,
1560 javax/sql/XAConnection.java,
1561 javax/sql/XADataSource.java:
1562 Removing redundant modifiers.
1564 2003-10-11 Michael Koch <konqueror@gmx.de>
1566 * javax/naming/Context.java,
1567 javax/naming/Name.java,
1568 javax/naming/NameParser.java,
1569 javax/naming/NamingEnumeration.java,
1570 javax/naming/Referenceable.java,
1571 javax/naming/directory/Attribute.java,
1572 javax/naming/directory/Attributes.java,
1573 javax/naming/directory/DirContext.java,
1574 javax/naming/event/EventContext.java,
1575 javax/naming/event/EventDirContext.java,
1576 javax/naming/event/NamespaceChangeListener.java,
1577 javax/naming/event/NamingListener.java,
1578 javax/naming/event/ObjectChangeListener.java,
1579 javax/naming/ldap/Control.java,
1580 javax/naming/ldap/ExtendedRequest.java,
1581 javax/naming/ldap/ExtendedResponse.java,
1582 javax/naming/ldap/HasControls.java,
1583 javax/naming/ldap/LdapContext.java,
1584 javax/naming/ldap/UnsolicitedNotification.java,
1585 javax/naming/ldap/UnsolicitedNotificationListener.java,
1586 javax/naming/spi/DirObjectFactory.java,
1587 javax/naming/spi/DirStateFactory.java,
1588 javax/naming/spi/InitialContextFactory.java,
1589 javax/naming/spi/InitialContextFactoryBuilder.java,
1590 javax/naming/spi/ObjectFactory.java,
1591 javax/naming/spi/ObjectFactoryBuilder.java,
1592 javax/naming/spi/Resolver.java,
1593 javax/naming/spi/StateFactory.java:
1594 Removing redundant modifiers.
1596 2003-10-11 Michael Koch <konqueror@gmx.de>
1598 * java/security/Key.java,
1599 * java/security/PrivateKey.java,
1600 * java/security/PublicKey.java,
1601 * java/security/acl/Acl.java,
1602 * java/security/acl/AclEntry.java,
1603 * java/security/acl/Group.java,
1604 * java/security/acl/Owner.java,
1605 * java/security/acl/Permission.java,
1606 * java/security/cert/X509Extension.java,
1607 * java/security/interfaces/DSAKey.java,
1608 * java/security/interfaces/DSAKeyPairGenerator.java,
1609 * java/security/interfaces/DSAParams.java,
1610 * java/security/interfaces/DSAPrivateKey.java,
1611 * java/security/interfaces/DSAPublicKey.java,
1612 * java/security/interfaces/RSAKey.java,
1613 * java/security/interfaces/RSAPrivateCrtKey.java,
1614 * java/security/interfaces/RSAPrivateKey.java,
1615 * java/security/interfaces/RSAPublicKey.java:
1616 Removed redundant modifiers.
1618 2003-10-11 Michael Koch <konqueror@gmx.de>
1620 * gnu/java/rmi/server/ProtocolConstants.java,
1621 gnu/java/security/der/DER.java:
1622 Removing redundant modifiers.
1624 2003-10-11 Michael Koch <konqueror@gmx.de>
1626 * java/util/Map.java,
1627 java/util/Observer.java,
1628 java/util/zip/Checksum.java,
1629 java/util/zip/ZipConstants.java:
1630 Removed redundant modifiers.
1632 2003-10-11 Michael Koch <konqueror@gmx.de>
1634 * java/text/AttributedCharacterIterator.java,
1635 java/text/CharacterIterator.java:
1636 Removed redundant modifiers.
1638 2003-10-11 Michael Koch <konqueror@gmx.de>
1640 * java/sql/Array.java,
1642 java/sql/CallableStatement.java,
1644 java/sql/Connection.java,
1645 java/sql/DatabaseMetaData.java,
1646 java/sql/Driver.java,
1647 java/sql/ParameterMetaData.java,
1648 java/sql/PreparedStatement.java,
1650 java/sql/ResultSet.java,
1651 java/sql/ResultSetMetaData.java,
1652 java/sql/SQLData.java,
1653 java/sql/SQLInput.java,
1654 java/sql/SQLOutput.java,
1655 java/sql/Savepoint.java,
1656 java/sql/Statement.java,
1657 java/sql/Struct.java:
1658 Removed redundant modifiers.
1660 2003-10-11 Michael Koch <konqueror@gmx.de>
1662 * java/nio/channels/Channel.java,
1663 java/nio/channels/GatheringByteChannel.java,
1664 java/nio/channels/ReadableByteChannel.java,
1665 java/nio/channels/ScatteringByteChannel.java,
1666 java/nio/channels/WritableByteChannel.java:
1667 Removed redundant modifiers.
1669 2003-10-11 Michael Koch <konqueror@gmx.de>
1671 * java/rmi/activation/ActivationInstantiator.java,
1672 java/rmi/activation/ActivationMonitor.java,
1673 java/rmi/activation/ActivationSystem.java,
1674 java/rmi/activation/Activator.java,
1675 java/rmi/dgc/DGC.java,
1676 java/rmi/registry/Registry.java,
1677 java/rmi/registry/RegistryHandler.java,
1678 java/rmi/server/LoaderHandler.java,
1679 java/rmi/server/RMIClientSocketFactory.java,
1680 java/rmi/server/RMIFailureHandler.java,
1681 java/rmi/server/RMIServerSocketFactory.java,
1682 java/rmi/server/RemoteCall.java,
1683 java/rmi/server/RemoteRef.java,
1684 java/rmi/server/ServerRef.java,
1685 java/rmi/server/Skeleton.java,
1686 java/rmi/server/Unreferenced.java:
1687 Removed redundant modifiers.
1689 2003-10-11 Michael Koch <konqueror@gmx.de>
1691 * java/net/ContentHandlerFactory.java,
1692 java/net/DatagramSocketImplFactory.java,
1693 java/net/FileNameMap.java,
1694 java/net/SocketImplFactory.java,
1695 java/net/SocketOptions.java,
1696 java/net/URLStreamHandlerFactory.java:
1697 Removed redundant modifiers.
1699 2003-10-11 Michael Koch <konqueror@gmx.de>
1701 * java/io/Externalizable.java,
1702 java/io/FileFilter.java,
1703 java/io/FilePermission.java,
1704 java/io/ObjectInput.java,
1705 java/io/ObjectInputValidation.java,
1706 java/io/ObjectOutput.java,
1707 java/io/ObjectStreamClass.java,
1708 java/io/ObjectStreamConstants.java,
1709 java/io/Serializable.java:
1710 Removed redundant modifiers.
1712 2003-10-11 Ingo Proetel <proetel@aicas.com>
1714 * java/rmi/server/RMIClassLoader.java: Identify cached classloaders by
1715 codebase and context classloader.
1717 2003-10-11 Michael Koch <konqueror@gmx.de>
1719 * java/beans/beancontext/BeanContext.java,
1720 java/beans/beancontext/BeanContextChild.java,
1721 java/beans/beancontext/BeanContextChildComponentProxy.java,
1722 java/beans/beancontext/BeanContextChildSupport.java,
1723 java/beans/beancontext/BeanContextContainerProxy.java,
1724 java/beans/beancontext/BeanContextMembershipListener.java,
1725 java/beans/beancontext/BeanContextProxy.java,
1726 java/beans/beancontext/BeanContextServiceProvider.java,
1727 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java,
1728 java/beans/beancontext/BeanContextServiceRevokedListener.java,
1729 java/beans/beancontext/BeanContextServices.java,
1730 java/beans/beancontext/BeanContextServicesListener.java:
1731 Removed redundant modifiers.
1733 2003-10-11 Michael Koch <konqueror@gmx.de>
1735 * java/beans/AppletInitializer.java,
1736 java/beans/BeanInfo.java,
1737 java/beans/Customizer.java,
1738 java/beans/DesignMode.java,
1739 java/beans/PropertyEditor.java,
1740 java/beans/Visibility.java:
1741 Removed redundant modifiers.
1743 2003-10-11 Michael Koch <konqueror@gmx.de>
1745 * java/awt/print/Pageable.java,
1746 * java/awt/print/Printable.java,
1747 java/awt/print/PrinterGraphics.java:
1748 Removed redundant modifiers.
1750 2003-10-11 Michael Koch <konqueror@gmx.de>
1752 * java/awt/peer/ButtonPeer.java,
1753 java/awt/peer/CheckboxMenuItemPeer.java,
1754 java/awt/peer/CheckboxPeer.java,
1755 java/awt/peer/ChoicePeer.java,
1756 java/awt/peer/ComponentPeer.java,
1757 java/awt/peer/ContainerPeer.java,
1758 java/awt/peer/DialogPeer.java,
1759 java/awt/peer/FileDialogPeer.java,
1760 java/awt/peer/FramePeer.java,
1761 java/awt/peer/LabelPeer.java,
1762 java/awt/peer/ListPeer.java,
1763 java/awt/peer/MenuBarPeer.java,
1764 java/awt/peer/MenuComponentPeer.java,
1765 java/awt/peer/MenuItemPeer.java,
1766 java/awt/peer/MenuPeer.java,
1767 java/awt/peer/PopupMenuPeer.java,
1768 java/awt/peer/RobotPeer.java,
1769 java/awt/peer/ScrollPanePeer.java,
1770 java/awt/peer/ScrollbarPeer.java,
1771 java/awt/peer/TextAreaPeer.java,
1772 java/awt/peer/TextComponentPeer.java,
1773 java/awt/peer/TextFieldPeer.java,
1774 java/awt/peer/WindowPeer.java:
1775 Removed redundant modifiers.
1777 2003-10-11 Michael Koch <konqueror@gmx.de>
1779 * gnu/java/nio/NIOSocket.java (setChannel): Initialize impl.
1780 * gnu/java/nio/ServerSocketChannelImpl.java
1781 (serverSocket): Made it a NIOServerSocket.
1783 (ServerSocketChannelImpl): Initialize only serverSocket.
1784 (initServerSocket): Removed.
1785 (getNativeFD): Rewritten.
1786 (implConfigureBlocking): Set socket timeout and removed comment.
1787 (accept): Rewritten.
1788 * gnu/java/nio/SocketChannelImpl.java
1789 (impl): New variable.
1790 (connected): Removed.
1791 (SocketChannelImpl): Initialize impl too.
1792 (getImpl): New method.
1793 (isConnected): Rewritten.
1794 (read): Rewritten, set position in buffer correctly.
1795 (write): Set position in buffer correctly.
1796 * java/net/ServerSocket.java (getImpl): New method.
1797 * gnu/java/nio/NIOServerSocket.java,
1798 gnu/java/nio/natNIOServerSocket.cc: New files.
1799 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
1801 (ordinary_java_source_files):
1802 Added gnu/java/nio/NIOServerSocket.java.
1804 Removed gnu/java/nio/natServerSocketChannelImpl.cc
1805 and added gnu/java/nio/natNIOServerSocket.cc.
1806 * Makefile.in: Regenerated.
1808 2003-10-11 Michael Koch <konqueror@gmx.de>
1810 * java/awt/ActiveEvent.java,
1811 java/awt/datatransfer/ClipboardOwner.java,
1812 java/awt/datatransfer/FlavorMap.java,
1813 java/awt/datatransfer/Transferable.java,
1814 java/awt/dnd/Autoscroll.java,
1815 java/awt/dnd/peer/DragSourceContextPeer.java,
1816 java/awt/dnd/peer/DropTargetContextPeer.java,
1817 java/awt/dnd/peer/DropTargetPeer.java,
1818 java/awt/font/MultipleMaster.java,
1819 java/awt/font/OpenType.java,
1820 java/awt/im/spi/InputMethodDescriptor.java,
1821 java/awt/image/ImageObserver.java,
1822 java/awt/image/ImageConsumer.java,
1823 java/awt/image/ImageProducer.java,
1824 java/awt/image/RGBImageFilter.java,
1825 java/awt/image/RasterOp.java,
1826 java/awt/image/renderable/RenderableImage.java:
1827 Removed redundant modifiers.
1829 2003-10-11 Michael Koch <konqueror@gmx.de>
1831 * gnu/awt/j2d/DirectRasterGraphics.java,
1832 gnu/java/awt/EmbeddedWindowSupport.java:
1833 Removed redundant modifiers.
1835 2003-10-09 Michael Koch <konqueror@gmx.de>
1837 * gnu/java/nio/SelectorImpl.java (register):
1838 Use ServerSocketChannelSelectionKey for server socket channels,
1839 removed unneeded comments.
1840 * gnu/java/nio/ServerSocketChannelImpl.java
1841 (ServerSocketChannelImpl): Made class public final.
1842 (impl): New member variable.
1843 (ServerSocketChannelImpl): Initialize member variables correctly.
1844 (initServerSocket): New method.
1845 (getNativeFD): Likewise.
1846 * gnu/java/nio/ServerSocketChannelSelectionKey.java,
1847 gnu/java/nio/natServerSocketChannelImpl.cc: New files.
1848 * Makefile.am (ordinary_java_source_files):
1849 Added gnu/java/nio/ServerSocketChannelSelectionKey.java.
1850 (nat_source_files): Added gnu/java/nio/natServerSocketChannelImpl.cc.
1851 * Makefile.in: Regenrated.
1853 2003-10-09 Michael Koch <konqueror@gmx.de>
1855 * java/nio/channels/spi/AbstractSelectableChannel.java
1856 (registered): Made private.
1857 (blocking): Likewise.
1859 (provider): Likewise.
1860 (keys): Made it a private LinkedList.
1861 (AbstractSelectableChannel): Initialize keys.
1862 (isRegistered): New implementation.
1863 (locate): Rewritten.
1864 (register): Rewritten.
1865 * java/nio/channels/spi/AbstractSelectionKey.java
1867 (cancelled): New member variable.
1868 (cancel): Rewritten.
1869 (isValid): Rewritten.
1870 * java/nio/channels/spi/AbstractSelector.java:
1872 (closed): Make private.
1873 (provider): Likewise.
1874 (cancelledKeys): New member variable.
1875 (AbstractSelector): Initialize cancelledKeys.
1876 (cancelKey): New method.
1878 2003-10-09 Tom Tromey <tromey@redhat.com>
1880 * java/lang/ClassLoader.java (setSigners): Implemented.
1881 * boehm.cc (_Jv_MarkObj): Mark `signers' field.
1882 * java/lang/natClassLoader.cc (_Jv_InitNewClassFields):
1883 Initialize new fields.
1884 * java/lang/Class.java (getSigners): Now native.
1885 (setSigners): Declare.
1886 * java/lang/natClass.cc (getSigners): New method.
1887 (getSigners): Likewise.
1888 * java/lang/Class.h (Class::signers): New field.
1889 (Class::setSigners): New method.
1891 2003-10-09 Michael Koch <konqueror@gmx.de>
1893 * java/rmi/server/RMIClassLoader.java:
1894 Removed unused imports, little reformatings.
1895 (getClassLoader): New method, implementation was part of old loadCLass
1897 (loadClass): Simplified by moving functionality to new method and
1898 reworking the code a bit.
1899 (getClassAnnotation): Merged documentation from classpath.
1901 2003-10-09 Michael Koch <konqueror@gmx.de>
1903 * java/math/BigInteger.java
1904 (add): Removed unused local variable len.
1906 2003-10-08 Thomas Fitzsimmons <fitzsim@redhat.com>
1908 * gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Remove
1910 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
1911 Initialize insets to use latest insets.
1912 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
1913 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (latestInsets): New
1915 (postConfigureEvent): Update latestInsets field when insets
1916 change. Remove call to setSize. Move validate call outside of
1918 (setVisible): Call setBounds before showing window.
1919 (nativeSetVisible): New native method.
1920 * java/awt/Window.java (show): Show visible owned windows.
1921 (hide): Hide visible owned windows.
1922 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1923 (awt_event_handler): Implement modality using GTK grabs.
1924 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1925 (global_gtk_window_group): New global variable.
1926 (gtkInit): Initialize global_gtk_window_group.
1927 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
1928 Clamp width and height values to at least 1. Add this window to
1929 the global GTK window group.
1930 (setVisible): Rename to nativeSetVisible.
1931 (setup_window): Remove function.
1932 (setSize): Clamp width and height values to at least 1.
1933 (nativeSetBounds): Likewise.
1934 (gdk_window_get_root_geometry): Remove function.
1935 * jni/gtk-peer/gtkpeer.h: Remove gdk_window_get_root_geometry
1936 and setup_window declarations. Declare global_gtk_window_group.
1938 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1939 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1940 (gtkSetFont): Handle BOLD and ITALIC style specifiers.
1941 (gtkWidgetSetForeground): New method.
1942 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1943 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1944 (gtkWidgetSetBackground, gtkWidgetSetForeground): New methods.
1945 (setBackground, setForeground): Implement.
1946 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
1947 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
1948 (gtkSetFont): Handle BOLD and ITALIC style specifiers.
1949 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
1950 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
1951 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
1952 Position PangoLayout relative to text's baseline.
1953 * jni/gtk-peer/gtkpeer.h: Define AWT font style constants.
1955 * java/awt/FlowLayout.java (layoutContainer): Fix offset problem
1956 for CENTER and RIGHT alignments.
1958 2003-10-08 Michael Koch <konqueror@gmx.de>
1960 * java/security/Security.java: Reformated.
1962 2003-10-08 Michael Koch <konqueror@gmx.de>
1964 * java/text/SimpleDateFormat.java
1965 (compileFormat): Replace Character.isLetter() test with
1966 Character.isLowerCase() || Character.isUpperCase().
1968 2003-10-08 Tom Tromey <tromey@redhat.com>
1970 * java/lang/StrictMath.java (toDegrees): Multiply before
1972 (toRadians): Likewise.
1974 2003-10-08 C. Brian Jones <cbj@gnu.org>
1976 * java/lang/Math.java
1977 (toRadians): multiply before dividing to reduce decimal error
1980 2003-10-08 Michael Koch <konqueror@gmx.de>
1982 * gnu/gcj/protocol/core/Connection.java,
1983 gnu/gcj/protocol/core/CoreInputStream.java,
1984 gnu/gcj/protocol/core/Handler.java,
1985 gnu/gcj/protocol/core/natCoreInputStream.cc,
1986 gnu/gcj/protocol/file/Connection.java,
1987 gnu/gcj/protocol/file/Handler.java,
1988 gnu/gcj/protocol/gcjlib/Connection.java,
1989 gnu/gcj/protocol/gcjlib/Handler.java,
1990 gnu/gcj/protocol/http/Connection.java,
1991 gnu/gcj/protocol/http/Handler.java,
1992 gnu/gcj/protocol/jar/Connection.java,
1993 gnu/gcj/protocol/jar/Handler.java: Moved to gnu/java/net/protocol.
1994 * gnu/java/net/protocol/core/Connection.java,
1995 gnu/java/net/protocol/core/CoreInputStream.java,
1996 gnu/java/net/protocol/core/Handler.java,
1997 gnu/java/net/protocol/core/natCoreInputStream.cc,
1998 gnu/java/net/protocol/file/Connection.java,
1999 gnu/java/net/protocol/file/Handler.java,
2000 gnu/java/net/protocol/gcjlib/Connection.java,
2001 gnu/java/net/protocol/gcjlib/Handler.java,
2002 gnu/java/net/protocol/http/Connection.java,
2003 gnu/java/net/protocol/http/Handler.java,
2004 gnu/java/net/protocol/jar/Connection.java,
2005 gnu/java/net/protocol/jar/Handler.java: Moved from gnu/gcj/protocol.
2006 * gnu/gcj/runtime/FirstThread.java,
2007 java/net/URL.java: Use moved protocol handlers.
2009 (ordinary_java_source_files): Moved files.
2010 (nat_source_files): Likewise.
2011 * Makefile.in: Regenerated.
2013 2003-10-08 Michael Koch <konqueror@gmx.de>
2015 * gnu/java/nio/SocketChannelImpl.java
2016 (read): Write only read data to buffer.
2018 2003-10-08 Thomas Fitzsimmons <fitzsim@redhat.com>
2020 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (setEnabled): Stub
2022 * jni/classpath/jcl.c [!__GNUC__]: Elide __attribute__.
2023 (JCL_free): Attach "unused" attribute to env parameter.
2024 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
2025 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
2026 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
2027 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
2028 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
2029 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2030 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
2031 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
2032 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
2033 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
2034 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
2035 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
2036 jni/gtk-peer/gthread-jni.c: Attach "unused" attribute to unused
2038 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
2039 (initNativeState): Pass 0 as info argument to
2040 gtk_selection_add_target.
2041 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
2042 (setVisible, gtkFixedNew, gtkFixedPut, gtkFixedMove): Remove
2043 unused method implementations.
2044 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2045 (awt_event_handler): Add break statement after default label.
2046 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
2047 (drawPixels): Remove unused variable i.
2048 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2049 (setEnabled): Remove method implementation.
2050 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2051 (accel_attach): Call _gtk_accel_group_attach with G_OBJECT
2053 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (sr): Remove
2055 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
2056 (menu_pos): Assign TRUE to push_in.
2057 (setupAccelGroup): Call _gtk_accel_group_attach with G_OBJECT
2059 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
2060 (create): Remove unused variable layout.
2061 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
2062 Pass window_widget, rather than window, to
2063 gtk_widget_set_size_request.
2064 * jni/gtk-peer/gthread-jni.c (g_thread_jni_functions): Fill out
2065 structure initialization with NULL values.
2066 * jni/gtk-peer/gtkpeer.h [!__GNUC__]: Elide __attribute__.
2068 2003-10-08 Michael Koch <konqueror@gmx.de>
2070 * java/util/LinkedList.java:
2071 Removed whitespace to match classpath's version again.
2073 2003-10-08 Michael Koch <konqueror@gmx.de>
2075 * java/util/prefs/Preferences.java
2076 (defaultFactoryClass): Fixed class name.
2077 (getFactory): Create instance of class returned by Class.forName(),
2080 2003-10-08 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
2082 * javax/swing/table/AbstractTableModel.java
2083 (getColumnName): Simplified code much. Thanks to Yannick Boogaerts who
2084 helped stop pulling my hair on this +1 then -1 tricky thing!
2086 2003-10-07 Thomas Fitzsimmons <fitzsim@redhat.com>
2088 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (gtkTextGetSize):
2089 Remove unused parameters.
2090 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkEntryGetSize):
2092 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2093 (keyevent_state_to_awt_mods): Export function.
2094 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
2095 (getCaretPosition): Fix TextArea case.
2096 (textcomponent_commit_cb): Get exact event time and modifier
2098 * jni/gtk-peer/gtkpeer.h: Declare keyevent_state_to_awt_mods.
2100 2003-10-02 Guilhem Lavaux <guilhem@kaffe.org>
2102 * java/net/InetSocketAddress.java
2103 (InetSocketAddress): Made exception more clear.
2104 (equals): Handle case when addr is null.
2105 (toString): Likewise.
2106 * java/net/NetworkInterface.java
2107 (static): Load native library.
2108 (getNetworkInterfaces): Rewritten.
2110 2003-10-02 Thomas Fitzsimmons <fitzsim@redhat.com>
2112 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (insets): New
2114 (initializeInsets): New method.
2115 (GtkComponentPeer): Call initializeInsets. Call setCursor and
2116 setBounds unconditionally.
2117 (setBounds): Convert coordinates if parent is a Window.
2118 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (insets): Move
2119 field to GtkComponentPeer.
2120 (GtkContainerPeer): Don't initialize insets.
2121 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
2123 (create): Call new GtkWindowPeer create method.
2124 * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
2126 (create): Call new GtkWindowPeer create method.
2127 (setBounds): Remove method.
2128 (postConfigureEvent): Likewise.
2129 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Replace GTK window
2130 type constants with GDK window type constants.
2131 (create(int,boolean,int,int,GtkWindowPeer)): New method.
2132 (create(int,boolean)): Likewise.
2133 (create()): Call create(int,boolean).
2134 (nativeSetBounds): New native method declaration.
2135 (setBounds): Call native method declaration.
2136 (setSize): New native method declaration.
2137 (setBoundsCallback): Likewise.
2138 (postConfigureEvent): Handle change in insets. Call setSize and
2139 setBoundsCallback methods.
2140 * java/awt/Window.java (Window): Set visible to false.
2141 (setBoundsCallback): New method.
2142 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2143 (gtkWidgetGetLocationOnScreen): If this component is not a
2144 container, adjust the location returned based on the peer's
2146 (set(String,boolean)): Revert change from 2003-09-19.
2147 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2148 (awt_event_handler): Fix inset calculation.
2149 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
2150 glue for Window.setBoundsCallback.
2151 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
2152 Set up stacking order, window decorations and window manager
2154 (setBoundsCallback): New method.
2155 (setSize): New method.
2156 (nativeSetBounds): New method.
2157 * jni/gtk-peer/gtkpeer.h: Declare setBoundsCallbackID.
2159 2003-10-02 Tom Tromey <tromey@redhat.com>
2161 * java/lang/VMClassLoader.java (loadClass): Now native.
2162 * java/lang/natClassLoader.cc (loadClass): Implement.
2163 * prims.cc (_Jv_RunMain): Initialize ClassLoader.
2165 2003-10-02 Michael Koch <konqueror@gmx.de>
2167 * java/net/InetAddress.java
2169 (ANY_IF): Initalizie in static block.
2170 (static): Load library with native methods here and initialize ANY_IF.
2171 (isAnyLocalAddress): Check if equal to ANY_IF.
2172 (equals): Use addr directly instead of addr1. Simplify for loop.
2173 (toString): Rename "result" to "host" and add IP address allways.
2174 (getLocalHost): Merged documentation from classpath.
2175 * java/net/ServerSocket.java
2176 (ServerSocket): New package-private constructor used by java.nio.
2177 * java/net/URLConnection.java
2178 (getRequestProperties): Check if already connected.
2180 2003-10-02 Michael Koch <konqueror@gmx.de>
2182 * java/nio/ByteBufferHelper.java:
2183 Rewrote all methods by suggestions from Eric Blake.
2185 2003-10-02 Michael Koch <konqueror@gmx.de>
2188 (DEFAULT_SEARCH_PATH): New static variable.
2189 (ph_cache): Made it a HashMap.
2190 (getURLStreamHandler): Rename propVal to ph_search_path and use
2191 DEFAULT_SEARCH_PATH.
2193 2003-10-02 Michael Koch <konqueror@gmx.de>
2195 * javax/swing/table/AbstractTableModel.java
2196 (findColumnName): Prevent from NullPointerException if argument
2199 2003-10-02 Michael Koch <konqueror@gmx.de>
2201 * javax/swing/table/AbstractTableModel.java:
2202 This patch is based on a patch done by Arnaud Vandyck
2203 <arnaud.vandyck@ulg.ac.be>.
2204 (getColumnName): Fixed method documentation.
2205 (findColumn): Likewise.
2206 (getColumnClass): Likewise.
2207 (isCellEditable): Likewise.
2208 (setValueAt): Likewise.
2209 (addTableModelListener): Likewise.
2210 (removeTableModelListener): Likewise.
2211 (getTableModelListeners): New method.
2213 2003-10-02 Michael Koch <konqueror@gmx.de>
2215 * javax/swing/table/AbstractTableModel.java:
2218 2003-10-01 Bryce McKinlay <bryce@mckinlay.net.nz>
2221 * gnu/gcj/runtime/StackTrace.java (finalize): Declare.
2222 * gnu/gcj/runtime/natStackTrace.cc (finalize): New. Free "addrs".
2224 2003-10-01 Tom Tromey <tromey@redhat.com>
2226 * gnu/gcj/runtime/FirstThread.java (getMain): Fixed indentation.
2228 2003-10-01 Andrew Haley <aph@redhat.com>
2230 * java/lang/natClass.cc (initializeClass): Check for otable and
2232 (_Jv_LinkOffsetTable): Check for existence of atable. Rewrite
2233 loops using for(). Search superinterfaces. Check for fields as
2234 well as methods. Initialize atable as well as otable: check for
2235 static methods as well as virtual methods.
2236 * java/lang/Class.h (struct _Jv_AddressTable): New.
2239 * include/jvm.h (_Jv_equalUtf8Consts): constify.
2240 * prims.cc (_Jv_equalUtf8Consts): constify.
2242 2003-09-29 Tom Tromey <tromey@redhat.com>
2245 * include/jvm.h (_Jv_FinalizeString,
2246 _Jv_RegisterStringFinalizer): Declare.
2247 * java/lang/natString.cc (_Jv_FinalizeString): Renamed from
2250 (_Jv_NewStringUtf8Const): Likewise.
2251 * java/lang/ref/natReference.cc (finalize_referred_to_object):
2252 Add special case when finalizing a String.
2253 (in_hash): New function.
2254 (_Jv_RegisterStringFinalizer): Likewise.
2255 (maybe_add_finalize): Likewise.
2257 2003-09-29 Michael Koch <konqueror@gmx.de>
2259 * java/net/InetAddress.java:
2260 (isMulticastAddress): Dont use local variable to store address length.
2261 Let the compiler optimize this.
2262 (getHostName): Merged dcoumentation from classpath.
2263 (getAddress): Likewise.
2264 (getHostAddress): Likewise.
2265 (hashCode): Likewise.
2267 (toString): Likewise.
2268 (getByName): Likewise.
2269 (getAllByName): Likewise.
2271 2003-09-29 Michael Koch <konqueror@gmx.de>
2273 * java/awt/image/IndexColorModel.java: Reformated.
2275 2003-09-29 Michael Koch <konqueror@gmx.de>
2277 * java/net/InetAddress.java,
2278 java/net/URL.java: Reformated.
2280 2003-09-29 Bryce McKinlay <bryce@mckinlay.net.nz>
2282 * boehm.cc (_Jv_BuildGCDescr): Put first word of object in most
2283 significant bit of descriptor. Include the vtable and sync_info
2286 2003-09-28 Bryce McKinlay <bryce@mckinlay.net.nz>
2288 * java/text/DateFormat.java (format): Throw IllegalArgumentException
2289 if `obj' is not a Number or Date instance.
2290 * java/text/SimpleDateFormat.java (tokens): Make it an ArrayList
2293 2003-09-28 Bryce McKinlay <bryce@mckinlay.net.nz>
2295 * java/text/SimpleDateFormat.java (parse): Revert patch of 2003-09-25.
2296 Don't call setTimeZone on calendar.
2298 2003-09-27 Michael Koch <konqueror@gmx.de>
2300 * java/net/URL.java (getURLStreamHandler): Compile fixes.
2302 2003-09-27 Michael Koch <konqueror@gmx.de>
2304 * java/net/URL.java (getURLStreamHandler):
2305 Check if we have to use cache before trying to retrieve handler from
2306 cache. Rename facName to clsName to match classpath more. Reformated
2309 2003-09-27 Michael Koch <konqueror@gmx.de>
2311 * gnu/java/nio/SelectionKeyImpl.java
2312 (ch): Make package-private again. Jikes found this bug.
2313 Jeff Sturm submitted PR12426 for this to bugzilla
2314 to fix this bug in gcj.
2316 2003-09-26 Michael Koch <konqueror@gmx.de>
2318 * java/rmi/server/RMIClassLoader.java:
2319 Reformatted file, no functional code changes.
2321 2003-09-26 Sascha Brawer <brawer@dandelis.ch>
2323 * java/awt/image/SinglePixelPackedSampleModel.java (createDataBuffer):
2324 Save space for some pixels at the buffer end. Added Javadoc.
2326 2003-09-26 Tom Tromey <tromey@redhat.com>
2328 * java/io/ObjectOutputStream.java (writeFields): Fixed
2330 (putFields): Likewise.
2332 2003-09-26 Michael Koch <konqueror@gmx.de>
2334 * java/nio/ByteBufferHelper.java:
2335 Totally reworked with help from Eric Blake.
2337 2003-09-26 Tom Tromey <tromey@redhat.com>
2339 * java/awt/geom/RoundRectangle2D.java (getPathIterator): Wrote.
2340 * java/awt/geom/PathIterator.java: Documentation fixes.
2342 2003-09-25 Jeff Sturm <jsturm@one-point.com>
2344 * gnu/java/nio/SelectorImpl.java (getFDsAsArray): Use getNativeFD().
2346 (register): Use DatagramChannelSelectionKey, SocketChannelSelectionKey.
2348 2003-09-25 Michael Koch <konqueror@gmx.de>
2350 * gnu/java/nio/DatagramChannelImpl.java
2351 (getNativeFD): New method.
2352 * gnu/java/nio/SelectionKeyImpl.java
2353 (SelectionKeyImpl): Class made abstract.
2355 (SelectionKeyImpl): Remove fd argument.
2356 (getNativeFD): New method.
2357 * gnu/java/nio/SocketChannelImpl.java
2358 (getNativeFD): New method.
2359 gnu/java/nio/DatagramChannelSelectionKey.java,
2360 * gnu/java/nio/SocketChannelSelectionKey.java:
2362 * Makefile.am (ordinary_java_source_files):
2363 Added new files gnu/java/nio/DatagramChannelSelectionKey.java and
2364 gnu/java/nio/SocketChannelSelectionKey.java.
2365 * Makefile.in: Regenerated.
2367 2003-09-25 Michael Koch <konqueror@gmx.de>
2369 * java/lang/reflect/Proxy.java
2370 (getProxyClass): Remove workaround for gcj 3.0.x.
2372 2003-09-25 Michael Koch <konqueror@gmx.de>
2374 * gnu/java/net/PlainDatagramSocketImpl.java
2375 (finalize): Moved to directly after constructor.
2376 (getNativeFD): New method.
2377 * gnu/java/net/PlainSocketImpl.java
2378 (getNativeFD): New method.
2380 2003-09-25 Ingo Proetel <proetel@aicas.com>
2382 * java/io/ObjectOutputStream.java:
2383 Allow putFields be called more than once.
2385 2003-09-25 Sascha Brawer <brawer@dandelis.ch>
2387 * java/awt/image/Raster.java(Raster): Interpret null origin as (0,0).
2388 * java/awt/image/WritableRaster.java(WritableRaster): Likewise.
2389 * java/awt/image/BufferedImage.java (toString): Implement.
2391 2003-09-25 Jeff Sturm <jsturm@one-point.com>
2393 * aclocal.m4: Rebuilt.
2394 * configure: Rebuilt.
2396 2003-09-25 Guilhem Lavaux <guilhem@kaffe.org>
2398 * java/text/SimpleDateFormat.java (parse): Don't use class calendar
2401 2003-09-25 Michael Koch <konqueror@gmx.de>
2403 * gnu/java/nio/SelectorImpl.java
2404 (implSelect): Renamed from java_do_select.
2405 (select): Call native implSelect() and add support for Thread
2407 * gnu/java/nio/natSelectorImpl.cc
2408 (implSelect): Renamed from java_do_select.
2410 2003-09-25 Michael Koch <konqueror@gmx.de>
2412 * gnu/java/nio/SelectorImpl.java
2413 (selectNow): Made final, throws IOException.
2415 (getFDsAsArray): Made final.
2416 (selectedKeys): Likewise.
2418 (deregisterCancelledKeys): Likewise.
2419 (register): Likewise.
2421 (add_selected): Removed.
2422 * gnu/java/nio/natSelectorImpl.cc:
2423 No need to include bstring.h or gcj/cni.h.
2424 (helper_put_filedescriptors): Rewritten.
2425 (helper_get_filedescriptors): Rewritten.
2427 2003-09-25 Sascha Brawer <brawer@dandelis.ch>
2429 * java/awt/font/FontRenderContext.java (getTransform): Return
2430 copy of internal transform object. Add Javadoc.
2431 * java/awt/geom/Rectangle2D.java (getPathIterator): Use the same
2432 winding rule as Sun J2SE.
2433 * javax/swing/border/MatteBorder.java (MatteBorder(Icon)): Docfix.
2435 2003-09-25 Ingo Proetel <proetel@aicas.com>
2437 * java/rmi/Naming.java:
2438 Added comments, now accepts pseudo protocol "rmi".
2440 2003-09-25 Guilhem Lavaux <guilhem@kaffe.org>
2442 * java/text/DecimalFormat.java (format): Don't immediatly round
2444 (setMinimumIntegerDigits): Call super.
2445 (setMinimumFractionDigits): Likewise.
2446 (setMaximumIntegerDigits): Likewise.
2447 (setMaximumFractionDigits): Likewise.
2449 2003-09-25 Michael Koch <konqueror@gmx.de>
2451 * gnu/java/nio/DatagramChannelImpl.java
2452 (DatagramChannelImpl): Made class final.
2453 (blocking): Made private.
2454 (socket): Made it a NIODatagramSocket and private.
2455 (DatagramChannelImpl): create NIODatagramSocket instead of
2457 (implConfigureBlocking): Set socket timeout.
2458 (connect): Check that channel is not closed.
2459 (write): Implemented.
2461 (read): Implemented.
2463 (receive): Implemented.
2464 (send): Implemented.
2465 * gnu/java/nio/SelectionKeyImpl.java
2466 (readyOps): Made private.
2467 (interestOps): Made private.
2468 (impl): Made private.
2470 (readyOps): Check if selection key is valid.
2471 (interestOps): Likewise.
2472 * gnu/java/nio/SelectorImpl.java
2474 (keys): Made private.
2475 (selected): Made private.
2476 (finalize): New method.
2477 (implCloseSelector): Rewritten.
2478 (keys): Return unmodifiable Set.
2479 (deregisterCancelledKeys): Fixed typo in method name.
2480 * gnu/java/nio/SocketChannelImpl.java
2481 (SocketChannelImpl): Made class final.
2482 (socket): Made it a NIOSocket and private.
2483 (blocking): Made private.
2484 (connected): Made private.
2485 (connectionPending): New member variable.
2486 (SocketChannelImpl): New implementation.
2487 (finalizer): Use isConnected().
2488 (connect): Rewritten.
2489 (finishConnect): Throws IOException, implemented.
2490 (isConnectionPending): Return connectionPending.
2493 * gnu/java/nio/NIOConstants.java: New file.
2494 * Makefile.am (ordinary_java_source_files):
2495 Added gnu/java/nio/NIOConstants.java.
2496 * Makefile.in: Regenerated.
2498 2003-09-25 Michael Koch <konqueror@gmx.de>
2500 * java/net/InetAddress.java:
2501 Reorder imports, remove implementation comment.
2502 (isMulticastAddress): Merged documentation from classpath.
2503 * java/net/URLConnection.java
2504 (setRequestProperty): Check key for null, fix documentation.
2505 (adREquestProperty): Check key for null, remove wrong implementation
2506 and replace it with comment to overwrite this method in subclasses,
2509 2003-09-25 Tom Tromey <tromey@redhat.com>
2511 * java/lang/reflect/Proxy.java (generate): Uncomment protection
2513 * java/lang/natClassLoader.cc (defineClass): Added `loader'
2515 (linkClass0): Now in VMClassLoader.
2516 (markClassErrorState0): Likewise.
2517 (getSystemClassLoaderInternal): New method.
2518 * java/lang/natClass.cc (initializeClass): Use
2519 VMClassLoader::resolveClass.
2520 * java/lang/ClassLoader.java: New version, from Classpath.
2521 * java/lang/Class.java (getProtectionDomain):
2522 protectionDomainPermission and unknownProtectionDomain now in
2524 * java/lang/Class.h: VMClassLoader now a friend class.
2525 * gnu/gcj/runtime/VMClassLoader.java (instance): Now
2527 * gcj/javaprims.h: Regenerated class list.
2528 * resolve.cc (_Jv_PrepareClass): Use VMClassLoader::resolveClass.
2529 * java/lang/VMClassLoader.java: New version from Classpath;
2530 modified for libgcj use.
2532 2003-09-25 Michael Koch <konqueror@gmx.de>
2534 * java/nio/ByteBufferHelper.java:
2536 * java/nio/ByteBufferImpl.java,
2537 java/nio/DirectByteBufferImpl.java,
2538 java/nio/MappedByteBufferImpl.java
2539 (getType,putType): Use new helper class ByteBufferHelper.
2540 * Makefile.am (ordinary_java_source_files):
2541 Added java/nio/ByteBufferHelper.java.
2542 * Makefile.in: Regenerated.
2544 2003-09-25 Bryce McKinlay <bryce@mckinlay.net.nz>
2546 * gnu/java/net/natPlainSocketImplWin32.cc: Add missing #includes.
2549 2003-09-24 Bryce McKinlay <bryce@mckinlay.net.nz>
2551 * java/lang/StringBuffer.java (substring): Don't set `shared' on small
2552 Strings, even if buffer is already shared.
2554 2003-09-24 Michael Koch <konqueror@gmx.de>
2556 * acinclude.m4 (AM_LC_LOCALES): Added check for locale.h.
2558 2003-09-24 Bryce McKinlay <bryce@mckinlay.net.nz>
2560 * gnu/java/net/PlainSocketImpl.java (read): Remove declaration.
2562 (SocketInputStream): Declare `read' and `write' methods native.
2563 Remove implementations which called back into PlainSocketImpl.
2564 Remove unneccessary overridden methods.
2565 * gnu/java/net/natPlainSocketImplNoNet.cc (read): Move implementation
2566 to inner class PlainSocketImpl.SocketInputStream.
2568 * gnu/java/net/natPlainSocketImplPosix.cc: As above.
2569 * gnu/java/net/natPlainSocketImplWin32.cc: As above.
2570 * gnu/java/net/SocketInputStream.java: Remove unused file.
2571 * gnu/java/net/SocketOutputStream.java: Likewise.
2572 * Makefile.am: Build CNI headers for PlainSocketImpl.SocketInputStream
2573 and SocketOutputStream.
2574 * Makefile.in: Rebuilt.
2576 2003-09-23 Nathanael Nerode <neroden@gcc.gnu.org>
2578 * java/lang/System.java: Add GCJ LOCAL note about encoding aliases.
2580 * java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL
2583 2003-09-22 Anthony Green <green@redhat.com>
2585 * configure.in (HAVE_USLEEP_DECL): Define for newlib build.
2586 * configure: Rebuilt.
2588 2003-09-21 Ralph Loader <suckfish@ihug.co.nz>
2591 * java/lang/StringBuffer.java (substring): Fix handling of shared flag.
2593 2003-09-22 Michael Koch <konqueror@gmx.de>
2595 * jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
2596 compiler warning but produces a different one now.
2598 2003-09-22 Michael Koch <konqueror@gmx.de>
2600 * java/net/InetAddress.java:
2601 Moves around some code, reformats and adds documentation.
2602 No functional changes.
2604 2003-09-22 Michael Koch <konqueror@gmx.de>
2606 * java/net/JarURLConnection.java
2607 (JarURLConnection): Modifed code to match classpath more, fixed comment.
2608 (getCertificates): Made it more error prone.
2609 (getMainAttributes): Likewise.
2610 (getAttributes): Implemented.
2611 (getManifest): Reformatted code.
2613 2003-09-20 Tom Tromey <tromey@redhat.com>
2615 * java/awt/Component.java: Indentation cleanup from Classpath.
2617 2003-09-20 Dalibor Topic <robilad@kaffe.org>
2619 * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument
2620 checking to follow 1.4.2 spec.
2622 2003-08-11 Ingo Proetel <proetel@aicas.com>
2624 * gnu/java/rmi/server/UnicastRef.java: make constructor public and check if serverobject
2625 is compatible in case client and server are running in the same VM
2626 (remerged from Classpath on 2003-09-20)
2628 2003-09-19 David Daney <ddaney@avtrex.com>
2630 * java/lang/ref/Reference.java (clear): Set referent to null and
2633 2003-09-19 Michael Koch <konqueror@gmx.de>
2635 * gnu/java/nio/NIODatagramSocket.java,
2636 gnu/java/nio/NIOSocket.java: New files.
2637 * Makefile.am (ordinary_java_source_files):
2638 Added gnu/java/nio/NIODatagramSocket.java and
2639 gnu/java/nio/NIOSocket.java.
2640 * Makefile.in: Regenerated.
2642 2003-09-19 Thomas Fitzsimmons <fitzsim@redhat.com>
2644 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a
2645 top-level GTK window.
2646 (getArgs): Add "title" property.
2647 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use
2648 "allow_shrink" and "allow_grow" properties.
2649 * java/awt/Dialog.java: Initialize resizable to true and change
2650 comments accordingly. Initialize visible to false in
2652 * java/awt/Frame.java (dispose): Remove method.
2653 * java/awt/Window.java (ownedWindows): New field.
2654 (Window(Window,GraphicsConfiguration)): Add a weak reference to
2655 owner's ownedWindows vector.
2656 (finalize): Remove method.
2657 (hide): Hide owned windows.
2658 (dispose): Dispose of owned windows.
2659 (getOwnedWindows): Implement.
2660 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove
2662 (set(String,boolean)): Clamp gboolean parameter to g_object_set
2664 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2665 (create): Set window's size requisition.
2666 (connectHooks): Fix indentation.
2667 (setResizable): Remove function.
2668 (static setBounds): Likewise.
2669 (setBounds): Replace call to setBounds with GTK size requisition
2672 2003-09-19 Mohan Embar <gnustuff@thisiscool.com>
2674 * win32-threads.cc: (ensure_interrupt_event_initialized) New
2675 function for lazy initialization of an auto-reset event.
2676 (_Jv_CondWait) Added thread interrupt support.
2677 (_Jv_ThreadInitData) Added initialization of interrupt support
2679 (_Jv_ThreadDestroyData) Added cleanup of interrupt support members.
2680 (_Jv_ThreadStart) Removed unused code.
2681 (_Jv_Win32GetInterruptEvent) New method for returning interrupt event
2682 to an external caller.
2683 (_Jv_ThreadInterrupt) Implemented.
2684 * include/win32-threads.h: (_Jv_Thread_t) Added a Win32 auto-reset
2685 event for interrupt support as well as a mutex which regulates
2687 (_Jv_Win32GetInterruptEvent) Declared new method for returning interrupt
2688 event to an external caller.
2689 * java/lang/natWin32Process.cc: (cleanup) Close handle to spawned
2691 (waitFor) Added interrupt support.
2693 2003-09-19 Michael Koch <konqueror@gmx.de>
2695 * java/net/DatagramSocket.java (getLocalAddress):
2696 Renamed result variable to localAddr.
2697 * java/net/MulticastSocket.java:
2698 No need to import gnu.java.net.PlainDatagramSocketImpl.
2700 2003-09-18 Sascha Brawer <brawer@dandelis.ch>
2702 * java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl):
2703 Replace UTF-8 characters in Javadoc by XML/HTML escape sequence.
2705 2003-09-18 Tom Tromey <tromey@redhat.com>
2707 * javax/naming/InitialContext.java: Reindented.
2709 2003-09-18 Dalibor Topic <robilad@kaffe.org>,
2710 Helmer Kraemer <hkraemer@freenet.de>
2712 * javax/naming/spi/NamingManager.java (getURLContext,
2713 getObjectInstance, getStateToBind): Always use current thread's
2714 context class loader when calling Class.forName.
2716 2003-09-18 Michael Koch <konqueror@gmx.de>
2718 * java/util/Timer.java (finalize): Added "throws Throwable".
2720 2003-09-18 Michael Koch <konqueror@gmx.de>
2722 * java/net/DatagramSocket.java
2724 (receive): Use getChannel() instead of ch.
2726 (getChannel): Return null.
2727 * java/net/ServerSocket.java
2729 (setChannel): Removed.
2730 (implAccept): Use getChannel() instead of ch.
2732 (getChannel): Return null.
2733 * java/net/Socket.java
2735 (connect): Use getChannel() instead of ch.
2736 (setChannel): Removed.
2737 (getChannel): Return null.
2739 2003-09-18 Mark Wielaard <mark@klomp.org>
2741 Reported by Guilhem Lavaux and Julian Dolby
2742 * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the
2743 field "serialPersistentFields", not "getSerialPersistentFields".
2745 2003-09-18 Ingo Proetel <proetel@aicas.com>
2747 * java/util/TimeZone.java: Initialize lazily.
2748 * java/util/Locale.java (readManifest): Fix check for country.
2749 * java/util/GregorianCalendar.java: Make use of ResourceBundle better
2751 * java/util/Calendar.java: Make use of ResourceBundle better
2754 2003-09-18 Jeroen Frijters <jeroen@frijters.net>
2756 * java/sql/Timestamp.java
2757 (valueOf): Fixed confusion of java.sql.Date and java.util.Date
2759 2003-09-18 David P Grove <groved@us.ibm.com>
2761 * java/io/LineNumberReader (read): Don't reset pos & limit when
2764 2003-09-18 Dalibor Topic <robilad@kaffe.org>
2766 * gnu/java/rmi/rmic/Compile_gcj.java (COMPILER_ARGS): New private
2768 (computeArguments): use computeTypicalArguments.
2770 * gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Add Compile_kjc.java,
2771 Compile_jikes.java and RMICException.java.
2772 * gnu/java/rmi/rmic/Compile_kjc.java: New file.
2773 * gnu/java/rmi/rmic/Compile_jikes.java: Likewise.
2774 * gnu/java/rmi/rmic/RMICException.java: Likewise.
2776 * gnu/java/rmi/rmic/Compiler.java (getDestination): New method.
2778 * gnu/java/rmi/rmic/CompilerProcess.java: Import java.io.InputStream.
2779 (computeTypicalArguments): New method.
2780 (compile): Print compiler output to System.out. Collect compiler
2781 error output and use it in exception message.
2783 * gnu/java/rmi/rmic/RMIC.java: Import java.util.Set.
2784 (destination): Initialize to null.
2785 (run): Replace file separator with '.' when processing class.
2786 (processClass): Replace '.' with file separator when compiling
2788 (findClass): Use SystemClassLoader to load class.
2789 (generateStub): Use full class name for generated stub, that puts
2790 it in right path. Replace '.' with file separator when generating
2791 stub file name. Write just the stub class name without package
2792 information as class name, and constructor name. Write only
2793 interface names for interfaces extending java.rmi.Remote as
2795 (generateSkel): Use full class name for generated skel, that puts
2796 it in right path. Replace '.' with file separator when generating
2797 stub file name. Write just the stub class name without package
2798 information as class name.
2800 2003-09-18 Michael Koch <konqueror@gmx.de>
2802 * Makefile.am (rmi_java_source_files):
2803 Added gnu/java/rmi/rmic/Compile_kjc.java,
2804 gnu/java/rmi/rmic/Compile_jikes.java and
2805 gnu/java/rmi/rmic/RMICException.java
2806 * Makefile.in: Regenerated.
2808 2003-09-17 Graydon Hoare <graydon@redhat.com>
2810 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2811 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
2812 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
2813 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
2816 2003-09-16 Graydon Hoare <graydon@redhat.com>
2818 * java/awt/BufferedImage.java (setData): Support non-component
2822 2003-09-10 Graydon Hoare <graydon@redhat.com>
2824 * java/awt/geom/AffineTransform.java(transform): Fix airthmetic bugs.
2825 * java/awt/geom/Arc2D.java: Approximate arc segments with cubics.
2827 2003-09-17 Mohan Embar <gnustuff@thisiscool.com>
2829 * configure.in: Standardized help text case of
2830 --enable-hash-synchronization
2831 New configure switch --enable-libgcj-multifile and corresponding
2832 automake conditional ONESTEP.
2833 * configure: Rebuilt.
2834 * Makefile.am: Use automake conditional ONESTEP to determine
2835 whether classfiles should be compiled individually or all
2837 * Makefile.in: Rebuilt.
2839 2003-09-16 Thomas Fitzsimmons <fitzsim@redhat.com>
2841 * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java (construct):
2842 Remove method declaration.
2843 (create()): Call native create.
2844 (create(int)): New method.
2845 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
2846 (create): Add window_id parameter. Call gtk_plug_new with
2847 window_id parameter.
2848 (construct): Remove method implementation.
2850 2003-09-16 Mohan Embar <gnustuff@thisiscool.com>
2852 * Makefile.am: (MOSTLYCLEANFILES) Removed libtool objects.
2853 (mostlyclean-local): New target patterned after clean-local
2854 which recursively deletes all libtool objects using 'libtool rm'.
2855 (clean-local): Slightly modified comment to alleviate monotony.
2856 (distclean-local): New target patterned after clean-local
2857 which recursively deletes all .d files.
2858 * Makefile.in: Rebuilt.
2860 2003-09-11 Tom Tromey <tromey@redhat.com>
2862 * java/net/URLStreamHandler.java (parseURL): If original file
2863 ends with "/", so must canonical result.
2864 * java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus
2865 with nul-termination and finding previous "/".
2867 2003-09-11 Michael Koch <konqueror@gmx.de>
2869 * acconfig.h: Removed most items.
2870 * configure.in: Added descriptions to AC_DEFINE macros that where in
2872 * include/config.h.in: Regenerated.
2874 2003-09-11 Sascha Brawer <brawer@dandelis.ch>
2876 * java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager
2877 if one is installed. Improve Javadoc.
2878 (getSystemEventQueueImpl): Improve Javadoc.
2880 2003-09-11 Tom Tromey <tromey@redhat.com>
2882 * java/io/natFilePosix.cc (getCanonicalPath): Handle case where
2883 file does not exist.
2885 2003-09-10 Anthony Green <green@redhat.com>
2887 * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
2888 Specify full name when referencing ::java::net::InetAddress.
2889 * gnu/java/net/natPlainSocketImplWin32.cc (accept): Ditto.
2892 2003-09-10 Michael Koch <konqueror@gmx.de>
2894 * acconfig.h (__NO_MATH_INLINES): Removed.
2895 * configure.in: Removed check for g++ math inlining bug from 2000.
2896 * configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
2898 * configure: Regenerated.
2900 2003-09-10 David Daney <ddaney@avtrex.com>
2902 * java/util/Arrays.java (equals(all variants)): Quit using
2903 NullPointerException catching to detect null valued parameters.
2905 2003-09-10 Michael Koch <konqueror@gmx.de>
2907 * java/net/DatagramSocket.java,
2908 java/net/MulticastSocket.java,
2909 java/net/ServerSocket.java,
2910 java/net/Socket.java:
2911 Use gnu.java.net.Plain*SocketImpl instead of
2912 java.net.PlainSocketImpl.
2913 * java/net/PlainDatagramSocketImpl.java,
2914 java/net/PlainSocketImpl.java,
2915 java/net/SocketInputStream.java,
2916 java/net/SocketOutputStream.java,
2917 java/net/natPlainDatagramSocketImplNoNet.cc,
2918 java/net/natPlainDatagramSocketImplPosix.cc,
2919 java/net/natPlainDatagramSocketImplWin32.cc,
2920 java/net/natPlainSocketImplNoNet.cc,
2921 java/net/natPlainSocketImplPosix.cc,
2922 java/net/natPlainSocketImplWin32.cc:
2924 * gnu/java/net/PlainDatagramSocketImpl.java,
2925 gnu/java/net/PlainSocketImpl.java,
2926 gnu/java/net/SocketInputStream.java,
2927 gnu/java/net/SocketOutputStream.java,
2928 gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
2929 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
2930 gnu/java/net/natPlainDatagramSocketImplWin32.cc,
2931 gnu/java/net/natPlainSocketImplNoNet.cc,
2932 gnu/java/net/natPlainSocketImplPosix.cc,
2933 gnu/java/net/natPlainSocketImplWin32.cc:
2934 New files (moved from java/net).
2935 * configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc
2936 instead of java/net/natPlain*SocketImpl.cc.
2937 * configure: Regenerated.
2938 * Makefile.am: Moved files from java/net to gnu/java/net.
2939 * Makefile.in: Regenerated.
2941 2003-09-09 Alan Modra <amodra@bigpond.net.au>
2943 * configure: Regenerate.
2945 2003-09-04 Tom Tromey <tromey@redhat.com>
2947 * configure.host: Removed erroneous comment.
2949 * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
2950 lvalue cast; use correct rvalue cast.
2952 2003-09-02 Thomas Fitzsimmons <fitzsim@redhat.com>
2954 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
2955 and height arguments to GtkWindowPeer.create method call.
2956 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
2957 (create(int,int,int)): New method.
2958 (create(int)): Add call to new create method.
2959 (create()): Add width and height arguments to create method
2961 (GtkWindowPeer): Remove call to setBounds.
2962 * java/awt/Frame.java (Frame(String)): Initialize visible field
2964 (Frame(GraphicsConfiguration)): Likewise.
2965 (Frame(String,GraphicsConfiguration)): Likewise.
2966 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
2967 Add width and height parameters. Call
2968 gtk_window_set_default_size.
2969 (connectHooks): Remove unused name variable.
2970 (static setBounds): Call gtk_window_resize not
2971 gtk_widget_set_usize.
2972 (setBounds): Remove unused nchildren variable.
2974 2003-08-31 Ingo Proetel <proetel@aicas.com>
2976 * java/util/logging/Logger.java: provide class and method information
2977 * java/util/logging/LogManager.java: create handlers
2978 * java/util/logging/SimpleFormatter.java: print souceClassName and
2981 2003-08-28 Mohan Embar <gnustuff@thisiscool.com>
2983 * win32.cc: fixed tab, indentation and whitespace
2985 removed jvm.h include
2986 added includes java/lang/UnsupportedOperationException.h,
2987 java/io/IOException.h, java/net/SocketException.h
2988 (WSAEventWrapper): class implementation
2989 (_Jv_WinStrError): implemented both overloads
2990 (_Jv_ThrowIOException): implemented both overloads
2991 (_Jv_ThrowSocketException): implemented both overloads
2992 (_Jv_select): implemented
2993 * include/win32.h: fixed tab, indentation and whitespace
2995 wrapped <windows.h> include with #define WIN32_LEAN_AND_MEAN
2997 (WSAEventWrapper): added class declaration
2998 (_Jv_WinStrError): added both overload declarations
2999 (_Jv_ThrowIOException): added both overload declarations
3000 (_Jv_ThrowSocketException): added both overload declarations
3001 removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
3002 (_Jv_select): added declaration
3003 (_Jv_socket): removed
3004 (_Jv_connect): removed
3005 (_Jv_close): removed
3007 (_Jv_accept): removed
3008 (_Jv_listen): removed
3009 (_Jv_write): removed
3011 * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
3012 whitespace inconsistencies
3013 replaced <windows.h> #include with <platform.h>
3014 removed jvm.h include
3015 (testCanUseGetHandleInfo): new function which tests whether Win32
3016 GetHandleInformation() call can be used with console buffer handles
3017 (only supported on >=WinNT 5.0)
3018 (winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
3019 (valid): rewrote implementation using GetHandleInformation()
3020 (sync): changed exception throwing to use error string and exception
3021 helper methods declared in include/win32.h
3024 (setLength): likewise
3027 (getFilePointer): likewise
3029 * java/io/natFileWin32.cc: fixed tab, indentation and
3030 whitespace inconsistencies
3031 replaced <windows.h> #include with <platform.h>
3032 removed jvm.h include
3033 (_access): use JV_TEMP_UTF_STRING
3035 (performMkDir): use JV_TEMP_UTF_STRING
3036 (performRenameTo): likewise
3037 (performDelete): likewise
3038 (performCreate): likewise
3039 (performSetReadOnly): likewise
3040 (performSetLastModified): likewise
3041 * java/lang/natWin32Process.cc: fixed tab, indentation and
3042 whitespace inconsistencies
3043 replaced <windows.h> #include with <platform.h>
3044 removed includes gcj/cni.h, jvm.h
3045 (new_string): removed
3046 (startProcess): use JV_TEMP_UTF_STRING,
3047 changed exception throwing to use error string and exception
3048 helper methods declared in include/win32.h
3049 * java/net/natInetAddressWin32.cc: fixed tab, indentation and
3050 whitespace inconsistencies
3051 replaced <windows.h> #include with <platform.h>
3052 removed jvm.h include
3053 removed DISABLE_JAVA_NET conditional code
3054 removed POSIX conditional code not relevant to Win32
3055 (aton): use JV_TEMP_UTF_STRING
3056 removed POSIX conditional code not relevant to Win32
3058 (getLocalHostName): likewise
3059 * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
3060 whitespace inconsistencies
3061 removed unnecessary windows.h, winsock.h and gcj/cni.h includes
3062 removed DISABLE_JAVA_NET conditional code
3063 removed POSIX conditional code not relevant to Win32
3064 (winsock2GetRealNetworkInterfaces): new function to compute network
3065 interfaces via Winsock2 API
3066 (determineGetRealNetworkInterfacesFN): new function for returning
3067 a function pointer to the function used to compute network interfaces.
3068 (getRealNetworkInterfaces): implemented
3069 * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
3070 whitespace inconsistencies
3071 removed gcj/cni.h include
3072 removed DISABLE_JAVA_NET conditional code
3073 removed POSIX conditional code not relevant to Win32
3074 changed net POSIXisms to Win32isms
3075 replaced _Jv socket-related calls with their real Win32 equivalents
3076 changed exception throwing to use error string and exception
3077 helper methods declared in include/win32.h
3078 (peekData): implemented timeout support
3080 * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
3081 whitespace inconsistencies
3082 removed gcj/cni.h and gcj/javaprims.h includes
3083 removed DISABLE_JAVA_NET conditional code
3084 removed POSIX conditional code not relevant to Win32
3085 changed net POSIXisms to Win32isms
3086 replaced _Jv socket-related calls with their real Win32
3088 changed exception throwing to use error string and exception
3089 helper methods declared in include/win32.h
3090 (throwConnectException): helper function for connect()
3091 (connect): implemented timeout support
3093 (doRead): new helper function common to both read() method overloads,
3094 includes timeout support
3095 (read): implemented both overloads in terms of doRead()
3096 (available): implemented using ioctlsocket()
3098 2003-08-28 Mohan Embar <gnustuff@thisiscool.com>
3100 * java/net/natInetAddressWin32.cc,
3101 java/net/natNetworkInterfaceWin32.cc,
3102 java/net/natPlainDatagramSocketImplWin32.cc,
3103 java/net/natPlainSocketImplWin32.cc:
3104 Readded code enclosed in DISABLE_JAVA_NET defines
3105 in preparation for MinGW cleanup / networking
3108 2003-08-28 Mohan Embar <gnustuff@thisiscool.com>
3110 * Makefile.am: Fixed problems with parallel makes.
3111 (all_java_class_files): Readded definition.
3112 (all_java_class_files): New target which depends on
3113 libgcj-@gcc_version@.jar
3114 * Makefile.in: Rebuilt
3116 2003-08-28 Tom Tromey <tromey@redhat.com>
3118 * Makefile.in: Rebuilt.
3119 * Makefile.am (ordinary_java_source_files): Added new files.
3120 * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
3122 * java/net/URLClassLoader.java (findClass): Don't use
3123 findURLResource. Use loader's getClass method.
3124 (URLLoader.getClass): New method.
3125 (addURL): Handle `gcjlib' URLs.
3126 (SoURLLoader): New class.
3127 (SoResource): Likewise.
3128 * gnu/gcj/protocol/gcjlib/Connection.java: New file.
3129 * gnu/gcj/protocol/gcjlib/Handler.java: New file.
3130 * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
3131 (_Jv_RegisterCoreHook): Declare.
3132 (_Jv_FindCore): Declare.
3133 * gnu/gcj/runtime/SharedLibHelper.java: New file.
3134 * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
3136 (core_hook): New function.
3137 (struct SharedLibDummy) [saved_core]: New field.
3138 (init): Set _Jv_RegisterCoreHook. Throw exception on failure.
3139 (register_hook): Set protection domain and class loader on new
3141 (finalize): Free core chain.
3142 * gnu/gcj/Core.java (Core): New constructor.
3143 * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
3145 * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
3146 (_Jv_create_core): New function.
3148 (default_register_resource): New function.
3149 (_Jv_RegisterCoreHook): New global.
3150 (_Jv_RegisterResource): Use it.
3151 (core_chain_struct): Removed.
3152 (_Jv_FindCore): New function.
3153 (_Jv_FreeCoreChain): New function.
3155 2003-08-29 Michael Koch <konqueror@gmx.de>
3157 * java/net/natInetAddressWin32.cc,
3158 java/net/natNetworkInterfaceWin32.cc,
3159 java/net/natPlainDatagramSocketImplWin32.cc,
3160 java/net/natPlainSocketImplWin32.cc:
3161 Removed code enclosed in DISABLE_JAVA_NET defines.
3163 2003-08-26 Mohan Embar <gnustuff@thisiscool.com>
3165 * Makefile.am: (write_entries_to_file) New parameterized
3166 function for writing entries to a file one line at a time.
3167 (all_java_class_files): Removed definition.
3168 (.java.class) Removed.target.
3169 (libgcj-@gcc_version@.jar): Changed dependency to
3170 $(all_java_source_files); added compilation step which compiles
3171 all changed source files in one pass.
3172 (libgcj.la) Refactored to use write_entries_to_file.
3173 (lib-gnu-awt-xlib.la) Likewise.
3174 (install-data-local) Likewise.
3175 (write-entries-to-file-check) New target which tests write_entries_to_file.
3176 (all-recursive): Changed dependency from $(all_java_class_files)
3177 to libgcj-@gcc_version@.jar
3178 * Makefile.in: Rebuilt.
3180 2003-08-26 Tom Tromey <tromey@redhat.com>
3182 * java/lang/StrictMath.java: Typo fix.
3183 * java/lang/Math.java: Typo fix.
3185 2003-08-26 Stephen Crawley <crawley@dstc.edu.au>
3187 * java/lang/ThreadGroup.java (removeThread): null the 'group' field
3188 of the removed Thread.
3190 2003-08-26 Mark Wielaard <mark@klomp.org>
3192 Reported by David Holmes <dholmes@dltech.com.au>.
3193 * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside
3194 Collections.synchronizedMap.
3195 * java/lang/ThreadLocal.java (valueMap): Likewise.
3197 2003-08-26 Mark Wielaard <mark@klomp.org>
3199 * java/security/acl/Acl.java: Fix broken p tag.
3200 * java/text/DateFormatSymbols.java: Correctly open and close li tags.
3201 * javax/swing/border/LineBorder.java: Close img tag alt attributes.
3202 * javax/swing/plaf/TreeUI.java: Likewise.
3203 * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
3204 * java/util/Properties.java: Use the word umlaut, not ä in api
3206 * java/util/PropertyResourceBundle.java: Likewise and add closing code
3209 2003-08-26 Tom Tromey <tromey@redhat.com>
3211 * Makefile.in: Rebuilt.
3212 * Makefile.am: Removed all GNU-make-specific FIXME comments.
3214 * java/lang/ref/Reference.java (get): Indentation fix.
3215 (clear): Comment fix.
3216 (enqueue): Likewise.
3218 (referent): Likewise.
3220 2003-08-26 Tom Tromey <tromey@redhat.com>
3223 * java/lang/reflect/natArray.cc (set): Allow null as argument.
3225 * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.
3226 (ProxyData.getPackage): New method.
3227 (ProxyData.getProxyData): Use package name, not Package.
3228 (ClassFactory.ClassFactory): Updated.
3230 2003-08-25 Scott Gilbertson <scottg@mantatest.com>
3231 * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.
3232 * Makefile.in: re-generated.
3233 * gnu/awt/j2d/IntegerGraphicsState.java
3234 (ScreenCoupledImage): new interface.
3235 (drawImage): detect ScreenCoupledImage instances.
3236 * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented.
3237 * gnu/awt/xlib/XEventLoop.java
3238 (createEvent): re-formatted, and rearranged to avoid null pointer.
3239 * gnu/awt/xlib/XGraphics.java
3240 (drawImage): added XOffScreenImage handling.
3241 * gnu/awt/xlib/XOffScreenImage.java: new file.
3242 * gnu/gcj/xlib/Drawable.java (getDepth): new native method.
3243 * gnu/gcj/xlib/GC.java (copyArea): new native method.
3244 * gnu/gcj/xlib/XAnyEvent.java
3245 (TYPE_KEY_PRESS): new constant.
3246 (TYPE_KEY_RELEASE): new constant.
3247 (TYPE_MOTION_NOTIFY): new constant.
3248 (TYPE_ENTER_NOTIFY): new constant.
3249 (TYPE_LEAVE_NOTIFY): new constant.
3250 (TYPE_FOCUS_IN): new constant.
3251 (TYPE_FOCUS_OUT): new constant.
3252 (TYPE_KEYMAP_NOTIFY): new constant.
3253 (TYPE_GRAPHICS_EXPOSE): new constant.
3254 (TYPE_NO_EXPOSE): new constant.
3255 (TYPE_VISIBILITY_NOTIFY): new constant.
3256 (TYPE_CREATE_NOTIFY): new constant.
3257 (TYPE_DESTROY_NOTIFY): new constant.
3258 (TYPE_MAP_REQUEST): new constant.
3259 (TYPE_CONFIGURE_REQUEST): new constant.
3260 (TYPE_GRAVITY_NOTIFY): new constant.
3261 (TYPE_RESIZE_REQUEST): new constant.
3262 (TYPE_CIRCULATE_NOTIFY): new constant.
3263 (TYPE_CIRCULATE_REQUEST): new constant.
3264 (TYPE_PROPERTY_NOTIFY): new constant.
3265 (TYPE_SELECTION_CLEAR): new constant.
3266 (TYPE_SELECTION_REQUEST): new constant.
3267 (TYPE_SELECTION_NOTIFY): new constant.
3268 (TYPE_COLORMAP_NOTIFY): new constant.
3269 (TYPE_MAPPING_NOTIFY): new constant.
3270 * gnu/gcj/xlib/natDrawable.cc (getDepth): new method.
3271 * gnu/gcj/xlib/natGC.cc (copyArea): new method
3272 * java/awt/Component.java (createImage): changed to use peer method.
3274 2003-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3276 * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
3277 name, not XLFD, to native drawString.
3278 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
3279 Replace XLFD-based implementation with Pango-based
3282 2003-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3284 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
3285 GTK_WINDOW_DIALOG. Set GTK_WINDOW_POPUP to 1.
3287 2003-08-21 David Daney <ddaney@avtrex.com>
3289 Fix for PR libgcj/12013:
3290 * java/lang/ref/natReference.cc (finalize_referred_to_object):
3291 Check `cleared' field.
3292 * java/lang/ref/Reference.java (copy): Updated comments.
3293 (cleared): New field.
3296 2003-08-21 Scott Gilbertson <scottg@mantatest.com>
3297 Thomas Fitzsimmons <fitzsim@redhat.com>
3299 * Makefile.am (gtk_awt_peer_sources): Add
3300 gnu/java/awt/peer/GLightweightPeer.java. Remove
3301 gnu/java/awt/GLightweightPeer.java.
3302 * gnu/java/awt/GLightweightPeer.java: Remove file.
3303 * gnu/java/awt/peer/GLightweightPeer.java: New file.
3304 * java/awt/Component.java (getToolkit): Add comment about
3305 lightweight components.
3306 * java/awt/Toolkit.java (createComponent): Return
3307 gnu.java.awt.peer.GLightweightPeer.
3309 2003-08-21 Richard Earnshaw <rearnsha@arm.com>
3311 * configure.in: Fix detection of gcj when building with newlib.
3312 * configure: Regenerated.
3314 2003-08-20 Graydon Hoare <graydon@redhat.com>
3316 * jni.cc: Replace "cheating" pointer-casting code with
3317 extract_from_jvalue<> template.
3319 2003-08-20 Andrew Haley <aph@redhat.com>
3321 * gnu/gcj/runtime/StackTrace.java (getClass): New method.
3322 * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
3323 (classAt): Break out class lookup function into getClass().
3324 * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
3325 handlers when using -fno-assume-compiled.
3327 2003-08-20 Tom Tromey <tromey@redhat.com>
3329 Fix for PR libgcj/9125:
3330 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
3331 object outside of loop. Respect lib_control setting.
3332 * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
3334 (lib_control): New field.
3335 (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
3336 (VMClassLoader): Initialize new field.
3338 * java/lang/ref/natReference.cc (finalize_referred_to_object):
3339 Set `list->reference' to DELETED_REFERENCE when removing dead
3341 (find_slot): Added an assert.
3342 (DELETED_REFERENCE): New define.
3343 (add_to_hash): Check for DELETED_REFERENCE.
3344 (remove_from_hash): Just return if found slot isn't ours.
3346 2003-08-19 Andrew Haley <aph@redhat.com>
3348 * prims.cc (unblock_signal): New function.
3349 (catch_segv): Use it.
3350 (catch_fpe): Likewise.
3352 2003-08-19 Danny Smith <dannysmith@users.sourceforge.net>
3355 * java/io/natFileDescriptorWin32.cc (open): Set create
3356 flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
3357 Honor EXCL when openning with WRITE flag.
3359 2003-08-19 Mohan Embar <gnustuff@thisiscool.com>
3361 * include/jvm.h: New class _Jv_TempUTFString (helper class for
3362 getting a temporary C string from a jstring)
3363 New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
3364 but uses a stack buffer if the string length is less than 256
3367 2003-08-18 Tom Tromey <tromey@redhat.com>
3370 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
3371 void. Throw VirtualMachineError if ffi fails. Initialize return
3372 value. Added is_jni_call argument; only wrap exception if not a
3373 JNI call. Use descriptive message if operation not supported.
3374 (_Jv_GetTypesFromSignature): Use declaring class' loader to find
3376 * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
3377 * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
3379 (_Jv_JNI_CallAnyMethodA): Likewise.
3380 (_Jv_JNI_CallAnyVoidMethodV): Likewise.
3381 (_Jv_JNI_CallAnyVoidMethodA): Likewise.
3383 2003-08-13 Tom Tromey <tromey@redhat.com>
3385 * gij.cc (help): Document -? and -X.
3387 2003-08-12 Graydon Hoare <graydon@redhat.com>
3389 * java/awt/Font.java:
3390 Stub out more recent API.
3392 2003-08-12 Graydon Hoare <graydon@redhat.com>
3394 * java/awt/Color.java (getAlpha):
3395 Prevent sign-extended alpha values.
3397 2003-08-12 Tom Tromey <tromey@redhat.com>
3399 * gij.cc (main): Handle -? and -X.
3401 2003-08-10 Jeroen Frijters <jeroen@frijters.net>
3403 * java/awt/Container.java
3404 (getPreferredSize): Call preferredSize.
3405 (preferredSize): Moved body of getPreferredSize here.
3406 (getMinimumSize): Call minimumSize.
3407 (minimumSize): Moved body of getMinimumSize here.
3409 2003-08-11 Tom Tromey <tromey@redhat.com>
3411 * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
3412 (postEvent): Removed FIXME comment.
3413 (isDispatchThread): Documented.
3414 (getCurrentEvent): New method.
3415 (dispatchEvent): Set currentEvent and lastWhen.
3416 (getMostRecentEventTime): Rewrote.
3417 (invokeLater): Documented.
3419 2003-08-10 Bryce McKinlay <bryce@mckinlay.net.nz>
3421 * java/io/PrintStream.java (print): Always flush if auto_flush is
3422 set. Don't check for newline characters.
3423 (write (int)): Implement without using a temporary array.
3424 (write (byte[], int, int): Always flush if auto_flush is set. Don't
3425 check for newline characters.
3426 Fixes PR libgcj/11778.
3428 2003-08-08 Andrew Haley <aph@redhat.com>
3430 * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
3431 * Makefile.in: Rebuild.
3432 * java/lang/natRuntime.cc (insertSystemProperties): Add
3433 "sun.boot.class.path".
3435 2003-08-07 Andrew Haley <aph@redhat.com>
3437 * java/io/PrintStream.java: Don't crash on a null string.
3439 2003-08-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3441 * configure.in: Don't initialize GCINCS to boehm-gc/include.
3442 * configure: Regenerate.
3444 2003-08-07 Bryce McKinlay <bryce@mckinlay.net.nz>
3446 * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
3447 SocketImpl. Update Javadoc.
3448 (bind): Call close() not impl.close() in event of exception.
3449 (connect): Likewise.
3450 Remove superfluous null checks throughout.
3451 * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
3452 Don't create an extra socket. Fix for PR libgcj/10868.
3453 (bind): Clean up exception handling.
3454 Remove superfluous null checks throughout.
3456 2003-08-07 Jacob Gladish <gladish@spinnakernet.com>
3457 Bryce McKinlay <bryce@mckinlay.net.nz>
3459 * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
3460 ready-to-write argument to _Jv_Select. Reset the socket back to
3461 non-blocking state after connecting.
3462 (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
3463 Throw SocketTimeoutException not InterruptedIOException.
3464 (read): Throw SocketTimeoutException not InterruptedIOException.
3466 2003-08-07 Bryce McKinlay <bryce@mckinlay.net.nz>
3468 * java/lang/Thread.java (Thread): Check for null "name" from
3469 start of private constructor, not after calling the private
3472 2003-08-06 Tom Tromey <tromey@redhat.com>
3474 * java/io/FilePermission.java (equals): Use correct index for
3475 last character of path.
3477 2003-08-06 Alan Modra <amodra@bigpond.net.au>
3479 * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
3480 * configure.in: Compare with_cross_host to build_alias, not build.
3481 * aclocal.m4: Regenerate.
3482 * configure: Regenerate.
3484 2003-08-05 Tom Tromey <tromey@redhat.com>
3486 Fix for PR libgcj/11779:
3487 * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
3490 * java/lang/reflect/Method.java: Updated status comment.
3491 Imported javadoc from Classpath and re-ordered methods.
3492 * java/lang/reflect/Constructor.java: Reindented. Updated
3493 status comment. Imported javadoc from Classpath and re-ordered
3496 2003-08-05 Thomas Fitzsimmons <fitzsim@redhat.com>
3498 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
3499 Add keyLocation parameter.
3500 * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
3502 (paramString): Generate keyChar string according to keyChar, not
3504 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3505 (state_to_awt_mods): Handle ALT key.
3506 (keyevent_state_to_awt_mods): New function.
3507 (get_first_keyval_from_keymap): New function.
3508 (keysym_to_awt_keycode): Get virtual key code from keymap.
3509 Handle missing VK_ values.
3510 (keysym_to_awt_keylocation): New function.
3511 (keyevent_to_awt_keychar): New function.
3512 (generates_key_typed_event): Handle non-text-component case.
3513 Handle GDK_KP_Delete and GDK_KP_Enter.
3514 (awt_event_handler): Call new functions to get postKeyEvent
3516 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
3517 Update postKeyEvent method signature.
3518 * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines. Add missing
3521 2003-08-05 Matthias Klose <doko@debian.org>
3523 * aclocal.m4: check for libart-config binary
3524 under the name libart2-config as well.
3525 * configure: regenerated.
3527 2003-08-04 David P Grove <groved@us.ibm.com>
3529 * java/text/DecimalFormat.java (format): avoid ArithmeticException
3530 when groupingSize is 0.
3533 2003-08-04 Matthias Klose <doko@debian.org>
3535 * libart.m4: check for libart-config binary
3536 under the name libart2-config as well.
3537 * configure, aclocal.m4: regenerated.
3539 2003-08-02 Michael Koch <konqueror@gmx.de>
3541 * java/nio/ByteBufferImpl.java
3542 (getChar): Check remaining bytes, fixed comment about endianess.
3543 (putChar): Likewise.
3544 (getShort): Likewise.
3545 (putShort): Likewise.
3546 (getInt): Check remaining bytes, fixed conversion, fixed comment about
3549 (getLong): Likewise.
3550 (putLong): Likewise.
3551 (getFloat): Likewise.
3552 (putFloat): Likewise.
3553 (getDouble): Likewise.
3554 (putDouble): Likewise.
3555 * java/nio/DirectByteBufferImpl.java
3556 (getChar): Wrapped code, fixed comment about endianess.
3557 (putchar): Likewise.
3558 (getShort): Likewise.
3559 (putShort): Likewise.
3560 (getInt): Fixed conversion, fixed comment about endianess.
3562 (getLong): Likewise.
3563 (putLong): Likewise.
3564 (getFloat): Likewise.
3565 (putFloat): Likewise.
3566 (getDouble): Likewise.
3567 (putDouble): Likewise.
3568 * java/nio/MappedByteBufferImpl.java
3569 (compact): Implemented.
3570 (getChar): Implemented.
3571 (putChar): Implemented.
3572 (getDouble): Implemented.
3573 (putdouble): Implemented.
3574 (getFloat): Implemented.
3575 (putFloat): Implemented.
3576 (getInt): Implemented.
3577 (putInt): Implemented.
3578 (getLong): Implemented.
3579 (putLong): Implemented.
3580 (getShort): Implemented.
3581 (putShort): Implemented.
3582 * java/nio/channels/FileChannelImpl.java
3583 (read): Set position where to access file.
3585 (transferTo): Flip buffer after read and before write.
3586 (transferFrom): Likewise.
3588 2003-08-02 Michael Koch <konqueror@gmx.de>
3590 * gnu/java/lang/ArrayHelper.java
3591 (equalsArray): Reformated, added method documentation.
3593 2003-08-02 Michael Koch <konqueror@gmx.de>
3596 (URL): Added paragraph about the
3597 gnu.java.net.nocache_protocol_handlers property.
3598 (ph_cache): Renamed from handlers to match classpath's implementation.
3599 Reordered it with factory and serialVersionUID member variables.
3600 (cache_handlers): New member variable.
3601 (static): New static initializer to initialize cache_handlers from
3602 gnu.java.net.nocache_protocol_handlers property.
3603 (URL): Use ph_cache instead of handlers, reformatted some code to
3604 match classpath's implementation.
3606 2003-08-01 Tom Tromey <tromey@redhat.com>
3608 Fix for PR libgcj/11241:
3609 * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
3610 initialCapacity is 0, set it to 1.
3612 2003-08-01 Stephen Crawley <crawley@dstc.edu.au>
3614 * java/net/SocketImpl.java (toString): Display the remote address
3615 of an unconnected server socket as "0.0.0.0/0.0.0.0".
3617 2003-08-01 Sascha Brawer <brawer@dandelis.ch>
3619 * javax/swing/border/BevelBorder.java,
3620 javax/swing/border/EtchedBorder.java,
3621 javax/swing/border/LineBorder.java,
3622 javax/swing/border/MatteBorder.java,
3623 javax/swing/border/SoftBevelBorder.java,
3624 javax/swing/plaf/BorderUIResource.java,
3625 javax/swing/plaf/ComponentUI.java,
3626 javax/swing/plaf/TreeUI.java,
3627 javax/swing/plaf/basic/BasicBorders.java,
3628 javax/swing/plaf/basic/BasicGraphicsUtils.java,
3629 javax/swing/plaf/basic/BasicTreeUI.java:
3630 Prepend "doc-files" to all paths to embedded Javadoc images, so
3631 that the generated documentation contains the correct URL.
3633 2003-08-01 Tom Tromey <tromey@redhat.com>
3635 * configure: Rebuilt.
3636 * configure.in (tool_include_dir): Redefine to match gcc.
3638 2003-08-01 Jerry Quinn <jlquinn@optonline.net>
3639 Mark Wielaard <mark@klomp.org>
3641 * java/math/BigDecimal (divide): Correctly handle
3642 ROUND_HALF_EVEN when amount is greater than 0.5.
3643 Simplify and optimize code.
3645 2003-07-31 Tom Tromey <tromey@redhat.com>
3647 More for PR libgcj/11737:
3648 * java/io/ObjectInputStream.java (processResolution): Use
3650 (getMethod): Make method accessible.
3651 (getField): Make field accessible.
3652 (setBooleanField): Don't call setAccessible here.
3653 (setByteField, setCharField, setDoubleField, setFloatField,
3654 setIntField, setLongField, setShortField, setObjectField):
3656 (callReadMethod): Don't check whether method is null. Catch
3657 NoSuchMethodException.
3658 * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
3659 cause on thrown exceptions.
3661 2003-07-31 Stepan Koltsov <yozh@mx1.ru>
3663 Fix for PR libgcj/11728:
3664 * java/util/HashMap.java (readObject): Set size.
3666 2003-07-31 Tom Tromey <tromey@redhat.com>
3668 Fix for PR libgcj/11737:
3669 * java/io/ObjectOutputStream.java (getMethod): Make method
3671 (getField): Likewise.
3672 (writeObject): Use getMethod.
3673 Import PrivilegedAction and AccessController.
3674 (callWriteMethod): Don't check whether m is null. Catch
3675 NoSuchMethodException.
3677 * java/awt/geom/Arc2D.java (getBounds2D): Implement.
3678 (containsAngle): Likewise.
3679 (getStartPoint): Rewrote.
3680 (getEndPoint): Likewise.
3681 (setAngleStart(Point2D)): Likewise.
3683 2003-07-31 Roger Sayle <roger@eyesopen.com>
3684 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3686 * configure.in: Add new THREADCXXFLAGS variable.
3687 Handle POSIX threads on alpha*-dec-osf*.
3688 * configure: Regenerate.
3689 * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
3690 * Makefile.in: Regenerate.
3692 2003-07-08 Andrew Haley <aph@redhat.com>
3694 * include/i386-signal.h (RESTORE): New.
3695 (INIT_SEGV): Set restorer.
3696 (INIT_FPE): Likewise.
3698 2003-07-29 Thomas Fitzsimmons <fitzsim@redhat.com>
3700 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
3702 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
3703 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
3704 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
3705 (gtkSetFont): Scale size parameter by PANGO_SCALE.
3706 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
3708 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
3711 2003-07-29 Tom Tromey <tromey@redhat.com>
3713 * defineclass.cc (handleField): Throw exception if field name is
3715 (handleMethod): Throw exception for duplicate method.
3717 2003-07-29 Tom Tromey <tromey@redhat.com>
3719 * gnu/gcj/convert/natIconv.cc (write): Handle case where
3720 output buffer is too small.
3722 2003-07-28 Tom Tromey <tromey@redhat.com>
3724 * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
3726 Include gnu/gcj/runtime/StringBuffer.h.
3727 * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
3729 (String(gnu.gcj.runtime.StringBuffer)): Use it.
3731 2003-07-27 Anthony Green <green@redhat.com>
3733 * configure.in: Fix newlib check.
3734 * configure: Rebuilt.
3736 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com>
3738 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
3739 Create vbox and layout for GtkPlug.
3741 2003-07-27 Michael Koch <konqueror@gmx.de>
3743 * java/awt/Window.java
3744 (Window): Removed now unused constructor. It became oboslete with the
3745 new embedded window patch.
3747 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com.h>
3748 Michael Koch <konqueror@gmx.de>
3750 * gnu/java/awt/EmbeddedWindow.java
3751 (EmbeddedWindow): Extends Frame instead of Window.
3752 (window_id): New member variable to store the native window handle.
3754 (EmbeddedWindow): New constructor.
3755 (addNotify): New method.
3756 (getHandler): Likewise.
3757 (setWindowPeer): New native method.
3758 * gnu/java/awt/EmbeddedWindowSupport.java
3759 (EmbeddedWindowSupport): Fixed documentation.
3760 (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
3761 WindowPeer, give it an EmbeddedWindow instance instead of the raw
3763 * gnu/java/awt/natEmbeddedWindow.cc
3765 (setWindowPeer): New method.
3766 * gnu/java/awt/peer/EmbeddedWindowPeer.java,
3767 gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
3768 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
3770 * gnu/java/awt/peer/gtk/GtkToolkit.java
3771 (GtkToolkit): Implements EmbeddedWindowSupport.
3772 (createEmbeddedWindow): New method.
3773 * java/awt/Window.java
3776 (java_source_files): Added EmbeddedWindowPeer.java.
3777 (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
3778 (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
3779 * Makefile.in: Regenerated.
3781 2003-07-26 Ranjit Mathew <rmathew@hotmail.com>
3783 * java/lang/Win32Process.java (ConcreteProcess): Surround
3784 a command line element with quotes if it contains an
3785 embedded space or tab.
3786 * java/lang/natWin32Process.cc (startProcess): Do not
3787 surround command line elements with quotes here.
3789 * configure.host: Use -fcheck-references and
3790 -fuse-divide-subroutine for MinGW until we fix
3791 win32_exception_handler( ) in win32.cc w.r.t. Win32
3792 Structured Exception Handling (SEH).
3794 * win32.cc (_Jv_platform_initProperties): Use generic names
3795 like "x86" for the "os.arch" property to be consistent with
3796 what Sun's JDK produces. Use the wProcessorArchitecture
3797 member of the Win32 SYSTEM_INFO structure, filled in a call
3798 to GetSystemInfo( ), instead of dwProcessorType.
3800 2003-07-26 Mohan Embar <gnustuff@thisiscool.com>
3801 Ranjit Mathew <rmathew@hotmail.com>
3803 * Makefile.am: Use cross-compiling gcjh from the path for
3804 a crossed-native build.
3805 * Makefile.in: Rebuilt.
3806 * configure.in: Include libltdl in non-newlib builds.
3807 Moved determination of gcj used to build libraries to
3808 its own section. Fixed cross-compilation issues for
3810 * configure: Rebuilt.
3812 2003-07-25 Tom Tromey <tromey@redhat.com>
3814 * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
3819 2003-07-25 Mark Wielaard <mark@klomp.org>
3821 * java/lang/natRuntime.cc (_load): Add library name to
3822 UnsatisfiedLinkError when thrown.
3824 2003-07-25 Mark Wielaard <mark@klomp.org>
3826 * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
3828 * Makefile.in: Likewise.
3830 2003-07-25 Jeroen Frijters <jeroen@frijters.net>
3832 * java/awt/Component.java
3833 (getPreferredSize): Call preferredSize.
3834 (preferredSize): Moved body of getPreferredSize here.
3835 (getMinimumSize): Call minimumSize.
3836 (minimumSize): Moved body of getMinimumSize here.
3837 (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
3838 (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
3840 * java/awt/Container.java
3841 (validate): Don't validate if there is no peer.
3842 (update): Clear background before calling paint.
3843 * java/awt/GridBagLayout.java
3844 Completed the implementation and fixed several bugs.
3845 * java/awt/MediaTracker.java
3846 (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
3848 * java/awt/Window.java
3849 (Window): Don't call setVisible(false). Windows are invisible by
3850 default and calling virtual methods from constructor causes
3851 compatibility problems (e.g. subclasses may assume that the peer
3854 2003-07-25 Michael Koch <konqueror@gmx.de>
3856 * java/awt/GridBagLayout.java:
3857 Totally reworked and partly implemented.
3858 * java/awt/GridBagLayoutInfo.java:
3861 2003-07-24 Thomas Fitzsimmons <fitzsim@redhat.com>
3863 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
3864 Don't pack label in an event box.
3866 2003-07-24 Tom Tromey <tromey@redhat.com>
3869 * verify.cc (ref_intersection): New class.
3870 (type_val): Removed unresolved_reference_type,
3871 uninitialized_unresolved_reference_type.
3872 (is_assignable_from_slow): Rewrote.
3873 (type::data): Removed.
3874 (type::klass): New field.
3875 (type::type): Added verifier argument.
3876 (type::resolve): Removed.
3877 (type::set_uninitialized): Updated for change to type_val.
3878 (type::set_initialized): Likewise.
3879 (type::isinitialized): Likewise.
3880 (type::print): Likewise.
3881 (construct_primitive_array_type): Likewise.
3882 (type::compatible): Updated for change to type_val and to use
3884 (type::isarray): Updated to use ref_intersection.
3885 (type::isinterface): Likewise.
3886 (type::element_type): Likewise.
3887 (type::to_array): Likewise.
3888 (type::verify_dimensions): Rewrote.
3889 (type::merge): Likewise.
3890 (check_class_constant): Updated for type constructor change.
3891 (check_constant): Likewise.
3892 (check_field_constant): Likewise.
3893 (get_one_type): Likewise.
3894 (initialize_stack): Likewise.
3895 (verify_instructions_0): Likewise.
3896 (verify_instructions_0) [op_invokeinterface]: Removed special
3898 (isect_list): New field.
3899 (_Jv_BytecodeVerifier): Initialize it.
3900 (~_Jv_BytecodeVerifier): Destroy ref_intersection objects.
3902 2003-07-24 H. Väisänen <hvaisane@joyx.joensuu.fi>
3904 * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
3905 unless field size is 2.
3907 2003-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3909 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
3910 (connectHooks): New method.
3911 (handleEvent): Remove.
3912 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
3913 (createHooks): Remove declaration.
3914 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3915 (generates_key_typed_event): Change to handle only certain
3917 (awt_event_handler): Add special handling for GtkTextView.
3918 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3919 (textcomponent_commit_cb): New function.
3920 (textcomponent_changed_cb): Likewise.
3921 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
3922 (connectHooks): Remove.
3924 2003-07-23 Tom Tromey <tromey@redhat.com>
3926 * java/lang/natSystem.cc (arraycopy): Check for overflow.
3928 * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
3930 2003-07-22 Tom Tromey <tromey@redhat.com>
3932 * boehm.cc (_Jv_BuildGCDescr): Wrote.
3935 2003-07-22 Tom Tromey <tromey@redhat.com>
3937 * java/awt/Window.java (getWarningString): Just return the
3939 (Window): Set warningString; check with security manager.
3941 2003-07-22 Scott Gilbertson <scottg@mantatest.com>
3943 * gnu/awt/xlib/XGraphicsConfiguration.java
3944 (FontMetricsCache): Made static.
3946 2003-07-22 Tom Tromey <tromey@redhat.com>
3948 * java/net/URLEncoder.java (encode(String)): Use platform default
3950 (encode(String,String)): Convert to 2-digit upper-case hex
3954 2003-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3956 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3957 (create): Remove unused method implementation.
3958 (connectHooks): Remove debug messages.
3960 2003-07-20 Anthony Green <green@redhat.com>
3962 * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
3963 CloneNotSupportedException.
3964 * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
3965 * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
3966 * gnu/gcj/xlib/GC.java (clone): Ditto.
3967 * gnu/awt/xlib/XGraphics.java (clone): Ditto.
3968 * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
3970 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
3972 * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
3974 2003-07-20 Steve Pribyl <steve@netfuel.com.>
3976 * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
3977 String. Put dlerror() message into exception.
3978 Include UnsatisfiedLinkError.
3979 * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
3982 2003-07-20 Tom Tromey <tromey@redhat.com>
3984 * java/lang/Runtime.java: Comment fix.
3985 * java/lang/ClassLoader.java (isAncestorOf): New method.
3986 (getParent): Uncommented security check. Use isAncestorOf.
3987 * include/jvm.h (_Jv_CheckAccess): Declare.
3988 * java/lang/reflect/natConstructor.cc (newInstance): Perform
3990 Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
3991 * java/lang/reflect/natArray.cc (newInstance): Pass caller's
3992 class loader to _Jv_GetArrayClass.
3993 Include ArrayIndexOutOfBoundsException.h.
3994 * java/lang/reflect/Field.java: Update comment to reflect status.
3995 (equals): Fixed indentation.
3996 * java/lang/Class.h (Class): Declare memberAccessCheck, not
3997 checkMemberAccess. Make _Jv_CheckAccess a friend.
3998 * java/lang/Class.java (memberAccessCheck): New method from
4000 (checkMemberAccess): Removed.
4001 (getDeclaredMethod): Use memberAccessCheck.
4002 (getField): Likewise.
4003 (getMethod): Likewise.
4004 * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
4005 (_Jv_SearchMethodInClass): Likewise.
4006 * prims.cc (_Jv_CheckAccess): New function.
4007 * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
4008 (_Jv_JNI_GetAnyFieldID): Likewise.
4009 * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
4010 (getClassLoader): Added security check.
4011 (getConstructor): Call memberAccessCheck.
4012 (getDeclaredClasses): Likewise.
4013 (getDeclaredField): Likewise.
4014 (getDeclaredFields): Likewise.
4015 (_getConstructors): Likewise.
4016 (getDeclaredConstructor): Likewise.
4017 (getDeclaredMethods): Likewise.
4018 (getFields): Likewise.
4019 (getMethods): Likewise.
4020 (newInstance): Likewise.
4021 (_Jv_MakeVTable): Put method name in exception.
4022 * java/lang/reflect/natMethod.cc (getType): Use
4023 getClassLoaderInternal.
4024 (_Jv_GetTypesFromSignature): Likewise.
4025 (invoke): Perform access check.
4026 (_Jv_CallAnyMethodA): Removed old FIXME comments.
4027 Include ArrayIndexOutOfBoundsException.h.
4028 * java/lang/reflect/natField.cc (getType): Use
4029 getClassLoaderInternal.
4030 (_Jv_CheckFieldAccessibility): Removed.
4031 (getAddr): Use _Jv_CheckAccess; find caller.
4032 Include ArrayIndexOutOfBoundsException.h.
4034 2003-07-20 Michael Koch <konqueror@gmx.de>
4037 (URL): Fixed documentation to name an argument correcty, Reformatted
4038 one method declaration.
4039 (getURLStreamHandler): Added documentation from classpath.
4041 2003-07-19 Tom Tromey <tromey@redhat.com>
4043 * mauve-libgcj: Don't run CollationElementIterator tests.
4045 2003-07-19 Jeroen Frijters <jeroen@sumatra.nl>
4047 * java/net/URLClassLoader.java (addURL): Moved implementation to
4048 private addURLImpl() to avoid calling addURL from the constructor.
4049 (addURLImpl): Contains the code that was previously in addURL.
4050 (addURLs): Call addURLImpl(), not addURL().
4052 2003-07-18 Graydon Hoare <graydon@redhat.com>
4054 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
4055 Handle missing event cases, connect to "value-changed" signal.
4057 2003-07-18 Graydon Hoare <graydon@redhat.com>
4059 * java/awt/geom/CubicCurve2D.java,
4060 java/awt/geom/Line2D.java,
4061 java/awt/geom/QuadCurve2D.java,
4062 java/awt/geom/Rectangle2D.java:
4063 Fix path some calculations, make path iterators follow
4066 2003-07-18 Mark Wielaard <mark@klomp.org>
4068 * java/util/logging/Handler.java (isLoggable): Check record level
4071 2003-07-17 Michael Koch <konqueror@gmx.de>
4073 * gnu/java/awt/peer/gtk/GtkToolkit.java:
4076 2003-07-14 Michael Koch <konqueror@gmx.de>
4078 * gnu/java/rmi/server/UnicastServerRef.java:
4079 New version from classpath.
4081 2003-07-14 Michael Koch <konqueror@gmx.de>
4083 * java/awt/image/MemoryImageSource.java,
4084 java/beans/PropertyEditorManager.java,
4085 javax/naming/CompoundName.java,
4086 javax/naming/spi/NamingManager.java,
4087 javax/swing/AbstractButton.java,
4088 javax/swing/ButtonModel.java,
4089 javax/swing/SwingUtilities.java,
4090 javax/swing/UIManager.java,
4091 javax/swing/colorchooser/DefaultColorSelectionModel.java,
4092 javax/swing/event/AncestorEvent.java,
4093 javax/swing/event/InternalFrameEvent.java,
4094 java/util/zip/ZipFile.java:
4095 New versions from classpath.
4097 2003-07-13 Michael Koch <konqueror@gmx.de>
4099 * gnu/java/nio/FileChannelImpl.java,
4100 gnu/java/nio/natFileChannelImpl.cc: Removed.
4101 * java/io/FileInputStream.java,
4102 java/io/FileOutputStream.java,
4103 java/io/RandomAccessFile.java,
4104 java/nio/MappedByteBufferImpl.java:
4105 Import java.nio.channels.FileChannelImpl instead of
4106 gnu.java.nio.FileChannelImpl.
4107 * java/nio/channels/FileChannelImpl.java,
4108 java/nio/channels/natFileChannelImpl.cc:
4111 (ordinary_java_source_files):
4112 Removed gnu/java/nio/FileChannelImpl.java and added
4113 java/nio/channels/FileChannelImpl.java.
4115 Removed gnu/java/nio/natFileChannelImpl.cc and added
4116 java/nio/channels/natFileChannelImpl.cc.
4117 * Makefile.in: Regenerated.
4119 2003-07-13 Michael Koch <konqueror@gmx.de>
4121 * javax/swing/plaf/basic/BasicBorders.java,
4122 javax/swing/plaf/basic/BasicLabelUI.java,
4123 javax/swing/plaf/basic/BasicLookAndFeel.java,
4124 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
4125 javax/swing/plaf/basic/BasicTextUI.java,
4126 javax/swing/plaf/metal/MetalLookAndFeel.java:
4127 New versions from classpath.
4129 2003-07-13 Michael Koch <konqueror@gmx.de>
4131 * gnu/java/awt/peer/gtk/GdkFontMetrics.java
4132 * gnu/java/awt/peer/gtk/GdkGraphics.java
4133 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
4134 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
4135 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
4136 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
4137 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
4138 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
4139 * gnu/java/awt/peer/gtk/GtkClipboard.java
4140 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
4141 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
4142 * gnu/java/awt/peer/gtk/GtkFramePeer.java
4143 * gnu/java/awt/peer/gtk/GtkGenericPeer.java
4144 * gnu/java/awt/peer/gtk/GtkImage.java
4145 * gnu/java/awt/peer/gtk/GtkImagePainter.java
4146 * gnu/java/awt/peer/gtk/GtkLabelPeer.java
4147 * gnu/java/awt/peer/gtk/GtkListPeer.java
4148 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
4149 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
4150 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
4151 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
4152 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
4153 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
4154 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
4155 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
4156 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
4157 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
4158 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
4159 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
4161 2003-07-13 Michael Koch <konqueror@gmx.de>
4163 * gnu/java/locale/LocaleInformation_de.java
4164 * gnu/java/locale/LocaleInformation_en.java
4165 * gnu/java/locale/LocaleInformation_nl.java
4167 2003-07-13 Michael Koch <konqueror@gmx.de>
4169 * gnu/java/awt/EmbeddedWindow.java,
4170 gnu/java/awt/EmbeddedWindowSupport.java,
4171 gnu/java/awt/natEmbeddedWindow.cc:
4173 * java/awt/Window.java
4174 (Window): New constructor to support embedded windows.
4176 (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
4177 gnu/java/awt/EmbeddedWindowSupport.java.
4178 (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
4179 * Makefile.in: Regenerated.
4181 2003-07-11 Matt Kraai <kraii@alumni.cmu.edu>
4183 * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
4184 * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
4185 * java/awt/im/InputContext.java: Remove a redundant
4188 2003-07-09 Tom Tromey <tromey@redhat.com>
4190 * Makefile.in: Rebuilt.
4191 * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
4193 2003-07-09 Mark Wielaard <mark@klomp.org>
4195 * java/io/ObjectOutputStream.java (writeObject): break after
4196 calling writeClassDescriptor().
4198 2003-07-09 Mark Mitchell <mark@codesourcery.com>
4200 * gcj/array.h (JvPrimClass): Don't parenthesize the output.
4202 2003-07-09 Michael Koch <konqueror@gmx.de>
4204 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4205 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4206 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4207 gnu/java/awt/peer/gtk/GtkWindowPeer.java:
4208 Explicitly import used classes.
4209 * java/awt/Container.java: New version from classpath.
4211 2003-07-09 Michael Koch <konqueror@gmx.de>
4213 * libgcj.pc.in: New file.
4214 * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
4215 * Makefile.in: Regenerated.
4216 * configure: Regenrated.
4217 * configure.in: Create libgcj.pc from libgcj.pc.in.
4219 2003-07-08 Mark Wielaard <mark@klomp.org>
4221 * gcj/cni.h: CNI now expands to Compiled Native Interface.
4223 * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
4224 * java/lang/fdlibm.h: Likewise.
4226 2003-07-07 Adam Megacz <adam@xwt.org>
4228 * posix.cc: added #include<stdio.h>
4230 2003-07-07 Thomas Fitzsimmons <fitzsim@redhat.com>
4232 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
4235 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
4236 (setCaretPosition, setEditable): Rely entirely on native
4239 (postTextEvent): New method.
4240 (handleEvent): New method.
4241 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
4243 * java/awt/event/ActionEvent.java (paramString): Fix formatting.
4244 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4245 (keysym_to_awt_keycode): Fix range checks.
4246 (generates_key_typed_event): New function.
4247 (awt_event_handler): Post AWT_KEY_RELEASED events to event
4249 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4250 (gtkInit): Store TextComponent's postTextEvent method ID.
4251 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
4252 (setText): Post TEXT_VALUE_CHANGED event to event queue.
4254 2003-07-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4256 * configure.in: Check for usleep declaration.
4257 * acconfig.h (HAVE_USLEEP_DECL): Provide template.
4258 * configure: Regenerate.
4259 * include/config.h.in: Likewise.
4260 * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
4262 2003-07-01 Michael Koch <konqueror@gmx.de>
4264 * gnu/gcj/convert/natIconv.cc
4265 (iconv_init): Fixed possible memory leak by releasing allocated iconv
4268 2003-06-30 Thomas Fitzsimmons <fitzsim@redhat.com>
4270 * glib-2.0.m4: New file.
4271 * gtk-2.0.m4: New file.
4274 * configure.in: Update AM_PATH_GTK macro call to
4275 AM_PATH_GTK_2_0. Likewise for AM_PATH_GLIB.
4276 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
4277 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4278 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
4279 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
4280 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
4281 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
4282 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
4283 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4284 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
4285 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
4286 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
4287 jni/gtk-peer/gthread-jni.c,
4288 jni/gtk-peer/gthread-jni.h:
4289 New versions from classpath.
4290 * aclocal.m4: Regenerate.
4291 * configure: Regenerate.
4292 * Makefile.in: Regenerate.
4293 * gcj/Makefile.in: Regenerate.
4294 * include/Makefile.in: Regenerate.
4295 * testsuite/Makefile.in: Regenerate.
4297 2003-06-30 Gary Benson <gbenson@redhat.com>
4299 For PR libgcj/11349:
4300 * javax/naming/spi/NamingManager.java (getURLContext): Use
4301 correct name for factory class.
4303 2003-06-28 Michael Koch <konqueror@gmx.de>
4305 * java/io/PrintStream.java
4306 (checkError): Call flush() instead of direct flushing of the Writer
4308 (print): Call print(String) instead of direct print method of the
4310 (println): Call println(String) instead of direct println method of the
4312 (write): Simplified.
4314 2003-06-28 Michael Koch <konqueror@gmx.de>
4316 * java/net/ServerSocket.java
4317 (setChannel): New method.
4318 * java/net/Socket.java
4319 (setChannel): New method.
4321 2003-06-27 Michael Koch <konqueror@gmx.de>
4323 * java/beans/beancontext/BeanContextSupport.java:
4324 New version from classpath.
4326 2003-06-27 Michael Koch <konqueror@gmx.de>
4328 * java/awt/Window.java,
4329 java/awt/font/GraphicAttribute.java,
4330 java/awt/font/ImageGraphicAttribute.java,
4331 java/awt/image/DataBufferByte.java,
4332 java/awt/image/DataBufferInt.java,
4333 java/awt/image/DataBufferUShort.java,
4334 java/awt/image/DirectColorModel.java,
4335 java/awt/image/PixelGrabber.java:
4336 New versions from classpath.
4338 2003-06-27 Michael Koch <konqueror@gmx.de>
4340 * java/security/Certificate.java
4341 (getGuarantor): Removed wrong @deprecated tag.
4342 (getPrincipal): Likewise.
4343 (getPublicKey): Likewise.
4346 (getFormat): Likewise.
4347 (toString): Likewise.
4348 * java/security/cert/PolicyQualifierInfo.java
4349 (PolicyQualifierInfo): Made final.
4350 * javax/security/auth/x500/X500Principal.java
4351 (serialVersionUID): New member variable.
4353 2003-06-27 Michael Koch <konqueror@gmx.de>
4355 * java/text/Format.java
4356 (serialVersionUID): Fixed value.
4358 2003-06-27 Michael Koch <konqueror@gmx.de>
4360 * java/net/Inet4Address.java
4361 (Inet4Address): Made package-private.
4362 * java/net/Inet6Address.java
4363 (Inet4Address): Made package-private.
4365 2003-06-27 Michael Koch <konqueror@gmx.de>
4367 * java/io/RandomAccessFile.java
4368 (readLine): Removed wrong @deprecated tag.
4369 (getChannel): Made final.
4371 2003-06-27 Michael Koch <konqueror@gmx.de>
4373 * gnu/java/nio/FileChannelImpl.java
4376 2003-06-27 Michael Koch <konqueror@gmx.de>
4378 * java/nio/ByteBufferImpl.java
4379 (ByteBufferImpl): Made it a package-private class
4380 * java/nio/CharBufferImpl.java
4381 (CharBufferImpl): Made it a package-private class
4382 * java/nio/DirectByteBufferImpl.java
4383 (DirectByteBufferImpl): Made it a package-private class
4384 * java/nio/DoubleBufferImpl.java
4385 (DoubleBufferImpl): Made it a package-private class
4386 * java/nio/FloatBufferImpl.java
4387 (FloatBufferImpl): Made it a package-private class
4388 * java/nio/IntBufferImpl.java
4389 (IntBufferImpl): Made it a package-private class
4390 * java/nio/LongBufferImpl.java
4391 (LongBufferImpl): Made it a package-private class
4392 * java/nio/ShortBufferImpl.java
4393 (ShortBufferImpl): Made it a package-private class
4394 * java/nio/channels/FileChannel.java
4395 (write): Made final.
4396 * java/nio/channels/ServerSocketChannel.java
4397 (ServerSocketChanne): Made protected.
4399 2003-06-27 Michael Koch <konqueror@gmx.de>
4401 * javax/naming/CompositeName.java
4402 (serialVersionUID): New member variable.
4403 * javax/naming/CompoundName.java
4404 (serialVersionUID): New member variable.
4405 * javax/naming/InitialContext.java
4406 (InitialContext): Throws NamingException.
4408 * javax/naming/LinkRef.java
4409 (serialVersionUID): New member variable.
4410 (gteLinkName): Throws NamingException.
4411 * javax/naming/NamingException.java
4412 (serialVersionUID): New member variable.
4413 * javax/naming/NamingSecurityException.java
4414 (NamingSecurityException): Made abstract.
4415 (serialVersionUID): New member variable.
4416 * javax/naming/ReferralException.java
4417 (serialVersionUID): New member variable.
4418 * javax/naming/StringRefAddr.java
4419 (serialVersionUID): New member variable.
4420 * javax/naming/directory/BasicAttribute.java:
4422 (serialVersionUID): New member variable.
4423 (get): Throws NamingException.
4424 (getAll): Throws NamingException.
4425 * javax/naming/directory/BasicAttributes.java:
4427 (serialVersionUID): New member variable.
4428 * javax/naming/ldap/UnsolicitedNotificationEvent.java
4429 (serialVersionUID): New member variable.
4431 2003-06-27 Michael Koch <konqueror@gmx.de>
4434 (awt_java_source_files): Added new files:
4435 javax/swing/Popup.java,
4436 javax/swing/PopupFactory.java
4437 * Makefile.in: Regenerated.
4439 2003-06-27 Michael Koch <konqueror@gmx.de>
4441 * javax/swing/JWindow.java,
4442 javax/swing/event/AncestorEvent.java,
4443 javax/swing/event/HyperlinkEvent.java,
4444 javax/swing/event/InternalFrameEvent.java,
4445 javax/swing/event/ListDataEvent.java,
4446 javax/swing/event/TableModelEvent.java,
4447 javax/swing/plaf/PopupMenuUI.java,
4448 javax/swing/plaf/SplitPaneUI.java,
4449 javax/swing/plaf/TabbedPaneUI.java,
4450 javax/swing/plaf/TextUI.java,
4451 javax/swing/plaf/TreeUI.java,
4452 javax/swing/plaf/basic/BasicTextUI.java,
4453 javax/swing/plaf/basic/BasicTreeUI.java:
4454 New versions from classpath.
4455 * javax/swing/Popup.java,
4456 javax/swing/PopupFactory.jav:
4457 New source files from classpath.
4458 * javax/swing/plaf/doc-files/TreeUI-1.png:
4459 New binary files from classpath.
4461 2003-06-25 Michael Koch <konqueror@gmx.de>
4464 (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
4465 * Makefile.in: Regenerated.
4467 2003-06-25 Michael Koch <konqueror@gmx.de>
4469 * javax/swing/plaf/ActionMapUIResource.java,
4470 javax/swing/plaf/BorderUIResource.java,
4471 javax/swing/plaf/ButtonUI.java,
4472 javax/swing/plaf/ColorChooserUI.java,
4473 javax/swing/plaf/ColorUIResource.java,
4474 javax/swing/plaf/ComboBoxUI.java,
4475 javax/swing/plaf/ComponentInputMapUIResource.java,
4476 javax/swing/plaf/ComponentUI.java,
4477 javax/swing/plaf/DesktopIconUI.java,
4478 javax/swing/plaf/DesktopPaneUI.java,
4479 javax/swing/plaf/DimensionUIResource.java,
4480 javax/swing/plaf/FileChooserUI.java,
4481 javax/swing/plaf/FontUIResource.java,
4482 javax/swing/plaf/IconUIResource.java,
4483 javax/swing/plaf/InputMapUIResource.java,
4484 javax/swing/plaf/InsetsUIResource.java,
4485 javax/swing/plaf/InternalFrameUI.java,
4486 javax/swing/plaf/LabelUI.java,
4487 javax/swing/plaf/ListUI.java,
4488 javax/swing/plaf/MenuBarUI.java,
4489 javax/swing/plaf/MenuItemUI.java,
4490 javax/swing/plaf/OptionPaneUI.java,
4491 javax/swing/plaf/PanelUI.java,
4492 javax/swing/plaf/ProgressBarUI.java,
4493 javax/swing/plaf/RootPaneUI.java,
4494 javax/swing/plaf/ScrollBarUI.java,
4495 javax/swing/plaf/ScrollPaneUI.java,
4496 javax/swing/plaf/SeparatorUI.java,
4497 javax/swing/plaf/SliderUI.java,
4498 javax/swing/plaf/TableHeaderUI.java,
4499 javax/swing/plaf/TableUI.java,
4500 javax/swing/plaf/ToolBarUI.java,
4501 javax/swing/plaf/ToolTipUI.java,
4502 javax/swing/plaf/ViewportUI.java:
4503 New versions from classpath.
4504 * javax/swing/plaf/SpinnerUI.java:
4505 New file from classpath
4507 2003-06-25 Michael Koch <konqueror@gmx.de>
4509 * java/awt/image/ColorModel.java:
4510 New version from classpath.
4512 2003-06-25 Michael Koch <konqueror@gmx.de>
4514 * java/net/PlainDatagramSocketImpl.java:
4515 Partly merged with classpath, this mainly adds documentation.
4517 2003-06-25 Michael Koch <konqueror@gmx.de>
4519 * java/io/ObjectInputStream.java
4520 (readClassDescriptor): New method.
4521 (readObject): Moved functionality to readClassDescriptor().
4522 * java/io/ObjectOutputStream.java
4523 (writeClassDescriptor): New method.
4524 (writeObject): Moved functionality to writeClassDescriptor().
4526 2003-06-25 Michael Koch <konqueror@gmx.de>
4528 * javax/swing/plaf/basic/BasicListUI.java,
4529 javax/swing/plaf/basic/BasicOptionPaneUI.java:
4530 Added missing methods.
4532 2003-06-25 Michael Koch <konqueror@gmx.de>
4534 * javax/swing/event/AncestorEvent.java
4535 javax/swing/event/HyperlinkEvent.java
4536 javax/swing/event/InternalFrameEvent.java
4537 javax/swing/event/ListDataEvent.java
4538 javax/swing/event/TableModelEvent.java:
4541 2003-06-24 Michael Koch <konqueror@gmx.de>
4543 * java/net/URL.java:
4544 Renamed "handler" to "ph" in the whole file to match classpaths
4546 * java/net/URLStreamHandler.java:
4547 (equals): Renamed "handler" to "ph".
4549 2003-06-24 Michael Koch <konqueror@gmx.de>
4551 * javax/swing/event/AncestorEvent.java,
4552 javax/swing/event/HyperlinkEvent.java,
4553 javax/swing/event/InternalFrameEvent.java,
4554 javax/swing/event/ListDataEvent.java,
4555 javax/swing/event/TableModelEvent.java,
4556 javax/swing/event/TreeWillExpandListener.java,
4557 javax/swing/plaf/ComponentUI.java,
4558 javax/swing/plaf/DesktopIconUI.java,
4559 javax/swing/plaf/DesktopPaneUI.java,
4560 javax/swing/plaf/DimensionUIResource.java,
4561 javax/swing/plaf/FileChooserUI.java,
4562 javax/swing/plaf/FontUIResource.java,
4563 javax/swing/plaf/IconUIResource.java,
4564 javax/swing/plaf/InputMapUIResource.java,
4565 javax/swing/plaf/InsetsUIResource.java,
4566 javax/swing/plaf/InternalFrameUI.java,
4567 javax/swing/plaf/LabelUI.java,
4568 javax/swing/plaf/ListUI.java,
4569 javax/swing/plaf/MenuBarUI.java,
4570 javax/swing/plaf/MenuItemUI.java,
4571 javax/swing/plaf/OptionPaneUI.java,
4572 javax/swing/plaf/PanelUI.java,
4573 javax/swing/plaf/ProgressBarUI.java,
4574 javax/swing/plaf/doc-files/ComponentUI-1.dia,
4575 javax/swing/plaf/doc-files/ComponentUI-1.png:
4576 New versions from classpath.
4578 2003-06-24 Michael Koch <konqueror@gmx.de>
4580 * java/nio/Buffer.java
4581 (cap): Made package-private.
4586 2003-06-24 Michael Koch <konqueror@gmx.de>
4588 * java/net/SocketImpl.java
4589 (shutdownInput): Made it non-abstract method throwing an exception
4591 (shutdownOutput): Likewise.
4592 * java/net/SocketInputStream.java,
4593 java/net/SocketOutputStream.java:
4594 New files from classpath.
4596 2003-06-24 Michael Koch <konqueror@gmx.de>
4598 * java/awt/Font.java,
4599 java/awt/Window.java,
4600 java/awt/color/ColorSpace.java,
4601 java/awt/datatransfer/StringSelection.java,
4602 java/awt/image/ColorModel.java:
4603 New versions from classpath.
4605 2003-06-24 Michael Koch <konqueror@gmx.de>
4608 (awt_java_source_files): Added new files:
4609 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
4610 javax/swing/plaf/basic/BasicSplitPaneUI.java
4611 * Makefile.in: Regenerated.
4613 2003-06-24 Michael Koch <konqueror@gmx.de>
4615 * javax/swing/text/JTextComponent.java:
4616 New version from classpath.
4618 2003-06-24 Michael Koch <konqueror@gmx.de>
4620 * javax/swing/Timer.java,
4621 javax/swing/plaf/ActionMapUIResource.java,
4622 javax/swing/plaf/ButtonUI.java,
4623 javax/swing/plaf/ColorChooserUI.java,
4624 javax/swing/plaf/ColorUIResource.java,
4625 javax/swing/plaf/ComboBoxUI.java,
4626 javax/swing/plaf/ComponentInputMapUIResource.java,
4627 javax/swing/plaf/basic/BasicBorders.java:
4628 New versions from classpath.
4629 * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
4630 javax/swing/plaf/basic/BasicSplitPaneUI.java:
4631 New file from classpath.
4632 * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
4633 javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
4634 javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
4635 javax/swing/plaf/doc-files/ComponentUI-1.dia,
4636 javax/swing/plaf/doc-files/ComponentUI-1.png:
4637 New binary files from classpath.
4639 2003-06-24 Michael Koch <konqueror@gmx.de>
4641 * java/io/LineNumberReader.java
4642 (skip): Dont do line number accounting here as this is already done in
4645 2003-06-21 Michael Koch <konqueror@gmx.de>
4648 (static): Load javaio lib if existing (only in classpath).
4649 (File): Revised documentation to show the correct argument name.
4650 (createTempFile): Partly merged with classpath.
4651 (compareTo): Simplified.
4652 (lastModified): Throw exception if time < 0.
4653 (deleteOnExit): Revised documentation.
4655 2003-06-21 Michael Koch <konqueror@gmx.de>
4657 * java/net/PlainSocketImpl.java:
4659 (PlainSocketImpl): Merged class documentaion with classpath.
4662 (PlainSocketImpl): New empty constructor.
4664 (setOption): Merged documentation from classpath.
4665 (getOption): Likewise.
4667 (connect): Likewise.
4671 (available): Likewise.
4675 (getInputStream): Made synchronozed to get sure that only one stream
4676 object can be created for this socket, merged documentation from
4678 (getOutputStream): Likewise.
4680 2003-06-21 Michael Koch <konqueror@gmx.de>
4682 * java/net/PlainSocketImpl.java:
4684 (static): New implicit method.
4685 (read): Made package private.
4688 2003-06-21 Michael Koch <konqueror@gmx.de>
4690 * java/util/SimpleTimeZone.java:
4691 Removed unneeded import, reformatting.
4693 2003-06-21 Michael Koch <konqueror@gmx.de>
4695 * java/text/DateFormat.java,
4696 java/text/SimpleDateFormat.java,
4697 java/util/Locale.java:
4698 New versions from classpath.
4700 2003-06-21 Michael Koch <konqueror@gmx.de>
4702 * javax/swing/SpinnerModel.java:
4703 New file from classpath.
4704 * javax/swing/border/LineBorder.java,
4705 javax/swing/border/SoftBevelBorder.java,
4706 javax/swing/plaf/BorderUIResource.java,
4707 javax/swing/plaf/basic/BasicBorders.java:
4708 New versions from classpath.
4709 * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
4710 javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
4711 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
4712 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
4713 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
4714 javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
4715 New binary files from classpath.
4717 2003-06-21 Michael Koch <konqueror@gmx.de>
4719 * java/util/logging/LogRecord.java,
4720 java/util/logging/Logger.java,
4721 java/util/logging/SocketHandler.java,
4722 java/util/logging/SimpleFormatter.java,
4723 java/util/logging/Formatter.java,
4724 java/util/logging/ErrorManager.java,
4725 java/util/logging/Handler.java,
4726 java/util/logging/FileHandler.java,
4727 java/util/logging/LogManager.java,
4728 java/util/logging/Level.java,
4729 java/util/logging/ConsoleHandler.java,
4730 java/util/logging/StreamHandler.java,
4731 java/util/logging/LoggingPermission.java,
4732 java/util/logging/Filter.java,
4733 java/util/logging/MemoryHandler.java,
4734 java/util/logging/XMLFormatter.java:
4735 New files from classpath.
4737 2003-06-20 Michael Koch <konqueror@gmx.de>
4739 * java/io/ObjectStreamField.java
4740 (unshared): new member variable.
4741 (ObjectStreamField): New constructor.
4742 (isUnshared): New method.
4744 2003-06-20 Michael Koch <konqueror@gmx.de>
4746 * java/net/URLStreamHandler.java
4747 (hostsEqual): Rewritten.
4749 2003-06-20 Michael Koch <konqueror@gmx.de>
4751 * gnu/java/nio/MappedByteFileBuffer.java,
4752 gnu/java/nio/natMappedByteFileBuffer.cc:
4754 * java/nio/MappedByteBufferImpl.java:
4756 * gnu/java/nio/FileChannelImpl.java:
4757 Use MappedByteBufferImpl instead of MappedByteFileBuffer.
4759 (ordinary_java_source_files): Removed
4760 gnu/java/nio/MappedByteFileBuffer.java and added
4761 java/nio/MappedByteBufferImpl.java.
4762 (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
4763 * Makefile.in: Regenerated.
4765 2003-06-19 Michael Koch <konqueror@gmx.de>
4767 * gnu/java/nio/DatagramChannelImpl.java
4769 (blocking): New member variable.
4771 (DatagramChannelImpl): Throws IOException, initialize socket.
4772 (socket):Implemented.
4773 (implCloseSelectableChannel): Throws IOException, implemented.
4774 (implConfigureBlocking): Likewise.
4775 (connect): Likewise.
4776 (disconnect): Likewise.
4777 (isConnected): Likewise.
4780 (receive): Throws IOException.
4782 * gnu/java/nio/SocketChannelImpl.java
4783 (read): Implemented.
4784 (write): Implemented.
4786 2003-06-19 Michael Koch <konqueror@gmx.de>
4788 * javax/swing/JComponent.java,
4789 javax/swing/JInternalFrame.java,
4790 javax/swing/MenuSelectionManager.java,
4791 javax/swing/SwingUtilities.java,
4792 javax/swing/ToggleButtonModel.java:
4793 New versions from classpath.
4795 2003-06-19 Michael Koch <konqueror@gmx.de>
4797 * java/text/CollationElementIterator.java
4798 (NULLORDER): Initialize with -1 as JDK documentation says.
4800 2003-06-19 Michael Koch <konqueror@gmx.de>
4802 * java/net/HttpURLConnection.java,
4803 java/net/Inet4Address.java,
4804 java/net/Inet6Address.java,
4805 java/net/SocketImpl.java,
4806 java/net/URLClassLoader.java:
4807 Reworked import statements.
4808 * java/net/InetAddress.java
4809 (getByAddress): Simplified.
4810 * java/net/ServerSocket.java
4811 (ServerSocket): Moved special handling during bind operation to
4813 (bind): Handle different cases when trying to bind a socket.
4814 * java/net/URLConnection.java
4815 (getHeaderFieldDate): Merged with classpath.
4816 (getHeaderFieldInt): Likewise.
4818 2003-06-19 Michael Koch <konqueror@gmx.de>
4820 * java/util/zip/InflaterInputStream.java
4821 (InflaterInputStream): Throw NullPointerException if in is null (as
4824 2003-06-19 Michael Koch <konqueror@gmx.de>
4826 * java/awt/Font.java
4827 javax/swing/UIManager.java
4828 javax/swing/border/AbstractBorder.java
4829 javax/swing/border/BevelBorder.java
4830 javax/swing/border/Border.java
4831 javax/swing/border/CompoundBorder.java
4832 javax/swing/border/EmptyBorder.java
4833 javax/swing/border/EtchedBorder.java
4834 javax/swing/border/LineBorder.java
4835 javax/swing/border/MatteBorder.java
4836 javax/swing/border/TitledBorder.java
4837 javax/swing/plaf/BorderUIResource.java
4838 javax/swing/plaf/basic/BasicBorders.java
4839 javax/swing/plaf/basic/BasicButtonUI.java
4840 javax/swing/plaf/basic/BasicCheckBoxUI.java
4841 javax/swing/plaf/basic/BasicGraphicsUtils.java
4842 javax/swing/plaf/basic/BasicLabelUI.java
4843 javax/swing/plaf/basic/BasicRadioButtonUI.java
4844 javax/swing/plaf/basic/BasicToggleButtonUI.java:
4845 New versions from classpath.
4846 * javax/swing/border/SoftBevelBorder.java:
4847 New file from classpath.
4848 * javax/swing/border/doc-files/LineBorder-1.png,
4849 javax/swing/border/doc-files/BevelBorder-1.png,
4850 javax/swing/border/doc-files/BevelBorder-2.png,
4851 javax/swing/border/doc-files/BevelBorder-3.png,
4852 javax/swing/border/doc-files/EmptyBorder-1.png,
4853 javax/swing/border/doc-files/EtchedBorder-1.png,
4854 javax/swing/border/doc-files/EtchedBorder-2.png,
4855 javax/swing/border/doc-files/MatteBorder-1.png,
4856 javax/swing/border/doc-files/MatteBorder-2.png,
4857 javax/swing/border/doc-files/MatteBorder-3.png,
4858 javax/swing/border/doc-files/MatteBorder-4.png,
4859 javax/swing/border/doc-files/MatteBorder-5.png,
4860 javax/swing/border/doc-files/MatteBorder-6.png,
4861 javax/swing/border/doc-files/SoftBevelBorder-1.png,
4862 javax/swing/border/doc-files/SoftBevelBorder-2.png,
4863 javax/swing/border/doc-files/SoftBevelBorder-3.png,
4864 javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
4865 javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
4866 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
4867 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
4868 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
4869 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
4870 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
4871 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
4872 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
4873 New binary files from classpath.
4875 (awt_java_source_files): Added
4876 javax/swing/border/SoftBevelBorder.java.
4877 * Makefile.in: Regenerated.
4879 2003-06-19 Michael Koch <konqueror@gmx.de>
4881 * gnu/java/security/x509/X509Certificate.java
4882 (writeReplace): Merged from classpath.
4884 2003-06-19 Michael Koch <konqueror@gmx.de>
4886 * gnu/java/nio/FileChannelImpl.java
4887 (map_address): Made public.
4888 (FileChannelImpl): Merged with classpath.
4889 * gnu/java/nio/natFileChannelImpl.cc
4890 (nio_mmap_file): Commented out unused arguments.
4891 (nio_unmmap_file): Likewise.
4892 (niu_msync): Likewise.
4894 2003-06-19 Michael Koch <konqueror@gmx.de>
4896 * java/awt/image/IndexColorModel.java:
4897 New version from classpath.
4899 2003-06-18 Tom Tromey <tromey@redhat.com>
4901 * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
4903 (isLoopbackAddress): Likewise.
4904 * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
4907 2003-06-18 Matt Kraai <kraai@alumni.cmu.edu>
4909 * java/lang/natVMSecurityManager.cc (getClassContext):
4910 Use maxlen instead of len for loop bound.
4912 2003-06-18 Michael Koch <konqueror@gmx.de>
4914 * gnu/java/nio/SelectorImpl.java
4915 (register): Use fd with value 0 for now, will be fixed later.
4916 * gnu/java/nio/ServerSocketChannelImpl.java
4918 (local_port): Removed.
4919 (InetSocketAddress): Removed.
4920 (ServerSocketChannelImpl): Just initialize internal socket object.
4921 (implCloseSelectableChannel): Close internal socket object.
4922 (implConfigureBlocking): Added comment.
4923 (accept): Use jaba.net stuff to accept socket.
4924 * gnu/java/nio/SocketChannelImpl.java
4926 (local_port): Removed.
4927 (InetSocketAddress): Removed.
4928 (SocketCreate): Removed.
4929 (SocketConnect): Removed.
4930 (SocketBind): Removed.
4931 (SocketListen): Removed.
4932 (SocketAvailable): Removed.
4933 (SocketClose): Removed.
4934 (SocketRead): Removed.
4935 (SocketWrite): Removed.
4936 (SocketChannelImpl): Just initialize internal socket object.
4937 (implCloseSelectableChannel): Close internal socket object.
4938 (implConfigureBlocking): Fixed implementation, added comment.
4939 (connect): Use internal socket object to connect.
4940 (socket): No need for sanity checks.
4941 (read): Comment out some stuff, this will be reimplemented in the next
4944 * gnu/java/nio/natFileChannelImpl.cc
4945 (nio_mmap_file): Line wrapped.
4946 * gnu/java/nio/natSocketChannelImpl.cc: Removed.
4948 (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
4949 * Makefile.in: Regenerated.
4951 2003-06-18 Michael Koch <konqueror@gmx.de>
4953 * java/util/Locale.java
4954 (equals): Merged from classpath.
4956 2003-06-18 Michael Koch <konqueror@gmx.de>
4958 * java/net/InetAddress.java:
4959 Reformatted to better match classpath's version.
4961 (equals): Simplified.
4962 * java/net/URLConnection.java
4963 (setDoInput): Revised documentation.
4964 (getDefaultUseCaches): Likewise.
4965 (setRequestProperty): Added @since tag.
4967 2003-06-17 Michael Koch <konqueror@gmx.de>
4969 * java/net/InetSocketAddress.java
4970 (InetSocketAddress): Use wildcard address if addr is null.
4971 (InetSocketAddress): Dont duplicate implementation.
4972 (InetSocketAddress): Throw exception when hostname is null.
4973 * java/net/Socket.java:
4975 (Socket): Throw exception when raddr is null, handle case when laddr
4978 2003-06-17 Michael Koch <konqueror@gmx.de>
4980 * java/nio/DirectByteBufferImpl.java
4981 (address): Made package private.
4982 (DirectByteBufferImpl): New constructor.
4983 * java/nio/natDirectByteBufferImpl.cc
4984 (allocateImpl): Moved to java.nio namespace, implemented.
4985 (freeImpl): Likewise.
4986 (getImpl): Likewise.
4987 (putImpl): Likewise.
4989 (_Jv_JNI_NewDirectByteBuffer): Implemented.
4990 (_Jv_JNI_GetDirectBufferAddress): Implemented.
4991 (_Jv_JNI_GetDirectBufferCapacity): Implemented.
4993 2003-06-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4995 * include/powerpc-signal.h: New File.
4996 * configure.in: Use it.
4997 * configure: Regenerated.
4999 2003-06-17 Michael Koch <konqueror@gmx.de>
5001 * java/util/Locale.java
5002 (getDisplayLanguage): Made it final.
5003 (getDisplayCountry): Likewise.
5004 (getDisplayVariant): Likewise.
5005 (getDisplayName): Likewise.
5007 2003-06-17 Michael Koch <konqueror@gmx.de>
5009 * java/util/PropertyResourceBundle.java:
5010 Removed unneeded import.
5012 2003-06-17 Michael Koch <konqueror@gmx.de>
5014 * java/util/prefs/AbstractPreferences.java,
5015 java/util/prefs/PreferencesFactory.java:
5016 Reworked imports, removed unused imports.
5017 * java/util/prefs/Preferences.java
5018 (systemNodeForPackage): Method takes a Class not an Object.
5019 (userNodeForPackage): Likewise.
5020 (nodeForPackage): Likewise.
5022 2003-06-17 Michael Koch <konqueror@gmx.de>
5024 * gnu/java/security/x509/X509Certificate.java:
5025 Explicitely import used classes.
5027 2003-06-17 Michael Koch <konqueror@gmx.de>
5029 * java/util/zip/ZipEntry.java,
5030 java/util/zip/ZipFile.java,
5031 java/util/zip/ZipInputStream.java,
5032 java/util/zip/ZipOutputStream.java:
5033 Reworked imports, only import used classes.
5035 2003-06-17 Michael Koch <konqueror@gmx.de>
5037 * gnu/java/lang/ArrayHelper.java,
5038 gnu/java/lang/ClassHelper.java:
5039 Reformatted to match classpath's versions.
5041 2003-06-14 Michael Koch <konqueror@gmx.de>
5043 * gnu/java/nio/FileChannelImpl.java
5044 (map_address): Removed incorrect comment.
5045 * gnu/java/nio/SelectorImpl.java
5046 (register): Remove code duplication and code for file channel handling.
5047 * gnu/java/nio/ServerSocketChannelImpl.java
5048 (serverSocket): Renamed from sock_object.
5049 (ServerSocketChannel): Initialize serverSocket.
5050 (socket): Return serverSocket.
5051 * gnu/java/nio/SocketChannelImpl.java
5052 (socket): Renamed from sock_object.
5053 (isConnectionPenging): Simplified.
5054 (socket): Return socket.
5055 2003-06-14 Michael Koch <konqueror@gmx.de>
5057 * java/security/BasicPermission.java:
5058 New version from classpath.
5060 2003-06-14 Michael Koch <konqueror@gmx.de>
5062 * javax/naming/directory/Attribute.java:
5063 New version from classpath.
5065 2003-06-14 Michael Koch <konqueror@gmx.de>
5067 * java/io/BufferedReader.java,
5068 java/io/FileOutputStream.java:
5069 New versions from classpath.
5071 2003-06-12 Andrew Haley <aph@redhat.com>
5073 * prims.cc (catch_segv): Create exception in handler.
5074 (catch_fpe): Likewise.
5075 (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
5076 (_Jv_ThrowSignal): Remove.
5078 * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
5079 * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
5080 to nullp and arithexception.
5081 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5082 * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5083 * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5084 * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5085 * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5087 2003-06-11 Andrew Haley <aph@redhat.com>
5089 * jni.cc (_Jv_JNI_check_types): New.
5090 (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
5091 (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
5092 (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
5093 (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
5095 * java/lang/natVMSecurityManager.cc (getClassContext): Fix
5098 2003-06-11 Tom Tromey <tromey@redhat.com>
5100 * java/lang/ClassLoader.java (loadClass): Not deprecated.
5101 * java/io/PrintStream.java: Not deprecated.
5103 2003-06-11 Scott Gilbertson <scottg@mantatest.com>
5105 * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
5106 (fillOval): implemented
5107 * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
5108 (fillArc): implemented.
5109 * gnu/gcj/xlib/GC.java (drawArc): added native method.
5110 (fillArc): added native method.
5111 * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
5112 (fillArc): added native method.
5114 2003-06-11 Michael Koch <konqueror@gmx.de>
5116 * java/awt/im/InputSubset.java:
5117 New version from classpath.
5119 2003-06-11 Michael Koch <konqueror@gmx.de>
5121 * javax/swing/AbstractAction.java,
5122 javax/swing/AbstractButton.java,
5123 javax/swing/AbstractCellEditor.java,
5124 javax/swing/AbstractListModel.java,
5125 javax/swing/BorderFactory.java,
5126 javax/swing/Box.java,
5127 javax/swing/BoxLayout.java,
5128 javax/swing/ButtonGroup.java,
5129 javax/swing/DefaultButtonModel.java,
5130 javax/swing/DefaultListModel.java,
5131 javax/swing/DefaultListSelectionModel.java,
5132 javax/swing/FocusManager.java,
5133 javax/swing/ImageIcon.java,
5134 javax/swing/InputMap.java,
5135 javax/swing/JApplet.java,
5136 javax/swing/JButton.java,
5137 javax/swing/JCheckBox.java,
5138 javax/swing/JCheckBoxMenuItem.java,
5139 javax/swing/JColorChooser.java,
5140 javax/swing/JComboBox.java,
5141 javax/swing/JComponent.java,
5142 javax/swing/JDesktopPane.java,
5143 javax/swing/JDialog.java,
5144 javax/swing/JEditorPane.java,
5145 javax/swing/JFileChooser.java,
5146 javax/swing/JFormattedTextField.java,
5147 javax/swing/JFrame.java,
5148 javax/swing/JLabel.java,
5149 javax/swing/JLayeredPane.java,
5150 javax/swing/JList.java,
5151 javax/swing/JMenuBar.java,
5152 javax/swing/JMenuItem.java,
5153 javax/swing/JOptionPane.java,
5154 javax/swing/JPanel.java,
5155 javax/swing/JPasswordField.java,
5156 javax/swing/JPopupMenu.java,
5157 javax/swing/JProgressBar.java,
5158 javax/swing/JRadioButton.java,
5159 javax/swing/JRadioButtonMenuItem.java,
5160 javax/swing/JRootPane.java,
5161 javax/swing/JScrollBar.java,
5162 javax/swing/JScrollPane.java,
5163 javax/swing/JSeparator.java,
5164 javax/swing/JSlider.java,
5165 javax/swing/JTabbedPane.java,
5166 javax/swing/JTable.java,
5167 javax/swing/JTextField.java,
5168 javax/swing/JToggleButton.java,
5169 javax/swing/JToolBar.java,
5170 javax/swing/JToolTip.java,
5171 javax/swing/JTree.java,
5172 javax/swing/JViewport.java,
5173 javax/swing/JWindow.java,
5174 javax/swing/KeyStroke.java,
5175 javax/swing/ListSelectionModel.java,
5176 javax/swing/LookAndFeel.java,
5177 javax/swing/RepaintManager.java,
5178 javax/swing/ScrollPaneLayout.java,
5179 javax/swing/SizeRequirements.java,
5180 javax/swing/SwingConstants.java,
5181 javax/swing/Timer.java,
5182 javax/swing/UIDefaults.java,
5183 javax/swing/UIManager.java,
5184 javax/swing/border/AbstractBorder.java,
5185 javax/swing/border/CompoundBorder.java,
5186 javax/swing/colorchooser/AbstractColorChooserPanel.java,
5187 javax/swing/colorchooser/ColorChooserComponentFactory.java,
5188 javax/swing/colorchooser/ColorSelectionModel.java,
5189 javax/swing/colorchooser/DefaultColorSelectionModel.java,
5190 javax/swing/event/AncestorEvent.java,
5191 javax/swing/event/HyperlinkEvent.java,
5192 javax/swing/event/InternalFrameAdapter.java,
5193 javax/swing/event/InternalFrameEvent.java,
5194 javax/swing/event/ListDataEvent.java,
5195 javax/swing/event/MouseInputAdapter.java,
5196 javax/swing/event/SwingPropertyChangeSupport.java,
5197 javax/swing/event/TableModelEvent.java,
5198 javax/swing/event/TreeWillExpandListener.java,
5199 javax/swing/event/UndoableEditEvent.java,
5200 javax/swing/filechooser/FileFilter.java,
5201 javax/swing/filechooser/FileSystemView.java,
5202 javax/swing/filechooser/FileView.java,
5203 javax/swing/plaf/BorderUIResource.java,
5204 javax/swing/plaf/basic/BasicDefaults.java,
5205 javax/swing/table/AbstractTableModel.java,
5206 javax/swing/table/DefaultTableCellRenderer.java,
5207 javax/swing/table/DefaultTableColumnModel.java,
5208 javax/swing/table/DefaultTableModel.java,
5209 javax/swing/table/TableColumn.java,
5210 javax/swing/text/JTextComponent.java,
5211 javax/swing/tree/AbstractLayoutCache.java,
5212 javax/swing/tree/DefaultMutableTreeNode.java,
5213 javax/swing/tree/DefaultTreeCellEditor.java,
5214 javax/swing/tree/DefaultTreeCellRenderer.java,
5215 javax/swing/tree/DefaultTreeModel.java,
5216 javax/swing/tree/DefaultTreeSelectionModel.java,
5217 javax/swing/tree/FixedHeightLayoutCache.java,
5218 javax/swing/tree/TreeCellEditor.java,
5219 javax/swing/tree/TreeModel.java,
5220 javax/swing/tree/TreeNode.java,
5221 javax/swing/tree/TreePath.java,
5222 javax/swing/tree/TreeSelectionModel.java,
5223 javax/swing/tree/VariableHeightLayoutCache.java,
5224 javax/swing/undo/AbstractUndoableEdit.java,
5225 javax/swing/undo/CompoundEdit.java,
5226 javax/swing/undo/StateEdit.java,
5227 javax/swing/undo/UndoManager.java,
5228 javax/swing/undo/UndoableEditSupport.java:
5229 New versions from classpath.
5230 * javax/swing/table/JTableHeader.java:
5231 New file from classpath.
5233 (java_awt_sources): Added javax/swing/table/JTableHeader.java.
5234 * Makefile.in: Regenerated.
5236 2003-06-11 Michael Koch <konqueror@gmx.de>
5238 * java/nio/MappedByteBuffer.java,
5239 java/nio/channels/Channels.java,
5240 java/nio/channels/ServerSocketChannel.java,
5241 java/nio/channels/spi/AbstractSelector.java:
5242 Removed unneeded imports.
5244 2003-06-11 Michael Koch <konqueror@gmx.de>
5246 * java/net/DatagramSocket.java:
5247 Partly merged with classpath.
5249 2003-06-11 Michael Koch <konqueror@gmx.de>
5251 * java/awt/Frame.java,
5252 java/awt/Graphics.java,
5254 java/awt/Robot.java,
5255 java/awt/image/ColorModel.java:
5256 New versions from classpath.
5258 2003-06-10 Michael Koch <konqueror@gmx.de>
5260 * java/io/PrintStream.java:
5261 Merged version from classpath.
5262 (close): Removed sychronized keyword. This class is not garantied to
5266 2003-06-09 Tom Tromey <tromey@redhat.com>
5268 * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
5270 (getDescent): Likewise, for "descent".
5272 2003-06-09 Scott Gilbertson <scottg@mantatest.com>
5274 * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
5275 (getMaxDescent): adjusted return value.
5276 (getAscent): modified to use metrics for 'O'.
5277 (getDescent): modified to use metrics for 'y'.
5279 2003-06-08 Anthony Green <green@redhat.com>
5281 * java/net/URLStreamHandler.java (sameFile): Fix port value
5283 * java/net/URL.java (handler): Make package private.
5284 * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
5286 2003-06-07 Tom Tromey <tromey@redhat.com>
5288 For PR libgcj/11085:
5289 * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
5290 Limit number of characters in numeric field when required.
5291 * java/text/DecimalFormat.java (parse(String,ParsePosition)):
5292 Respect maximumIntegerDigits.
5294 2003-06-08 Michael Koch <konqueror@gmx.de>
5296 * java/net/Socket.java
5297 (Socket): Dont initialize inputShutdown and outputShutdown twice,
5298 call bind() and connect() to actually do the bind and connect tasks.
5299 (bind): Connect to canonical address if bindpoint is null, create
5300 socket and bind it to bindpoint.
5301 (connect): Check for exceptions.
5303 2003-06-08 Michael Koch <konqueror@gmx.de>
5305 * java/net/DatagramSocket.java
5306 (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
5307 into the Multicast constructors.
5308 * java/net/DatagramSocketImpl.java
5309 (getOption): Removed.
5310 (setOption): Removed.
5311 * java/net/MulticastSocket.java
5312 (MulticastSocket): Call setReuseAddress (true).
5313 * java/net/SocketImpl.java
5314 (getOption): Removed.
5315 (setOption): Removed.
5317 2003-06-07 Jeff Sturm <jsturm@one-point.com>
5320 * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
5321 Test for empty vector.
5323 2003-06-06 Mark Wielaard <mark@klomp.org>
5325 * java/security/Security.java (secprops): Initialize.
5326 (loadProviders): Return boolean.
5327 (static): Check result of loadProvider calls. If necessary
5328 display WARNING and fallback to Gnu provider.
5330 2002-06-06 James Clark <jjc@jclark.com>
5332 Fix for PR libgcj/8738:
5333 * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
5334 * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
5335 * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
5336 * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
5337 (write): Always decrease avail when count is increased.
5338 * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
5339 and whether output buffer is full before increasing size.
5341 2002-06-06 Mark Wielaard <mark@klomp dot org>
5343 * java/io/PrintStream.java (writeChars(char[],int, int)):
5344 Check converter.havePendingBytes().
5345 (writeChars(String,int,int)): Likewise.
5346 * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
5347 Check converter.havePendingBytes() and flush buffer when stalled.
5349 2003-06-07 Michael Koch <konqueror@gmx.de>
5352 (O_DSYNC): Define O_DSYNC on platforms not
5353 supporting O_FSYNC (newlib).
5355 2003-06-06 Mark Wielaard <mark@klomp.org>
5357 * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
5360 2003-06-06 Michael Koch <konqueror@gmx.de>
5362 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
5363 More compile fixes from my stupid work yesterday.
5365 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
5367 * java/lang/w_exp.c (o_threshold, u_threshold): Define only
5368 if _IEEE_LIBM is undefined.
5370 2002-06-05 Loren J. Rittle <ljrittle@acm.org>
5372 * libjava/include/posix.h (O_SYNC): Define if not available
5373 and a reasonable, perhaps more conservative, replacement exists.
5374 (O_DSYNC): Likewise.
5375 * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
5377 2003-06-05 Michael Koch <konqueror@gmx.de>
5379 * javax/swing/plaf/BorderUIResource.java,
5380 javax/swing/plaf/basic/BasicDefaults.java,
5381 javax/swing/plaf/basic/BasicOptionPaneUI.java:
5382 More compile fixes for latest Border commit. I should not commit
5383 something in this heat here ...
5385 2003-06-05 Michael Koch <konqueror@gmx.de>
5387 * javax/swing/border/BevelBorder.java
5388 (BevelBorder): Removed.
5389 * javax/swing/border/EmptyBorder.java:
5391 (EmptyBorder): Removed.
5392 (getBorderInsets): Dont use l, r, t and b.
5393 * javax/swing/border/EtchedBorder.java
5394 (EtchedBorder): Removed.
5395 * javax/swing/border/LineBorder.java
5396 (LineBorder): Removed.
5397 * javax/swing/border/MatteBorder.java
5398 (MatteBorder): Removed.
5399 * javax/swing/border/TitledBorder.java
5400 (defaultBorder): Use other default for now.
5401 (defaultFont): Likewise.
5402 (defaultColor): Likewise.
5404 2003-06-05 Michael Koch <konqueror@gmx.de>
5406 * javax/swing/border/Border.java:
5407 New version from classpath.
5409 2003-06-05 Michael Koch <konqueror@gmx.de>
5411 * javax/swing/border/AbstractBorder.java,
5412 javax/swing/border/BevelBorder.java,
5413 javax/swing/border/CompoundBorder.java,
5414 javax/swing/border/EmptyBorder.java,
5415 javax/swing/border/EtchedBorder.java,
5416 javax/swing/border/LineBorder.java,
5417 javax/swing/border/MatteBorder.java,
5418 javax/swing/border/TitledBorder.java:
5419 New versions from Classpath.
5421 2003-06-05 Michael Koch <konqueror@gmx.de>
5423 * java/awt/Button.java,
5424 java/awt/Checkbox.java,
5425 java/awt/CheckboxMenuItem.java,
5426 java/awt/Choice.java,
5427 java/awt/Container.java,
5428 java/awt/Dialog.java,
5429 java/awt/EventQueue.java,
5430 java/awt/FileDialog.java,
5431 java/awt/Frame.java,
5432 java/awt/Label.java,
5435 java/awt/MenuItem.java,
5436 java/awt/Panel.java,
5437 java/awt/PopupMenu.java,
5438 java/awt/Rectangle.java,
5439 java/awt/ScrollPane.java,
5440 java/awt/Scrollbar.java,
5441 java/awt/TextArea.java,
5442 java/awt/TextField.java,
5443 java/awt/Window.java,
5444 java/awt/datatransfer/DataFlavor.java,
5445 java/awt/dnd/DragSource.java,
5446 java/awt/dnd/DragSourceContext.java,
5447 java/awt/event/HierarchyEvent.java,
5448 java/awt/event/MouseWheelEvent.java,
5449 java/awt/im/InputContext.java,
5450 java/awt/image/BufferedImage.java,
5451 java/awt/image/ComponentColorModel.java,
5452 java/awt/image/Raster.java,
5453 java/awt/image/WritableRaster.java,
5454 java/awt/peer/ComponentPeer.java,
5455 java/awt/print/PageFormat.java,
5456 java/awt/print/PrinterJob.java:
5457 New versions from Classpath.
5459 2003-06-05 Scott Gilbertson <scottg@mantatest.com>
5461 * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
5462 numberFormat.setParseIntegerOnly(true).
5464 2003-06-05 Bert Deknuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
5466 * include/posix-threads.h: Include <machine/pal.h> on OSF.
5468 2003-06-03 Andrew Haley <aph@redhat.com>
5470 * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
5471 stack volatile to prevent optimization from removing it.
5473 2003-05-27 Michael Koch <konqueror@gmx.de>
5475 * java/util/zip/Deflater.java
5476 (FILTERED): Merged documentation from classpath.
5477 * java/util/zip/DeflaterOutputStream.java
5478 (DeflaterOutputStream): Merged documentation and argument validity
5479 check from classpath.
5480 (deflate): Merged documentation from classpath.
5482 * java/util/zip/Inflater.java
5483 (Inflater): Merged class documentation from classpath.
5484 (zstream): Reordered.
5485 (is_finished): Reordered.
5486 (dict_needed): Reordered.
5487 (Inflater): Reordered, merged documentation from classpath.
5489 (finalize): Merged documentation from classpath.
5490 (finished): Likewise.
5491 (getAdler): Likewise.
5492 (getRemaining): Likewise.
5493 (getTotalIn): Likewise.
5494 (getTotalOut): Likewise.
5495 (inflate): Likewise.
5496 (needsDictionary): Likewise.
5497 (needsInput): Likewise.
5499 (setDictionary): Likewise.
5500 (setInput): Likewise.
5502 2003-05-27 Michael Koch <konqueror@gmx.de>
5504 * java/net/URLConnection.java
5505 (getHeaderFieldInt): Merged with classpath.
5507 2003-05-27 Michael Koch <konqueror@gmx.de>
5509 * java/io/PrintStream.java
5510 (PrintStream): Reformatted.
5511 (PrintStream): New method, merged from classpath.
5512 (write): Reformatted.
5514 2003-05-27 Michael Koch <konqueror@gmx.de>
5516 * java/lang/System.java:
5517 Explicitely import needed classes.
5519 2003-05-26 Michael Koch <konqueror@gmx.de>
5521 * java/net/NetPermission.java,
5522 java/net/NetworkInterface.java,
5523 java/net/PasswordAuthentication.java,
5524 java/net/SocketPermission.java:
5525 New versions from classpath.
5527 2003-05-25 Michael Koch <konqueror@gmx.de>
5529 * java/io/PushbackInputStream.java,
5530 java/net/Authenticator.java,
5531 java/net/ContentHandler.java,
5532 java/net/ContentHandlerFactory.java,
5533 java/net/DatagramSocket.java,
5534 java/net/DatagramSocketImpl.java,
5535 java/net/DatagramSocketImplFactory.java,
5536 java/net/FileNameMap.java,
5537 java/net/SocketImplFactory.java,
5538 java/net/SocketOptions.java,
5539 java/net/URLStreamHandlerFactory.java:
5540 Merged new versions from classpath.
5542 2003-05-25 Michael Koch <konqueror@gmx.de>
5544 * java/awt/Checkbox.java,
5545 java/awt/Dialog.java,
5547 java/awt/Frame.java,
5548 java/awt/ScrollPaneAdjustable.java,
5549 java/awt/Scrollbar.java,
5550 java/awt/Window.java:
5551 New versions from classpath.
5553 2003-05-22 Jeff Sturm <jsturm@one-point.com>
5556 * java/io/ObjectInputStream (enableResolveObject):
5557 Fixed spelling of permission name.
5559 2003-05-20 Michael Koch <konqueror@gmx.de>
5561 * java/io/DataInputStream.java
5562 (convertFromUTF): Merged comment from classpath.
5563 * java/io/PrintStream.java
5564 (error_occured): Renamed from error, merged comment from classpath.
5565 (PrintStream): No need to initialized error.
5566 (checkError): Replace error with error_occurred.
5567 (setError): Likewise.
5569 2003-05-20 Michael Koch <konqueror@gmx.de>
5571 * java/io/DataInputStream.java:
5572 Reformatted, Replaced < and & with html entitites in documentation.
5573 * java/io/File.java:
5575 * java/io/PrintWriter.java:
5576 Moved class documentation.
5578 2003-05-20 Michael Koch <konqueror@gmx.de>
5580 * gnu/java/nio/ByteBufferImpl.java,
5581 gnu/java/nio/CharBufferImpl.java,
5582 gnu/java/nio/CharViewBufferImpl.java,
5583 gnu/java/nio/DirectByteBufferImpl.java,
5584 gnu/java/nio/DoubleBufferImpl.java,
5585 gnu/java/nio/DoubleViewBufferImpl.java,
5586 gnu/java/nio/FloatBufferImpl.java,
5587 gnu/java/nio/FloatViewBufferImpl.java,
5588 gnu/java/nio/IntBufferImpl.java,
5589 gnu/java/nio/IntViewBufferImpl.java,
5590 gnu/java/nio/LongBufferImpl.java,
5591 gnu/java/nio/LongViewBufferImpl.java,
5592 gnu/java/nio/natDirectByteBufferImpl.cc,
5593 gnu/java/nio/ShortBufferImpl.java,
5594 gnu/java/nio/ShortViewBufferImpl.java:
5595 Moved files to java/nio.
5596 * gnu/java/nio/SocketChannelImpl.java
5598 * java/nio/ByteBuffer.java,
5599 java/nio/CharBuffer.java,
5600 java/nio/DoubleBuffer.java,
5601 java/nio/FloatBuffer.java,
5602 java/nio/IntBuffer.java,
5603 java/nio/LongBuffer.java,
5604 java/nio/ShortBuffer.java:
5605 Dont import anything.
5606 * java/nio/ByteBufferImpl.java,
5607 java/nio/CharBufferImpl.java,
5608 java/nio/CharViewBufferImpl.java,
5609 java/nio/DirectByteBufferImpl.java,
5610 java/nio/DoubleBufferImpl.java,
5611 java/nio/DoubleViewBufferImpl.java,
5612 java/nio/FloatBufferImpl.java,
5613 java/nio/FloatViewBufferImpl.java,
5614 java/nio/IntBufferImpl.java,
5615 java/nio/IntViewBufferImpl.java,
5616 java/nio/LongBufferImpl.java,
5617 java/nio/LongViewBufferImpl.java,
5618 java/nio/natDirectByteBufferImpl.cc,
5619 java/nio/ShortBufferImpl.java,
5620 java/nio/ShortViewBufferImpl.java:
5621 Moved from gnu/java/nio.
5623 (ordinary_java_source_files): Moved files from gnu/java/nio to
5625 (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
5627 * Makefile.in: Regenerated.
5629 2003-05-19 Michael Koch <konqueror@gmx.de>
5631 * java/util/Calendar.java
5632 (get): Not final anymore since JDK 1.4
5635 2003-05-19 Michael Koch <konqueror@gmx.de>
5637 * java/text/CollationKey.java:
5638 Merged copyright and dat from classpath.
5639 * java/text/RuleBasedCollator.java:
5640 Merged class documentation from classpath.
5642 2003-05-19 Michael Koch <konqueror@gmx.de>
5644 * java/nio/CharBuffer.java
5645 (toString): Compile fix.
5647 2003-05-19 Michael Koch <konqueror@gmx.de>
5649 * gnu/java/nio/ByteBufferImpl.java
5650 (putLong): Fixed conversion to bytes.
5651 (putDouble): Fixed conversion to bytes.
5652 * gnu/java/nio/DirectByteBufferImpl.java
5653 (putLong): Fixed conversion to bytes.
5654 (putDouble): Fixed conversion to bytes.
5655 * gnu/java/nio/FileLockImpl.java
5656 (isValid): Reformatted.
5657 * java/nio/Buffer.java
5658 (Buffer): Fixed off-by-one bug in handling mark.
5659 * java/nio/ByteBuffer.java:
5661 * java/nio/CharBuffer.java
5662 (toString): Don't use relative get to get string data.
5664 2003-05-16 Michael Koch <konqueror@gmx.de>
5666 * java/io/natFileDescriptorPosix.cc
5667 (open): Commented out the O_SYNC and O_DSYNC usage until its better
5670 2003-05-14 Michael Koch <konqueror@gmx.de>
5672 * gnu/java/nio/FileLockImpl.java
5673 (released): New member variable.
5674 (FileLockImpl): Initialize released.
5675 (releaseImpl): New native method.
5676 (release): Implemented.
5677 * gnu/java/nio/SelectorImpl.java: Reformatted.
5678 * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
5679 * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
5680 (accept): Throws IOException.
5681 * gnu/java/nio/SocketChannelImpl.java: Reformatted.
5682 (implConfigureBlocking): Throws IOException.
5683 (connect): Likewise.
5686 * gnu/java/nio/natFileLockImpl.cc: New file.
5687 * java/nio/channels/FileLock.java: Reformatted.
5689 (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
5690 (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
5691 * Makefile.in: Regenerated.
5693 2003-05-13 Michael Koch <konqueror@gmx.de>
5695 * gnu/java/nio/CharViewBufferImpl.java
5696 (CharViewBufferImpl): Fixed super constructor call, initialize offset.
5697 (get): Shift bits to the right direction.
5699 * gnu/java/nio/DoubleViewBufferImpl.java
5700 (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
5701 (get): Shift bits to the right direction.
5703 * gnu/java/nio/FloatViewBufferImpl.java
5704 (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
5705 (get): Shift bits to the right direction.
5707 * gnu/java/nio/IntViewBufferImpl.java
5708 (IntViewBufferImpl): Fixed super constructor call, initialize offset.
5709 (get): Shift bits to the right direction.
5711 * gnu/java/nio/LongViewBufferImpl.java
5712 (LongViewBufferImpl): Fixed super constructor call, initialize offset.
5713 (get): Shift bits to the right direction.
5715 * gnu/java/nio/ShortViewBufferImpl.java
5716 (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
5717 (get): Shift bits to the right direction.
5720 2003-05-13 Michael Koch <konqueror@gmx.de>
5722 * gnu/java/nio/natDirectByteBufferImpl.cc
5723 (allocateImpl): jlong -> RawData*.
5724 (freeImpl): Likewise.
5726 2003-05-13 Michael Koch <konqueror@gmx.de>
5728 * java/nio/channels/FileChannel.java
5729 (MapMode.m): Made it package-private to match JDK 1.4.
5730 * java/nio/charset/Charset.java
5731 (decode): Made it final to match JDK 1.4.
5733 2003-05-13 Michael Koch <konqueror@gmx.de>
5735 * java/io/FileDescriptor.java
5736 (SYNC): New constant.
5738 (getLength): Renamed from lenght() to match classpath's
5739 FileDescriptor.java.
5740 * java/io/RandomAccessFile.java
5741 (RandomAccessFile): Removed unneeded mode check, implemented mode
5742 "rws" and "rwd", merged documentation from classpath.
5743 (setLength): Reformatted.
5744 (length): Use new getLength() of FileDescriptor.
5745 * java/io/natFileDescriptorEcos.cc
5746 (getLength): Renamed from length().
5747 * java/io/natFileDescriptorPosix.cc
5748 (open): Implemented support for SYNC and DSYNC.
5749 (seek): Use getLength() instead of length().
5750 (getLength): Renamed from length().
5751 * java/io/natFileDescriptorWin32.cc
5752 (getLength): Renamed from length().
5753 (seek): Use getLength() instead of length().
5754 (available): Likewise.
5755 * gnu/java/nio/natFileChannelImpl.cc
5756 (size): Use getLength() instead of length().
5758 2003-05-13 Michael Koch <konqueror@gmx.de>
5760 * gnu/java/nio/ByteBufferImpl.java
5761 (ByteBufferImpl): All constructors revised.
5762 (slice): Reimplemented.
5763 (duplicate): Reimplemented.
5764 (asReadOnlyBuffer): Reimplemented.
5765 * java/nio/ByteBuffer.java:
5767 (array_offset): Renamed from "offset" to match all other buffer
5769 (ByteBuffer): All constructors revised.
5770 (allocateDirect): Implemented.
5771 (allocate): New implementation, documentation reworked.
5773 (get): Documentation reworked.
5774 (put): New implementation, documentation reworked.
5775 (hasArray): Documentation reworked.
5776 (arrayOffset): Likewise.
5777 (hashCode): Likewise.
5779 (compareTo): Likewise.
5781 (compact): Likewise.
5782 (isDirect): Likewise.
5784 (duplicate): Likewise.
5785 (asReadOnlyBuffer): Likewise.
5787 (ordinary_java_source_files):
5788 Added gnu/java/nio/DirectByteBufferImpl.java.
5790 Added gnu/java/nio/natDirectByteBufferImpl.cc.
5791 * Makefile.in: Regenerated.
5793 2003-05-12 Michael Koch <konqueror@gmx.de>
5795 * gnu/java/nio/ByteBufferImpl.java: Reformatted.
5796 (nio_get_*): Removed.
5797 (nio_put_*): Removed.
5798 (as*Buffer): Implemented.
5799 (compact): Implemented.
5800 (get): Documentation added.
5801 (put): Documentation added.
5802 (get*): Newly implemented.
5803 (put*): Newly implemented.
5804 * gnu/java/nio/CharBufferImpl.java: Reformatted.
5805 (CharBufferImpl): Revised.
5806 (slice): New implementation.
5807 (duplicate): New implementation.
5808 (compact): New implementation.
5809 (asReadOnlyBuffer): New implementation.
5810 (get): Documentation revised.
5811 (order): Return native byte order.
5812 * gnu/java/nio/DirectByteBufferImpl.java
5813 (allocateDirect): objects can be null not 0.
5814 * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
5815 (DoubleBufferImpl): Revised.
5816 (slice): New implementation.
5817 (duplicate): New implementation.
5818 (compact): New implementation.
5819 (asReadOnlyBuffer): New implementation.
5820 (get): Documentation revised.
5821 (order): Return native byte order.
5822 * gnu/java/nio/FloatBufferImpl.java: Reformatted.
5823 (FloatBufferImpl): Revised.
5824 (slice): New implementation.
5825 (duplicate): New implementation.
5826 (compact): New implementation.
5827 (asReadOnlyBuffer): New implementation.
5828 (get): Documentation revised.
5829 (order): Return native byte order.
5830 * gnu/java/nio/IntBufferImpl.java: Reformatted.
5831 (IntBufferImpl): Revised.
5832 (slice): New implementation.
5833 (duplicate): New implementation.
5834 (compact): New implementation.
5835 (asReadOnlyBuffer): New implementation.
5836 (get): Documentation revised.
5837 (order): Return native byte order.
5838 * gnu/java/nio/LongBufferImpl.java: Reformatted.
5839 (LongBufferImpl): Revised.
5840 (slice): New implementation.
5841 (duplicate): New implementation.
5842 (compact): New implementation.
5843 (asReadOnlyBuffer): New implementation.
5844 (get): Documentation revised.
5845 (order): Return native byte order.
5846 * gnu/java/nio/ShortBufferImpl.java: Reformatted.
5847 (ShortBufferImpl): Revised.
5848 (slice): New implementation.
5849 (duplicate): New implementation.
5850 (compact): New implementation.
5851 (asReadOnlyBuffer): New implementation.
5852 (get): Documentation revised.
5853 (order): Return native byte order.
5854 * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
5855 (CharBuffer): Revised.
5857 * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
5858 (DoubleBuffer): Revised.
5859 (allocateDirect): Removed.
5861 * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
5862 (FloatBuffer): Revised.
5863 (allocateDirect): Removed.
5865 * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
5866 (IntBuffer): Revised.
5867 (allocateDirect): Removed.
5869 * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
5870 (LongBuffer): Revised.
5871 (allocateDirect): Removed.
5873 * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
5874 (ShortBuffer): Revised.
5875 (allocateDirect): Removed.
5877 * gnu/java/nio/natByteBufferImpl.cc: Removed.
5878 * gnu/java/nio/natCharBufferImpl.cc: Removed.
5880 (ordinary_java_source_files): Added the following files:
5881 gnu/java/nio/CharViewBufferImpl.java,
5882 gnu/java/nio/DoubleViewBufferImpl.java,
5883 gnu/java/nio/FloatViewBufferImpl.java,
5884 gnu/java/nio/IntViewBufferImpl.java,
5885 gnu/java/nio/LongViewBufferImpl.java,
5886 gnu/java/nio/ShortViewBufferImpl.java
5887 (nat_source_files): Removed the following files:
5888 gnu/java/nio/natByteBufferImpl.cc,
5889 gnu/java/nio/natCharBufferImpl.cc
5890 * Makefile.in: Regenerated.
5892 2003-05-12 Michael Koch <konqueror@gmx.de>
5894 * gnu/java/nio/CharViewBufferImpl.java,
5895 gnu/java/nio/DirectByteBufferImpl.java,
5896 gnu/java/nio/DoubleViewBufferImpl.java,
5897 gnu/java/nio/FloatViewBufferImpl.java,
5898 gnu/java/nio/IntViewBufferImpl.java,
5899 gnu/java/nio/LongViewBufferImpl.java,
5900 gnu/java/nio/ShortViewBufferImpl.java,
5901 gnu/java/nio/natDirectByteBufferImpl.cc:
5902 New files, not yet to be compiled.
5904 2003-05-10 Michael Koch <konqueror@gmx.de>
5906 * javax/swing/plaf/ButtonUI.java,
5907 javax/swing/plaf/ColorUIResource.java,
5908 javax/swing/plaf/ComponentUI.java,
5909 javax/swing/plaf/DimensionUIResource.java,
5910 javax/swing/plaf/FontUIResource.java,
5911 javax/swing/plaf/IconUIResource.java,
5912 javax/swing/plaf/InsetsUIResource.java,
5913 javax/swing/plaf/LabelUI.java,
5914 javax/swing/plaf/ListUI.java,
5915 javax/swing/plaf/OptionPaneUI.java,
5916 javax/swing/plaf/PanelUI.java,
5917 javax/swing/plaf/TabbedPaneUI.java,
5918 javax/swing/plaf/TextUI.java,
5919 javax/swing/plaf/TreeUI.java,
5920 javax/swing/plaf/ViewportUI.java,
5921 javax/swing/plaf/basic/BasicBorders.java,
5922 javax/swing/plaf/basic/BasicButtonUI.java,
5923 javax/swing/plaf/basic/BasicCheckBoxUI.java,
5924 javax/swing/plaf/basic/BasicDefaults.java,
5925 javax/swing/plaf/basic/BasicGraphicsUtils.java,
5926 javax/swing/plaf/basic/BasicIconFactory.java,
5927 javax/swing/plaf/basic/BasicLabelUI.java,
5928 javax/swing/plaf/basic/BasicListUI.java,
5929 javax/swing/plaf/basic/BasicOptionPaneUI.java,
5930 javax/swing/plaf/basic/BasicPanelUI.java,
5931 javax/swing/plaf/basic/BasicRadioButtonUI.java,
5932 javax/swing/plaf/basic/BasicScrollPaneUI.java,
5933 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
5934 javax/swing/plaf/basic/BasicTextUI.java,
5935 javax/swing/plaf/basic/BasicToggleButtonUI.java,
5936 javax/swing/plaf/basic/BasicTreeUI.java,
5937 javax/swing/plaf/basic/BasicViewportUI.java,
5938 javax/swing/plaf/metal/MetalLookAndFeel.java:
5939 New versions from classpath. This adds copyrights to all files and
5940 some serialVersionUIDs.
5942 2003-05-10 Michael Koch <konqueror@gmx.de>
5944 * java/nio/CharBuffer.java
5945 (offset): Make it package-private.
5946 (backing_buffer): Likewise.
5947 * java/nio/DoubleBuffer.java
5948 (offset): Make it package-private.
5949 (backing_buffer): Likewise.
5951 * java/nio/FloatBuffer.java
5952 (offset): Make it package-private.
5953 (backing_buffer): Likewise.
5954 * java/nio/IntBuffer.java
5955 (offset): Make it package-private.
5956 (backing_buffer): Likewise.
5957 * java/nio/LongBuffer.java
5958 (offset): Make it package-private.
5959 (backing_buffer): Likewise.
5960 * java/nio/ShortBuffer.java
5961 (offset): Make it package-private.
5962 (backing_buffer): Likewise.
5964 2003-05-10 Michael Koch <konqueror@gmx.de>
5966 * java/nio/CharBuffer.java
5967 (put): Fixed precondtion check.
5968 (toString): Make it work without backing array.
5969 (put): Skip one level of method calling.
5971 2003-05-10 Michael Koch <konqueror@gmx.de>
5973 * java/security/Identity.java,
5974 java/security/IdentityScope.java,
5975 java/security/Key.java,
5976 java/security/KeyPair.java,
5977 java/security/PrivateKey.java,
5978 java/security/Provider.java,
5979 java/security/PublicKey.java,
5980 java/security/SecureRandom.java,
5981 java/security/SecureRandomSpi.java,
5982 java/security/SignedObject.java,
5983 java/security/Signer.java,
5984 java/security/cert/Certificate.java,
5985 java/security/cert/PKIXCertPathBuilderResult.java,
5986 java/security/cert/X509Certificate.java:
5987 New versions from classpath.
5989 2003-05-09 Tom Tromey <tromey@redhat.com>
5991 * Makefile.in: Rebuilt.
5992 * Makefile.am (nat_source_files): Removed old files.
5993 * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
5994 * gnu/java/nio/natFloatBufferImpl.cc: Removed.
5995 * gnu/java/nio/natIntBufferImpl.cc: Removed.
5996 * gnu/java/nio/natLongBufferImpl.cc: Removed.
5997 * gnu/java/nio/natShortBufferImpl.cc: Removed.
5999 2003-05-09 Michael Koch <konqueror@gmx.de>
6001 * gnu/java/nio/ByteBufferImpl.java
6002 (nio_cast): Removed.
6003 (ByteBufferImpl): Removed.
6004 (nio_get_Byte): Removed.
6005 (nio_put_Byte): Removed.
6006 (asByteBuffer): Removed.
6007 (asCharBuffer): Removed implementation and throw exception.
6008 (asShortBuffer): Likewise.
6009 (asIntBuffer): Likewise.
6010 (asLongBuffer): Likewise.
6011 (asFloatBuffer): Likewise.
6012 (asDoubleBuffer): Likewise.
6013 * gnu/java/nio/CharBufferImpl.java
6014 (CharBufferImpl): Removed.
6015 (nio_get_Byte): Removed.
6016 (nio_put_Byte): Removed.
6017 (asByteBuffer): Removed.
6018 * gnu/java/nio/DoubleBufferImpl.java
6019 (DoubleBufferImpl): Removed.
6020 (nio_get_Byte): Removed.
6021 (nio_put_Byte): Removed.
6022 (asByteBuffer): Removed.
6023 * gnu/java/nio/FloatBufferImpl.java
6024 (FloatBufferImpl): Removed.
6025 (nio_get_Byte): Removed.
6026 (nio_put_Byte): Removed.
6027 (asByteBuffer): Removed.
6028 * gnu/java/nio/IntBufferImpl.java
6029 (IntBufferImpl): Removed.
6030 (nio_get_Byte): Removed.
6031 (nio_put_Byte): Removed.
6032 (asByteBuffer): Removed.
6033 * gnu/java/nio/LongBufferImpl.java
6034 (LongBufferImpl): Removed.
6035 (nio_get_Byte): Removed.
6036 (nio_put_Byte): Removed.
6037 (asByteBuffer): Removed.
6038 * gnu/java/nio/ShortBufferImpl.java
6039 (ShortBufferImpl): Removed.
6040 (nio_get_Byte): Removed.
6041 (nio_put_Byte): Removed.
6042 (asByteBuffer): Removed.
6043 * gnu/java/nio/natByteBufferImpl.cc
6044 (nio_cast): Removed.
6045 (nio_get_Byte): Removed.
6046 (nio_put_Byte): Removed.
6047 * gnu/java/nio/natCharBufferImpl.cc
6048 (nio_get_Byte): Removed.
6049 (nio_put_Byte): Removed.
6051 2003-05-09 Michael Koch <konqueror@gmx.de>
6053 * java/net/JarURLConnection.java
6054 (getJarEntry): Merged documentation from classpath.
6055 (getJarFile): Likewise.
6056 (getMainAttributes): Likewise.
6057 (getAttributes): Likewise.
6058 (getManifest): Likewise.
6059 (getCertificates): Reformatted.
6060 * java/net/URLConnection.java:
6061 Little classpath merge.
6063 2003-05-09 Michael Koch <konqueror@gmx.de>
6065 * java/io/DataOutputStream.java
6066 (writeShort): Made it synchronized.
6067 (writeChar): Likewise.
6068 (writeInt): Likewise.
6069 (writeLong): Liekwise.
6070 (writeUTF): Made it synchronized, renamed argument to match classpath.
6071 * java/io/InputStreamReader.java
6072 (converter): Added documentation.
6073 (read): Merged documentation from classpath.
6074 * java/io/OutputStreamWriter.java
6075 (OutputStreamWriter): Merged documentation from classpath.
6076 (close): Reformatted.
6077 (getEncoding): Likewise.
6079 (write): Merged documentation from classpath, reformatted.
6081 2003-05-08 Tom Tromey <tromey@redhat.com>
6083 * configure.host <powerpc64*-*>: Set with_libffi_default and
6084 libgcj_interpreter to "yes".
6086 2003-05-08 Scott Gilbertson <scottg@mantatest.com>
6088 * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
6090 2003-05-06 Tom Tromey <tromey@redhat.com>
6092 * verify.cc: Reverted previous patch.
6094 2003-05-06 Michael Koch <konqueror@gmx.de>
6096 * java/io/DataOutputStream.java
6097 (write): Renamed argument to "value", merged documentation from
6099 (writeBoolean): Likewise.
6100 (writeByte): Likewise.
6101 (writeShort): Likewise.
6102 (writeChar): Likewise.
6103 (writeInt): Likewise.
6104 (writeLong): Likewise.
6105 (writeFloat): Likewise.
6106 (writeDouble): Likewise.
6107 (writeBytes): Likewise.
6108 (writeChars): Likewise.
6109 (writeUTF): Likewise.
6111 (performDelete): Added documentation.
6112 (performList): Likewise.
6113 (performMkdir): Likewise.
6114 (performSetReadOnly): Likewise.
6115 (performRenameTo): Likewise.
6116 (performSetLastModified): Likewise.
6117 (delete): Made it sychronized.
6118 (renameTo): Made it sychronized.
6119 (equals): Reformatted.
6120 (isHidden): Likewise.
6121 (listFiles): Likewise.
6122 (setReadOnly): Likewise.
6123 (listRoots): Likewise.
6124 (setLastModified): Likewise.
6125 (checkRead): Likewise.
6126 (checkWrite): Likewise.
6127 * java/io/FileInputStream.java
6128 (skip): Made it sychronized, merged from classpath.
6129 * java/io/FileOutputStream.java
6130 (write): Merged from classpath.
6131 * java/io/InputStreamReader.java:
6132 (InputStreamReader): Merged documentation from classpath.
6134 2003-05-05 Michael Koch <konqueror@gmx.de>
6136 * java/net/NetworkInterface.java
6137 (networkInterfaces): Removed.
6138 (getByName): Use getRealNetworkInterfaces() instead of
6140 (getByInetAddress): Likewise.
6141 (getNetworkInterfaces): Likewise.
6142 (toString): Fix output of addresses of an interface.
6144 2003-05-05 Michael Koch <konqueror@gmx.de>
6146 * java/io/DataInputStream.java:
6147 Merged new documentation from classpath.
6149 2003-05-03 Matt Kraai <kraai@alumni.cmu.edu>
6151 * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
6153 * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
6154 * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
6155 * gnu/awt/gtk/GtkFramePeer.java: Likewise.
6156 * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
6157 * gnu/awt/gtk/GtkMainThread.java: Likewise.
6158 * gnu/awt/gtk/GtkToolkit.java: Likewise.
6159 * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
6160 * java/security/Key.java: Likewise.
6161 * java/security/PrivateKey.java: Likewise.
6162 * java/security/Provider.java: Likewise.
6163 * java/security/PublicKey.java: Likewise.
6165 2003-05-02 Michael Koch <konqueror@gmx.de>
6168 (create): Doesnt throws any exceptions.
6169 * java/net/URLConnection.java
6170 (URLConnection): Commend added.
6171 (getExpiration): The header field is called "expires" not
6173 (getHeaderField): Merged documentation with classpath.
6174 (getHeaderFieldInt): Likewise.
6175 (getHeaderFieldDate): Likewise.
6176 (getHeaderFieldKey): Likewise.
6177 (getPermission): Likewise.
6178 (setDefaultUseCaches): Likewise.
6179 (setRequestProperty): Likewise.
6180 (addRequestProperty): Likewise.
6181 (getRequestProperty): Likewise.
6182 (getRequestProperties): Likewise.
6183 (setDefaultRequestProperty): Likewise.
6184 (getDefaultRequestProperty): Likewise.
6185 (guessContentTypeFromStream): Likewise.
6186 (getFileNameMap): Likewise.
6187 (setFileNameMap): Likewise.
6188 (setDoInput): Merged implementation and documentation with classpath.
6189 (setDoOutput): Likewise.
6190 (setAllowUserInteraction): Likewise.
6191 (setDefaultAllowUserInteraction): Likewise.
6192 (setContentHandlerFactory): Made it synchronized, merged documentation
6194 (guessContentTypeFromName): Renamed argument fname to filename to
6195 match classpath, merged documentation with classpath.
6197 2003-05-02 Michael Koch <konqueror@gmx.de>
6199 * java/net/JarURLConnection.java
6200 (JarURLConnection): Class documentation merged with classpath.
6201 (getJarFileURL): Moved and documentation merged with classpath.
6202 (getEntryName): Likewise.
6203 (JarURLConnection): Documentation merged with classpath.
6204 (getJarEntry): Likewise.
6205 (getJarFile): Likewise.
6206 * java/net/PlainDatagramSocketImpl.java:
6207 Class documentation moved.
6208 * java/net/URLConnection.java
6209 (fileNameMap): Moved and documentation merged with classpath.
6210 (factory): Likewise.
6211 (defaultAllowUserInteraction): Likewis.
6212 (defaultUseCaches): Likewise.
6213 (allowUserInteraction): Likewise.
6214 (connected): Likewise.
6216 (connect): Documentation merged with classpath.
6218 (getContentLength): Likewise.
6219 (getContentType): Likewise.
6220 (getContentEncoding): Likewise.
6221 (getExpiration): Likewise.
6222 (getDate): Likewise.
6223 (getLastModified): Likewise.
6224 (getHeaderField): Likewise.
6225 (getContent): Likewise.
6226 (getPermission): Likewise.
6227 (getInputStream): Likewise.
6228 (getOutputStream): Likewise.
6229 (toString): Likewise.
6230 (getDoInput): Likewise.
6231 (getDoOutput): Likewise.
6232 (setAllowUserInteraction): Likewise.
6233 (getAllowUserInteraction): Likewise.
6234 (setDefaultAllowUserInteraction): Likewise.
6235 (getDefaultAllowUserInteraction): Likewise.
6236 (setUseCaches): Likewise.
6237 (getUseCaches): Likewise.
6238 (setIfModifiedSince): Likewise.
6239 (getIfModifiedSince): Likewise.
6240 (setDefaultRequestProperty): Likewise.
6241 (getDefaultRequestProperty): Likewise.
6242 (setContentHandlerFactory): Likewise.
6243 (setFileNameMap): Likewise.
6245 2003-05-02 Michael Koch <konqueror@gmx.de>
6247 * java/net/InetAddress.java:
6248 Merged class documentation with classpath.
6249 * java/net/JarURLConnection.java:
6250 Explicitely import all used classes.
6251 * java/net/URL.java:
6253 * java/net/ServerSocket.java,
6254 java/net/Socket.java:
6255 New versions from classpath.
6257 2003-05-02 Michael Koch <konqueror@gmx.de>
6259 * gnu/java/nio/FileChannelImpl.java
6260 (read): New implementation.
6261 (implRead): New methods.
6262 (write): New implementation, call other write insteal of read method.
6263 (implWrite): New methods.
6264 (map): Added comment.
6265 (transferFrom): Implemented.
6266 (transferTo): Implemented.
6267 (lock): Added checks to throw exceptions.
6268 (truncate): Added check to throw exception.
6269 * gnu/java/nio/natFileChannelImpl.cc
6270 (implRead): New method.
6271 (implWrite): New method.
6272 * java/nio/ByteBuffer.java
6273 (hashCode): Fixed comment.
6274 (get): Fixed exception documentation.
6275 (put): Fixed exception documentation.
6276 * java/nio/CharBuffer.java:
6277 Added comment for later optimizations.
6279 2003-04-30 Tom Tromey <tromey@redhat.com>
6282 * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
6284 (type::compatible): Use _Jv_IsAssignableFrom.
6285 * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
6286 (_Jv_IsAssignableFrom): Work even when source or target class is
6289 2003-04-30 Michael Koch <konqueror@gmx.de>
6291 * java/text/BreakIterator.java
6292 (clone): New method.
6294 2003-04-30 Michael Koch <konqueror@gmx.de>
6296 * java/text/CollationElementIterator.java,
6297 java/text/CollationKey.java,
6298 java/text/RuleBasedCollator.java:
6299 Merged copyright and documentation from classpath and
6300 rearranged some code. No code changes done.
6302 2003-04-30 Michael Koch <konqueror@gmx.de>
6304 * java/util/regex/Matcher.java
6305 (pattern): New member variable.
6306 (appendReplacement): New method.
6307 (appendTail): New method.
6310 (group): New method.
6311 (replaceFirst): Added documentation.
6312 (replaceAll): Added documentation.
6313 (groupCount): New method.
6314 (lookingAt): New method.
6315 (matches): New method.
6316 (reset): New method.
6317 (start): New method.
6318 * java/util/regex/Pattern.java
6319 (serialVersionUID): New constant.
6320 (CANON_EQ): New constant.
6321 (CASE_INSENSITIVE): New constant.
6322 (COMMENTS): New constant.
6323 (DOTALL): New constant.
6324 (MULTILINE): New constant.
6325 (UNICODE_CASE): New constant.
6326 (UNIX_LINES): New constant.
6327 (regex): New member variable.
6328 (flags): New member variable.
6329 (Pattern): New method.
6330 (compile): Documentation added.
6331 (flags): New method.
6332 (matches): Documentation added.
6333 (matcher): Documentation added.
6334 (split): Documentation added.
6335 (pattern): New method.
6337 2003-04-30 Michael Koch <konqueror@gmx.de>
6339 * gnu/java/security/Engine.java,
6340 gnu/java/security/OID.java,
6341 gnu/java/security/der/BitString.java,
6342 gnu/java/security/der/DER.java,
6343 gnu/java/security/der/DERReader.java,
6344 gnu/java/security/der/DERValue.java,
6345 gnu/java/security/der/DERWriter.java,
6346 gnu/java/security/provider/DSAKeyFactory.java,
6347 gnu/java/security/provider/X509CertificateFactory.java,
6348 gnu/java/security/x509/X500DistinguishedName.java,
6349 gnu/java/security/x509/X509CRL.java,
6350 gnu/java/security/x509/X509CRLEntry.java,
6351 gnu/java/security/x509/X509Certificate.java,
6352 java/security/cert/CRLSelector.java,
6353 java/security/cert/CertPathBuilder.java,
6354 java/security/cert/CertPathBuilderResult.java,
6355 java/security/cert/CertPathBuilderSpi.java,
6356 java/security/cert/CertPathParameters.java,
6357 java/security/cert/CertPathValidator.java,
6358 java/security/cert/CertPathValidatorResult.java,
6359 java/security/cert/CertPathValidatorSpi.java,
6360 java/security/cert/CertSelector.java,
6361 java/security/cert/CertStore.java,
6362 java/security/cert/CertStoreParameters.java,
6363 java/security/cert/CertStoreSpi.java,
6364 java/security/cert/CollectionCertStoreParameters.java,
6365 java/security/cert/LDAPCertStoreParameters.java,
6366 java/security/cert/PKIXBuilderParameters.java,
6367 java/security/cert/PKIXCertPathBuilderResult.java,
6368 java/security/cert/PKIXCertPathChecker.java,
6369 java/security/cert/PKIXCertPathValidatorResult.java,
6370 java/security/cert/PKIXParameters.java,
6371 java/security/cert/PolicyNode.java,
6372 java/security/cert/PolicyQualifierInfo.java,
6373 java/security/cert/TrustAnchor.java,
6374 javax/security/auth/x500/X500Principal.java:
6375 New files from classpath.
6376 * gnu/java/io/ASN1ParsingException.java,
6377 gnu/java/io/Base64InputStream.java,
6378 gnu/java/security/der/DEREncodingException.java,
6379 gnu/java/security/provider/DSAParameters.java,
6380 gnu/java/security/provider/DSASignature.java,
6381 gnu/java/security/provider/Gnu.java,
6382 gnu/java/security/provider/GnuDSAPrivateKey.java,
6383 gnu/java/security/provider/GnuDSAPublicKey.java,
6384 java/security/AlgorithmParameterGenerator.java,
6385 java/security/AlgorithmParameters.java,
6386 java/security/KeyFactory.java,
6387 java/security/KeyPairGenerator.java,
6388 java/security/KeyStore.java,
6389 java/security/MessageDigest.java,
6390 java/security/SecureClassLoader.java,
6391 java/security/SecureRandom.java,
6392 java/security/Security.java,
6393 java/security/Signature.java,
6394 java/security/cert/Certificate.java,
6395 java/security/cert/CertificateFactory.java,
6396 java/security/cert/CertificateFactorySpi.java,
6397 java/security/cert/X509CRL.java,
6398 java/security/cert/X509Certificate.java,
6399 java/security/spec/DSAPublicKeySpec.java:
6400 New versions from classpath.
6401 * gnu/java/security/provider/DERReader.java,
6402 gnu/java/security/provider/DERWriter.java,
6403 java/security/Engine.java: Removed.
6405 (java_source_files, javax_source_files): Added new files.
6406 * Makefile.in: Regenerated.
6408 2003-04-29 Michael Koch <konqueror@gmx.de>
6410 * javax/swing/JTable.java
6411 (AUTO_RESIZE_ALL_COLUMNS): New constant.
6412 (AUTO_RESIZE_LAST_COLUMN): New constant.
6413 (AUTO_RESIZE_NEXT_COLUMN): New constant.
6414 (AUTO_RESIZE_OFF): New constant.
6415 (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
6416 (JTable): New method.
6417 (columnAdded): New method.
6418 (columnMarginChanged): New method.
6419 (columnMoved): New method.
6420 (columnRemoved): New method.
6421 (columnSelectionChanged): New method.
6422 (editingCanceled): New method.
6423 (editingStopped): New method.
6424 (getColumnModel): New method.
6425 (getPreferredScrollableViewportSize): New method.
6426 (getScrollableBlockIncrement): New method.
6427 (getScrollableTracksViewportHeight): New method.
6428 (getScrollableTracksViewportWidth): New method.
6429 (getScrollableUnitIncrement): New method.
6430 (getSelectedRow): New method.
6431 (getSelectionModel): New method.
6432 (tableChanged): New method.
6433 (setModel): New method.
6434 (setSelectionMode): New method.
6435 (setSelectionModel): New method.
6436 (setShowGrid): New method.
6437 (valueChanged): New method.
6438 * javax/swing/text/DefaultEditorKit.java
6439 (backwardAction): New constant.
6440 (beepAction): New constant.
6441 (beginAction): New constant.
6442 (beginLineAction): New constant.
6443 (beginParagraphAction): New constant.
6444 (beginWordAction): New constant.
6445 (copyAction): New constant.
6446 (cutAction): New constant.
6447 (defaultKeyTypedAction): New constant.
6448 (deleteNextCharAction): New constant.
6449 (deletePrevCharAction): New constant.
6450 (downAction): New constant.
6451 (endAction): New constant.
6452 (endLineAction): New constant.
6453 (endOfLineStringProperty): New constant.
6454 (endParagraphAction): New constant.
6455 (endWordAction): New constant.
6456 (forwardAction): New constant.
6457 (insertBreakAction): New constant.
6458 (insertContentAction): New constant.
6459 (insertTabAction): New constant.
6460 (nextWordAction): New constant.
6461 (pageDownAction): New constant.
6462 (pageUpAction): New constant.
6463 (pasteAction): New constant.
6464 (previousWordAction): New constant.
6465 (readOnlyAction): New constant.
6466 (selectAllAction): New constant.
6467 (selectionBackwardAction): New constant.
6468 (selectionBeginAction): New constant.
6469 (selectionBeginLineAction): New constant.
6470 (selectionBeginParagraphAction): New constant.
6471 (selectionBeginWordAction): New constant.
6472 (selectionDownAction): New constant.
6473 (selectionEndAction): New constant.
6474 (selectionEndLineAction): New constant.
6475 (selectionEndParagraphAction): New constant.
6476 (selectionEndWordAction): New constant.
6477 (selectionForwardAction): New constant.
6478 (selectionNextWordAction): New constant.
6479 (selectionPreviousWordAction): New constant.
6480 (selectionUpAction): New constant.
6481 (selectLineAction): New constant.
6482 (selectParagraphAction): New constant.
6483 (selectWordAction): New constant.
6484 (upAction): New constant.
6485 (writableAction): New constant.
6487 2003-04-29 Michael Koch <konqueror@gmx.de>
6489 * java/util/PropertyPermission.java:
6490 New version from classpath
6491 * java/util/ResourceBundle.java:
6492 Partly merged from classpath
6493 (getObject): Reformated.
6494 (tryBundle): Set foundBundle = null if no bundle found.
6496 2003-04-29 Michael Koch <konqueror@gmx.de>
6498 * javax/swing/AbstractListModel.java,
6499 javax/swing/DefaultBoundedRangeModel.java,
6500 javax/swing/DefaultSingleSelectionModel.java:
6501 New Versions from classpath.
6503 2003-04-29 Michael Koch <konqueror@gmx.de>
6505 * java/awt/Window.java
6506 (show): Call super.show() instead of setVisible() to avoid endless
6508 (hide): Call super.hide() instead of setVisible() to avoid endless
6511 2003-04-29 Michael Koch <konqueror@gmx.de>
6513 * java/util/zip/Deflater.java,
6514 java/util/zip/DeflaterOutputStream.java:
6515 Partly merged with classpath.
6517 2003-04-27 Tom Tromey <tromey@redhat.com>
6519 * java/lang/natString.cc (_Jv_AllocString): Initialize
6522 (_Jv_NewStringUtf8Const): Likewise.
6524 2003-03-29 Mohan Embar <gnustuff@thisiscool.com>
6526 * include/jvm.h: (_Jv_GetNbArgs) added
6527 (_Jv_GetSafeArg) added
6529 * prims.cc: (_Jv_GetNbArgs) implemented
6530 (_Jv_GetSafeArg) implemented
6531 (_Jv_SetArgs) implemented
6532 (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
6533 setting _Jv_argc and _Jv_argv
6534 * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
6536 * java/lang/natRuntime.cc: (insertSystemProperties) use
6537 _Jv_GetSafeArg() instead of _Jv_argv
6539 2003-04-23 Tom Tromey <tromey@redhat.com>
6541 * resolve.cc (_Jv_PrepareClass): Round size up to alignment
6542 required by this object. Search superclasses to find required
6544 (get_alignment_from_class): Use alignment of type as it appears
6546 (ALIGNOF): New macro.
6547 (struct aligner): New helper structure.
6549 2003-04-20 Scott Gilbertson <scottg@mantatest.com>
6551 * java/awt/Container.java (addImpl): Enable paint events if adding
6552 a lightweight to a heavyweight.
6553 (addNotify): Ensure that peer is created before
6554 addNotifyContainerChildren.
6555 (addNotifyContainerChildren): Enable paint events if a heavyweight
6556 container contains a lightweight.
6558 2003-04-20 Tom Tromey <tromey@redhat.com>
6560 * java/io/BufferedReader.java, java/io/BufferedWriter.java,
6561 java/io/DataInput.java, java/io/DataOutput.java: Imports from
6564 2003-04-19 Tom Tromey <tromey@redhat.com>
6566 * java/sql/Date.java, java/sql/DriverManager.java,
6567 java/sql/Time.java, java/sql/Timestamp.java: New versions from
6570 * Makefile.in: Rebuilt.
6571 * Makefile.am (ordinary_java_source_files): Added new files.
6572 * java/security/AlgorithmParameterGenerator.java,
6573 java/security/AlgorithmParameters.java, java/security/Engine.java,
6574 java/security/Identity.java, java/security/IdentityScope.java,
6575 java/security/KeyFactory.java,
6576 java/security/KeyPairGenerator.java, java/security/KeyStore.java,
6577 java/security/MessageDigest.java, java/security/Policy.java,
6578 java/security/ProtectionDomain.java,
6579 java/security/SecureRandom.java, java/security/Security.java,
6580 java/security/Signature.java, java/security/SignatureSpi.java,
6581 java/security/SignedObject.java, java/security/Signer.java,
6582 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
6583 java/security/spec/PSSParameterSpec.java,
6584 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
6585 java/security/spec/RSAOtherPrimeInfo.java: New versions from
6588 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
6590 * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
6591 (dispose): Null metrics.
6592 * gnu/awt/xlib/XToolkit.java (sync): Implement.
6593 * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
6595 (finalize): Call dispose.
6596 * gnu/gcj/xlib/Drawable.java (gcCache): New field.
6597 (gcCachedCount): New field.
6598 (finalize): New method.
6599 (putGCInCache): New method.
6600 (getGCFromCache): New method.
6601 * gnu/gcj/xlib/GC.java (GC): Make protected.
6602 (clone): Get new GC from cache if possible.
6603 (create): New static method.
6604 (dispose): Save old GC in cache.
6605 * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
6607 * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
6609 * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
6610 * java/awt/Container.java (visitChild): Dispose gfx2 when
6613 2003-04-19 Jerry Quinn <jlquinn@optonline.net>
6615 * java/math/BigInteger.java (probablePrime): New.
6616 * java/math/BigDecimal.java (unscaledValue): New.
6618 2003-04-19 Ranjit Mathew <rmathew@hotmail.com>
6620 * java/io/File.java (getAbsolutePath): On Windows, take care
6621 of paths like "C:", "G:foo\bar", etc.
6622 (getName): Make it work correctly on Windows.
6623 (getParent): Make it work correctly on Windows. For UNIX,
6624 fix bug that causes "/" to be returned as the parent of "/",
6625 instead of null as returned by Sun's JRE.
6627 * java/io/natFileWin32.cc: Change copyright owner to FSF.
6629 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
6631 * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
6633 (CACHE_SIZE_PER_DISPLAY): New field
6634 (fontMetricsCache): New field
6635 (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
6636 loading ISO10646-1 fonts.
6638 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
6640 * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
6642 * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
6645 2003-04-16 Richard Earnshaw <rearnsha@arm.com>
6647 * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
6650 2003-04-15 Jakub Jelinek <jakub@redhat.com>
6652 * configure.host (*-linux*): Don't set slow_pthread_self if primary
6653 installed libpthread is either linuxthreads with floating stacks or
6656 2003-04-14 Tom Tromey <tromey@redhat.com>
6658 * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
6661 2003-04-10 Tom Tromey <tromey@redhat.com>
6663 * verify.cc (pop64): Removed.
6664 (verify_instructions_0) <op_pop2>: Inline code. Don't throw
6665 exception if top-of-stack is narrow.
6666 (initialize_stack): Check to ensure that <init> is not static and
6669 2003-04-07 Aaron M. Renn (arenn@urbanophile.com)
6671 * java/io/ObjectStreamException
6672 * java/io/FileFilter
6673 * java/io/FilenameFilter
6674 * java/io/ObjectInput
6675 * java/io/ObjectOutput
6676 * java/io/ObjectStreamConstants
6677 Minor doc fixes, format fixes, spelling corrections, etc.
6679 Corrected code samples in Javadocs to match reality
6680 * java/io/DataOutput
6681 * java/io/ObjectInputValidation
6682 Major documentation fixes - all Javadocs re-written or updated
6684 2003-04-06 Michael Koch <konqueror@gmx.de>
6686 * java/net/URLConnection.java:
6687 Import classes directly.
6688 (URLConnection): Merged class documentation with classpath.
6689 (url): Moved, documentation from classpath added.
6690 (doInput): Moved, documentation from classpath added.
6691 (doOutput): Moved, documentation from classpath added.
6692 (allowUserInteraction): Moved.
6693 (useCaches): Moved, documentation from classpath added.
6694 (ifModifiedSince): Moved, documentation from classpath added.
6695 (connected): Moved, documentation from classpath added.
6697 2003-04-06 Michael Koch <konqueror@gmx.de>
6699 * java/io/FileInputStream.java
6700 (skip): Renamed some variables to match classpath, added
6701 checks from classpath.
6703 2003-03-31 Michael Koch <konqueror@gmx.de>
6705 * javax/swing/AbstractAction.java
6706 (AbstractAction): Reformatted.
6707 (serialVersionUID): New private member variable.
6708 * javax/swing/plaf/BorderUIResource.java
6709 (serialVersionUID): New private member variable.
6710 * javax/swing/plaf/basic/BasicLookAndFeel.java
6711 (serialVersionUID): New private member variable.
6713 2003-03-31 Michael Koch <konqueror@gmx.de>
6715 * java/sql/Date.java
6716 (valueOf): Deprecated, reformatted.
6717 (toString): Deprecated, reformatted.
6718 * java/sql/Time.java
6719 (valueOf): Deprecated, reformatted.
6720 (toString): Deprecated, reformatted.
6722 2003-03-31 Michael Koch <konqueror@gmx.de>
6724 * java/rmi/dgc/VMID.java
6725 (isUnique): Deprecated.
6727 2003-03-31 Michael Koch <konqueror@gmx.de>
6730 (separator): Merged documentation from classpath.
6731 (separatorChar): Merged documentation from classpath.
6732 (pathSeparator): Merged documentation from classpath.
6733 (pathSeparatorChar): Merged documentation from classpath.
6734 (path): Merged documentation from classpath.
6735 (canRead): Merged documentation from classpath.
6736 (canWrite): Merged documentation from classpath.
6737 (createNewFile): Merged documentation from classpath.
6738 (delete): Merged documentation from classpath.
6739 (equals): Merged documentation from classpath.
6740 (exists): Merged documentation from classpath.
6741 (File): Renamed p to name to match classpath, merged documentation
6743 (getAbsolutePath): Merged documentation from classpath.
6744 (getCanonicalPath): Merged documentation from classpath.
6745 (getCanonicalFile): Merged documentation from classpath.
6746 (getName): Merged documentation from classpath.
6747 (getParent): Merged documentation from classpath.
6748 (getParentFile): Merged documentation from classpath.
6749 (getPath): Merged documentation from classpath.
6750 (hashCode): Merged documentation from classpath.
6751 (isAbsolute): Merged documentation from classpath.
6752 (isDirectory): Merged documentation from classpath.
6753 (isFile): Merged documentation from classpath.
6754 (isHidden): Merged documentation from classpath.
6755 (lastModified): Merged documentation from classpath.
6756 (length): Merged documentation from classpath.
6757 (list): Merged documentation from classpath.
6758 (listFiles): Merged documentation from classpath.
6759 (toString): Merged documentation from classpath.
6760 (toURL): Merged documentation from classpath.
6761 (mkdir): Merged documentation from classpath.
6762 (mkdirs): Merged documentation from classpath.
6763 (createTempFile): Merged documentation from classpath.
6764 (setReadOnly): Merged documentation from classpath.
6765 (listRoots): Merged documentation from classpath.
6766 (compareTo): Merged documentation from classpath.
6767 (renameTo): Merged documentation from classpath.
6768 (setLastModified): Merged documentation from classpath.
6769 * java/io/PrintStream.java
6770 (auto_flush): Merged documentation from classpath.
6771 (PrintStream): Merged documentation from classpath.
6772 (checkError): Merged documentation from classpath.
6773 (setError): Merged documentation from classpath.
6774 (close): Merged documentation from classpath.
6775 (flush): Merged documentation from classpath.
6776 (print): Merged documentation from classpath.
6777 (println): Merged documentation from classpath.
6778 (write): Renamed count to len to match classpath,
6779 merged documentation from classpath.
6780 * java/io/RandomAccessFile.java
6781 (readShort): Merged documentation from classpath.
6782 (readUnsignedByte): Merged documentation from classpath.
6783 (readUnsignedShort): Merged documentation from classpath.
6784 (readUTF): Merged documentation from classpath.
6785 (seek): Reformatted, merged documentation from classpath.
6786 (skipBytes): Renamed some variables to match classpath, reformatted,
6787 merged documentation from classpath.
6788 (write): Merged documentation from classpath.
6789 (writeBoolean): Merged documentation from classpath.
6790 (writeByte): Merged documentation from classpath.
6791 (writeShort): Merged documentation from classpath.
6792 (writeChar): Merged documentation from classpath.
6793 (writeInt): Merged documentation from classpath.
6794 (writeLong): Merged documentation from classpath.
6795 (writeFloat): Merged documentation from classpath.
6796 (writeDouble): Merged documentation from classpath.
6797 (writeBytes): Merged documentation from classpath.
6798 (writeChars): Merged documentation from classpath.
6799 (writeUTF): Reformatted.
6800 (getChannel): Reformatted.
6802 2003-03-31 Michael Koch <konqueror@gmx.de>
6804 * java/awt/font/TextAttribute.java
6805 (readResolve): Throws java.io.InvalidObjectException.
6807 2003-03-31 Michael Koch <konqueror@gmx.de>
6809 * java/rmi/server/LoaderHandler.java
6810 (loadClass): Deprecated.
6811 (getSecurityContext): Deprecated.
6812 * java/rmi/server/LogStream.java
6813 (getDefaultStream): Deprecated.
6814 (setDefaultStream): Deprecated.
6815 (getOutputStream): Deprecated.
6816 (setOutputStream): Deprecated.
6817 (write): Deprecated.
6818 (toString): Deprecated.
6819 (parseLevel): Deprecated.
6820 * java/rmi/server/Operation.java
6821 (Operation): Deprecated.
6822 (getOperation): Deprecated.
6823 (toString): Deprecated.
6824 * java/rmi/server/RemoteCall.java
6825 (getOutputStream): Deprecated.
6826 (releaseOutputStream): Deprecated.
6827 (getInputStream): Deprecated.
6828 (releaseInputStream): Deprecated.
6829 (getResultStream): Deprecated.
6830 (executeCall): Deprecated.
6832 * java/rmi/server/RemoteRef.java
6833 (invoke): Deprecated.
6834 (newCall): Deprecated.
6836 * java/rmi/server/RemoteStub.java
6837 (setRef): Deprecated.
6838 * java/rmi/server/Skeleton.java:
6839 No need to import java.lang.Exception explicitly.
6840 (dispatch): Deprecated.
6841 (getOperations): Deprecated.
6843 2003-03-31 Michael Koch <konqueror@gmx.de>
6845 * java/rmi/dgc/VMID.java,
6846 java/rmi/registry/RegistryHandler.java,
6847 java/rmi/server/LogStream.java,
6848 java/rmi/server/Operation.java,
6849 java/rmi/server/RemoteCall.java,
6850 java/rmi/server/RemoteRef.java,
6851 java/rmi/server/RemoteStub.java:
6854 2003-03-31 Michael Koch <konqueror@gmx.de>
6856 * javax/swing/AbstractCellEditor.java,
6857 javax/swing/AbstractListModel.java,
6858 javax/swing/ActionMap.java,
6859 javax/swing/BorderFactory.java,
6860 javax/swing/ButtonGroup.java,
6861 javax/swing/DefaultBoundedRangeModel.java,
6862 javax/swing/DefaultButtonModel.java,
6863 javax/swing/DefaultCellEditor.java,
6864 javax/swing/DefaultComboBoxModel.java,
6865 javax/swing/DefaultDesktopManager.java,
6866 javax/swing/DefaultListCellRenderer.java,
6867 javax/swing/DefaultSingleSelectionModel.java,
6868 javax/swing/InputMap.java,
6869 javax/swing/JComponent.java,
6870 javax/swing/JMenu.java,
6871 javax/swing/JSlider.java,
6872 javax/swing/KeyStroke.java,
6873 javax/swing/OverlayLayout.java,
6874 javax/swing/ScrollPaneLayout.java,
6875 javax/swing/SizeRequirements.java,
6876 javax/swing/UIManager.java,
6877 javax/swing/ViewportLayout.java,
6878 javax/swing/border/AbstractBorder.java,
6879 javax/swing/colorchooser/DefaultColorSelectionModel.java,
6880 javax/swing/event/EventListenerList.java,
6881 javax/swing/table/AbstractTableModel.java,
6882 javax/swing/table/DefaultTableCellRenderer.java,
6883 javax/swing/table/DefaultTableColumnModel.java,
6884 javax/swing/table/DefaultTableModel.java,
6885 javax/swing/table/TableColumn.java,
6886 javax/swing/text/StyledEditorKit.java,
6887 javax/swing/tree/DefaultMutableTreeNode.java,
6888 javax/swing/tree/DefaultTreeModel.java,
6889 javax/swing/tree/DefaultTreeSelectionModel.java,
6890 javax/swing/tree/TreePath.java,
6891 javax/swing/undo/AbstractUndoableEdit.java,
6892 javax/swing/undo/StateEdit.java,
6893 javax/swing/undo/StateEditable.java,
6894 javax/swing/undo/UndoableEditSupport.java:
6895 Merges from classpath.
6897 2003-03-30 Tom Tromey <tromey@redhat.com>
6899 * java/lang/String.java (data, boffset, count): Documented.
6900 (String(byte[],String)): Reformatted.
6901 (String(byte[])): Likewise.
6902 (lastIndexOf(int)): Likewise.
6903 (lastIndexOf(String)): Likewise.
6904 (substring(int)): Renamed argument to match Classpath.
6905 (String(StringBuffer)): Don't share buffer if it is nearly empty.
6907 * java/lang/String.java: Miscellaneous minor formatting changes
6908 to match Classpath more closely.
6910 2003-03-29 Eric Blake <ebb9@email.byu.edu>
6911 Tom Tromey <tromey@redhat.com>
6913 * java/lang/natString.cc (hashCode): Use cachedHashCode.
6915 (charAt): Put index in exception.
6916 (contentEquals): New method.
6917 Include StringBuffer.h.
6918 * java/lang/String.java (cachedHashCode): New field.
6919 (String()): Follow classpath implementation.
6921 (contentEquals): Declare.
6922 (subSequence): Don't declare IndexOutIfBoundsException in throws
6924 (matches, replaceFirst, replaceAll, split): New methods from
6927 2003-03-29 Tom Tromey <tromey@redhat.com>
6929 * java/lang/String.java: Reordered to follow Classpath; merged in
6932 * java/text/MessageFormat.java: Removed some whitespace.
6934 * Makefile.in: Rebuilt.
6935 * Makefile.am (awt_java_source_files): Added new files.
6936 * gnu/javax/rmi/PortableServer.java,
6937 gnu/javax/rmi/CORBA/DelegateFactory.java,
6938 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
6939 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
6940 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
6941 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
6942 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
6943 javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
6944 javax/rmi/PortableRemoteObject.java,
6945 javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
6946 javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
6947 javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
6948 javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
6949 javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
6950 javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
6952 * java/lang/natClass.cc (newInstance): Put method name in
6954 (getConstructor): Likewise.
6955 (getDeclaredConstructor): Likewise.
6956 (getPrivateMethod): Likewise.
6958 2003-03-28 Tom Tromey <tromey@redhat.com>
6960 * java/lang/reflect/Proxy.java: New version from Classpath.
6961 * java/lang/Package.java: New version from Classpath.
6963 2003-03-29 Ulrich Weigand <uweigand@de.ibm.com>
6965 * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
6966 * configure: Regenerate.
6968 2003-03-28 Michael Koch <konqueror@gmx.de>
6970 * java/io/File.java:
6971 Import needed classes instead of whole packages, merged class
6972 documentation with classpath, moved constants and variables to top of
6974 * java/io/PrintStream.java:
6975 Merged class documentation with classpath, moved constants and
6976 variables to top of class.
6977 * java/io/RandomAccessFile.java
6978 (RandomAccessFile): Merged with classpath.
6979 (read): Merged with classpath).
6980 (read*): Reformatted.
6982 2003-03-28 Michael Koch <konqueror@gmx.de>
6984 * java/io/FileDescriptor.java
6985 (finalize): Throws Throwable, not IOException.
6986 * java/io/ObjectOutputStream.java
6987 (PutField.put): Doesnt throws anything.
6989 2003Â03-28 Michael Koch <konqueror@gmx.de>
6991 * java/io/FileOutputStream.java:
6992 Merged class documentation and authors with classpath.
6993 (FileOutputStream): Partly merged with classpath.
6994 (write): Merged with classpath.
6995 (getChannel): Make it synchronized instead of explicit block in this
6997 * java/io/RandomAccessFile.java:
6998 Merged class documentation and authors with classpath.
7000 2003-03-26 Tom Tromey <tromey@redhat.com>
7002 * java/lang/natRuntime.cc (insertSystemProperties): Set
7003 gnu.classpath.home.url.
7004 * Makefile.in: Rebuilt.
7005 * Makefile.am: Define LIBDIR.
7007 2003-03-25 Michael Koch <konqueror@gmx.de>
7009 * java/io/FileInputStream.java
7010 (read): Renamed b to buf and off to offset.
7011 * java/io/FileOutputStream.java
7012 (ch): Documentation added.
7013 (FileOutputStream): Documentation added.
7014 (getFD): Documentation added.
7015 (write): Documentation added.
7016 (close): Documentation added.
7017 (getChannel): Documentation added.
7019 2003-03-24 Michael Koch <konqueror@gmx.de>
7021 * java/io/DataOutputStream.java
7022 (write): Merged from classpath.
7023 * java/io/File.java:
7024 Merged copyrigth with classpath.
7025 * java/io/FileInputStream.java
7026 (getChannel): Made it synchronized instead of using a synchronized
7028 * java/io/FileOutputStream.java: Reformatted.
7029 * java/io/InputStreamReader.java
7030 (InputStreamReader): Renamed enc to encoding_name.
7031 (close): Merged documentation from classpath.
7032 (getEncoding): Merged documentation from classpath.
7033 (ready): Merged documentation from classpath.
7034 (read): Merged documentation from classpath.
7035 * java/io/LineNumberReader.java
7036 (lineNumber): Made it private.
7037 (LineNumberReader): Use Constant instead of a direct value.
7038 * java/io/OutputStreamWriter.java
7039 (OutputStreamWriter): Renamed enc to encoding_scheme, merged
7040 documentation from classpath.
7041 (close): Merged documentation from classpath.
7042 (flush): Merged documentation from classpath.
7043 (write): Merged documentation from classpath.
7044 * java/io/PrintStream.java: Reformatted.
7046 2003-03-24 Michael Koch <konqueror@gmx.de>
7048 * javax/swing/text/ComponentView.java
7049 (getComponent): Must be final.
7050 * javax/swing/tree/DefaultTreeCellRenderer.java:
7052 * javax/swing/undo/StateEditable.java:
7055 2003-03-24 Michael Koch <konqueror@gmx.de>
7057 * java/rmi/activation/ActivationInstantiator.java:
7059 * java/rmi/activation/Activator.java:
7061 * java/rmi/registry/RegistryHandler.java:
7062 Remerged from classpath.
7064 2003-03-24 Michael Koch <konqueror@gmx.de>
7066 * java/util/Date.java:
7067 Fixed documentation starting tag to make javadoc happy.
7068 * java/util/regex/Pattern.java
7069 (Pattern): Implements Serializable.
7070 * java/util/PatternSyntaxException.java
7071 (serialVersionUID): New member variable.
7073 2003-03-24 Michael Koch <koqnueror@gmx.de>
7075 * java/awt/ContainerOrderFocusTraversalPolicy.java
7076 (getFirstComponent): Implemented.
7077 (getLastComponent): Implemented.
7078 (getDefaultComponent): Implemented.
7079 (setImplicitDownCycleTraversal): Fixed implementation.
7080 * java/awt/Robot.java
7081 (Robot): Added documentation.
7082 * java/awt/Toolkit.java
7083 (getFontList): Deprecated.
7084 (getFontMetrics): Deprecated.
7085 (getPrintJob): Added documentation.
7086 (getSystemSelection): Added documentation.
7087 (getLockingKeyState): Added documentation.
7088 (setLockingKeyState): Added documentation.
7089 (createCustomCursor): Added documentation.
7090 (getBestCursorSize): Added documentation.
7091 (getMaximumCursorColors): Added documentation.
7092 (isFrameStateSupported): Added documentation.
7094 2003-03-24 Michael Koch <konqueror@gmx.de>
7096 * java/io/RandomAccessFile.java:
7097 More little merges with classpath. No code changes.
7099 2003-03-24 Michael Koch <konqueror@gmx.de>
7101 * java/net/natInetAddressNoNet.cc:
7103 * java/net/natPlainDatagramSocketImplNoNet.cc:
7104 Fixed inlcude of java/net/DatagramPacket.h.
7105 * java/net/natPlainSocketImplNoNet.cc:
7106 Include some missing classes.
7108 2003-03-24 Michael Koch <konqueror@gmx.de>
7110 * java/awt/dnd/DropTarget.java
7111 (DropTargetAutoScroller): According to the online documentation, this
7112 is protected, but in reality it is public.
7113 * java/awt/dnd/DropTargetContext.java
7114 (TransferableProxy): According to the online documentation, this
7115 is protected, but in reality it is public.
7117 2003-03-24 Michael Koch <konqueror@gmx.de>
7119 * java/io/DataInputStream.java
7120 (): Wrapped documentation line.
7121 (): Fixed @return tag.
7122 * java/io/DataOutputStream.java
7123 (written): Moved to top of class.
7124 (all methods): Merged documentation from classpath.
7125 * java/io/File.java:
7126 Merged copyright year with classpath.
7127 * java/io/FileInputStream.java
7128 (all methods): Merged documentation from classpath.
7129 * java/io/LineNumberReader.java
7130 (getLineNumber): Fixed @return tag.
7131 * java/io/ObjectInputStream.java.
7133 * java/io/ObjectOutputStream.java:
7134 Reformatted, fixed some @see tags.
7135 * java/io/OutputStreamWriter.java:
7137 * java/io/Writer.java:
7140 2003-03-24 Michael Koch <konqueror@gmx.de>
7142 * java/awt/Frame.java
7143 (DEFAULT_CURSOR): Fixed @deprecated tag.
7144 (setCursor): Fixed @deprecated tag.
7146 2003-03-24 Michael Koch <konqueror@gmx.de>
7148 * java/beans/beancontext/BeanContextEvent.java:
7151 2003-03-23 Eric Blake <ebb9@email.byu.edu>
7153 * java/lang/natStringBuffer.cc (regionMatches): New function.
7154 * java/lang/String.java (count): Now package-private.
7155 * java/lang/StringBuffer.java: Merged with Classpath.
7157 2003-03-23 Michael Koch <konqueror@gmx.de>
7159 * java/io/BufferedOutputStream.java:
7161 * java/io/BufferedReader.java:
7163 * java/io/ByteArrayOutputStream.java
7164 (size): Fixed @see tag.
7165 * java/io/CharArrayWriter.java
7166 (size): Fixed @see tag.
7167 * java/io/DataInput.java:
7169 * java/io/DataOutput.java:
7171 * java/io/DataOutputStream.java:
7172 Merged copyright years with classpath.
7173 * java/io/Externalizable.java:
7175 * java/io/FileFilter.java:
7177 * java/io/FileInputStream.java:
7178 Merged copyright years with classpath.
7179 * java/io/FileOutputStream.java:
7180 Merged copyright years with classpath.
7181 * java/io/FilePermission.java
7182 (FilePermission): Replaced @XXX with FIXME:.
7183 * java/io/FileWriter.java:
7185 * java/io/FilenameFilter.java:
7187 * java/io/FilterInputStream.java:
7189 * java/io/FilterOutputStream.java:
7191 * java/io/FilterReader.java:
7193 * java/io/FilterWriter.java:
7195 * java/io/LineNumberInputStream.java
7196 (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
7198 (getLineNumber): Fixed @return tag.
7199 * java/io/ObjectInput.java:
7201 * java/io/ObjectOutput.java:
7203 * java/io/ObjectStreamClass.java:
7205 * java/io/PrintStream.java:
7206 Merged copyright years with classpath.
7207 * java/io/PushbackReader.java
7208 (PushbackReader): Replaced @code with @param.
7209 * java/io/SerializablePermission.java:
7211 * java/io/StreamTokenizer.java
7212 (resetSyntax): Fixed @see tag.
7214 2003-03-22 Richard Henderson <rth@redhat.com>
7216 * sysdep/ia64/locks.h: Include ia64intrin.h.
7217 (compare_and_swap): Use __sync_bool_compare_and_swap.
7218 (compare_and_swap_release): Expose ar.ccv assignment.
7220 2003-03-22 Andreas Tobler <a.tobler@schweiz.ch>
7222 * include/posix.h: Add suffix for darwin dynamic libraries.
7224 2003-03-21 Michael Koch <konqueror@gmx.de>
7226 * javax/swing/Action.java
7227 (ACCELERATOR_KEY): New constant.
7228 (ACTION_COMMAND_KEY): Likewise.
7229 (MNEMONIC_KEY): Likewise.
7230 * javax/swing/UnsupportedLookAndFeelException.java
7231 (UnsupportedLookAndFeelException): Must be public.
7232 * javax/swing/WindowConstants.java
7233 (EXIT_ON_CLOSE): New constant.
7234 * javax/swing/text/BadLocationException.java
7235 (offset): New member variable.
7236 (BadLocationException): New implementation, documentation added.
7237 (offsetRequested): New method.
7238 * javax/swing/text/Caret.java:
7240 * javax/swing/text/Document.java:
7243 2003-03-21 Michael Koch <konqueror@gmx.de>
7245 * java/rmi/activation/Activatable.java
7246 (serialVersionUID): New member variable.
7247 * java/rmi/activation/ActivationGroup.java
7248 (serialVersionUID): New member variable.
7249 * java/rmi/activation/ActivationGroupDesc.java
7250 (serialVersionUID): New member variable.
7251 * java/rmi/registry/Registry.java:
7253 (Registry): Deprecated.
7254 * java/rmi/server/LoaderHandler.java
7256 (LoaderHandler): Deprecated.
7257 * java/rmi/server/LogStream.java
7259 (LogStream): Deprecated.
7260 * java/rmi/server/Operation.java
7261 (Operation): Deprecated.
7262 * java/rmi/server/RMIFailureHandler.java:
7264 * java/rmi/server/RMISocketFactory.java:
7266 * java/rmi/server/RemoteCall.java
7267 (RemoteCall): Deprecated.
7268 * java/rmi/server/RemoteStub.java:
7270 * java/rmi/server/Skeleton.java
7272 (Skeleton): Deprecated.
7274 2003-03-21 Michael Koch <konqueror@gmx.de>
7276 * java/io/LineNumberReader.java
7277 (LineNumberReader): Merged documentation with classpath.
7278 (getLineNumber): Likewise.
7279 (setLineNumber): Likewise.
7283 (readLine): Likewise.
7286 2003-03-21 Michael Koch <konqueror@gmx.de>
7288 * java/rmi/RMISecurityManager.java
7289 (checkAccept): Removed.
7290 (checkAccess): Likewise.
7291 (checkAccess): Likewise.
7292 (checkAwtEventQueueAccess): Likewise.
7293 (checkConnect): Likewise.
7294 (checkCreateClassLoader): Likewise.
7295 (checkDelete): Likewise.
7296 (checkExec): Likewise.
7297 (checkExit): Likewise.
7298 (checkLink): Likewise.
7299 (checkListen): Likewise.
7300 (checkMemberAccess): Likewise.
7301 (checkMulticast): Likewise.
7302 (checkPackageAccess): Likewise.
7303 (checkPackageDefinition): Likewise.
7304 (checkPermission): Likewise.
7305 (checkPrintJobAccess): Likewise.
7306 (checkPropertiesAccess): Likewise.
7307 (checkPropertyAccess): Likewise.
7308 (checkRead): Likewise.
7309 (checkSecurityAccess): Likewise.
7310 (checkSetFactory): Likewise.
7311 (checkSystemClipboardAccess): Likewise.
7312 (checkTopLevelWindow): Likewise.
7313 (checkWrite): Likewise.
7315 2003-03-20 Michael Koch <konqueror@gmx.de>
7317 * gnu/java/nio/FileChannelImpl.java
7319 (map_address): New member variable.
7320 (length): Make it package private.
7321 (fd): Make it package private.
7322 (buf): Make it package private.
7323 (file_obj): Make it package private.
7324 (FileChannelImpl): New constructor.
7325 (nio_mmap_file): Use RawData instead of long.
7326 (nio_munmap_file): Use RawData instead of long.
7327 (nio_msync): Use RawData instead of long.
7328 (implCloseChannel): New implementation using map_address.
7331 (create_direct_mapped_buffer): Implemented, use RawData, throws
7333 (force): Use map_address instead of address.
7334 * gnu/java/nio/MappedByteFileBuffer.java
7336 (map_address): New member variable.
7337 (MappedByteFileBuffer): Use map_address instead of address, reformated.
7338 (several methods): Use map_address instead of address, replaced long
7339 with RawData where appropriate.
7340 * gnu/java/nio/natFileChannelImpl.cc
7341 (nio_mmap_file): Replaced long with RawData.
7342 (nio_munmap_file): Replaced long with RawData.
7343 (nio_msync): Replaced long with RawData.
7344 * gnu/java/nio/natMappedByteFileBuffer.cc
7345 (several methods): Replaced long with RawData where appropriate.
7347 2003-03-20 Michael Koch <konqueror@gmx.de>
7349 * java/net/InetAddress.java,
7350 java/net/JarURLConnection.java,
7351 java/net/PlainDatagramSocketImpl.java,
7352 java/net/PlainSocketImpl.java,
7353 java/net/URLConnection.java:
7354 Merged copyright statements with classpath for easier merging.
7356 2003-03-20 Michael Koch <konqueror@gmx.de>
7358 * java/io/FileInputStream.java
7359 (getChannel): New implementation.
7360 * java/io/FileOutputStream.java
7361 (ch): New member variable.
7362 (getChannel): Implemented.
7363 * java/io/RandomAccessFile.java
7364 (RandomAccessFile): Throws FileNotFoundException instead of
7366 (getChannel): New method.
7367 (ch): New member variable.
7369 2003-03-20 Michael Koch <konqueror@gmx.de>
7371 * java/io/DataOutputStream.java,
7373 java/io/FileInputStream.java,
7374 java/io/FileOutputStream.java,
7375 java/io/InputStreamReader.java,
7376 java/io/LineNumberReader.java,
7377 java/io/OutputStreamWriter.java,
7378 java/io/PrintStream.java,
7379 java/io/RandomAccessFile.java:
7380 Merged copyright statements with classpath for easier merging.
7382 2003-03-19 Michael Koch <konqueror@gmx.de>
7384 * java/lang/Process.java:
7385 Merged from classpath.
7387 2003-03-19 Michael Koch <konqueror@gmx.de>
7389 * java/io/FileOutputStream.java
7390 (FileOutputStream): New constructor, merged from classpath.
7391 * java/io/FileWriter.java
7392 (FileWriter): New constructor, merged from classpath.
7394 2003-03-18 Michael Koch <konqueror@gmx.de>
7396 * java/awt/ScrollPane.java
7397 (ScrollPane): Rewrote for new ScrollPaneAdjustable.
7398 (getViewportSize): Likewise.
7399 (addNotify): Likewise.
7400 (removeNotify): Likewise.
7401 * java/awt/ScrollPaneAdjustable.java
7402 (ScrollPaneAdjustable): No longer extends Scrollbar.
7403 * java/beans/beancontext/BeanContextServices.java:
7405 (getService): Added throws TooManyListenersException;
7406 * java/beans/beancontext/BeanContextServicesSupport.java:
7409 2003-03-18 Michael Koch <konqueror@gmx.de>
7411 * java/io/BufferedOutputStream.java,
7412 java/io/DataInput.java,
7413 java/io/DataInputStream.java,
7414 java/io/DataOutput.java,
7415 java/io/Externalizable.java:
7416 More merges from classpath.
7418 2003-03-18 Michael Koch <konqueror@gmx.de>
7420 * configure.in: Fixed links to platform dependant java.net files.
7421 * configure: Regenerated.
7422 * java/net/natInetAddress.cc,
7423 java/net/natNetworkInterface.cc,
7424 java/net/natPlainDatagramSocketImpl.cc,
7425 java/net/natPlainSocketImpl.cc:
7428 2003-03-18 Michael Koch <konqueror@gmx.de>
7430 * configure.in: Create links to architecture dependent files,
7431 introduced PLATFORMNET variable (set to NoNet for newlib usage).
7432 * configure: Regenerated.
7433 * java/net/natInetAddressNoNet.cc,
7434 java/net/natInetAddressPosix.cc,
7435 java/net/natInetAddressWin32.cc,
7436 java/net/natNetworkInterfaceNoNet.cc,
7437 java/net/natNetworkInterfacePosix.cc,
7438 java/net/natNetworkInterfaceWin32.cc,
7439 java/net/natPlainDatagramSocketImplNoNet.cc,
7440 java/net/natPlainDatagramSocketImplPosix.cc,
7441 java/net/natPlainDatagramSocketImplWin32.cc,
7442 java/net/natPlainSocketImplNoNet.cc,
7443 java/net/natPlainSocketImplPosix.cc,
7444 java/net/natPlainSocketImplWin32.cc: New files.
7446 2003-03-18 Michael Koch <konqueror@gmx.de>
7448 * java/io/BufferedReader.java,
7449 java/io/BufferedWriter.java,
7450 java/io/ByteArrayOutputStream.java,
7451 java/io/FileFilter.java,
7452 java/io/FilePermission.java,
7453 java/io/FileReader.java,
7454 java/io/FileWriter.java,
7455 java/io/FilenameFilter.java,
7456 java/io/FilterInputStream.java,
7457 java/io/FilterOutputStream.java,
7458 java/io/FilterReader.java,
7459 java/io/FilterWriter.java,
7460 java/io/ObjectInput.java,
7461 java/io/ObjectInputValidation.java,
7462 java/io/ObjectOutput.java,
7463 java/io/ObjectStreamField.java,
7464 java/io/PipedInputStream.java,
7465 java/io/PipedReader.java,
7466 java/io/PrintWriter.java,
7467 java/io/PushbackReader.java,
7468 java/io/Reader.java,
7469 java/io/SerializablePermission.java,
7470 java/io/StringReader.java,
7471 java/io/Writer.java:
7472 Merged from classpath.
7474 2003-03-17 Michael Koch <konqueror@gmx.de>
7476 * java/awt/ScrollPaneAdjustable.java:
7479 2003-03-17 Michael Koch <konqueror@gmx.de>
7481 * java/net/DatagramSocket.java
7482 (connect): Fixed comment.
7483 * java/nio/ByteBuffer.java
7484 (hasArray): Fixed comment.
7486 2003-03-17 Michael Koch <konqueror@gmx.de>
7488 * java/beans/Beans.java:
7489 Explicitely import classes not packages.
7490 * java/beans/FeatureDescriptor.java
7491 (preferred): New member variable.
7492 (isPreferred): New method.
7493 (setPreferred): New method.
7494 * java/beans/PropertyEditorManager.java:
7495 Explicitely import used classes.
7496 * java/beans/beancontext/BeanContextChild.java:
7497 Added line wrapping.
7498 * java/beans/beancontext/BeanContextChildSupport.java:
7500 * java/beans/beancontext/BeanContextEvent.java:
7503 2003-03-17 Michael Koch <konqueror@gmx.de>
7505 * java/awt/Dialog.java
7506 (Dialog): New constructor, changed implementations, added
7508 * java/awt/ScrollPaneAdjustable.java
7509 (ScrollPaneAdjustable): Extends Object, implements Adjustable and
7511 (serialVersionUID): New member variable.
7512 (sp): New member variable.
7513 (orientation): New member variable.
7514 (value): New member variable.
7515 (minimum): New member variable.
7516 (maximum): New member variable.
7517 (visibleAmount): New member variable.
7518 (unitIncrement): New member variable.
7519 (blockIncrement): New member variable.
7520 (AdjustmentListener): New member variable.
7521 (ScrollPaneAdjustable): New implementation.
7522 (addAdjustmentListener): New method.
7523 (removeAdjustmentListener): New method.
7524 (getAdjustmentListeners): New method.
7525 (getBlockIncrement): New method.
7526 (getMaximum): New method.
7527 (getMinimum): New method.
7528 (getOrientation): New method.
7529 (getUnitIncrement): New method.
7530 (getValue): New method.
7531 (getVisibleAmount): New method.
7532 (setBlockIncrement): New method.
7533 (setMaximum): Implemented.
7534 (setMinimum): Implemented.
7535 (setUnitIncrement): New method.
7536 (setValue): New method.
7537 (setVisibleAmount): Implemented.
7538 (paramString): New stubbed method.
7539 * java/awt/Window.java
7540 (show): Call setVisible().
7541 (hide): Call setVisible().
7542 (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
7543 and WINDOW_STATE_CHANGED.
7544 (processWindowFocusEvent): New method.
7545 (processWindowStateEvent): New method.
7546 (postEvent): Deprecated.
7547 (applyResourceBundle): Deprecated.
7548 * java/awt/datatransfer/DataFlavor.java
7549 (DataFlavor): Doesn't thow ClassNotFoundException.
7551 2003-03-17 Michael Koch
7553 * javax/print/attribute/Attribute.java,
7554 javax/print/attribute/AttributeSet.java,
7555 javax/print/attribute/PrintRequestAttributeSet.java:
7558 (javax_source_files): Added new files:
7559 javax/print/attribute/Attribute.java
7560 javax/print/attribute/AttributeSet.java
7561 javax/print/attribute/PrintRequestAttributeSet.java
7562 * Makefile.in: Regenerated.
7564 2003-03-17 Michael Koch
7566 * javax/print/attribute/Attribute.java,
7567 javax/print/attribute/AttributeSet.java,
7568 javax/print/attribute/PrintRequestAttributeSet.java:
7571 (awt_java_source_files): Added new files:
7572 javax/print/attribute/Attribute.java
7573 javax/print/attribute/AttributeSet.java
7574 javax/print/attribute/PrintRequestAttributeSet.java
7575 * Makefile.in: Regenerated.
7577 2003-03-16 Tom Tromey <tromey@redhat.com>
7579 * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
7581 * java/lang/natRuntime.cc (insertSystemProperties): Use
7582 _Jv_platform_path_separator.
7583 (nativeGetLibname): Use _Jv_platform_file_separator.
7584 (_load): Use _Jv_platform_onload_names.
7585 (onload_names): New global.
7586 * include/win32.h (_Jv_platform_file_separator): New define.
7587 (_Jv_platform_path_separator): Likewise.
7588 (_Jv_platform_onload_names): Likewise.
7589 (_Jv_platform_ffi_abi): Likewise.
7590 * include/posix.h (_Jv_platform_file_separator): New define.
7591 (_Jv_platform_path_separator): Likewise.
7592 (_Jv_platform_onload_names): Likewise.
7593 (_Jv_platform_ffi_abi): Likewise.
7595 2003-03-14 Hans Boehm <Hans.Boehm@hp.com>
7597 * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
7599 2003-02-14 Jeroen Frijters <jeroen@sumatra.nl>
7601 * java/io/ObjectInputStream.java (readObject): Cleaned up the class
7603 (readFields(Object,ObjectStreamField[],boolean)): Changed argument
7604 list to Object,ObjectStreamClass, moved callReadMethod code up into
7605 readObject and added Class argument to all setXxxField calls.
7606 (callReadMethod): Changed Class argument to ObjectStreamClass to be
7607 consistent with ObjectOutputStream and to facilitate caching the
7608 Method in the future.
7609 (setBooleanField): Added Class argument.
7610 (setByteField): Likewise.
7611 (setCharField): Likewise.
7612 (setDoubleField): Likewise.
7613 (setFloatField): Likewise.
7614 (setIntField): Likewise.
7615 (setLongField): Likewise.
7616 (setShortField): Likewise.
7617 (setObjectField): Likewise.
7618 * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
7619 class hierarchy loop.
7620 (defaultWriteObject): Call writeFields with new argument list.
7621 (writeFields(Object,ObjectStreamField[],boolean): Changed argument
7622 list to Object,ObjectStreamClass, moved callWriteMethod up into
7623 writeObject and added Class argument to all getXxxField calls.
7624 (callWriteMethod): Added ObjectStreamClass argument to be able to
7625 get the proper class to call getMethod on (each class can have (or
7626 not have) its own writeObject method).
7627 (getBooleanField): Added Class argument.
7628 (getByteField): Likewise.
7629 (getCharField): Likewise.
7630 (getDoubleField): Likewise.
7631 (getFloatField): Likewise.
7632 (getIntField): Likewise.
7633 (getLongField): Likewise.
7634 (getShortField): Likewise.
7635 (getObjectField): Likewise.
7636 * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
7637 facilitate caching the Method object in the future.
7639 2003-03-12 Andreas Schwab <schwab@suse.de>
7641 * configure.in: Avoid trailing /. in toolexeclibdir.
7642 * configure: Rebuilt.
7644 2003-03-11 Michael Koch <konqueror@gmx.de>
7646 * gnu/java/nio/ByteBufferImpl.java
7647 (putInt): Use limit() instead of limit.
7648 * gnu/java/nio/CharBufferImpl.java
7649 (slice): Fixed implementation.
7650 (subSequence): Better bounds checking.
7651 * gnu/java/nio/MappedByteFileBuffer.java:
7652 Import all needed classes directly.
7653 * java/nio/ByteBuffer.java
7654 (hashCode): New dummy method.
7655 * java/nio/CharBuffer.java
7656 (array_offset): New member variable.
7657 (hasArray): Fixed documentation.
7658 (arrayOffset): Return array_offset.
7660 2003-03-10 2003-02-27 Mohan Embar <gnustuff@thisiscool.com>
7662 * include/jvm.h: removed declaration of _Jv_ThisExecutable()
7663 setter; made return value of getter const char* instead of char*
7664 * prims.cc: removed all references to _Jv_ThisExecutable().
7665 These are in the platform-specific sections now.
7666 * posix.cc: define platform-specific _Jv_ThisExecutable().
7667 Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
7668 * win32.cc: define platform-specific _Jv_ThisExecutable()
7669 using GetModuleFilename()
7670 * java/lang/natRuntime.cc: set gnu.gcj.progname property
7671 to argv[0] instead of _Jv_ThisExecutable()
7673 2003-03-10 Ranjit Mathew <rmathew@hotmail.com>
7675 * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
7676 that is set if we are using addr2name.awk instead of addr2line.
7677 (NameFinder): Set usingAddr2name if using addr2name.awk.
7678 (getExternalLabel): New native method to convert a method
7679 name to an external label.
7680 (lookup): Convert name given by addr2line to an external label
7683 * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
7684 constant representing the prefix attached to method names to
7685 convert them to an external label.
7686 (gnu::gcj::runtime::NameFinder::getExternalLabel): Define
7689 2003-03-10 Tom Tromey <tromey@redhat.com>
7691 * Makefile.in: Rebuilt.
7692 * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
7693 (JC1FLAGS): Removed -Wno-deprecated.
7695 2003-03-10 Michael Koch <konqueror@gmx.de>
7697 * java/nio/ByteOrder.java
7698 (nativeOrder): Working implementation, added documentation.
7699 (toString): Added documentation.
7701 2003-03-10 Michael Koch <konqueror@gmx.de>
7703 * java/net/DatagramSocket.java,
7704 java/net/MulticastSocket.java,
7705 java/net/Socket.java,
7707 java/net/URLConnection.java:
7708 Fixed some documentation tags to make javadoc and friends happy.
7710 2003-03-10 Michael Koch <koqnueror@gmx.de>
7712 * java/beans/beancontext/BeanContextServicesSupport.java,
7713 java/beans/beancontext/BeanContextSupport.java: New files.
7715 (awt_source_files): Added new files.
7716 * Makefile.in: Regenerated.
7718 2003-03-10 Michael Koch <konqueror@gmx.de>
7720 * java/awt/FocusTraversalPolicy.java
7721 (FocusTraversalPolicy): Documentation added.
7722 (getComponentAfter): Documentation added.
7723 (getComponentBefore): Documentation added.
7724 (getFirstComponent): Documentation added.
7725 (getLastComponent): Documentation added.
7726 (getDefaultComponent): Documentation added.
7727 (getInitialComponent): Documentation added.
7728 * java/awt/ScrollPaneAdjustable.java
7729 (sp): New member variable.
7730 (orientation): New member variable.
7731 (value): New member variable.
7732 (minimum): New member variable.
7733 (maximum): New member variable.
7734 (visibleAmount): New member variable.
7735 (unitIncrement): New member variable.
7736 (blockIncrement): New member variable.
7737 (adjustmentListener): New member variable.
7738 (ScrollPaneAdjustable): Rewrote.
7739 (addAdjustmentListener): New method.
7740 (removeAdjustmentListener): New method.
7741 (getAdjustmentListeners): New method.
7742 (getBlockIncrement): New method.
7743 (getMaximum): New method.
7744 (getMinimum): New method.
7745 (getOrientation): New method.
7746 (getUnitIncrement): New method.
7747 (getValue): New method.
7748 (getVisibleAmount): New method.
7749 (setBlockIncrement): New method.
7750 (setUnitIncrement): New method.
7751 (setMaximum): Implemented.
7752 (setMinimum): Implemented.
7753 (setValue): New method.
7754 (setVisibleAmount): Implemented.
7755 (paramString): New method.
7756 * java/awt/Window.java
7757 (show): Use setVisible(true) instead of super.show().
7758 (hide): Use sevVisible(false) instead of super.hide().
7759 (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
7760 WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
7761 (postEvent): Deprecated.
7762 (applyResourceBundle): Deprecated.
7763 (processWindowFocusEvent): New method.
7764 (processWindowStateEvent): New method.
7765 * java/awt/datatransfer/DataFlavor.java: Reindented.
7766 * java/awt/font/TextHitInfo.java
7767 (charIndex): New member variable.
7768 (leadingEdge): New member variable.
7769 (TextHitInfo): New constructor.
7770 (getCharIndex): Implemented.
7771 (isLeadingEdge): Implemented.
7772 (getInsertionIndex): Implemented.
7773 (hashCode): Access charIndex directly.
7774 (equals): Reformated.
7775 (leading): Implemented.
7776 (trailing): Implemented.
7777 (beforeOffset): Implemented.
7778 (afterOffset): Implemented.
7779 (getOtherHit): Implemented.
7780 (getOffsetHit): Implemented.
7781 (toString): Implemented.
7782 * java/awt/image/BufferedImage.java
7783 (BufferedImage): Implements WritableRenderedImage.
7784 (observers): New member variable.
7785 (addTileObserver): New method.
7786 (removeTileObserver): New method.
7788 2003-03-09 Tom Tromey <tromey@redhat.com>
7791 * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
7792 to lseek. Return 0 if we can't compute the value.
7794 2003-03-03 Michael Koch <konqueror@gmx.de>
7796 * java/net/NetworkInterface.java: Merged with classpath.
7798 2003-03-03 Tom Tromey <tromey@redhat.com>
7800 * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
7802 (handle_ret_insn): Fail if returning to jsr that appears at end of
7805 2003-03-03 Michael Koch <konqueror@gmx.de>
7808 (ordinary_java_source_files):
7809 Added gnu/java/nio/MappedByteFileBuffer.java.
7811 Added gnu/java/nio/natMappedByteFileBuffer.cc.
7812 * Makefile.in: Regenerated.
7814 2003-03-03 Michael Koch <konqueror@gmx.de>
7816 * java/net/DatagramSocket.java
7817 (connect): Merged comment from classpath.
7818 (receive): Merged documentation from classpath.
7819 * java/net/Socket.java
7820 (setSoTimeout): Clarified documentation.
7822 (getPath): Merged from classpath.
7823 (getUserInfo): Merged from classpath.
7824 (getQuery): Merged from classpath.
7825 * java/net/URLStreamHandler.java
7826 (toExternalForm): Merged from classpath.
7828 2003-03-02 Mark Wielaard <mark@klomp.org>
7830 * java/util/Properties.java (load): Only skip line if the first
7831 character is a comment, whitespaces don't count.
7833 2003-03-02 Michael Koch <konqueror@gmx.de>
7835 * java/net/NetPermission.java:
7836 Merged copyright with classpath.
7838 2003-03-02 Michael Koch <konqueror@gmx.de>
7840 * java/lang/Package.java:
7841 Remerged from classpath.
7843 2003-03-02 Michael Koch <konqueror@gmx.de>
7845 * java/net/HttpURLConnection.java
7846 (HTTP_SERVER_ERROR): Deprecated.
7847 * java/net/MulticastSocket.java
7848 (send): Replaced checkMulticast with appropriate checkPermission call,
7850 * java/net/URLDecoder.java
7851 (decode): Deprecated.
7852 * java/net/URLEncoder.java
7853 (encode): Deprecated.
7855 2003-03-02 Michael Koch <konqueror@gmx.de>
7857 * javax/swing/text/Caret.java
7858 (getMagicCaretPosition): Fixed typo in method name.
7859 * javax/swing/text/DefaultCaret.java
7860 (getMagicCaretPosition): Fixed typo in method name.
7862 2003-03-02 Michael Koch <konqueror@gmx.de>
7864 * java/awt/List.java
7865 (setMultipleSelections): Deprecated.
7866 (delItem): Deprecated.
7867 * java/awt/MenuComponent.java
7868 (getPeer): Deprecated.
7869 * java/awt/ScrollPane.java
7870 (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
7871 * java/awt/dnd/MouseDragGestureRecognizer.java
7872 (mouseClicked): Added comment.
7873 (mousePressed): Added comment.
7874 (mouseReleased): Added comment.
7875 (mouseEntered): Added comment.
7876 (mouseExited): Added comment.
7877 (mouseDragged): Added comment.
7878 (mouseMoved): Added comment.
7879 * java/awt/event/KeyEvent.java
7880 (KeyEvent): Deprecated.
7881 (setModifiers): Deprecated.
7883 2003-03-02 Michael Koch <konqueror@gmx.de>
7885 * gnu/java/nio/FileChannelImpl.java
7886 (fd): Type FileDescriptor instead of int.
7887 (lengthInternal): Removed.
7888 (FileChannelImpl): Fixed arguments, check type of file object.
7889 (size): Made it native.
7890 (implPosition): New native method.
7891 (implTruncate): New native method.
7892 (position): Implemented.
7893 (truncate): Implemented.
7894 (nio_mmap_file): Changed arguments.
7895 (nio_munmap_file): Changed arguments.
7896 (nio_msync): Changed arguments.
7897 * gnu/java/nio/natFileChannelImpl.cc
7898 (lengthInternal): Removed.
7900 (implPosition): New method.
7901 (implTruncate): New method.
7902 (nio_mmap_file): Changed arguments.
7903 (nio_munmap_file): Changed arguments.
7904 (nio_msync): Changed arguments.
7906 2003-03-02 Michael Koch <konqueror@gmx.de>
7908 * java/awt/dnd/DropTargetContext.java:
7909 Compile fix: Forgot to commit import.
7911 2003-03-02 Michael Koch <konqueror@gmx.de>
7913 * java/awt/Component.java,
7914 java/awt/ScrollPane.java:
7917 2003-03-02 Michael Koch <konqueror@gmx.de>
7919 * java/awt/dnd/DnDEventMulticaster.java: New file.
7920 * java/awt/dnd/DragSource.java
7921 (flavorMap): New member variable.
7922 (dragSourceListener): New member variable.
7923 (dragSourceMotionListener): New member variable.
7924 (getFlavorMap): Implemented.
7925 (createDragGestureRecognizer): Implemented.
7926 (addDragSourceListener): Implemented.
7927 (removeDragSourceListener): Implemented.
7928 (getDragSourceListeners): Implemented.
7929 (addDragSourceMotionListener): Implemented.
7930 (removeDragSourceMotionListener): Implemented.
7931 (getDragSourceMotionListeners): Implemented.
7932 (getListeners): Implemented.
7933 * java/awt/dnd/DragSourceContext.java
7934 (peer): New member variable.
7935 (cursor): New member variable.
7936 (transferable): New member variable.
7937 (trigger): New member variable.
7938 (dragSourceListener): New member variable.
7939 (image): New member variable.
7940 (offset): New member variable.
7941 (DragSourceContext): Implemented.
7942 (getDragSource): Implemented.
7943 (getComponent): Implemented.
7944 (getTrigger): Implemented.
7945 (getSourceActions): Implemented.
7946 (setCursor): Implemented.
7947 (getCursor): Implemented.
7948 (addDragSourceListener): Implemented.
7949 (removeDragSourceListener): Implemented.
7950 (getTransferable): Implemented.
7951 * java/awt/dnd/DropTarget.java
7952 (DropTargetAutoScroller.component): New member variable.
7953 (DropTargetAutoScroller.point): New member variable.
7954 (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
7955 (DropTargetAutoScroller.updateLocation): Implemented.
7956 (active): Renamed from isActive, defaults to true now.
7957 (component): New member variable.
7958 (flavorMap): New member variable.
7959 (actions): New member variable.
7960 (dropTargetContext): New member variable.
7961 (dropTargetListener): New member variable.
7962 (DropTarget): Implemented.
7963 (getComponent): Implemented.
7964 (setComponent): Implemented.
7965 (setDefaultActions): Implemented.
7966 (getDefaultActions): Implemented.
7967 (setActive): Use active instead of isActive.
7968 (isActive): Use active instead of isActive.
7969 (addDropTargetListener): Implemented.
7970 (removeDropTargetListener): Implemented.
7971 (getFlavorMap): Implemented.
7972 (setFlavorMap): Implemented.
7973 (getDropTargetContext): Implemented.
7974 (createDropTargetContext): Implemented.
7975 (createDropTargetAutoScroller): Implemented.
7976 * java/awt/dnd/DropTargetContext.java
7977 (TransferableProxy.getTransferDataFlavors): Implemented.
7978 (TransferableProxy.isDataFlavorSupported): Implemented.
7979 (TransferableProxy.getTransferData): Implemented.
7980 (dropTarget): New member variable.
7981 (dtcp): New member variable.
7982 (DropTargetContext): New package private constructor.
7983 (getDropTarget): Implemented.
7984 (getComponent): Implemented.
7985 (addNotify): Implemented.
7986 (removeNotify): Implemented.
7987 (getCurrentDataFlavorsAsList): Implemented.
7988 (isDataFlavorSupported): Implemented.
7989 * java/awt/dnd/MouseDragGestureRecognizer.java
7990 (registerListeners): Implemented.
7991 (unregisterListeners): Implemented.
7993 (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
7994 * Makefile.in: Regenerated.
7996 2003-03-02 Michael Koch <konqueror@gmx.de>
7998 * java/awt/Component.java
7999 (eventTypeEnabled): New method.
8000 (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
8001 * java/awt/Container.java
8002 (changeSupport): New member variable.
8003 (addPropertyChangeListener): New methods.
8004 * java/awt/ContainerOrderFocusTraversalPolicy.java
8005 (ContainerOrderFocusTraversalPolicy): Added comment.
8006 (getComponentAfter): Throw exception, documentation added.
8007 (getComponentBefore): Throw exception, documentation added.
8008 (getFirstComponent): Throw exception, documentation added.
8009 (getLastComponent): Throw exception, documentation added.
8010 (getDefaultComponent): Throw exception, documentation added.
8011 * java/awt/EventQueue.java: Reindented.
8012 * java/awt/FocusTraversalPolicy.java:
8013 (FocusTraversalPolicy): Added comment.
8014 (getComponentAfter): Documentation added.
8015 (getComponentBefore): Documentation added.
8016 (getFirstComponent): Documentation added.
8017 (getLastComponent): Documentation added.
8018 (getDefaultComponent): Documentation added.
8019 (getInitialComponent): Documentation added.
8020 * java/awt/ScrollPane.java
8021 (wheelScrollingEnabled): New member variable.
8022 (ScrollPane): Initialize wheelScollingEnabled.
8023 (eventTypeEnabled): New method.
8024 (isWheelScrollingEnabled): New method.
8025 (setWheelScrollingEnabled): New method.
8027 2003-03-02 Michael Koch <konqueror@gmx.de>
8029 * java/net/DatagramSocket.java
8030 (closed): New member variable.
8031 (close): Use closed variable.
8032 (getInetAddress): No need to call isConnected().
8033 (getPort): No need to call isConnected().
8034 (disconnect): Reset remoteAddress and remotePort, fixed typo.
8035 (isClosed): Reimplemented.
8037 2003-03-02 Michael Koch <konqueror@gmx.de>
8039 * configure.in: Added check for memory mapping of files.
8040 * configure: Regenerated.
8041 * config.h.in: Regenerated.
8043 2003-03-01 Jason Thorpe <thorpej@wasabisystems.com>
8045 * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
8046 (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
8048 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
8050 * java/io/File.java (normalizePath): Remove trailing separator
8051 on Windows only if path is not of the form "x:\".
8053 * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
8054 (java::io::File::attr): Change formatting a bit and use
8055 WIN32_EPOCH_MILLIS instead of magic numbers.
8056 (java::io::File::isAbsolute): Path must have at least 3
8057 characters for a UNC network path.
8058 (java::io::File::init_native): Define.
8059 (java::io::File::performCreate): Likewise.
8060 (java::io::File::performSetReadOnly): Likewise.
8061 (java::io::File::performSetLastModified): Likewise.
8062 (java::io::File::performListRoots): Likewise.
8064 2003-03-01 Tom Tromey <tromey@redhat.com>
8066 * java/lang/natObject.cc: Don't include assert.h.
8067 (heavy_lock_obj_finalization_proc): Use JvAssert.
8068 (remove_all_heavy): Likewise.
8069 (_Jv_MonitorEnter): Likewise.
8070 (_Jv_MonitorExit): Likewise.
8073 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
8075 * java/io/File (getAbsolutePath): Prefix drive specifier on
8076 Windows for paths starting with a '\'.
8077 (toURL): Make URL more consistent with what Sun's JDK returns.
8079 * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
8080 true only if the path is a UNC network path or it starts with a
8083 * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
8084 Be prepared to handle either '/' or '\\' in the file path for
8085 Windows if using the "file" protocol.
8086 Canonicalise the file path if using a relative path in the given
8087 context and the "file" protocol.
8089 2003-03-01 Mohan Embar <gnustuff@thisiscool.com>
8091 * java/lang/natWin32Process.cc (startProcess): Double-quote each
8092 program array element passed to CreateProcess.
8094 2003-03-01 Tom Tromey <tromey@redhat.com>
8096 * java/rmi/registry/RegistryHandler.java: Deprecate.
8098 2003-03-01 Tom Tromey <tromey@redhat.com>
8100 * javax/accessibility/AccessibleEditableText.java,
8101 javax/accessibility/AccessibleHyperlink.java: New versions from
8104 * gnu/java/locale/LocaleInformation_af_ZA.java,
8105 gnu/java/locale/LocaleInformation_ar_AE.java,
8106 gnu/java/locale/LocaleInformation_ar_BH.java,
8107 gnu/java/locale/LocaleInformation_ar_DZ.java,
8108 gnu/java/locale/LocaleInformation_ar_EG.java,
8109 gnu/java/locale/LocaleInformation_ar_IN.java,
8110 gnu/java/locale/LocaleInformation_ar_IQ.java,
8111 gnu/java/locale/LocaleInformation_ar_JO.java,
8112 gnu/java/locale/LocaleInformation_ar_KW.java,
8113 gnu/java/locale/LocaleInformation_ar_LB.java,
8114 gnu/java/locale/LocaleInformation_ar_LY.java,
8115 gnu/java/locale/LocaleInformation_ar_MA.java,
8116 gnu/java/locale/LocaleInformation_ar_OM.java,
8117 gnu/java/locale/LocaleInformation_ar_QA.java,
8118 gnu/java/locale/LocaleInformation_ar_SD.java,
8119 gnu/java/locale/LocaleInformation_ar_SY.java,
8120 gnu/java/locale/LocaleInformation_ar_TN.java,
8121 gnu/java/locale/LocaleInformation_ar_YE.java,
8122 gnu/java/locale/LocaleInformation_be_BY.java,
8123 gnu/java/locale/LocaleInformation_bn_IN.java,
8124 gnu/java/locale/LocaleInformation_br_FR.java,
8125 gnu/java/locale/LocaleInformation_bs_BA.java,
8126 gnu/java/locale/LocaleInformation_ca_ES.java,
8127 gnu/java/locale/LocaleInformation_cs_CZ.java,
8128 gnu/java/locale/LocaleInformation_cy_GB.java,
8129 gnu/java/locale/LocaleInformation_da_DK.java,
8130 gnu/java/locale/LocaleInformation_de_AT.java,
8131 gnu/java/locale/LocaleInformation_de_BE.java,
8132 gnu/java/locale/LocaleInformation_de_CH.java,
8133 gnu/java/locale/LocaleInformation_de_DE.java,
8134 gnu/java/locale/LocaleInformation_de_LU.java,
8135 gnu/java/locale/LocaleInformation_el_GR.java,
8136 gnu/java/locale/LocaleInformation_en_AU.java,
8137 gnu/java/locale/LocaleInformation_en_BW.java,
8138 gnu/java/locale/LocaleInformation_en_CA.java,
8139 gnu/java/locale/LocaleInformation_en_DK.java,
8140 gnu/java/locale/LocaleInformation_en_GB.java,
8141 gnu/java/locale/LocaleInformation_en_HK.java,
8142 gnu/java/locale/LocaleInformation_en_IE.java,
8143 gnu/java/locale/LocaleInformation_en_IN.java,
8144 gnu/java/locale/LocaleInformation_en_NZ.java,
8145 gnu/java/locale/LocaleInformation_en_PH.java,
8146 gnu/java/locale/LocaleInformation_en_SG.java,
8147 gnu/java/locale/LocaleInformation_en_US.java,
8148 gnu/java/locale/LocaleInformation_en_ZA.java,
8149 gnu/java/locale/LocaleInformation_en_ZW.java,
8150 gnu/java/locale/LocaleInformation_es_AR.java,
8151 gnu/java/locale/LocaleInformation_es_BO.java,
8152 gnu/java/locale/LocaleInformation_es_CL.java,
8153 gnu/java/locale/LocaleInformation_es_CO.java,
8154 gnu/java/locale/LocaleInformation_es_CR.java,
8155 gnu/java/locale/LocaleInformation_es_DO.java,
8156 gnu/java/locale/LocaleInformation_es_EC.java,
8157 gnu/java/locale/LocaleInformation_es_ES.java,
8158 gnu/java/locale/LocaleInformation_es_GT.java,
8159 gnu/java/locale/LocaleInformation_es_HN.java,
8160 gnu/java/locale/LocaleInformation_es_MX.java,
8161 gnu/java/locale/LocaleInformation_es_NI.java,
8162 gnu/java/locale/LocaleInformation_es_PA.java,
8163 gnu/java/locale/LocaleInformation_es_PE.java,
8164 gnu/java/locale/LocaleInformation_es_PR.java,
8165 gnu/java/locale/LocaleInformation_es_PY.java,
8166 gnu/java/locale/LocaleInformation_es_SV.java,
8167 gnu/java/locale/LocaleInformation_es_US.java,
8168 gnu/java/locale/LocaleInformation_es_UY.java,
8169 gnu/java/locale/LocaleInformation_es_VE.java,
8170 gnu/java/locale/LocaleInformation_et_EE.java,
8171 gnu/java/locale/LocaleInformation_eu_ES.java,
8172 gnu/java/locale/LocaleInformation_fa_IR.java,
8173 gnu/java/locale/LocaleInformation_fi_FI.java,
8174 gnu/java/locale/LocaleInformation_fo_FO.java,
8175 gnu/java/locale/LocaleInformation_fr_BE.java,
8176 gnu/java/locale/LocaleInformation_fr_CA.java,
8177 gnu/java/locale/LocaleInformation_fr_CH.java,
8178 gnu/java/locale/LocaleInformation_fr_FR.java,
8179 gnu/java/locale/LocaleInformation_fr_LU.java,
8180 gnu/java/locale/LocaleInformation_ga_IE.java,
8181 gnu/java/locale/LocaleInformation_gd_GB.java,
8182 gnu/java/locale/LocaleInformation_gl_ES.java,
8183 gnu/java/locale/LocaleInformation_gv_GB.java,
8184 gnu/java/locale/LocaleInformation_he_IL.java,
8185 gnu/java/locale/LocaleInformation_hi_IN.java,
8186 gnu/java/locale/LocaleInformation_hr_HR.java,
8187 gnu/java/locale/LocaleInformation_hu_HU.java,
8188 gnu/java/locale/LocaleInformation_id_ID.java,
8189 gnu/java/locale/LocaleInformation_it_CH.java,
8190 gnu/java/locale/LocaleInformation_it_IT.java,
8191 gnu/java/locale/LocaleInformation_iw_IL.java,
8192 gnu/java/locale/LocaleInformation_ja_JP.java,
8193 gnu/java/locale/LocaleInformation_ka_GE.java,
8194 gnu/java/locale/LocaleInformation_kl_GL.java,
8195 gnu/java/locale/LocaleInformation_ko_KR.java,
8196 gnu/java/locale/LocaleInformation_kw_GB.java,
8197 gnu/java/locale/LocaleInformation_lt_LT.java,
8198 gnu/java/locale/LocaleInformation_lv_LV.java,
8199 gnu/java/locale/LocaleInformation_mi_NZ.java,
8200 gnu/java/locale/LocaleInformation_mk_MK.java,
8201 gnu/java/locale/LocaleInformation_mr_IN.java,
8202 gnu/java/locale/LocaleInformation_mt_MT.java,
8203 gnu/java/locale/LocaleInformation_nl_BE.java,
8204 gnu/java/locale/LocaleInformation_nl_NL.java,
8205 gnu/java/locale/LocaleInformation_nn_NO.java,
8206 gnu/java/locale/LocaleInformation_no_NO.java,
8207 gnu/java/locale/LocaleInformation_oc_FR.java,
8208 gnu/java/locale/LocaleInformation_pl_PL.java,
8209 gnu/java/locale/LocaleInformation_pt_BR.java,
8210 gnu/java/locale/LocaleInformation_pt_PT.java,
8211 gnu/java/locale/LocaleInformation_ro_RO.java,
8212 gnu/java/locale/LocaleInformation_ru_RU.java,
8213 gnu/java/locale/LocaleInformation_ru_UA.java,
8214 gnu/java/locale/LocaleInformation_se_NO.java,
8215 gnu/java/locale/LocaleInformation_sk_SK.java,
8216 gnu/java/locale/LocaleInformation_sl_SI.java,
8217 gnu/java/locale/LocaleInformation_sq_AL.java,
8218 gnu/java/locale/LocaleInformation_sr_YU.java,
8219 gnu/java/locale/LocaleInformation_sv_FI.java,
8220 gnu/java/locale/LocaleInformation_sv_SE.java,
8221 gnu/java/locale/LocaleInformation_ta_IN.java,
8222 gnu/java/locale/LocaleInformation_te_IN.java,
8223 gnu/java/locale/LocaleInformation_tg_TJ.java,
8224 gnu/java/locale/LocaleInformation_tl_PH.java,
8225 gnu/java/locale/LocaleInformation_tr_TR.java,
8226 gnu/java/locale/LocaleInformation_uk_UA.java,
8227 gnu/java/locale/LocaleInformation_ur_PK.java,
8228 gnu/java/locale/LocaleInformation_uz_UZ.java,
8229 gnu/java/locale/LocaleInformation_vi_VN.java,
8230 gnu/java/locale/LocaleInformation_yi_US.java,
8231 gnu/java/locale/LocaleInformation_zh_CN.java,
8232 gnu/java/locale/LocaleInformation_zh_HK.java,
8233 gnu/java/locale/LocaleInformation_zh_SG.java,
8234 gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
8235 info; from Classpath.
8237 * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
8238 isPaintPending): New methods.
8239 * gnu/awt/xlib/XFramePeer.java (getState, setState,
8240 setMaximizedBounds): New methods.
8241 (beginLayout, endLayout, isPaintPending): Likewise.
8242 * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
8243 (requestFocus): Likewise.
8244 (isObscured): Likewise.
8245 (canDetermineObscurity): Likewise.
8246 (coalescePaintEvent): Likewise.
8247 (updateCursorImmediately): Likewise.
8248 (createVolatileImage): Likewise.
8249 (handlesWheelScrolling): Likewise.
8250 (createBuffers): Likewise.
8251 (getBackBuffer): Likewise.
8253 (destroyBuffers): Likewise.
8255 * Makefile.in: Rebuilt.
8256 * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
8258 * gnu/java/awt/GLightweightPeer.java,
8259 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
8260 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8261 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
8262 gnu/java/awt/peer/gtk/GtkFramePeer.java,
8263 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
8264 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
8265 java/awt/dnd/peer/DragSourceContextPeer.java,
8266 java/awt/dnd/peer/DropTargetContextPeer.java,
8267 java/awt/peer/ButtonPeer.java,
8268 java/awt/peer/CheckboxMenuItemPeer.java,
8269 java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
8270 java/awt/peer/ComponentPeer.java,
8271 java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
8272 java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
8273 java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
8274 java/awt/peer/MenuBarPeer.java,
8275 java/awt/peer/MenuComponentPeer.java,
8276 java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
8277 java/awt/peer/PopupMenuPeer.java,
8278 java/awt/peer/ScrollPanePeer.java,
8279 java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
8280 java/awt/peer/TextComponentPeer.java,
8281 java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
8282 New versions from Classpath.
8283 * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
8284 * java/awt/peer/RobotPeer.java: Likewise.
8286 2003-03-01 Mark Wielaard <mark@klomp.org>
8288 * java/io/ObjectInputStream.java: Reindent.
8289 * java/io/ObjectOutputStream.java: Likewise.
8291 2003-02-28 Hans Boehm <Hans.Boehm@hp.com>
8293 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
8294 jvalue for each argument. Simplify.
8295 * testsuite/libjava.jni/calls.c (docall),
8296 testsuite/libjava.jni/calls.java (longpb_f): check for argument
8299 2003-02-28 Mark Wielaard <mark@klomp.org>
8301 * Makefile.am (nat_source_files): Remove
8302 java/io/natObjectOutputStream.cc.
8303 * Makefile.in: Regenerated.
8304 * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
8305 * java/io/ObjectStreamField.java (typename): New field.
8306 (ObjectStreamField(String, Class)): Initialize new field.
8307 (ObjectStreamField(String, String)): New Constructor.
8308 (getTypeCode): Use new field.
8309 (getTypeString): Use new field.
8310 * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
8311 ObjectStreamExceptions. Remember and reset old BlockDataMode.
8312 Handle reading of Proxy classes. Never drain(), just write
8313 TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
8314 (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
8315 (flush): Call flush(), not just drain().
8316 (writeBoolean): Always use blockDataOutput.
8317 (writeByte): Likewise.
8318 (writeShort): Likewise.
8319 (writeChar): Likewise.
8320 (writeInt): Likewise.
8321 (writeLong): Likewise.
8322 (writeFloat): Likewise.
8323 (writeDouble): Likewise.
8324 (writeBytes): Likewise.
8325 (putfield (put(String,Object))): Throw IllegalArgumentException if
8326 field cannot be found.
8327 (putfield (write(ObjectOutput))): Remember old BlockDataMode.
8328 (writeArraySizeAndElements): Write byte[] in one go.
8329 (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
8330 set BlockDataMode to false.
8331 (annotateProxyClass): New method.
8332 (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
8333 (getField): No longer native.
8334 (getMethod): Likewise.
8335 (setBlockDataMode): Always drain() on switch, return old mode.
8336 (static): New static code block.
8337 * java/io/natObjectOutputStream.cc: Removed.
8338 * java/io/ObjectInputStream.java (getField): No longer native.
8339 (getMethod): Likewise.
8340 (readObject): Remember and reset old BlockDataMode. Track whether
8341 object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
8343 (defaultReadObject): Set BlockDataMode to false during readFields.
8344 (resolveClass): Create new SecurityManager if necessary.
8345 Use Class.forName() if null ClassLoader found.
8346 (read(byte[],int,int): Copy remaining bytes to data before calling
8348 (readFields): Set and reset BlockDataMode on call_read_method.
8349 Catch NoSuchFieldErrors.
8350 (setBlockDataMode): Return old mode.
8351 (static): New static code block.
8352 * java/io/natObjectInputStream.cc (getField): Removed.
8353 (getMethod): Likewise.
8355 2003-02-27 Michael Koch <konqueror@gmx.de>
8357 * java/beans/Beans.java,
8358 java/beans/FeatureDescriptor.java
8359 java/beans/PropertyEditorManager.java:
8360 Reformated to GNU style.
8362 2003-02-25 Michael Koch <konqueror@gmx.de>
8364 * gnu/java/nio/MappedByteFileBuffer.java,
8365 gnu/java/nio/natMappedByteFileBuffer.cc:
8366 New files, both are not compiled yet to get not noncompiling CVS.
8368 2003-02-24 Tom Tromey <tromey@redhat.com>
8370 * java/util/prefs/AbstractPreferences.java (isUserNode):
8373 2003-02-24 Tom Tromey <tromey@redhat.com>
8375 * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
8377 * java/lang/Thread.java (resume): Deprecate.
8378 * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
8381 2003-02-23 Tom Tromey <tromey@redhat.com>
8383 * Makefile.in: Rebuilt.
8384 * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
8386 2003-02-23 Tom Tromey <tromey@redhat.com>
8388 * java/lang/natRuntime.cc (libraries_size, libraries_count,
8389 libraries): Removed.
8390 (add_library): Removed.
8391 (_load): Don't call add_library.
8392 (loadLibraryInternal): Likewise.
8394 (lookup_data): New struct.
8395 (find_symbol): New function.
8396 (_Jv_FindSymbolInExecutable): Use it.
8398 2002-02-21 Anthony Green <green@redhat.com>
8400 * java/lang/Thread.java (Thread): New constructor taking stack
8401 size parameter (ignored for now).
8402 * Many methods: Merged GNU Classpath documentation.
8404 * java/lang/Class.java (finalize): throws a Throwable.
8406 2003-02-21 Mark Wielaard <mark@klomp.org>
8408 * java/util/zip/ZipEntry.java (setComment): Don't check length when
8411 2003-02-21 Mark Wielaard <mark@klomp.org>
8413 * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
8414 then 65535 chars throw IllegalArgumentException.
8416 2003-02-21 Mark Wielaard <mark@klomp.org>
8418 * java/util/zip/ZipFile.java (finalize): New method.
8420 2003-02-21 Michael Koch <konqueror@gmx.de>
8422 * gnu/java/nio/natSocketChannelImpl.cc:
8423 Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
8424 <cato@df.lth.se> for pointing to it.
8426 2003-02-20 Raif S. Naffah <raif@fl.net.au>
8428 * java/math/BigInteger.java (euclidInv): Take result array as an
8429 argument. Updated all callers.
8430 (modInverse): Removed unused variables.
8432 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
8434 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
8436 * configure: Rebuilt.
8438 2003-02-19 Michael Koch <konqueror@gmx.de>
8440 * gnu/java/nio/natSocketChannelImpl.cc:
8441 Added support for platforms without network support.
8443 2003-02-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8445 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
8446 after config.h. Use <> for consistency.
8447 * java/lang/natObject.cc: Likewise.
8448 * java/lang/natRuntime.cc: Likewise.
8449 * java/lang/natSystem.cc: Likewise.
8450 * java/util/natTimeZone.cc: Likewise.
8451 * win32.cc: Likewise.
8452 * include/posix.h (fcntl, socket, connect, close, bind, accept,
8453 listen, write, read): Undef to avoid interference from OS macros.
8455 2003-02-19 Michael Koch <konqueror@gmx.de>
8457 * gnu/java/nio/ByteBufferImpl.java
8458 (ByteBufferImpl): Renamed two variables.
8459 * gnu/java/nio/CharBufferImpl.java
8460 (CharBufferImpl): Renamed two variables.
8461 * gnu/java/nio/DoubleBufferImpl.java
8462 (DoubleBufferImpl): Renamed two variables.
8463 * gnu/java/nio/FloatBufferImpl.java
8464 (FloatBufferImpl): Renamed two variables.
8465 * gnu/java/nio/IntBufferImpl.java
8466 (IntBufferImpl): Renamed two variables.
8467 * gnu/java/nio/LongBufferImpl.java
8468 (LongBufferImpl): Renamed two variables.
8469 * gnu/java/nio/ShortBufferImpl.java
8470 (ShortBufferImpl): Renamed two variables.
8471 * java/nio/CharBuffer.java
8472 (wrap): Fixed arguments to CharBufferImpl constructor.
8473 (hasArray): Only not read-only buffers have backing arrays.
8474 (length): Documentation added.
8475 (subSequence): Documentation added.
8476 * java/nio/DoubleBuffer.java
8477 (hasArray): Only not read-only buffers have backing arrays.
8478 * java/nio/FloatBuffer.java
8479 (hasArray): Only not read-only buffers have backing arrays.
8480 * java/nio/IntBuffer.java
8481 (hasArray): Only not read-only buffers have backing arrays.
8482 * java/nio/LongBuffer.java
8483 (hasArray): Only not read-only buffers have backing arrays.
8484 * java/nio/ShortBuffer.java
8485 (hasArray): Only not read-only buffers have backing arrays.
8487 2003-02-19 Michael Koch <konqueror@gmx.de>
8489 * javax/accessibility/AccessibleContext.java
8490 (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
8492 2003-02-19 Michael Koch <konqueror@gmx.de>
8494 * java/awt/ScrollPaneAdjustable.java: Reformated.
8496 2003-02-19 Michael Koch <konqueror@gmx.de>
8498 * gnu/awt/j2d/Graphics2DImpl.java
8499 (getFontRenderContext): New method.
8500 (drawGlyphVector): New method.
8501 * java/awt/Graphics2D.java
8502 (getFontRenderContext): New abstract method.
8503 (drawGlyphVector): New abstract method.
8505 2003-02-18 Hans Boehm <Hans.Boehm@hp.com>
8507 * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
8510 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
8511 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
8512 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
8513 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
8514 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
8515 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
8516 (setFont, gtkSetFont): add.
8517 gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
8518 Propagate font to peer. (setFont): add FIXME comment.
8520 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
8521 (gtkTextGetSize): fix height, width computation.
8523 * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
8524 Make X font name a bit less bogus.
8526 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
8527 (post_adjustment_event): Pass on GTK_SCROLL_NONE.
8529 * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
8530 (processAdjustmentEvent): Adjust value.
8532 * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
8535 * java/awt/Component.java (setVisible, show, hide): Call show and
8536 hide methods in subclasses.
8537 (getPreferredSize): don't set prefSize before we have peer.
8539 * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
8540 Guess (0,0) if we don't have peer.
8543 2003-02-18 Michael Koch <konqueror@gmx.de>
8545 * java/nio/channels/FileChannel.java
8546 (toString): New implementation, added documentation.
8547 (map): Added exception documentation.
8548 (size): Added exception documentation.
8549 (write): New methods, documentation work.
8550 (read): New methods, documentation work.
8551 (implCloseChannel): Rewrote exception documentation.
8552 (force): Throws IOException, added documentation.
8553 (lock): New methods.
8554 (tryLock): New methods.
8555 (position): New methods.
8556 (transferTo): New method.
8557 (transferFrom): New method.
8558 (truncate): New method.
8559 * java/nio/channels/spi/SelectorProvider.java
8560 (provider): Implemented.
8562 (ordinary_java_source_files): Added the following files:
8563 gnu/java/nio/DatagramChannelImpl.java
8564 gnu/java/nio/FileChannelImpl.java
8565 gnu/java/nio/PipeImpl.java
8566 gnu/java/nio/SelectionKeyImpl.java
8567 gnu/java/nio/SelectorImpl.java
8568 gnu/java/nio/SelectorProviderImpl.java
8569 gnu/java/nio/ServerSocketChannelImpl.java
8570 gnu/java/nio/SocketChannelImpl.java
8571 java/nio/channels/FileLock.java
8572 (nat_java_source_files): Added the following files:
8573 gnu/java/nio/natFileChannelImpl.cc
8574 gnu/java/nio/natSelectorImpl.cc
8575 gnu/java/nio/natSocketChannelImpl.cc
8576 * Makefile.in: Regenerated.
8578 2003-02-17 Tom Tromey <tromey@redhat.com>
8580 * java/awt/image/ColorModel.java: Re-merged with Classpath.
8581 * java/awt/image/ImageFilter.java: Likewise.
8583 2003-02-17 Raif S. Naffah <raif@fl.net.au>
8585 * java/math/BigInteger.java (euclidInv): Return array of
8586 `BigInteger's. Changed all callers.
8588 2003-02-17 Ranjit Mathew <rmathew@hotmail.com>
8590 * java/util/Properties.java (store): Move the code formerly in
8591 list(), into this method.
8592 (list (PrintStream)): Just call list (PrintWriter) with a
8593 PrintWriter object constructed from the given PrintStream object.
8594 (list (PrintWriter)): Emulate the output of Properties.list()
8595 as found in JDK 1.3/1.4.
8597 2003-02-17 Michael Koch <konqueror@gmx.de>
8599 * java/net/DatagramSocket.java
8600 (connect): Merged with classpath.
8601 (disconnect): Merged documentation with classpath.
8602 (receice): Merged documentation with classpath.
8603 (send): Merged documentation with classpath.
8605 2003-02-17 Michael Koch <konqueror@gmx.de>
8607 * java/awt/dnd/DragSourceContext.java
8608 (addDragSourceListener): Added documentation.
8609 * java/awt/dnd/DragSourceDragEvent.java
8610 (serialVersionUID): New member variable.
8611 (getDropAction): Reformated.
8612 * java/awt/dnd/DragSourceDropEvent.java
8613 (serialVersionUID): New member variable.
8614 (dropSuccess): Renamed from success for serialization issues.
8615 * java/awt/dnd/DragSourceEvent.java
8616 (serialVersionUID): New member variable.
8617 * java/awt/dnd/DropTarget.java
8618 (serialVersionUID): New member variable.
8619 (DropTarget): Implemented, documentation reworked.
8620 (setComponent): Documentation added.
8621 (getComponent): Documentation added.
8622 (setDefaultActions): Documentation added.
8623 (getDefaultActions): Documentation added.
8624 (addDropTargetListener): Documentation added.
8625 * java/awt/dnd/DropTargetContext.java
8626 (DropTargetContext): Documentation added.
8627 (TransferableProxy.TransferableProxy): New method.
8628 (dropComplete): Fixed documentation.
8629 (getTransferable): Fixed documentation.
8630 (createTransferableProxy): Implemented.
8631 * java/awt/dnd/DropTargetDragEvent.java
8632 (DropTargetDragEvent): Documentation added.
8633 (serialVersionUID): New member variable.
8634 (DropTargetDragEvent): Throw exceptions, documentation added.
8635 (acceptDrag): Implemented.
8636 (getCurrentDataFlavors): Implemented.3yy
8637 (getCurrentDataFlavorsAsList): Implemented.
8638 (isDataFlavorSupported): Implemented.
8639 (rejectDrag): Implemented.
8640 * java/awt/dnd/DropTargetDropEvent.java
8641 (DropTargetDropEvent): Documentation added.
8642 (serialVersionUID): New member variable.
8643 (actions): Renamed from srcActions for serialization issues.
8644 (isLocalTx): Renamed from isLocalTx for serialization issues.
8645 (DropTargetDropEvent): New implementation, throw exceptions,
8646 documentation added.
8647 (getCurrentDataFlavors): Implemented.
8648 (getCurrentDataFlavorsAsList): Implemented.
8649 (isDataFlavorSupported): Implemented.
8650 (getSourceActions): Implemented.
8651 (getDropAction): Implemented.
8652 (getTransferable): Implemented.
8653 (acceptDrop): Implemented.
8654 (rejectDrop): Implemented.
8655 * java/awt/dnd/DropTargetListener.java
8656 (drop): Fixed documentation.
8657 * java/awt/dnd/MouseDragGestureRecognizer.java
8658 (MouseDragGestureRecognizer): Documentation added.
8660 2003-02-17 Michael Koch <konqueror@gmx.de>
8662 * java/awt/font/FontRenderContext.java,
8663 java/awt/font/ShapeGraphicAttribute.java,
8664 java/awt/font/MultipleMaster.java,
8665 java/awt/font/TransformAttribute.java,
8666 java/awt/font/GlyphJustificationInfo.java,
8667 java/awt/font/LineBreakMeasurer.java,
8668 java/awt/font/TextMeasurer.java,
8669 java/awt/font/TextLayout.java,
8670 java/awt/font/LineMetrics.java,
8671 java/awt/font/TextAttribute.java,
8672 java/awt/font/GlyphMetrics.java,
8673 java/awt/font/OpenType.java,
8674 java/awt/font/GlyphVector.java,
8675 java/awt/font/GraphicAttribute.java,
8676 java/awt/font/ImageGraphicAttribute.java,
8677 java/awt/font/NumericShaper.java: New files.
8679 (awt_java_source_files): Added the following files:
8680 java/awt/font/FontRenderContext.java
8681 java/awt/font/ShapeGraphicAttribute.java
8682 java/awt/font/MultipleMaster.java
8683 java/awt/font/TransformAttribute.java
8684 java/awt/font/GlyphJustificationInfo.java
8685 java/awt/font/LineBreakMeasurer.java
8686 java/awt/font/TextMeasurer.java
8687 java/awt/font/TextLayout.java
8688 java/awt/font/LineMetrics.java
8689 java/awt/font/TextAttribute.java
8690 java/awt/font/GlyphMetrics.java
8691 java/awt/font/OpenType.java
8692 java/awt/font/GlyphVector.java
8693 java/awt/font/GraphicAttribute.java
8694 java/awt/font/ImageGraphicAttribute.java
8695 java/awt/font/NumericShaper.java
8696 * Makefile.in: Regenerated.
8698 2003-02-17 Michael Koch <konqueror@gmx.de>
8700 * java/awt/print/Paper.java
8701 (Paper): Implements Cloneable.
8702 * java/awt/print/PrinterJob.java
8703 (setJobName): Return value must be void.
8704 (print): Throws PrinterException.
8706 2003-02-16 Tom Tromey <tromey@redhat.com>
8708 * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
8711 2003-02-15 Michael Koch <konqueror@gmx.de>
8713 * java/awt/datatransfer/DataFlavor.java
8714 (isRepresentationClassByteBuffer): Removed try-catch block.
8715 (isRepresentationClassCharBuffer): Removed try-catch block.
8716 (isRepresentationClassReader): Removed try-catch block.
8718 2003-02-15 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8720 * java/nio/charset/Charset.java
8721 (isRegistered): Fixed method args and implementation.
8722 * java/nio/charset/CharsetEncoder.java
8723 (unmappableCharacterAction): New method.
8725 2003-02-15 Michael Koch <konqueror@gmx.de>
8727 * java/awt/CheckboxMenuItem.java
8728 (CheckBoxMenuItem): Dont implement Serializable.
8729 (getListeners): New method,
8730 (getItemListeners): New method.
8731 * java/awt/Choice.java
8732 (getListeners): New method,
8733 (getItemListeners): New method.
8734 * java/awt/Container.java
8735 (getListeners): Added exception documentation.
8736 (setFocusTraversalKeys): Throw exceptions, added documentattion.
8737 (getFocusTraversalKeys): Added documentation.
8738 (areFocusTraversalKeysSet): Added documentation.
8739 (applyComponentOrientation): Added documentation.
8740 * java/awt/ContainerOrderFocusTraversalPolicy.java
8741 (implicitDownCycleTraversal): Renamed from downCycle for
8743 (ContainerOrderFocusTraversalPolicy): Added documentation.
8744 (accept): Reformated.
8745 * java/awt/Dialog.java
8746 (Dialog): Dont implement Serializable.
8747 (Dialog): Added documentation.
8748 * java/awt/Font.java
8749 (Font): Dont use absolute class name.
8750 * java/awt/Frame.java
8751 (Frame): Font implement Serializable.
8752 * java/awt/List.java
8753 (getListeners): New method,
8754 (getActionListeners): New method.
8755 (getItemListeners): New method.
8756 * java/awt/Menu.java
8757 (countItems): New deprecated method.
8758 * java/awt/Scrollbar.java
8759 (getListeners): New method,
8760 (getAdjustmentListeners): New method,
8761 * java/awt/TextComponent.java
8762 (getListeners): New method,
8763 (getTextListeners): New method,
8764 * java/awt/TextField.java
8765 (getListeners): New method,
8766 (getActionListeners): New method.
8767 * java/awt/Window.java
8768 (windowFocusListener): New member variable.
8769 (windowStateListener): New member variable.
8770 (getWindowFocusListeners): New method.
8771 (getWindowStateListeners): New method.
8772 (addWindowFocusListener): New method.
8773 (addWindowStateListener): New method.
8774 (removeWindowFocusListener): New method.
8775 (removeWindowStateListener): New method.
8776 * java/awt/datatransfer/DataFlavor.java
8777 (isRepresentationClassByteBuffer): New method.
8778 (isRepresentationClassCharBuffer): New method.
8779 (isRepresentationClassReader): New method.
8781 2003-02-14 Mark Wielaard <mark@klomp.org>
8783 * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
8784 zero when there is an exponent and the significant is zero.
8785 (divide): Always set scale to newScale even in special ZERO case.
8787 2003-02-14 Tom Tromey <tromey@redhat.com>
8789 * java/lang/System.java (properties): Use Properties.clone.
8790 (setProperties): Likewise.
8792 2003-02-14 Michael Koch <konqueror@gmx.de>
8794 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
8795 * gnu/java/nio/ServerSocketChannelImpl.java
8796 (SocketAccept): Removed.
8797 (accept): Commented out use of SocketAccept.
8799 2003-02-13 Tom Tromey <tromey@redhat.com>
8801 * verify.cc (state::seen_subrs): New field.
8802 (state::state): Initialize it.
8803 (state::clean_subrs): New method.
8804 (state::~state): Call it.
8805 (state::copy): Copy subroutine list.
8806 (state::add_subr): New method.
8807 (state::merge): Only register a change if the current subroutine
8808 hasn't yet been noted.
8810 2003-02-13 Mark Wielaard <mark@klomp.org>
8812 * java/io/InputStreamReader.java (getEncoding): Return null when
8814 * java/io/OutputStreamWriter.java (getEncoding): Likewise.
8816 2003-02-13 Mark Wielaard <mark@klomp.org>
8818 * java/util/zip/InflaterInputStream.java (read): Return zero when len
8821 2003-02-13 Mark Wielaard <mark@klomp.org>
8823 * java/io/BufferedOutputStream.java (write(int)): Only flush when
8824 next byte cannot be buffered.
8826 2003-02-13 Michael Koch <konqueror@gmx.de>
8828 * java/awt/Label.java
8829 (Label): Don't implement Serializable directly.
8830 (addNotify): Fixed typo in documentation.
8831 * java/awt/List.java
8832 (List): Don't implement Serializable directly.
8833 * java/awt/PopupMenu.java
8834 (PopupMenu): Don't implement Serializable directly.
8835 * java/awt/ScrollPane.java
8836 (ScrollPane): Don't implement Serializable directly.
8837 * java/awt/Scrollbar.java
8838 (Scrollbar): Don't implement Serializable directly.
8839 * java/awt/TextArea.java
8840 (preferredSize): Fixed method arguments.
8841 * java/awt/TextField.java
8842 (TextField): Don't implement Serializable directly.
8843 * java/awt/color/ICC_ColorSpace.java
8844 (fromCIOXYZ): Documentation added.
8845 (getMinValue): Documentation added.
8846 (getMaxValue): Documentation added.
8847 * java/awt/datatransfer/DataFlavor.java
8848 (isMimeTypeEqual): May not be final.
8849 (clone): Throws CloneNotSupportedException.
8850 (getReaderForText): Don't throws UnsupportedEncodingException.
8852 2003-02-13 Michael Koch <konqueror@gmx.de>
8854 * gnu/java/awt/peer/gtk/GdkGraphics.java
8855 (drawString): New stubbed method.
8856 * java/awt/Graphics.java
8857 (drawString): New method.
8859 2003-02-13 Casey Marshall <rsdio@metastatic.org>
8862 * java/security/SecureRandom.java (next): Avoid bias in results.
8864 2003-02-13 Michael <konqueror@gmx.de>
8866 * gnu/java/nio/FileChannelImpl.java
8867 (lengthInternal): Must be native.
8868 (size): Check if channel is already closed.
8869 (implCloseChannel): Reformated.
8870 (read): w was unused, removed it.
8873 (write): New method.
8874 (map): Check arguments.
8875 (force): Throws IOException, check if channel is closed.
8876 (transferTo): New method.
8877 (transferFrom): New method.
8879 (tryLock): New method.
8880 (position): New method.
8881 (truncate): New method.
8882 (nio_mmap_file): Uncommented.
8883 (nio_munmap_file): Uncommented.
8884 (nio_msync): Uncommented.
8885 * gnu/java/nio/natFileChannelImpl.cc: New file.
8887 2003-02-13 Michael Koch <konqueror@gmx.de>
8889 * java/nio/ByteBuffer.java
8890 (endian): New member variable.
8892 (equals): New method.
8893 (compareTo): New method.
8894 (order): New methods.
8895 (compact): New method.
8896 (isDirect): New method.
8897 (slice): New method.
8898 (duplicate): New method.
8899 (asReadOnlyBuffer): New method.
8900 (asCharBuffer): New method.
8901 (asDoubleBuffer): New method.
8902 (asFloatBuffer): New method.
8903 (asIntBuffer): New method.
8904 (asLongBuffer): New method.
8905 (asShortBuffer): New method.
8906 (get*): New methods.
8907 (put*): New methods.
8908 (toString): New method.
8909 * java/nio/CharBuffer.java
8910 (CharBuffer): Implement Comparable instead of Cloneable.
8911 (get): May not be final.
8912 (put): May not be final.
8914 2002-02-13 Ranjit Mathew <rmathew@hotmail.com>
8916 * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
8917 lastIndexOf( ) instead of indexOf( ) to find the colon before
8918 the line number, because Win32 file names might contain a
8919 drive letter and a colon at the start of an absolute path.
8921 2003-02-13 Michael Koch <konqueror@gmx.de>
8923 * gnu/java/nio/natSocketChannelImpl.cc
8924 (SocketConnect): This is not implemented yet.
8925 (SocketBind): This is not implemented yet.
8927 2003-02-13 Michael Koch <konqueror@gmx.de>
8929 * gnu/java/nio/natByteBufferImpl.cc,
8930 gnu/java/nio/natCharBufferImpl.cc,
8931 gnu/java/nio/natDoubleBufferImpl.cc,
8932 gnu/java/nio/natFloatBufferImpl.cc,
8933 gnu/java/nio/natIntBufferImpl.cc,
8934 gnu/java/nio/natLongBufferImpl.cc,
8935 gnu/java/nio/natShortBufferImpl.cc:
8936 Added copyright and license.
8937 * java/nio/DoubleBuffer.java,
8938 java/nio/FloatBuffer.java,
8939 java/nio/IntBuffer.java,
8940 java/nio/LongBuffer.java,
8941 java/nio/ShortBuffer.java
8942 (array): Throw exceptions.
8943 (arrayOffset): Throw exceptions.
8945 2003-02-13 Michael Koch <konqueror@gmx.de>
8947 * gnu/java/util/prefs/FileBasedFactory.java,
8948 gnu/java/util/prefs/MemmoryBasedFactory.java,
8949 gnu/java/util/prefs/MemoryBasedPreferences.java,
8950 gnu/java/util/prefs/NodeReader.java,
8951 gnu/java/util/prefs/NodeWriter.java,
8952 java/util/prefs/AbstractPreferences.java,
8953 java/util/prefs/BackingStoreException.java,
8954 java/util/prefs/InvalidPreferencesFormatException.java,
8955 java/util/prefs/NodeChangeEvent.java,
8956 java/util/prefs/NodeChangeListener.java,
8957 java/util/prefs/PreferenceChangeEvent.java,
8958 java/util/prefs/PreferenceChangeListener.java,
8959 java/util/prefs/Preferences.java,
8960 java/util/prefs/PreferencesFactory.java:
8961 New files, all merged from classpath.
8963 (ordinary_java_source_files): Added the following files:
8964 gnu/java/util/prefs/FileBasedFactory.java,
8965 gnu/java/util/prefs/MemmoryBasedFactory.java,
8966 gnu/java/util/prefs/MemoryBasedPreferences.java,
8967 gnu/java/util/prefs/NodeReader.java,
8968 gnu/java/util/prefs/NodeWriter.java,
8969 (core_java_source_files): Added the following files:
8970 java/util/prefs/AbstractPreferences.java,
8971 java/util/prefs/BackingStoreException.java,
8972 java/util/prefs/InvalidPreferencesFormatException.java,
8973 java/util/prefs/NodeChangeEvent.java,
8974 java/util/prefs/NodeChangeListener.java,
8975 java/util/prefs/PreferenceChangeEvent.java,
8976 java/util/prefs/PreferenceChangeListener.java,
8977 java/util/prefs/Preferences.java,
8978 java/util/prefs/PreferencesFactory.java
8979 * Makefile.in: Regenerated.
8981 2003-02-13 Michael Koch <konqueror@gmx.de>
8983 * java/net/NetPermission.java
8984 (NetPermission): Make doucmentation match the method declaration.
8985 * java/net/NetworkInterface.java
8986 (equals): Reformated for GNU coding style.
8987 * java/net/ServerSocket.java: Merged with classpath.
8988 * java/net/Socket.java: Partly merged with classpath (Added some @since).
8989 * java/net/SocketImpl.java
8990 (localPort): Merged with classpath (initialize with -1).
8991 * java/net/SocketPermission.java: Merged with classpath (reindented).
8992 * java/net/URLDecoder.java: Merged with classpath (reindented).
8994 2003-02-13 Michael Koch <konqueror@gmx.de>
8996 * java/awt/GridBagConstraints.java
8997 (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
8998 LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
8999 * java/awt/KeyboardFocusManager.java
9000 (setGlobalCurrentFocusCycleRoot): Must be public.
9001 * java/awt/MenuComponent.java
9002 (MenuComponent): Must be public.
9003 * java/awt/Toolkit.java:
9004 Added some empty lines to make documentation more readable.
9005 (getFontPeer): Added @deprecated.
9006 (getColorModel): Added exception documentation.
9007 (getProperty): Fixed documentation.
9009 2003-02-12 Jeff Sturm <jsturm@one-point.com>
9011 * configure.host (alpha*-*): Default to -mieee.
9012 * configure.in (IEEESPEC): New.
9013 * libgcj.spec.in (jc1): Add IEEESPEC.
9014 * configure: Rebuild.
9016 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
9018 * include/win32.h: Include ws2tcpip.h instead of
9019 winsock.h to obtain definition of the socklen_t type.
9020 Remove IP_TOS definition - not needed with ws2tcpip.h
9021 (_Jv_connect): Correct slight formatting error.
9023 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
9025 * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
9026 size of the arguments for a JNI function. For Win32,
9027 modify to search for all forms of possible exported
9028 names of an stdcall JNI function.
9029 (_Jv_JNIMethod::call): Modify to calculate the size
9030 of the arguments passed to a JNI function and pass
9031 it to _Jv_LookupJNIMethod.
9033 2003-02-12 Michael Koch <konqueror@gmx.de>
9035 * java/nio/channels/Channels.java: New file.
9037 (ordinary_java_source_files): Added java/nio/channels/Channels.java.
9038 * Makefile.in: Regenerated.
9040 2003-02-12 Michael Koch <konqueror@gmx.de>
9042 * java/nio/ByteBuffer.java
9043 (allocate): Implemented.
9044 (wrap): Implemented.
9045 * java/nio/CharBuffer.java:
9046 Some documentation added and reworked.
9048 (allocate): Implemented.
9049 (wrap): Implemented.
9050 (array): Throw exceptions.
9051 (arrayOffset): Throw exceptions.
9052 (toString): Implemented.
9053 (length): Implemented.
9055 (charAt): Implemented.
9057 2003-02-11 John Leuner <jewel@debian.org>
9059 * java/util/zip/ZipInputStream.java: Fix problem with 0-length
9060 reads from end of file.
9062 2003-02-11 Ranjit Mathew <rmathew@hotmail.com>
9064 * java/io/natFileDescriptorWin32.cc
9065 (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
9066 returns with Win32 error code ERROR_BROKEN_PIPE.
9068 2003-02-11 Michael Koch <konqueror@gmx.de>
9071 (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
9073 2003-02-11 Michael Koch <konqueror@gmx.de>
9075 * gnu/java/nio/ByteBufferImpl.java:
9076 Reformated and removed some code.
9077 (backing_buffer): Removed.
9078 (array_offset): Removed.
9079 (ro): Renamed to readOnly.
9080 (ByteBufferImpl): Use parent constructor, initialize readOnly.
9081 * gnu/java/nio/CharBufferImpl.java:
9082 Reformated and removed some code.
9083 (array_offset): Removed.
9084 (ro): Renamed to readOnly.
9085 (CharBufferImpl): Use parent constructor, initialize readOnly.
9087 (order): New method.
9088 * gnu/java/nio/DoubleBufferImpl.java:
9089 Reformated and removed some code.
9090 (array_offset): Removed.
9091 (ro): Renamed to readOnly.
9092 (DoubleBufferImpl): Use parent constructor, initialize readOnly.
9094 (order): New method.
9095 * gnu/java/nio/FloatBufferImpl.java:
9096 Reformated and removed some code.
9097 (array_offset): Removed.
9098 (ro): Renamed to readOnly.
9099 (FloatBufferImpl): Use parent constructor, initialize readOnly.
9101 (order): New method.
9102 * gnu/java/nio/IntBufferImpl.java:
9103 Reformated and removed some code.
9104 (array_offset): Removed.
9105 (ro): Renamed to readOnly.
9106 (IntBufferImpl): Use parent constructor, initialize readOnly.
9108 (order): New method.
9109 * gnu/java/nio/LongBufferImpl.java:
9110 Reformated and removed some code.
9111 (array_offset): Removed.
9112 (ro): Renamed to readOnly.
9113 (LongBufferImpl): Use parent constructor, initialize readOnly.
9115 (order): New method.
9116 * gnu/java/nio/ShortBufferImpl.java:
9117 Reformated and removed some code.
9118 (array_offset): Removed.
9119 (ro): Renamed to readOnly.
9120 (ShortBufferImpl): Use parent constructor, initialize readOnly.
9122 (order): New method.
9124 (ordinary_java_source_files): Added the following files:
9125 gnu/java/nio/ByteBufferImpl.java
9126 gnu/java/nio/CharBufferImpl.java
9127 gnu/java/nio/DoubleBufferImpl.java
9128 gnu/java/nio/FloatBufferImpl.java
9129 gnu/java/nio/IntBufferImpl.java
9130 gnu/java/nio/LongBufferImpl.java
9131 gnu/java/nio/ShortBufferImpl.java
9132 java/nio/DoubleBuffer.java
9133 java/nio/FloatBuffer.java
9134 java/nio/IntBuffer.java
9135 java/nio/LongBuffer.java
9136 java/nio/ShortBuffer.java
9137 (nat_source_files): Added the following files:
9138 gnu/java/nio/natByteBufferImpl.cc
9139 gnu/java/nio/natCharBufferImpl.cc
9140 gnu/java/nio/natDoubleBufferImpl.cc
9141 gnu/java/nio/natFloatBufferImpl.cc
9142 gnu/java/nio/natIntBufferImpl.cc
9143 gnu/java/nio/natLongBufferImpl.cc
9144 gnu/java/nio/natShortBufferImpl.cc
9145 * Makefile.in: Regenerated.
9147 2003-02-11 Michael Koch <konqueror@gmx.de>
9149 * gnu/java/nio/natCharBufferImpl.cc
9150 (nio_cast): Removed.
9151 (nio_put_*): Removed.
9152 (nio_get_*): Removed.
9153 * gnu/java/nio/natDoubleBufferImpl.cc
9154 (nio_cast): Removed.
9155 (nio_put_*): Removed.
9156 (nio_get_*): Removed.
9157 * gnu/java/nio/natFloatBufferImpl.cc
9158 (nio_cast): Removed.
9159 (nio_put_*): Removed.
9160 (nio_get_*): Removed.
9161 * gnu/java/nio/natIntBufferImpl.cc
9162 (nio_cast): Removed.
9163 (nio_put_*): Removed.
9164 (nio_get_*): Removed.
9165 * gnu/java/nio/natLongBufferImpl.cc
9166 (nio_cast): Removed.
9167 (nio_put_*): Removed.
9168 (nio_get_*): Removed.
9169 * gnu/java/nio/natShortBufferImpl.cc
9170 (nio_cast): Removed.
9171 (nio_put_*): Removed.
9172 (nio_get_*): Removed.
9173 * gnu/java/nio/SelectorProviderImpl.java
9174 (openDatagramChannel): Throws IOException.
9175 (openPipe): Throws IOException.
9176 (openSelector): Throws IOException.
9177 (openServerSocketChannel): Throws IOException.
9178 (openSocketChannel): Throws IOException.
9179 * gnu/java/nio/ServerSocketChannelImpl.java
9180 (ServerSocketChannelImpl): Throws IOException.
9181 (implCloseSelectableChannel): Throws IOException.
9182 (implConfigureBlocking): Throws IOException.
9183 * java/nio/ByteBuffer.java
9184 (readOnly): Removed.
9185 (hasArray): Use isReadOnly() instead of readOnly.
9186 (array): Use isReadOnly() instead of readOnly.
9187 (arrayOffset): Use isReadOnly() instead of readOnly.
9188 * java/nio/CharBuffer.java
9189 (CharBuffer): Implements Cloneable and CharSequence.
9191 2003-02-11 Michael Koch <konqueror@gmx.de>
9193 * java/nio/DoubleBuffer.java
9194 (DoubleBuffer): Implements Comparable.
9196 (array_offset): New member variable.
9197 (DoubleBuffer): New constuctor.
9198 (get): May not be final.
9199 (put): May not be final.
9200 (arrayOffset): Implemented.
9201 (order): Made abstract.
9203 (as*Buffer): Removed.
9206 * java/nio/FloatBuffer.java
9207 (FloatBuffer): Implements Comparable.
9209 (array_offset): New member variable.
9210 (FloatBuffer): New constuctor.
9211 (get): May not be final.
9212 (put): May not be final.
9213 (arrayOffset): Implemented.
9214 (order): Made abstract.
9216 (as*Buffer): Removed.
9219 * java/nio/IntBuffer.java
9220 (IntBuffer): Implements Comparable.
9222 (array_offset): New member variable.
9223 (IntBuffer): New constuctor.
9224 (get): May not be final.
9225 (put): May not be final.
9226 (arrayOffset): Implemented.
9227 (order): Made abstract.
9229 (as*Buffer): Removed.
9232 * java/nio/LongBuffer.java
9233 (LongBuffer): Implements Comparable.
9235 (array_offset): New member variable.
9236 (LongBuffer): New constuctor.
9237 (get): May not be final.
9238 (put): May not be final.
9239 (arrayOffset): Implemented.
9240 (order): Made abstract.
9242 (as*Buffer): Removed.
9245 * java/nio/ShortBuffer.java
9246 (ShortBuffer): Implements Comparable.
9248 (array_offset): New member variable.
9249 (ShortBuffer): New constuctor.
9250 (get): May not be final.
9251 (put): May not be final.
9252 (arrayOffset): Implemented.
9253 (order): Made abstract.
9255 (as*Buffer): Removed.
9259 2003-02-11 Michael Koch <konqueror@gmx.de>
9261 * java/nio/channels/SelectionKey.java
9262 (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
9265 2003-02-11 Michael Koch <konqueror@gmx.de>
9267 * java/nio/channels/DatagramChannel.java
9268 (write): Throws IOException.
9269 (connect): Throws IOException.
9270 (disconnect): Throws IOException.
9271 (read): Throws IOException.
9272 (receive): Throws IOException.
9273 (send): Throws IOException.
9274 * java/nio/channels/Pipe.java
9275 (open): Throws IOException.
9276 * java/nio/channels/SelectableChannel.java
9277 (configureBlocking): Throws IOException.
9278 * java/nio/channels/ServerSocketChannel.java
9279 (accept): Throws IOException.
9280 * java/nio/channels/SocketChannel.java
9281 (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
9282 GatheringByteChannel.
9283 (read): Throws IOException.
9284 (write): Throws IOException.
9285 (finishConnect): Throws IOException.
9286 * java/nio/channels/spi/AbstractInterruptibleChannel.java
9287 (end): Throws AsynchronousCloseException.
9288 * java/nio/channels/spi/AbstractSelectableChannel.java
9289 (configureBlocking): Throws IOException.
9290 (implCloseChannel): Throws IOException.
9291 (implCloseSelectableChannel): Throws IOException.
9292 (implConfigureBlocking): Throws IOException.
9293 * java/nio/channels/spi/SelectorProvider.java
9294 (openDatagramChannel): Throws IOException.
9295 (openPipe): Throws IOException.
9296 (openSelector): Throws IOException.
9297 (openServerSocketChannel): Throws IOException.
9298 (openSocketChannel): Throws IOException.
9300 2003-02-11 Michael Koch <konqueror@gmx.de>
9302 * gnu/java/nio/FileLockImpl.java,
9303 java/nio/channels/FileLock.java: New files.
9305 2003-02-11 Michael Koch <konqueror@gmx.de>
9307 * java/nio/charset/IllegalCharsetNameException.java
9308 (serialVersionUID): New member variable.
9309 (charsetName): New member variable.
9310 (IllegalCharsetException): New implementation.
9311 (getCharsetName): New implementation.
9312 * java/nio/charset/UnsupportedCharsetException.java
9313 (serialVersionUID): New member variable.
9314 (charsetName): New member variable.
9315 (UnsupportedCharsetException): New implementation.
9316 (getCharsetName): New implementation.
9318 2003-02-10 Tom Tromey <tromey@redhat.com>
9320 * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
9321 (ex): Renamed from sqlException.
9323 2003-02-10 Raif S. Naffah <raif@fl.net.au>
9325 * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new
9326 method used to ensure seeding has occurred and that a specific
9327 seed can be set and used.
9329 2003-02-10 Ranjit Mathew <rmathew@hotmail.com>
9331 * java/lang/Win32Process.java (destroy): Declare as native.
9332 (hasExited): New native method.
9333 (exitValue): Define.
9334 (getErrorStream): Likewise.
9335 (getInputStream): Likewise.
9336 (getOutputStream): Likewise.
9337 (waitFor): Declare as native.
9338 (startProcess): New native method.
9339 (cleanup): Likewise.
9340 (ConcreteProcess): Define.
9341 (outputStream, inputStream, errorStream): New members.
9342 (procHandle, exitCode): Likewise.
9344 * java/lang/natWin32Process.cc
9345 (java::lang::ConcreteProcess::cleanup): Define.
9346 (java::lang::ConcreteProcess::destroy): Likewise.
9347 (java::lang::ConcreteProcess::hasExited): Likewise.
9348 (java::lang::ConcreteProcess::waitFor): Likewise.
9349 (new_string): Likewise.
9350 (java::lang::ConcreteProcess::startProcess): Likewise.
9352 2003-02-10 Raif S. Naffah <raif@fl.net.au>
9354 * java/math/BigInteger.java:
9355 Updated notice to include years 2002 and 3.
9356 Added 2 private (int) arrays with values from the HAC (Handbook of
9357 Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
9358 and t[] that contains nbr. of tests --used in isProbablePrime().
9360 * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
9362 * java/math/BigInteger.java (make(int[],int), add(int,int),
9363 add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
9364 isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
9365 bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
9368 * java/math/BigInteger.java (euclidInv): Reduce number of work vars
9369 (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
9370 (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
9371 BIs and returns void.
9372 (modInverse(BI)): Use new signatures of euclidInv().
9374 * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
9375 static small primes instead of remainder().
9376 Use pre-computed max nbr of trials based on bitlength of BI to test.
9377 Use pre-computed small primes for the trial tests instead of random
9380 * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
9383 * java/math/BigInteger.java (format(int,StringBuffer)): Removed
9384 invoacation of MPN.chars_per_word(). not used.
9386 * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
9387 local var and used where needed.
9389 * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
9390 Combined declaration with initialisation of locals.
9393 * java/math/BigInteger.java: Style changes
9394 (pow(int)): Removed 'else' keyword.
9395 (toString(int)): idem.
9396 (doubleValue()): idem.
9397 (bitLength()): idem.
9398 (equals(Object)): Use static methods name in same class w/o prepending
9400 (doubleValue()): idem.
9401 (setNegative(BI)): idem.
9403 (and(BI,int)): idem.
9406 (byteArrayToIntArray()): Removed casting to (int). this is
9408 (canonicalize()): idem.
9409 (alloc(int)): Always instantiate a new BI.
9411 2003-02-10 Tom Tromey <tromey@redhat.com>
9413 * java/sql/Timestamp.java (compareTo(Object)): New method.
9414 (compareTo(Timestamp)): Likewise.
9415 (serialVersionUID): Updated.
9417 2003-02-07 Mark Wielaard <mark@klomp.org>
9419 * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
9420 when verify is true.
9421 (JarFile(File, boolean)): Likewise.
9422 (manifestRead): Set manifestRead field correctly.
9424 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
9426 * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
9427 tests; see patch #1016 on Savannah.
9429 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
9431 * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
9432 (toString): do not return Strings starting with . and - erroneously.
9433 Improves Mauve results to 12 of 600 instead of 16 of 338 on
9436 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
9438 * java/beans/PropertyDescriptor.java
9439 (PropertyDescriptor(String, Class)): Sanity check getter and setter
9441 (PropertyDescriptor(String, Class, String, String)): Likewise.
9442 (PropertyDescriptor(String, Method, Method): Factor out getter and
9443 setter method sanity checks into new method.
9444 (findMethods): Don't do parameter sanity checking of get method here.
9445 (checkMethods): New method.
9447 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
9449 * java/beans/PropertyDescriptor.java: Reformat.
9451 2003-02-04 Tom Tromey <tromey@redhat.com>
9453 * java/io/PipedOutputStream.java (flush): Declare as throwing
9456 * java/io/PipedWriter.java (close): Declare as throwing
9458 * java/io/StringWriter.java (close): Declare as throwing
9461 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
9463 * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
9464 of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
9465 could also have been exported as "JNI_OnLoad@8" (MinGW) or
9466 "_JNI_OnLoad@8" (MSVC).
9468 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
9470 * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
9471 convention on Win32 to invoke native JNI methods.
9473 2003-02-03 Andrew Haley <aph@redhat.com>
9475 * configure.host (x86_64): Enable interpreter.
9477 2003-02-03 Andrew Haley <aph@redhat.com>
9479 * libgcj.spec.in (jc1): Add BACKTRACESPEC.
9480 * configure.host (x86_64): Default to -fno-omit-frame-pointer.
9481 * configure.in (BACKTRACESPEC): New.
9482 * configure: Regenerate.
9484 2003-02-02 Tom Tromey <tromey@redhat.com>
9486 * configure: Rebuilt.
9487 * configure.in (TOOLKIT) [xlib]: Set correctly.
9489 * Makefile.in: Rebuilt.
9490 * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
9493 2003-01-31 Mark WIelaard <mark@klomp.org>
9495 * Makefile.in: Rebuilt.
9496 * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
9498 2003-01-31 Tom Tromey <tromey@redhat.com>
9500 * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
9501 cast to element type.
9502 (_Jv_JNI_SetObjectArrayElement): Check array bounds.
9503 (_Jv_JNI_GetObjectArrayElement): Likewise.
9505 * Makefile.in: Rebuilt.
9506 * Makefile.am (cond_x_ltlibrary): Renamed library to
9507 lib-gnu-awt-xlib.la.
9508 (lib_gnu_awt_xlib_la_SOURCES): Renamed.
9509 (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
9510 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
9511 (lib_gnu_awt_xlib_la_LIBADD): Likewise.
9512 (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
9513 (lib_gnu_awt_xlib_la_LINK): Likewise.
9514 (install-exec-hook): Removed.
9515 (lib-gnu-awt-xlib.la): Renamed.
9517 2003-01-31 Tom Tromey <tromey@redhat.com>
9519 * aclocal.m4, configure, include/config.h.in: Rebuilt.
9520 * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
9521 aclocal.m4 and lost in some merge.
9523 * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
9524 Don't try to find graphics configuration.
9525 * java/awt/Toolkit.java (default_toolkit_name): Use new
9526 Configuration entry.
9527 * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
9529 * configure: Rebuilt.
9530 * configure.in (TOOLKIT): New subst.
9531 (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
9532 Do AWT tests much earlier. Run Gtk tests. Make jniinclude
9533 directory. Make output directories for .c files.
9534 * Makefile.in: Rebuilt.
9535 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
9536 (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
9537 (all_java_source_files): Added new sources.
9538 ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
9539 (gtk_c_files): New macro.
9540 (gtk_c_source_files): New macro.
9541 (cond_gtk_ltlibrary): New macro.
9542 ($(gtk_c_files)): New target.
9543 (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
9544 (gtk_awt_peer_sources): New macro.
9545 (gtk_c_headers): New macro.
9546 ($(gtk_c_headers)): New target.
9547 (ACLOCAL_AMFLAGS): New macro.
9548 * gtk.m4, glib.m4, libart.m4: New files.
9549 * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
9550 gnu/java/awt/peer/gtk/GdkGraphics.java,
9551 gnu/java/awt/peer/gtk/GtkArg.java,
9552 gnu/java/awt/peer/gtk/GtkArgList.java,
9553 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
9554 gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
9555 gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
9556 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
9557 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
9558 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
9559 gnu/java/awt/peer/gtk/GtkClipboard.java,
9560 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
9561 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
9562 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
9563 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
9564 gnu/java/awt/peer/gtk/GtkFontPeer.java,
9565 gnu/java/awt/peer/gtk/GtkFramePeer.java,
9566 gnu/java/awt/peer/gtk/GtkGenericPeer.java,
9567 gnu/java/awt/peer/gtk/GtkImage.java,
9568 gnu/java/awt/peer/gtk/GtkImagePainter.java,
9569 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
9570 gnu/java/awt/peer/gtk/GtkListPeer.java,
9571 gnu/java/awt/peer/gtk/GtkMainThread.java,
9572 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
9573 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
9574 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
9575 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
9576 gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
9577 gnu/java/awt/peer/gtk/GtkPanelPeer.java,
9578 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
9579 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
9580 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
9581 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
9582 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
9583 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
9584 gnu/java/awt/peer/gtk/GtkToolkit.java,
9585 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
9586 gnu/java/awt/peer/gtk/TestAWT.java,
9587 gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
9588 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
9589 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
9590 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
9591 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
9592 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
9593 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
9594 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
9595 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
9596 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
9597 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
9598 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
9599 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
9600 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
9601 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
9602 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
9603 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
9604 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
9605 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
9606 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
9607 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
9608 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
9609 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
9610 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
9611 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
9612 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
9613 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
9614 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
9615 jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
9616 jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
9617 jni/classpath/jnilink.c, jni/classpath/jnilink.h,
9618 jni/classpath/native_state.c, jni/classpath/native_state.h,
9619 jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
9621 2003-01-31 Julian Dolby <dolby@us.ibm.com>
9623 * java/util/Properties.java (load): Ignore backslash before EOF.
9625 2003-01-30 Jeff Sturm <jsturm@one-point.com>
9627 * java/lang/natClass.cc (initializeClass): Check tables when
9628 (state == JV_STATE_IN_PROGRESS).
9629 (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
9630 * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
9631 interpreted classes.
9632 (linkClass0): Use _Jv_WaitForState.
9634 2003-01-28 Oscar Pearce <oscar@pearceenterprises.com>
9636 * java/awt/Component.java (processPaintEvent): Dispose of Graphics
9637 object when finished.
9639 2003-01-28 Andreas Tobler <a.tobler@schweiz.ch>
9641 * libjava/configure.host: Disable can_unwind_signal on darwin.
9643 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
9646 * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
9647 additionally containing id of the owner thread as well as
9648 the number of nested times the thread has acquired the mutex.
9649 (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
9650 (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
9651 (_Jv_MutexUnlock): Check if really the owner thread, reset
9652 owner thread id to 0 before leaving, if leaving for the last
9654 (_Jv_MutexLock): Set owner thread id in the mutex and increment
9656 (_Jv_ThreadYield): Yield using a call to Sleep(0).
9657 * win32-threads.cc (_Jv_CondWait): Check if really owner of
9659 Pass handle of the broadcast event, instead of a pointer to it
9660 in Win32 ResetEvent( ) call.
9661 Remove incorrect return values.
9662 (_Jv_CondDestroy): Close both event handles and delete
9664 (_Jv_CondNotify): Check if really the owner thread.
9665 (_Jv_CondNotifyAll): Check if really the owner thread.
9666 (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
9667 (really_start): Use SetEvent( ) to signal daemon_cond.
9668 (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
9669 WaitForSingleObject( ) instead to wait for daemon_cond to be
9672 2003-01-27 Ranjit Mathew <rmathew@hotmail.com>
9674 * configure.in: Specifically define HAVE_BACKTRACE if building
9676 * include/win32.h: Remove HAVE_BACKTRACE definition.
9677 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
9678 * configure: Rebuilt.
9680 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
9682 * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
9683 Set and AC_SUBST. Remove USE_LIBDIR conditional.
9684 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
9685 (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
9686 * Makefile.in, configure: Rebuilt.
9688 2003-01-24 Ranjit Mathew <rmathew@hotmail.com>
9691 * java/io/natFileWin32.cc (performList): Append only "*.*"
9692 if the canonical file path already has a "\" at the end.
9694 2003-01-24 Tom Tromey <tromey@redhat.com>
9696 * defineclass.cc (handleMethodsEnd): Precompute code for static
9698 (handleCodeAttribute): Likewise.
9699 * resolve.cc (ncode): Use run_class for unsynchronized static
9701 * include/java-interp.h (class _Jv_InterpMethod): Declare
9703 * interpret.cc (run_synch_class): Initialize class.
9704 (run) [insn_invokestatic]: Don't initialize class.
9705 [insn_anewarray]: Likewise.
9706 [insn_multianewarray]: Likewise.
9707 (run_class): New function.
9709 2003-01-24 Tom Tromey <tromey@redhat.com>
9711 * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
9714 2003-01-22 Andrew Haley <aph@redhat.com>
9716 * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
9717 * configure.host (CHECKREFSPEC): Define for x86_64.
9719 2003-01-21 Tom Tromey <tromey@redhat.com>
9721 * java/util/natResourceBundle.cc (getCallingClassLoader): Start
9724 2003-01-21 Vladimir Puskas <vpuskas@eunet.yu>
9726 * java/io/natFileWin32.cc (isAbsolute): Check path length before
9727 looking at any characters.
9728 * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
9730 (isAbsolute): Check path's length as well.
9732 2003-01-17 Mark Wielaard <mark@klomp.org>
9734 * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
9735 (nat_source_files): Add natVMObjectStreamClass.cc.
9736 * Makefile.in: Regenerated.
9737 * gcj/javaprims.h (namespace java): Regenerated.
9738 * java/io/ObjectStreamClass.java (getClassUID): Call
9739 VMObjectStreamClass.hasClassInitializer().
9740 (hasClassInitializer): Removed.
9741 * java/io/VMObjectStreamClass.java: New class.
9742 * java/io/natVMObjectStreamClass.cc: New file.
9743 * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
9745 2003-01-16 Mark Wielaard <mark@klomp.org>
9747 * java/net/SocketImpl.java (toString): Don't explicitly call
9748 toString() on possible null address.
9750 2003-01-16 Michael Koch <konqueror@gmx.de>
9752 * java/net/MulticastSocket.java
9753 (setInterface): Reindented.
9755 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
9757 * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
9758 * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
9759 * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
9760 translateY arguments. Implement.
9761 * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
9762 down translation arguments.
9763 (drawPolyline, drawPolygon): Fix incorrect tests.
9764 * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
9765 translateX and translateY arguments.
9767 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
9769 * Makefile.in: Rebuilt.
9770 * Makefile.am (xlib_includes): New macro.
9773 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
9775 * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
9776 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
9777 16-bit display mode.
9779 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
9781 * java/awt/CardLayout.java (show): Rewrote.
9782 (gotoComponent): Removed `target' argument. Simplified code.
9783 Don't pre-compute `choice' unless `what' is FIRST or LAST.
9784 Changed all callers.
9787 2003-01-14 Michael Koch <konqueror@gmx.de>
9789 * java/net/InetSocketAddress.java
9790 (serialVersionUID): New member variable.
9791 * java/net/NetPermission.java
9792 (NetPermission): Dont implement java.io.Serialization directly.
9793 * java/net/SocketAddress.java:
9794 (serialVersionUID): Documentation added.
9796 2003-01-14 Michael Koch <konqueror@gmx.de>
9798 * java/awt/Label.java
9799 (Label): Implements javax.accessibility.Accessible;
9800 * java/awt/List.java
9801 (List): Implements javax.accessibility.Accessible;
9802 * java/awt/ScrollPane.java
9803 (ScrollPane): Implements javax.accessibility.Accessible;
9804 * java/awt/Scrollbar.java
9805 (Scrollbar): Implements javax.accessibility.Accessible;
9806 * java/awt/TextComponent.java
9807 (setCaretPosition): Throw exception, documentation added.
9808 * java/awt/Toolkit.java:
9809 Added some newlines in method documentations.
9810 (createButton): Exception documentation added.
9811 (createTextField): Exception documentation added.
9812 (createLabel): Exception documentation added.
9813 (createList): Exception documentation added.
9814 (createCheckbox): Exception documentation added.
9815 (createScrollbar): Exception documentation added.
9816 (createScrollPane): Exception documentation added.
9817 (createTextArea): Exception documentation added.
9818 (createChoice): Exception documentation added.
9819 (createFrame): Exception documentation added.
9820 (createWindow): Exception documentation added.
9821 (createDialog): Exception documentation added.
9822 (createMenuBar): Exception documentation added.
9823 (createMenu): Exception documentation added.
9824 (createMenuItem): Exception documentation added.
9825 (createFileDialog): Exception documentation added.
9826 (createCheckboxMenuItem): Exception documentation added.
9827 (loadSystemColors): Exception documentation added.
9828 (setDynamicLayout): Exception documentation added.
9829 (isDynamicLayoutSet): Exception documentation added.
9830 (isDynamicLayoutActive): Exception documentation added.
9831 (getScreenSize): Exception documentation added.
9832 (getScreenResolution): Exception documentation added.
9833 (getScreenInsets): Exception documentation added.
9834 (getColorModel): Exception documentation added.
9835 (getSystemClipboard): Exception documentation added.
9836 (getSystemSelection): Exception documentation added.
9837 (getMenuShortcutKeyMask): Exception documentation added.
9838 (getSystemEventQueue): Exception documentation added.
9839 * java/awt/Window.java:
9840 Reindented some code.
9841 (Window): Centralized implementation, documentation added.
9842 (finalize): Documentation added.
9843 (hide): Fixed typo in comment.
9844 (getWindowListeners): Documentation added.
9845 * java/awt/color/ColorSpace.java
9846 (toRGB): Documentation added.
9847 * java/awt/color/ICC_ColorSpace.java
9848 (ICC_ColorSpace): Documentation added.
9849 (toRGB): Throw exception, documentation added.
9850 (fromRGB): Throw exception, documentation added.
9851 (toCIEXYZ): Documentation added.
9852 (fromCIEXYZ): Documentation added.
9853 (getMinValue): Documentation added.
9854 (getMaxValue): Documentation added.
9855 * java/awt/geom/Dimension2D.java
9856 (clone): Documentation added.
9857 * java/awt/geom/GeneralPath.java
9858 (clone): Documentation added.
9859 * java/awt/geom/Line2D.java
9860 (clone): Documentation added.
9861 * java/awt/geom/QuadCurve2D.java
9862 (clone): Documentation added.
9863 * java/awt/image/ColorModel.java
9864 (ColorModel): Throw exception, documentation added.
9865 * java/awt/image/ImageFilter.java
9866 (clone): Doesnt throw CloneNotSupportedException.
9868 2003-01-14 Andrew Haley <aph@redhat.com>
9870 * java/lang/natRuntime.cc (_load): StackTrace access needs to be
9873 2003-01-10 Andrew Haley <aph@redhat.com>
9875 * include/dwarf2-signal.h: Remove x86_64.
9876 * configure.host (x86_64 DIVIDESPEC): Remove.
9877 * include/x86_64-signal.h: New file.
9878 * configure.in: Regenerate.
9880 2003-01-10 Michael Koch <konqueror@gmx.de>
9882 * java/net/DatagramSocket.java
9883 (ch): Description added.
9884 (remotePort): Initialize with -1.
9885 (connect): Doesnt throws SocketException.
9886 * java/net/MulticastSocket.java
9887 (setInterface): Merge with Classpath.
9888 * java/net/ServerSocket.java
9889 (closed): New member variable.
9890 (bind): Check if socket is closed.
9891 (close): Close an associated channel too, set new value to closed.
9892 (isBound): Reindented.
9893 (isClosed): Implemented.
9894 * java/net/Socket.java
9895 (closed): New member variable.
9896 (bind): Check if socket is closed.
9897 (connect): Check if socket is closed.
9898 (close): Close an associated channel too, set new value to closed.
9899 (isClosed): Implemented.
9901 2003-01-10 Michael Koch <konqueror@gmx.de>
9903 * java/awt/DisplayMode.java
9904 (equals): Fixed argument type and implementation.
9906 2003-01-07 Tom Tromey <tromey@redhat.com>
9908 * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
9909 JV_HASH_SYNCHRONIZATION.
9910 * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
9911 JV_HASH_SYNCHRONIZATION.
9913 2003-01-07 Michael Koch <konqueror@gmx.de>
9915 * java/net/DatagramSocket.java:
9916 Added classpath license info.
9917 (DatagramSocket): Merged description with classpath.
9918 (close): Merged description with classpath.
9919 (getChannel): Merged description with classpath.
9920 (getInetAddress): Merged description with classpath.
9921 (getPort): Merged description with classpath.
9922 (getLocalAddress): Merged description with classpath.
9923 (getLocalPort): Merged description with classpath.
9924 (getSoTimeout): Merged description with classpath.
9925 (setSoTimeout): Merged description with classpath.
9926 (getSendBufferSize): Merged description with classpath.
9927 (setSendBufferSize): Merged description with classpath.
9928 (getReceiveBufferSize): Merged description with classpath.
9929 (setReceiveBufferSize): Merged description with classpath.
9931 2003-01-04 Tom Tromey <tromey@redhat.com>
9933 * java/awt/List.java: Merged with Classpath.
9935 2003-01-03 Mark Wielaard <mark@klomp.org>
9937 * java/io/FileDescriptor.java (position): New private field.
9938 * java/io/natFileDescriptorPosix.cc (write): Up position.
9939 (setLength): Use and set position.
9940 (seek): Set position.
9941 (getFilePointer): Return position.
9942 (read): Up position.
9944 2003-01-03 Mark Wielaard <mark@klomp.org>
9946 Merge with Classpath:
9947 * java/io/ObjectStreamClass.java (lookup): Split method and call
9948 lookupForClassObject().
9949 (lookupForClassObject): New method.
9950 (isProxyClass): New field.
9951 (setClass): Set isProxyClass, add object to classLookupTable, set
9952 superClass and calculateOffsets.
9953 (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
9954 and not a proxy class.
9955 (setFields): Set accessible true for serialPersistentFields.
9956 (getClassUID): Same for suid. And check if suid is of type long.
9957 (hasClassInitializer): Don't throw NoSuchMethodError.
9959 2003-01-03 Mark Wielaard <mark@klomp.org>
9961 * java/io/FileInputStream.java (finalize): Don't explicitly
9962 finalize FileDescriptor.
9964 2003-01-03 Jeff Sturm <jsturm@one-point.com>
9966 * configure.host (sparc*-*): Enable bytecode interpreter.
9968 2003-01-03 Dhek Bhun Kho <bhun@chello.nl>
9970 * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
9971 Don't throw RemoteException.
9972 * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
9973 throw RemoteException.
9975 2003-01-03 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
9977 * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
9978 proxyHost): New static fields.
9979 (<clinit>): Initialize new fields.
9980 (connect): Use proxy if necessary.
9981 (usingProxy): Implement.
9983 2003-01-03 Eric Blake <ebb9@email.byu.edu>
9985 * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
9986 (TreeIterator.remove): Prefer IllegalStateException over
9987 ConcurrentModificationException, to match Sun.
9989 2002-12-22 Anthony Green <green@redhat.com>
9991 * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
9993 2003-01-02 Mark Wielaard <mark@klomp.org>
9995 * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
9997 (HTTP_USE_PROXY): Add field.
9998 (getResponseVals): Only set responseCode when not yet explicitly
10001 2003-01-02 Artur Biesiadowski <abies@pg.gda.pl>
10002 Mark Wielaard <mark@klomp.org>
10004 * java/util/zip/ZipFile.java (entries): Now HashMap.
10005 (readLeShort(DataInput, byte[])): Read from given byte array.
10006 (readLeInt(DataInput, byte[]): Likewise.
10007 (readLeShort(byte[] b, int off)): New method.
10008 (readLeInt(byte[] b, int off)): Likewise.
10009 (readEntries): Use byte arrays to read info in bigger chunks.
10010 (getEntries): Return HashMap.
10011 (getEntry): Use HashMap.
10012 (locBuf): New private field.
10013 (checkLocalHeader): Use locBuf to read info in one chunk.
10014 (getInputStream): Use entries HashMap, wrap PartialInputStream
10015 in BufferedInputStream.
10016 (ZipEntryEnumeration): Use HashMap and Interator.
10018 2003-01-02 Mark Wielaard <mark@klomp.org>
10019 Jeroen Frijters <jeroen@sumatra.nl>
10021 * java/net/URLClassLoader.java (Resource.getCodeSource):
10022 Fix check certs == null.
10023 (getCanonicalFileURL): Removed method.
10024 (JarURLLoader): Don't call removed method.
10025 (FileURLLoader): Likewise.
10026 (FileURLLoader.getResource): Don't canonicalize file name.
10028 2003-01-01 Tom Tromey <tromey@redhat.com>
10030 * Makefile.in: Rebuilt.
10031 * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
10032 * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
10033 java/awt/BufferCapabilities.java, java/awt/Button.java,
10034 java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
10035 java/awt/Container.java, java/awt/Cursor.java,
10036 java/awt/EventQueue.java, java/awt/FileDialog.java,
10037 java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
10038 java/awt/MenuBar.java, java/awt/MenuComponent.java,
10039 java/awt/PopupMenu.java, java/awt/ScrollPane.java,
10040 java/awt/Scrollbar.java, java/awt/TextArea.java,
10041 java/awt/TextField.java, java/awt/color/CMMException.java,
10042 java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
10043 java/awt/color/ProfileDataException.java,
10044 java/awt/datatransfer/Clipboard.java,
10045 java/awt/datatransfer/DataFlavor.java,
10046 java/awt/datatransfer/FlavorMap.java,
10047 java/awt/datatransfer/SystemFlavorMap.java,
10048 java/awt/dnd/DragGestureEvent.java,
10049 java/awt/dnd/DragGestureRecognizer.java,
10050 java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
10051 java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
10052 java/awt/im/InputMethodHighlight.java,
10053 java/io/PipedOutputStream.java, java/io/PipedWriter.java,
10054 java/rmi/server/RMIClassLoader.java: Merged from Classpath.
10056 * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
10057 `op' to BufferedImageOp.
10059 2002-12-31 Tom Tromey <tromey@redhat.com>
10061 Fix for PR libgcj/7416:
10062 * javax/naming/InitialContext.java (init): Use
10063 gnu.classpath.home.url.
10064 * java/security/Security.java: Use new properties.
10065 (loadProviders): Accept base url; use it.
10066 * java/lang/System.java: Document gnu.classpath.vm.shortname, and
10067 gnu.classpath.home.url.
10068 (gnu.classpath.home.url): Define.
10069 (gnu.classpath.vm.shortname): Likewise.
10071 2002-12-31 Tom Tromey <tromey@redhat.com>
10072 Ranjit Mathew <rmathew@hotmail.com>
10074 Fix for PR libgcj/8997:
10075 * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
10076 Include platform.h.
10077 * include/posix.h (_Jv_platform_usleep): New function.
10078 * include/win32.h (_Jv_platform_usleep): New function.
10080 2002-12-29 Tom Tromey <tromey@redhat.com>
10082 * gcj/javaprims.h: Updated.
10083 * scripts/classes.pl (scan): Removed stray semicolon.
10085 2002-12-30 Mark Wielaard <mark@klomp.org>
10087 * java/net/URLStreamHandler.java (toExternalForm): Ignore port
10088 if zero or smaller.
10090 2002-12-30 Mark Wielaard <mark@klomp.org>
10092 * java/util/Properties (formatForOutput): Don't fall through to
10093 default case after escaping character.
10095 2002-12-30 Mark Wielaard <mark@klomp.org>
10097 * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
10100 2002-12-27 Mark Mitchell <mark@codesourcery.com>
10102 * boehm.cc: Remove stray semicolon.
10103 * interpret.cc: Likewise.
10104 * prims.cc: Likewise.
10105 * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
10106 earlier to ensure default arguments are processed.
10107 * gcj/array.h (JArray): Add forward declaration.
10108 (elements): Likewise.
10109 * gcj/javaprim.h: Remove stray semicolons.
10110 * include/bohm-gc.h: Likewise.
10111 * include/jni.h: Likewise.
10112 * include/jvm.h: Likewise.
10113 * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
10115 2002-12-23 Jeff Sturm <jsturm@one-point.com>
10117 * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
10119 * java/lang/natClass.cc (initializeClass): Link vtable, otable,
10120 idt tables after initializing superclass.
10121 * java/lang/natClassLoader.cc (uaddr): New typedef.
10122 (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
10123 if they are constant pool indicies. Don't link vtable, otable yet.
10125 2002-12-21 Anthony Green <green@redhat.com>
10127 * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
10129 * Makefile.in: Rebuilt.
10131 2002-12-19 Anthony Green <green@redhat.com>
10133 * Makefile.am (ordinary_java_source_files): Add
10134 org/xml/sax/helpers/NewInstance.java.
10135 * Makefile.in: Rebuilt.
10136 * org/xml/sax/package.html, org/xml/sax/ext/package.html,
10137 org/xml/sax/helpers/package.html: New files.
10138 * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
10139 http://www.saxproject.org.
10141 2002-12-19 Andrew Haley <aph@redhat.com>
10143 * java/util/natResourceBundle.cc: Include
10144 ArrayIndexOutOfBoundsException.h.
10145 (getCallingClassLoader): Don't put upper bound on stack search.
10146 Catch ArrayIndexOutOfBoundsException.
10148 2002-12-19 Tom Tromey <tromey@redhat.com>
10150 * libtool-version: Increased `current'.
10152 2002-12-19 Tom Tromey <tromey@redhat.com>
10154 * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
10156 * java/lang/ClassLoader.java (defineClass): Use chained
10157 exception when rethrowing.
10158 * defineclass.cc (handleClassBegin): Mark class as interpreted.
10159 * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
10161 * resolve.cc (_Jv_PrepareMissingMethods): New function.
10162 (_Jv_PrepareClass): Use it.
10163 * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
10164 (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
10165 * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
10166 (Class): _Jv_PrepareMissingMethods now friend.
10167 * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
10168 Record `NULL' for system class loader.
10169 (_Jv_RegisterInitiatingLoader): Use JvSynchronize. Special case
10170 system class loader.
10171 (_Jv_FindClassInCache): Likewise.
10172 (_Jv_UnregisterClass): Use JvSynchronize. Free old loader info.
10173 (_Jv_FindClass): Special case system class loader.
10174 * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
10175 (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
10177 (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
10179 (_getDeclaredMethod): Don't return synthetic methods.
10180 (getDeclaredMethods): Likewise.
10181 (_getMethod): Likewise.
10182 (_getMethods): Likewise.
10184 2002-12-18 Raif Naffah <raif@fl.net.au>
10186 * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
10187 canonical form after divide().
10188 (modInverse): Likewise.
10190 2002-12-13 Casey Marshall <rsdio@metastatic.org>
10191 Mark Wielaard <mark@klomp.org>
10193 * java/security/SecurityRandom (digest): Removed field.
10194 (SecureRandom): Check all providers for case-insensitive SecureRandom
10195 implementation. Don't ignore classname == null. Fallback to SHA1PRNG
10197 (getInstance(String,Provider,boolean): New method.
10198 (getInstance(String)): Use new method.
10199 (getInstance(String,String)): Likewise.
10200 (getInstance(String,Provider)): Likewise.
10202 2002-12-13 Casey Marshall <rsdio@metastatic.org>
10204 * java/security/Security.java (loadProviders): Increment i only once.
10206 2002-12-12 Mark Wielaard <mark@klomp.org>
10208 * java/lang/ClassLoader.java (resolveClass0): Transform
10209 ClassNotFoundException to NoClassDefFoundError. Transform all other
10210 throwables to LinkageError.
10212 2002-12-11 Tom Tromey <tromey@redhat.com>
10214 * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
10216 * java/lang/ClassLoader.java (loadedClasses): New field.
10217 (defineClass): Fixed indentation. Put new class in
10219 (findLoadedClass): Implement here.
10220 * java/lang/natClassLoader.cc (findLoadedClass): Removed.
10222 2002-12-10 Tom Tromey <tromey@redhat.com>
10224 * Makefile.in: Rebuilt.
10225 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
10226 * gnu/gcj/runtime/natVMClassLoader.cc: New file.
10227 (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
10228 * java/lang/natClassLoader.cc
10229 (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
10231 2002-12-10 Mark Wielaard <mark@klomp.org>
10232 Tom Tromey <tromey@redhat.com>
10234 * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
10235 (JarURLLoader): Use it.
10236 (FileURLLoader): Likewise.
10237 (JarURLResource.getURL): Use chained exception.
10238 (FileResource.getURL): Likewise.
10239 (FileURLLoader.getResource): Use canonical file name.
10240 (addURL): Indentation fix.
10242 2002-12-10 Tom Tromey <tromey@redhat.com>
10244 * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
10245 From Laurent Bardet <l.bardet@magic.fr>.
10247 2002-12-09 Tom Tromey <tromey@redhat.com>
10249 * include/win32.h (_Jv_platform_solib_prefix): New define.
10250 (_Jv_platform_solib_suffix): Likewise.
10251 * include/posix.h (_Jv_platform_solib_prefix): New define.
10252 (_Jv_platform_solib_suffix): Likewise.
10253 * java/lang/natRuntime.cc: Include StackTrace.h.
10254 (_load): Use findLibrary and new platform defines.
10255 (nativeGetLibname): Use new platform defines.
10257 * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
10260 2002-12-08 Mark Wielaard <mark@klomp.org>
10262 * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
10263 cache remote jar files.
10264 * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
10265 add File.separator to URL when it is a directory.
10266 * java/lang/ClassLoader.java: Add Classpath javadoc.
10268 (getParent): Add (disabled) security check.
10269 (findLibrary): New default method.
10270 * java/net/JarURLConnection.java (getManifest): Implement.
10271 (getInputStream): Only create InputStream when entry exists.
10272 (getHeaders): Only use jarFileURLConnection or JarEntry to set length
10274 * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
10276 2002-12-08 Mark Wielaard <mark@klomp.org>
10278 * java/util/ResourceBundle.java (resourceBundleCache): Not final.
10279 (lastDefaultLocale): New field.
10280 (getBundle): When Locale.getDefault != lastDefaultLocale reset
10281 resourceBundleCache.
10283 2002-12-06 Mark Wielaard <mark@klomp.org>
10285 * java/net/InetAddress.java (toString): Use hostname when not null,
10286 don't do an explicit reverse getHostName() lookup.
10287 * java/net/Socket.java (setSocketImplFactory): When fac == null throw
10288 NullPointerException.
10290 2002-12-06 Tom Tromey <tromey@redhat.com>
10292 * include/java-interp.h (class _Jv_InterpMethod): Added
10294 * boehm.cc (_Jv_MarkObj): Consolidated interpreter code. Also
10295 mark `prepared' field of interpreted method.
10296 * interpret.cc (compile): Use _Jv_AllocBytes.
10298 2002-12-05 Andrew Haley <aph@redhat.com>
10300 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
10301 #ifdef (HAVE_BACKTRACE) around the whole function body.
10303 2002-12-05 Tom Tromey <tromey@redhat.com>
10305 * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
10306 * resolve.cc: Don't include AbstractMethodError.h.
10307 (_Jv_abstractMethodError): Removed.
10308 * defineclass.cc (handleMethodsBegin): Initialize method index to
10310 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
10311 method index for "new" final method.
10312 (_Jv_SetVTableEntries): Compare index against -1 instead of using
10313 isVirtualMethod. Added `flags' argument.
10314 (_Jv_MakeVTable): Throw exception for abstract method in concrete
10317 2002-12-04 Tom Tromey <tromey@redhat.com>
10319 * java/net/SocketPermission.java (hashCode): Rewrote.
10321 2002-12-04 Tom Tromey <tromey@redhat.com>
10323 * Makefile.in: Rebuilt.
10324 * Makefile.am (nat_source_files): Added natVMSecurityManager,
10326 * java/util/ResourceBundle.java (Security): Removed.
10327 (getCallingClassLoader): Now native.
10328 * java/util/natResourceBundle.cc: New file.
10329 * java/lang/natVMSecurityManager.cc: New file.
10330 * java/lang/VMSecurityManager.java (getClassContext): Now native.
10332 2002-12-03 Mark Wielaard <mark@klomp.org>
10334 * java/util/jar/JarFile.java (manifest): Not final.
10335 (manifestRead): New field.
10336 (JarFile): Don't read Manifest in constructor.
10337 (getManifest): New method.
10338 (JarEnumeration.nextElement): Use new method.
10339 (getEntry): Likewise.
10340 * java/util/zip/ZipFile.java (name): Final.
10342 (entries): Change type to Hashtable.
10343 (closed): New field.
10344 (ZipFile): Don't read enties in constructor.
10345 (readEntries): Use Hashtable.
10346 (close): Set new close flag and set entries to null inside
10347 synchronized block.
10348 (entries): Contruct enumeration using new getEntries() method and
10350 (getEntryIndex): Removed.
10351 (getEntries): New method.
10352 (getEntry): Use new getEntries() method and entries Hastable.
10353 (getInputStream): Likewise.
10354 (size): Return getEntries().size().
10355 (ZipEntryEnumeration): Wrap entries Hashtable elements.
10356 * java/util/zip/ZipEntry.java (cal): Don't initialize.
10358 (dostime): New field.
10359 (zipFileIndex): Removed.
10360 (ZipEntry(ZipEntry)): Copy dostime.
10361 (setDOSTime): Now final and doesn't convert dos time.
10362 (getDOSTime): Likewise.
10363 (setTime): Convert dos time.
10364 (getTime): Likewise.
10365 (getCalendar): New method.
10366 (setExtra): Use setTime().
10367 * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
10369 2002-12-03 Tom Tromey <tromey@redhat.com>
10371 * java/lang/Character.java (forDigit): Formatting fix.
10373 2002-12-03 Raif Naffah <raif@fl.net.au>
10375 * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
10376 * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
10377 * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
10379 2002-12-03 Andrew Haley <aph@redhat.com>
10381 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
10383 (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
10384 (_Jv_PopClass): New.
10385 (_Jv_PushClass): New.
10386 * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
10387 discover the ClassLoader of our caller.
10388 (_Jv_CheckArrayStore): Don't check that a class is assignment
10389 compatible with Object.
10390 * java/lang/natVMTHrowable.cc: Delete.
10391 * gnu/gcj/runtime/StackTrace.java: New, partly copied from
10392 java.lang.VMThrowable.
10393 (StackTrace(), StackTrace(int)): New constructors.
10394 (classAt, methodAt, update, methodAtAddress): New methods.
10396 * java/lang/VMThrowable.java: Use StackTrace instead of
10398 * java/lang/Class.h (getClassLoaderInternal): New.
10399 (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
10400 Be friendly with gnu::gcj::runtime::StackTrace.
10401 (Object.chain): New field.
10402 * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
10403 gnu::gcj::runtime::StackTrace.
10404 * gnu/gcj/runtime/natStackTrace.cc: New file.
10405 * gnu/gcj/runtime/MethodRef.java: New file.
10406 * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
10407 instead of getClassLoader().
10408 * verify.cc (class _Jv_BytecodeVerifier): Likewise.
10409 java::lang::VMThrowable.
10410 * Makefile.am (core_java_source_files): Add MethodRef.java,
10412 (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
10413 * Makefile.in: Rebuild.
10415 2002-12-02 Kaz Kojima <kkojima@gcc.gnu.org>
10417 * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
10418 CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
10419 yes also for sh-linux* and sh[34]*-linux*.
10420 * configure.in: Add sh-linux* and sh[34]*-linux* cases and
10421 set SIGNAL_HANDLER to use DWARF2 exception for them.
10422 * configure: Regenerate.
10424 2002-12-02 Tom Tromey <tromey@redhat.com>
10426 * jni.cc: Added `name' argument.
10427 * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
10428 `const char *' argument.
10429 (class _Jv_JNIEnv) [DefineClass]: Likewise.
10431 2002-12-01 Tom Tromey <tromey@redhat.com>
10433 Bug compatibility, for PR libgcj/8738:
10434 * java/io/CharArrayWriter.java (close): Do nothing.
10436 (reset): Don't touch `closed'.
10437 (write(int)): Don't throw IOException.
10438 (write(char[],int,int)): Likewise.
10439 (write(String,int,int)): Likewise.
10442 2002-12-01 Mark Wielaard <mark@klomp.org>
10444 * java/lang/SecurityManager.java: Remerge comments, indenting and
10445 checkXXX methods with Classpath.
10447 2002-11-29 Scott Gilbertson <scottg@mantatest.com>
10449 * java/awt/image/ColorModel.java (getUnnormalizedComponents,
10450 getNormalizedComponents): Fix calculation which was using one too
10451 many bits in the unnormalized format.
10453 2002-11-29 Gary Benson <gbenson@redhat.com>
10455 For PR libgcj/8759:
10456 * java/beans/Introspector.java (flushCaches): New method.
10457 (flushFromCaches): Likewise.
10459 2002-11-29 Michael Koch <konqueror@gmx.de>
10461 * java/nio/channels/DatagramChannel.java
10462 (open): Added exception documentation.
10463 (write): Added exception documentation.
10464 (connect): Added exception documentation.
10465 (disconnect): Added exception documentation.
10466 (isConnected): Added exception documentation.
10467 (read): Added exception documentation.
10468 (receive): Added exception documentation.
10469 (send): Added exception documentation.
10470 (validOps): Added exception documentation.
10471 * java/nio/channels/SocketChannel.java
10472 (open): Added exception documentation.
10473 (read): Added exception documentation.
10474 (write): Added exception documentation.
10475 (connect): Added exception documentation.
10476 (finishConnect): Added exception documentation.
10478 2002-11-29 Michael Koch <konqueror@gmx.de>
10480 * gnu/java/nio/DatagramChannelImpl:
10481 (fd): New member variable to store file descriptor of socket.
10482 * gnu/java/nio/SelectionKeyImpl.java:
10484 (readyOps): New member variable.
10485 (interestOps): New member variable.
10486 (readyOps): Implemented.
10487 (readyOps): New method to set member variable readyOps.
10488 (interestOps): Replaced ops by interestOps.
10489 * gnu/java/nio/SelectorImpl.java:
10490 (SelectorImpl): Initialize key sets.
10491 (select): Call select with -1 instead of Long.MAX_VALUE).
10492 (java_do_select): Make it a native method.
10493 (getFDsAsArray): New helper method.
10494 (select): Remove canceled keys, give only interested file discriptors
10495 to java_do_select, set ready ops.
10496 (add): No need to initialize keys set here.
10497 (add_selected): No need to initialize selected set here.
10498 (deregisterCanceledKeys): New helper method.
10499 (register): Set interest ops, set attachments, added handling of datagram
10501 * gnu/java/nio/ServerSocketChannelImpl:
10502 (SocketAccept): Renamed from NioSocketAccept.
10503 (implConfigureBlocking): Implemented.
10504 (accept): Use SocketAccept instead of NioSocketAccept.
10505 * gnu/java/nio/SocketChannelImpl:
10506 Reactivate native methods.
10508 2002-11-29 Michael Koch <konqueror@gmx.de>
10510 * gnu/java/nio/natByteBufferImpl.cc,
10511 gnu/java/nio/natCharBufferImpl.cc,
10512 gnu/java/nio/natDoubleBufferImpl.cc,
10513 gnu/java/nio/natFloatBufferImpl.cc,
10514 gnu/java/nio/natIntBufferImpl.cc,
10515 gnu/java/nio/natLongBufferImpl.cc,
10516 gnu/java/nio/natSelectorImpl.cc,
10517 gnu/java/nio/natServerSocketChannelImpl.cc,
10518 gnu/java/nio/natShortBufferImpl.cc,
10519 gnu/java/nio/natSocketChannelImpl.cc:
10520 New files that implement native functionalities.
10522 2002-11-29 Michael Koch <konqueror@gmx.de>
10524 * gnu/java/nio/ByteBufferImpl.java
10525 (ByteBufferImpl): Moved position() after limit.
10526 (nio_*): Use native implementation.
10527 * gnu/java/nio/CharBufferImpl.java:
10529 (endian): New member variable string endianess of buffer.
10530 (CharBufferImpl): Moved position() after limit.
10531 (nio_*): Use native implementation.
10532 (subSequence): Implemented.
10533 * gnu/java/nio/DoubleBufferImpl.java
10534 (DoubleBufferImpl): Moved position() after limit.
10535 (nio_*): Use native implementation.
10536 * gnu/java/nio/FloatBufferImpl.java
10538 (FloatBufferImpl): Moved position() after limit.
10539 (nio_*): Use native implementation.
10540 * gnu/java/nio/IntBufferImpl.java
10541 Added needed imports, Reformated.
10542 (IntBufferImpl): Moved position() after limit.
10543 (nio_*): Use native implementation.
10544 * gnu/java/nio/LongBufferImpl.java
10546 (LongBufferImpl): Moved position() after limit.
10547 (nio_*): Use native implementation.
10548 * gnu/java/nio/ShortBufferImpl.java
10550 (ShortBufferImpl): Moved position() after limit.
10551 (nio_*): Use native implementation.
10553 2002-11-27 Julian Dolby <dolby@us.ibm.com>
10555 * java/util/Locale.java (toString): Improve efficiency if country
10556 and variant are both empty.
10558 2002-11-26 Tom Tromey <tromey@redhat.com>
10560 * verify.cc (pop_init_ref): New method.
10561 (verify_instructions_0) [op_iaload, op_laload, op_faload,
10562 op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
10563 op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
10564 op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
10565 op_instanceof, op_monitorenter, op_monitorexit]: Use it.
10566 (verify_instructions_0) [op_invokevirtual, op_invokespecial,
10567 op_invokestatic, op_invokeinterface]: Use pop_init_ref. Don't
10568 let `this' argument be uninitialized. Don't let `null' be passed
10569 as `this' to construtor.
10571 2002-11-26 Mark Wielaard <mark@klomp.org>
10573 * javax/transaction/HeuristicCommitException.java: Classpath merge.
10574 * javax/transaction/HeuristicMixedException.java: Likewise.
10575 * javax/transaction/HeuristicRollbackException.java: Likewise.
10576 * javax/transaction/InvalidTransactionException.java: Likewise.
10577 * javax/transaction/NotSupportedException.java: Likewise.
10578 * javax/transaction/RollbackException.java: Likewise.
10579 * javax/transaction/Status.java: Likewise.
10580 * javax/transaction/Synchronization.java: Likewise.
10581 * javax/transaction/SystemException.java: Likewise.
10582 * javax/transaction/Transaction.java: Likewise.
10583 * javax/transaction/TransactionManager.java: Likewise.
10584 * javax/transaction/TransactionRequiredException.java: Likewise.
10585 * javax/transaction/TransactionRolledbackException.java: Likewise.
10586 * javax/transaction/UserTransaction.java: Likewise.
10587 * javax/transaction/xa/XAException.java: Likewise.
10588 * javax/transaction/xa/XAResource.java: Likewise.
10589 * javax/transaction/xa/Xid.java: Likewise.
10591 2002-11-26 Andreas Tobler <a.tobler@schweiz.ch>
10593 * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
10595 * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
10596 * include/posix.h (socklen_t): Define if not already defined.
10598 2002-11-25 Tom Tromey <tromey@redhat.com>
10600 * verify.cc (type::compatible): Backed out broken change.
10602 * verify.cc (type::compatible): Check initialization status
10604 * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
10605 Don't use NULLCHECK.
10607 2002-11-23 H.J. Lu <hjl@gnu.org>
10609 * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
10610 Include ../config/accross.m4.
10611 * aclocal.m4; Rebuild.
10612 * configure: Likewise.
10614 2002-11-23 Mark Wielaard <mark@klomp.org>
10616 * javax/naming/AuthenticationException.java: Update copyright header.
10617 * javax/naming/AuthenticationNotSupportedException.java: Likewise.
10618 * javax/naming/Binding.java: Likewise.
10619 * javax/naming/CannotProceedException.java: Likewise.
10620 * javax/naming/CommunicationException.java: Likewise.
10621 * javax/naming/CompositeName.java: Likewise.
10622 * javax/naming/CompoundName.java: Likewise.
10623 * javax/naming/ConfigurationException.java: Likewise.
10624 * javax/naming/Context.java: Likewise.
10625 * javax/naming/ContextNotEmptyException.java: Likewise.
10626 * javax/naming/InitialContext.java: Likewise.
10627 * javax/naming/InsufficientResourcesException.java: Likewise.
10628 * javax/naming/InterruptedNamingException.java: Likewise.
10629 * javax/naming/LimitExceededException.java: Likewise.
10630 * javax/naming/LinkException.java: Likewise.
10631 * javax/naming/LinkLoopException.java: Likewise.
10632 * javax/naming/LinkRef.java: Likewise.
10633 * javax/naming/MalformedLinkException.java: Likewise.
10634 * javax/naming/NameAlreadyBoundException.java: Likewise.
10635 * javax/naming/NameClassPair.java: Likewise.
10636 * javax/naming/NameNotFoundException.java: Likewise.
10637 * javax/naming/NameParser.java: Likewise.
10638 * javax/naming/NamingEnumeration.java: Likewise.
10639 * javax/naming/NamingSecurityException.java: Likewise.
10640 * javax/naming/NoInitialContextException.java: Likewise.
10641 * javax/naming/NoPermissionException.java: Likewise.
10642 * javax/naming/NotContextException.java: Likewise.
10643 * javax/naming/OperationNotSupportedException.java: Likewise.
10644 * javax/naming/PartialResultException.java: Likewise.
10645 * javax/naming/Reference.java: Likewise.
10646 * javax/naming/Referenceable.java: Likewise.
10647 * javax/naming/ReferralException.java: Likewise.
10648 * javax/naming/ServiceUnavailableException.java: Likewise.
10649 * javax/naming/SizeLimitExceededException.java: Likewise.
10650 * javax/naming/TimeLimitExceededException.java: Likewise.
10651 * javax/naming/directory/Attribute.java: Likewise.
10652 * javax/naming/directory/AttributeInUseException.java: Likewise.
10653 * javax/naming/directory/AttributeModificationException.java: Likewise.
10654 * javax/naming/directory/Attributes.java: Likewise.
10655 * javax/naming/directory/BasicAttribute.java: Likewise.
10656 * javax/naming/directory/BasicAttributes.java: Likewise.
10657 * javax/naming/directory/DirContext.java: Likewise.
10658 * javax/naming/directory/InitialDirContext.java: Likewise.
10659 * javax/naming/directory/InvalidAttributeIdentifierException.java:
10661 * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
10662 * javax/naming/directory/InvalidAttributesException.java: Likewise.
10663 * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
10664 * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
10665 * javax/naming/directory/ModificationItem.java: Likewise.
10666 * javax/naming/directory/NoSuchAttributeException.java: Likewise.
10667 * javax/naming/directory/SchemaViolationException.java: Likewise.
10668 * javax/naming/directory/SearchControls.java: Likewise.
10669 * javax/naming/directory/SearchResult.java: Likewise.
10670 * javax/naming/event/EventContext.java: Likewise.
10671 * javax/naming/event/EventDirContext.java: Likewise.
10672 * javax/naming/event/NamespaceChangeListener.java: Likewise.
10673 * javax/naming/event/NamingEvent.java: Likewise.
10674 * javax/naming/event/NamingExceptionEvent.java: Likewise.
10675 * javax/naming/event/NamingListener.java: Likewise.
10676 * javax/naming/event/ObjectChangeListener.java: Likewise.
10677 * javax/naming/ldap/Control.java: Likewise.
10678 * javax/naming/ldap/ControlFactory.java: Likewise.
10679 * javax/naming/ldap/ExtendedRequest.java: Likewise.
10680 * javax/naming/ldap/ExtendedResponse.java: Likewise.
10681 * javax/naming/ldap/HasControls.java: Likewise.
10682 * javax/naming/ldap/InitialLdapContext.java: Likewise.
10683 * javax/naming/ldap/LdapContext.java: Likewise.
10684 * javax/naming/ldap/LdapReferralException.java: Likewise.
10685 * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
10686 * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
10687 * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
10688 * javax/naming/spi/DirObjectFactory.java: Likewise.
10689 * javax/naming/spi/DirStateFactory.java: Likewise.
10690 * javax/naming/spi/DirectoryManager.java: Likewise.
10691 * javax/naming/spi/InitialContextFactory.java: Likewise.
10692 * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
10693 * javax/naming/spi/NamingManager.java: Likewise.
10694 * javax/naming/spi/ObjectFactory.java: Likewise.
10695 * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
10696 * javax/naming/spi/ResolveResult.java: Likewise.
10697 * javax/naming/spi/Resolver.java: Likewise.
10698 * javax/naming/spi/StateFactory.java: Likewise.
10700 * javax/naming/spi/NamingManager.java (ofb): Package private.
10702 2002-11-21 Mark Wielaard <mark@klomp.org>
10704 * java/net/URL.java: Merge with Classpath (partly).
10705 * java/net/URLStreamHandler: Merge with Classpath.
10707 2002-11-22 Michael Koch <konqueror@gmx.de>
10710 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
10712 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
10713 (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
10715 2002-11-21 Michael Koch <konqueror@gmx.de>
10717 * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
10718 Only the new network functions should be in it.
10720 2002-11-21 Michael Koch <konqueror@gmx.de>
10722 * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
10723 * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
10725 2002-11-21 Michael Koch <konqueror@gmx.de>
10727 * java/nio/channels/AsynchronousCloseException.java,
10728 java/nio/channels/CancelledKeyException.java,
10729 java/nio/channels/ClosedByInterruptException.java,
10730 java/nio/channels/ConnectionPendingException.java,
10731 java/nio/channels/FileLockInterruptionException.java,
10732 java/nio/channels/IllegalSelectorException.java,
10733 java/nio/channels/NoConnectionPendingException.java,
10734 java/nio/channels/NonReadableChannelException.java,
10735 java/nio/channels/NonWritableChannelException.java,
10736 java/nio/channels/NotYetBoundException.java,
10737 java/nio/channels/NotYetConnectedException.java,
10738 java/nio/channels/OverlappingFileLockException.java,
10739 java/nio/channels/UnresolvedAddressException.java,
10740 java/nio/channels/UnsupportedAddressTypeException.java:
10742 * Makefile.am (ordinary_java_source_files): Added new files.
10743 * Makefile.in: Regenerated.
10745 2002-11-21 Michael Koch <konqueror@gmx.de>
10748 (_Jv_socket): New method.
10749 (_Jv_connect): New method.
10750 (_Jv_close): New method.
10751 (_Jv_platform_close_on_exec): Prefixed system function with "::".
10752 (_Jv_bind): New method.
10753 (_Jv_listen): New method.
10754 (_Jv_write): New method.
10755 (_Jv_read): New method.
10757 (_Jv_socket): New method.
10758 (_Jv_connect): New method.
10759 (_Jv_close): New method.
10760 (_Jv_bind): New method.
10761 (_Jv_listen): New method.
10762 (_Jv_write): New method.
10763 (_Jv_read): New method.
10764 * java/net/natNetworkInterface.cc:
10765 Include platform.h, removed inclusion of socket.h
10766 (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
10767 ::close() by _Jv_close().
10768 * java/net/natPlainDatagramSocketImpl.cc:
10769 Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
10770 added some new lines to make code more readable.
10771 (create): Replaced ::socket() by _Jv_socket().
10772 (close): Replaced NATIVE_CLOSE() by _Jv_close().
10773 * java/net/natPlainSocketImpl.cc:
10774 Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
10775 removed include of socket.h, removed some windows defines
10776 (now in include/win32.h).
10777 (create): Replaced ::socket() by _Jv_socket().
10778 (close): Replaced NATIVE_CLOSE() by _Jv_close().
10779 (write): Replaced ::read by _Jv_write().
10780 (read): Replaced ::read by _Jv_read().
10782 2002-11-20 Michael Koch <konqueror@gmx.de>
10784 * Makefile.am (ordinary_java_source_files):
10785 Added java/nio/channels/FileChannel.java.
10786 * Makefile.in: Regenerated.
10788 2002-11-20 Michael Koch <konqueror@gmx.de>
10790 * java/io/FileInputStream.java
10791 (getChannel): New method.
10792 * java/io/FileOutputStream.java
10793 (getChannel): New method.
10794 * java/net/ServerSocket.java
10795 (bind): Removed duplicate code and called another bind method instead.
10796 * java/nio/channels/SelectionKey.java
10797 (isValid): Removed wrong exception documentation.
10798 * java/nio/channels/ServerSocketChannel.java
10799 (accept): Added exception documentation.
10800 (open): Fixed typo, added exception documentation.
10801 * java/nio/channels/spi/AbstractSelectableChannel.java
10802 (implCloseChannel): Added exception documentation.
10804 (register): Added exception documentation.
10806 2002-11-20 Andreas Jaeger <aj@suse.de>
10808 * configure: Regenerated with new libtool.m4.
10810 2002-11-19 Tom Tromey <tromey@redhat.com>
10812 * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
10814 (finalize_referred_to_object): Don't modify `referent' or `copy'
10816 (add_to_hash): Correctly set `n->next' when updating list.
10817 * java/lang/ref/Reference.java (enqueue): Return false if already
10820 2002-11-19 Ranjit Mathew <rmathew@hotmail.com>
10822 * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
10823 to function and function pointer declarations in accordance with
10824 Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
10825 based on whether __GCJ_JNI_IMPL__ has been defined or not.
10826 * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
10827 JNI function definitions.
10829 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
10831 * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
10832 that was causing CoderResults to be cached, not WeakReferences
10835 2002-11-18 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
10837 * java/security/KeyStore.java (getInstance): Fix
10838 comment and throw IllegalArgumentException if
10839 given provider is null.
10840 (getInstance): New method for jdk1.4 compatibility.
10842 2002-11-18 Michael Koch <konqueror@gmx.de>
10844 * java/net/PlainSocketImpl.java: Fix imports.
10846 2002-11-18 Michael Koch <konqueror@gmx.de>
10848 * java/nio/channels/SelectionKey.java
10849 (isValid): Added exception documentation.
10850 * java/nio/channels/Selector.java
10851 (open): Declare "throws IOException".
10853 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
10855 * java/nio/charset/Charset.java
10856 (<clinit>): New method.
10857 (encode): Synchronize use of cached encoder object.
10858 (decode): Synchronize use of cached encoder object.
10860 2002-11-18 Michael Koch <konqueror@gmx.de>
10862 * gnu/java/nio/ByteBufferImpl.java,
10863 gnu/java/nio/CharBufferImpl.java,
10864 gnu/java/nio/DatagramChannelImpl.java,
10865 gnu/java/nio/DoubleBufferImpl.java,
10866 gnu/java/nio/FileChannelImpl.java,
10867 gnu/java/nio/FloatBufferImpl.java,
10868 gnu/java/nio/IntBufferImpl.java,
10869 gnu/java/nio/LongBufferImpl.java,
10870 gnu/java/nio/PipeImpl.java,
10871 gnu/java/nio/SelectionKeyImpl.java,
10872 gnu/java/nio/SelectorImpl.java,
10873 gnu/java/nio/SelectorProviderImpl.java,
10874 gnu/java/nio/ServerSocketChannelImpl.java,
10875 gnu/java/nio/ShortBufferImpl.java,
10876 gnu/java/nio/SocketChannelImpl.java,
10877 java/nio/DoubleBuffer.java,
10878 java/nio/FloatBuffer.java,
10879 java/nio/IntBuffer.java,
10880 java/nio/LongBuffer.java,
10881 java/nio/ShortBuffer.java,
10882 java/nio/channels/FileChannel.java: New files.
10884 2002-11-18 Michael Koch <konqueror@gmx.de>
10886 * Makefile.am (ordinary_java_source_files):
10887 Added java/nio/ReadOnlyBufferException.java and
10888 java/nio/channels/ClosedSelectorException.java.
10889 * Makefile.in: Regenerated.
10891 2002-11-18 Michael Koch <konqueror@gmx.de>
10893 * java/net/PlainSocketImpl.java: Reworked imports.
10894 * java/net/ServerSocket.java
10895 (ServerSocket): Create socket.
10896 * java/net/SocketAddress.java: Documentation added.
10897 * java/net/natPlainSocketImpl.cc: Reindented.
10898 * java/nio/ReadOnlyBufferException.java: New file
10899 * java/nio/channels/ClosedChannelException.java: Documentation added.
10900 * java/nio/channels/ClosedSelectorException.java: New file.
10902 2002-11-17 Mark Wielaard <mark@klomp.org>
10904 * java/net/HttpURLConnection.java ((getPermission): Take port
10905 into consideration.
10906 (getErrorStream): Implement.
10908 2002-11-17 Mark Wielaard <mark@klomp.org>
10910 * java/net/HttpURLConnection.java: Merge with GNU Classpath.
10912 2002-11-16 Mark Wielaard <mark@klomp.org>
10914 Integrate work by Raif S. Naffah (raif@fl.net.au)
10915 * java/security/DummyKeyPairGenerator.java (clone): New method.
10916 * java/security/DummyMessageDigest.java (clone): New method.
10917 (engineUpdate): Now public.
10918 (engineReset): Likewise.
10919 (engineDigest): Likewise.
10920 (engineGetDigestLength): New method.
10921 * java/security/DummySignature.java (clone): New method.
10922 * java/security/KeyPairGenerator.java (provider): Now package private.
10923 (getInstance(String)): Use getInstance(String,Provider).
10924 (getInstance(String,String): Use getInstance(String,Provider)
10925 (getInstance(String,Provider): New method.
10926 (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
10927 * java/security/KeyPairGeneratorSpi.java (clone): New method.
10928 * java/security/MessageDigest.java (provider): Now package private.
10929 (getInstance(String): Use getInstance(String,Provider).
10930 (getInstance(String,String): Use getInstance(String,Provider)
10931 (getInstance(String,Provider): New method.
10932 * java/security/Provider.java (toCanonicalKey): New method.
10933 (get): New method that uses toCanonicalKey().
10934 (put): Use toCanonicalKey().
10935 (remove): Likewise.
10936 * java/security/Security.java (insertProviderAt): Provider index is one
10937 based, not zero based.
10938 (addProvider): Likewise.
10939 (removeProvider): Likewise.
10940 * java/security/Signature.java (provider): Now package private.
10941 (getInstance(String)): Use getInstance(String,Provider).
10942 (getInstance(String,String): Use getInstance(String,Provider)
10943 (getInstance(String,Provider): New method.
10944 (getInstance(String,String,Provider): Don't cast DummySignature.
10946 2002-11-15 Tom Tromey <tromey@redhat.com>
10948 For PR libgcj/8593:
10949 * java/util/zip/GZIPInputStream.java (read): Check file size.
10950 Look in inflater for remaining input bytes.
10951 (read4): Added buf and offset arguments.
10953 2002-11-12 Eric Blake <ebb9@email.byu.edu>
10955 * java/applet/AppletContext.java: Fix typo and remove redundant
10958 2002-11-14 Tom Tromey <tromey@redhat.com>
10960 * java/lang/natRuntime.cc (insertSystemProperties): Set
10961 gnu.classpath.home.
10963 2002-11-13 Michael Koch <konqueror@gmx.de>
10965 * java/nio/ByteBuffer.java
10966 (allocate): New method.
10967 (wrap): New method.
10971 2002-11-13 Michael Koch <konqueror@gmx.de>
10973 * java/nio/channels/AlreadyConnectedException.java:
10974 Removed unneeded import.
10975 (AlreadyConnectedException): Documentation added.
10976 * java/nio/channels/Pipe.java
10977 (SinkChannel.SinkChannel): Documentation added.
10978 (SinkChannel.validOps): New method.
10979 (SourceChannel.SourceChannel): Documentation added.
10980 (SourceChannel.validOps): New method.
10981 (Pipe): Documentation added.
10982 (open): Documentation added.
10983 (SinkChannel.channel): Documentation added.
10984 (SourceChannel.channel): Documentation added.
10985 * java/nio/channel/SelectableChannel.java
10986 (SelectableChannel): Documentation added.
10987 (blockingLock): Documentation added.
10988 (configureBlocking):Documentation added.
10989 (isBlocking):Documentation added.
10990 (isRegistered):Documentation added.
10991 (keyFor):Documentation added.
10992 (provider):Documentation added.
10993 (register): Documentation added.
10994 (validOps): Documentation added.
10995 * jaba/nio/channels/SelectionKey.java
10996 (SelectionKey): Documentation added.
10997 (attach): Documentation added.
10998 (attachment): Documentation added.
10999 (isAcceptable): Documentation added.
11000 (isConnetable): Documentation added.
11001 (isReadable): Documentation added.
11002 (isWritable): Documentation added.
11003 (cancel): Documentation added.
11004 (channel): Documentation added.
11005 (interestOps): Documentation added.
11006 (isValid): Documentation added.
11007 (readyOps): Documentation added.
11008 (selector): Documentation added.
11009 * jaba/nio/channels/Selector.java
11010 (Selector): Documentation added.
11011 (open): Documentation added.
11012 (close): Documentation added.
11013 (isOpen): Documentation added.
11014 (keys): Documentation added.
11015 (provider): Documentation added.
11016 (select): Documentation added.
11017 (selectedKeys): Documentation added.
11018 (selectNow): Documentation added.
11019 (wakeup): Documentation added.
11020 * java/nio/channels/spi/AbstractInterruptibleChannel.java
11021 (AbstractInterruptibleChannel): Documentation added.
11022 (opened): Default to true;
11023 (begin): Documentation added.
11024 (close): Set opened to false, documentation added.
11025 (isOpen): Documentation added.
11026 * java/nio/channels/spi/AbstractSelectionKey.java
11027 (AbstractSelectionKey): Documentation added.
11028 (cancel): Documentation added.
11029 (isValid): Documentation added.
11030 * java/nio/channels/spi/AbstractSelector.java
11031 (AbstractSelector): Documentation added.
11032 (begin): Documentation added.
11033 (close): Documentation added.
11034 (isOpen): Documentation added.
11035 (deregister): Documentation added.
11036 (end): Documentation added.
11037 (provider): Documentation added.
11038 (implCloseSelector): Documentation added.
11039 (register): Documentation added.
11040 * java/nio/channels/spi/SelectorProvider.java
11041 (SelectorProvider): Documentation added.
11042 (openDatagramChannel): Documentation added.
11043 (openPipe): Documentation added.
11044 (openSelector): Documentation added.
11045 (openServerSocketChannel): Documentation added.
11046 (openSocketChannel): Documentation added.
11047 (provider): Documentation added.
11049 2002-11-12 Michael Koch <konqueror@gmx.de>
11051 * java/nio/Buffer.java: Implemented.
11052 * java/nio/CharBuffer.java: New file.
11053 * java/nio/InvalidMarkException.java: New file.
11054 * java/nio/channels/DatagramChannel.java: Implemented.
11055 * java/nio/channels/ServerSocketChannel.java: Implemented.
11056 * java/nio/channels/SocketChannel.java: Implemented.
11057 * java/nio/channels/spi/AbstractChannel.java: Removed.
11058 * java/nio/channels/spi/AbstractSelectableChannel.java:
11060 * java/nio/charset/Charset.java:
11061 Merge from Classpath.
11062 * java/nio/charset/CharsetDecoder.java: New file.
11063 * java/nio/charset/CharsetEncoder.java: New file.
11064 * java/nio/charset/CoderResult.java: New file.
11065 * Makefile.am (ordinary_java_source_files): Added new files.
11066 * Makefile.in: Regenerated.
11068 2002-11-11 Jesse Rosenstock <jmr@ugcs.caltech.edu>
11070 * gnu/java/nio/charset/ISO_8859_1.java,
11071 gnu/java/nio/charset/Provider.java,
11072 gnu/java/nio/charset/US_ASCII.java,
11073 gnu/java/nio/charset/UTF_16.java,
11074 gnu/java/nio/charset/UTF_16BE.java,
11075 gnu/java/nio/charset/UTF_16Decoder.java,
11076 gnu/java/nio/charset/UTF_16Encoder.java,
11077 gnu/java/nio/charset/UTF_16LE.java,
11078 gnu/java/nio/charset/UTF_8.java: New files.
11080 2002-11-11 Michael Koch <konqueror@gmx.de>
11082 * java/nio/charset/CharacterCodingException.java:
11083 This class must be public.
11084 * java/nio/charset/CoderMalfunctionError.java:
11085 This class must be public.
11086 * java/nio/charset/CodingErrorAction.java:
11087 This class must be public.
11088 * java/nio/charset/IllegalCharsetNameException.java:
11089 This class must be public, better implementation.
11090 * java/nio/charset/MalformedInputException.java:
11091 This class must be public, better implementation.
11092 * java/nio/charset/UnmappableCharacterException.java:
11093 This class must be public, better implementation.
11094 * java/nio/charset/UnsupportedCharsetException.java:
11095 This class must be public, better implementation.
11097 2002-11-11 Michael Koch <konqueror@gmx.de>
11099 * java/nio/BufferOverflowException.java,
11100 java/nio/BufferUnderflowException.java: New file.
11101 * Makefile.am (ordinary_java_source_files):
11103 * Makefile.in: Regenerated.
11105 2002-11-10 Tom Tromey <tromey@redhat.com>
11107 * java/awt/Container.java (validate): Use tree lock.
11108 (getComponent): Likewise.
11109 (getComponents): Likewise.
11110 (addImpl): Likewise.
11111 (remove): Likewise.
11112 (removeAll): Likewise.
11113 (processEvent): Fixed indentation.
11114 (getComponentAt): Use tree lock.
11115 (findComponentAt): Likewise.
11116 (removeNotify): Likewise.
11117 (isAncestorOf): Likewise.
11119 (visitChildren): Likewise.
11120 (findNextFocusComponent): Likewise.
11121 (addNotifyContainerChildren): Likewise.
11122 (getAccessibleChildrenCount): Likewise.
11123 (getAccessibleChild): Likewise.
11125 * java/awt/GridLayout.java (layoutContainer): Use tree lock.
11126 (getSize): Likewise.
11127 * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
11128 (getSize): Likewise.
11129 * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
11130 (calcSize): Likewise.
11131 * java/awt/CardLayout.java (getSize): Use tree lock.
11132 (gotoComponent): Likewise.
11133 (layoutContainer): Likewise.
11135 * java/io/natFileDescriptorWin32.cc (read): Handle case where
11137 * java/io/natFileDescriptorPosix.cc (read): Handle case where
11140 * java/io/Externalizable.java, java/io/FilePermission.java,
11141 java/io/ObjectStreamConstants.java, java/io/Serializable.java,
11142 java/io/SerializablePermission.java, java/text/Format.java,
11143 java/util/AbstractMap.java, java/util/HashMap.java,
11144 java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
11145 versions from Classpath.
11147 2002-11-10 Anthony Green <green@redhat.com>
11149 * java/util/jar/Attributes.java (Name): Fix name check.
11151 2002-11-10 Mark Wielaard <mark@klomp.org>
11153 * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
11154 with getName() as message.
11155 (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
11158 * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
11161 2002-11-08 Ranjit Mathew <rmathew@hotmail.com>
11163 * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
11164 for Win32. JNICALL has been defined to __stdcall to be compatible
11167 2002-11-10 Tom Tromey <tromey@redhat.com>
11169 * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
11170 (setRows): Check newRows, not rows.
11172 * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
11174 2002-11-09 Tom Tromey <tromey@redhat.com>
11176 * java/applet/Applet.java, java/applet/AppletContext.java,
11177 java/applet/AppletStub.java, java/applet/AudioClip.java,
11178 java/awt/CardLayout.java,
11179 java/awt/ContainerOrderFocusTraversalPolicy.java,
11180 java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
11181 java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
11182 java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
11183 java/awt/color/ICC_ColorSpace.java,
11184 java/awt/color/ICC_Profile.java,
11185 java/awt/color/ICC_ProfileGray.java,
11186 java/awt/color/ICC_ProfileRGB.java,
11187 java/awt/datatransfer/DataFlavor.java,
11188 java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
11189 java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
11190 New versions from Classpath.
11191 * Makefile.in: Rebuilt.
11192 * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
11195 * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
11198 * java/awt/List.java (processEvent): Added missing `else's.
11200 * java/awt/Window.java (show): validate() before showing. Make
11201 parent displayable.
11202 (isDisplayable): New method.
11204 2002-11-07 Mark Wielaard <mark@klomp.org>
11206 Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
11207 * java/rmi/MarshalledObject.java (equals): Check hashcode first.
11209 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
11211 (loadClass): Take String as codebases.
11212 (getClassAnnotation): Use MyClassLoader annotations.
11213 * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
11214 call exportObject(this).
11216 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
11217 (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
11218 (setAnnotation): Don't set locBytesStream and locStream.
11219 (replaceObject): Removed.
11220 (flush): Don't test locStream.
11221 (getLocBytes): LikeWise.
11222 * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
11223 (leaseCache): New field.
11224 (dirty): Use leaseCache.
11225 (LeaseRecord): New inner class.
11226 * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
11227 explicitly call exportObject().
11228 * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
11229 false to communicate with Sun JDK130.
11230 * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
11231 * gnu/java/rmi/server/RMIObjectInputStream.java
11232 (UnicastConnectionManager): Removed field.
11233 * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
11234 Use UnicastServer.getExportedRef().
11235 * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
11236 (expireTime): Likewise.
11237 (CONNECTION_TIMEOUT): Likewise.
11238 (disconnect): Call sock.close().
11239 (isExpired): New method.
11240 (resetTime): Likewise.
11241 (run): Use do while loop and catch Exception for discardConnection().
11242 * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
11243 * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
11244 * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
11245 * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
11246 (exportObject): Use refcache.
11247 (unexportObject): Likewise.
11248 (getExportedRef): New method.
11249 * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
11251 (exportObject): Save manager.serverobj.
11252 (getStub): New method.
11254 2002-11-07 Mark Wielaard <mark@klomp.org>
11256 * java/lang/reflect/natField.cc (getBoolean): Use getType().
11257 (getByte): Likewise.
11258 (getShort): Likewise.
11259 (getInt): Likewise.
11260 (getLong): Likewise.
11261 (getFloat): Likewise.
11262 (getDouble): Likewise.
11264 (setChar): Likewise.
11265 (setByte): Likewise.
11266 (setShort): Likewise.
11267 (setInt): Likewise.
11268 (setLong): Likewise.
11269 (setFloat): Likewise.
11270 (setDouble): Likewise.
11272 2002-11-07 Michael Koch <konqueror@gmx.de>
11274 * java/awt/Choice.java,
11275 java/awt/Container.java,
11276 java/awt/GridBagLayout.java:
11277 Fixed documentation.
11278 * java/awt/peer/ContainerPeer.java:
11281 2002-11-07 Michael Koch <konqueror@gmx.de>
11283 * java/awt/color/ICC_Profile.java:
11284 Added missing constants.
11285 * java/awt/color/ICC_ColorSpace.java
11286 (getMinValue): Added dummy implementation.
11287 (getMaxValue): Added dummy implementation.
11288 * java/awt/datatransfer/DataFlavor.java
11289 (imageFlavor): Added.
11290 (isMimeTypeEqual): Must be final.
11291 (getDefaultRepresentationClass): Must be non-static.
11292 (getDefaultRepresentationClassAsString): Must be non-static.
11293 * java/awt/dnd/DragSourceContext.java
11294 (dragExit): Corrected argument.
11295 (dragDropEnd): Corrected argument.
11296 * java/awt/dnd/DragSourceListener.java.java
11297 (dragExit): Corrected argument.
11298 (dragDropEnd): Corrected argument.
11299 * java/awt/font/TextHitInfo.java
11300 (toString): Added stubbed implementation.
11301 * java/awt/geom/PathIterator.java:
11302 The constants must be static.
11303 * java/awt/image/VolatileImage.java
11304 (IMAGE_INCOMPATIBLE): Fixed typo.
11305 * java/awt/image/renderable/RenderableImage.java
11306 (HINTS_OBSERVED): Must be static.
11307 * java/beans/BeanInfo.java:
11308 Constants must be final.
11310 2002-11-06 Tom Tromey <tromey@redhat.com>
11312 From svens@it.uu.se. For PR libgcj/8481.
11313 * java/util/Random.java (nextInt(int)): Only use 31 bits.
11315 2002-11-06 Tom Tromey <tromey@redhat.com>
11317 * jni.cc (array_from_valist): Assume that jlong won't be
11320 2002-11-04 R. A. Rivas Diaz <rivasdiaz@yahoo.com>
11322 * gnu/java/security/provider/SHA.java (engineGetDigestLength):
11324 * gnu/java/security/provider/MD5.java (engineGetDigestLength):
11327 2002-11-03 Tom Tromey <tromey@redhat.com>
11329 * java/lang/ClassLoader.java (loadClass): Call loadClass on
11330 VMClassLoader, not findClass.
11332 2002-11-03 Jeff Sturm <jsturm@one-point.com>
11334 * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
11335 (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
11336 _Jv_DetermineVTableIndex, to determine vtable offset.
11337 (_Jv_DetermineVTableIndex): Remove.
11338 (_Jv_PrepareClass): Don't layout vtable. Use _Jv_MakeVTable instead.
11340 * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
11342 2002-11-03 Tom Tromey <tromey@redhat.com>
11344 * java/nio/channels/AlreadyConnectedException.java: Extend
11345 IllegalStateException, per spec.
11347 2002-10-31 Stephen Crawley <crawley@dstc.edu.au>
11349 * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
11351 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
11353 * java/util/ArrayList.java (readObject, writeObject): Only read/write
11356 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
11358 * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
11359 initial estimated size to avoid enlarge buffer frequently.
11361 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
11363 * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
11364 ClassLoader when null.
11365 (ProxyType.hashCode): Loader null check no longer needed.
11366 (ProxyType.sameTypes): New method.
11367 (ProxyType.equals): Use new method.
11369 2002-10-31 Mark Wielaard <mark@klomp.org>
11371 * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
11373 * java/net/URLEncoder.java (encode): Likewise.
11375 2002-10-31 Mark Wielaard <mark@klomp.org>
11377 * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
11378 when stream is closed.
11379 (closeEntry): Likewise.
11381 * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
11382 ZipException when no entry active.
11383 (closeEntry): Likewise.
11386 2002-11-02 Tom Tromey <tromey@redhat.com>
11388 * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
11389 * java/lang/natClass.cc (initializeClass): Don't return just
11390 because self==thread.
11393 * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
11394 * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
11396 2002-11-02 Andreas Schwab <schwab@suse.de>
11398 * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
11400 (FLAGS_TO_PASS): Define.
11401 * Makefile.in: Regenerated.
11403 2002-11-01 Michael Koch <konqueror@gmx.de>
11405 * java/nio/ByteOrder.java: New file.
11406 * java/nio/channels/DatagramChannel.java:
11407 (DatagramChannel): New constructor.
11408 * java/nio/channels/Pipe.java: New file.
11409 * java/nio/channels/SelectableChannel.java: New file.
11410 * java/nio/channels/SelectionKey.java: New file.
11411 * java/nio/channels/Selector.java: New file.
11412 * java/nio/channels/ServerSocketChannel.java
11413 (ServerSocketChannel): New constructor.
11414 * java/nio/channels/SocketChannel.java
11415 (SocketChannel): New constructor.
11416 * java/nio/channels/Pipe.java: New file.
11417 * java/nio/channels/spi/AbstractChannel.java: New file.
11418 * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
11419 * java/nio/channels/spi/AbstractSelectableChannel.java:
11421 (AbstractSelectableChannel): New stubbed method.
11422 * java/nio/channels/spi/AbstractSelectionKey.java: New file.
11423 * java/nio/channels/spi/AbstractSelector.java: New file.
11424 * java/nio/channels/spi/SelectorProvider.java: New file.
11425 * java/nio/charset/Charset.java: New file.
11426 * java/nio/charset/CoderMalfunctionError.java: New file.
11427 * java/nio/charset/CodingErrorAction.java: New file.
11428 * java/nio/charset/spi/CharsetProvider.java
11429 (charsetForName): Uncommented.
11430 * Makefile.am (java_native_source_files): Added new files.
11431 * Makefile.in: Regenerated.
11433 2002-11-01 Michael Koch <konqueror@gmx.de>
11435 * java/net/InetAddress.java:
11436 (isAnyLocalAddress): Implemented.
11437 (isLoopbackAddress): Implemented, comment added.
11438 (isLinkLocalAddress): Implemented, documentation added.
11439 (isSiteLocalAddress): Implemented, documentation added.
11440 (isMCGlobal): Implemented, documentation added.
11441 (isMCNodeLocal): Implemented, documentation added.
11442 (isMCLinkLocal): Implemented, documentation added.
11443 (isMCSiteLocal): Implemented, documentation added.
11444 (isMCOrgLocal): Implemented, documentation added.
11445 (getHostName): Documentation added.
11446 (getCanonicalHostName): Implemented, documentation added.
11447 (getAddress): Documentation added.
11448 (hashCode): Documentation added.
11449 (equals): Documentation added.
11450 (toString): Fixed implementation.
11451 (getByAddress): Use Inet4Address and Inet6Address.
11452 (lookup): New linewrap.
11453 (getByName): SecurityManager check added, support Inet4Address and
11454 Inet6address, comments added.
11455 (getAllByName): SecurityManager check added, comments added.
11456 * java/net/Inet6Address.java:
11457 (Inet6Address): Initialize parent class with addr instead of null.
11458 * java/net/URL.java
11459 (equals): Documentation added.
11460 (getFile): Documentation added.
11461 (hashCode): Documentation added.
11462 * java/net/natInetAddress.cc:
11463 (aton): Fix IPv6 support.
11464 * java/net/natPlainDatagramSocketImpl.cc:
11465 (peek): Throw PortUnreachableException when suitable.
11466 (peekData): Throw PortUnreachableException when suitable.
11467 (send): Throw PortUnreachableException when suitable.
11468 (receive): Throw PortUnreachableException when suitable.
11470 2002-10-27 Mark Wielaard <mark@klomp.org>
11472 * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
11474 (readLeShort): Likewise and use byte[].
11475 (readLeInt): Likewise.
11476 (readEntries): Use new versions of methods and use byte[] for reading
11477 a complete zip entry. Add ZipFile name to exceptions.
11478 (entries): Add ZipFile name to exceptions.
11479 (getEntry): Likewise.
11480 (checkLocalHeader): Use new versions of methods and add ZipFile name
11483 2002-10-31 Mark Anderson <mark@panonet.net>
11485 * java/awt/GridBagLayout.java (setConstraints): New stubbed method
11488 2002-10-25 Krister Walfridsson <cato@df.lth.se>
11490 * configure.in: Disable hash sync when not using threads.
11491 * configure: Regenerated.
11493 2002-10-24 Tom Tromey <tromey@redhat.com>
11495 * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
11496 (_Jv_FindSymbolInExecutable): Removed argument name.
11497 (insertSystemProperties): Call _Jv_SetDLLSearchPath if
11498 java.library.path is set.
11500 * gij.cc (help): Document --showversion.
11501 (version): Don't exit.
11502 (main): Handle --showversion. Exit if --version given.
11504 2002-10-23 Tom Tromey <tromey@redhat.com>
11506 * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
11507 (array_from_valist): Correctly handle promotion for jint, jlong,
11508 jfloat, and jdouble.
11510 2002-10-23 Ranjit Mathew <rmathew@hotmail.com>
11512 * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
11513 GetFileAttributesEx( ) to find file length and modification times,
11514 as the latter is not present on Windows 95.
11516 2002-10-21 Michael Koch <konqueror@gmx.de>
11518 * java/net/URL.java
11519 (URL): Activate SecurityManager checks.
11520 (equals): Use URLStreamHandler implementation instead of doing it
11521 alone. This allows special protocol stream handlers to change default
11523 (hashCode): Use URLStreamHandler implementation instead of doing it
11524 alone. This allows special protocol stream handlers to change default
11526 * java/net/URLStreamHandler.java
11527 (equals): Implemented default URL equality check.
11528 (hostsEqual): Implemented default URL equality check.
11529 (hashCode): Implemented default URL hashCode algorithm.
11530 * java/net/natPlainDatagramSocketImpl.cc:
11531 No lines longer then 80 characters.
11533 2002-10-20 Adam Megacz <adam@xwt.org>
11535 * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
11536 * configure.in: enabled hash sync on Win32
11537 * include/win32-threads.h (_Jv_ThreadId_t): added.
11538 * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
11539 heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
11540 removed some posix-isms, use Thread::sleep() instead of usleep,
11541 added code to clear bottom three bits if platform has a broken
11543 * include/win32-threads.h (_Jv_ThreadId_t): added.
11545 2002-10-19 Ranjit Mathew <rmathew@hotmail.com>
11547 * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
11548 runtime property "gnu.gcj.progname" containing the name used to
11549 invoke the current Java program (similar to argv[0] for C
11552 2002-10-15 Tom Tromey <tromey@redhat.com>
11554 Fix for PR libgcj/8234:
11555 * java/util/zip/natInflater.cc (reset): Reset avail_in.
11556 * java/util/zip/natDeflater.cc (reset): Reset avail_in.
11558 2002-10-13 Mark Wielaard <mark@klomp.org>
11560 * mauve-libgcj: Enable Mauve tests that compile now.
11562 2002-10-11 Mark Wielaard <mark@klomp.org>
11564 Fix for PR libgcj/8142
11565 * java/lang/natClassLoader.cc (findClass): Skip inner classes when
11566 loading native modules.
11568 2002-10-10 Michael Koch <konqueror@gmx.de>
11570 * javax/swing/AbstractListModel.java
11571 (getListDataListeners): New stubbed method.
11572 javax/swing/DefaultBoundedRangeModel.java
11573 (getChangeListeners): New stubbed method.
11574 javax/swing/DefaultSingleSelectionModel.java
11575 (getChangeListeners): New stubbed method.
11577 2002-10-10 Michael Koch <konqueror@gmx.de>
11579 * gcj/.cvsignore: New file to ignore files generated during build.
11580 * include/.cvsignore: New file to ignore files generated during build.
11582 2002-10-10 Michael Koch <konqueror@gmx.de>
11584 * java/net/HttpURLConnection.java
11585 (getPermission): New method.
11586 (getErrorStream): New stub method.
11587 (getHeaderFieldDate): New stub method.
11588 * java/net/Inet4Address.java:
11589 (isLinkLocalAddress): Typo fixed.
11590 * java/net/InetAddress.java:
11591 (readResolve): New stubbed method (for serialization).
11592 (isAnyLocalAddress): New stubbed method.
11593 (isLoopbackAddress): New stubbed method.
11594 (isLinkLocalAddress): New stubbed method.
11595 (isSiteLocalAddress): New stubbed method.
11596 (isMCGlobal): New stubbed method.
11597 (isMCNodeGlobal): New stubbed method.
11598 (isMCLinkLocal): New stubbed method.
11599 (isMCSiteLocal): New stubbed method.
11600 (isMCOrgLocal): New stubbed method.
11601 (getCanonicalHostName): New stubbed method.
11602 (getByAddress): Create instances of Inet4Address/Inet6Address,
11603 instead of InetAddress, documentation added.
11604 * java/net/MulticastSocket.java
11605 (getInterface): Removed FIXME.
11606 (getNetworkInterface): New method.
11607 (setNetworkInterface): New method.
11608 * java/net/NetworkInterface.java:
11609 (toString): Use property "line.separator" instead of "\n".
11610 * java/net/URLConnection.java
11611 (getContent): New stubbed method.
11612 * java/net/URLStreamHandler.java:
11613 (equals): New stubbed method.
11614 (hostsEqual): New stubbed method.
11615 (hashCode): New stubbed method.
11616 * java/net/natNetworkInterface.cc:
11617 (getRealNetworkInterfaces): Create Inet4Address object
11618 instead of InetAddress.
11620 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
11622 * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
11623 unsigned long temporary to implement insn_iushr shifts.
11625 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
11627 * configure.host [s390*-*]: Enable Java interpreter.
11628 Enable hash synchronization. Add sysdeps dir.
11629 * sysdep/s390/locks.h: New file.
11631 2002-10-06 Mark Wielaard <mark@klomp.org>
11633 * java/lang/Thread.java (setDaemon): Check startable_flag,
11636 2002-10-07 Michael Koch <konqueror@gmx.de>
11638 * java/nio/Buffer.java: New stub file.
11639 * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
11641 * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
11642 * Makefile.in: Regenerated.
11644 2002-10-07 Michael Koch <konqueror@gmx.de>
11646 * java/nio/ByteBuffer.java:
11647 removed import of not commited class.
11649 2002-10-07 Michael Koch <konqueror@gmx.de>
11651 * java/nio/ByteBuffer.java,
11652 java/nio/MappedByteBuffer.java:
11653 New files, forgot to add these dummies.
11654 * Makefile.am (java_native_source_files): Added new files.
11655 * Makefile.in: Regenerated.
11657 2002-10-07 Michael Koch <konqueror@gmx.de>
11659 * java/nio/channels/AlreadyConnectedException.java,
11660 java/nio/channels/ClosedChannelException.java,
11661 java/nio/channels/ReadableByteChannel.java,
11662 java/nio/channels/InterruptibleChannel.java,
11663 java/nio/channels/Channel.java,
11664 java/nio/channels/ByteChannel.java,
11665 java/nio/channels/GatheringByteChannel.java,
11666 java/nio/channels/ScatteringByteChannel.java,
11667 java/nio/channels/WritableByteChannel.java,
11668 java/nio/charset/CharacterCodingException.java,
11669 java/nio/charset/IllegalCharsetNameException.java,
11670 java/nio/charset/MalformedInputException.java,
11671 java/nio/charset/UnmappableCharacterException.java,
11672 java/nio/charset/UnsupportedCharsetException.java,
11673 java/nio/charset/spi/CharsetProvider.java: New file.
11674 These files are exceptions or interfaces,
11675 no real or abstract classes.
11676 * Makefile.am (java_native_source_files): Added new files.
11677 * Makefile.in: Regenerated.
11679 2002-10-05 Michael Koch <konqueror@gmx.de>
11681 * java/net/InetAddress.java
11682 (getByAddress): Fixed documentation.
11683 (getByAddress): New method.
11684 * java/net/Inet4Address.java: New file.
11685 * java/net/URL.java
11686 (URL): Documentation added.
11687 (getContent): Documentation added.
11688 (getContent): New stubbed method.
11689 (getQuery): New method.
11690 (openConnection): Documentation added.
11691 (openStream): Documentation added.
11692 (setURLStreamHandlerFactory): Documentation added.
11693 * java/net/URI.java: New stub file.
11695 (java_native_source_files): Added java/net/Inet4Address.java,
11696 java/net/Inet6Address.java and java/net/URI.java.
11697 * Makefile.in: Regenerated.
11699 2002-10-04 C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
11701 * java/lang/ProtectionDomain.java (linesep): Remove field.
11702 (toString): Use System.getProperty("line.separator").
11704 2002-10-04 Michael Koch <konqueror@gmx.de>
11706 * java/security/Identity.java: Added serialVersionUID.
11707 * java/security/KeyPair.java: Added serialVersionUID.
11708 * java/security/Provider.java: Added serialVersionUID.
11709 * java/security/SecureRandom.java: Added serialVersionUID.
11710 * java/security/SecureRandomSpi.java: Added serialVersionUID.
11711 * java/security/SignedObject.java: Added serialVersionUID.
11712 * java/security/cert/Certificate.java: Added serialVersionUID.
11714 2002-10-04 Mark Wielaard <mark@klomp.org>
11716 * java/security/Security.java: Use java.home or gnu.classpath.home
11718 (loadProviders): Extra dir argument.
11719 (getProvider): Return null when not found.
11721 2002-10-04 Mark Wielaard <mark@klomp.org>
11723 * java/lang/Throwable.java: Remerge with Classpath.
11725 2002-10-04 Michael Koch <konqueror@gmx.de>
11727 * java/net/InetAddress.java:
11728 (isMulticastAddress): Added documentation.
11729 (getHostAddress): Added documentation.
11730 (toString): Added documentation.
11731 (getByAddress): Fixed documentation.
11732 (getByName): Added documentation.
11733 (getAllByName): Added documentation.
11734 (getLocalHost): Added documentation.
11736 2002-10-04 Michael Koch <konqueror@gmx.de>
11738 * java/beans/beancontext/BeanContextChildSupport.java:
11739 Added serialVersionUID.
11740 * java/text/Collator.java: (compare): Made documentation HTML-aware.
11741 * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
11742 * javax/naming/Name.java: Added serialVersionUID.
11744 2002-10-03 Adam Megacz <adam@xwt.org>
11746 * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
11747 some functionality that isn't supported yet on WIN32.
11749 2002-10-03 Tom Tromey <tromey@redhat.com>
11751 * Makefile.in: Rebuilt.
11752 * Makefile.am (awt_java_source_files): Added new files.
11754 2002-10-03 Michael Koch <konqueror@gmx.de>
11756 * java/net/InetAddress.java
11757 (class InetAddress): Removed final keyword.
11758 (equals): Fixed typo.
11759 (getByAddress): New method.
11761 2002-10-03 Michael Koch <konqueror@gmx.de>
11763 * java/awt/dnd/Autoscroll.java:
11764 New file, merge from Classpath.
11765 * java/awt/dnd/DragSourceAdapter.java:
11766 (dragExit): Fixed typos in argument type.
11767 (dragDropEnd): Fixed typos in argument type.
11768 * java/awt/dnd/DragSourceDropEvent.java:
11769 New file, merge from Classpath.
11770 * java/awt/dnd/DropTarget.java:
11771 Added stubs, merge from Classpath.
11772 * java/awt/dnd/DropTargetAdapter.java:
11773 New file, merge from Classpath.
11774 * java/awt/dnd/DropTargetContext.java:
11775 New file, merge from Classpath.
11776 * java/awt/dnd/DropTargetDragEvent.java:
11777 New file, merge from Classpath.
11778 * java/awt/dnd/DropTargetDropEvent.java:
11779 New file, merge from Classpath.
11780 * java/awt/dnd/DropTargetEvent.java:
11781 New file, merge from Classpath.
11782 * java/awt/dnd/DropTargetListener.java:
11783 New file, merge from Classpath.
11784 * java/awt/dnd/MouseDragGestureRecognizer.java:
11785 New file, merge from Classpath.
11786 * java/awt/dnd/peer/DropTargetContextPeer.java:
11787 New file, merge from Classpath.
11789 2002-10-03 Michael Koch <konqueror@gmx.de>
11791 * java/net/DatagramPacket.java
11792 (setLength): Fixed typo and be HTML-aware.
11793 * java/net/InetSocketAddress.java
11794 (InetSocketAddress): Correct initialization of hostname, fixed typo.
11795 (equals): Added comment about equality of InetSocketAddress objects.
11796 * java/net/ServerSocket.java
11797 (accept): Added checks.
11798 (isClosed): New stubbed method.
11799 * java/net/SocketOptions.java: Reindention.
11800 * java/net/SocketPermission
11801 (SocketPermission): Documentation fixed.
11803 2002-10-03 Michael Koch <konqueror@gmx.de>
11805 * java/net/DatagramSocket.java
11806 (receive): Check with SecurityManager AFTER the packet is received,
11807 check if connected to multicast address, documentation added.
11808 (send): Only check SecurityManager if connected, check address of
11810 (connect): Implemented, documentation added.
11811 * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
11812 * java/net/InetSocketAddress.java
11813 (whole file): Reindented.
11814 (hostname): New attribute.
11815 (InetSocketAddress): Initialize new attribute.
11816 (getAddress): Documentation added.
11817 (getHostName): Documentation added.
11818 (getPort): Documentation added.
11819 (hashCode): Documentation added.
11820 (isUnresolved): Documentation added.
11821 (toString): Conform to output of JDK 1.4.1, documentation added.
11822 * java/net/MulticastSocket.java
11823 (joinGroup): Removed FIXME, documentation added.
11824 (leaveGroup): Removed FIXME, documentation added.
11825 (send): Documentation added.
11826 * java/net/Socket.java
11827 (inputShutdown): New variable.
11828 (outputShutdown): New variable.
11829 (Socket): Initialize new variables.
11830 (getRemoteSocketAddress): Check if connected.
11831 (shutdownInput): Set new variable.
11832 (shutdownOutput): Set new variable.
11833 (isConnected): New method.
11834 (isClosed): New method.
11835 (isInputShutdown): New method.
11836 (isOutputShutdown): New method.
11837 * java/net/URLStreamHandler.java
11838 (URLStreamHandler): New method.
11839 (openConnection): Added documentation.
11840 (parseURL): Added documentation.
11841 (getHostAddress): New method.
11842 (getDefaultPort): New method.
11844 2002-10-02 Tom Tromey <tromey@redhat.com>
11846 * java/rmi/activation/ActivationDesc.java,
11847 java/rmi/activation/ActivationGroupDesc.java,
11848 java/rmi/activation/ActivationGroupID.java,
11849 java/rmi/activation/ActivationID.java: New versions from
11852 2002-09-30 Bo Thorsen <bo@suse.de>
11854 * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
11856 2002-09-30 Tom Tromey <tromey@redhat.com>
11858 * java/io/ObjectInputStream.java (resolveProxyClass): New method
11860 * Makefile.in: Rebuilt.
11861 * Makefile.am (rmi_java_source_files): Added new files.
11862 * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
11863 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
11864 gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
11866 * gnu/java/rmi/dgc/DGCImpl.java,
11867 gnu/java/rmi/dgc/DGCImpl_Skel.java,
11868 gnu/java/rmi/dgc/DGCImpl_Stub.java,
11869 gnu/java/rmi/registry/RegistryImpl_Skel.java,
11870 gnu/java/rmi/registry/RegistryImpl_Stub.java,
11871 gnu/java/rmi/server/RMIHashes.java,
11872 gnu/java/rmi/server/RMIObjectInputStream.java,
11873 gnu/java/rmi/server/RMIObjectOutputStream.java,
11874 gnu/java/rmi/server/UnicastConnection.java,
11875 gnu/java/rmi/server/UnicastConnectionManager.java,
11876 gnu/java/rmi/server/UnicastRef.java,
11877 gnu/java/rmi/server/UnicastServer.java,
11878 gnu/java/rmi/server/UnicastServerRef.java,
11879 java/rmi/MarshalledObject.java,
11880 java/rmi/server/RMIClassLoader.java,
11881 java/rmi/server/RemoteObject.java,
11882 java/rmi/server/UnicastRemoteObject.java,
11883 java/security/SecureClassLoader.java: Merged from Classpath.
11885 2002-09-29 Anthony Green <green@redhat.com>
11887 * java/lang/reflect/UndeclaredThrowableException.java: New file.
11888 Imported from GNU Classpath.
11889 * java/lang/reflect/natProxy.cc: New file.
11890 * java/lang/reflect/InvocationHandler.java: New file. Imported
11891 from GNU Classpath.
11892 * java/lang/reflect/Proxy.java: New file. Imported from GNU
11894 * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
11896 * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
11897 HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
11899 * gcj/javaprims.h ("Java"): Add new classes.
11900 * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
11901 * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
11902 java/lang/reflect/Proxy$$ProxyType.h): And this.
11903 (inner_nat_headers): Add these new headers.
11904 (ordinary_java_source_files): Add new files.
11905 (nat_source_files): Add new file.
11906 * Makefile.in: Rebuilt.
11908 2002-09-28 Richard Earnshaw <rearnsha@arm.com>
11910 * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
11911 a single configuration.
11913 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
11915 * java/util/TimeZone.java (getDSTSavings): New method.
11916 Fixes PR libgcj/7786.
11918 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
11920 * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
11921 to see if `the_method == 0' before looking up vtable index.
11922 Fixes PR libgcj/7709.
11924 2002-09-25 Tom Tromey <tromey@redhat.com>
11926 * java/lang/natClassLoader.cc:
11927 (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
11928 * resolve.cc: Include NoClassDefFoundError.h, not
11929 ClassNotFoundException.h.
11930 (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
11932 * defineclass.cc: Don't include ClassNotFoundException.h.
11934 * resolve.cc: Include StringBuffer.
11935 (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
11937 * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
11938 allocated but not initialized.
11940 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
11942 Fix for PR libgcj/7766:
11943 * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
11944 (getNextEntry): Set it.
11945 (closeEntry): Likewise.
11948 (available): Use it.
11950 2002-09-25 Michael Koch <konqueror@gmx.de>
11952 * java/net/DatagramSocket.java
11953 (DatagramSocket): Initialize new instance variables.
11954 (close): Reset new instance variables.
11955 (getLocalAddress): Remove unneeded SecurityManager usage.
11956 (getLocalPort): Check if socket is already bound.
11957 (isConnected): New method.
11958 (getInetAddress): Implemented.
11959 (getPort): Better Implementation, documentation fixed.
11960 (getRemoteSocketAddress): New method.
11961 * java/net/JarURLConnection.java
11962 (element): Typo fixed.
11963 (getMainAttributes): New method.
11964 (getAttributes): New method (stub only).
11965 (getManifest): New method (stub only).
11966 * java/net/NetPermission.java: Added serialVersionsUID.
11967 * java/net/Socket.java
11968 (connect): Check blocking mode of associated channel,
11969 documentation added.
11970 (getLocalSocketAddress): Better implementation.
11971 (getRemoteSocketAddress): Implemented.
11972 (isBound): New method.
11973 (setSendBufferSize): Documentation added.
11974 * java/net/SocketAddress.java: Added serialVersionsUID.
11975 * java/net/SocketPermission.java: Added serialVersionsUID.
11976 * java/net/URL.java
11977 (URL): Wrap for shorter lines, initialize new instance variables,
11978 documentation added.
11979 (equals): Check new instance variables too.
11980 (getContent): Documentation added.
11981 (getPath): Documentation added.
11982 (getAuthority): New method.
11983 (getHost): Documentation added.
11984 (getPort): Documentation added.
11985 (getDefaultPort): New method.
11986 (getProtocol): Documentation added.
11987 (getUserInfo): Documentation added.
11988 (set): Initialize new instance variables, documentation added.
11989 * java/net/URLStreamHandler.java
11990 (setURL): New method.
11991 * java/net/natPlainDatagramSocketImpl.cc
11992 (connect): Fix exception name.
11993 (disconnect): Fix exception name.
11995 2002-09-25 Michael Koch <konqueror@gmx.de>
11997 * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
11998 * java/nio/channels/DatagramChannel.java:
11999 extends AbstractSelectableChannel
12000 * java/nio/channels/ServerSocketChannel.java:
12001 extends AbstractSelectableChannel
12002 * java/nio/channels/SocketChannel.java:
12003 extends AbstractSelectableChannel
12004 * Makefile.am (ordinary_java_source_files):
12005 java/nio/channels/spi/AbstractSelectableChannel.java added.
12006 * Makefile.in: Regenerated.
12008 2002-09-25 Michael Koch <konqueror@gmx.de>
12010 * java/net/DatagramSocket.java
12011 (DatagramSocket): Exception documentation added.
12012 (bind): Exception documentation added, addded SecurityManager check,
12013 added SocketAddress type check.
12014 (getSoTimeout): Check impl.
12015 (receive): Fix SecurityManager check, check impl, documentation added.
12016 (send): Check channel mode, documentation added.
12017 (connect): New method.
12018 (disconnect): Implemented.
12019 (getLocalSocketAddress): New method.
12020 (getReceiveBufferSize): Check impl.
12021 (setReuseAddress): Check impl.
12022 (getReuseAddress): Check impl.
12023 (setBroadcast): Check impl.
12024 (getBroadcast): Check impl.
12025 (setTrafficClass): Check impl, Documentation cleared.
12026 (getTrafficClass): Check impl.
12027 (getSendBufferSize): Check impl.
12028 (setReceiveBufferSize): Check impl, documentation added.
12029 (setSendBufferSize): Documentation added.
12030 (setDatagramSocketImplFactory): New method.
12031 * java/net/HttpURLConnection.java
12032 (HTTP_INTERNAL_ERROR): The correct code is 500.
12033 (HTTP_NOT_IMPLEMENTED): Added new constant.
12034 (setFollowRedirects): Documentation added.
12035 (getInstanceFollowRedirects): New method.
12036 (setInstanceFollowRedirects): New method.
12037 (setRequestMethod): Documentation added.
12038 (getResponseCode): Documentation added.
12039 (getResponseMessage): Documentation added.
12040 * java/net/JarURLConnection.java
12041 (JarURLConnection): protected since JDK 1.4.
12042 (getJarEntry): java.io.IOException to IOException, documentation added.
12043 (getJarFile): Documentation added.
12044 * java/net/ServerSocket.java
12045 (ServerSocket): Private to public, exception added.
12046 (ServerSocket): java.io.IOException to IOException, documentation added.
12047 (bind): Check socket address type, documentation added.
12048 (bind): java.io.IOException to IOException, documentation added.
12049 (accept): Documentation added.
12050 (implAccept): Check ch is not non-blocking, documentation added.
12051 (setSoTimeout): Documentation fixed.
12052 (setReceiveBufferSize): Documentation added.
12053 * java/net/Socket.java
12054 (Socket): Documentation added.
12055 (bind): Documentation added.
12056 (connect): Check socket address type, documentation added.
12057 (getRemoteSocketAddress): New method.
12058 (getLocalSocketAddress): New method.
12059 (setSoLinger): Documentation added.
12060 (getReuseAddress): New method.
12061 (setReuseAddress): New method.
12062 (getTrafficClass): New method.
12063 (setTrafficClass): New method.
12064 * java/net/URLStreamHandler.java
12065 (openConnection): java.io.IOException to IOException.
12066 (parseURL): Documentation added.
12067 (sameFile): public to protected, documentation added.
12068 (setURL): Documentation added.
12069 * java/nio/IllegalBlockingModeException.java: New file.
12070 * Makefile.am (ordinary_java_source_files):
12071 added java/nio/IllegalBlockingModeException.java
12072 * Makefile.in: Regenerated.
12074 2002-09-25 Michael Koch <konqueror@gmx.de>
12076 * java/net/DatagramPacket
12077 (DatagramPacket): Exception documentation added.
12078 (setData): Likewise.
12079 (setSocketAddress): Likewise.
12080 * java/net/DatagramSocketImpl.java
12081 (peek): Documentation addded.
12082 (peekData): Documentation addded.
12083 (send): Documentation addded.
12084 (receive): Documentation addded.
12085 (connect): New method.
12086 (disconnect): New method.
12087 (joinGroup): New abstract method.
12088 (leaveGroup): New abstract method.
12089 * java/net/InetSocketAddress.java
12090 (InetSocketAddress): Documentation added.
12091 (equals): final keyword added.
12092 (getAddress): final keyword added.
12093 (getHostName): final keyword added.
12094 (getPort): final keyword added.
12095 (hashCode): final keyword added.
12096 (isUnresolved): final keyword added.
12097 * java/net/MulticastSocket.java
12098 (MulticastSocket): Documentation added.
12099 (MulticastSocket): New method.
12100 (joinGroup): Documentation added.
12101 (joinGroup): New method.
12102 (leaveGroup): Documentation added.
12103 (leaveGroup): New method.
12104 (send): Documentation added.
12105 * java/net/NetworkInterface.java
12106 (getByName): Documentation added.
12107 (getByInetAddress): Documentation added.
12108 (getNetworkInterfaces): Documentation added.
12109 * java/net/PlainDatagramSocketImpl.java
12110 (connect): New method.
12111 (disconnect): New method.
12112 * java/net/SocketImpl.java
12113 (create): Documentation added.
12114 (shutdownInput): Convert public to protected, as it always was.
12115 (shutdownOutput): Convert public to protected, as it always was.
12116 * java/net/SocketOptions.java
12117 (whole file): Reintented.
12118 * java/net/URLClassLoader.java
12119 (URLClassLoader): SecurityManager check added, documentation added.
12120 (findResources): Documentation added.
12121 (findClass): Documentation added.
12122 (newInstance): More correct method arguments.
12123 * java/net/URLConnection.java
12124 (connect): Documentation added.
12125 (getContent): Documentation added.
12126 (getPermission): Documentation added.
12127 (getInputStream): Documentation added.
12128 (getOutputStream): Documentation added.
12129 (setDoInput): Throw correct exception, documentation added.
12130 (setDoOutput): Throw correct exception, documentation added.
12131 (setAllowUserInteraction): Throw correct exception, documentation added.
12132 (setUseCaches): Throw correct exception, documentation added.
12133 (setIfModifiedSince): Throw correct exception, documentation added.
12134 (setRequestProperty): Throw exception, documentation added.
12135 (addRequestProperty): Throw exception, documentation added.
12136 (getRequestProperty): Throw exception, documentation added.
12137 (getRequestProperties): Documentation added.
12138 (setContentHandlerFactory): Documentation added.
12139 (guessContentTypeFromName): protected to public.
12140 (setFileNameMap): Documentation added.
12141 * java/net/URLDecoder.java
12142 (URLDecoder): New method.
12143 (decode): Documentation added.
12144 (whole file): Reindented.
12145 * java/net/URLEncoder.java
12146 (encode): Documentation added.
12147 * java/net/natPlainDatagramSocketImpl.cc
12148 (connect): New method.
12149 (disconnect): New method.
12150 * javax/naming/RefAddr:
12151 (addrType): addrType was never final.
12152 (equals): Fix typo in method name.
12153 * javax/naming/BinaryRefAddr:
12154 (equals): Fix typo in method name.
12156 2002-09-22 Tom Tromey <tromey@redhat.com>
12158 Fix for PR libgcj/6576:
12159 * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
12160 didn't find a given bundle.
12161 (getBundle): Don't require base bundle.
12162 (setParent): Removed old comment.
12163 (tryLocalBundle): Try components even if preceding components were
12166 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12168 * Makefile.am (all-multi): Fix multilib parallel build.
12170 2002-09-21 Michael Koch <konqueror@gmx.de>
12172 * java/net/Socket.java
12173 (sendUrgentData): New method.
12174 (getChannel): New method.
12175 * java/net/ServerSocket.java
12176 (getChannel): New method.
12177 (isBound): New method.
12178 * java/net/DatagramSocket.java
12179 (DatagramSocket): Two new methods.
12180 (bind): New method.
12181 (getChannel): New method.
12182 (isBound): New method.
12183 (send): Added newline to to make shorter lines.
12184 * java/net/PlainDatagramSocketImpl.java
12185 (mcastGrp): Added argument.
12186 (join): Use new mcastGrp.
12187 (leave): Use new mcastGrp.
12188 (joinGroup): New method.
12189 (leaveGroup): New method.
12190 * java/net/natPlainDatagramSocketImpl.cc
12191 (mcastGrp): Added argument, no yet really implemented.
12192 (getOption): Added newline for shorter lines.
12193 * java/net/natPlainSocketImpl.cc
12194 (read, setOption, getOption): Added newline for shorter lines.
12196 2002-09-19 Tom Tromey <tromey@redhat.com>
12198 * java/lang/ClassLoader.java (resolveClass0): Set cause for
12199 newly-created exception.
12201 2002-09-18 Michael Koch <konqueror@gmx.de>
12203 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
12204 java/util/regex/PatternSyntaxException.java:
12205 Merge with classpath, new files.
12206 * Makefile.am (core_java_source_files):
12207 Added java/util/regex/Matcher.java,
12208 java/util/regex/Pattern.java,
12209 java/util/regex/PatternSyntaxException.java
12210 * Makefile.in: Regenerated.
12211 * include/config.h.in: Added HAVE_NET_IF_H.
12212 * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
12213 Removed #if 0 ... #endif.
12215 2002-09-17 Michael Koch <konqueror@gmx.de>
12217 * java/net/natNetworkInterface.cc:
12218 Removed unneed and yet wrong includes.
12220 2002-09-17 Michael Koch <konqueror@gmx.de>
12222 * java/net/NetworkInterface.java: New file.
12223 * java/net/natNetworkInterface.java: New file.
12224 * configure.in: Added check for net/if.h.
12225 * configure: Regenerated.
12227 (ordinary_java_source_files): Added NetworkInterface.java.
12228 (nat_source_files): Added natNetworkInterface.cc.
12229 * Makefile.in: Regenerated.
12231 2002-09-16 Tom Tromey <tromey@redhat.com>
12233 * java/net/URLClassLoader.java (findClass): Code source for a
12234 class from a jar is not necessarily a jar: URL.
12236 2002-09-16 Michael Koch <konqueror@gmx.de>
12238 * java/lang/AssertionError.java:
12239 Merge with classpath, fixes HTML.
12240 * java/rmi/server/LogStream.java:
12241 Merge with classpath, fixes some constants.
12242 * java/net/server/RemoteServer.java:
12243 Merge with classpath, adds serialVersionUID.
12244 * javax/naming/BinaryRefAddr.java:
12245 Merge with classpath, s/equal/equals/.
12246 * javax/naming/NamingException.java:
12247 Merge with classpath, fixed typo.
12248 * javax/naming/RefAddr.java:
12249 Merge with classpath, s/equal/equals/.
12250 * java/awt/Toolkit.java:
12251 s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
12254 2002-09-15 Adam Megacz <adam@xwt.org>
12256 * java/net/natPlainSocketImpl.cc: fixed typo.
12258 2002-09-15 Adam Megacz <adam@xwt.org>
12260 * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
12261 which don't work on Win32 (yet).
12263 2002-09-14 Adam Megacz <adam@xwt.org>
12265 * java/net/natPlainDatagramSocket.cc: removed #include
12266 <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
12267 * include/win32.h: included definition for IP_TOS to satisfy
12268 natPlainDatagramSocket.cc
12270 2002-09-13 Michael Koch <konqueror@gmx.de>
12272 * java/net/DatagramPacket.java (DatagramPacket):
12273 Added linebreak for 80 chars per line.
12274 * java/net/JarURLConection.java
12275 (getInputStreami, getJarEntry): Likewise.
12276 * java/net/SocketPErmission.java
12277 (SocketPermission class docu, implies): Likewise.
12278 * java/net/URLClassLoader.java (findResources): Likewise.
12279 * java/net/URLConnection.java: Reindendet remark for 80 chars per line
12281 2002-09-13 Michael Koch <konqueror@gmx.de>
12283 * java/nio/channels/DatagramChannel.java,
12284 java/nio/channels/ServerSocketChannel.java
12285 java/nio/channels/SocketChannel.java:
12286 New dummy files to make java.net fully JDK 1.4 compatible
12287 * Makefile.am (ordinary_java_source_files): Added
12288 java/net/DatagramSocketImplFactory.java (long forgotten),
12289 java/nio/SocketChannel.java,
12290 java/nio/ServerSocketChannel.java,
12291 java/nio/DatagramChannel.java
12292 * Makefile.in: Regenrated.
12294 2002-09-12 Michael Koch <konqueror@gmx.de>
12296 * java/net/DatagramSocketImpl.java
12297 (peekData): New method.
12298 * java/net/PlainDatagramSocketImpl.java
12299 (peekData): New method.
12300 * java/net/natPlainDatagramSocketImpl.cc
12301 (peekData): New method.
12302 * java/net/URLConnection
12303 (getPermission): New method.
12304 (addRequestProperty): New method.
12305 (getRequestProperties): New method.
12306 (guessContentTypeFromStream): New method, not really implemented.
12307 (URLConnection): Added/updated documentation.
12308 (connect): Added/updated documentation.
12309 (getURL): Added/updated documentation.
12310 (getContentLength): Added/updated documentation.
12311 (getContentType: Added/updated documentation.
12312 (getContentEncoding): Added/updated documentation.
12313 (getExpiration): Added/updated documentation.
12314 (getDate): Added/updated documentation.
12315 (getLastModified): Added/updated documentation.
12316 (getHeaderField): Added/updated documentation.
12317 (getHeaderFields): Added/updated documentation.
12318 (getHeaderFieldInt): Added/updated documentation.
12319 (getHeaderFieldDate): Added/updated documentation.
12320 (getHeaderFieldKey): Added/updated documentation.
12321 (getContent): Added/updated documentation.
12322 (getInputStream): Added/updated documentation.
12323 (getOutputStream): Added/updated documentation.
12324 (toString): Added/updated documentation.
12325 (setDoInput): Added/updated documentation.
12326 (getDoInput): Added/updated documentation.
12327 (setDoOutput): Added/updated documentation.
12328 (getDoOutput): Added/updated documentation.
12329 (setAllowUserInteraction): Added/updated documentation.
12330 (getAllowUserInteraction): Added/updated documentation.
12331 (setDefaultAllowUserInteraction): Added/updated documentation.
12332 (getDefaultAllowUserInteraction): Added/updated documentation.
12333 (setUseCaches): Added/updated documentation.
12334 (getUseCaches): Added/updated documentation.
12335 (setIfModifiedSince): Added/updated documentation.
12336 (getIfModifiedSince): Added/updated documentation.
12337 (getDefaultUseCaches): Added/updated documentation.
12338 (setDefaultUseCaches): Added/updated documentation.
12339 (setRequestProperty): Added/updated documentation.
12340 (getRequestProperty): Added/updated documentation.
12341 (setDefaultRequestProperty): Added/updated documentation.
12342 (getDefaultRequestProperty): Added/updated documentation.
12343 (setContentHandlerFactory): Added/updated documentation.
12344 (guessContentTypeFromName): Added/updated documentation.
12345 (getFileNameMap): Added/updated documentation.
12346 (setFileNameMap): Added/updated documentation.
12348 2002-09-11 Michael Koch <konqueror@gmx.de>
12350 * java/net/Socket.java
12351 (Socket): protected to public (since JDK 1.4). Added @specnote.
12352 (bind): New method.
12353 (connect): Two new methods.
12354 (getKeepalive): Get correct socket option.
12355 (setKeepalive): Set correct socket option.
12356 (getOOBInline): New method.
12357 (setOOBInline): New method.
12358 * java/net/ServerSocket.java
12359 (bind): Two new methods.
12360 (getInetAddress): Reimplemented, catch exception.
12361 (getLocalSocketAddress): New method.
12362 (setReuseAddress): New method.
12363 (getReuseAdress): New method.
12364 (setReceiveBufferSize): New method.
12365 (getReceiveBufferSize): New method.
12366 (toString): Made string JDK 1.4 compliant.
12368 2002-09-10 Michael Koch <konqueror@gmx.de>
12370 * java/net/SocketImpl.java
12371 (connect): New method.
12372 (supportsUrgentData): New method.
12373 (sendUrgentData): New method.
12374 * java/net/PlainSocketImpl.java
12375 (connect): One new method and two new implementation.
12376 (sendUrgentData): New method.
12377 * java/natPlainSocketImpl.cc
12378 (connect): Arguments changed, added support for timeouts.
12379 (getOption): Another __java_boolean to jboolean.
12381 2002-09-07 Adam Megacz <adam@xwt.org>
12383 * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
12384 definition of IP_TOS.
12386 2002-09-04 Michael Koch <konqueror@gmx.de>
12388 * java/net/DatagramSocket.java
12389 (DatagramSocket): Added documentation.
12391 (getLocalAddress): Likewise.
12392 (getLocalPort): Likewise.
12393 (receive): Likewise.
12395 (setSoTimeout): Likewise.
12396 (connect): New method.
12397 (disconnect): New method.
12398 (getInetAddress): New method (FIXME)
12399 (getPort): New method.
12400 (setReuseAddress): New method.
12401 (getReuseAddress): New method.
12402 (setBroadcast): New method.
12403 (getBroadcast): New method.
12404 (setTrafficClass): New method.
12405 (getTrafficClass): New method.
12406 * java/net/MulticastSocket.java):
12407 (getTTL): Added @see in documentation.
12408 (setTTL): Added @see in documentation.
12409 (setLoopbackMode): New method.
12410 (getLoopbackMode): New method.
12411 * java/net/PlainSocketImpl.java:
12412 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
12413 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12414 * java/net/PlainDatagramSocketImpl.java
12415 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
12416 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12417 * java/net/natPlainSocketImpl.cc
12418 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
12419 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12420 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
12421 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12422 This should also fix SO_KEEPALIVE
12423 * java/net/natPlainDatagramSocketImpl.cc
12424 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
12425 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12426 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
12427 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12429 2002-09-04 Michael Koch <konqueror@gmx.de>
12431 * java/net/SocketOptions.java: added static variables to be JDK 1.4
12432 compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
12433 IP_MULTICAST_LOOP, IP_TOS
12435 2002-09-03 Tom Tromey <tromey@redhat.com>
12437 * java/lang/Class.h (_getDeclaredMethod): Declare.
12438 (_getMethod): Now private.
12439 * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
12440 getDeclaredMethod. Now returns NULL on failure.
12441 * java/lang/Class.java (_getDeclaredMethod): Declare.
12442 (getDeclaredMethod): No longer native; implements access checks.
12444 2002-09-01 Mark Wielaard <mark@klomp.org>
12446 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
12447 (sanitizeStack): Correctly reset unknown and interpreter counters,
12448 detect interpreter runtime frames.
12449 (demangleInterpreterMethod): New method.
12450 * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
12451 * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
12452 filling in addrs[].
12454 2002-09-02 Michael Koch <konqueror@gmx.de>
12456 * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
12457 re-indented documentation.
12459 2002-08-30 Jesse Rosenstock <jmr@ugcs.caltech.edu>
12461 * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
12462 public, per 1.4 spec. Fixes PR libgcj/7785.
12464 2002-08-30 Jeff Sturm <jsturm@one-point.com>
12466 * Makefile.in: Rebuilt.
12467 * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
12469 2002-08-29 Tom Tromey <tromey@redhat.com>
12471 * java/net/JarURLConnection.java (getCertificates): New method
12473 * java/net/URLClassLoader.java (URLClassLoader): Extends
12475 (definePackage): New method from Classpath.
12476 (getPermissions): Likewise.
12477 (newInstance): Likewise.
12478 (findClass): Construct CodeSource for new class (from Classpath).
12479 * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
12481 * java/net/URL.java (getUserInfo): New method.
12482 (set(String,String,int,String,String,String,String,String)): New
12484 * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
12485 (shutdownInput, shutdownOutput): Declare.
12486 * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
12488 * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
12489 (getOption): Likewise.
12490 (shutdownInput): New method.
12491 (shutdownOutput): Likewise.
12492 * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
12494 (getOption): Likewise.
12495 * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
12496 * java/net/Socket.java (setKeepAlive): New method.
12497 (getKeepAlive): Likewise.
12498 (shutdownInput, shutdownOutput): New methods.
12500 2002-08-29 Michael Koch <konqueror@gmx.de>
12502 * java/net/DatagramPacket.java: updated to JDK 1.4 API
12504 DatagramPacket(byte[] buf, int offset, int length, SocketAddress
12506 DatagramPacket(byte[] buf, int length, SocketAddress address),
12507 void setSocketAddress(SocketAddress address)
12508 public SocketAddress getSocketAddress()
12510 2002-08-29 Tom Tromey <tromey@redhat.com>
12512 * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
12513 ftruncate is missing.
12514 * configure, include/config.h.in: Rebuilt.
12515 * acconfig.h (HAVE_FTRUNCATE): Mention.
12516 * configure.in: Check for ftruncate.
12518 2002-08-29 Tom Tromey <tromey@redhat.com>
12520 * include/jvm.h (struct _Jv_frame_info): New structure.
12521 * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
12523 (lookupInterp): New method.
12524 (getAddrAsString): Use _Jv_frame_info.
12525 (dladdrLookup): Likewise.
12526 * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
12528 (lookupInterp): Declare.
12529 * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
12530 (fillInStackTrace): Collect information on interpreted frames.
12531 Use _Jv_frame_info.
12532 * interpret.cc: Include Thread.h.
12533 (run): Create and push _Jv_MethodChain object.
12534 (_Jv_EndOfInterpreter): New global.
12535 * java/lang/Thread.java (interp_frame): New field.
12536 * include/java-interp.h (struct _Jv_MethodChain): New structure.
12537 Include NameFinder.h.
12539 2002-08-28 Tom Tromey <tromey@redhat.com>
12541 * java/lang/Class.h: Include Package.h.
12542 (Class::getProtectionDomain): Declare.
12543 (Class::getPackage): Declare.
12545 2002-08-28 Michael Koch <konqueror@gmx.de>
12547 * java/net/InetSocketAddress.java: Added some documentation and argument
12548 checks for the port numbers.
12549 * java/net/DatagramSocketImplFactory.java: New file.
12551 2002-08-28 Michael Koch <konqueror@gmx.de>
12553 * java/net/Authenticator.java: added some documentation.
12555 2002-08-27 Tom Tromey <tromey@redhat.com>
12557 * java/lang/reflect/natConstructor.cc (newInstance): Initialize
12559 * java/lang/reflect/natMethod.cc (invoke): Initialize class.
12561 2002-08-27 Michael Koch <konqueror@gmx.de>
12563 * java/net/BindException.java,
12564 java/net/JarURLConnection.java,
12565 java/net/FileNameMap.java,
12566 java/net/HttpURLConnection.java,
12567 java/net/InetSocketAddress.java,
12568 java/net/DatagramPacket.java,
12569 java/net/DatagramSocket.java,
12570 java/net/DatagramSocketImpl.java,
12571 java/net/MulticastSocket.java,
12572 java/net/PasswordAuthentication.java,
12573 java/net/ServerSocket.java,
12574 java/net/Socket.java,
12575 java/net/URLClassLoader.java,
12576 java/net/URLConnection.java: add/update of some @since/@deprecated
12578 2002-08-27 Tony Kimball <alk@pobox.com>
12579 Tom Tromey <tromey@redhat.com>
12581 * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
12583 (::close): Removed.
12584 (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
12585 * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
12586 (::close): Removed.
12587 (PlainSocketImpl::close): Use NATIVE_CLOSE.
12588 * include/win32.h (getcwd): Removed declaration. Include io.h.
12590 2002-08-25 Adam Megacz <adam@xwt.org>
12592 * include/win32.h (getcwd): copied function declaration as
12593 temporary fix for header confusion.
12595 2002-08-24 Mark Wielaard <mark@klomp.org>
12597 * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
12598 (core_java_source_files): Add VMThrowable.java and NameFinder.java
12599 (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
12600 and natNameFinder.cc.
12601 * Makefile.in: Regenerate.
12602 * prims.cc: Use trace_enabled from VMThrowable.
12603 * name-finder.cc: Removed.
12604 * gcj/javaprims.h: Add class VMThrowable.
12605 * gnu/gcj/runtime/NameFinder.java: New file.
12606 * gnu/gcj/runtime/natNameFinder.cc: Likewise.
12607 * include/name-finder.h: Removed.
12608 * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
12609 method stackTraceString().
12610 (printStackTrace (PrintWriter)): Likewise.
12611 (stackTraceString): Complete rewrite of old printStackTrace using
12613 (stackTraceStringBuffer): New helper method for stackTraceString().
12614 (fillInStackTrace): Delegate to VMTrowable.
12615 (getStackTrace): Likewise.
12616 (getStackTrace0): Removed.
12617 (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
12618 (setStackTrace): Copy given array.
12619 * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
12620 * java/lang/VMThrowable.java: New class.
12621 * java/lang/natVMThrowable.cc: New file.
12623 2003-08-23 Michael Koch <konqueror@gmx.de>
12625 * java/net/URLConnection.java,
12626 java/netJarURLConnection.java,
12627 gnu/gcj/protocol/core/Connection.java,
12628 gnu/gcj/protocol/file/Connection.java,
12629 gnu/gcj/protocol/http/Connection.java: Added implementation of
12632 2002-08-22 Tom Tromey <tromey@redhat.com>
12634 * gij.cc (help): Document -cp and -classpath.
12635 (main): Handle -classpath.
12637 2002-08-21 Tom Tromey <tromey@redhat.com>
12639 * Makefile.in: Rebuilt.
12640 * Makefile.am (ordinary_java_source_files): Added
12641 SocketAddress.java, InetSocketAddress.java.
12642 * java/net/PortUnreachableException.java: Merged with Classpath.
12643 * java/net/SocketTimeoutException.java: Likewise.
12644 * java/net/URISyntaxException.java: Likewise.
12645 * java/net/SocketAddress.java: New class from Classpath.
12646 * java/net/InetSocketAddress.java: Likewise.
12648 2003-08-21 Michael Koch <konqueror@gmx.de>
12650 * java/net/Authenticator.java: updated JDK 1.4
12651 * java/net/ContentHandler.java: updated JDK 1.4
12653 2002-08-20 Michael Koch <konqueror@gmx.de>
12655 * java/net/URISyntaxException.java: New file.
12656 * java/net/SocketTimeoutException.java: New file.
12657 * java/net/PortUnreachableException.java: New file.
12658 * Makefile.am: Updated.
12659 * Makefile.in: Rebuilt.
12661 2002-08-18 Mark Wielaard <mark@klomp.org>
12663 Thanks to Vladimir Puskas <vpuskas@eunet.yu>
12664 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
12665 MessageDigestSpi (fixes Classpath bug #783).
12667 2002-08-14 Jesse Rosenstock <jmr@ugcs.caltech.edu>
12669 * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
12670 (startProcess): Allocate path for chdir in async-signal-safe way.
12672 2002-08-13 Jesse Rosenstock <jmr@ugcs.caltech.edu>
12674 Fix for PR libgcj/7570 and PR libgcj/7578:
12675 * java/lang/natPosixProcess.cc: Include java/io/File.h.
12676 (startProcess): Handle new `dir' argument.
12677 * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
12679 * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
12681 (startProcess): Likewise.
12682 * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
12684 * java/lang/Runtime.java (execInternal): Added `dir' argument.
12685 (exec): Don't create new environment if ENV==null. Pass DIR to
12687 * java/lang/natRuntime.cc: Include java/io/File.h.
12688 (execInternal): Added `dir' argument.
12690 2002-08-13 Jesse Rosenstock <jmr@fulcrummicro.com>
12692 * java/io/RandomAccessFile.java (skipBytes): Return number of
12695 2002-08-01 Mark Wielaard <mark@klomp.org>
12697 Reenable patch since shared library troubles on powerpc are solved:
12698 * gnu/java/security/provider/Gnu.java: Reference all implementation
12699 classes by using Class.getName().
12700 * gnu/java/security/der/DEREncodingException.java,
12701 gnu/java/security/provider/DERReader.java,
12702 gnu/java/security/provider/DERWriter.java,
12703 gnu/java/security/provider/DSAKeyPairGenerator.java,
12704 gnu/java/security/provider/DSAParameterGenerator.java,
12705 gnu/java/security/provider/DSAParameters.java,
12706 gnu/java/security/provider/DSASignature.java,
12707 gnu/java/security/provider/GnuDSAPrivateKey.java,
12708 gnu/java/security/provider/GnuDSAPublicKey.java,
12709 gnu/java/security/provider/MD5.java,
12710 gnu/java/security/util/Prime.java: New classes
12711 * Makefile.am (ordinary_java_source_files): Add above files.
12712 * Makefile.in: Regenerate.
12713 * gnu/java/security/provider/DefaultPolicy.java
12714 (getPermissions): Don't maintain static class variable of Permissions.
12715 * gnu/java/security/provider/SHA.java
12716 (engineUpdate): algorithm change.
12717 (engineDigest): algorithm change.
12719 2002-08-09 Mark Wielaard <mark@klomp.org>
12721 * java/awt/image/MemoryImageSource.java: Change constructor to take
12723 * java/awt/Graphics2D.java: Uncomment methods that can now be
12725 * java/awt/GridBagLayout.java: New stub implementation.
12726 * javax/swing/text/html/HTML.java: Stub implementation.
12727 * javax/swing/text/html/parser/ParserDelegator.java: New stub
12730 * Makefile.am: Add new files.
12731 * Makefile.in: Rebuilt.
12733 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12735 * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
12736 methods in Graphics2D.
12738 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12740 AWT/Swing merge from GNU Classpath.
12742 * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
12743 java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
12744 java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
12745 java/awt/color/ProfileDataException.java,
12746 java/awt/CompositeContext.java, java/awt/Composite.java,
12747 java/awt/ContainerOrderFocusTraversalPolicy.java,
12748 java/awt/datatransfer/FlavorTable.java,
12749 java/awt/DefaultFocusTraversalPolicy.java,
12750 java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
12751 java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
12752 java/awt/dnd/DragGestureListener.java,
12753 java/awt/dnd/DragGestureRecognizer.java,
12754 java/awt/dnd/DragSourceAdapter.java,
12755 java/awt/dnd/DragSourceContext.java,
12756 java/awt/dnd/DragSourceDragEvent.java,
12757 java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
12758 java/awt/dnd/DragSourceListener.java,
12759 java/awt/dnd/DragSourceMotionListener.java,
12760 java/awt/dnd/DropTarget.java,
12761 java/awt/dnd/InvalidDnDOperationException.java,
12762 java/awt/dnd/peer/DragSourceContextPeer.java,
12763 java/awt/event/AWTEventListenerProxy.java,
12764 java/awt/event/MouseWheelEvent.java,
12765 java/awt/event/MouseWheelListener.java,
12766 java/awt/event/WindowFocusListener.java,
12767 java/awt/event/WindowStateListener.java,
12768 java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
12769 java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
12770 java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
12771 java/awt/geom/FlatteningPathIterator.java,
12772 java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
12773 java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
12774 java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
12775 java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
12776 java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
12777 java/awt/image/ImagingOpException.java,
12778 java/awt/image/RasterFormatException.java,
12779 java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
12780 java/awt/image/VolatileImage.java,
12781 java/awt/image/WritableRenderedImage.java,
12782 java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
12783 java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
12784 java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
12785 java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
12786 java/awt/PageAttributes.java, java/awt/print/Book.java,
12787 java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
12788 java/awt/print/Paper.java, java/awt/print/Printable.java,
12789 java/awt/print/PrinterAbortException.java,
12790 java/awt/print/PrinterException.java,
12791 java/awt/print/PrinterGraphics.java,
12792 java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
12793 java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
12794 java/awt/Stroke.java, java/awt/TexturePaint.java,
12795 javax/accessibility/AccessibleAction.java,
12796 javax/accessibility/AccessibleBundle.java,
12797 javax/accessibility/AccessibleComponent.java,
12798 javax/accessibility/AccessibleContext.java,
12799 javax/accessibility/AccessibleEditableText.java,
12800 javax/accessibility/AccessibleExtendedComponent.java,
12801 javax/accessibility/AccessibleExtendedTable.java,
12802 javax/accessibility/AccessibleHyperlink.java,
12803 javax/accessibility/AccessibleHypertext.java,
12804 javax/accessibility/AccessibleIcon.java,
12805 javax/accessibility/Accessible.java,
12806 javax/accessibility/AccessibleKeyBinding.java,
12807 javax/accessibility/AccessibleRelation.java,
12808 javax/accessibility/AccessibleRelationSet.java,
12809 javax/accessibility/AccessibleResourceBundle.java,
12810 javax/accessibility/AccessibleRole.java,
12811 javax/accessibility/AccessibleSelection.java,
12812 javax/accessibility/AccessibleState.java,
12813 javax/accessibility/AccessibleStateSet.java,
12814 javax/accessibility/AccessibleTable.java,
12815 javax/accessibility/AccessibleTableModelChange.java,
12816 javax/accessibility/AccessibleText.java,
12817 javax/accessibility/AccessibleValue.java,
12818 javax/swing/AbstractAction.java,
12819 javax/swing/AbstractButton.java,
12820 javax/swing/AbstractCellEditor.java,
12821 javax/swing/AbstractListModel.java,
12822 javax/swing/AbstractSet.java, javax/swing/Action.java,
12823 javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
12824 javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
12825 javax/swing/border/CompoundBorder.java,
12826 javax/swing/border/EmptyBorder.java,
12827 javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
12828 javax/swing/border/LineBorder.java,
12829 javax/swing/border/MatteBorder.java,
12830 javax/swing/border/TitledBorder.java,
12831 javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
12832 javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
12833 javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
12834 javax/swing/CellRendererPane.java,
12835 javax/swing/colorchooser/AbstractColorChooserPanel.java,
12836 javax/swing/colorchooser/ColorChooserComponentFactory.java,
12837 javax/swing/colorchooser/ColorSelectionModel.java,
12838 javax/swing/colorchooser/DefaultColorSelectionModel.java,
12839 javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
12840 javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
12841 javax/swing/DefaultBoundedRangeModel.java,
12842 javax/swing/DefaultButtonModel.java,
12843 javax/swing/DefaultCellEditor.java,
12844 javax/swing/DefaultCellRenderer.java,
12845 javax/swing/DefaultComboBoxModel.java,
12846 javax/swing/DefaultDesktopManager.java,
12847 javax/swing/DefaultFocusManager.java,
12848 javax/swing/DefaultListCellRenderer.java,
12849 javax/swing/DefaultListModel.java,
12850 javax/swing/DefaultListSelectionModel.java,
12851 javax/swing/DefaultSingleSelectionModel.java,
12852 javax/swing/DesktopManager.java,
12853 javax/swing/event/AncestorEvent.java,
12854 javax/swing/event/AncestorListener.java,
12855 javax/swing/event/CaretEvent.java,
12856 javax/swing/event/CaretListener.java,
12857 javax/swing/event/CellEditorListener.java,
12858 javax/swing/event/ChangeEvent.java,
12859 javax/swing/event/ChangeListener.java,
12860 javax/swing/event/DocumentEvent.java,
12861 javax/swing/event/DocumentListener.java,
12862 javax/swing/event/EventListenerList.java,
12863 javax/swing/event/HyperlinkEvent.java,
12864 javax/swing/event/HyperlinkListener.java,
12865 javax/swing/event/InternalFrameAdapter.java,
12866 javax/swing/event/InternalFrameEvent.java,
12867 javax/swing/event/InternalFrameListener.java,
12868 javax/swing/event/ListDataEvent.java,
12869 javax/swing/event/ListDataListener.java,
12870 javax/swing/event/ListSelectionEvent.java,
12871 javax/swing/event/ListSelectionListener.java,
12872 javax/swing/event/MenuDragMouseEvent.java,
12873 javax/swing/event/MenuDragMouseListener.java,
12874 javax/swing/event/MenuEvent.java,
12875 javax/swing/event/MenuKeyEvent.java,
12876 javax/swing/event/MenuKeyListener.java,
12877 javax/swing/event/MenuListener.java,
12878 javax/swing/event/MouseInputAdapter.java,
12879 javax/swing/event/MouseInputListener.java,
12880 javax/swing/event/PopupMenuEvent.java,
12881 javax/swing/event/PopupMenuListener.java,
12882 javax/swing/event/SwingPropertyChangeSupport.java,
12883 javax/swing/event/TableColumnModelEvent.java,
12884 javax/swing/event/TableColumnModelListener.java,
12885 javax/swing/event/TableModelEvent.java,
12886 javax/swing/event/TableModelListener.java,
12887 javax/swing/event/TreeExpansionEvent.java,
12888 javax/swing/event/TreeExpansionListener.java,
12889 javax/swing/event/TreeModelEvent.java,
12890 javax/swing/event/TreeModelListener.java,
12891 javax/swing/event/TreeSelectionEvent.java,
12892 javax/swing/event/TreeSelectionListener.java,
12893 javax/swing/event/TreeWillExpandListener.java,
12894 javax/swing/event/UndoableEditEvent.java,
12895 javax/swing/event/UndoableEditListener.java,
12896 javax/swing/filechooser/FileFilter.java,
12897 javax/swing/filechooser/FileSystemView.java,
12898 javax/swing/filechooser/FileView.java,
12899 javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
12900 javax/swing/Icon.java, javax/swing/ImageIcon.java,
12901 javax/swing/InputMap.java, javax/swing/InputVerifier.java,
12902 javax/swing/JApplet.java, javax/swing/JButton.java,
12903 javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
12904 javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
12905 javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
12906 javax/swing/JDialog.java, javax/swing/JEditorPane.java,
12907 javax/swing/JFileChooser.java, javax/swing/JFrame.java,
12908 javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
12909 javax/swing/JLayeredPane.java, javax/swing/JList.java,
12910 javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
12911 javax/swing/JMenu.java, javax/swing/JOptionPane.java,
12912 javax/swing/JPanel.java, javax/swing/JPasswordField.java,
12913 javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
12914 javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
12915 javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
12916 javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
12917 javax/swing/JSlider.java, javax/swing/JSplitPane.java,
12918 javax/swing/JTabbedPane.java, javax/swing/JTable.java,
12919 javax/swing/JTextField.java, javax/swing/JTextPane.java,
12920 javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
12921 javax/swing/JToolTip.java, javax/swing/JTree.java,
12922 javax/swing/JViewport.java, javax/swing/JWindow.java,
12923 javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
12924 javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
12925 javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
12926 javax/swing/MenuSelectionManager.java,
12927 javax/swing/MutableComboBoxModel.java,
12928 javax/swing/OverlayLayout.java,
12929 javax/swing/plaf/ActionMapUIResource.java,
12930 javax/swing/plaf/basic/BasicBorders.java,
12931 javax/swing/plaf/basic/BasicButtonUI.java,
12932 javax/swing/plaf/basic/BasicCheckBoxUI.java,
12933 javax/swing/plaf/basic/BasicDefaults.java,
12934 javax/swing/plaf/basic/BasicGraphicsUtils.java,
12935 javax/swing/plaf/basic/BasicIconFactory.java,
12936 javax/swing/plaf/basic/BasicLabelUI.java,
12937 javax/swing/plaf/basic/BasicListUI.java,
12938 javax/swing/plaf/basic/BasicLookAndFeel.java,
12939 javax/swing/plaf/basic/BasicOptionPaneUI.java,
12940 javax/swing/plaf/basic/BasicPanelUI.java,
12941 javax/swing/plaf/basic/BasicRadioButtonUI.java,
12942 javax/swing/plaf/basic/BasicScrollPaneUI.java,
12943 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
12944 javax/swing/plaf/basic/BasicTextUI.java,
12945 javax/swing/plaf/basic/BasicToggleButtonUI.java,
12946 javax/swing/plaf/basic/BasicTreeUI.java,
12947 javax/swing/plaf/basic/BasicViewportUI.java,
12948 javax/swing/plaf/BorderUIResource.java,
12949 javax/swing/plaf/ButtonUI.java,
12950 javax/swing/plaf/ColorChooserUI.java,
12951 javax/swing/plaf/ColorUIResource.java,
12952 javax/swing/plaf/ComboBoxUI.java,
12953 javax/swing/plaf/ComponentInputMapUIResource.java,
12954 javax/swing/plaf/ComponentUI.java,
12955 javax/swing/plaf/DesktopIconUI.java,
12956 javax/swing/plaf/DesktopPaneUI.java,
12957 javax/swing/plaf/DimensionUIResource.java,
12958 javax/swing/plaf/FileChooserUI.java,
12959 javax/swing/plaf/FontUIResource.java,
12960 javax/swing/plaf/IconUIResource.java,
12961 javax/swing/plaf/InputMapUIResource.java,
12962 javax/swing/plaf/InsetsUIResource.java,
12963 javax/swing/plaf/InternalFrameUI.java,
12964 javax/swing/plaf/LabelUI.java,
12965 javax/swing/plaf/ListUI.java,
12966 javax/swing/plaf/MenuBarUI.java,
12967 javax/swing/plaf/MenuItemUI.java,
12968 javax/swing/plaf/OptionPaneUI.java,
12969 javax/swing/plaf/PanelUI.java,
12970 javax/swing/plaf/PopupMenuUI.java,
12971 javax/swing/plaf/ProgressBarUI.java,
12972 javax/swing/plaf/RootPaneUI.java,
12973 javax/swing/plaf/ScrollBarUI.java,
12974 javax/swing/plaf/ScrollPaneUI.java,
12975 javax/swing/plaf/SeparatorUI.java,
12976 javax/swing/plaf/SliderUI.java,
12977 javax/swing/plaf/SplitPaneUI.java,
12978 javax/swing/plaf/TabbedPaneUI.java,
12979 javax/swing/plaf/TableHeaderUI.java,
12980 javax/swing/plaf/TableUI.java,
12981 javax/swing/plaf/TextUI.java,
12982 javax/swing/plaf/ToolBarUI.java,
12983 javax/swing/plaf/ToolTipUI.java,
12984 javax/swing/plaf/TreeUI.java,
12985 javax/swing/plaf/UIResource.java,
12986 javax/swing/plaf/ViewportUI.java,
12987 javax/swing/ProgressMonitorInputStream.java,
12988 javax/swing/ProgressMonitor.java,
12989 javax/swing/Renderer.java,
12990 javax/swing/RepaintManager.java,
12991 javax/swing/RootPaneContainer.java,
12992 javax/swing/Scrollable.java,
12993 javax/swing/ScrollPaneConstants.java,
12994 javax/swing/ScrollPaneLayout.java,
12995 javax/swing/SingleSelectionModel.java,
12996 javax/swing/SizeRequirements.java,
12997 javax/swing/SizeSequence.java,
12998 javax/swing/SwingConstants.java,
12999 javax/swing/SwingUtilities.java,
13000 javax/swing/table/AbstractTableModel.java,
13001 javax/swing/table/DefaultTableCellRenderer.java,
13002 javax/swing/table/DefaultTableColumnModel.java,
13003 javax/swing/table/DefaultTableModel.java,
13004 javax/swing/table/TableCellEditor.java,
13005 javax/swing/table/TableCellRenderer.java,
13006 javax/swing/table/TableColumn.java,
13007 javax/swing/table/TableColumnModel.java,
13008 javax/swing/table/TableModel.java,
13009 javax/swing/text/AbstractDocument.java,
13010 javax/swing/text/AttributeSet.java,
13011 javax/swing/text/BadLocationException.java,
13012 javax/swing/text/Caret.java,
13013 javax/swing/text/CharacterIterator.java,
13014 javax/swing/text/ComponentView.java,
13015 javax/swing/text/DefaultCaret.java,
13016 javax/swing/text/DefaultEditorKit.java,
13017 javax/swing/text/Document.java,
13018 javax/swing/text/EditorKit.java,
13019 javax/swing/text/Element.java,
13020 javax/swing/text/GapContent.java,
13021 javax/swing/text/JTextComponent.java,
13022 javax/swing/text/Keymap.java,
13023 javax/swing/text/MutableAttributeSet.java,
13024 javax/swing/text/PlainDocument.java,
13025 javax/swing/text/PlainEditorKit.java,
13026 javax/swing/text/Position.java,
13027 javax/swing/text/Segment.java,
13028 javax/swing/text/StyledDocument.java,
13029 javax/swing/text/StyledEditorKit.java,
13030 javax/swing/text/Style.java,
13031 javax/swing/text/TextAction.java,
13032 javax/swing/text/ViewFactory.java,
13033 javax/swing/text/View.java,
13034 javax/swing/Timer.java,
13035 javax/swing/ToggleButtonModel.java,
13036 javax/swing/ToolTipManager.java,
13037 javax/swing/tree/AbstractLayoutCache.java,
13038 javax/swing/tree/DefaultMutableTreeNode.java,
13039 javax/swing/tree/DefaultTreeCellEditor.java,
13040 javax/swing/tree/DefaultTreeCellRenderer.java,
13041 javax/swing/tree/DefaultTreeModel.java,
13042 javax/swing/tree/DefaultTreeSelectionModel.java,
13043 javax/swing/tree/ExpandVetoException.java,
13044 javax/swing/tree/FixedHeightLayoutCache.java,
13045 javax/swing/tree/MutableTreeNode.java,
13046 javax/swing/tree/RowMapper.java,
13047 javax/swing/tree/TreeCellEditor.java,
13048 javax/swing/tree/TreeCellRenderer.java,
13049 javax/swing/tree/TreeModel.java,
13050 javax/swing/tree/TreeNode.java,
13051 javax/swing/tree/TreePath.java,
13052 javax/swing/tree/TreeSelectionModel.java,
13053 javax/swing/tree/VariableHeightLayoutCache.java,
13054 javax/swing/UIDefaults.java,
13055 javax/swing/UIManager.java,
13056 javax/swing/undo/AbstractUndoableEdit.java,
13057 javax/swing/undo/CannotRedoException.java,
13058 javax/swing/undo/CannotUndoException.java,
13059 javax/swing/undo/CompoundEdit.java,
13060 javax/swing/undo/StateEditable.java,
13061 javax/swing/undo/StateEdit.java,
13062 javax/swing/undo/UndoableEdit.java,
13063 javax/swing/undo/UndoableEditSupport.java,
13064 javax/swing/undo/UndoManager.java,
13065 javax/swing/UnsupportedLookAndFeelException.java,
13066 javax/swing/ViewportLayout.java,
13067 javax/swing/WindowConstants.java: New files, from GNU Classpath.
13069 * java/awt/ActiveEvent.java,
13070 java/awt/Adjustable.java, java/awt/AWTError.java,
13071 java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
13072 java/awt/AWTException.java, java/awt/AWTPermission.java,
13073 java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
13074 java/awt/Color.java, java/awt/Component.java,
13075 java/awt/ComponentOrientation.java, java/awt/Container.java,
13076 java/awt/datatransfer/MimeTypeParseException.java,
13077 java/awt/datatransfer/Transferable.java,
13078 java/awt/datatransfer/UnsupportedFlavorException.java,
13079 java/awt/Dimension.java, java/awt/event/ActionEvent.java,
13080 java/awt/event/ActionListener.java,
13081 java/awt/event/AdjustmentEvent.java,
13082 java/awt/event/AdjustmentListener.java,
13083 java/awt/event/AWTEventListener.java,
13084 java/awt/event/ComponentAdapter.java,
13085 java/awt/event/ComponentEvent.java,
13086 java/awt/event/ComponentListener.java,
13087 java/awt/event/ContainerAdapter.java,
13088 java/awt/event/ContainerEvent.java,
13089 java/awt/event/ContainerListener.java,
13090 java/awt/event/FocusAdapter.java,
13091 java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
13092 java/awt/event/HierarchyBoundsAdapter.java,
13093 java/awt/event/HierarchyBoundsListener.java,
13094 java/awt/event/HierarchyEvent.java,
13095 java/awt/event/HierarchyListener.java,
13096 java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
13097 java/awt/event/InputMethodListener.java,
13098 java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
13099 java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
13100 java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
13101 java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
13102 java/awt/event/MouseListener.java,
13103 java/awt/event/MouseMotionAdapter.java,
13104 java/awt/event/MouseMotionListener.java,
13105 java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
13106 java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
13107 java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
13108 java/awt/event/WindowListener.java, java/awt/Font.java,
13109 java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
13110 java/awt/geom/Ellipse2D.java,
13111 java/awt/geom/IllegalPathStateException.java,
13112 java/awt/geom/Line2D.java,
13113 java/awt/geom/NoninvertibleTransformException.java,
13114 java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
13115 java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
13116 java/awt/geom/RoundRectangle2D.java,
13117 java/awt/GraphicsConfiguration.java,
13118 java/awt/IllegalComponentStateException.java,
13119 java/awt/image/IndexColorModel.java,
13120 java/awt/Image.java, java/awt/image/MemoryImageSource.java,
13121 java/awt/image/PixelGrabber.java, java/awt/Insets.java,
13122 java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
13123 java/awt/LayoutManager.java, java/awt/MenuContainer.java,
13124 java/awt/MenuItem.java, java/awt/PaintContext.java,
13125 java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
13126 java/awt/Polygon.java, java/awt/PrintGraphics.java,
13127 java/awt/PrintJob.java, java/awt/Rectangle.java,
13128 java/awt/RenderingHints.java, java/awt/ScrollPane.java,
13129 java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
13130 java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
13132 * java/awt/im/spi/InputMethod.java,
13133 java/awt/im/spi/InputMethodContext.java,
13134 java/awt/im/spi/InputMethodDescriptor.java,
13135 java/awt/image/renderable/ContextualRenderedImageFactory.java,
13136 java/awt/image/renderable/ParameterBlock.java,
13137 java/awt/image/renderable/RenderContext.java,
13138 java/awt/image/renderable/RenderableImage.java,
13139 java/awt/image/renderable/RenderableImageOp.java,
13140 java/awt/image/renderable/RenderableImageProducer.java,
13141 java/awt/image/renderable/RenderedImageFactory.java: New files from
13144 * gnu/java/awt/EventModifier.java,
13145 gnu/java/awt/image/ImageDecoder.java,
13146 gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
13148 * gnu/awt/xlib/XGraphicsConfiguration.java,
13149 gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
13152 * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
13155 * Makefile.am: Add new files.
13156 * Makefile.in: Rebuilt.
13158 2002-08-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13160 * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
13161 defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
13162 findResource, getResources, findResources): Add javadoc from classpath.
13163 (getSystemResources): Implemented.
13165 2002-08-01 Mark Wielaard <mark@klomp.org>
13167 Revert patch that breaks libgcj shared library on powerpc:
13168 * gnu/java/security/provider/Gnu.java: Reverse referencing all
13169 implementation classes by using Class.getName(). Uses Strings again.
13170 * gnu/java/security/der/DEREncodingException.java,
13171 gnu/java/security/provider/DERReader.java,
13172 gnu/java/security/provider/DERWriter.java,
13173 gnu/java/security/provider/DSAKeyPairGenerator.java,
13174 gnu/java/security/provider/DSAParameterGenerator.java,
13175 gnu/java/security/provider/DSAParameters.java,
13176 gnu/java/security/provider/DSASignature.java,
13177 gnu/java/security/provider/GnuDSAPrivateKey.java,
13178 gnu/java/security/provider/GnuDSAPublicKey.java,
13179 gnu/java/security/provider/MD5.java,
13180 gnu/java/security/util/Prime.java: Removed.
13181 * Makefile.am (ordinary_java_source_files): Remove above files.
13182 * Makefile.in: Regenerate.
13183 * gnu/java/security/provider/DefaultPolicy.java
13184 (getPermissions): Revert to maintaining static class variable of
13186 * gnu/java/security/provider/SHA.java
13187 (engineUpdate): Revert algorithm change.
13188 (engineDigest): Revert algorithm change.
13190 2002-08-01 Kaz Kojima <kkojima@gcc.gnu.org>
13192 * configure.host: Add SH support.
13193 * sysdep/sh/locks.h: New file.
13195 2002-07-31 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13197 * java/awt/Frame.java (Frame): Remove println calls.
13199 2002-07-30 Jeff Sturm <jsturm@one-point.com>
13201 * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
13202 * configure: Rebuilt.
13204 2002-07-27 Alan Modra <amodra@bigpond.net.au>
13206 * sysdep/powerpc/locks.h: Formatting.
13209 (compare_and_swap): Use _LARX and _STCX.
13210 (compare_and_swap_release): Likewise.
13212 2002-07-26 Tom Tromey <tromey@redhat.com>
13214 * java/net/Authenticator.java: New version from Classpath.
13215 * java/net/DatagramSocketImpl.java: New version from Classpath.
13217 2002-07-27 Alan Modra <amodra@bigpond.net.au>
13219 * configure.host: Add powerpc64*-* entry.
13221 2002-07-26 Tom Tromey <tromey@redhat.com>
13223 * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
13226 2002-07-24 Tom Tromey <tromey@redhat.com>
13228 * java/lang/Runtime.java (loadLibrary): Pass `true' as search
13231 2002-07-24 Tom Tromey <tromey@redhat.com>
13232 Tony Kimball <alk@pobox.com>
13234 * java/io/natFileDescriptorWin32.cc (setLength): New method.
13235 * java/io/natFileDescriptorPosix.cc (setLength): New method.
13236 * java/io/RandomAccessFile.java (setLength): New method.
13237 * java/io/natFileDescriptorEcos.cc (setLength): New method.
13238 * java/io/FileDescriptor.java (setLength): New method.
13240 2002-07-24 Mark Wielaard <mark@klomp.org>
13242 * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
13243 * java/io/ObjectInputStream.java (setBooleanField): Before setting
13244 field call setAccessible(true).
13245 (setByteField): Likewise.
13246 (setCharField): Likewise.
13247 (setDoubleField): Likewise.
13248 (setFloatField): Likewise.
13249 (setIntField): Likewise.
13250 (setLongField): Likewise.
13251 (setShortField): Likewise.
13252 (setObjectField): Likewise.
13254 2002-07-24 Tom Tromey <tromey@redhat.com>
13256 * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
13257 use toString() to format array element.
13259 2002-07-23 Mark Wielaard <mark@klomp.org>
13261 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
13262 MessageDigestSpi (fixes Classpath bug #783).
13264 2002-07-21 Mark Wielaard <mark@klomp.org>
13266 * gnu/java/security/provider/Gnu.java: Reference all implementation
13267 classes by using Class.getName().
13269 2002-07-19 Bo Thorsen <bo@berlioz.suse.de>
13271 * java/lang/ieeefp.h: Add x86-64 support.
13272 * configure.in: Likewise.
13273 * configure.host: Likewise.
13274 * configure: Regenerated.
13275 * sysdep/x86-64/locks.h: New file with x86-64 locks.
13277 2002-07-16 Mark Wielaard <mark@klomp.org>
13279 * java/io/StreamTokenizer.java (pushBack): Update documentation.
13280 (whitespaceChars): call resetChar().
13282 2002-07-15 Tom Tromey <tromey@redhat.com>
13284 * Makefile.in: Rebuilt.
13285 * Makefile.am (awt_java_source_files): Added new files.
13286 * java/beans/ExceptionListener.java: Merged with Classpath.
13287 * java/beans/PropertyChangeEvent.java: Merged with Classpath.
13288 * java/beans/PropertyChangeListener.java: Merged with Classpath.
13289 * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
13290 * java/beans/PropertyChangeSupport.java: Merged with Classpath.
13291 * java/beans/VetoableChangeListener.java: Merged with Classpath.
13292 * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
13293 * java/beans/VetoableChangeSupport.java: Merged with Classpath.
13295 2002-07-14 Mark Wielaard <mark@klomp.org>
13297 * gnu/java/security/der/DEREncodingException.java,
13298 gnu/java/security/provider/DERReader.java,
13299 gnu/java/security/provider/DERWriter.java,
13300 gnu/java/security/provider/DSAKeyPairGenerator.java,
13301 gnu/java/security/provider/DSAParameterGenerator.java,
13302 gnu/java/security/provider/DSAParameters.java,
13303 gnu/java/security/provider/DSASignature.java,
13304 gnu/java/security/provider/GnuDSAPrivateKey.java,
13305 gnu/java/security/provider/GnuDSAPublicKey.java,
13306 gnu/java/security/provider/MD5.java,
13307 gnu/java/security/util/Prime.java: New files from Classpath.
13308 * Makefile.am (ordinary_java_source_files): Add new files.
13309 * Makefile.in: Regenerate.
13311 2002-07-14 C. Brian Jones <cbj@gnu.org>
13313 * gnu/java/security/provider/DefaultPolicy.java
13314 (getPermissions): do not maintain static class variable of
13316 * gnu/java/security/provider/SHA.java
13317 (engineUpdate): algorithm change
13318 (engineDigest): algorithm change
13320 2002-07-12 Jesse Rosenstock <jmr@fulcrummicro.com>
13322 For PR libgcj/7292:
13323 * java/lang/Character.java (toString(char)): Now static.
13325 2002-07-12 Mark Wielaard <mark@klomp.org>
13327 * java/lang/natThrowable.cc (printRawStackTrace): removed.
13328 (getStackTrace0): new method.
13329 * java/lang/Throwable.java (CPlusPlusDemangler): removed.
13330 (printStackTrace(PrintWriter)): replace with pure java implementation.
13331 (printRawStackTrace): removed.
13332 (getStackTrace0): new method.
13333 * java/lang/StackTraceElement.java (toString): add extra whitespace.
13334 * gcj/javaprims.h: regenerate class list.
13335 * include/name-finder.h (lookup): new returns StackTraceElement*.
13336 (method_name, file_name): fields removed.
13337 (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
13338 (~_Jv_name_finder): close new descriptors.
13339 * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
13340 (createStackTraceElement): new method.
13341 (lookup): returns StackTraceElement*, uses createStackTraceElement().
13343 2002-07-10 Tom Tromey <tromey@redhat.com>
13345 * configure: Rebuilt.
13346 * configure.in: Use `test' after `&&'. From Chris Faylor.
13348 2002-07-08 Mark Wielaard <mark@klomp.org>
13350 * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
13351 java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
13352 java.sql.DatabaseMetaData.TestJdbc20
13354 2002-07-05 Tony Kimball <alk@pobox.com>
13356 * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
13358 2002-07-04 Tom Tromey <tromey@redhat.com>
13359 Jeff Sturm <jsturm@one-point.com>
13361 Fix for PR libgcj/7060:
13362 * java/lang/Class.h (_getMethod): Renamed from getMethod.
13363 * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
13364 Recurse into superinterfaces. Don't throw NoSuchMethodException.
13365 * java/lang/Class.java (getMethod): New Java implementation;
13366 complies with spec.
13367 (_getMethod): New native method.
13369 2002-07-02 Tom Tromey <tromey@redhat.com>
13370 David Hovemeyer <daveho@cs.umd.edu>
13372 * java/text/ChoiceFormat.java
13373 (format(double,StringBuffer,FieldPosition)): Fix fencepost error
13375 * java/text/MessageFormat.java
13376 (format(Object[],StringBuffer,FieldPosition): Pass all arguments
13379 2002-07-01 Tom Tromey <tromey@redhat.com>
13381 * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
13382 StringTokenizer on null string. For PR libgcj/7180.
13383 From daveho@cs.umd.edu.
13385 2002-06-24 Tom Tromey <tromey@redhat.com>
13387 * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
13388 (IntegerClass): Likewise.
13389 * java/lang/natClass.cc (CloneableClass): Removed.
13390 (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
13391 ConstructorClass): Likewise.
13392 * java/lang/natClassLoader.cc (CloneableClass): Removed.
13393 (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
13394 SerializableClass): Likewise.
13395 * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
13396 (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
13397 LongClass, FloatClass, DoubleClass): Likewise.
13399 * verify.cc (branch_prepass): Updated for change to exception
13401 (verify_instructions_0): Likewise.
13402 * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
13403 (handleExceptionTableEntry): Updated for change to exception
13405 * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
13406 * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
13407 (union _Jv_InterpPC): New.
13408 (class _Jv_InterpException): Changed types to _Jv_InterpPC.
13409 (class _Jv_InterpMethod): Added new `prepared' field.
13410 (class _Jv_InterpMethod): Added `compile' method. Removed
13411 `continue1' and `find_exception'. Changed arguments to `run'.
13412 * interpret.cc (union insn_slot): New.
13413 (find_exception): Removed.
13414 (run_normal): Removed most logic.
13415 (run_synch_object): Likewise; also, use JvSynchronize.
13416 (run_synch_class): Likewise.
13418 (continue1): Renamed as `run'. Compile bytecode if required.
13419 Add new code to allow refinement of direct-threaded code at
13420 runtime. Handle exceptions.
13421 (SAVE_PC): Removed.
13422 (compile): New method.
13423 (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
13424 (NULLARRAYCHECK): Don't use SAVE_PC.
13425 (pc_t): New typedef.
13426 (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
13427 SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
13429 2002-06-23 Tom Tromey <tromey@redhat.com>
13431 * configure: Rebuilt.
13432 * configure.in (INTERPRETER): New subst.
13433 (AM_RUNTESTFLAGS): Don't subst.
13435 * Makefile.in: Rebuilt.
13436 * Makefile.am ($(srcdir)/java/lang/Object.h,
13437 $(srcdir)/java/lang/Class.h): Added dummy targets.
13439 2002-06-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13441 Reformat JDBC classes and add new JDK 1.4 classes and methods.
13443 * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
13444 java/sql/Savepoint.java: New files.
13445 * java/sql/Array.java, java/sql/BatchUpdateException.java,
13446 java/sql/Blob.java, java/sql/CallableStatement.java,
13447 java/sql/Clob.java, java/sql/Connection.java,
13448 java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
13449 java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
13450 java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
13451 java/sql/Ref.java, java/sql/ResultSet.java,
13452 java/sql/ResultSetMetaData.java, java/sql/SQLData.java
13453 java/sql/SQLException.java, java/sql/SQLInput.java,
13454 java/sql/SQLOutput.java, java/sql/SQLWarning.java
13455 java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
13456 java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
13457 (JDK 1.4) specification.
13458 * javax/sql/ConnectionEvent.java,
13459 javax/sql/ConnectionEventListener.java,
13460 javax/sql/ConnectionPoolDataSource.java,
13461 javax/sql/DataSource.java, javax/sql/PooledConnection.java,
13462 javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
13463 javax/sql/RowSet.java, javax/sql/RowSetListener.java,
13464 javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
13465 javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
13466 javax/sql/XADataSource.java: New files.
13467 * Makefile.am: Add new files.
13468 * Makefile.in: Rebuilt.
13470 2002-06-20 Tom Tromey <tromey@redhat.com>
13472 For PR libgcj/7073:
13473 * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
13475 * defineclass.cc (handleClassBegin): Superclass for interface is
13478 2002-06-18 Tom Tromey <tromey@redhat.com>
13480 * gcj/javaprims.h: Updated class declaration list.
13481 * Makefile.in: Rebuilt.
13482 * Makefile.am (core_java_source_files): Removed
13483 BasicMapEntry.java.
13484 * java/util/BasicMapEntry.java: Removed.
13486 2002-06-18 Jeff Sturm <jsturm@one-point.com>
13488 * java/net/natPlainDatagramSocketImpl.cc (receive):
13489 Check bounds of argument to FD_SET.
13490 (setOption): Throw exception if socket is closed.
13492 * java/net/natPlainSocketImpl.cc (accept, read):
13493 Check bounds of argument to FD_SET.
13494 (setOption): Throw exception if socket is closed.
13496 2002-06-18 Tom Tromey <tromey@redhat.com>
13498 * gcj/javaprims.h: Updated class declaration list.
13499 * Makefile.in: Rebuilt.
13500 * Makefile.am (core_java_source_files): Added
13501 PropertyPermissionCollection.java.
13502 * java/lang/Thread.java (group, name): Now package-private.
13503 * java/lang/ThreadGroup.java: Re-merge with Classpath.
13504 * java/util/AbstractList.java: Likewise.
13505 * java/util/AbstractMap.java: Likewise.
13506 * java/util/Calendar.java: Likewise.
13507 * java/util/Collections.java: Likewise.
13508 * java/util/HashMap.java: Likewise.
13509 * java/util/Hashtable.java: Likewise.
13510 * java/util/LinkedHashMap.java: Likewise.
13511 * java/util/LinkedList.java: Likewise.
13512 * java/util/List.java: Likewise.
13513 * java/util/ListResourceBundle.java: Likewise.
13514 * java/util/Map.java: Likewise.
13515 * java/util/Observable.java: Likewise.
13516 * java/util/Properties.java: Likewise.
13517 * java/util/PropertyPermission.java: Likewise.
13518 * java/util/PropertyPermissionCollection.java: Likewise.
13519 * java/util/PropertyResourceBundle.java: Likewise.
13520 * java/util/Random.java: Likewise.
13521 * java/util/SimpleTimeZone.java: Likewise.
13522 * java/util/StringTokenizer.java: Likewise.
13523 * java/util/TimerTask.java: Likewise.
13524 * java/util/TreeMap.java: Likewise.
13525 * java/util/WeakHashMap.java: Likewise.
13526 * java/util/jar/Attributes.java: Likewise.
13527 * java/util/jar/JarException.java: Likewise.
13528 * java/util/jar/Manifest.java: Likewise.
13530 2002-06-17 Tom Tromey <tromey@redhat.com>
13532 * gcj/javaprims.h: Updated class declaration list.
13533 * Makefile.in: Rebuilt.
13534 * Makefile.am (core_java_source_files): Added new file.
13535 * java/util/EventListenerProxy.java: New file.
13536 * java/util/EventListener.java: Re-merge with Classpath.
13537 * java/util/EventObject.java: Re-merge with Classpath.
13539 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
13541 * java/lang/ClassNotFoundException.java: New Classpath version.
13543 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
13545 * java/rmi/activation/ActivateFailedException.java: Remerge from
13547 * java/rmi/activation/ActivationException.java: Ditto.
13548 * java/rmi/activation/UnknownGroupException.java: Ditto.
13549 * java/rmi/activation/UnknownObjectException.java: Ditto.
13550 * java/rmi/server/ExportException: Ditto.
13551 * java/rmi/server/ServerCloneException: Ditto.
13552 * java/rmi/server/ServerNotActiveException: Ditto.
13553 * java/rmi/server/SkeletonMismatchException: Ditto.
13554 * java/rmi/server/SkeletonNotFoundException: Ditto.
13555 * java/rmi/server/SocketSecurityException: Ditto.
13557 2002-06-16 Tom Tromey <tromey@redhat.com>
13559 * gcj/javaprims.h: Updated class declaration list.
13561 * java/io/LineNumberInputStream.java: Merged with Classpath.
13563 * java/lang/RuntimeException.java: Re-merge with Classpath.
13564 * java/util/ArrayList.java: Likewise.
13565 * java/util/Arrays.java: Likewise.
13566 * java/util/BitSet.java: Likewise.
13567 * java/util/Dictionary.java: Likewise.
13568 * java/util/IdentityHashMap.java: Likewise.
13569 * java/util/MissingResourceException.java: Likewise.
13570 * java/util/Observer.java: Likewise.
13571 * java/util/TooManyListenersException.java: Likewise.
13572 * java/util/zip/DataFormatException.java: Likewise.
13573 * java/util/zip/ZipException.java: Likewise.
13575 2002-06-16 Nathanael Nerode <neroden@twcny.rr.com>
13577 * java/rmi/AccessException.java: Remerge from Classpath.
13578 * java/rmi/AlreadyBoundException.java: Ditto.
13579 * java/rmi/ConnectException.java: Ditto.
13580 * java/rmi/ConnectIOException.java: Ditto.
13581 * java/rmi/MarshalException.java: Ditto.
13582 * java/rmi/NoSuchObjectException.java: Ditto.
13583 * java/rmi/NotBoundException.java: Ditto.
13584 * java/rmi/RemoteException.java: Ditto.
13585 * java/rmi/RMISecurityException.java: Ditto.
13586 * java/rmi/ServerError.java: Ditto.
13587 * java/rmi/ServerException.java: Ditto.
13588 * java/rmi/ServerRuntimeException.java: Ditto.
13589 * java/rmi/StubNotFoundException.java: Ditto.
13590 * java/rmi/UnexpectedExcpetion.java: Ditto.
13591 * java/rmi/UnknownHostException.java: Ditto.
13592 * java/rmi/UnmarshalException.java: Ditto.
13594 2002-06-15 Tom Tromey <tromey@redhat.com>
13596 * java/lang/AbstractMethodError.java: Re-merged with Classpath.
13597 * java/lang/ArithmeticException.java: Likewise.
13598 * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
13599 * java/lang/ArrayStoreException.java: Likewise.
13600 * java/lang/Byte.java: Likewise.
13601 * java/lang/CharSequence.java: Likewise.
13602 * java/lang/ClassCastException.java: Likewise.
13603 * java/lang/ClassCircularityError.java: Likewise.
13604 * java/lang/ClassFormatError.java: Likewise.
13605 * java/lang/CloneNotSupportedException.java: Likewise.
13606 * java/lang/Cloneable.java: Likewise.
13607 * java/lang/Comparable.java: Likewise.
13608 * java/lang/Compiler.java: Likewise.
13609 * java/lang/Error.java: Likewise.
13610 * java/lang/ExceptionInInitializerError.java: Likewise.
13611 * java/lang/IllegalAccessError.java: Likewise.
13612 * java/lang/IllegalAccessException.java: Likewise.
13613 * java/lang/IllegalArgumentException.java: Likewise.
13614 * java/lang/IllegalMonitorStateException.java: Likewise.
13615 * java/lang/IllegalStateException.java: Likewise.
13616 * java/lang/IllegalThreadStateException.java: Likewise.
13617 * java/lang/IncompatibleClassChangeError.java: Likewise.
13618 * java/lang/IndexOutOfBoundsException.java: Likewise.
13619 * java/lang/InheritableThreadLocal.java: Likewise.
13620 * java/lang/InstantiationError.java: Likewise.
13621 * java/lang/InstantiationException.java: Likewise.
13622 * java/lang/InternalError.java: Likewise.
13623 * java/lang/InterruptedException.java: Likewise.
13624 * java/lang/LinkageError.java: Likewise.
13625 * java/lang/NegativeArraySizeException.java: Likewise.
13626 * java/lang/NoClassDefFoundError.java: Likewise.
13627 * java/lang/NoSuchFieldError.java: Likewise.
13628 * java/lang/NoSuchFieldException.java: Likewise.
13629 * java/lang/NoSuchMethodError.java: Likewise.
13630 * java/lang/NoSuchMethodException.java: Likewise.
13631 * java/lang/NullPointerException.java: Likewise.
13632 * java/lang/NumberFormatException.java: Likewise.
13633 * java/lang/OutOfMemoryError.java: Likewise.
13634 * java/lang/Process.java: Likewise.
13635 * java/lang/Runnable.java: Likewise.
13636 * java/lang/RuntimePermission.java: Likewise.
13637 * java/lang/SecurityException.java: Likewise.
13638 * java/lang/Short.java: Likewise.
13639 * java/lang/StackOverflowError.java: Likewise.
13640 * java/lang/StringIndexOutOfBoundsException.java: Likewise.
13641 * java/lang/ThreadDeath.java: Likewise.
13642 * java/lang/ThreadLocal.java: Likewise.
13643 * java/lang/UnknownError.java: Likewise.
13644 * java/lang/UnsatisfiedLinkError.java: Likewise.
13645 * java/lang/UnsupportedClassVersionError.java: Likewise.
13646 * java/lang/UnsupportedOperationException.java: Likewise.
13647 * java/lang/VerifyError.java: Likewise.
13648 * java/lang/VirtualMachineError.java: Likewise.
13649 * java/lang/reflect/InvocationTargetException.java: Likewise.
13650 * java/net/BindException.java: Likewise.
13651 * java/net/ConnectException.java: Likewise.
13652 * java/net/MalformedURLException.java: Likewise.
13653 * java/net/NoRouteToHostException.java: Likewise.
13654 * java/net/ProtocolException.java: Likewise.
13655 * java/net/SocketException.java: Likewise.
13656 * java/net/UnknownHostException.java: Likewise.
13657 * java/net/UnknownServiceException.java: Likewise.
13659 * java/io/BufferedOutputStream.java: Re-merged with Classpath.
13660 * java/io/CharConversionException.java: Likewise.
13661 * java/io/EOFException.java: Likewise.
13662 * java/io/FileNotFoundException.java: Likewise.
13663 * java/io/IOException.java: Likewise.
13664 * java/io/InterruptedIOException.java: Likewise.
13665 * java/io/InvalidClassException.java: Likewise.
13666 * java/io/InvalidObjectException.java: Likewise.
13667 * java/io/NotActiveException.java: Likewise.
13668 * java/io/NotSerializableException.java: Likewise.
13669 * java/io/ObjectStreamException.java: Likewise.
13670 * java/io/ObjectStreamConstants.java: Likewise.
13671 * java/io/OptionalDataException.java: Likewise.
13672 * java/io/PipedInputStream.java: Likewise.
13673 * java/io/PushbackInputStream.java: Likewise.
13674 * java/io/StreamCorruptedException.java: Likewise.
13675 * java/io/SyncFailedException.java: Likewise.
13676 * java/io/UTFDataFormatException.java: Likewise.
13677 * java/io/UnsupportedEncodingException.java: Likewise.
13678 * java/io/WriteAbortedException.java: Likewise.
13680 2002-06-15 Nathanael Nerode <neroden@twcny.rr.com>
13682 * java/text/ChoiceFormat.java: Update comments from Classpath.
13683 * java/text/ParseException.java (serialVersionUID): New
13684 field from Classpath.
13685 * java/text/ParseException.java: Update formatting & comments
13688 2002-06-15 Tom Tromey <tromey@redhat.com>
13690 * java/util/zip/InflaterInputStream.java (read): Loop if data has
13691 been read but none output by inflater.
13692 * java/util/zip/natDeflater.cc (reset): Set is_finished.
13693 * java/util/zip/natInflater.cc (reset): Set dist_needed and
13695 * java/util/zip/ZipOutputStream.java: Replaced with Classpath
13697 * java/util/zip/ZipFile.java: Replaced with Classpath version.
13698 * java/util/zip/ZipEntry.java: Replaced with Classpath version.
13699 * java/util/zip/ZipInputStream.java: Replaced with Classpath
13701 * java/util/zip/ZipConstants.java: Replaced with Classpath version.
13703 2002-06-13 Tom Tromey <tromey@redhat.com>
13705 * java/lang/natString.cc (init): Handle case where DONT_COPY is
13706 true and OFFSET!=0.
13707 * java/lang/String.java (String(char[],int,int,boolean): New
13709 * java/lang/Long.java: Imported new version from Classpath.
13710 * java/lang/Number.java: Likewise.
13711 * java/lang/Integer.java: Likewise.
13712 * java/lang/Long.java: Likewise.
13713 * java/lang/Float.java: Likewise.
13714 * java/lang/Boolean.java: Likewise.
13715 * java/lang/Double.java: Likewise.
13716 * java/lang/Void.java: Likewise.
13718 2002-06-12 Tom Tromey <tromey@redhat.com>
13720 * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
13721 Fixes PR libgcj/6652.
13723 2002-06-10 Tom Tromey <tromey@redhat.com>
13725 * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
13726 (Class::getPackagePortion): Likewise.
13727 * java/lang/Class.java (desiredAssertionStatus): New method from
13729 (getPackagePortion): Likewise.
13730 * java/lang/VMClassLoader.java (defaultAssertionStatus,
13731 packageAssertionStatus, classAssertionStatus): New methods from
13733 * java/lang/ClassLoader.java (defaultAssertionStatus,
13734 systemPackageAssertionStatus, packageAssertionStatus,
13735 systemClassAssertionStatus, classAssertionStatus): New fields from
13737 (setDefaultAssertionStatus, setPackageAssertionStatus,
13738 setClassAssertionStatus, clearAssertionStatus): New methods from
13740 * Makefile.in: Rebuilt.
13741 * Makefile.am (core_java_source_files): Added AssertionError.java.
13742 * java/lang/AssertionError.java: New from Classpath.
13744 2002-06-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13746 * configure.host: Disable hash synchronization and slow_pthread_self
13749 2002-06-06 Adam Megacz <adam@xwt.org>
13751 * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
13752 locking, just like the Sun JVM does.
13754 2002-06-05 H.J. Lu (hjl@gnu.org)
13756 * Makefile.am (libgcj_convenience.la): Revert the last change.
13757 (libgcj.la): Likewise.
13758 * Makefile.in: Regenerated.
13760 2002-06-04 H.J. Lu (hjl@gnu.org)
13762 * Makefile.am (libgcj_convenience.la): New target.
13763 (libgcj.la): Depend on libgcj_convenience.la.
13764 * Makefile.in: Regenerated.
13766 2002-06-04 H.J. Lu (hjl@gnu.org)
13768 * configure.in (--with-newlib): New option:
13769 Check ${with_newlib} instead of ${with_cross_host} for newlib.
13770 (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
13772 * configure: Regenerated.
13774 2002-06-04 Tom Tromey <tromey@redhat.com>
13776 * java/util/natTimeZone.cc: Include <stdio.h>.
13778 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com>
13780 * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
13781 * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
13782 Set SIGNAL_HANDLER=include/s390-linux.h.
13783 * configure: Regenerate.
13784 * include/s390-linux.h: New file.
13786 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13788 * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
13791 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13793 Merge JDK 1.4 java.security changes from classpath.
13795 * java/security/AccessControlException.java: Merge from Classpath.
13796 * java/security/AccessController.java: Likewise.
13797 * java/security/AllPermission.java: Likewise.
13798 * java/security/BasicPermission.java: Likewise.
13799 * java/security/Certificate.java: Likewise.
13800 * java/security/CodeSource.java: Likewise.
13801 * java/security/DigestException.java: Likewise.
13802 * java/security/DigestOutputStream.java: Likewise.
13803 * java/security/DomainCombiner.java: Likewise.
13804 * java/security/GeneralSecurityException.java: Likewise.
13805 * java/security/Guard.java: Likewise.
13806 * java/security/GuardedObject.java: Likewise.
13807 * java/security/InvalidAlgorithmParameterException.java: Likewise.
13808 * java/security/InvalidKeyException.java: Likewise.
13809 * java/security/InvalidParameterException.java: Likewise.
13810 * java/security/Key.java: Likewise.
13811 * java/security/KeyException.java: Likewise.
13812 * java/security/KeyManagementException.java: Likewise.
13813 * java/security/KeyStoreException.java: Likewise.
13814 * java/security/MessageDigest.java: Likewise.
13815 * java/security/NoSuchAlgorithmException.java: Likewise.
13816 * java/security/NoSuchProviderException.java: Likewise.
13817 * java/security/Permission.java: Likewise.
13818 * java/security/PermissionCollection.java: Likewise.
13819 * java/security/Permissions.java: Likewise.
13820 * java/security/Policy.java: Likewise.
13821 * java/security/Principal.java: Likewise.
13822 * java/security/PrivateKey.java: Likewise.
13823 * java/security/PrivilegedAction.java: Likewise.
13824 * java/security/PrivilegedActionException.java: Likewise.
13825 * java/security/PrivilegedExceptionAction.java: Likewise.
13826 * java/security/ProtectionDomain.java: Likewise.
13827 * java/security/ProviderException.java: Likewise.
13828 * java/security/PublicKey.java: Likewise.
13829 * java/security/SecureClassLoader.java: Likewise.
13830 * java/security/SecurityPermission.java: Likewise.
13831 * java/security/SignatureException.java: Likewise.
13832 * java/security/UnrecoverableKeyException.java: Likewise.
13833 * java/security/UnresolvedPermission.java: Likewise.
13834 * java/security/acl/AclNotFoundException.java: Likewise.
13835 * java/security/acl/LastOwnerException.java: Likewise.
13836 * java/security/acl/NotOwnerException.java: Likewise.
13837 * java/security/cert/CRLException.java: Likewise.
13838 * java/security/cert/CertificateEncodingException.java: Likewise.
13839 * java/security/cert/CertificateException.java: Likewise.
13840 * java/security/cert/CertificateExpiredException.java: Likewise.
13841 * java/security/cert/CertificateFactory.java: Likewise.
13842 * java/security/cert/CertificateNotYetValidException.java: Likewise.
13843 * java/security/cert/CertificateParsingException.java: Likewise.
13844 * java/security/spec/InvalidKeySpecException.java: Likewise.
13845 * java/security/spec/InvalidParameterSpecException.java: Likewise.
13847 * java/security/cert/CertPath.java: New file.
13848 * java/security/cert/CertPathBuilderException.java: New file.
13849 * java/security/cert/CertPathValidatorException.java: New file.
13850 * java/security/cert/CertStoreException.java: New file.
13852 * Makefile.am: Add new CertPath classes.
13853 * Makefile.in: Rebuilt.
13855 * gnu/java/util/EmptyEnumeration.java: New file from classpath.
13857 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13859 Merge JDK 1.4 exception chaining support from classpath.
13861 * java/lang/Throwable.java: Merge 1.4 support from classpath.
13862 (stackTraceBytes): Rename from stackTrace.
13863 * java/lang/Exception.java: Merge from classpath.
13864 * java/lang/StackTraceElement: New file from classpath.
13865 * gcj/javaprims.h: Rebuild CNI namespace declarations.
13866 * Makefile.am: Add StackTraceElement.
13867 * Makefile.in: Rebuilt.
13869 2002-05-23 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13871 * Makefile.am (all-recursive): Depend on $all_java_class_files so that
13873 * Makefile.in: Rebuilt.
13875 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13877 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
13878 * configure.in: Likewise.
13879 * aclocal.m4: Regenerate.
13880 * configure: Regenerate.
13882 2002-05-13 Tom Tromey <tromey@redhat.com>
13884 * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
13885 * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
13886 Include platform.h.
13888 Fixes PR libgcj/6389:
13889 * Makefile.in: Rebuilt.
13890 * Makefile.am (nat_source_files): Added natTimeZone.cc.
13891 * java/util/natTimeZone.cc: New file.
13892 * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
13893 * java/lang/System.java: Merged with Classpath.
13894 * java/lang/Runtime.java: Merged with Classpath.
13895 * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
13897 (setIn0): Renamed from setIn; don't run security check.
13898 (setOut0): Renamed from setOut; don't run security check.
13899 (file_encoding, getpwuid_adaptor, getSystemTimeZone,
13900 init_properties): Moved to natRuntime.cc.
13901 Moved many includes to natRuntime.cc.
13902 (isWordsBigEndian): New method.
13903 * java/lang/natRuntime.cc: Include Long.h, also other includes
13904 previously in natSystem.cc.
13905 (maxMemory): New function.
13906 (exitInternal): Renamed from `_exit'.
13908 (init): Don't set finalize_on_exit.
13909 (exitInternal): Use `finalizeOnExit'.
13910 (file_encoding, getpwuid_adaptor): New functions from
13912 (insertSystemProperties): New method, renamed from
13913 System::init_properties. Don't set user.timezone.
13914 (_load): Don't call checkLink.
13915 (execInternal): New method.
13916 (availableProcessors): Likewise.
13917 (nativeGetLibname): Likewise.
13919 2002-05-11 Mark Wielaard <mark@klomp.org>
13921 * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
13923 (previous_internal): Likewise.
13925 2002-05-09 Tom Tromey <tromey@redhat.com>
13927 * jni.cc (_Jv_JNIFunctions): Fixed typo.
13929 * java/util/ResourceBundle.java: New version from Classpath.
13930 * java/util/Locale.java: Likewise.
13932 2002-05-09 Jakub Jelinek <jakub@redhat.com>
13934 * testsuite/lib/libjava.exp (libjava_arguments): Append all
13935 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
13938 2002-05-08 Mark Mitchell <mark@codesourcery.com>
13940 * libjava/Makefile.am (all_java_source_files): New variable.
13941 (all_java_class_files): Likewise.
13942 .java.class: New rule.
13943 (CLEANFILES): Remove tmp-list.
13944 * libjava/Makefile.in: Regenerated.
13946 2002-05-09 David.Billinghurst <David.Billinghurst@riotinto.com>
13948 * testsuite/lib/libjava.exp (test_libjava_from_javac):
13949 Append .exe to executable names. Fix for cygwin.
13951 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
13953 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
13954 script entry, and set LD to it when configuring multilibs.
13955 * configure: Rebuilt.
13957 2002-05-07 Tom Tromey <tromey@redhat.com>
13959 * java/lang/natString.cc (unintern): Fixed typo.
13961 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
13963 * testsuite/lib/libjava.exp (libjava_arguments): Don't link
13964 with -no-install on *-*-cygwin*.
13966 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
13968 * testsuite/lib/libjava.exp (test_libjava_from_source):
13969 Add comment explaining last patch
13971 2002-05-04 David Billinghurst <David.Billinghurst@riotinto.com>
13973 * testsuite/lib/libjava.exp (test_libjava_from_source):
13974 Append .exe to executable names. If no suffix is present,
13975 then ".exe" is added by default on win32. Harmless
13976 elsewhere so always do it.
13978 2002-05-03 David Billinghurst <David.Billinghurst@riotinto.com>
13979 Tom Tromey <tromey@redhat.com>
13981 * java/lang/natSystem.cc (getSystemTimeZone): Use
13982 HAVE_UNDERSCORE_TIMEZONE.
13983 * include/config.h.in: Rebuilt.
13984 * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
13985 * aclocal.m4, configure: Rebuilt.
13986 * acinclude.m4: Run AC_EXEEXT.
13987 * configure.in: Adjust test for `timezone' so it fails on Cygwin.
13988 Add test for `_timezone'.
13990 2002-05-03 Alexandre Oliva <aoliva@redhat.com>
13992 Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13993 * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
13994 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
13995 * Makefile.in: Rebuilt.
13997 2002-05-02 Hans Boehm <Hans_Boehm@hp.com>
13999 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
14000 use sigaction instead of __libc_sigaction.
14002 2002-05-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14004 * testsuite/lib/libjava.exp (libjava_find_spec): New function.
14005 (libjava_init): Use it to find libgcj.spec.
14006 (libjava_arguments): Likewise.
14008 2002-05-02 David S. Miller <davem@redhat.com>
14011 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
14012 __libc_sigaction on Sparc.
14014 2002-05-02 Jerome Marc <marcjero@yahoo.com>
14016 * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
14017 sys/filio.h, if present.
14019 2002-04-30 Tom Tromey <tromey@redhat.com>
14021 * java/io/BufferedReader.java (fill): Handle case where markPos
14022 point to ignored \n. Fixes PR libgcj/6301.
14024 2002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
14026 * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
14028 2002-04-29 Adam King <aking@dreammechanics.com>
14030 * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
14031 of file in APPEND mode.
14033 2002-04-25 David S. Miller <davem@redhat.com>
14036 * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
14037 program counter to next program counter minus 8. Update
14038 comments in this macro to explain why.
14040 2002-04-26 Tom Tromey <tromey@redhat.com>
14042 * verify.cc (construct_primitive_array_type) [void_type]: New
14044 (branch_prepass): Added dummy entries for unused instruction
14046 (verify_instructions_0): Likewise.
14047 * interpret.cc (continue1): Comment fix.
14048 * include/java-insns.h (op_xxxunusedxxx1): Removed.
14049 * Makefile.in: Rebuilt.
14050 * Makefile.am: Added -Wswitch-enum.
14052 2002-04-24 Tom Tromey <tromey@redhat.com>
14054 * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
14055 correct length of UTF-8 encoded name. Strip leading `/'.
14056 (_Jv_RegisterResource): Use _Jv_Malloc.
14058 2002-04-23 Adam Megacz <adam@xwt.org>
14060 * win32.cc, include/win32.cc (backtrace): Added this function
14061 because Win32 does not supply it.
14063 2002-04-21 David S. Miller <davem@redhat.com>
14065 * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
14066 magic instruction reading sequence.
14068 2002-04-21 Mark Wielaard <mark@klomp.org>
14070 * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
14072 2002-04-19 David S. Miller <davem@redhat.com>
14074 * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
14076 (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
14077 (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
14079 * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
14081 (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
14082 * sysdeps/sparc/locks.h: New file.
14083 * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
14084 on all sparc Solaris configurations. Set to
14085 include/dwarf2-signal.h on sparc Linux.
14086 * configure: Regenerate
14087 * configure.host (can_unwind_signal): sparc*-linux* can do it now.
14089 2002-04-19 Hans Boehm <Hans_Boehm@hp.com>
14091 * configure: Rebuilt.
14092 * configure.in (backtrace): Function doesn't work on IA-64.
14094 2002-04-17 Adam King <aking@dreammechanics.com>
14096 * java/io/File.java (normalizePath): Add Win32 support for auto
14097 conversion of a '/' path separator to Win32's '\' separator.
14099 2002-04-16 Tom Tromey <tromey@redhat.com>
14101 Fix for PR libgcj/6081:
14102 * Makefile.in: Rebuilt.
14103 * Makefile.am (install-data-local): Use GNU make trick to avoid
14106 2002-04-16 Adam King <aking@dreammechanics.com>
14107 Tom Tromey <tromey@redhat.com>
14109 * java/io/natFileWin32.cc (performList): Return the correct array
14110 type. Don't duplicate the creation of a File since it's already
14111 done earlier in the method and the existing code would cause a
14112 ArrayStoreException. Don't use fixed-size array.
14113 (_access, _stat, attr, getCanonicalPath, performMkdir,
14114 performRenameTo): Don't use fixed-size array.
14115 (getCanonicalPath): Use throw, not _Jv_Throw.
14117 2002-04-15 DJ Delorie <dj@redhat.com>
14119 * configure.in: Allow building in $srcdir.
14120 * configure: Regenerated.
14122 2002-04-14 Mark Wielaard <mark@klomp.org>
14124 * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
14125 * java/net/natSocketImpl.cc (close): Likewise.
14127 2002-04-14 Mark Wielaard <mark@klomp.org>
14129 * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
14131 2002-04-13 Adam King <aking@dreammechanics.com>
14133 * java/lang/natDouble.cc (parseDouble): Allow a number to end with
14134 the f/F/d/D modifiers.
14136 2002-04-12 Anthony Green <green@redhat.com>
14138 * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
14139 Create libgcj-@gcc_version@.jar instead of libgcj.jar.
14140 * Makefile.in: Rebuilt.
14141 * configure.in: Substitute gcc_version.
14142 * configure: Rebuilt.
14144 2002-04-11 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14146 * configure.host: Set can_unwind_signal on hosts which support it.
14147 Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
14148 * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
14149 exceptions and can_unwind_signal isn't set.
14150 * configure: Rebuilt.
14152 2002-04-11 Tom Tromey <tromey@redhat.com>
14154 * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
14156 2002-04-11 Adam King <aking@dreammechanics.com>
14157 Tom Tromey <tromey@redhat.com>
14159 * include/jvm.h (_Jv_ThrowBadArrayIndex,
14160 _Jv_ThrowNullPointerException): Mark as noreturn.
14161 * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
14162 and _Jv_free. Correctly invoke GetTempPath(). Indentation
14165 2002-04-10 Tom Tromey <tromey@redhat.com>
14167 * Makefile.in: Rebuilt.
14168 * Makefile.am (java/lang/Thread.h): Mark
14169 _Jv_AttachCurrentThreadAsDaemon as friend.
14170 * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
14171 * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
14172 * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
14174 * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
14175 * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
14176 (_Jv_JNI_InvokeFunctions): Added
14177 _Jv_JNI_AttachCurrentThreadAsDaemon.
14178 (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
14179 (JNI_GetDefaultJavaVMInitArgs): Likewise.
14180 (JNI_CreateJavaVM): Likewise.
14181 (_Jv_JNI_AttachCurrentThread): Likewise.
14182 (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
14183 (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
14184 (_Jv_JNIFunctions): Initialize new fields.
14185 (_Jv_JNI_NewDirectByteBuffer): New function.
14186 (_Jv_JNI_GetDirectBufferAddress): Likewise.
14187 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
14188 * include/jni.h (JNI_VERSION_1_4): New macro.
14189 (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
14190 (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
14191 (JNINativeInterface::NewDirectByteBuffer): New field.
14192 (JNINativeInterface::GetDirectBufferAddress): New field.
14193 (JNINativeInterface::GetDirectBufferCapacity): New field.
14194 (_Jv_JNIEnv::NewDirectByteBuffer): New method.
14195 (_Jv_JNIEnv::GetDirectBufferAddress): New method.
14196 (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
14198 2002-04-09 Tom Tromey <tromey@redhat.com>
14200 * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
14202 2002-04-08 Alberto Biancardi <alberto.biancardi@unipv.it>
14204 Fix for PR libgcj/6187:
14205 * java/awt/geom/Point2D.java (distance): Call distanceSq, not
14208 2002-04-07 Mark Wielaard <mark@klomp.org>
14210 * java/util/AbstractMap.java (putAll): Use entrySet size.
14211 (toString): Explicitly use getKey() and getValue().
14213 2002-04-07 Mark Wielaard <mark@klomp.org>
14215 * java/util/Hashtable.java (contains): Remove NullPointer check.
14216 (containsValue): Add NullPointer check.
14217 (remove): Always throw NullPointerException when key
14220 2002-04-07 Adam King <aking@dreammechanics.com>
14222 * java/lang/natSystem.cc (init_properties): Call new function
14223 _Jv_platform_initProperties.
14224 * win32.cc (_Jv_platform_initProperties): New function that adds Win32
14225 support for the System properties os.name, os.arch, os.version,
14226 user.name, user.home, and user.dir.
14227 * include/posix.h, include/win32.h, posix.cc: New function
14228 _Jv_platform_initProperties.
14230 2002-04-06 Mark Wielaard <mark@klomp.org>
14232 * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
14234 2002-04-06 Mark Wielaard <mark@klomp.org>
14236 * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
14237 all of the remaining elements.
14238 * java/util/Vector.java (addAll(int,Collection)): Likewise.
14239 (removeRange): If toIndex == fromIndex do
14240 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
14241 (removeAll): Always throw NullPointerException when collection is
14243 (retrainAll): Likewise.
14245 2002-04-05 Mark Wielaard <mark@klomp.org>
14247 * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
14248 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
14250 2002-04-05 Adam Megacz <adam@xwt.org>
14252 * exception.cc (abort): added static modifier
14254 2002-04-04 Adam Megacz <adam@xwt.org>
14256 * include/win32.h (_Jv_platform_close_on_exec): added inline
14259 2002-04-04 Loren J. Rittle <ljrittle@acm.org>
14261 * configure.host: Add case statement to support generic port
14262 properties. Add *-*-freebsd* section.
14264 2002-04-04 Mark Wielaard <mark@klomp.org>
14266 * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
14268 * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
14269 FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
14270 that depend on awt code and BufferedByteOutputStream.interrupt.
14272 2002-04-04 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14274 * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
14275 incorrect "hi" value when count > 40.
14277 2002-04-03 Mark Wielaard <mark@klomp.org>
14279 * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
14282 2002-04-02 Tom Tromey <tromey@redhat.com>
14284 * java/lang/natClassLoader.cc (findClass): Compare against `3',
14287 2002-04-02 Mark Wielaard <mark@klomp.org>
14289 * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
14290 list of testsuite crashers.
14292 2002-04-02 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14294 * java/util/IdentityHashMap.java (put): Set new threshold correctly
14295 when resizing table.
14297 2002-04-01 Mark Wielaard <mark@klomp.org>
14299 * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
14300 NegativeArraySizeException
14301 (clear(int)): Use sign extended shift.
14302 (flip(int)): Likewise.
14303 (get(int)): Likewise.
14304 (nextClearBit(int)): Likewise.
14305 (nextSetBit(int)): Likewise.
14306 (set(int)): Likewise.
14308 2002-04-01 Mark Wielaard <mark@klomp.org>
14310 * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
14311 that can be compiled now and add testsuite crashers to ignore list.
14313 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
14315 * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
14317 * libgcj.spec.in: Override libgcc, not lib.
14318 * libgcj-test.spec.in: Likewise.
14320 2002-03-29 Tom Tromey <tromey@redhat.com>
14322 * java/net/natPlainDatagramSocketImpl.cc (close): New function.
14323 * java/net/natPlainSocketImpl.cc (close): Indentation fix.
14325 2002-03-27 Jeff Sturm <jsturm@one-point.com>
14327 * java/net/PlainDatagramSocketImpl.java
14328 (close): Use native implementation.
14329 (finalize): New method.
14331 * java/net/PlainSocketImpl.java (finalize): New method.
14333 * java/net/natPlainDatagramSocketImpl.cc
14334 (java/io/FileDescriptor.h): Don't include.
14335 (close): Implement method here.
14336 (create): Don't assign fd.
14338 * java/net/natPlainSocketImpl.cc
14339 (java/io/FileDescriptor.h): Don't include.
14340 (create): Don't assign fd.
14341 (accept): Likewise.
14342 (close): Synchronize.
14344 2002-03-27 Richard Henderson <rth@redhat.com>
14346 * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
14348 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
14350 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
14351 (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
14352 instead of syscall on IA-64.
14355 2002-03-27 Anthony Green <green@redhat.com>
14357 * libgcj.spec.in: Add CHECKREFSPEC.
14358 * configure.in: Ditto.
14359 * configure.host: Ditto. Check references for xscale-elf.
14360 * configure: Rebuilt.
14362 2002-03-26 Hans Boehm <Hans_Boehm@hp.com>
14364 * include/dwarf2-signal.h: Temporarily back out last change.
14366 2002-03-26 Loren J. Rittle <ljrittle@acm.org>
14368 * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
14370 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
14372 * configure.in, configure: enable dwarf2-exception-style
14373 exception handling on IA-64.
14374 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
14375 (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
14378 2002-03-25 Tom Tromey <tromey@redhat.com>
14380 * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
14381 (jv_convert_LDFLAGS): Likewise.
14382 (gij_LDFLAGS): Likewise.
14383 (rmic_LDFLAGS): Likewise.
14384 (rmiregistry_LDFLAGS): Likewise.
14385 * configure.in (THREADLDFLAGS): New subst; set correctly for
14388 2002-03-25 Tom Tromey <tromey@redhat.com>
14390 For PR libgcj/5303:
14391 * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
14393 (help): New method.
14394 (version): Likewise.
14395 * gnu/gcj/convert/Convert.java (version): Removed extraneous
14397 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
14400 2002-03-25 Tom Tromey <tromey@redhat.com>
14402 * java/awt/Component.java (processEvent): Check ComponentEvent
14405 2002-03-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14407 * java/io/PushbackReader.java: Reformat.
14409 * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
14410 calculate correct number of bytes skipped.
14412 Based on patch from Intel's ORP team:
14413 * java/io/PushbackInputStream.java (available): Calculate correct
14414 number of bytes in buffer.
14415 (read): Remove redundant bound check. Return bytes from both the
14416 buffer and the stream.
14418 2002-03-24 Tom Tromey <tromey@redhat.com>
14420 * java/awt/TextComponent.java (TextComponent): Editable by
14423 * java/awt/MenuItem.java (eventMask): No longer private.
14424 * java/awt/Button.java (dispatchEventImpl): Only dispatch to
14425 superclass if we didn't handle event.
14426 * java/awt/Checkbox.java (dispatchEventImpl): New method.
14427 * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
14428 * java/awt/Choice.java (dispatchEventImpl): New method.
14429 * java/awt/List.java (dispatchEventImpl): New method.
14430 * java/awt/Scrollbar.java (dispatchEventImpl): New method.
14431 * java/awt/TextComponent.java (dispatchEventImpl): New method.
14432 * java/awt/TextField.java (dispatchEventImpl): New method.
14434 2002-03-24 Eric Blake <ebb9@email.byu.edu>
14436 * java/beans/IntrospectionException.java: Update to 1.4.
14437 * java/beans/PropertyVetoException.java: Ditto.
14439 2002-03-24 Eric Blake <ebb9@email.byu.edu>
14441 * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
14442 Arrays.equals instead of ArrayHelper.equalsArray.
14444 2002-03-24 C. Brian Jones <cbj@gnu.org>
14446 * java/beans/Introspector.java: added new static final fields
14447 introduced in 1.2, lots of other updates remain to be done
14449 2002-03-24 C. Brian Jones <cbj@gnu.org>
14451 * java/beans/Introspector.java: reformatting
14453 2002-03-24 C. Brian Jones <cbj@gnu.org>
14455 * java/beans/Introspector.java: default beanInfoSearchPath will
14456 not include sun.beans.infos given we provide no such package and
14457 the API doesn't really require it; gnu.java.beans.info is the
14460 2002-03-24 Mark Wielaard <mark@klomp.org>
14462 Thanks to Orp developers
14463 * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
14464 switch TRUE and FALSE return values.
14466 2002-03-23 Tom Tromey <tromey@redhat.com>
14468 * include/name-finder.h (_Jv_name_finder::myclose): New method.
14469 * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
14471 2002-03-23 Michael Smith <msmith@spinnakernet.com>
14473 * java/util/GregorianCalendar.java (minimums, maximums): Correct
14474 MONTH entry. Fixes PR libgcj/6045.
14476 2002-03-23 Jeff Sturm <jsturm@one-point.com>
14478 * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
14480 2002-03-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14482 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
14484 * sysdep/powerpc/locks.h (write_barrier): New function.
14485 * sysdep/i386/locks.h (write_barrier): New function.
14487 2002-03-19 Martin Kahlert <martin.kahlert@infineon.com>
14489 * include/jni.h Use correct C comments.
14491 2002-03-18 Tom Tromey <tromey@redhat.com>
14493 * include/jni.h (JNIIMPORT): New macro.
14494 (JNIEXPORT): Likewise.
14495 (JNICALL): Likewise.
14497 2002-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14499 * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
14502 2002-03-18 Andrew Haley <aph@cambridge.redhat.com>
14504 * include/i386-signal.h (old_i386_kernel_sigaction): New.
14505 INIT_SEGV: Use old_i386_kernel_sigaction.
14508 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14510 * java/lang/natSystem.cc (init_properties): Update VM version
14512 * configure.in: Set GCJVERSION.
14513 * acconfig.h: Add GCJVERSION.
14514 * configure: Rebuilt.
14515 * include/config.h.in: Rebuilt.
14517 2002-03-17 Anthony Green <green@redhat.com>
14519 * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
14521 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14523 Build a single libgcj.so, without separate gc and zlib libraries.
14524 * configure.in: Use convenience libraries for boehm-gc and zlib. Set
14525 SYS_ZLIBS if system zlib is used.
14526 * configure: Rebuilt.
14527 * Makefile.am: Use boehm-gc and zlib convenience libraries.
14528 * Makefile.in: Rebuilt.
14529 * libtool-version: Increment .so version number.
14531 * Makefile.am: Escape quotes in echo.
14532 * Makefile.in: Rebuilt.
14534 2002-03-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14536 * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
14537 * Makefile.in: Rebuilt.
14539 2002-03-15 Anthony Green <green@redhat.com>
14541 * configure.host (FILE): New macro for specifing File
14543 * configure: Rebuilt.
14544 * configure.in: Use FILE. Define HAVE_TIME for newlib targets.
14546 2002-03-15 Alexandre Oliva <aoliva@redhat.com>
14548 * Makefile.am (jv_convert_LDADD): Don't list libraries that are
14549 already implicitly brought in from libgcj.la.
14550 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
14551 * Makefile.in: Rebuilt.
14553 2002-03-15 Eric Blake <ebb9@email.byu.edu>
14555 * THANKS: Fix punctuation, alphabetization.
14557 2002-03-15 Tom Tromey <tromey@redhat.com>
14558 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14560 Fix for PR libgcj/5944.
14561 * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
14563 2002-03-15 Anthony Green <green@redhat.com>
14565 * configure.in (tool_include_dir): Define.
14566 * configure: Rebuilt.
14567 * gcj/Makefile.am: Install libgcj-config.h relative to
14569 * gcj/Makefile: Rebuilt.
14570 * gcj/libgcj-config.h: Add warning comment.
14572 2002-03-12 Andreas Tobler <a.tobler@schweiz.ch>
14574 * configure.host (powerpc*-darwin*): Enable interpreter.
14576 2002-03-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14578 * include/posix.h: Add multiple include header protection.
14579 * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
14581 2002-03-10 Adam Megacz <adam@xwt.org>
14583 * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
14585 2002-03-10 Tom Tromey <tromey@redhat.com>
14587 * java/awt/GridLayout.java (layoutContainer): Handle case where
14588 there are no items in container.
14590 * java/lang/Win32Process.java: Added comment.
14591 * include/posix.h (_Jv_platform_close_on_exec): New function.
14593 * include/win32.h (_Jv_platform_close_on_exec): New function.
14594 * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
14596 (accept): Likewise.
14597 * java/net/natPlainDatagramSocketImpl.cc (create): Set
14598 close-on-exec flag.
14599 * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
14602 2002-03-09 Tom Tromey <tromey@redhat.com>
14604 * verify.cc (state::NO_STACK): New constant.
14605 (state::is_unmerged_ret_state): Handle case where stacktop is
14607 (state::merge): Handle NO_STACK merges.
14608 (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
14609 for instruction following jsr.
14610 (stacktop, stackdepth): Removed unused variables.
14611 (pop_jump): Ignore case where all remaining states are skipped.
14613 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14615 * java/awt/ImageMediaEntry: Removed.
14616 * java/awt/MediaEntry: Removed.
14618 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14620 Hashtable synchronization for PowerPC.
14621 * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
14622 slow_pthread_self. Set up symlink for sysdeps directory.
14623 * configure: Rebuild.
14624 * configure.host: Document more shell variables. Set sysdeps_dir
14625 for most platforms. Set slow_pthread_self for i686. Set
14626 enable_hash_synchronization_default and slow_pthread_self for PowerPC.
14627 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
14628 that memory barrier is emitted where required.
14629 * prims.cc: 64-bit align static primitive class instances.
14630 * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
14631 read_barrier() to enforce ordering of reads.
14632 * sysdep/powerpc/locks.h: New file. Implementation of synchronization
14633 primitives for PowerPC.
14634 * sysdep/i386/locks.h: New file. Synchronization primitives for i386
14635 moved from natObject.cc.
14636 * sysdep/alpha/locks.h: Likewise.
14637 * sysdep/ia64/locks.h: Likewise.
14638 * sysdep/generic/locks.h: Likewise.
14639 * java/lang/natObject.cc: Move thread synchronization primitives to
14640 system-dependent headers.
14642 2002-03-09 Adam Megacz <adam@xwt.org>
14644 * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
14645 bytes read and no failure code returned.
14647 2002-03-09 Adam Megacz <adam@xwt.org>
14649 * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
14650 definitions to simulate -mthreads.
14652 2002-03-09 Adam Megacz <adam@xwt.org>
14654 * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
14655 avoid precision loss.
14657 2002-03-09 Per Bothner <per@bothner.com>
14659 * gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.
14660 * gnu/gcj/xlib/XImage.java: Likewise.
14661 * gnu/gcj/xlib/XColor.java: Likewise.
14663 2002-03-09 Adam Megacz <adam@xwt.org>
14665 * java/lang/Win32Process.java (ConcreteProcess): Now throws an
14666 IOException so that Throwable.printStackTrace fails correctly.
14668 2002-03-08 Adam Megacz <adam@xwt.org>
14670 * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
14673 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14675 * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
14678 2002-03-08 Tom Tromey <tromey@redhat.com>
14680 * include/jni.h: Include stdio.h.
14682 2002-03-08 Tom Tromey <tromey@redhat.com>
14684 * posix.cc (internal_gettimeofday): New function.
14685 (_Jv_select): Use it.
14687 2002-03-07 Adam Megacz <adam@xwt.org>
14689 * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
14690 WIN32, and added thunks for read(), write(), and close().
14691 * java/net/natPlainSocketImpl.cc (accept, read, read):
14692 Disabled timeouts on WIN32 pending discussion.
14694 2002-03-07 Adam Megacz <adam@xwt.org>
14696 * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
14697 returns jlong. Added implementation
14698 * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
14700 * win32.h (_Jv_platform_gettimeofday): Now takes no args,
14702 * posix.h (_Jv_platform_gettimeofday): Now takes no args,
14704 * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
14705 _Jv_platform_gettimeofday signature.
14707 2002-03-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14709 * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
14710 (read): Call recv() directly, not _Jv_recv().
14712 2002-03-06 Tom Tromey <tromey@redhat.com>
14714 * java/io/natFileDescriptorEcos.cc (init): Don't use
14716 * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
14718 (init): Don't use GetStdHandle.
14720 * include/config.h.in: Rebuilt.
14721 * configure: Rebuilt.
14722 * Makefile.in: Rebuilt.
14724 2002-03-06 Adam Megacz <adam@xwt.org>
14726 * java/io/FileDescriptor.java: Initialize in/out/err in init().
14727 * java/io/natFileDescriptorWin32.cc (init()): Added function.
14728 * java/io/natFileDescriptorPosix.cc (init()): Added function.
14729 * java/io/natFileDescriptorEcos.cc (init()): Added function.
14731 2002-03-06 Eric Blake <ebb9@email.byu.edu>
14733 * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
14734 the code for generating include/java-chartables.h.
14735 * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
14736 merge with Classpath.
14737 * scripts/unicode-muncher.pl: Copy from Classpath.
14738 * scritps/MakeCharTables.java: New file.
14739 * gnu/gcj/convert/Blocks-3.txt: New file.
14740 * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
14741 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
14742 * gnu/java/lang/CharData.java: Copy from Classpath.
14743 * Makefile.am (ordinary_java_source_files): Add
14744 gnu/java/lang/CharData.java.
14745 * configure.in: Remove --enable-fast-character option.
14746 * java/lang/Character.java: Merge algorithms and Javadoc with
14748 * java/lang/natCharacter.cc: Implement Unicode lookup table more
14750 * include/java-chardecomp.h: Regenerate.
14751 * include/java-chartables.h: Regenerate.
14753 2002-03-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14755 * java/awt/MediaTracker.java: Implemented.
14756 * Makefile.am: Add MediaTracker.
14757 * Makefile.in: Rebuilt.
14759 2002-03-05 Tom Tromey <tromey@redhat.com>
14761 * java/lang/natPosixProcess.cc (fail): Removed.
14762 (startProcess): Simplified error-handling. Preserve
14763 LD_LIBRARY_PATH across exec.
14765 * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
14766 AbstractMethodError.
14768 2002-03-03 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14770 * Makefile.am: Use -bootclasspath, not -CLASSPATH.
14771 * Makefile.in: Rebuilt.
14773 2002-03-03 Mark Wielaard <mark@klomp.org>
14775 * java/util/Timer (TaskQueue.stop): set elements to zero.
14777 2002-02-28 Anthony Green <green@redhat.com>
14779 * java/lang/reflect/natMethod.cc (result): Add void* element.
14780 (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments. Move
14783 2002-02-27 Adam Megacz <adam@xwt.org>
14785 * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
14788 2002-02-26 Tom Tromey <tromey@redhat.com>
14790 * java/lang/natSystem.cc (init_properties): Use __VERSION__.
14791 * gij.cc (version): Use __VERSION__.
14792 * include/config.h.in: Rebuilt.
14793 * acconfig.h (GCJVERSION): Removed.
14794 * configure: Rebuilt.
14795 * configure.in (GCJVERSION): Removed.
14797 2002-02-26 Andreas Schwab <schwab@suse.de>
14799 * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
14800 glibcpp_CXX, since libjava uses even another CXX.
14801 * aclocal.m4, configure: Regenerated.
14803 2002-02-26 Tom Tromey <tromey@redhat.com>
14805 * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
14808 2002-02-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14810 * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
14811 dependency tracking for .java files.
14812 * Makefile.in: Rebuilt.
14814 2002-02-24 Adam Megacz <adam@xwt.org>
14816 * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
14819 2002-02-24 Adam Megacz <adam@xwt.org>
14821 * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
14822 for Win32, changed #ifdefs to check WIN32 instead of the
14823 (now-obsolete) USE_WINSOCK, and removed support for socket
14824 timeouts on Win32 pending further discussion.
14826 2002-02-24 Adam Megacz <adam@xwt.org>
14828 * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
14829 * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
14832 2002-02-24 Adam Megacz <adam@xwt.org>
14834 * java/lang/Win32Process.java: Created a dummy class to allow
14835 build process to run to completion.
14837 2002-02-24 Jeff Sturm <jsturm@one-point.com>
14839 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
14840 Define ffi_result union for ffi_call result. Cast
14841 ffi_result members to jvalue.
14843 2002-02-23 Alexandre Oliva <aoliva@redhat.com>
14845 * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
14846 * testsuite/Makefile.in: Likewise.
14848 2002-02-20 Per Bothner <per@bothner.com>
14850 * java/net/URL.java (getPath): New JDK 1.3 method.
14852 * java/net/URLStreamHandler.java (parseURL):
14853 It is wrong to prepend '/' to the file part of a relative url.
14855 * java/net/URLStreamHandler.java (parseURL):
14856 Minor optizations - append '/' rather than "/".
14858 * java/net/URLStreamHandler.java (parseURL):
14859 Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
14860 We probably should canonicalize for a context-relative url, though.
14861 * java/net/URL.java (sameFile): Delegate to URLStreamHandler.
14862 * java/net/URLStreamHandler.java (canonicalizeFilename): New helper.
14863 (sameFile): New method. Uses canonicalizeFilename.
14865 2002-02-22 Tom Tromey <tromey@redhat.com>
14867 * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
14868 java.vendor and java.vm.vendor.
14869 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
14870 recent copyright date.
14871 * gnu/gcj/convert/Convert.java (version): Print `Inc'.
14872 * gij.cc (version): Print `Inc'.
14874 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
14876 * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
14877 * aclocal.m4, configure: Rebuilt.
14879 2002-02-20 Per Bothner <per@bothner.com>
14881 * gnu/gcj/protocol/file/Connection.java (conect): Open the input
14882 and/or output streams immediately here, instead of using File.exists.
14883 (inputStream, outputStream): New fields to save open streams.
14884 (getInputStream, getOutputStream): Use already-opened streams.
14886 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
14888 * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
14890 * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
14891 * aclocal.m4, configure, Makefile.in: Rebuilt.
14893 2002-02-19 Tom Tromey <tromey@redhat.com>
14895 Fix for PR libgcj/5696:
14896 * verify.cc (is_assignable_from_slow): Never call
14897 _Jv_IsAssignableFrom.
14898 (verify_instructions_0): Added new debug statement.
14899 (state::print): Print information about whether local has
14901 (state::merge): Don't call note_variable when merging locals.
14902 (state::set_exception): Removed old FIXME comment.
14904 2002-02-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14906 * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
14907 enable SO_BROADCAST.
14909 2002-02-18 Jason Merrill <jason@redhat.com>
14911 * name-finder.cc (toHex): Use word mode, not long long.
14913 * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
14915 2002-02-15 Tom Tromey <tromey@redhat.com>
14917 Fix for PR libgcj/5695:
14918 * verify.cc (is_assignable_from_slow): Check to see if target is
14919 an Object before checking to see if source is an interface.
14920 (verify_instructions_0) [op_invokeinterface]: Handle case where
14921 we're making an interface call on Object.
14923 2002-02-15 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14925 * Makefile.in: Rebuilt with Eric's change below.
14927 * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
14928 round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
14929 Removed functions which are now implemented in Math.java.
14931 2002-02-14 Eric Blake <ebb9@email.byu.edu>
14933 * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
14934 * Makefile.am (core_java_source_files): Add
14935 java/lang/StrictMath.java.
14936 * java/lang/Math.java: Merge with Classpath.
14937 * java/lang/StrictMath.java: New file - merge with Classpath.
14939 2002-02-14 Mark Wielaard <mark@klomp.org>
14941 * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
14942 package as a workaround for gcj 3.0.x
14944 2002-02-14 Mark Wielaard <mark@klomp.org>
14946 * java/security/BasicPermission.java: extends with fully qualified
14947 classname as workaround for gcj 3.0.4.
14949 2002-02-14 Eric Blake <ebb9@email.byu.edu>
14951 * java/net/DatagramSocketImpl.java (setOption, getOption): Work
14952 around gcj bug of wrong emitted qualifier for inherited method.
14953 * java/net/SocketImpl.java (setOption, getOption): Ditto.
14954 * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
14955 constructor to reduce amount of emitted bytecode. While this
14956 happens to work around a jikes 1.15 bug, it is still a useful
14957 patch even for correct compilers.
14958 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
14959 * gnu/java/rmi/server/UnicastRemoteCall.java
14960 (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
14962 2002-02-14 Eric Blake <ebb9@email.byu.edu>
14964 * java/net/DatagramSocketImpl.java: Reformat (no code changes).
14965 * java/net/SocketImpl.java: Ditto.
14966 * java/rmi/server/RMIClassLoader.java: Ditto.
14967 * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
14969 2002-02-14 Mark Wielaard <mark@klomp.org>
14971 Thanks to Takashi Okamoto
14972 * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
14973 * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
14974 * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
14976 2002-02-13 Todd Stock <toddastock@yahoo.com>
14978 Fix for PR libgcj/5670:
14979 * verify.cc (is_assignable_from_slow): If `source' is interface,
14980 recursively look for merge with `target'.
14982 2002-02-14 Martin Kahlert <martin.kahlert@infineon.com>
14984 * include/jni.h: Fix typo.
14986 2002-02-13 Martin Kahlert <martin.kahlert@infineon.com>
14988 * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
14991 2002-02-13 Todd Stock <toddastock@yahoo.com>
14993 Fix for PR libgcj/5671:
14994 * verify.cc (state::merge): Handle case where we're merging
14995 against an interface.
14997 2002-02-12 Tom Tromey <tromey@redhat.com>
14999 * exception.cc (std::abort): Mark as noreturn.
15001 2002-02-12 Adam Megacz <adam@xwt.org>
15003 * java/lang/Win32Process.java: Filled in a placeholder
15004 implementation so Win32 will build.
15006 2002-02-12 Adam Megacz <adam@xwt.org>
15008 * java/io/natFilePosix.cc: Copied this from natFile.cc.
15009 * java/io/natFile.cc: Removed from repository.
15010 * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
15012 2002-02-12 Adam Megacz <adam@xwt.org>
15014 * win32.cc: Added two #includes to make win32.cc compile.
15016 2002-02-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15018 * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
15020 (_Jv_InitGC): Don't bother locking, as this is always called from a
15021 single-thread. Turn off GC_all_interior_pointers. Remove dead code.
15023 2002-02-11 Adam Megacz <adam@xwt.org>
15025 * include/win32.h: Added _Jv_platform_gettimeofday.
15026 * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
15028 2002-02-11 Adam Megacz <adam@xwt.org>
15030 * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
15031 Added #undef STRICT to make windows.h and
15032 java/lang/reflect/Modifier.h cooperate.
15034 2002-02-11 Adam Megacz <adam@xwt.org>
15036 * java/io/natFileWin32.cc: Created a placeholder class with lots
15039 2002-02-11 Adam Megacz <adam@xwt.org>
15041 * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
15042 std::abort() to simply abort(). Also added "fake" std::abort() so
15043 we can #include unwind-pe.h without having to link against
15046 2002-02-10 Andreas Tobler <toa@pop.agri.ch>
15048 * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
15050 2002-02-08 Tom Tromey <tromey@redhat.com>
15052 * interpret.cc (convert): New function.
15053 (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
15057 2002-02-08 Anthony Green <green@redhat.com>
15059 * configure.host: Add support for xscale-elf embedded target.
15061 2002-02-08 Martin Kahlert <martin.kahlert@infineon.com>
15063 * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
15065 (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
15068 2002-02-07 Tom Tromey <tromey@redhat.com>
15070 * java/io/natFile.cc (_access): Use __builtin_alloca.
15073 (getCanonicalPath): Likewise.
15074 (performList): Likewise.
15075 (performMkdir): Likewise.
15076 (performSetReadOnly): Likewise.
15077 (performRenameTo): Likewise.
15078 (performSetLastModified): Likewise.
15079 (performCreate): Likewise.
15080 (performDelete): Likewise.
15082 2002-02-08 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15084 * HACKING: Fix URL for the automake-gcj.
15086 2002-02-07 Tom Tromey <tromey@redhat.com>
15088 * java/lang/natThrowable.cc: Updated copyright.
15089 * java/io/natFileWin32.cc: Updated copyright.
15090 * java/io/natFileDescriptorWin32.cc: Updated copyright.
15091 * win32-threads.cc: Updated copyright.
15092 * name-finder.cc: Updated copyright.
15093 * include/name-finder.h: Updated copyright.
15095 * include/name-finder.h: Conditionally include sys/wait.h.
15096 * include/config.h.in: Rebuilt.
15098 * java/io/natFile.cc (_access): Don't stack-allocate buffer.
15099 Size buffer based on real size of string.
15102 (getCanonicalPath): Likewise.
15103 (performList): Likewise.
15104 (performMkdir): Likewise.
15105 (performSetReadOnly): Likewise.
15106 (unixroot): Removed.
15107 (performRenameTo): Likewise.
15108 (performSetLastModified): Likewise.
15109 (performCreate): Likewise.
15110 (performDelete): Likewise.
15111 (performListRoots): Always return new array.
15113 * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
15114 * win32.cc (win32_exception_handler): Now static.
15115 * include/win32.h (_Jv_platform_initialize): Declare.
15116 (win32_exception_handler): Don't declare.
15117 * java/lang/natSystem.cc (currentTimeMillis): Use
15118 _Jv_platform_gettimeofday.
15119 * posix.cc (_Jv_platform_gettimeofday): Renamed.
15120 (_Jv_select): Use new name.
15121 (_Jv_platform_initialize): New function.
15122 * include/posix.h (_Jv_platform_gettimeofday): Renamed from
15124 (_Jv_platform_initialize): Declare.
15126 * configure: Rebuilt.
15127 * configure.in: Removed unnecessary parens.
15129 2002-02-06 Adam Megacz <adam@xwt.org>
15131 * configure.in: Changed mingw) to *mingw*).
15132 * win32.cc: Created this file.
15133 * win32.h: Created this file.
15134 * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
15135 win32_exception_handler from prims.cc to win32.cc, added
15137 * prims.cc: removed some #ifdef-WIN32'd headers which are no
15138 longer needed now that we have platform.h
15140 2002-02-06 Adam Megacz <adam@xwt.org>
15142 * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
15143 use uint<n>_t instead of LONG and BYTE
15145 2002-02-06 Adam Megacz <adam@xwt.org>
15147 * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
15149 2002-02-06 Anthony Green <green@redhat.com>
15151 * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
15152 Implement missing method stubs.
15153 java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
15155 * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
15156 concept of timezones.
15157 (init_properties): Don't refer to _Jv_Environment_Properties
15158 when this feature is not available.
15159 * include/config.h.in: Rebuilt.
15160 * acconfig.h: Add DISABLE_MAIN_ARGS.
15161 * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
15162 * configure: Rebuilt.
15163 * configure.in: Add --disable-main-args option. Test for
15164 opendir function. Replace AC_CHECK_SIZEOF with
15165 AC_COMPILE_CHECK_SIZEOF.
15166 * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
15167 * aclocal.m4: Rebuilt.
15168 * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
15170 2002-02-06 Tom Tromey <tromey@redhat.com>
15172 * verify.cc (require_array_type): If argument is a null array of
15173 references, return null as the element type.
15175 2002-02-06 Mark Wielaard <mark@klomp.org>
15177 * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
15178 duplicate of a wide type.
15180 2002-02-06 Tom Tromey <tromey@redhat.com>
15182 * verify.cc (type::isnull): New method.
15183 (require_array_type): Handle case where array is null.
15184 (verify_instructions_0) [op_arraylength]: Likewise.
15186 2002-02-05 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15188 * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
15189 Symlink PLATFORMH to platform.h.
15190 * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
15192 * java/lang/natSystem.cc: #include platform.h not posix.h.
15193 * Makefile.in: Rebuilt with libgcj automake.
15194 * configure: Rebuilt.
15196 2002-02-05 Richard Henderson <rth@redhat.com>
15198 * Makefile.in: Undo munging last change.
15200 2002-02-04 Adam Megacz <adam@xwt.org>
15202 * win32.cc: Created it.
15203 * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
15204 which is set to posix.cc or win32.cc.
15205 * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
15207 2002-02-04 Adam Megacz <adam@xwt.org>
15209 * configure.in: Corrected mingw case branches; added * before
15212 2002-02-04 Adam Megacz <adam@xwt.org>
15214 * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
15215 if compiling for win32
15217 2002-02-04 Adam Megacz <adam@xwt.org>
15219 * win32-threads.cc: #undef STRICT after gc.h inclusion
15221 2002-02-02 Tom Tromey <tromey@redhat.com>
15223 * Makefile.in: Rebuilt.
15225 2002-02-02 Jason Merrill <jason@redhat.com>
15227 * Makefile.am (clean-nat): New target.
15229 2002-02-02 Tom Tromey <tromey@redhat.com>
15231 * java/io/natFile.cc: Removed old "FIXME" comments.
15233 2002-02-01 Tom Tromey <tromey@redhat.com>
15235 * java/lang/natPosixProcess.cc (myclose): New function.
15237 (startProcess): Likewise.
15239 2002-02-01 Adam Megacz <adam@xwt.org>
15241 * prims.cc: Added #undef STRICT after #include<windows.h>.
15243 2002-02-01 Adam Megacz <adam@xwt.org>
15246 (_Jv_CreateJavaVM): We now use WIN32 instead of
15247 USE_WIN32_SIGNALLING and USE_WINSOCK.
15248 (win32_exception_handler): Now throws an exception out of
15249 the signal handler; assumes SJLJ.
15251 2002-02-01 Adam Megacz <adam@xwt.org>
15253 * win32-threads.cc:
15254 (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
15255 wait() algorithm to make it safe.
15256 (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
15257 Added lazy creation of Win32 Events for better performance
15258 (really_start): This now uses GC_CreateThread so boehm-gc
15259 knows about new threads even when statically linked.
15261 2002-02-01 Adam Megacz <adam@xwt.org>
15263 * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
15264 enable safer wait() algorithm.
15265 (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
15266 _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
15267 (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
15268 _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
15270 (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
15272 2002-02-01 Adam Megacz <adam@xwt.org>
15274 * configure.in: Added support for mingw.
15275 * java/lang/Win32Process.java: Created as empty file.
15276 * java/lang/natWin32Process.cc: Created as empty file.
15278 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
15281 * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
15282 for libiconv in LIBICONV variable.
15283 * configure: Regenerated.
15285 2002-01-31 Tom Tromey <tromey@redhat.com>
15287 * verify.cc (state::enter_subroutine): New method.
15288 (handle_jsr_insn): Use it.
15289 (state::merge): When processing a `ret', correctly use
15290 subroutine's state to determine which local variables have
15292 (push_exception_jump): Don't let stack overflow.
15294 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
15296 * gnu/gcj/convert/Convert.java: Only include one copyright year in
15299 2002-01-30 Tom Tromey <tromey@redhat.com>
15301 * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
15302 parameter for `recv' return type.
15304 * verify.cc (handle_ret_insn): Check for subroutine merge here...
15305 (state::merge): ... not here.
15306 (subr_entry_info): New structure.
15307 (entry_points): New field.
15308 (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs. Free
15311 2002-01-29 Tom Tromey <tromey@redhat.com>
15313 * java/awt/List.java (addNotify): Correctly check to see if peer
15316 * java/awt/GridLayout.java (layoutContainer): Use number of rows
15317 to compute height of each cell, and number of columns to compute
15318 width of each cell.
15319 * java/awt/Window.java (getOwnedWindows): Don't return null.
15320 * java/awt/FlowLayout.java (layoutContainer): Set width and height
15321 of component. Increment x using horizontal gap, not vertical
15324 2002-01-28 Tom Tromey <tromey@redhat.com>
15326 * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
15327 `nargs' byte is number of words, not number of arguments.
15329 2002-01-27 Tom Tromey <tromey@redhat.com>
15331 * java/awt/event/MouseEvent.java (modifiers): Removed field.
15333 * java/awt/event/InputEvent.java (modifiers, when): Now
15336 * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
15338 (state::merge): Use current class' class loader.
15339 (state::print): Print subroutine.
15340 (state::merge): Don't look at subroutine of unmerged `ret'.
15342 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
15344 * nogc.cc: Remove warnings.
15345 (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
15348 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15350 * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
15351 int, int): Remove empty "if" statement to work around compiler bug.
15352 (newPixels(int[], ColorModel, int, int): Likewise.
15354 2002-01-25 Per Bothner <per@bothner.com>
15356 * verify.cc (verify_fail): Change from being a top-level function
15357 to e method of _Jv_BytecodeVerifier. Emit current method name.
15358 Pass the current verifier to type: and state: methods as needed,
15359 for better error messages, and for resolve.
15360 (resolve): Pass current class's loader for Class.forName and
15361 _Jv_FindClassFromSignature, rather than using the default loader.
15362 (various type: and state: methods): Take _Jv_BytecodeVerifier* arg.
15363 (get_type_val_for_signature): Make non-static.
15364 (various methods): Pass start_PC implicitly, not explicitly.
15366 2002-01-25 Tom Tromey <tromey@redhat.com>
15368 * java/awt/FlowLayout.java (layoutContainer): Correctly compute
15369 loop termination condition.
15370 * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
15373 2002-01-24 Tom Tromey <tromey@redhat.com>
15375 * java/awt/Shape.java: Merged with Classpath.
15376 * java/awt/Scrollbar.java: Merged with Classpath.
15378 * java/awt/Container.java (addNotify): Unconditionally call
15379 addNotifyContainerChildren and superclass addNotify.
15381 * java/awt/image/ColorModel.java (getAlpha(Object)): Call
15382 getAlpha, not getBlue.
15384 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15386 * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
15388 * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
15389 (grabPixels(long)): Wait to be notified that the ImageProducer has
15392 2002-01-24 Per Bothner <per@bothner.com>
15394 * verify.cc (is_assignable_from_slow): If target is an interface,
15395 we must still check the source's superclass before giving up.
15397 2002-01-24 Tom Tromey <tromey@redhat.com>
15399 * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
15401 2002-01-23 Tom Tromey <tromey@redhat.com>
15403 * java/awt/BorderLayout.java (addLayoutComponent): Added missing
15406 * Makefile.in: Rebuilt.
15407 * Makefile.am (awt_java_source_files): Added new files.
15408 * java/awt/Toolkit.java: Merged with Classpath.
15409 * java/awt/PrintGraphics.java: New file from Classpath.
15410 * java/awt/PrintJob.java: New file from Classpath.
15411 * java/awt/datatransfer/Clipboard.java: New file from Classpath.
15412 * java/awt/datatransfer/ClipboardOwner.java: New file from
15414 * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
15415 * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
15416 * java/awt/datatransfer/MimeTypeParseException.java: New file from
15418 * java/awt/datatransfer/StringSelection.java: New file from
15420 * java/awt/datatransfer/SystemFlavorMap.java: New file from
15422 * java/awt/datatransfer/Transferable.java: New file from
15424 * java/awt/datatransfer/UnsupportedFlavorException.java: New file
15427 * Makefile.in: Rebuilt.
15428 * Makefile.am (awt_java_source_files): Added new files.
15429 * java/awt/image/AreaAveragingScaleFilter.java: New file from
15431 * java/awt/image/CropImageFilter.java: New file from Classpath.
15432 * java/awt/image/FilteredImageSource.java: New file from
15434 * java/awt/image/ImageFilter.java: New file from Classpath.
15435 * java/awt/image/MemoryImageSource.java: New file from Classpath.
15436 * java/awt/image/PixelGrabber.java: New file from Classpath.
15437 * java/awt/image/RGBImageFilter.java: New file from Classpath.
15438 * java/awt/image/ReplicateScaleFilter.java: New file from
15440 * java/awt/image/ImageProducer.java: Replaced with Classpath
15442 * java/awt/image/ImageObserver.java: Replaced with Classpath
15444 * java/awt/image/ImageConsumer.java: Replaced with Classpath
15446 * java/awt/GridBagConstraints.java (clone): Catch
15447 CloneNotSupportedException.
15449 2002-01-23 Per Bothner <per@bothner.com>
15451 * java/lang/reflect/natField.cc (setAddr): New function.
15452 Calls getAddr and then checks that the field isn't final.
15453 (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
15454 setDouble, set): Use setAddr instead of getAddr, to check for FINAL.
15455 (set): Call setAddr before check that new value has right type,
15456 to better match specified semantics.
15458 2002-01-22 Tom Tromey <tromey@redhat.com>
15460 * java/awt/TextField.java: Replaced with Classpath version.
15461 * java/awt/TextArea.java: Replaced with Classpath version.
15462 * java/awt/TextComponent.java: Replaced with Classpath version.
15464 * java/awt/GridBagConstraints.java: Updated copyright.
15466 2002-01-22 Mark Wielaard <mark@klomp.org>
15468 * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
15469 java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
15470 java/awt/Dialog.java java/awt/FileDialog.java
15471 java/awt/Font.java java/awt/FontMetrics.java
15472 java/awt/Image.java java/awt/ImageMediaEntry.java
15473 java/awt/Insets.java java/awt/List.java
15474 java/awt/MediaEntry.java java/awt/MediaTracker.java
15475 java/awt/Menu.java java/awt/MenuBar.java
15476 java/awt/MenuContainer.java java/awt/MenuShortcut.java
15477 java/awt/PaintContext.java java/awt/Panel.java
15478 java/awt/PopupMenu.java java/awt/SystemColor.java
15479 java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
15480 java/awt/peer/CheckboxMenuItemPeer.java
15481 java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
15482 java/awt/peer/ComponentPeer.java
15483 java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
15484 java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
15485 java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
15486 java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
15487 java/awt/peer/MenuBarPeer.java
15488 java/awt/peer/MenuComponentPeer.java
15489 java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
15490 java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
15491 java/awt/peer/ScrollPanePeer.java
15492 java/awt/peer/ScrollbarPeer.java
15493 java/awt/peer/TextAreaPeer.java
15494 java/awt/peer/TextComponentPeer.java
15495 java/awt/peer/TextFieldPeer.java
15496 java/awt/peer/WindowPeer.java: Add license clarification.
15498 2002-01-22 Mark Wielaard <mark@klomp.org>
15500 * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
15501 gnu/gcj/runtime/StringBuffer.java
15502 gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
15503 gnu/java/awt/ComponentDataBlitOp.java
15504 gnu/java/awt/GLightweightPeer.java
15505 gnu/java/beans/BeanInfoEmbryo.java
15506 gnu/java/beans/EmptyBeanInfo.java
15507 gnu/java/beans/ExplicitBeanInfo.java
15508 gnu/java/beans/IntrospectionIncubator.java
15509 gnu/java/beans/editors/ColorEditor.java
15510 gnu/java/beans/editors/FontEditor.java
15511 gnu/java/beans/editors/NativeBooleanEditor.java
15512 gnu/java/beans/editors/NativeByteEditor.java
15513 gnu/java/beans/editors/NativeDoubleEditor.java
15514 gnu/java/beans/editors/NativeFloatEditor.java
15515 gnu/java/beans/editors/NativeIntEditor.java
15516 gnu/java/beans/editors/NativeLongEditor.java
15517 gnu/java/beans/editors/NativeShortEditor.java
15518 gnu/java/beans/editors/StringEditor.java
15519 gnu/java/beans/info/ComponentBeanInfo.java
15520 gnu/java/io/ClassLoaderObjectInputStream.java
15521 gnu/java/io/NullOutputStream.java
15522 gnu/java/io/ObjectIdentityWrapper.java
15523 gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
15524 gnu/java/lang/reflect/TypeSignature.java
15525 gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
15526 gnu/java/locale/Calendar_en.java
15527 gnu/java/locale/Calendar_nl.java
15528 gnu/java/locale/LocaleInformation.java
15529 gnu/java/locale/LocaleInformation_de.java
15530 gnu/java/locale/LocaleInformation_en.java
15531 gnu/java/locale/LocaleInformation_nl.java
15532 gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
15533 gnu/java/rmi/registry/RegistryImpl.java
15534 gnu/java/rmi/rmic/Compile_gcj.java
15535 gnu/java/rmi/rmic/Compiler.java
15536 gnu/java/rmi/rmic/CompilerProcess.java
15537 gnu/java/rmi/rmic/RMIC.java
15538 gnu/java/rmi/rmic/TabbedWriter.java
15539 gnu/java/rmi/server/ProtocolConstants.java
15540 gnu/java/rmi/server/RMIDefaultSocketFactory.java
15541 gnu/java/rmi/server/RMIHashes.java
15542 gnu/java/rmi/server/RMIObjectInputStream.java
15543 gnu/java/rmi/server/RMIObjectOutputStream.java
15544 gnu/java/rmi/server/UnicastConnection.java
15545 gnu/java/rmi/server/UnicastConnectionManager.java
15546 gnu/java/rmi/server/UnicastRef.java
15547 gnu/java/rmi/server/UnicastRemoteCall.java
15548 gnu/java/rmi/server/UnicastRemoteStub.java
15549 gnu/java/rmi/server/UnicastServer.java
15550 gnu/java/rmi/server/UnicastServerRef.java
15551 gnu/java/security/provider/DefaultPolicy.java
15552 gnu/java/security/provider/Gnu.java
15553 gnu/java/security/provider/SHA.java
15554 gnu/java/security/provider/SHA1PRNG.java
15555 gnu/java/text/BaseBreakIterator.java
15556 gnu/java/text/CharacterBreakIterator.java
15557 gnu/java/text/LineBreakIterator.java
15558 gnu/java/text/SentenceBreakIterator.java
15559 gnu/java/text/WordBreakIterator.java
15560 gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
15561 java/applet/AppletContext.java java/applet/AppletStub.java
15562 java/applet/AudioClip.java java/awt/AWTError.java
15563 java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
15564 java/awt/AWTException.java java/awt/AWTPermission.java
15565 java/awt/ActiveEvent.java java/awt/BorderLayout.java
15566 java/awt/Button.java java/awt/Canvas.java
15567 java/awt/CardLayout.java java/awt/Checkbox.java
15568 java/awt/CheckboxGroup.java java/awt/Component.java
15569 java/awt/ComponentOrientation.java java/awt/Container.java
15570 java/awt/Dimension.java java/awt/Event.java
15571 java/awt/EventDispatchThread.java java/awt/EventQueue.java
15572 java/awt/FlowLayout.java java/awt/Frame.java
15573 java/awt/Graphics.java java/awt/Graphics2D.java
15574 java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
15575 java/awt/IllegalComponentStateException.java
15576 java/awt/ItemSelectable.java java/awt/Label.java
15577 java/awt/LayoutManager.java java/awt/LayoutManager2.java
15578 java/awt/MenuComponent.java java/awt/MenuItem.java
15579 java/awt/Paint.java java/awt/Point.java
15580 java/awt/Rectangle.java java/awt/RenderingHints.java
15581 java/awt/Transparency.java java/awt/Window.java
15582 java/awt/color/ColorSpace.java
15583 java/awt/color/ICC_ColorSpace.java
15584 java/awt/color/ICC_Profile.java
15585 java/awt/event/HierarchyBoundsAdapter.java
15586 java/awt/event/HierarchyBoundsListener.java
15587 java/awt/event/HierarchyEvent.java
15588 java/awt/event/HierarchyListener.java
15589 java/awt/geom/AffineTransform.java
15590 java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
15591 java/awt/geom/IllegalPathStateException.java
15592 java/awt/geom/Line2D.java
15593 java/awt/geom/NoninvertibleTransformException.java
15594 java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
15595 java/awt/geom/Rectangle2D.java
15596 java/awt/geom/RectangularShape.java
15597 java/awt/geom/RoundRectangle2D.java
15598 java/awt/image/BufferedImage.java
15599 java/awt/image/ColorModel.java
15600 java/awt/image/ComponentColorModel.java
15601 java/awt/image/ComponentSampleModel.java
15602 java/awt/image/DataBuffer.java
15603 java/awt/image/DataBufferByte.java
15604 java/awt/image/DataBufferInt.java
15605 java/awt/image/DataBufferUShort.java
15606 java/awt/image/DirectColorModel.java
15607 java/awt/image/PackedColorModel.java
15608 java/awt/image/Raster.java java/awt/image/RasterOp.java
15609 java/awt/image/SampleModel.java
15610 java/awt/image/SinglePixelPackedSampleModel.java
15611 java/awt/image/WritableRaster.java
15612 java/beans/AppletInitializer.java
15613 java/beans/BeanDescriptor.java java/beans/BeanInfo.java
15614 java/beans/Beans.java java/beans/Customizer.java
15615 java/beans/DesignMode.java java/beans/EventSetDescriptor.java
15616 java/beans/FeatureDescriptor.java
15617 java/beans/IndexedPropertyDescriptor.java
15618 java/beans/IntrospectionException.java
15619 java/beans/Introspector.java java/beans/MethodDescriptor.java
15620 java/beans/ParameterDescriptor.java
15621 java/beans/PropertyChangeEvent.java
15622 java/beans/PropertyChangeListener.java
15623 java/beans/PropertyChangeSupport.java
15624 java/beans/PropertyDescriptor.java
15625 java/beans/PropertyEditor.java
15626 java/beans/PropertyEditorManager.java
15627 java/beans/PropertyEditorSupport.java
15628 java/beans/PropertyVetoException.java
15629 java/beans/SimpleBeanInfo.java
15630 java/beans/VetoableChangeListener.java
15631 java/beans/VetoableChangeSupport.java
15632 java/beans/Visibility.java
15633 java/beans/beancontext/BeanContext.java
15634 java/beans/beancontext/BeanContextChild.java
15635 java/beans/beancontext/BeanContextChildComponentProxy.java
15636 java/beans/beancontext/BeanContextChildSupport.java
15637 java/beans/beancontext/BeanContextContainerProxy.java
15638 java/beans/beancontext/BeanContextEvent.java
15639 java/beans/beancontext/BeanContextMembershipEvent.java
15640 java/beans/beancontext/BeanContextMembershipListener.java
15641 java/beans/beancontext/BeanContextProxy.java
15642 java/beans/beancontext/BeanContextServiceAvailableEvent.java
15643 java/beans/beancontext/BeanContextServiceProvider.java
15644 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
15645 java/beans/beancontext/BeanContextServiceRevokedEvent.java
15646 java/beans/beancontext/BeanContextServiceRevokedListener.java
15647 java/beans/beancontext/BeanContextServices.java
15648 java/beans/beancontext/BeanContextServicesListener.java
15649 java/io/BufferedInputStream.java
15650 java/io/BufferedOutputStream.java java/io/BufferedReader.java
15651 java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
15652 java/io/ByteArrayOutputStream.java
15653 java/io/CharArrayReader.java java/io/CharArrayWriter.java
15654 java/io/CharConversionException.java java/io/DataInput.java
15655 java/io/DataInputStream.java java/io/DataOutput.java
15656 java/io/EOFException.java java/io/Externalizable.java
15657 java/io/FileFilter.java java/io/FileNotFoundException.java
15658 java/io/FilePermission.java java/io/FileReader.java
15659 java/io/FileWriter.java java/io/FilenameFilter.java
15660 java/io/FilterInputStream.java java/io/FilterOutputStream.java
15661 java/io/FilterReader.java java/io/FilterWriter.java
15662 java/io/IOException.java java/io/InputStream.java
15663 java/io/InterruptedIOException.java
15664 java/io/InvalidClassException.java
15665 java/io/InvalidObjectException.java
15666 java/io/NotActiveException.java
15667 java/io/NotSerializableException.java java/io/ObjectInput.java
15668 java/io/ObjectInputStream.java
15669 java/io/ObjectInputValidation.java java/io/ObjectOutput.java
15670 java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
15671 java/io/ObjectStreamConstants.java
15672 java/io/ObjectStreamException.java
15673 java/io/ObjectStreamField.java
15674 java/io/OptionalDataException.java java/io/OutputStream.java
15675 java/io/PipedInputStream.java java/io/PipedOutputStream.java
15676 java/io/PipedReader.java java/io/PipedWriter.java
15677 java/io/PrintWriter.java java/io/PushbackInputStream.java
15678 java/io/PushbackReader.java java/io/Reader.java
15679 java/io/SequenceInputStream.java java/io/Serializable.java
15680 java/io/SerializablePermission.java
15681 java/io/StreamCorruptedException.java
15682 java/io/StreamTokenizer.java
15683 java/io/StringBufferInputStream.java java/io/StringReader.java
15684 java/io/StringWriter.java java/io/SyncFailedException.java
15685 java/io/UTFDataFormatException.java
15686 java/io/UnsupportedEncodingException.java
15687 java/io/WriteAbortedException.java java/io/Writer.java
15688 java/lang/AbstractMethodError.java
15689 java/lang/ArithmeticException.java
15690 java/lang/ArrayIndexOutOfBoundsException.java
15691 java/lang/ArrayStoreException.java java/lang/Boolean.java
15692 java/lang/Byte.java java/lang/CharSequence.java
15693 java/lang/ClassCastException.java
15694 java/lang/ClassCircularityError.java
15695 java/lang/ClassFormatError.java
15696 java/lang/ClassNotFoundException.java
15697 java/lang/CloneNotSupportedException.java
15698 java/lang/Cloneable.java java/lang/Comparable.java
15699 java/lang/Compiler.java java/lang/Double.java
15700 java/lang/Error.java java/lang/Exception.java
15701 java/lang/ExceptionInInitializerError.java
15702 java/lang/Float.java java/lang/IllegalAccessError.java
15703 java/lang/IllegalAccessException.java
15704 java/lang/IllegalArgumentException.java
15705 java/lang/IllegalMonitorStateException.java
15706 java/lang/IllegalStateException.java
15707 java/lang/IllegalThreadStateException.java
15708 java/lang/IncompatibleClassChangeError.java
15709 java/lang/IndexOutOfBoundsException.java
15710 java/lang/InheritableThreadLocal.java
15711 java/lang/InstantiationError.java
15712 java/lang/InstantiationException.java java/lang/Integer.java
15713 java/lang/InternalError.java
15714 java/lang/InterruptedException.java
15715 java/lang/LinkageError.java java/lang/Long.java
15716 java/lang/NegativeArraySizeException.java
15717 java/lang/NoClassDefFoundError.java
15718 java/lang/NoSuchFieldError.java
15719 java/lang/NoSuchFieldException.java
15720 java/lang/NoSuchMethodError.java
15721 java/lang/NoSuchMethodException.java
15722 java/lang/NullPointerException.java java/lang/Number.java
15723 java/lang/NumberFormatException.java
15724 java/lang/OutOfMemoryError.java java/lang/Package.java
15725 java/lang/Process.java java/lang/Runnable.java
15726 java/lang/RuntimeException.java
15727 java/lang/RuntimePermission.java
15728 java/lang/SecurityException.java
15729 java/lang/SecurityManager.java java/lang/Short.java
15730 java/lang/StackOverflowError.java java/lang/StringBuffer.java
15731 java/lang/StringIndexOutOfBoundsException.java
15732 java/lang/ThreadDeath.java java/lang/ThreadGroup.java
15733 java/lang/ThreadLocal.java java/lang/UnknownError.java
15734 java/lang/UnsatisfiedLinkError.java
15735 java/lang/UnsupportedClassVersionError.java
15736 java/lang/UnsupportedOperationException.java
15737 java/lang/VerifyError.java java/lang/VirtualMachineError.java
15738 java/lang/Void.java java/lang/ref/PhantomReference.java
15739 java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
15740 java/lang/ref/SoftReference.java
15741 java/lang/ref/WeakReference.java
15742 java/lang/reflect/AccessibleObject.java
15743 java/lang/reflect/InvocationTargetException.java
15744 java/lang/reflect/Member.java java/lang/reflect/Modifier.java
15745 java/lang/reflect/ReflectPermission.java
15746 java/math/BigDecimal.java java/math/BigInteger.java
15747 java/net/Authenticator.java java/net/BindException.java
15748 java/net/ConnectException.java java/net/ContentHandler.java
15749 java/net/ContentHandlerFactory.java
15750 java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
15751 java/net/FileNameMap.java java/net/MalformedURLException.java
15752 java/net/MulticastSocket.java java/net/NetPermission.java
15753 java/net/NoRouteToHostException.java
15754 java/net/PasswordAuthentication.java
15755 java/net/ProtocolException.java java/net/ServerSocket.java
15756 java/net/Socket.java java/net/SocketException.java
15757 java/net/SocketImpl.java java/net/SocketImplFactory.java
15758 java/net/SocketOptions.java java/net/SocketPermission.java
15759 java/net/URLDecoder.java java/net/URLEncoder.java
15760 java/net/URLStreamHandlerFactory.java
15761 java/net/UnknownHostException.java
15762 java/net/UnknownServiceException.java
15763 java/rmi/AccessException.java
15764 java/rmi/AlreadyBoundException.java
15765 java/rmi/ConnectException.java
15766 java/rmi/ConnectIOException.java
15767 java/rmi/MarshalException.java java/rmi/MarshalledObject.java
15768 java/rmi/Naming.java java/rmi/NoSuchObjectException.java
15769 java/rmi/NotBoundException.java
15770 java/rmi/RMISecurityException.java
15771 java/rmi/RMISecurityManager.java java/rmi/Remote.java
15772 java/rmi/RemoteException.java java/rmi/ServerError.java
15773 java/rmi/ServerException.java
15774 java/rmi/ServerRuntimeException.java
15775 java/rmi/StubNotFoundException.java
15776 java/rmi/UnexpectedException.java
15777 java/rmi/UnknownHostException.java
15778 java/rmi/UnmarshalException.java
15779 java/rmi/activation/Activatable.java
15780 java/rmi/activation/ActivateFailedException.java
15781 java/rmi/activation/ActivationDesc.java
15782 java/rmi/activation/ActivationException.java
15783 java/rmi/activation/ActivationGroup.java
15784 java/rmi/activation/ActivationGroupDesc.java
15785 java/rmi/activation/ActivationGroupID.java
15786 java/rmi/activation/ActivationID.java
15787 java/rmi/activation/ActivationInstantiator.java
15788 java/rmi/activation/ActivationMonitor.java
15789 java/rmi/activation/ActivationSystem.java
15790 java/rmi/activation/Activator.java
15791 java/rmi/activation/UnknownGroupException.java
15792 java/rmi/activation/UnknownObjectException.java
15793 java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
15794 java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
15795 java/rmi/registry/Registry.java
15796 java/rmi/registry/RegistryHandler.java
15797 java/rmi/server/ExportException.java
15798 java/rmi/server/LoaderHandler.java
15799 java/rmi/server/LogStream.java java/rmi/server/ObjID.java
15800 java/rmi/server/Operation.java
15801 java/rmi/server/RMIClassLoader.java
15802 java/rmi/server/RMIClientSocketFactory.java
15803 java/rmi/server/RMIFailureHandler.java
15804 java/rmi/server/RMIServerSocketFactory.java
15805 java/rmi/server/RMISocketFactory.java
15806 java/rmi/server/RemoteCall.java
15807 java/rmi/server/RemoteObject.java
15808 java/rmi/server/RemoteRef.java
15809 java/rmi/server/RemoteServer.java
15810 java/rmi/server/RemoteStub.java
15811 java/rmi/server/ServerCloneException.java
15812 java/rmi/server/ServerNotActiveException.java
15813 java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
15814 java/rmi/server/SkeletonMismatchException.java
15815 java/rmi/server/SkeletonNotFoundException.java
15816 java/rmi/server/SocketSecurityException.java
15817 java/rmi/server/UID.java
15818 java/rmi/server/UnicastRemoteObject.java
15819 java/rmi/server/Unreferenced.java
15820 java/security/AccessControlContext.java
15821 java/security/AccessControlException.java
15822 java/security/AccessController.java
15823 java/security/AlgorithmParameterGenerator.java
15824 java/security/AlgorithmParameterGeneratorSpi.java
15825 java/security/AlgorithmParameters.java
15826 java/security/AlgorithmParametersSpi.java
15827 java/security/AllPermission.java
15828 java/security/BasicPermission.java
15829 java/security/Certificate.java java/security/CodeSource.java
15830 java/security/DigestException.java
15831 java/security/DigestInputStream.java
15832 java/security/DigestOutputStream.java
15833 java/security/DomainCombiner.java
15834 java/security/DummyKeyPairGenerator.java
15835 java/security/DummyMessageDigest.java
15836 java/security/DummySignature.java
15837 java/security/GeneralSecurityException.java
15838 java/security/Guard.java java/security/GuardedObject.java
15839 java/security/Identity.java java/security/IdentityScope.java
15840 java/security/InvalidAlgorithmParameterException.java
15841 java/security/InvalidKeyException.java
15842 java/security/InvalidParameterException.java
15843 java/security/Key.java java/security/KeyException.java
15844 java/security/KeyFactory.java java/security/KeyFactorySpi.java
15845 java/security/KeyManagementException.java
15846 java/security/KeyPair.java java/security/KeyPairGenerator.java
15847 java/security/KeyPairGeneratorSpi.java
15848 java/security/KeyStore.java
15849 java/security/KeyStoreException.java
15850 java/security/KeyStoreSpi.java
15851 java/security/MessageDigest.java
15852 java/security/MessageDigestSpi.java
15853 java/security/NoSuchAlgorithmException.java
15854 java/security/NoSuchProviderException.java
15855 java/security/Permission.java
15856 java/security/PermissionCollection.java
15857 java/security/Permissions.java java/security/Policy.java
15858 java/security/Principal.java java/security/PrivateKey.java
15859 java/security/PrivilegedAction.java
15860 java/security/PrivilegedActionException.java
15861 java/security/PrivilegedExceptionAction.java
15862 java/security/ProtectionDomain.java
15863 java/security/Provider.java
15864 java/security/ProviderException.java
15865 java/security/PublicKey.java
15866 java/security/SecureClassLoader.java
15867 java/security/SecureRandom.java
15868 java/security/SecureRandomSpi.java java/security/Security.java
15869 java/security/SecurityPermission.java
15870 java/security/Signature.java
15871 java/security/SignatureException.java
15872 java/security/SignatureSpi.java
15873 java/security/SignedObject.java java/security/Signer.java
15874 java/security/UnrecoverableKeyException.java
15875 java/security/UnresolvedPermission.java
15876 java/security/acl/Acl.java java/security/acl/AclEntry.java
15877 java/security/acl/AclNotFoundException.java
15878 java/security/acl/Group.java
15879 java/security/acl/LastOwnerException.java
15880 java/security/acl/NotOwnerException.java
15881 java/security/acl/Owner.java java/security/acl/Permission.java
15882 java/security/cert/CRL.java
15883 java/security/cert/CRLException.java
15884 java/security/cert/Certificate.java
15885 java/security/cert/CertificateEncodingException.java
15886 java/security/cert/CertificateException.java
15887 java/security/cert/CertificateExpiredException.java
15888 java/security/cert/CertificateFactory.java
15889 java/security/cert/CertificateFactorySpi.java
15890 java/security/cert/CertificateNotYetValidException.java
15891 java/security/cert/CertificateParsingException.java
15892 java/security/cert/X509CRL.java
15893 java/security/cert/X509CRLEntry.java
15894 java/security/cert/X509Certificate.java
15895 java/security/cert/X509Extension.java
15896 java/security/interfaces/DSAKey.java
15897 java/security/interfaces/DSAKeyPairGenerator.java
15898 java/security/interfaces/DSAParams.java
15899 java/security/interfaces/DSAPrivateKey.java
15900 java/security/interfaces/DSAPublicKey.java
15901 java/security/interfaces/RSAKey.java
15902 java/security/interfaces/RSAPrivateCrtKey.java
15903 java/security/interfaces/RSAPrivateKey.java
15904 java/security/interfaces/RSAPublicKey.java
15905 java/security/spec/AlgorithmParameterSpec.java
15906 java/security/spec/DSAParameterSpec.java
15907 java/security/spec/DSAPrivateKeySpec.java
15908 java/security/spec/DSAPublicKeySpec.java
15909 java/security/spec/EncodedKeySpec.java
15910 java/security/spec/InvalidKeySpecException.java
15911 java/security/spec/InvalidParameterSpecException.java
15912 java/security/spec/KeySpec.java
15913 java/security/spec/PKCS8EncodedKeySpec.java
15914 java/security/spec/RSAKeyGenParameterSpec.java
15915 java/security/spec/RSAPrivateCrtKeySpec.java
15916 java/security/spec/RSAPrivateKeySpec.java
15917 java/security/spec/RSAPublicKeySpec.java
15918 java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
15919 java/sql/BatchUpdateException.java java/sql/Blob.java
15920 java/sql/CallableStatement.java java/sql/Clob.java
15921 java/sql/Connection.java java/sql/DataTruncation.java
15922 java/sql/DatabaseMetaData.java java/sql/Date.java
15923 java/sql/Driver.java java/sql/DriverManager.java
15924 java/sql/DriverPropertyInfo.java
15925 java/sql/PreparedStatement.java java/sql/Ref.java
15926 java/sql/ResultSet.java java/sql/ResultSetMetaData.java
15927 java/sql/SQLData.java java/sql/SQLException.java
15928 java/sql/SQLInput.java java/sql/SQLOutput.java
15929 java/sql/SQLWarning.java java/sql/Statement.java
15930 java/sql/Struct.java java/sql/Time.java
15931 java/sql/Timestamp.java java/sql/Types.java
15932 java/text/Annotation.java
15933 java/text/AttributedCharacterIterator.java
15934 java/text/AttributedString.java
15935 java/text/AttributedStringIterator.java
15936 java/text/BreakIterator.java java/text/CharacterIterator.java
15937 java/text/ChoiceFormat.java java/text/Collator.java
15938 java/text/DateFormat.java java/text/DateFormatSymbols.java
15939 java/text/DecimalFormat.java
15940 java/text/DecimalFormatSymbols.java
15941 java/text/FieldPosition.java java/text/Format.java
15942 java/text/MessageFormat.java java/text/NumberFormat.java
15943 java/text/ParseException.java java/text/ParsePosition.java
15944 java/text/SimpleDateFormat.java
15945 java/text/StringCharacterIterator.java
15946 java/util/AbstractCollection.java java/util/AbstractList.java
15947 java/util/AbstractMap.java
15948 java/util/AbstractSequentialList.java
15949 java/util/AbstractSet.java java/util/ArrayList.java
15950 java/util/Arrays.java java/util/BasicMapEntry.java
15951 java/util/BitSet.java java/util/Calendar.java
15952 java/util/Collection.java java/util/Collections.java
15953 java/util/Comparator.java
15954 java/util/ConcurrentModificationException.java
15955 java/util/Date.java java/util/Dictionary.java
15956 java/util/EmptyStackException.java java/util/Enumeration.java
15957 java/util/EventListener.java java/util/EventObject.java
15958 java/util/GregorianCalendar.java java/util/HashMap.java
15959 java/util/HashSet.java java/util/Hashtable.java
15960 java/util/IdentityHashMap.java java/util/Iterator.java
15961 java/util/LinkedHashMap.java java/util/LinkedHashSet.java
15962 java/util/LinkedList.java java/util/List.java
15963 java/util/ListIterator.java java/util/ListResourceBundle.java
15964 java/util/Locale.java java/util/Map.java
15965 java/util/MissingResourceException.java
15966 java/util/NoSuchElementException.java
15967 java/util/Observable.java java/util/Observer.java
15968 java/util/Properties.java java/util/PropertyPermission.java
15969 java/util/PropertyResourceBundle.java java/util/Random.java
15970 java/util/RandomAccess.java java/util/ResourceBundle.java
15971 java/util/Set.java java/util/SimpleTimeZone.java
15972 java/util/SortedMap.java java/util/SortedSet.java
15973 java/util/Stack.java java/util/StringTokenizer.java
15974 java/util/TimeZone.java java/util/Timer.java
15975 java/util/TimerTask.java
15976 java/util/TooManyListenersException.java
15977 java/util/TreeMap.java java/util/TreeSet.java
15978 java/util/Vector.java java/util/WeakHashMap.java
15979 java/util/jar/Attributes.java java/util/jar/JarEntry.java
15980 java/util/jar/JarException.java java/util/jar/JarFile.java
15981 java/util/jar/JarInputStream.java
15982 java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
15983 java/util/zip/Adler32.java java/util/zip/CRC32.java
15984 java/util/zip/CheckedInputStream.java
15985 java/util/zip/CheckedOutputStream.java
15986 java/util/zip/Checksum.java
15987 java/util/zip/DataFormatException.java
15988 java/util/zip/Deflater.java
15989 java/util/zip/DeflaterOutputStream.java
15990 java/util/zip/GZIPInputStream.java
15991 java/util/zip/GZIPOutputStream.java
15992 java/util/zip/Inflater.java
15993 java/util/zip/InflaterInputStream.java
15994 java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
15995 java/util/zip/ZipException.java java/util/zip/ZipFile.java
15996 java/util/zip/ZipInputStream.java
15997 java/util/zip/ZipOutputStream.java
15998 javax/naming/BinaryRefAddr.java
15999 javax/naming/InvalidNameException.java javax/naming/Name.java
16000 javax/naming/NamingException.java javax/naming/RefAddr.java
16001 javax/naming/StringRefAddr.java: Add license clarification.
16003 2002-01-22 Tom Tromey <tromey@redhat.com>
16005 * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
16006 * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
16007 * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
16009 * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
16010 * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
16011 * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
16012 * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
16013 * java/awt/peer/DialogPeer.java: Replace with Classpath version.
16014 * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
16015 * java/awt/peer/FontPeer.java: Replace with Classpath version.
16016 * java/awt/peer/FramePeer.java: Replace with Classpath version.
16017 * java/awt/peer/LabelPeer.java: Replace with Classpath version.
16018 * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
16019 * java/awt/peer/ListPeer.java: Replace with Classpath version.
16020 * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
16021 * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
16022 * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
16023 * java/awt/peer/MenuPeer.java: Replace with Classpath version.
16024 * java/awt/peer/PanelPeer.java: Replace with Classpath version.
16025 * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
16026 * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
16027 * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
16028 * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
16029 * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
16030 * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
16031 * java/awt/peer/WindowPeer.java: Replace with Classpath version.
16032 * gnu/awt/xlib/XPanelPeer.java (insets): New method.
16033 * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
16034 (minimumSize, preferredSize, reshape): Likewise.
16035 * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
16036 getColorModel): New methods.
16037 * java/awt/PopupMenu.java: Merged with Classpath.
16038 * java/awt/MenuBar.java: Merged with Classpath.
16039 * java/awt/SystemColor.java: Replace with Classpath version.
16040 * java/awt/Panel.java: Merged with Classpath.
16041 * java/awt/PaintContext.java: Updated copyright.
16042 * java/awt/MenuShortcut.java: Merged with Classpath.
16043 * java/awt/MenuContainer.java: Merged with Classpath.
16044 * java/awt/Menu.java: Merged with Classpath.
16045 * java/awt/MediaEntry.java: New file from Classpath.
16046 * java/awt/MediaTracker.java: New file from Classpath.
16047 * java/awt/List.java: Merged with Classpath version.
16048 * java/awt/Insets.java: Merged with Classpath version.
16049 * java/awt/ImageMediaEntry.java: New file from Classpath.
16050 * java/awt/Image.java: Replaced with Classpath version.
16051 * java/awt/FontMetrics.java: Merged with Classpath version.
16052 * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
16054 * java/awt/Font.java: Merged with Classpath version.
16055 * java/awt/Dialog.java: Merged with Classpath version.
16056 * java/awt/Color.java: Merged with Classpath version.
16057 * java/awt/Choice.java: Merged with Classpath version.
16058 * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
16059 * java/awt/Adjustable.java: Replace with Classpath version.
16060 * java/awt/MenuItem.java (paramString): Don't include class name
16061 or brackets. Call superclass paramString.
16062 * java/awt/MenuComponent.java (toString): Call paramString.
16063 (paramString): Compute string; don't call toString.
16064 * java/awt/Label.java (paramString): Don't include class name
16065 or brackets. Call superclass paramString.
16066 * java/awt/Checkbox.java (paramString): Don't include class name
16067 or brackets. Call superclass paramString.
16068 * java/awt/Button.java (paramString): Don't include class name or
16069 brackets. Call superclass paramString.
16070 * java/awt/MenuComponent.java (getTreeLock): Now protected.
16072 2002-01-20 Andreas Schwab <schwab@suse.de>
16074 * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
16075 function and of parameter recv_func to ssize_t, as specified by
16078 2002-01-19 Per Bothner <per@bothner.com>
16080 * java/util/zip/ZipOutputStream.java (putNextEntry): Clear
16081 uncompressed_size in readiness for next entry.
16083 2002-01-18 Tom Tromey <tromey@redhat.com>
16085 * java/net/natPlainSocketImpl.cc: Include
16086 IllegalArgumentException.h.
16087 (_Jv_recv): New template function.
16088 (BooleanClass): Removed.
16089 (read): Use _Jv_recv.
16090 (setOption): Use Boolean::class$. Throw exception if object is
16091 not Boolean or Integer.
16093 2002-01-17 Tom Tromey <tromey@redhat.com>
16095 * java/awt/MenuComponent.java: Merged with Classpath.
16096 * java/awt/MenuItem.java: Merged with Classpath.
16097 * java/awt/Button.java: Merged with Classpath.
16099 * java/awt/ActiveEvent.java: Updated copyright.
16101 * java/awt/AWTError.java: Replaced with Classpath version.
16102 * java/awt/AWTException.java: Replaced with Classpath version.
16103 * java/awt/IllegalComponentStateException.java: Replaced with
16106 2002-01-16 Tom Tromey <tromey@redhat.com>
16108 * java/awt/Canvas.java (serialVersionUID): New constant.
16109 Updated copyright. Added javadoc from Classpath.
16110 * java/awt/ItemSelectable.java: Replaced with Classpath version.
16112 * java/awt/CheckboxGroup.java: Merged with Classpath.
16113 * java/awt/Checkbox.java: Merged with Classpath.
16115 * java/awt/Dimension.java: Updated copyright. Added javadoc from
16117 * java/awt/Point.java: Updated copyright.
16119 * java/awt/Point.java (toString): Use getClass().getName().
16122 * java/util/IdentityHashMap.java (IdentityHashMap): Removed
16124 (hash): Correctly compute initial value for `h'.
16126 * java/awt/Label.java: Merged with Classpath.
16128 2002-01-15 Tom Tromey <tromey@redhat.com>
16130 * java/awt/AWTPermission.java: Updated copyright.
16132 * java/awt/LayoutManager2.java: Merged with Classpath.
16133 * java/awt/LayoutManager.java: Merged with Classpath.
16134 * java/awt/GridLayout.java: Updated copyright and javadoc.
16135 (getSize): Use `parent.ncomponents'. Handle insets.
16136 (layoutContainer): Use `parent.ncomponents'. Handle case where
16137 there are fewer children than columns. Correctly compute size of
16138 each cell in the grid. Handle case where there isn't enough
16140 * java/awt/CardLayout.java (tab): Renamed from `map'. Updated
16142 (gotoComponent): Use parent.ncomponents. Ensure child exists
16143 before calling setVisible() on it. Last item is `num - 1', not
16145 (layoutContainer): Hoist invariants out of loop.
16147 Start of AWT merge with Classpath:
16148 * Makefile.in: Rebuilt.
16149 * Makefile.am (awt_java_source_files): Reference files in
16150 gnu/java/awt, not gnu/gcj/awt.
16151 * java/awt/image/BufferedImage.java: Updated copyright.
16152 * java/awt/image/ComponentColorModel.java: Updated copyright.
16153 * java/awt/image/ComponentSampleModel.java: Updated copyright.
16154 * java/awt/image/DataBuffer.java: Updated copyright.
16155 * java/awt/image/DataBufferByte.java: Updated copyright.
16156 * java/awt/image/DataBufferInt.java: Updated copyright.
16157 * java/awt/image/DataBufferUShort.java: Updated copyright.
16158 * java/awt/image/IndexColorModel.java: Updated copyright.
16159 * java/awt/image/PackedColorModel.java: Updated copyright.
16160 * java/awt/image/Raster.java: Updated copyright.
16161 * java/awt/image/RasterOp.java: Updated copyright.
16162 * java/awt/image/SampleModel.java: Updated copyright.
16163 * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
16164 * java/awt/image/WritableRaster.java: Updated copyright.
16165 * java/awt/color/ColorSpace.java: Updated copyright.
16166 * java/awt/color/ICC_ColorSpace.java: Updated copyright
16167 * java/awt/color/ICC_Profile.java: Updated copyright.
16168 * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
16169 * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
16170 * java/awt/event/HierarchyEvent.java: Updated copyright.
16171 * java/awt/event/HierarchyListener.java: Updated copyright.
16172 * java/awt/geom/AffineTransform.java: Updated copyright.
16173 * java/awt/geom/Dimension2D.java: Updated copyright.
16174 * java/awt/geom/Ellipse2D.java: Updated copyright.
16175 * java/awt/geom/IllegalPathStateException.java: Updated copyright.
16176 * java/awt/geom/Line2D.java: Updated copyright.
16177 * java/awt/geom/NoninvertibleTransformException.java: Updated
16179 * java/awt/geom/PathIterator.java: Updated copyright.
16180 * java/awt/geom/Point2D.java: Updated copyright.
16181 * java/awt/geom/Rectangle2D.java: Updated copyright.
16182 * java/awt/geom/RectangularShape.java: Updated copyright.
16183 * java/awt/geom/RoundRectangle2D.java: Updated copyright.
16184 * java/awt/Toolkit.java: Updated import for file moves.
16185 * java/awt/Rectangle.java: Updated copyright; added javadoc from
16187 (hashCode): New method from Classpath.
16188 * java/awt/Graphics2D.java: Updated copyright.
16189 * java/awt/Transparency.java: Updated copyright.
16190 * java/awt/Paint.java: Updated copyright.
16191 * java/awt/Graphics.java: New version from Classpath.
16192 * java/awt/EventDispatchThread.java: Updated copyright.
16193 * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
16195 (gotoComponent): Wrap around on next/previous.
16196 * gnu/gcj/awt/BitMaskExtent.java: Removed.
16197 * gnu/gcj/awt/Buffers.java: Removed.
16198 * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
16199 * gnu/gcj/awt/GLightweightPeer.java: Removed.
16200 * gnu/java/awt/BitMaskExtent.java: Added.
16201 * gnu/java/awt/Buffers.java: Added.
16202 * gnu/java/awt/ComponentDataBlitOp.java: Added.
16203 * gnu/java/awt/GLightweightPeer.java: Added.
16204 * java/awt/geom/Line2D.java (clone): Ignore
16205 CloneNotSupportedException.
16206 * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
16207 * java/awt/Frame.java: Merged with Classpath.
16208 * java/awt/RenderingHints.java: Copyright update.
16209 * java/awt/Paint.java: Copyright update.
16210 * java/awt/image/DirectColorModel.java: Merged with Classpath.
16211 * java/awt/image/ColorModel.java: Merged with Classpath.
16212 * java/awt/Window.java (show): New Implementation from Classpath.
16213 (isShowing): Use super.isShowing().
16214 * java/awt/EventQueue.java: Merged with Classpath.
16215 * java/awt/AWTEventMulticaster.java (save): Throw
16217 (saveInternal): Likewise.
16218 * java/awt/AWTEvent.java: Now implements Serializable.
16219 * java/awt/Event.java: Copyright update.
16220 * java/awt/peer/ComponentPeer.java: Merged with Classpath.
16221 * java/awt/image/BufferedImage.java: Copyright update.
16222 * java/awt/GraphicsConfiguration.java: Copyright update.
16223 * java/awt/Component.java: (addNotify): Don't call
16224 addNotifyContainerChildren().
16225 (addNotifyContainerChildren): Removed.
16226 (setPeer): New method from Classpath.
16227 (setTreeLock): Likewise.
16228 (setVisible): Rewrote.
16231 (validate): Set `valid'.
16232 (checkImage(Image,ImageObserver)): Implementation from Classpath.
16233 (createImage(ImageProducer)): Likewise.
16234 (prepareImage): Likewise.
16235 * java/awt/Container.java (addImpl): Handle case where constraint
16236 is not a String. Post event via system event queue.
16237 (remove): Post event via system event queue.
16238 (validateTree): Only validate child if it is invalid.
16239 (getAlignmentX): Call super method as default.
16240 (getAlignmentY): Likewise.
16241 (addContainerListener): Now synchronized.
16242 (removeContainerListener): Likewise.
16243 (addNotifyContainerChildren): Now private.
16244 * java/awt/ComponentOrientation.java: Updated copyright. Added
16246 * java/awt/FlowLayout.java (serialVersionUID): New field.
16247 (setAlignment): Better exception message.
16248 (layoutContainer): Don't compute component's preferred size unless
16249 we're going to use it.
16250 * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
16251 BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
16252 (firstLine, lastLine, firstItem, lastItem): New fields.
16253 (addLayoutComponent): Handle case where constraints is null.
16254 Also, handle relative locations.
16255 (removeLayoutComponent): Handle relative locations.
16256 (MIN, MAX, PREF): New constants.
16257 (calcCompSize): New method.
16258 (calcSize): New method.
16259 (minimumLayoutSize): Use it.
16260 (preferredLayoutSize): Likewise.
16261 (maximumLayoutSize): Likewise.
16262 (toString): Include more information.
16263 (setBounds): New method.
16264 (layoutContainer): Use libgcj implementation; extended to handle
16265 relative locations.
16267 2002-01-15 Tom Tromey <tromey@redhat.com>
16269 * java/lang/Float.java (equals): Preserve old code.
16270 * java/lang/Double.java (equals): Preserve old code.
16272 2002-01-15 Eric Blake <ebb9@email.byu.edu>
16274 * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
16275 * java/lang/Float.java (equals, compare): Ditto.
16277 2002-01-13 Mark Wielaard <mark@klomp.org>
16279 * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
16280 * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
16281 * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
16282 * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
16284 2002-01-11 Mark Wielaard <mark@klomp.org>
16286 * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
16287 * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
16289 * java/net/MulticastSocket.java (MulticastSocket): Likewise.
16290 * java/net/Socket.java: Merge with Classpath.
16291 * java/net/ServerSocket.java: Likewise.
16293 2002-01-11 Chris Sears <cbsears_sf@yahoo.com>
16295 * interpret.cc (NULLARRAYCHECK): New macro.
16296 (SAVE_PC): Just store `pc'.
16297 (find_exception): Subtract one from `pc' here.
16298 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
16299 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
16300 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
16301 insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
16302 don't call SAVE_PC.
16303 (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
16306 2002-01-11 Tom Tromey <tromey@redhat.com>
16308 * java/lang/natSystem.cc (init_properties): Only look for default
16309 locale if LC_MESSAGES is defined.
16310 * aclocal.m4, configure, include/config.h.in: Rebuilt.
16311 * configure.in: Call AM_LC_MESSAGES.
16312 * acinclude.m4 (AM_LC_MESSAGES): New macro.
16314 2002-01-10 Tom Tromey <tromey@redhat.com>
16316 For PR libgcj/5303:
16317 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
16318 --version. Recognize GNU-style long options. Print GNU-style
16320 (usage): Print GNU-style help. Exit with status 0.
16321 (error): New method.
16322 (run): Print error message if no class names found.
16323 (main): Don't print usage on error.
16325 2002-01-09 Tom Tromey <tromey@redhat.com>
16327 * gnu/gcj/convert/Convert.java (version): Use java.vm.name
16329 (help, version): Use println(), not println("").
16331 For PR libgcj/5303:
16332 * gnu/gcj/convert/Convert.java (error): Program is called
16333 `jv-convert'. Print GNU-style message. Exit with status 1, not
16335 (main): Handle --help and --version.
16336 (help): New method.
16337 (version): Likewise.
16339 2002-01-08 Tom Tromey <tromey@redhat.com>
16341 * Makefile.in: Rebuilt.
16342 * Makefile.am (ordinary_java_source_files): Added new files.
16343 * gnu/java/locale/LocaleInformation.java: Extend
16344 LocaleInformation_en.
16345 * gnu/java/locale/LocaleInformation_en.java: Added zone strings
16346 and time/date formats.
16347 * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
16349 * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
16350 * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
16351 * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
16352 * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
16353 * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
16354 * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
16355 * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
16356 * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
16357 * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
16358 * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
16359 * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
16360 * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
16361 * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
16362 * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
16363 * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
16364 * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
16365 * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
16366 * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
16367 * gnu/java/locale/LocaleInformation_be_BY.java: New file.
16368 * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
16369 * gnu/java/locale/LocaleInformation_br_FR.java: New file.
16370 * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
16371 * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
16372 * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
16373 * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
16374 * gnu/java/locale/LocaleInformation_da_DK.java: New file.
16375 * gnu/java/locale/LocaleInformation_de_AT.java: New file.
16376 * gnu/java/locale/LocaleInformation_de_BE.java: New file.
16377 * gnu/java/locale/LocaleInformation_de_CH.java: New file.
16378 * gnu/java/locale/LocaleInformation_de_DE.java: New file.
16379 * gnu/java/locale/LocaleInformation_de_LU.java: New file.
16380 * gnu/java/locale/LocaleInformation_el_GR.java: New file.
16381 * gnu/java/locale/LocaleInformation_en_AU.java: New file.
16382 * gnu/java/locale/LocaleInformation_en_BW.java: New file.
16383 * gnu/java/locale/LocaleInformation_en_CA.java: New file.
16384 * gnu/java/locale/LocaleInformation_en_DK.java: New file.
16385 * gnu/java/locale/LocaleInformation_en_GB.java: New file.
16386 * gnu/java/locale/LocaleInformation_en_HK.java: New file.
16387 * gnu/java/locale/LocaleInformation_en_IE.java: New file.
16388 * gnu/java/locale/LocaleInformation_en_IN.java: New file.
16389 * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
16390 * gnu/java/locale/LocaleInformation_en_PH.java: New file.
16391 * gnu/java/locale/LocaleInformation_en_SG.java: New file.
16392 * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
16393 * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
16394 * gnu/java/locale/LocaleInformation_es_AR.java: New file.
16395 * gnu/java/locale/LocaleInformation_es_BO.java: New file.
16396 * gnu/java/locale/LocaleInformation_es_CL.java: New file.
16397 * gnu/java/locale/LocaleInformation_es_CO.java: New file.
16398 * gnu/java/locale/LocaleInformation_es_CR.java: New file.
16399 * gnu/java/locale/LocaleInformation_es_DO.java: New file.
16400 * gnu/java/locale/LocaleInformation_es_EC.java: New file.
16401 * gnu/java/locale/LocaleInformation_es_ES.java: New file.
16402 * gnu/java/locale/LocaleInformation_es_GT.java: New file.
16403 * gnu/java/locale/LocaleInformation_es_HN.java: New file.
16404 * gnu/java/locale/LocaleInformation_es_MX.java: New file.
16405 * gnu/java/locale/LocaleInformation_es_NI.java: New file.
16406 * gnu/java/locale/LocaleInformation_es_PA.java: New file.
16407 * gnu/java/locale/LocaleInformation_es_PE.java: New file.
16408 * gnu/java/locale/LocaleInformation_es_PR.java: New file.
16409 * gnu/java/locale/LocaleInformation_es_PY.java: New file.
16410 * gnu/java/locale/LocaleInformation_es_SV.java: New file.
16411 * gnu/java/locale/LocaleInformation_es_US.java: New file.
16412 * gnu/java/locale/LocaleInformation_es_UY.java: New file.
16413 * gnu/java/locale/LocaleInformation_es_VE.java: New file.
16414 * gnu/java/locale/LocaleInformation_et_EE.java: New file.
16415 * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
16416 * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
16417 * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
16418 * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
16419 * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
16420 * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
16421 * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
16422 * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
16423 * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
16424 * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
16425 * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
16426 * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
16427 * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
16428 * gnu/java/locale/LocaleInformation_he_IL.java: New file.
16429 * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
16430 * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
16431 * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
16432 * gnu/java/locale/LocaleInformation_id_ID.java: New file.
16433 * gnu/java/locale/LocaleInformation_it_CH.java: New file.
16434 * gnu/java/locale/LocaleInformation_it_IT.java: New file.
16435 * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
16436 * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
16437 * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
16438 * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
16439 * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
16440 * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
16441 * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
16442 * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
16443 * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
16444 * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
16445 * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
16446 * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
16447 * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
16448 * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
16449 * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
16450 * gnu/java/locale/LocaleInformation_no_NO.java: New file.
16451 * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
16452 * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
16453 * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
16454 * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
16455 * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
16456 * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
16457 * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
16458 * gnu/java/locale/LocaleInformation_se_NO.java: New file.
16459 * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
16460 * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
16461 * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
16462 * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
16463 * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
16464 * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
16465 * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
16466 * gnu/java/locale/LocaleInformation_te_IN.java: New file.
16467 * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
16468 * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
16469 * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
16470 * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
16471 * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
16472 * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
16473 * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
16474 * gnu/java/locale/LocaleInformation_yi_US.java: New file.
16475 * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
16476 * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
16477 * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
16478 * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
16480 For PR libgcj/5031:
16481 * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
16482 choose default locale.
16484 * Makefile.in: Rebuilt.
16485 * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
16487 2002-01-08 Nic Ferrier <nferrier@tf1.tapsellferrier.co.uk>
16489 * java/net/natPlainSocketImpl.cc: Added timeout handling for
16491 (close): New function closes the socket.
16492 (write): New functions for output to socket.
16493 (read): New functions for reading from socket.
16494 * java/net/PlainSocketImpl.java: Glue for new timeout
16496 (write): Call the native impl.
16498 (getInputStream): Get a stream to read from the socket.
16499 (getOutputStream): Get a stream to write to the socket.
16501 2002-01-08 Tom Tromey <tromey@redhat.com>
16503 * resolve.cc (_Jv_PrepareClass): Enable verifier.
16505 2002-01-07 Andreas Tobler <a.tobler@schweiz.ch>
16507 * java/lang/reflect/natMethod.cc: Don't include alloca.h.
16508 (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
16510 2002-01-08 Chris Sears <cbsears_sf@yahoo.com>
16512 * interpret.cc (ARRAYBOUNDSCHECK): New macro.
16513 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
16514 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
16515 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
16516 insn_bastore, insn_castore, insn_sastore]: Use it.
16517 (continue1) [insn_arraylength]: Check for null array.
16519 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
16521 * configure, include/config.h.in: Rebuilt.
16522 * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
16523 * configure.in: Call AC_STRUCT_TIMEZONE.
16525 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
16527 * configure.host: Disable the interpreter for Darwin.
16529 2002-01-04 Tom Tromey <tromey@redhat.com>
16531 * java/lang/Thread.java (stop): No longer synchronized.
16534 2002-01-02 Tom Tromey <tromey@redhat.com>
16536 * java/lang/ieeefp.h: Fix bug in my hand-application of previous
16539 2002-1-1 Andrew Pinski <pinskia@physics.uc.edu>
16541 * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
16542 PPC Darwin, not for all of Darwin.