1 2003-12-02 Michael Koch <konqueror@gmx.de>
3 * gnu/java/net/protocol//http/Connection.java
4 (defRequestProperties): Removed. This dont gets used since JDK 1.3.
5 (requestProperties): Initialize, documentation added.
6 (inputStream): Renamed from bufferedIn.
7 (Connection): Dont initialize requestProperties.
8 (setDefaultRequestProperty): Removed.
9 (getDefaultRequestProperty): Removed.
10 (usingProxy): Documentation added.
11 (getHttpHeaders): Likewise.
13 2003-12-02 Michael Koch <konqueror@gmx.de>
15 * java/text/DateFormat.java:
16 Explicitely import used classes.
18 2003-12-01 Jeff Sturm <jsturm@one-point.com>
20 * verify.cc (state::clean_subrs): Clear seen_subrs.
21 (state::copy): Walk seen_subrs from copy, not `this'.
22 Don't clear seen_subrs.
24 2003-12-01 Kim Ho <kho@redhat.com>
26 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create):
27 Disable wrapping if TextArea has horizontal scroll bars.
29 2003-12-01 Thomas Fitzsimmons <fitzsim@redhat.com>
31 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
32 (awt_event_handler): Hard-code inset values.
34 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (GdkFontMetrics):
35 Pass font name, not XLFD, to initState.
36 (stringWidth(String, int, String)): New method.
37 (stringWidth(String)): Call new stringWidth.
38 (getLeading): Always return 0.
39 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
40 (initState): New Pango implementation.
41 (stringWidth): Likewise.
43 2003-12-01 Olga Rodimina <rodimina@redhat.com>
45 * java/awt/TextComponent.java:
46 (getSelectionStart): Updated javadocs.
47 (getSelectionEnd): Ditto.
48 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer:
49 (getSelectionStart): Changed to return caret position if no
51 (getSelectionEnd): Ditto.
53 2003-12-01 Thomas Fitzsimmons <fitzsim@redhat.com>
55 * gnu/awt/gtk/GtkButtonPeer.java, gnu/awt/gtk/gtkcommon.cc,
56 gnu/awt/gtk/gtkcommon.h, gnu/awt/gtk/GtkComponentPeer.java,
57 gnu/awt/gtk/GtkContainerPeer.java,
58 gnu/awt/gtk/GtkFramePeer.java, gnu/awt/gtk/GtkLabelPeer.java,
59 gnu/awt/gtk/GtkMainThread.java, gnu/awt/gtk/GtkToolkit.java,
60 gnu/awt/gtk/GtkWindowPeer.java, gnu/awt/gtk/natGtkButtonPeer.cc,
61 gnu/awt/gtk/natGtkComponentPeer.cc,
62 gnu/awt/gtk/natGtkContainerPeer.cc,
63 gnu/awt/gtk/natGtkFramePeer.cc, gnu/awt/gtk/natGtkLabelPeer.cc,
64 gnu/awt/gtk/natGtkMainThread.cc, gnu/awt/gtk/natGtkToolkit.cc,
65 gnu/awt/gtk/natGtkWindowPeer.cc: Remove files.
67 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
68 (closed): Mark loader parameter as unused.
70 2003-12-01 Michael Koch <konqueror@gmx.de>
72 * gnu/java/net/protocol/http/Connection.java
73 (Connection): Merged class documentation.
74 (socket): Renamed from sock.
75 (Connection): Made protected, documentation added.
76 (connect): Give URL'S host instead of InetAddress to Socket
78 (disconnect): Documentation added.
79 (getOutputStream): Rewrapped.
81 2003-12-01 Michael Koch <konqueror@gmx.de>
83 * gnu/java/net/protocol/file/Connection.java
84 (fileIn): Documentation added.
85 (inputStream): Likewise.
86 (outputStream): Likewise.
87 (Connection): Likewise.
88 (connect): Simplified.
90 2003-12-01 Thomas Fitzsimmons <fitzsim@redhat.com>
92 * gnu/java/awt/peer/gtk/GtkImage.java (setDimensions,
93 setProperties): Check that io is not null before calling
95 * java/awt/image/ImageConsumer.java (setPixels, imageComplete):
97 * java/awt/image/PixelGrabber.java: Fix implementation and
100 2003-12-01 Michael Koch <konqueror@gmx.de>
102 * gnu/java/net/natPlainSocketImplPosix.cc
103 bind(): Dont set SockedImpl.address field on succesful bind.
104 * gnu/java/net/natPlainSocketImplWin32.cc
107 2003-11-30 Jeff Sturm <jsturm@one-point.com>
109 * java/net/InetAddress.java:
110 (static): Don'f force DNS request for ANY_IF address.
112 2003-11-30 Michael Koch <konqueror@gmx.de>
114 * java/net/InetAddress.java,
115 java/net/natInetAddressNoNet.cc,
116 java/net/natInetAddressPosix.cc,
117 java/net/natInetAddressWin32.cc:
118 Reverted my last patch.
120 2003-11-28 Michael Koch <konqueror@gmx.de>
122 * java/net/InetAddress.java
123 (lookup): New method that doesnt lookup "0.0.0.0".
124 (ImplLookup): Renamed from lookup.
125 * java/net/natInetAddressNoNet.cc
126 (ImplLookup): Renamed from lookup.
127 * java/net/natInetAddressPosix.cc
128 (ImplLookup): Renamed from lookup.
129 * java/net/natInetAddressWin32.cc
130 (ImplLookup): Renamed from lookup.
132 2003-11-28 Bryce McKinlay <bryce@mckinlay.net.nz>
134 * configure: Rebuilt.
135 * configure.in: Require gtk and glib 2.2.0.
137 2003-11-27 Dalibor Topic <robilad@kaffe.org>
139 * java/text/FieldPosition.java (equals): Adapted to handle
140 field_attribute. Added fast-circuit check for comparison to self.
141 Replaced use of instanceof by getClass to fix symmetry for derived
143 (toString): Adapted to handle field_attribute. Improved readability.
144 (hashCode): New method.
146 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org>
148 * java/text/FieldPosition.java (field_attribute): New field.
149 (FieldPosition (Format.Field), FieldPosition(Format.Field, int),
150 getFieldAttribute): New methods.
152 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org>
154 * java/text/DecimalFormatSymbols.java (locale): New field.
155 (DecimalFormatSymbols (Locale)): Set locale.
156 (serialVersionOnStream): Upgraded to number 2.
157 (readObject): Assign locale if it wasn't by the serializer.
159 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org>
161 * java/text/FormatCharacterIterator.java: Documented the class and
163 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org>
165 * java/text/FormatCharacterIterator.java: Fixed some typos.
167 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org>
169 * java/text/NumberFormat.java:
170 (getIntegerInstance) Added the java version in the comments.
172 2003-11-27 Mark Wielaard <mark@klomp.org>
174 * java/text/NumberFormat.java: Import java.io.InvalidObjectException.
175 (readResolve): Reformat.
177 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org>
179 * java/text/NumberFormat.java
180 (NumberFormat.Field): New implemented class to match Java 1.4.
181 (getIntegerInstance): Two new Java 1.4 methods.o
183 2003-11-27 Ito Kazumitsu <kaz@maczuka.gcd.org>
185 * java/util/GregorianCalendar.java (getLinearTime): Avoid counting
186 the leap day of the leap year twice.
187 (computeFields): First week of month is 1 not 0.
189 2003-11-27 Mark Wielaard <mark@klomp.org>
191 * javax/swing/plaf/basic/BasicDefaults.java (BasicDefaults): Put
192 AbstractUndoableEdit.undoText and AbstractUndoableEdit.redoText.
194 2003-11-27 Michael Koch <konqueror@gmx.de>
196 * javax/swing/UIDefaults.java:
197 Reformated to match classpath's version.
199 2003-11-27 Sascha Brawer <brawer@dandelis.ch>
201 * javax/swing/UIManager.java (getDefaults, getDimension,
202 getIcon, getInsets, getInstalledLookAndFeels, getInt,
203 getLookAndFeel, getString, getSystemLookAndFeelClassName):
206 2003-11-26 Sascha Brawer <brawer@dandelis.ch>
208 * javax/swing/undo/StateEdit.java (getPresentationName): Docfix.
209 * javax/swing/undo/AbstractUndoableEdit.java (canUndo, canRedo,
210 isSignificant): Likewise.
212 2003-11-26 Sascha Brawer <brawer@dandelis.ch>
214 * javax/swing/undo/CompoundEdit.java: Re-format, document.
215 (inProgress): Set initial value to true.
216 (undo, redo, die, canUndo, canRedo): Also call inherited
217 implementation; simplify code structure.
218 (getPresentationName, getUndoPresentationName,
219 getRedoPresentationName): Make behavior dependent on lastEdit.
220 (addEdit, isSignificant): Completely re-written.
222 2003-11-26 Sascha Brawer <brawer@dandelis.ch>
224 * javax/swing/undo/StateEdit.java: Re-format, document.
225 (undo, redo): Also call inherited implementation.
227 2003-11-26 Sascha Brawer <brawer@dandelis.ch>
229 * javax/swing/undo/StateEditable.java: Re-format, document.
231 2003-11-26 Sascha Brawer <brawer@dandelis.ch>
233 * javax/swing/undo/AbstractUndoableEdit.java: Re-format, document.
234 (AbstractUndoableEdit): Initialize hasBeenDone to true.
235 (canUndo, canRedo): Simplify.
236 (getUndoPresentationName, getRedoPresentationName): Support
237 localized message; call getPresentationName() only once.
239 2003-11-26 David Belanger <dbelan2@cs.mcgill.ca>
241 * java/util/zip/ZipFile (Zipfile(File)): Set file path as name.
242 (ZipFile(File,int)): Likewise.
244 2003-11-26 Stuart Ballard <stuart.ballard@corp.fast.net>
246 * java/util/HashMap.java (putAll): Use Iterator hasNext() method.
247 (putAllInternal): Likewise.
248 * java/util/Hashtable.java (putAll): Use Iterator hasNext() method.
249 (putAllInternal): Likewise.
251 2003-11-26 Michael Koch <konqueror@gmx.de>
253 * java/net/URLStreamHandler.java
254 (parseURL): Added comment in catch statement.
255 (canonicalizeFilename): Add documentation.
256 (sameURL): Completed documentation.
258 (hostsEqual): Likewise.
259 (getDefaulPort): Likewise.
260 (hashCode): Likewise.
261 (toExternalForm): Likewise.
262 (getHostName): Fix empty hostname check, completed documentation.
264 2003-11-26 Tom Tromey <tromey@redhat.com>
266 * java/lang/natDouble.cc (parseDouble): Reverted patch of
269 2003-11-26 Guilhem Lavaux <guilhem@kaffe.org>
270 Mark Wielaard <mark@klomp.org>
272 * java/net/URLStreamHandler (parseUrl): Fixed URL parsing
273 ('@' should be checked to distinguish port from userinfo).
274 (toExternalForm): Add @ userInfo if necessary.
277 2003-11-26 Michael Koch <konqueror@gmx.de>
279 * java/net/DatagramSocket.java
280 (DategramSocket, bind): Moved binding code from DatagramSocket
281 constructor to bind method.
283 2003-11-26 Michael Koch <konqueror@gmx.de>
285 * java/net/DatagramSocket.java
286 (impl): Made private.
287 (bound): New private member variable.
288 (DatagramSocket): Fixed documentation, use getImpl().
289 (getImpl): New package-private method.
290 (isClosed): Use getImpl().
291 (getLocalAddress): Completed documentation, use getImpl().
292 (getLocalPort): Use getImpl().
293 (getSoTimeout): Likewise.
294 (setSoTimeout): Likewise.
295 (getSendBufferSize): Likewise.
296 (setSendBufferSize): Likewise.
297 (getReceiveBufferSize): Likewise.
298 (setReceiveBufferSize): Likewise.
300 (disconnect): Likewise.
303 (setReuseAddress): Likewise.
304 (setTrafficClass): Likewise.
305 (bind): Added message to exception.
306 (isClosed): Completed documentation.
307 (getChannel): Likewise.
308 (connect): Added missing exception, refined exception message.
309 (isBound): Completed documentation, just return bound.
310 (isConnected): Completed documentation.
311 (getRemoteSocketAddress): Likewise.
312 (getReuseAddress): Completed documentation, use getImpl().
313 (setSoBroadcast): Likewise.
314 (getSoBroadcast): Likewise.
315 (getTrafficClass): Likewise.
316 (getLocalSocketAddress): Simplified.
317 * java/net/MulticastSocket.java
318 (MulticastSocket): Removed comment not applying anymore.
319 (getInterface): Use getImpl().
321 (getTimeToLive): Likewise.
322 (setInterface): Likewise.
323 (setNetworkInterface): Likewise.
324 (getNetworkInterface): Likewise.
325 (setLoopback): Likewise.
326 (getLoopback): Likewise.
328 (setTimeToLive): Likewise.
329 (joinGroup): Likewise.
330 (leaveGroup): Likewise.
333 2003-11-26 Michael Koch <konqueror@gmx.de>
335 * java/net/Socket.java
336 (implCreated): Dont set default value explicitely, added
338 (inputShutdown): Likewise.
339 (outputShutdown): Likewise.
340 (bound): New private member variable.
341 (bind): Set bound to true.
342 (close): Set bound to false.
343 (isBound): Return bound.
344 * java/net/ServerSocket.java
345 (bound): New private member variable.
346 (bind): Set bound to true.
347 (close): Set bound to false.
348 (isBound): Return bound.
350 2003-11-26 Michael Koch <konqueror@gmx.de>
353 (URL): Fixed documentation to be HTML compliant.
354 (getContent): Completed documentation.
357 (getAuthority): Likewise.
359 (getDefaultPort): Likewise.
360 (getProtocol): Likewise.
361 (hashCode): Likewise.
362 (openConnection): Likewise.
363 (openStream): Likewise.
365 (getURLStreamHandler): Wrapped lines to fit into our 79 chars rule.
367 2003-11-26 Michael Koch <konqueror@gmx.de>
369 * java/net/InetSocketAddress.java
370 (hostname): Made private, added documentation.
373 (equals): Completed documentation.
374 (getAddress): Likewise.
375 (getHostName): Likewise.
377 (hashCode): Likewise.
378 (isUnresolved): Likewise.
379 (toString): Likewise.
381 2003-11-26 Michael Koch <konqueror@gmx.de>
383 * gnu/java/net/protocol/file/Handler.java
384 (Handler): New explicit constructor.
385 (openConnection): Added documentation.
386 * gnu/java/net/protocol/jar/Handler.java
387 (Handler): New explicit constructor.
388 (openConnection): Added documentation.
390 2003-11-26 Michael Koch <konqueror@gmx.de>
392 * java/net/DatagramPacket.java
393 (DatagramPacket): Fixed documentation to become legal HTML.
395 2003-11-25 Michael Koch <konqueror@gmx.de>
397 * gcj/javaprims.h: Added missing java.util.Currency.
399 2003-11-25 Michael Koch <konqueror@gmx.de>
401 * testsuite/libjava.mauve/xfails:
402 Removed these two tests, they mystically pass now:
403 -FAIL: gnu.testlet.java.net.ServerSocket.ServerSocketTest: Error :
404 test_params failed - 5getInetAddress did not return proper values
406 -FAIL: gnu.testlet.java.net.Socket.SocketTest: Error :
407 test_BasicServer failed - 11 exception was thrown :Illegal seek
410 2003-11-25 Michael Koch <konqueror@gmx.de>
412 * java/net/DatagramSocket.java
413 (factory): Made private.
415 (DatagramSocket): Check impl argument, use constructor with
416 SocketAddress argument.
417 (close): Set impl to null, use isClosed().
418 (isClosed): Check for impl == null.
419 (getLocalAddress): Use isClosed().
420 (getLocalPort): Check if socket is closed.
421 (getSoTimeout): Likewise.
422 (setSoTimeout): Likewise.
423 (getSendBufferSize): Likewise.
424 (setSendBufferSize): Likewise.
425 (getReceiveBufferSize): Likewise.
426 (setReceiveBufferSize): Likewise.
431 (setReuseAddress): Likewise.
432 (getReuseAddress): Likewise.
433 (setBroadcast): Likewise.
434 (getBroadcast): Likewise.
435 (setTrafficClass): Likewise.
436 (getTrafficClass): Likewise.
437 * java/net/MulticastSocket.java
438 (getInterface): Check if socket is closed.
440 (getTimeToLive): Likewise.
441 (setInterface): Likewise.
442 (setNetworkInterface): Likewise.
443 (getNetworkInterface): Likewise.
444 (setLoopbackMode): Likewise.
446 (setTimeToLive): Likewise.
447 (joinGroup): Likewise.
448 (leaveGroup): Likewise.
450 * java/net/ServerSocket.java
452 (close): Check if socket is closed, set impl to null.
453 (isClosed): Check impl == null;
454 (ServerSocket): Check impl argument.
455 (getInetAddress): Check if socket is bound.
456 (getLocalPort): Likewise.
457 (getLocalSocketAddress): Likewise.
458 (bind): Check if socket is closed.
459 (implAccept): Likewise.
460 (setSoTimeout): Likewise.
461 (getSoTimeout): Likewise.
462 (setReuseAddress): Likewise.
463 (getReuseAddress): Likewise.
464 (setReceiveBufferSize): Likewise.
465 (getReceiveBufferSize): Likewise.
466 (toString): Make output compliant to JDK 1.4.2.
467 * java/net/Socket.java
469 (Socket): Fixed documentation.
470 (connect): Check if socket is closed, changed exception text,
472 (getInputStream): Check of socket is closed and connected.
473 (getOutputStream): Likewise.
474 (bind): Check if socket is closed.
475 (setTcpNoDelay): Likewise.
476 (getTcpNoDelay): Likewise.
477 (setSoLinger): Likewise.
478 (getSoLinger): Likewise.
479 (sendUrgentData): Likewise.
480 (setOOBInline): Likewise.
481 (getOOBInline): Likewise.
482 (setSoTimeout): Likewise.
483 (getSoTimeout): Likewise.
484 (setSendBufferSize): Likewise.
485 (getSendBufferSize): Likewise.
486 (setReceiveBufferSize): Likewise.
487 (getReceiveBufferSize): Likewise.
488 (setKeepAlive): Likewise.
489 (getKeepAlive): Likewise.
491 (shutdownInput): Likewise.
492 (shutdownOutput): Likewise.
493 (getReuseAddress): Likewise.
494 (getTrafficClass): Likewise.
495 (setTrafficClass): Likewise.
496 (isClosed): Check impl == null.
497 (toString): Added missing ']'.
499 2003-11-24 Tom Tromey <tromey@redhat.com>
501 * Makefile.in: Rebuilt.
502 * Makefile.am (propdir): New macro.
503 (install-data-local): Install logging.properties.
504 (core_java_source_files): Added java.util.logging.*.
505 * java/util/logging/logging.properties: New file.
507 2003-11-25 Michael Koch <konqueror@gmx.de>
509 * java/net/DatagramSocket.java
510 (DatagramSocket): Move binding code to bind(), simplify constructors.
511 * java/net/MulticastSocket.java
512 (MulticastSocket): Call parent constructor with null argument,
513 bind socket after setReuseAddress is called, simplify constructors.
515 2003-11-24 Michael Koch <konqueror@gmx.de>
517 * javax/swing/BoxLayout.java
518 (serialVersionUIR): New member variable.
519 (X_AXIS, Y_AXIS): Documentation added.
520 (LINE_AXIS, PAGE_AXIS): New constants.
521 (grid): Renamed from gridbag.
522 (BoxLayout): Use new constants, throw exception if invalid value for
523 way, added documentation.
524 (BoxLayout): Removed.
525 (addLayoutComponent): Use new constants, added documentation.
526 (removeLayoutComponent): Likewise.
527 (addLayoutContainer): Added documentation.
528 (preferredLayoutSize): Added documentation, check given argument.
529 (minimumLayoutSize): Likewise.
530 (layoutContainer): Likewise.
531 (getLayoutAlignmentX): Likewise.
532 (getLayoutAlignmentY): Likewise.
533 (invalidateLayout): Likewise.
534 (maximumLayoutSize): Likewise.
536 2003-11-22 Michael Koch <konqueror@gmx.de>
538 * gnu/java/net/natPlainDatagramSocketImplWin32.cc
539 (peekData): Use offset and maximal free space in datagram packet.
541 (send): Use offset in datagram packet.
543 2003-11-22 Michael Koch <konqueror@gmx.de>
545 * gnu/java/net/natPlainDatagramSocketImplPosix.cc
546 (peekData): Use offset and maximal free space in datagram packet.
548 (send): Use offset in datagram packet.
550 2003-11-22 Michael Koch <konqueror@gmx.de>
552 * gnu/java/nio/DatagramChannelImpl.java
553 (getNativeFD): Use getPlainDatagramSocketImpl().
554 * gnu/java/nio/NIODatagramSocket.java
555 (getPlainDatagramSocketImpl): Renamed from getImpl().
556 * gnu/java/nio/NIOSocket.java
557 (getPlainSocketImpl): Renamed from getImpl().
558 (setChannel): Use getPlainSocketImpl().
559 * gnu/java/nio/SocketChannelImpl.java
560 (SocketChannelImpl): Use getPlainSocketImpl().
561 (getPlainSocketImpl): Renamed from getImpl().
562 (getNativeFD): Use getPlainSocketImpl().
564 2003-11-18 Graydon Hoare <graydon@redhat.com>
566 * javax/swing/JLayeredPane.java: Implement.
567 * javax/swing/JFrame.java (getContentPane): Make public
568 * javax/swing/javax/swing/JRootPane.java (setContentPane):
569 Use JLayeredPane.FRAME_CONTENT_LAYER.
571 2003-11-21 Mark Wielaard <mark@klomp.org>
573 * java/lang/Float.java (static): Removed.
575 2003-11-18 Graydon Hoare <graydon@redhat.com>
577 * java/awt/font/TextLayout.java: Implement simple layouts
578 using attributed strings and glyph vectors.
580 2003-11-17 Graydon Hoare <graydon@redhat.com>
582 * gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: New file.
583 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java
584 (GdkFontLineMetrics): New inner class.
585 (getLineMetrics): Return new GdkFontLineMetrics.
586 (getFontMetrics): Return new GdkClasspathFontPeerMetrics.
587 (layoutGlyphVector): Create GdkGlyphVector.
588 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (stateStack): New member.
589 (GdkGraphics2D): Initialize state via mathod calls.
590 (cairoSetMatrix, cairoShowGlyphs): Simplify native calls.
591 (cairoTranslate, cairoScale, cairoRotate): Remove.
592 (various methods): use setTransform for special transform cases.
593 (DrawState): New inner class.
594 (stateSave): New method.
595 (stateRestore): New method.
596 (various methods): use stateSave, stateRestore.
597 (getClipInDevSpace): New method.
598 (clip, clipRect, setClip, getClip, getClipBounds):
599 Follow spec more closely.
600 (getTransform): Return clone of transform.
601 (setStroke): Set linewidth to passed width / 2.0.
602 (setPaintMode): Set SrcOver rather than Xor.
603 (setColor): Set paint to passed color.
604 (drawRaster, drawImage, PainterThread, drawPixels): Take affine
605 transform from image to user space.
606 (drawRenderedImage, drawRenderableImage): Implement.
607 (getFontRenderContext, getFontMetrics, drawString, getFont):
609 (drawArc, drawOval, drawRoundRect, fillArc, fillOval, fillRoundRect):
611 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
612 Match changes to java side.
613 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
615 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
616 Don't use pango for metrics.
617 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
620 2003-11-19 Guilhem Lavaux <guilhem@kaffe.org>
621 Jim Pick <jim@kaffe.org>
623 * java/text/DecimalFormat.java (getCurrency, setCurrency): New
626 2003-11-19 Guilhem Lavaux <guilhem@kaffe.org>
628 * java/text/DecimalFormatSymbols.java (getCurrency,
629 setCurrency): New methods.
631 2003-11-19 Sascha Brawer <brawer@dandelis.ch>
633 * java/awt/geom/FlatteningPathIterator.java: Entirely re-written.
634 * java/awt/geom/doc-files/FlatteningPathIterator-1.html:
635 Describe how the implementation works.
637 2003-11-19 Michael Koch <konqueror@gmx.de>
639 * java/net/Socket.java
640 (implCreated): New variable that indicates created impl.
641 (getImpl): New method.
642 (toString): Return more SUN compliant string representation.
643 (various): Use getImpl() instead of impl.
645 2003-11-19 Andreas Tobler <a.tobler@schweiz.ch>
647 * lib/libjava.exp: Add DYLD_LIBRARY_PATH for darwin. Look for
648 the right libgcc. Add -multiply_defined suppress and -bind_at_load
651 2003-11-18 Tom Tromey <tromey@redhat.com>
654 * verify.cc (state::copy): Only set local_changed if we're in a
655 subroutine. Correctly copy local variables which were modified
657 (push_jump_merge): Added more debugging output.
659 * jni.cc (_Jv_JNI_GetStringUTFChars): Fail gracefully if string
662 2003-11-17 Graydon Hoare <graydon@redhat.com>
664 * javax/swing/plaf/basic/BasicDefaults.java: Rewrite to spec.
665 * javax/swing/UIDefaults.java: Modify to reflect rewrite.
667 2003-11-16 Tom Tromey <tromey@redhat.com>
670 * java/io/StreamTokenizer.java (commentChar): Clear other
671 attributes for character.
672 (quoteChar): Likewise.
674 2003-11-14 Thomas Fitzsimmons <fitzsim@redhat.com>
676 * java/awt/GridBagLayout.java (getLayoutDimensions): Return array of two
677 zero-length int arrays when layoutInfo is null.
678 (getLayoutWeights): Return array of two zero-length double arrays when
681 2003-11-13 Tom Tromey <tromey@redhat.com>
683 * jni.cc (_Jv_JNI_GetStringUTFChars): Pass length of string to
684 JvGetStringUTFRegion.
685 * java/lang/natPosixProcess.cc (new_string): Pass length of string
686 to JvGetStringUTFRegion.
687 * java/lang/natDouble.cc (parseDouble): Pass length of string to
688 JvGetStringUTFRegion.
689 * java/lang/natWin32Process.cc (startProcess): Pass length of
690 string to JvGetStringUTFRegion.
691 * java/lang/natClass.cc (forName): Pass length of string to
692 JvGetStringUTFRegion.
693 * gnu/gcj/runtime/natNameFinder.cc (getExternalLabel): Pass length
694 of string to JvGetStringUTFRegion.
695 * gnu/gcj/convert/natIconv.cc (init): Pass length of string to
696 JvGetStringUTFRegion.
697 * gnu/awt/gtk/natGtkLabelPeer.cc (setText): Pass length of string
698 to JvGetStringUTFRegion.
699 * gnu/awt/gtk/natGtkButtonPeer.cc (setLabel): Pass length of
700 string to JvGetStringUTFRegion.
702 2003-11-13 Mohan Embar <gnustuff@thisiscool.com>
704 * gnu/java/nio/natSelectorImplPosix.cc
705 (helper_put_filedescriptors): Change to static linkage.
706 (helper_get_filedescriptors): Likewise.
708 2003-11-12 Thomas Fitzsimmons <fitzsim@redhat.com>
710 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Remove
712 * gnu/java/awt/peer/gtk/GtkToolkit.java (prepareImage): Likewise.
713 * java/awt/Component.java (prepareImage): Likewise.
715 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (setAlignment):
716 Rename to nativeSetAlignment.
718 2003-11-11 Danny Smith <dannysmith@users.sourceforge.net>
720 * jni.cc (JNI_CreateJavaVM): Remove JNIEXPORT.
721 (JNI_GetCreatedJavaVMs): Likewise.
722 (JNI_GetDefaultJavaVMInitArgs): Likewise.
723 * include/jni.h (JNIIMPEXP): Remove definition
725 (__GCJ_JNIIMPEXP__): New macro, applicable only to libgcj
727 (__GCJ_DLL__): New macro, controlling __GCJ_JNIIMPEXP__.
729 2003-11-11 Thomas Fitzsimmons <fitzsim@redhat.com>
731 * Makefile.am: Add GdkPixbufDecoder.java and
732 gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
733 * Makefile.in: Regenerate.
734 * gnu/java/awt/image/ImageDecoder.java (ImageDecoder(byte[],int,int)):
736 (startProduction): Create ByteArrayInputStream when url and filename are
738 (produce): Declare stream parameter as InputStream.
739 * gnu/java/awt/image/XBMDecoder.java (produce): Declare stream parameter
741 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
742 (GdkPixbufDecoder(byte[],int,int)): New constructor.
743 (produce): Declare stream parameter as InputStream.
744 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Throw NPE
745 if image is null. Set image's observer before running PrepareImage
746 thread. Pass image to startProduction.
747 * gnu/java/awt/peer/gtk/GtkImage.java: Add null checks before calls to
748 source's member functions.
749 (observer): New field.
750 (setObserver): New method.
751 (setDimensions, setPixels, imageComplete): Call observer's imageUpdate.
752 * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage, getImage): Return
754 (prepareImage): Implement.
755 * java/awt/Component.java: Add static fields incrementalDraw and
757 (imageUpdate): Implement.
758 (createImage): Call Toolkit's createImage if peer is null.
759 (prepareImage): Throw NPE if image is null.
760 * java/awt/MediaTracker.java: Fix return value.
762 2003-11-11 Thomas Fitzsimmons <fitzsim@redhat.com>
764 * gnu/java/awt/peer/gtk/GtkLabelPeer.java (create()): Call new create.
765 (create(String, float)): New method.
766 (setText): Make native.
767 (nativeSetAlignment): New method.
768 (setAlignment): Call nativeSetAlignment.
769 (getArgs): Remove method.
770 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
771 (find_fg_color_widget, find_bg_color_widget): New functions.
772 (gtkWidgetSetForeground): Call find_fg_color_widget.
773 (gtkWidgetSetBackground): Call find_bg_color_widget. Modify active and
775 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create): Wrap label
777 (setText, setAlignment): Implement new native methods.
779 2003-11-11 Michael Koch <konqueror@gmx.de>
781 * java/awt/Font.java,
782 java/awt/datatransfer/DataFlavor.java,
783 java/math/BigInteger.java,
784 java/net/Inet4Address.java,
785 java/net/Inet6Address.java,
786 java/rmi/MarshalledObject.java,
787 java/rmi/server/RMIClassLoader.java,
788 java/security/cert/CertStore.java,
789 java/sql/Timestamp.java,
790 java/text/SimpleDateFormat.java,
791 javax/naming/CompoundName.java:
792 Removed some redundant obj == null checks.
794 2003-11-11 Michael Koch <konqueror@gmx.de>
796 * java/nio/ByteBuffer.java
797 (equals): Remove redundant obj == null check.
799 2003-11-11 Michael Koch <konqueror@gmx.de>
801 * gnu/java/nio/natPipeImpl.cc,
802 gnu/java/nio/natSelectorImpl.cc: Removed
803 * gnu/java/nio/natPipeImplEcos.cc,
804 gnu/java/nio/natPipeImplPosix.cc,
805 gnu/java/nio/natPipeImplWin32.cc,
806 gnu/java/nio/natSelectorImplEcos.cc,
807 gnu/java/nio/natSelectorImplPosix.cc,
808 gnu/java/nio/natSelectorImplWin32.cc: New files
809 * configure.in: Create links for gnu/java/nio/natPipeImpl.cc and
810 gnu/java/nio/natSelectorImpl.cc
811 * configure: Regenerated.
813 2003-11-11 Micheal Koch <konqueror@gmx.de>
815 * java/net/URLStreamHandler.java (toExternalForm): Print port only
816 if host is printed too and port was really given to URL.
818 2003-11-10 Gary Benson <gbenson@redhat.com>
820 * java/sql/Timestamp.java (valueOf): Correctly handle
823 2003-11-09 Tom Tromey <tromey@redhat.com>
825 * java/net/Inet4Address.java (serialVersionUID): Updated.
827 2003-11-08 Jeff Sturm <jsturm@one-point.com>
829 * gnu/gcj/runtime/FirstThread.java (Klocale, Kcalendar):
832 2003-11-08 Jeff Sturm <jsturm@one-point.com>
834 * java/io/ByteArrayOutputStream.java (resize):
835 Fix off-by-one error.
837 2003-11-08 Bryce McKinlay <bryce@mckinlay.net.nz>
839 * gnu/gcj/xlib/XAnyEvent.java (XAnyEvent): Make constructor
842 2003-11-06 Mohan Embar <gnustuff@thisiscool.com>
845 * java/lang/Win32Process.java (hasExited) Changed from
847 (startProcess): Likewise.
849 * java/lang/natWin32Process.cc (cleanup) Don't close
850 input, output and error streams.
851 (ChildProcessPipe): New helper class.
852 (startProcess): Refactored to use ChildProcessPipe.
853 Use CREATE_NO_WINDOW when launching child process.
855 2003-11-06 Mohan Embar <gnustuff@thisiscool.com>
857 * include/win32.h (_Jv_platform_close_on_exec): Changed
858 signature and declared extern.
859 * win32.cc (_Jv_platform_close_on_exec): Implemented.
860 * gnu/java/net/natPlainDatagramSocketImplWin32.cc
861 (create): Use new signature of _Jv_platform_close_on_exec.
862 * gnu/java/net/natPlainSocketImplWin32.cc
863 (create): Eliminated a few typecasts
864 Use new signature of _Jv_platform_close_on_exec.
865 (accept): Eliminated a few typecasts
866 Use new signature of _Jv_platform_close_on_exec.
867 * java/io/natFileDescriptorWin32.cc (open): Use
868 _Jv_platform_close_on_exec.
870 2003-11-04 Bryce McKinlay <bryce@mckinlay.net.nz>
872 * java/lang/natClass.cc (newInstance): Throw InstantiationException
873 if class has no null-argument constructor.
875 2003-10-30 Mohan Embar <gnustuff@thisiscool.com>
878 * win32-threads.cc (_Jv_CondWait): Respect mutex's
879 refcount when releasing and reacquiring it.
881 2003-10-30 Mohan Embar <gnustuff@thisiscool.com>
883 * win32.cc: (dirExists) Internal helper function to
884 test for directory existence.
885 (getUserHome) New helper function refactored out
886 of _Jv_platform_initProperties. Uses USERPROFILE
887 instead of HOMEDIR and attempts to support Win9X and NT.
888 (_Jv_platform_initProperties) Use getUserHome.
890 2003-10-30 Mohan Embar <gnustuff@thisiscool.com>
893 * gnu/java/net/natPlainSocketImplWin32.cc
894 (bind): Don't use SO_REUSEADDR
896 2003-10-30 Mohan Embar <gnustuff@thisiscool.com>
899 * java/io/natFileWin32.cc (getCanonicalPath): Treat "" like ".".
901 2003-10-30 Bryce McKinlay <bryce@mckinlay.net.nz>
903 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Don't use vtable
904 dispatch for final methods.
906 2003-10-30 Thomas Fitzsimmons <fitzsim@redhat.com>
908 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create): Turn on
911 2003-10-29 Thomas Fitzsimmons <fitzsim@redhat.com>
913 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (getSize): Return
914 scrolled window's size request.
916 2003-10-29 Sascha Brawer <brawer@dandelis.ch>
918 * java/awt/geom/CubicCurve2D.java (contains): Docfix for URL of embedded drawing.
919 * java/awt/geom/QuadCurve2D.java: Likewise.
921 2003-10-29 Sascha Brawer <brawer@dandelis.ch>
923 * java/awt/geom/CubicCurve2D.java: Added documentation.
924 * java/awt/geom/QuadCurve2D.java: Likewise.
926 * java/awt/geom/doc-files/QuadCurve2D-4.png,
927 java/awt/geom/doc-files/QuadCurve2D-5.png,
928 java/awt/geom/doc-files/CubicCurve2D-4.png,
929 java/awt/geom/doc-files/Cubicurve2D-5.png: New illustrations.
931 2003-10-29 Sascha Brawer <brawer@dandelis.ch>
933 * java/awt/geom/CubicCurve2D.java (getFlatnessSq): Implement.
934 (subdivide(CubicCurve2D, CubicCurve2D)): Avoid useless object allocation.
935 (subdivide(double[],int,double[],int,double[],int)): Implement.
937 2003-10-29 Sascha Brawer <brawer@dandelis.ch>
939 * java/awt/geom/doc-files/CubicCurve2D-1.png,
940 java/awt/geom/doc-files/CubicCurve2D-2.png,
941 java/awt/geom/doc-files/CubicCurve2D-3.png: New illustrations.
943 2003-10-29 Ito Kazumitsu <kaz@maczuka.gcd.org>
945 * java/text/DecimalFormat.java
946 (scanFormat) corrected so that '%' may appear in a pattern.
948 2003-10-29 Mark Wielaard <mark@klomp.org>
950 From Guilhem Lavaux <guilhem.lavaux@free.fr>
951 * java/text/DateFormat.java (Field): New public static inner class.
952 * java/text/Format.java (Field): Likewise.
953 (formatToCharacterIterator): New method.
954 * java/text/FormatCharacterIterator.java: New file.
956 2003-10-29 Mark Wielaard <mark@klomp.org>
958 From Guilhem Lavaux <guilhem.lavaux@free.fr>
959 * java/util/Currency.java: New file.
961 2003-10-29 Michael Koch <konqueror@gmx.de>
963 * Makefile.am (ordinary_java_source_files): Added
964 java/text/FormatCharacterIterator.java and java/util/Currency.java.
965 * Makefile.in: Regenerated.
967 2003-10-29 Dalibor Topic <robilad@kaffe.org>
969 * gnu/java/beans/IntrospectionIncubator.java (addMethod): Add public
972 2003-10-29 Julian Dolby <dolby@us.ibm.com>
974 * javax/naming/spi/NamingManager.java (getContinuationContext): Call
975 getObjectInstance() with Object, Name, Context and environment
976 Hashtable from exception. Call fillInStackTrace() on exception when
978 * javax/naming/InitialContext.java (lookup(Name)): When a
979 CannotProceedException is thrown use the ContinuationContext.
980 (lookup(String)): Likewise.
981 (close): Clear myProps and defaultInitCtx.
983 2003-10-29 Michael Koch <konqueror@gmx.de>
985 * java/net/InetAddress.java
986 (equals): Remove redundant obj == null check.
987 * java/net/SocketPermission.java
991 (getURLStreamHandler): Likewise.
993 2003-10-29 Michael Koch <konqueror@gmx.de>
995 * gnu/java/net/natPlainDatagramSocketImplPosix.cc
996 (setOption): Directly return if no error occured.
997 * gnu/java/net/natPlainSocketImplPosix.cc
998 (setOption): Likewise.
1000 2003-10-28 Bryce McKinlay <bryce@mckinlay.net.nz>
1002 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Always assign a
1003 vtable slot for final methods. Add FIXME comment.
1005 2003-10-28 David S. Miller <davem@redhat.com>
1007 * sysdep/sparc/locks.h (__cas_start_atomic): %g0 --> %%g0.
1009 2003-10-26 Mark Wielaard <mark@klomp.org>
1011 Reported by Helmer Kraemer <hkraemer@freenet.de>
1012 * java/util/jar/JarInputStream.java (readManifest): Don't call
1015 * java/util/zip/DeflaterOutputStream.java (inbufWrite): New method.
1016 (finish): Use inbufWrite().
1017 (write(int)): Likewise.
1018 (write(byte[],int,int)): Likewise.
1020 2003-10-26 Bryce McKinlay <bryce@mckinlay.net.nz>
1022 * java/lang/reflect/AccessibleObject.java (secureSetAccessible):
1023 Don't check for AccessibleObject. Update javadocs.
1025 * java/util/TreeMap.java: Doc fixes. HashMap -> TreeMap.
1027 2003-10-26 Bryce McKinlay <bryce@mckinlay.net.nz>
1029 * java/lang/reflect/Constructor.java (toString): Avoid extra
1030 whitespace on constructor with no modifiers.
1031 * java/lang/reflect/natConstructor.java (newInstance): Look up
1032 caller and perform accessibility check only if constructor is
1033 non-public and accessible flag is not set.
1035 2003-10-26 Bryce McKinlay <bryce@mckinlay.net.nz>
1037 * jni.cc (_Jv_JNI_CallAnyMethodV, _Jv_JNI_CallAnyMethodA,
1038 _Jv_JNI_CallAnyVoidMethodV, _Jv_JNI_CallAnyVoidMethodA): Don't
1039 use _Jv_LookupDeclaredMethod(). Call _Jv_CallAnyMethodA with
1040 is_virtual_call argument.
1041 * include/jvm.h (_Jv_isVirtualMethod): Moved and renamed from
1043 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use
1044 _Jv_isVirtualMethod.
1045 * java/lang/reflect/natMethod.cc (invoke): Don't use
1046 _Jv_LookupDeclaredMethod.
1047 (_Jv_CallAnyMethodA): New is_virtual_call argument. If specified,
1048 look up method in target object's vtable.
1050 2003-10-25 Graydon Hoare <graydon@redhat.com>
1052 * gnu/java/awt/ClasspathToolkit.java: New abstract class.
1053 * gnu/java/awt/peer/ClasspathFontPeer.java: New abstract class.
1054 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
1055 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
1056 New concrete implementation of ClasspathFontPeer, with native part.
1057 * gnu/java/awt/peer/gtk/GdkGlyphVector.java,
1058 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
1059 New class, with native part.
1060 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1061 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
1062 implement setFont, cairoSetFont, drawGlyphVector, cairoShowGlyphs.
1064 2003-10-25 Bryce McKinlay <bryce@mckinlay.net.nz>
1066 * java/lang/reflect/Method.java (toString): Avoid extra whitespace
1067 on method with no modifiers.
1069 2003-10-25 Bryce McKinlay <bryce@mckinlay.net.nz>
1072 * java/lang/reflect/natMethod.cc (invoke): Look up caller and perform
1073 accessibility check only if target is non-public and accessible flag
1075 * java/lang/reflect/natField.cc (getAddr): Likewise.
1077 2003-10-24 Thomas Fitzsimmons <fitzsim@redhat.com>
1079 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (handleEvent):
1081 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postWindowEvent):
1083 * java/awt/Window.java (Window(Window,GraphicsConfiguration),
1084 show, hide, dispose, getOwnedWindows): Synchronize on tree lock.
1085 (dispose): Post WINDOW_CLOSED event.
1086 (addWindowFocusListener, addWindowStateListener): Assign result
1087 of multicaster add back to window listener.
1088 (removeWindowFocusListener, removeWindowStateListener): Assign
1089 result of multicaster remove back to window listener.
1090 (dispatchEventImpl): Add null checks for focus and state
1092 (processWindowEvent): Handle case where windowListener is null
1093 but state or focus listeners exist.
1094 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
1095 glue for postWindowEvent.
1096 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1097 (window_delete_cb, window_destroy_cb, window_show_cb,
1098 window_focus_in_cb, window_focus_out_cb, window_window_state_cb,
1099 window_get_new_state): New functions.
1100 * jni/gtk-peer/gtkpeer.h: Define window event and frame state
1101 macros. Declare postWindowEventID.
1103 2003-10-24 Anthony Green <green@redhat.com>
1105 * java/lang/natClass.cc (_Jv_LinkSymbolTable): Fix case where
1106 we have no interpreter.
1108 2003-10-22 Andrew Haley <aph@redhat.com>
1110 * java/lang/natClass.cc (initializeClass): Call
1111 _Jv_linkExceptionClassTable.
1112 (_Jv_LinkSymbolTable): Call )_Jv_ThrowNoSuchMethodError. Call
1113 _Jv_Defer_Resolution on a method whose ncode is NULL.
1114 (_Jv_linkExceptionClassTable): New function.
1115 (_Jv_LayoutVTableMethods): If superclass looks like a constant pool
1117 * java/lang/Class.h (struct _Jv_CatchClass): New.
1118 (_Jv_linkExceptionClassTable): New friend.
1119 (_Jv_Defer_Resolution): New friend.
1120 (class Class.catch_classes): New field.
1121 * include/java-interp.h (Jv_Defer_Resolution): New method.
1122 (_Jv_PrepareClass): Make a friend of _Jv_MethodBase.
1123 (_Jv_MethodBase.deferred): New field.
1124 (_Jv_Defer_Resolution): New function.
1125 * resolve.cc (_Jv_PrepareClass): Resolve deferred handlers.
1126 * exception.cc (get_ttype_entry): Change return type to void**.
1127 (PERSONALITY_FUNCTION): Remove all code related to using a
1128 Utf8Const* for a match type. Change match type to be a pointer to
1129 a pointer, rather than a pointer to a Class.
1130 * defineclass.cc (handleCodeAttribute): Initialize
1132 (handleMethodsEnd): Likewise.
1134 2003-10-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1136 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Use
1137 _Jv_MutexCheckMonitor instead of accessing mutex.owner directly.
1139 2003-10-22 Tom Tromey <tromey@redhat.com>
1142 * java/lang/Class.h: Updated.
1143 * java/lang/natClass.cc (_getFields): Removed.
1144 (getFields): Likewise.
1145 (getDeclaredFields): Added `public_only' parameter.
1146 * java/lang/Class.java (getFields): Now implemented in java; from
1148 (getDeclaredFields): Likewise.
1149 (getDeclaredFields(boolean)): Declare.
1150 (_getFields): Removed.
1151 (internalGetFields): New method, from Classpath.
1154 * gnu/gcj/runtime/natFirstThread.cc (call_main): Use
1155 _Jv_LookupDeclaredMethod, not _Jv_GetMethodLocal.
1157 2003-10-22 David Daney <ddaney@avtrex.com)
1159 * include/mips-signal.h: New file.
1160 * sysdep/dwarf2-backtrace.cc: New file.
1161 * sysdep/mips: New directory.
1162 * sysdep/mips/locks.h: New file.
1163 * Makefile.am(extra_cc_files): New, to allow extra c++ files to be
1165 (extra_cc_source_files): Ditto.
1166 * configure.host(disable_dladdr): New shell variable passed to
1168 (mips*-*-linux*): sysdeps_dir=mips,
1169 can_unwind_signal=yes, disable_dladdr=yes, use -mxgot.
1170 (mipsel*-linux* | mipsisa32el*-linux*): Enable hash synchronization.
1171 * configure.in:(mips*-*-linux*): Use sysdep/dwarf2-backtrace.cc to
1172 generate backtrace, and include/mips-signal.h as SIGNAL_HANDLER
1173 (HAVE_DLADDR): Make it depend on setting of disable_dladdr.
1174 (EXTRA_CC_FILES): New, to support conditional addition of
1175 sysdep/dwarf2-backtrace.cc.
1176 * configure: Regenerated.
1177 * Makefile.in: Regenerated.
1178 * gcj/Makefile.in: Regenerated.
1179 * include/config.h.in: Regenerated.
1180 * include/Makefile.in: Regenerated.
1181 * testsuite/Makefile.in: Regenerated.
1183 2003-10-22 Sascha Brawer <brawer@dandelis.ch>
1185 * java/awt/geom/QuadCurve2D.java (subdivide): Added documentation.
1186 java/awt/geom/doc-files/QuadCurve2D-3.png: New illustration.
1188 2003-10-22 Sascha Brawer <brawer@dandelis.ch>
1190 * java/awt/geom/QuadCurve2D.java: Reformatted, wrote Javadoc.
1191 * java/awt/geom/doc-files: New directory.
1192 * java/awt/geom/doc-files/QuadCurve2D-1.png,
1193 java/awt/geom/doc-files/QuadCurve2D-2.png: New illustrations.
1195 2003-10-22 Sascha Brawer <brawer@dandelis.ch>
1197 * java/awt/geom/QuadCurve2D.java (subdivide): Implement.
1199 2003-10-22 Sascha Brawer <brawer@dandelis.ch>
1201 * java/awt/geom/QuadCurve2D.java (getFlatness, getFlatnessSq): Implement.
1203 2003-10-22 Michael Koch <konqueror@gmx.de>
1206 (equals): Removed redundant obj == null check.
1207 (createTempFile): Merged comments from classpath.
1209 2003-10-21 Sascha Brawer <brawer@dandelis.ch>
1211 Fix for bug #2944, reported by David Holmes <dholmes@dltech.com.au>
1212 * java/util/logging/ErrorManager.java (everUsed): Made volatile.
1213 (error): Synchronize on instance, not class.
1215 2003-10-21 Mark Wielaard <mark@klomp.org>
1217 Reported by M.Negovanovic
1218 * java/beans/Introspector.java (getBeanInfo(ClassLoader, String)): New
1220 (reallyFindExplicitBeanInfo): Use new getBeanInfo() method.
1222 2003-10-21 Sascha Brawer <brawer@dandelis.ch>
1224 Fix for Classpath bug #6076.
1225 * java/awt/geom/GeneralPath.java (append): Re-written.
1227 2003-10-21 Sascha Brawer <brawer@dandelis.ch>
1229 Fix for Classpath bug #6089.
1230 * java/awt/geom/GeneralPath.java (curveTo): Set correct segment type.
1231 (getPathIterator, GeneralPathIterator): Re-written from scratch.
1233 2003-10-21 Sascha Brawer <brawer@dandelis.ch>
1235 * java/awt/geom/GeneralPath.java (getCurrentPoint): Return last
1236 point, not start of subpath. Fixes Classpath bug #6075.
1238 2003-10-21 Michael Koch <konqueror@gmx.de>
1240 * java/nio/ByteOrder.java,
1241 java/nio/DirectByteBufferImpl.java,
1242 java/nio/channels/FileChannelImpl.java:
1243 Add code to load library with code for native methods if needed.
1245 2003-10-21 Michael Koch <konqueror@gmx.de>
1247 * gnu/java/net/PlainDatagramSocketImpl.java,
1248 gnu/java/net/PlainSocketImpl.java,
1249 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
1250 gnu/java/net/natPlainDatagramSocketImplWin32.cc,
1251 gnu/java/net/natPlainSocketImplPosix.cc,
1252 gnu/java/net/natPlainSocketImplWin32.cc:
1253 Renamed fnum to native_fd to match classpath more.
1255 2003-10-21 Jerry Quinn <jlquinn@optonline.net>
1257 * posix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename
1258 _Jv_PthreadCheckMonitor to _Jv_MutexCheckMonitor.
1259 * include/no-threads.h (_Jv_MutexCheckMonitor): New.
1260 * include/posix-threads.h (_Jv_MutexCheckMonitor): Rename from
1261 _Jv_PthreadCheckMonitor. Simplify code.
1262 (_Jv_MutexUnlock): Use _Jv_MutexCheckMonitor.
1263 * include/win32-threads.h (_Jv_MutexCheckMonitor): New.
1264 * java/lang/Object.h (_Jv_ObjectCheckMonitor): Declare.
1265 * java/lang/Thread.java (holdsLock): New.
1266 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): New, with and
1267 without JV_HASH_SYNCHRONIZATION.
1268 * java/lang/natThread.cc (java::lang::Thread::holdsLock): New.
1270 2003-10-20 Michael Koch <konqueror@gmx.de>
1272 * java/text/RuleBasedCollator.java
1273 (RuleBasedCollator): Check rules not empty, fixed search in already
1274 existing collation elements.
1275 (is_special): Removed common whitespace characters.
1276 (text_argument): Dont return on whitespaces, add characters between
1277 two ' to string buffer.
1279 2003-10-18 Michael Koch <konqueror@gmx.de>
1281 * gnu/java/net/protocol/file/Connection.java,
1282 gnu/java/net/protocol/file/Handler.java,
1283 gnu/java/net/protocol/http/Connection.java,
1284 gnu/java/net/protocol/http/Handler.java,
1285 gnu/java/net/protocol/jar/Connection.java,
1286 gnu/java/net/protocol/jar/Handler.java:
1287 Merged copyright text from classpath to make
1288 it possible to merge the classes.
1290 2003-10-18 Mark Wielaard <mark@klomp.org>
1292 Reported by M.Negovanovic
1293 * java/beans/IndexedPropertyDescriptor.java
1294 (IndexedPropertyDescriptor): this.setIndex = setIndex, not getIndex.
1296 2003-10-17 Mohan Embar <gnustuff@thisiscool.com>
1298 * win32.cc (_Jv_pipe): Implemented.
1299 * gnu/java/nio/natPipeImpl.cc (nativeInit): Use
1300 _Jv_pipe instead of ::pipe.
1301 * include/posix.h (_Jv_pipe): New inline.
1302 * include/win32.h (_Jv_pipe): New declaration.
1304 2003-10-17 Ralph Loader <rcl@ihug.co.nz>
1306 * java/lang/StringBuffer.java (getChars): Fix array index checks.
1307 (append, substring, insert): Likewise.
1308 * testsuite/libjava.lang/StringBuffer_overflow.java: New file.
1309 * testsuite/libjava.lang/StringBuffer_overflow.out: New file.
1311 2003-10-17 Ralph Loader <rcl@ihug.co.nz>
1313 * java/lang/natString.cc (getChars):
1314 Fix validation of array indexes.
1315 (getBytes, regionMatches, startsWith, valueOf): Likewise.
1316 * testsuite/libjava.lang/String_overflow.java: New file.
1317 * testsuite/libjava.lang/String_overflow.out: New file.
1319 2003-10-17 Ralph Loader <rcl@ihug.co.nz>
1321 * prims.cc (_Jv_NewObjectArray): Make sure byte size doesn't
1323 (_Jv_NewPrimArray): Check for overflowing a jint, replacing a
1324 check for overflowing size_t, since the lower level functions
1326 * testsuite/libjava.lang/newarray_overflow.java: New file.
1327 * testsuite/libjava.lang/newarray_overflow.out: New file.
1329 2003-10-15 Michael Koch <konqueror@gmx.de>
1331 * java/text/RuleBasedCollator.java
1332 (RuleBasedCollator): Moved around, documentation added.
1333 (compare): Documentation added.
1335 (getCollationElementIterator): Likewise.
1336 (getCollationKey): Likewise.
1337 (getRules): Likewise.
1338 (hashCode): Likewise.
1340 2003-10-15 Michael Koch <konqueror@gmx.de>
1342 * java/text/RuleBasedCollator.java
1343 (CollationElement): Renamed from RBCElement and moved into
1344 RuledBasedCollator as inner class.
1346 2003-10-15 Michael Koch <konqueror@gmx.de>
1348 * java/text/CollationElementIterator.java
1349 (CollationElementIterator): Moved, documenatation added, call setText.
1351 (reset): Reformated.
1352 (setText): New method.
1353 (getOffset): New method.
1354 * java/text/CollationKey.java
1355 (getSourceString): Reformated.
1356 (hashCode): Reformated.
1357 (toByteArray): Reformated.
1359 2003-10-15 Michael Koch <konqueror@gmx.de>
1361 * java/util/zip/InflaterInputStream.java
1362 (InflaterInputStream): Renamed infl to inf and bufsize to size,
1363 added description to exception, check for inf == null and size < 0.
1365 2003-10-15 Michael Koch <konqueror@gmx.de>
1367 * java/text/AttributedCharacterIterator.java,
1368 java/text/CharacterIterator.java: Reformated.
1370 2003-10-15 Michael Koch <konqueror@gmx.de>
1372 * javax/swing/UIDefaults.java (putDefaults):
1373 Readded accidently removed "public" modifier.
1375 2003-10-14 Paolo Bonzini <bonzini@gnu.org>
1377 * interpret.cc (_Jv_InterpMethod::run): Don't
1378 use libffi types, they were meant to be internal.
1379 * gcj/javaprims.h (_Jv_ulong): New typedef.
1381 2003-10-13 Tom Tromey <tromey@redhat.com>
1383 * java/lang/natClassLoader.cc (_Jv_InitNewClassFields): Removed.
1384 (defineClass): Updated.
1385 (_Jv_NewClass): Likewise.
1386 * prims.cc (_Jv_InitPrimClass): Don't call
1387 _Jv_InitNewClassFields.
1389 2003-10-13 Taras Glek <taras.judge@shaw.ca>
1392 * gnu/java/net/protocol/http/Connection.java (connect): Use \r\n,
1395 2003-10-13 Michael Koch <konqueror@gmx.de>
1397 * java/io/File.java: Reformated.
1398 (equals): Check for obj == null.
1400 2003-10-13 Michael Koch <konqueror@gmx.de>
1402 * java/net/JarURLConnection.java
1403 (jarFileURL): Added dcoumentation.
1404 (jarFileURLConnection): Reformated documentation.
1405 (entryName): Renamed from "element", documentation rewritten.
1406 (connectionCache): Renamed from "conn_cache", documentation
1408 (JarURLConnection): Check URL protocol.
1409 (getEntryName): Use entryName.
1410 (connect): Use connectionCache.
1411 (getInputStream): Use entryName, fixed comment.
1412 (getJarEntry): Use entryName.
1413 (getHeaders): Use entryName.
1414 * java/net/URLConnection.java
1415 (addRequestProperty): Fixed documentation.
1416 (setDefaultRequestProptery): Added comment that it does nothing since
1418 (getDefaultRequestProperty): Likewise.
1420 2003-10-13 Michael Koch <konqueror@gmx.de>
1422 * java/net/java/net/URLStreamHandlerFactory.java
1423 (createURLStreamHandler): Removed redundant "public" modifier.
1424 * java/sql/DatabaseMetaData.java:
1425 (DatabaseMetaData): Readded accidently removed "public" modifier.
1426 * java/sql/ParameterMetaData.java:
1427 (ParameterMetaData): Readded accidently removed "public" modifier.
1428 * java/sql/PreparedStatement.java:
1429 (PreparedStatement): Readded accidently removed "public" modifier.
1430 * java/sql/Ref.java:
1431 (Ref): Readded accidently removed "public" modifier.
1433 2003-10-13 Michael Koch <konqueror@gmx.de>
1435 * java/nio/Buffer.java
1436 (hasRemaining): Made implementation more clear.
1437 * java/nio/MappedByteBuffer.java
1438 (loaded): New member variable.
1439 (force): Added comment.
1440 (isLoaded): Return value of loaded.
1441 (load): Set loaded to true, added comment.
1443 2003-10-12 Michael Koch <konqueror@gmx.de>
1445 * gnu/java/nio/PipeImpl.java
1446 (SourceChannelImpl): New inner class.
1447 (SinkChannelImpl): New inner class.
1448 (sink): New member variable.
1449 (source): New member variable.
1450 (PipeImpl): Add SelectorProvider argument, implemented.
1451 (nativeInit): New method.
1452 (sink): Return sink channel.
1453 (source): Return source channel.
1454 * gnu/java/nio/SelectorProviderImpl.java
1455 (openPipe): Give provider as argument to PipeImpl constructor.
1456 * java/nio/channels/spi/SelectorProvider.java
1458 (systemDefaultProvider): New member variable.
1459 (provider): Made it synchronized, use property
1460 java.nio.channels.spi.SelectorProvider.
1461 * gnu/java/nio/natPipeImpl.cc: New file.
1462 * Makefile.am (nat_source_files): Added gnu/java/nio/natPipeImpl.cc.
1463 * Makefile.in: Regenerated.
1465 2003-10-12 Michael Koch <konqueror@gmx.de>
1467 * javax/swing/table/DefaultTableModel.java,
1468 javax/swing/table/TableCellEditor.java,
1469 javax/swing/table/TableCellRenderer.java,
1470 javax/swing/table/TableColumnModel.java,
1471 javax/swing/table/TableModel.java,
1472 javax/swing/text/AbstractDocument.java,
1473 javax/swing/text/Document.java,
1474 javax/swing/text/MutableAttributeSet.java,
1475 javax/swing/text/StyledDocument.java,
1476 javax/swing/text/ViewFactory.java,
1477 javax/swing/tree/DefaultMutableTreeNode.java,
1478 javax/swing/tree/MutableTreeNode.java,
1479 javax/swing/tree/RowMapper.java,
1480 javax/swing/tree/TreeCellEditor.java,
1481 javax/swing/tree/TreeCellRenderer.java,
1482 javax/swing/tree/TreeModel.java,
1483 javax/swing/tree/TreeNode.java,
1484 javax/swing/tree/TreeSelectionModel.java,
1485 javax/swing/undo/StateEditable.java,
1486 javax/swing/undo/UndoableEdit.java:
1487 Removed redundant modifiers.
1489 2003-10-12 Michael Koch <konqueror@gmx.de>
1491 * javax/swing/event/AncestorListener.java,
1492 javax/swing/event/CaretListener.java,
1493 javax/swing/event/CellEditorListener.java,
1494 javax/swing/event/ChangeListener.java,
1495 javax/swing/event/DocumentEvent.java,
1496 javax/swing/event/DocumentListener.java,
1497 javax/swing/event/HyperlinkListener.java,
1498 javax/swing/event/InternalFrameListener.java,
1499 javax/swing/event/ListDataListener.java,
1500 javax/swing/event/ListSelectionListener.java,
1501 javax/swing/event/MenuDragMouseListener.java,
1502 javax/swing/event/MenuKeyListener.java,
1503 javax/swing/event/MenuListener.java,
1504 javax/swing/event/MouseInputListener.java,
1505 javax/swing/event/PopupMenuListener.java,
1506 javax/swing/event/TableColumnModelListener.java,
1507 javax/swing/event/TableModelListener.java,
1508 javax/swing/event/TreeExpansionListener.java,
1509 javax/swing/event/TreeModelListener.java,
1510 javax/swing/event/TreeSelectionListener.java,
1511 javax/swing/event/TreeWillExpandListener.java,
1512 javax/swing/event/UndoableEditListener.java,
1513 javax/swing/plaf/UIResource.java,
1514 javax/swing/plaf/metal/MetalLookAndFeel.java:
1515 Removed redundant modifiers.
1517 2003-10-12 Michael Koch <konqueror@gmx.de>
1519 * javax/swing/Action.java,
1520 javax/swing/BoundedRangeModel.java,
1521 javax/swing/CellEditor.java,
1522 javax/swing/ComboBoxEditor.java,
1523 javax/swing/ComboBoxModel.java,
1524 javax/swing/DesktopManager.java,
1525 javax/swing/JComboBox.java,
1526 javax/swing/ListCellRenderer.java,
1527 javax/swing/ListSelectionModel.java,
1528 javax/swing/MenuElement.java,
1529 javax/swing/MutableComboBoxModel.java,
1530 javax/swing/Renderer.java,
1531 javax/swing/RootPaneContainer.java,
1532 javax/swing/ScrollPaneConstants.java,
1533 javax/swing/SingleSelectionModel.java,
1534 javax/swing/SpinnerModel.java,
1535 javax/swing/SwingConstants.java,
1536 javax/swing/UIDefaults.java,
1537 javax/swing/WindowConstants.java,
1538 javax/swing/border/Border.java,
1539 javax/swing/colorchooser/ColorSelectionModel.java:
1540 Removed redundant modifiers.
1542 2003-10-11 Michael Koch <konqueror@gmx.de>
1544 * javax/transaction/Status.java,
1545 javax/transaction/Synchronization.java,
1546 javax/transaction/Transaction.java,
1547 javax/transaction/TransactionManager.java,
1548 javax/transaction/UserTransaction.java,
1549 javax/transaction/xa/XAResource.java,
1550 javax/transaction/xa/Xid.java:
1551 Removing redundant modifiers.
1553 2003-10-11 Michael Koch <konqueror@gmx.de>
1555 * javax/print/attribute/Attribute.java,
1556 javax/print/attribute/AttributeSet.java,
1557 javax/print/attribute/PrintRequestAttributeSet.java:
1558 Removing redundant modifiers.
1560 2003-10-11 Michael Koch <konqueror@gmx.de>
1562 * javax/sql/ConnectionEventListener.java,
1563 javax/sql/ConnectionPoolDataSource.java,
1564 javax/sql/DataSource.java,
1565 javax/sql/PooledConnection.java,
1566 javax/sql/RowSet.java,
1567 javax/sql/RowSetInternal.java,
1568 javax/sql/RowSetListener.java,
1569 javax/sql/RowSetMetaData.java,
1570 javax/sql/RowSetReader.java,
1571 javax/sql/RowSetWriter.java,
1572 javax/sql/XAConnection.java,
1573 javax/sql/XADataSource.java:
1574 Removing redundant modifiers.
1576 2003-10-11 Michael Koch <konqueror@gmx.de>
1578 * javax/naming/Context.java,
1579 javax/naming/Name.java,
1580 javax/naming/NameParser.java,
1581 javax/naming/NamingEnumeration.java,
1582 javax/naming/Referenceable.java,
1583 javax/naming/directory/Attribute.java,
1584 javax/naming/directory/Attributes.java,
1585 javax/naming/directory/DirContext.java,
1586 javax/naming/event/EventContext.java,
1587 javax/naming/event/EventDirContext.java,
1588 javax/naming/event/NamespaceChangeListener.java,
1589 javax/naming/event/NamingListener.java,
1590 javax/naming/event/ObjectChangeListener.java,
1591 javax/naming/ldap/Control.java,
1592 javax/naming/ldap/ExtendedRequest.java,
1593 javax/naming/ldap/ExtendedResponse.java,
1594 javax/naming/ldap/HasControls.java,
1595 javax/naming/ldap/LdapContext.java,
1596 javax/naming/ldap/UnsolicitedNotification.java,
1597 javax/naming/ldap/UnsolicitedNotificationListener.java,
1598 javax/naming/spi/DirObjectFactory.java,
1599 javax/naming/spi/DirStateFactory.java,
1600 javax/naming/spi/InitialContextFactory.java,
1601 javax/naming/spi/InitialContextFactoryBuilder.java,
1602 javax/naming/spi/ObjectFactory.java,
1603 javax/naming/spi/ObjectFactoryBuilder.java,
1604 javax/naming/spi/Resolver.java,
1605 javax/naming/spi/StateFactory.java:
1606 Removing redundant modifiers.
1608 2003-10-11 Michael Koch <konqueror@gmx.de>
1610 * java/security/Key.java,
1611 * java/security/PrivateKey.java,
1612 * java/security/PublicKey.java,
1613 * java/security/acl/Acl.java,
1614 * java/security/acl/AclEntry.java,
1615 * java/security/acl/Group.java,
1616 * java/security/acl/Owner.java,
1617 * java/security/acl/Permission.java,
1618 * java/security/cert/X509Extension.java,
1619 * java/security/interfaces/DSAKey.java,
1620 * java/security/interfaces/DSAKeyPairGenerator.java,
1621 * java/security/interfaces/DSAParams.java,
1622 * java/security/interfaces/DSAPrivateKey.java,
1623 * java/security/interfaces/DSAPublicKey.java,
1624 * java/security/interfaces/RSAKey.java,
1625 * java/security/interfaces/RSAPrivateCrtKey.java,
1626 * java/security/interfaces/RSAPrivateKey.java,
1627 * java/security/interfaces/RSAPublicKey.java:
1628 Removed redundant modifiers.
1630 2003-10-11 Michael Koch <konqueror@gmx.de>
1632 * gnu/java/rmi/server/ProtocolConstants.java,
1633 gnu/java/security/der/DER.java:
1634 Removing redundant modifiers.
1636 2003-10-11 Michael Koch <konqueror@gmx.de>
1638 * java/util/Map.java,
1639 java/util/Observer.java,
1640 java/util/zip/Checksum.java,
1641 java/util/zip/ZipConstants.java:
1642 Removed redundant modifiers.
1644 2003-10-11 Michael Koch <konqueror@gmx.de>
1646 * java/text/AttributedCharacterIterator.java,
1647 java/text/CharacterIterator.java:
1648 Removed redundant modifiers.
1650 2003-10-11 Michael Koch <konqueror@gmx.de>
1652 * java/sql/Array.java,
1654 java/sql/CallableStatement.java,
1656 java/sql/Connection.java,
1657 java/sql/DatabaseMetaData.java,
1658 java/sql/Driver.java,
1659 java/sql/ParameterMetaData.java,
1660 java/sql/PreparedStatement.java,
1662 java/sql/ResultSet.java,
1663 java/sql/ResultSetMetaData.java,
1664 java/sql/SQLData.java,
1665 java/sql/SQLInput.java,
1666 java/sql/SQLOutput.java,
1667 java/sql/Savepoint.java,
1668 java/sql/Statement.java,
1669 java/sql/Struct.java:
1670 Removed redundant modifiers.
1672 2003-10-11 Michael Koch <konqueror@gmx.de>
1674 * java/nio/channels/Channel.java,
1675 java/nio/channels/GatheringByteChannel.java,
1676 java/nio/channels/ReadableByteChannel.java,
1677 java/nio/channels/ScatteringByteChannel.java,
1678 java/nio/channels/WritableByteChannel.java:
1679 Removed redundant modifiers.
1681 2003-10-11 Michael Koch <konqueror@gmx.de>
1683 * java/rmi/activation/ActivationInstantiator.java,
1684 java/rmi/activation/ActivationMonitor.java,
1685 java/rmi/activation/ActivationSystem.java,
1686 java/rmi/activation/Activator.java,
1687 java/rmi/dgc/DGC.java,
1688 java/rmi/registry/Registry.java,
1689 java/rmi/registry/RegistryHandler.java,
1690 java/rmi/server/LoaderHandler.java,
1691 java/rmi/server/RMIClientSocketFactory.java,
1692 java/rmi/server/RMIFailureHandler.java,
1693 java/rmi/server/RMIServerSocketFactory.java,
1694 java/rmi/server/RemoteCall.java,
1695 java/rmi/server/RemoteRef.java,
1696 java/rmi/server/ServerRef.java,
1697 java/rmi/server/Skeleton.java,
1698 java/rmi/server/Unreferenced.java:
1699 Removed redundant modifiers.
1701 2003-10-11 Michael Koch <konqueror@gmx.de>
1703 * java/net/ContentHandlerFactory.java,
1704 java/net/DatagramSocketImplFactory.java,
1705 java/net/FileNameMap.java,
1706 java/net/SocketImplFactory.java,
1707 java/net/SocketOptions.java,
1708 java/net/URLStreamHandlerFactory.java:
1709 Removed redundant modifiers.
1711 2003-10-11 Michael Koch <konqueror@gmx.de>
1713 * java/io/Externalizable.java,
1714 java/io/FileFilter.java,
1715 java/io/FilePermission.java,
1716 java/io/ObjectInput.java,
1717 java/io/ObjectInputValidation.java,
1718 java/io/ObjectOutput.java,
1719 java/io/ObjectStreamClass.java,
1720 java/io/ObjectStreamConstants.java,
1721 java/io/Serializable.java:
1722 Removed redundant modifiers.
1724 2003-10-11 Ingo Proetel <proetel@aicas.com>
1726 * java/rmi/server/RMIClassLoader.java: Identify cached classloaders by
1727 codebase and context classloader.
1729 2003-10-11 Michael Koch <konqueror@gmx.de>
1731 * java/beans/beancontext/BeanContext.java,
1732 java/beans/beancontext/BeanContextChild.java,
1733 java/beans/beancontext/BeanContextChildComponentProxy.java,
1734 java/beans/beancontext/BeanContextChildSupport.java,
1735 java/beans/beancontext/BeanContextContainerProxy.java,
1736 java/beans/beancontext/BeanContextMembershipListener.java,
1737 java/beans/beancontext/BeanContextProxy.java,
1738 java/beans/beancontext/BeanContextServiceProvider.java,
1739 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java,
1740 java/beans/beancontext/BeanContextServiceRevokedListener.java,
1741 java/beans/beancontext/BeanContextServices.java,
1742 java/beans/beancontext/BeanContextServicesListener.java:
1743 Removed redundant modifiers.
1745 2003-10-11 Michael Koch <konqueror@gmx.de>
1747 * java/beans/AppletInitializer.java,
1748 java/beans/BeanInfo.java,
1749 java/beans/Customizer.java,
1750 java/beans/DesignMode.java,
1751 java/beans/PropertyEditor.java,
1752 java/beans/Visibility.java:
1753 Removed redundant modifiers.
1755 2003-10-11 Michael Koch <konqueror@gmx.de>
1757 * java/awt/print/Pageable.java,
1758 * java/awt/print/Printable.java,
1759 java/awt/print/PrinterGraphics.java:
1760 Removed redundant modifiers.
1762 2003-10-11 Michael Koch <konqueror@gmx.de>
1764 * java/awt/peer/ButtonPeer.java,
1765 java/awt/peer/CheckboxMenuItemPeer.java,
1766 java/awt/peer/CheckboxPeer.java,
1767 java/awt/peer/ChoicePeer.java,
1768 java/awt/peer/ComponentPeer.java,
1769 java/awt/peer/ContainerPeer.java,
1770 java/awt/peer/DialogPeer.java,
1771 java/awt/peer/FileDialogPeer.java,
1772 java/awt/peer/FramePeer.java,
1773 java/awt/peer/LabelPeer.java,
1774 java/awt/peer/ListPeer.java,
1775 java/awt/peer/MenuBarPeer.java,
1776 java/awt/peer/MenuComponentPeer.java,
1777 java/awt/peer/MenuItemPeer.java,
1778 java/awt/peer/MenuPeer.java,
1779 java/awt/peer/PopupMenuPeer.java,
1780 java/awt/peer/RobotPeer.java,
1781 java/awt/peer/ScrollPanePeer.java,
1782 java/awt/peer/ScrollbarPeer.java,
1783 java/awt/peer/TextAreaPeer.java,
1784 java/awt/peer/TextComponentPeer.java,
1785 java/awt/peer/TextFieldPeer.java,
1786 java/awt/peer/WindowPeer.java:
1787 Removed redundant modifiers.
1789 2003-10-11 Michael Koch <konqueror@gmx.de>
1791 * gnu/java/nio/NIOSocket.java (setChannel): Initialize impl.
1792 * gnu/java/nio/ServerSocketChannelImpl.java
1793 (serverSocket): Made it a NIOServerSocket.
1795 (ServerSocketChannelImpl): Initialize only serverSocket.
1796 (initServerSocket): Removed.
1797 (getNativeFD): Rewritten.
1798 (implConfigureBlocking): Set socket timeout and removed comment.
1799 (accept): Rewritten.
1800 * gnu/java/nio/SocketChannelImpl.java
1801 (impl): New variable.
1802 (connected): Removed.
1803 (SocketChannelImpl): Initialize impl too.
1804 (getImpl): New method.
1805 (isConnected): Rewritten.
1806 (read): Rewritten, set position in buffer correctly.
1807 (write): Set position in buffer correctly.
1808 * java/net/ServerSocket.java (getImpl): New method.
1809 * gnu/java/nio/NIOServerSocket.java,
1810 gnu/java/nio/natNIOServerSocket.cc: New files.
1811 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
1813 (ordinary_java_source_files):
1814 Added gnu/java/nio/NIOServerSocket.java.
1816 Removed gnu/java/nio/natServerSocketChannelImpl.cc
1817 and added gnu/java/nio/natNIOServerSocket.cc.
1818 * Makefile.in: Regenerated.
1820 2003-10-11 Michael Koch <konqueror@gmx.de>
1822 * java/awt/ActiveEvent.java,
1823 java/awt/datatransfer/ClipboardOwner.java,
1824 java/awt/datatransfer/FlavorMap.java,
1825 java/awt/datatransfer/Transferable.java,
1826 java/awt/dnd/Autoscroll.java,
1827 java/awt/dnd/peer/DragSourceContextPeer.java,
1828 java/awt/dnd/peer/DropTargetContextPeer.java,
1829 java/awt/dnd/peer/DropTargetPeer.java,
1830 java/awt/font/MultipleMaster.java,
1831 java/awt/font/OpenType.java,
1832 java/awt/im/spi/InputMethodDescriptor.java,
1833 java/awt/image/ImageObserver.java,
1834 java/awt/image/ImageConsumer.java,
1835 java/awt/image/ImageProducer.java,
1836 java/awt/image/RGBImageFilter.java,
1837 java/awt/image/RasterOp.java,
1838 java/awt/image/renderable/RenderableImage.java:
1839 Removed redundant modifiers.
1841 2003-10-11 Michael Koch <konqueror@gmx.de>
1843 * gnu/awt/j2d/DirectRasterGraphics.java,
1844 gnu/java/awt/EmbeddedWindowSupport.java:
1845 Removed redundant modifiers.
1847 2003-10-09 Michael Koch <konqueror@gmx.de>
1849 * gnu/java/nio/SelectorImpl.java (register):
1850 Use ServerSocketChannelSelectionKey for server socket channels,
1851 removed unneeded comments.
1852 * gnu/java/nio/ServerSocketChannelImpl.java
1853 (ServerSocketChannelImpl): Made class public final.
1854 (impl): New member variable.
1855 (ServerSocketChannelImpl): Initialize member variables correctly.
1856 (initServerSocket): New method.
1857 (getNativeFD): Likewise.
1858 * gnu/java/nio/ServerSocketChannelSelectionKey.java,
1859 gnu/java/nio/natServerSocketChannelImpl.cc: New files.
1860 * Makefile.am (ordinary_java_source_files):
1861 Added gnu/java/nio/ServerSocketChannelSelectionKey.java.
1862 (nat_source_files): Added gnu/java/nio/natServerSocketChannelImpl.cc.
1863 * Makefile.in: Regenrated.
1865 2003-10-09 Michael Koch <konqueror@gmx.de>
1867 * java/nio/channels/spi/AbstractSelectableChannel.java
1868 (registered): Made private.
1869 (blocking): Likewise.
1871 (provider): Likewise.
1872 (keys): Made it a private LinkedList.
1873 (AbstractSelectableChannel): Initialize keys.
1874 (isRegistered): New implementation.
1875 (locate): Rewritten.
1876 (register): Rewritten.
1877 * java/nio/channels/spi/AbstractSelectionKey.java
1879 (cancelled): New member variable.
1880 (cancel): Rewritten.
1881 (isValid): Rewritten.
1882 * java/nio/channels/spi/AbstractSelector.java:
1884 (closed): Make private.
1885 (provider): Likewise.
1886 (cancelledKeys): New member variable.
1887 (AbstractSelector): Initialize cancelledKeys.
1888 (cancelKey): New method.
1890 2003-10-09 Tom Tromey <tromey@redhat.com>
1892 * java/lang/ClassLoader.java (setSigners): Implemented.
1893 * boehm.cc (_Jv_MarkObj): Mark `signers' field.
1894 * java/lang/natClassLoader.cc (_Jv_InitNewClassFields):
1895 Initialize new fields.
1896 * java/lang/Class.java (getSigners): Now native.
1897 (setSigners): Declare.
1898 * java/lang/natClass.cc (getSigners): New method.
1899 (getSigners): Likewise.
1900 * java/lang/Class.h (Class::signers): New field.
1901 (Class::setSigners): New method.
1903 2003-10-09 Michael Koch <konqueror@gmx.de>
1905 * java/rmi/server/RMIClassLoader.java:
1906 Removed unused imports, little reformatings.
1907 (getClassLoader): New method, implementation was part of old loadCLass
1909 (loadClass): Simplified by moving functionality to new method and
1910 reworking the code a bit.
1911 (getClassAnnotation): Merged documentation from classpath.
1913 2003-10-09 Michael Koch <konqueror@gmx.de>
1915 * java/math/BigInteger.java
1916 (add): Removed unused local variable len.
1918 2003-10-08 Thomas Fitzsimmons <fitzsim@redhat.com>
1920 * gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Remove
1922 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
1923 Initialize insets to use latest insets.
1924 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
1925 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (latestInsets): New
1927 (postConfigureEvent): Update latestInsets field when insets
1928 change. Remove call to setSize. Move validate call outside of
1930 (setVisible): Call setBounds before showing window.
1931 (nativeSetVisible): New native method.
1932 * java/awt/Window.java (show): Show visible owned windows.
1933 (hide): Hide visible owned windows.
1934 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1935 (awt_event_handler): Implement modality using GTK grabs.
1936 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1937 (global_gtk_window_group): New global variable.
1938 (gtkInit): Initialize global_gtk_window_group.
1939 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
1940 Clamp width and height values to at least 1. Add this window to
1941 the global GTK window group.
1942 (setVisible): Rename to nativeSetVisible.
1943 (setup_window): Remove function.
1944 (setSize): Clamp width and height values to at least 1.
1945 (nativeSetBounds): Likewise.
1946 (gdk_window_get_root_geometry): Remove function.
1947 * jni/gtk-peer/gtkpeer.h: Remove gdk_window_get_root_geometry
1948 and setup_window declarations. Declare global_gtk_window_group.
1950 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1951 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1952 (gtkSetFont): Handle BOLD and ITALIC style specifiers.
1953 (gtkWidgetSetForeground): New method.
1954 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1955 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1956 (gtkWidgetSetBackground, gtkWidgetSetForeground): New methods.
1957 (setBackground, setForeground): Implement.
1958 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
1959 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
1960 (gtkSetFont): Handle BOLD and ITALIC style specifiers.
1961 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
1962 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
1963 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
1964 Position PangoLayout relative to text's baseline.
1965 * jni/gtk-peer/gtkpeer.h: Define AWT font style constants.
1967 * java/awt/FlowLayout.java (layoutContainer): Fix offset problem
1968 for CENTER and RIGHT alignments.
1970 2003-10-08 Michael Koch <konqueror@gmx.de>
1972 * java/security/Security.java: Reformated.
1974 2003-10-08 Michael Koch <konqueror@gmx.de>
1976 * java/text/SimpleDateFormat.java
1977 (compileFormat): Replace Character.isLetter() test with
1978 Character.isLowerCase() || Character.isUpperCase().
1980 2003-10-08 Tom Tromey <tromey@redhat.com>
1982 * java/lang/StrictMath.java (toDegrees): Multiply before
1984 (toRadians): Likewise.
1986 2003-10-08 C. Brian Jones <cbj@gnu.org>
1988 * java/lang/Math.java
1989 (toRadians): multiply before dividing to reduce decimal error
1992 2003-10-08 Michael Koch <konqueror@gmx.de>
1994 * gnu/gcj/protocol/core/Connection.java,
1995 gnu/gcj/protocol/core/CoreInputStream.java,
1996 gnu/gcj/protocol/core/Handler.java,
1997 gnu/gcj/protocol/core/natCoreInputStream.cc,
1998 gnu/gcj/protocol/file/Connection.java,
1999 gnu/gcj/protocol/file/Handler.java,
2000 gnu/gcj/protocol/gcjlib/Connection.java,
2001 gnu/gcj/protocol/gcjlib/Handler.java,
2002 gnu/gcj/protocol/http/Connection.java,
2003 gnu/gcj/protocol/http/Handler.java,
2004 gnu/gcj/protocol/jar/Connection.java,
2005 gnu/gcj/protocol/jar/Handler.java: Moved to gnu/java/net/protocol.
2006 * gnu/java/net/protocol/core/Connection.java,
2007 gnu/java/net/protocol/core/CoreInputStream.java,
2008 gnu/java/net/protocol/core/Handler.java,
2009 gnu/java/net/protocol/core/natCoreInputStream.cc,
2010 gnu/java/net/protocol/file/Connection.java,
2011 gnu/java/net/protocol/file/Handler.java,
2012 gnu/java/net/protocol/gcjlib/Connection.java,
2013 gnu/java/net/protocol/gcjlib/Handler.java,
2014 gnu/java/net/protocol/http/Connection.java,
2015 gnu/java/net/protocol/http/Handler.java,
2016 gnu/java/net/protocol/jar/Connection.java,
2017 gnu/java/net/protocol/jar/Handler.java: Moved from gnu/gcj/protocol.
2018 * gnu/gcj/runtime/FirstThread.java,
2019 java/net/URL.java: Use moved protocol handlers.
2021 (ordinary_java_source_files): Moved files.
2022 (nat_source_files): Likewise.
2023 * Makefile.in: Regenerated.
2025 2003-10-08 Michael Koch <konqueror@gmx.de>
2027 * gnu/java/nio/SocketChannelImpl.java
2028 (read): Write only read data to buffer.
2030 2003-10-08 Thomas Fitzsimmons <fitzsim@redhat.com>
2032 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (setEnabled): Stub
2034 * jni/classpath/jcl.c [!__GNUC__]: Elide __attribute__.
2035 (JCL_free): Attach "unused" attribute to env parameter.
2036 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
2037 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
2038 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
2039 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
2040 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
2041 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2042 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
2043 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
2044 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
2045 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
2046 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
2047 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
2048 jni/gtk-peer/gthread-jni.c: Attach "unused" attribute to unused
2050 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
2051 (initNativeState): Pass 0 as info argument to
2052 gtk_selection_add_target.
2053 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
2054 (setVisible, gtkFixedNew, gtkFixedPut, gtkFixedMove): Remove
2055 unused method implementations.
2056 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2057 (awt_event_handler): Add break statement after default label.
2058 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
2059 (drawPixels): Remove unused variable i.
2060 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2061 (setEnabled): Remove method implementation.
2062 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2063 (accel_attach): Call _gtk_accel_group_attach with G_OBJECT
2065 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (sr): Remove
2067 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
2068 (menu_pos): Assign TRUE to push_in.
2069 (setupAccelGroup): Call _gtk_accel_group_attach with G_OBJECT
2071 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
2072 (create): Remove unused variable layout.
2073 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
2074 Pass window_widget, rather than window, to
2075 gtk_widget_set_size_request.
2076 * jni/gtk-peer/gthread-jni.c (g_thread_jni_functions): Fill out
2077 structure initialization with NULL values.
2078 * jni/gtk-peer/gtkpeer.h [!__GNUC__]: Elide __attribute__.
2080 2003-10-08 Michael Koch <konqueror@gmx.de>
2082 * java/util/LinkedList.java:
2083 Removed whitespace to match classpath's version again.
2085 2003-10-08 Michael Koch <konqueror@gmx.de>
2087 * java/util/prefs/Preferences.java
2088 (defaultFactoryClass): Fixed class name.
2089 (getFactory): Create instance of class returned by Class.forName(),
2092 2003-10-08 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
2094 * javax/swing/table/AbstractTableModel.java
2095 (getColumnName): Simplified code much. Thanks to Yannick Boogaerts who
2096 helped stop pulling my hair on this +1 then -1 tricky thing!
2098 2003-10-07 Thomas Fitzsimmons <fitzsim@redhat.com>
2100 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (gtkTextGetSize):
2101 Remove unused parameters.
2102 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkEntryGetSize):
2104 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2105 (keyevent_state_to_awt_mods): Export function.
2106 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
2107 (getCaretPosition): Fix TextArea case.
2108 (textcomponent_commit_cb): Get exact event time and modifier
2110 * jni/gtk-peer/gtkpeer.h: Declare keyevent_state_to_awt_mods.
2112 2003-10-02 Guilhem Lavaux <guilhem@kaffe.org>
2114 * java/net/InetSocketAddress.java
2115 (InetSocketAddress): Made exception more clear.
2116 (equals): Handle case when addr is null.
2117 (toString): Likewise.
2118 * java/net/NetworkInterface.java
2119 (static): Load native library.
2120 (getNetworkInterfaces): Rewritten.
2122 2003-10-02 Thomas Fitzsimmons <fitzsim@redhat.com>
2124 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (insets): New
2126 (initializeInsets): New method.
2127 (GtkComponentPeer): Call initializeInsets. Call setCursor and
2128 setBounds unconditionally.
2129 (setBounds): Convert coordinates if parent is a Window.
2130 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (insets): Move
2131 field to GtkComponentPeer.
2132 (GtkContainerPeer): Don't initialize insets.
2133 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
2135 (create): Call new GtkWindowPeer create method.
2136 * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
2138 (create): Call new GtkWindowPeer create method.
2139 (setBounds): Remove method.
2140 (postConfigureEvent): Likewise.
2141 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Replace GTK window
2142 type constants with GDK window type constants.
2143 (create(int,boolean,int,int,GtkWindowPeer)): New method.
2144 (create(int,boolean)): Likewise.
2145 (create()): Call create(int,boolean).
2146 (nativeSetBounds): New native method declaration.
2147 (setBounds): Call native method declaration.
2148 (setSize): New native method declaration.
2149 (setBoundsCallback): Likewise.
2150 (postConfigureEvent): Handle change in insets. Call setSize and
2151 setBoundsCallback methods.
2152 * java/awt/Window.java (Window): Set visible to false.
2153 (setBoundsCallback): New method.
2154 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2155 (gtkWidgetGetLocationOnScreen): If this component is not a
2156 container, adjust the location returned based on the peer's
2158 (set(String,boolean)): Revert change from 2003-09-19.
2159 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2160 (awt_event_handler): Fix inset calculation.
2161 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
2162 glue for Window.setBoundsCallback.
2163 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
2164 Set up stacking order, window decorations and window manager
2166 (setBoundsCallback): New method.
2167 (setSize): New method.
2168 (nativeSetBounds): New method.
2169 * jni/gtk-peer/gtkpeer.h: Declare setBoundsCallbackID.
2171 2003-10-02 Tom Tromey <tromey@redhat.com>
2173 * java/lang/VMClassLoader.java (loadClass): Now native.
2174 * java/lang/natClassLoader.cc (loadClass): Implement.
2175 * prims.cc (_Jv_RunMain): Initialize ClassLoader.
2177 2003-10-02 Michael Koch <konqueror@gmx.de>
2179 * java/net/InetAddress.java
2181 (ANY_IF): Initalizie in static block.
2182 (static): Load library with native methods here and initialize ANY_IF.
2183 (isAnyLocalAddress): Check if equal to ANY_IF.
2184 (equals): Use addr directly instead of addr1. Simplify for loop.
2185 (toString): Rename "result" to "host" and add IP address allways.
2186 (getLocalHost): Merged documentation from classpath.
2187 * java/net/ServerSocket.java
2188 (ServerSocket): New package-private constructor used by java.nio.
2189 * java/net/URLConnection.java
2190 (getRequestProperties): Check if already connected.
2192 2003-10-02 Michael Koch <konqueror@gmx.de>
2194 * java/nio/ByteBufferHelper.java:
2195 Rewrote all methods by suggestions from Eric Blake.
2197 2003-10-02 Michael Koch <konqueror@gmx.de>
2200 (DEFAULT_SEARCH_PATH): New static variable.
2201 (ph_cache): Made it a HashMap.
2202 (getURLStreamHandler): Rename propVal to ph_search_path and use
2203 DEFAULT_SEARCH_PATH.
2205 2003-10-02 Michael Koch <konqueror@gmx.de>
2207 * javax/swing/table/AbstractTableModel.java
2208 (findColumnName): Prevent from NullPointerException if argument
2211 2003-10-02 Michael Koch <konqueror@gmx.de>
2213 * javax/swing/table/AbstractTableModel.java:
2214 This patch is based on a patch done by Arnaud Vandyck
2215 <arnaud.vandyck@ulg.ac.be>.
2216 (getColumnName): Fixed method documentation.
2217 (findColumn): Likewise.
2218 (getColumnClass): Likewise.
2219 (isCellEditable): Likewise.
2220 (setValueAt): Likewise.
2221 (addTableModelListener): Likewise.
2222 (removeTableModelListener): Likewise.
2223 (getTableModelListeners): New method.
2225 2003-10-02 Michael Koch <konqueror@gmx.de>
2227 * javax/swing/table/AbstractTableModel.java:
2230 2003-10-01 Bryce McKinlay <bryce@mckinlay.net.nz>
2233 * gnu/gcj/runtime/StackTrace.java (finalize): Declare.
2234 * gnu/gcj/runtime/natStackTrace.cc (finalize): New. Free "addrs".
2236 2003-10-01 Tom Tromey <tromey@redhat.com>
2238 * gnu/gcj/runtime/FirstThread.java (getMain): Fixed indentation.
2240 2003-10-01 Andrew Haley <aph@redhat.com>
2242 * java/lang/natClass.cc (initializeClass): Check for otable and
2244 (_Jv_LinkOffsetTable): Check for existence of atable. Rewrite
2245 loops using for(). Search superinterfaces. Check for fields as
2246 well as methods. Initialize atable as well as otable: check for
2247 static methods as well as virtual methods.
2248 * java/lang/Class.h (struct _Jv_AddressTable): New.
2251 * include/jvm.h (_Jv_equalUtf8Consts): constify.
2252 * prims.cc (_Jv_equalUtf8Consts): constify.
2254 2003-09-29 Tom Tromey <tromey@redhat.com>
2257 * include/jvm.h (_Jv_FinalizeString,
2258 _Jv_RegisterStringFinalizer): Declare.
2259 * java/lang/natString.cc (_Jv_FinalizeString): Renamed from
2262 (_Jv_NewStringUtf8Const): Likewise.
2263 * java/lang/ref/natReference.cc (finalize_referred_to_object):
2264 Add special case when finalizing a String.
2265 (in_hash): New function.
2266 (_Jv_RegisterStringFinalizer): Likewise.
2267 (maybe_add_finalize): Likewise.
2269 2003-09-29 Michael Koch <konqueror@gmx.de>
2271 * java/net/InetAddress.java:
2272 (isMulticastAddress): Dont use local variable to store address length.
2273 Let the compiler optimize this.
2274 (getHostName): Merged dcoumentation from classpath.
2275 (getAddress): Likewise.
2276 (getHostAddress): Likewise.
2277 (hashCode): Likewise.
2279 (toString): Likewise.
2280 (getByName): Likewise.
2281 (getAllByName): Likewise.
2283 2003-09-29 Michael Koch <konqueror@gmx.de>
2285 * java/awt/image/IndexColorModel.java: Reformated.
2287 2003-09-29 Michael Koch <konqueror@gmx.de>
2289 * java/net/InetAddress.java,
2290 java/net/URL.java: Reformated.
2292 2003-09-29 Bryce McKinlay <bryce@mckinlay.net.nz>
2294 * boehm.cc (_Jv_BuildGCDescr): Put first word of object in most
2295 significant bit of descriptor. Include the vtable and sync_info
2298 2003-09-28 Bryce McKinlay <bryce@mckinlay.net.nz>
2300 * java/text/DateFormat.java (format): Throw IllegalArgumentException
2301 if `obj' is not a Number or Date instance.
2302 * java/text/SimpleDateFormat.java (tokens): Make it an ArrayList
2305 2003-09-28 Bryce McKinlay <bryce@mckinlay.net.nz>
2307 * java/text/SimpleDateFormat.java (parse): Revert patch of 2003-09-25.
2308 Don't call setTimeZone on calendar.
2310 2003-09-27 Michael Koch <konqueror@gmx.de>
2312 * java/net/URL.java (getURLStreamHandler): Compile fixes.
2314 2003-09-27 Michael Koch <konqueror@gmx.de>
2316 * java/net/URL.java (getURLStreamHandler):
2317 Check if we have to use cache before trying to retrieve handler from
2318 cache. Rename facName to clsName to match classpath more. Reformated
2321 2003-09-27 Michael Koch <konqueror@gmx.de>
2323 * gnu/java/nio/SelectionKeyImpl.java
2324 (ch): Make package-private again. Jikes found this bug.
2325 Jeff Sturm submitted PR12426 for this to bugzilla
2326 to fix this bug in gcj.
2328 2003-09-26 Michael Koch <konqueror@gmx.de>
2330 * java/rmi/server/RMIClassLoader.java:
2331 Reformatted file, no functional code changes.
2333 2003-09-26 Sascha Brawer <brawer@dandelis.ch>
2335 * java/awt/image/SinglePixelPackedSampleModel.java (createDataBuffer):
2336 Save space for some pixels at the buffer end. Added Javadoc.
2338 2003-09-26 Tom Tromey <tromey@redhat.com>
2340 * java/io/ObjectOutputStream.java (writeFields): Fixed
2342 (putFields): Likewise.
2344 2003-09-26 Michael Koch <konqueror@gmx.de>
2346 * java/nio/ByteBufferHelper.java:
2347 Totally reworked with help from Eric Blake.
2349 2003-09-26 Tom Tromey <tromey@redhat.com>
2351 * java/awt/geom/RoundRectangle2D.java (getPathIterator): Wrote.
2352 * java/awt/geom/PathIterator.java: Documentation fixes.
2354 2003-09-25 Jeff Sturm <jsturm@one-point.com>
2356 * gnu/java/nio/SelectorImpl.java (getFDsAsArray): Use getNativeFD().
2358 (register): Use DatagramChannelSelectionKey, SocketChannelSelectionKey.
2360 2003-09-25 Michael Koch <konqueror@gmx.de>
2362 * gnu/java/nio/DatagramChannelImpl.java
2363 (getNativeFD): New method.
2364 * gnu/java/nio/SelectionKeyImpl.java
2365 (SelectionKeyImpl): Class made abstract.
2367 (SelectionKeyImpl): Remove fd argument.
2368 (getNativeFD): New method.
2369 * gnu/java/nio/SocketChannelImpl.java
2370 (getNativeFD): New method.
2371 gnu/java/nio/DatagramChannelSelectionKey.java,
2372 * gnu/java/nio/SocketChannelSelectionKey.java:
2374 * Makefile.am (ordinary_java_source_files):
2375 Added new files gnu/java/nio/DatagramChannelSelectionKey.java and
2376 gnu/java/nio/SocketChannelSelectionKey.java.
2377 * Makefile.in: Regenerated.
2379 2003-09-25 Michael Koch <konqueror@gmx.de>
2381 * java/lang/reflect/Proxy.java
2382 (getProxyClass): Remove workaround for gcj 3.0.x.
2384 2003-09-25 Michael Koch <konqueror@gmx.de>
2386 * gnu/java/net/PlainDatagramSocketImpl.java
2387 (finalize): Moved to directly after constructor.
2388 (getNativeFD): New method.
2389 * gnu/java/net/PlainSocketImpl.java
2390 (getNativeFD): New method.
2392 2003-09-25 Ingo Proetel <proetel@aicas.com>
2394 * java/io/ObjectOutputStream.java:
2395 Allow putFields be called more than once.
2397 2003-09-25 Sascha Brawer <brawer@dandelis.ch>
2399 * java/awt/image/Raster.java(Raster): Interpret null origin as (0,0).
2400 * java/awt/image/WritableRaster.java(WritableRaster): Likewise.
2401 * java/awt/image/BufferedImage.java (toString): Implement.
2403 2003-09-25 Jeff Sturm <jsturm@one-point.com>
2405 * aclocal.m4: Rebuilt.
2406 * configure: Rebuilt.
2408 2003-09-25 Guilhem Lavaux <guilhem@kaffe.org>
2410 * java/text/SimpleDateFormat.java (parse): Don't use class calendar
2413 2003-09-25 Michael Koch <konqueror@gmx.de>
2415 * gnu/java/nio/SelectorImpl.java
2416 (implSelect): Renamed from java_do_select.
2417 (select): Call native implSelect() and add support for Thread
2419 * gnu/java/nio/natSelectorImpl.cc
2420 (implSelect): Renamed from java_do_select.
2422 2003-09-25 Michael Koch <konqueror@gmx.de>
2424 * gnu/java/nio/SelectorImpl.java
2425 (selectNow): Made final, throws IOException.
2427 (getFDsAsArray): Made final.
2428 (selectedKeys): Likewise.
2430 (deregisterCancelledKeys): Likewise.
2431 (register): Likewise.
2433 (add_selected): Removed.
2434 * gnu/java/nio/natSelectorImpl.cc:
2435 No need to include bstring.h or gcj/cni.h.
2436 (helper_put_filedescriptors): Rewritten.
2437 (helper_get_filedescriptors): Rewritten.
2439 2003-09-25 Sascha Brawer <brawer@dandelis.ch>
2441 * java/awt/font/FontRenderContext.java (getTransform): Return
2442 copy of internal transform object. Add Javadoc.
2443 * java/awt/geom/Rectangle2D.java (getPathIterator): Use the same
2444 winding rule as Sun J2SE.
2445 * javax/swing/border/MatteBorder.java (MatteBorder(Icon)): Docfix.
2447 2003-09-25 Ingo Proetel <proetel@aicas.com>
2449 * java/rmi/Naming.java:
2450 Added comments, now accepts pseudo protocol "rmi".
2452 2003-09-25 Guilhem Lavaux <guilhem@kaffe.org>
2454 * java/text/DecimalFormat.java (format): Don't immediatly round
2456 (setMinimumIntegerDigits): Call super.
2457 (setMinimumFractionDigits): Likewise.
2458 (setMaximumIntegerDigits): Likewise.
2459 (setMaximumFractionDigits): Likewise.
2461 2003-09-25 Michael Koch <konqueror@gmx.de>
2463 * gnu/java/nio/DatagramChannelImpl.java
2464 (DatagramChannelImpl): Made class final.
2465 (blocking): Made private.
2466 (socket): Made it a NIODatagramSocket and private.
2467 (DatagramChannelImpl): create NIODatagramSocket instead of
2469 (implConfigureBlocking): Set socket timeout.
2470 (connect): Check that channel is not closed.
2471 (write): Implemented.
2473 (read): Implemented.
2475 (receive): Implemented.
2476 (send): Implemented.
2477 * gnu/java/nio/SelectionKeyImpl.java
2478 (readyOps): Made private.
2479 (interestOps): Made private.
2480 (impl): Made private.
2482 (readyOps): Check if selection key is valid.
2483 (interestOps): Likewise.
2484 * gnu/java/nio/SelectorImpl.java
2486 (keys): Made private.
2487 (selected): Made private.
2488 (finalize): New method.
2489 (implCloseSelector): Rewritten.
2490 (keys): Return unmodifiable Set.
2491 (deregisterCancelledKeys): Fixed typo in method name.
2492 * gnu/java/nio/SocketChannelImpl.java
2493 (SocketChannelImpl): Made class final.
2494 (socket): Made it a NIOSocket and private.
2495 (blocking): Made private.
2496 (connected): Made private.
2497 (connectionPending): New member variable.
2498 (SocketChannelImpl): New implementation.
2499 (finalizer): Use isConnected().
2500 (connect): Rewritten.
2501 (finishConnect): Throws IOException, implemented.
2502 (isConnectionPending): Return connectionPending.
2505 * gnu/java/nio/NIOConstants.java: New file.
2506 * Makefile.am (ordinary_java_source_files):
2507 Added gnu/java/nio/NIOConstants.java.
2508 * Makefile.in: Regenerated.
2510 2003-09-25 Michael Koch <konqueror@gmx.de>
2512 * java/net/InetAddress.java:
2513 Reorder imports, remove implementation comment.
2514 (isMulticastAddress): Merged documentation from classpath.
2515 * java/net/URLConnection.java
2516 (setRequestProperty): Check key for null, fix documentation.
2517 (adREquestProperty): Check key for null, remove wrong implementation
2518 and replace it with comment to overwrite this method in subclasses,
2521 2003-09-25 Tom Tromey <tromey@redhat.com>
2523 * java/lang/reflect/Proxy.java (generate): Uncomment protection
2525 * java/lang/natClassLoader.cc (defineClass): Added `loader'
2527 (linkClass0): Now in VMClassLoader.
2528 (markClassErrorState0): Likewise.
2529 (getSystemClassLoaderInternal): New method.
2530 * java/lang/natClass.cc (initializeClass): Use
2531 VMClassLoader::resolveClass.
2532 * java/lang/ClassLoader.java: New version, from Classpath.
2533 * java/lang/Class.java (getProtectionDomain):
2534 protectionDomainPermission and unknownProtectionDomain now in
2536 * java/lang/Class.h: VMClassLoader now a friend class.
2537 * gnu/gcj/runtime/VMClassLoader.java (instance): Now
2539 * gcj/javaprims.h: Regenerated class list.
2540 * resolve.cc (_Jv_PrepareClass): Use VMClassLoader::resolveClass.
2541 * java/lang/VMClassLoader.java: New version from Classpath;
2542 modified for libgcj use.
2544 2003-09-25 Michael Koch <konqueror@gmx.de>
2546 * java/nio/ByteBufferHelper.java:
2548 * java/nio/ByteBufferImpl.java,
2549 java/nio/DirectByteBufferImpl.java,
2550 java/nio/MappedByteBufferImpl.java
2551 (getType,putType): Use new helper class ByteBufferHelper.
2552 * Makefile.am (ordinary_java_source_files):
2553 Added java/nio/ByteBufferHelper.java.
2554 * Makefile.in: Regenerated.
2556 2003-09-25 Bryce McKinlay <bryce@mckinlay.net.nz>
2558 * gnu/java/net/natPlainSocketImplWin32.cc: Add missing #includes.
2561 2003-09-24 Bryce McKinlay <bryce@mckinlay.net.nz>
2563 * java/lang/StringBuffer.java (substring): Don't set `shared' on small
2564 Strings, even if buffer is already shared.
2566 2003-09-24 Michael Koch <konqueror@gmx.de>
2568 * acinclude.m4 (AM_LC_LOCALES): Added check for locale.h.
2570 2003-09-24 Bryce McKinlay <bryce@mckinlay.net.nz>
2572 * gnu/java/net/PlainSocketImpl.java (read): Remove declaration.
2574 (SocketInputStream): Declare `read' and `write' methods native.
2575 Remove implementations which called back into PlainSocketImpl.
2576 Remove unneccessary overridden methods.
2577 * gnu/java/net/natPlainSocketImplNoNet.cc (read): Move implementation
2578 to inner class PlainSocketImpl.SocketInputStream.
2580 * gnu/java/net/natPlainSocketImplPosix.cc: As above.
2581 * gnu/java/net/natPlainSocketImplWin32.cc: As above.
2582 * gnu/java/net/SocketInputStream.java: Remove unused file.
2583 * gnu/java/net/SocketOutputStream.java: Likewise.
2584 * Makefile.am: Build CNI headers for PlainSocketImpl.SocketInputStream
2585 and SocketOutputStream.
2586 * Makefile.in: Rebuilt.
2588 2003-09-23 Nathanael Nerode <neroden@gcc.gnu.org>
2590 * java/lang/System.java: Add GCJ LOCAL note about encoding aliases.
2592 * java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL
2595 2003-09-22 Anthony Green <green@redhat.com>
2597 * configure.in (HAVE_USLEEP_DECL): Define for newlib build.
2598 * configure: Rebuilt.
2600 2003-09-21 Ralph Loader <suckfish@ihug.co.nz>
2603 * java/lang/StringBuffer.java (substring): Fix handling of shared flag.
2605 2003-09-22 Michael Koch <konqueror@gmx.de>
2607 * jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
2608 compiler warning but produces a different one now.
2610 2003-09-22 Michael Koch <konqueror@gmx.de>
2612 * java/net/InetAddress.java:
2613 Moves around some code, reformats and adds documentation.
2614 No functional changes.
2616 2003-09-22 Michael Koch <konqueror@gmx.de>
2618 * java/net/JarURLConnection.java
2619 (JarURLConnection): Modifed code to match classpath more, fixed comment.
2620 (getCertificates): Made it more error prone.
2621 (getMainAttributes): Likewise.
2622 (getAttributes): Implemented.
2623 (getManifest): Reformatted code.
2625 2003-09-20 Tom Tromey <tromey@redhat.com>
2627 * java/awt/Component.java: Indentation cleanup from Classpath.
2629 2003-09-20 Dalibor Topic <robilad@kaffe.org>
2631 * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument
2632 checking to follow 1.4.2 spec.
2634 2003-08-11 Ingo Proetel <proetel@aicas.com>
2636 * gnu/java/rmi/server/UnicastRef.java: make constructor public and check if serverobject
2637 is compatible in case client and server are running in the same VM
2638 (remerged from Classpath on 2003-09-20)
2640 2003-09-19 David Daney <ddaney@avtrex.com>
2642 * java/lang/ref/Reference.java (clear): Set referent to null and
2645 2003-09-19 Michael Koch <konqueror@gmx.de>
2647 * gnu/java/nio/NIODatagramSocket.java,
2648 gnu/java/nio/NIOSocket.java: New files.
2649 * Makefile.am (ordinary_java_source_files):
2650 Added gnu/java/nio/NIODatagramSocket.java and
2651 gnu/java/nio/NIOSocket.java.
2652 * Makefile.in: Regenerated.
2654 2003-09-19 Thomas Fitzsimmons <fitzsim@redhat.com>
2656 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a
2657 top-level GTK window.
2658 (getArgs): Add "title" property.
2659 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use
2660 "allow_shrink" and "allow_grow" properties.
2661 * java/awt/Dialog.java: Initialize resizable to true and change
2662 comments accordingly. Initialize visible to false in
2664 * java/awt/Frame.java (dispose): Remove method.
2665 * java/awt/Window.java (ownedWindows): New field.
2666 (Window(Window,GraphicsConfiguration)): Add a weak reference to
2667 owner's ownedWindows vector.
2668 (finalize): Remove method.
2669 (hide): Hide owned windows.
2670 (dispose): Dispose of owned windows.
2671 (getOwnedWindows): Implement.
2672 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove
2674 (set(String,boolean)): Clamp gboolean parameter to g_object_set
2676 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2677 (create): Set window's size requisition.
2678 (connectHooks): Fix indentation.
2679 (setResizable): Remove function.
2680 (static setBounds): Likewise.
2681 (setBounds): Replace call to setBounds with GTK size requisition
2684 2003-09-19 Mohan Embar <gnustuff@thisiscool.com>
2686 * win32-threads.cc: (ensure_interrupt_event_initialized) New
2687 function for lazy initialization of an auto-reset event.
2688 (_Jv_CondWait) Added thread interrupt support.
2689 (_Jv_ThreadInitData) Added initialization of interrupt support
2691 (_Jv_ThreadDestroyData) Added cleanup of interrupt support members.
2692 (_Jv_ThreadStart) Removed unused code.
2693 (_Jv_Win32GetInterruptEvent) New method for returning interrupt event
2694 to an external caller.
2695 (_Jv_ThreadInterrupt) Implemented.
2696 * include/win32-threads.h: (_Jv_Thread_t) Added a Win32 auto-reset
2697 event for interrupt support as well as a mutex which regulates
2699 (_Jv_Win32GetInterruptEvent) Declared new method for returning interrupt
2700 event to an external caller.
2701 * java/lang/natWin32Process.cc: (cleanup) Close handle to spawned
2703 (waitFor) Added interrupt support.
2705 2003-09-19 Michael Koch <konqueror@gmx.de>
2707 * java/net/DatagramSocket.java (getLocalAddress):
2708 Renamed result variable to localAddr.
2709 * java/net/MulticastSocket.java:
2710 No need to import gnu.java.net.PlainDatagramSocketImpl.
2712 2003-09-18 Sascha Brawer <brawer@dandelis.ch>
2714 * java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl):
2715 Replace UTF-8 characters in Javadoc by XML/HTML escape sequence.
2717 2003-09-18 Tom Tromey <tromey@redhat.com>
2719 * javax/naming/InitialContext.java: Reindented.
2721 2003-09-18 Dalibor Topic <robilad@kaffe.org>,
2722 Helmer Kraemer <hkraemer@freenet.de>
2724 * javax/naming/spi/NamingManager.java (getURLContext,
2725 getObjectInstance, getStateToBind): Always use current thread's
2726 context class loader when calling Class.forName.
2728 2003-09-18 Michael Koch <konqueror@gmx.de>
2730 * java/util/Timer.java (finalize): Added "throws Throwable".
2732 2003-09-18 Michael Koch <konqueror@gmx.de>
2734 * java/net/DatagramSocket.java
2736 (receive): Use getChannel() instead of ch.
2738 (getChannel): Return null.
2739 * java/net/ServerSocket.java
2741 (setChannel): Removed.
2742 (implAccept): Use getChannel() instead of ch.
2744 (getChannel): Return null.
2745 * java/net/Socket.java
2747 (connect): Use getChannel() instead of ch.
2748 (setChannel): Removed.
2749 (getChannel): Return null.
2751 2003-09-18 Mark Wielaard <mark@klomp.org>
2753 Reported by Guilhem Lavaux and Julian Dolby
2754 * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the
2755 field "serialPersistentFields", not "getSerialPersistentFields".
2757 2003-09-18 Ingo Proetel <proetel@aicas.com>
2759 * java/util/TimeZone.java: Initialize lazily.
2760 * java/util/Locale.java (readManifest): Fix check for country.
2761 * java/util/GregorianCalendar.java: Make use of ResourceBundle better
2763 * java/util/Calendar.java: Make use of ResourceBundle better
2766 2003-09-18 Jeroen Frijters <jeroen@frijters.net>
2768 * java/sql/Timestamp.java
2769 (valueOf): Fixed confusion of java.sql.Date and java.util.Date
2771 2003-09-18 David P Grove <groved@us.ibm.com>
2773 * java/io/LineNumberReader (read): Don't reset pos & limit when
2776 2003-09-18 Dalibor Topic <robilad@kaffe.org>
2778 * gnu/java/rmi/rmic/Compile_gcj.java (COMPILER_ARGS): New private
2780 (computeArguments): use computeTypicalArguments.
2782 * gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Add Compile_kjc.java,
2783 Compile_jikes.java and RMICException.java.
2784 * gnu/java/rmi/rmic/Compile_kjc.java: New file.
2785 * gnu/java/rmi/rmic/Compile_jikes.java: Likewise.
2786 * gnu/java/rmi/rmic/RMICException.java: Likewise.
2788 * gnu/java/rmi/rmic/Compiler.java (getDestination): New method.
2790 * gnu/java/rmi/rmic/CompilerProcess.java: Import java.io.InputStream.
2791 (computeTypicalArguments): New method.
2792 (compile): Print compiler output to System.out. Collect compiler
2793 error output and use it in exception message.
2795 * gnu/java/rmi/rmic/RMIC.java: Import java.util.Set.
2796 (destination): Initialize to null.
2797 (run): Replace file separator with '.' when processing class.
2798 (processClass): Replace '.' with file separator when compiling
2800 (findClass): Use SystemClassLoader to load class.
2801 (generateStub): Use full class name for generated stub, that puts
2802 it in right path. Replace '.' with file separator when generating
2803 stub file name. Write just the stub class name without package
2804 information as class name, and constructor name. Write only
2805 interface names for interfaces extending java.rmi.Remote as
2807 (generateSkel): Use full class name for generated skel, that puts
2808 it in right path. Replace '.' with file separator when generating
2809 stub file name. Write just the stub class name without package
2810 information as class name.
2812 2003-09-18 Michael Koch <konqueror@gmx.de>
2814 * Makefile.am (rmi_java_source_files):
2815 Added gnu/java/rmi/rmic/Compile_kjc.java,
2816 gnu/java/rmi/rmic/Compile_jikes.java and
2817 gnu/java/rmi/rmic/RMICException.java
2818 * Makefile.in: Regenerated.
2820 2003-09-17 Graydon Hoare <graydon@redhat.com>
2822 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2823 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
2824 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
2825 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
2828 2003-09-16 Graydon Hoare <graydon@redhat.com>
2830 * java/awt/BufferedImage.java (setData): Support non-component
2834 2003-09-10 Graydon Hoare <graydon@redhat.com>
2836 * java/awt/geom/AffineTransform.java(transform): Fix airthmetic bugs.
2837 * java/awt/geom/Arc2D.java: Approximate arc segments with cubics.
2839 2003-09-17 Mohan Embar <gnustuff@thisiscool.com>
2841 * configure.in: Standardized help text case of
2842 --enable-hash-synchronization
2843 New configure switch --enable-libgcj-multifile and corresponding
2844 automake conditional ONESTEP.
2845 * configure: Rebuilt.
2846 * Makefile.am: Use automake conditional ONESTEP to determine
2847 whether classfiles should be compiled individually or all
2849 * Makefile.in: Rebuilt.
2851 2003-09-16 Thomas Fitzsimmons <fitzsim@redhat.com>
2853 * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java (construct):
2854 Remove method declaration.
2855 (create()): Call native create.
2856 (create(int)): New method.
2857 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
2858 (create): Add window_id parameter. Call gtk_plug_new with
2859 window_id parameter.
2860 (construct): Remove method implementation.
2862 2003-09-16 Mohan Embar <gnustuff@thisiscool.com>
2864 * Makefile.am: (MOSTLYCLEANFILES) Removed libtool objects.
2865 (mostlyclean-local): New target patterned after clean-local
2866 which recursively deletes all libtool objects using 'libtool rm'.
2867 (clean-local): Slightly modified comment to alleviate monotony.
2868 (distclean-local): New target patterned after clean-local
2869 which recursively deletes all .d files.
2870 * Makefile.in: Rebuilt.
2872 2003-09-11 Tom Tromey <tromey@redhat.com>
2874 * java/net/URLStreamHandler.java (parseURL): If original file
2875 ends with "/", so must canonical result.
2876 * java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus
2877 with nul-termination and finding previous "/".
2879 2003-09-11 Michael Koch <konqueror@gmx.de>
2881 * acconfig.h: Removed most items.
2882 * configure.in: Added descriptions to AC_DEFINE macros that where in
2884 * include/config.h.in: Regenerated.
2886 2003-09-11 Sascha Brawer <brawer@dandelis.ch>
2888 * java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager
2889 if one is installed. Improve Javadoc.
2890 (getSystemEventQueueImpl): Improve Javadoc.
2892 2003-09-11 Tom Tromey <tromey@redhat.com>
2894 * java/io/natFilePosix.cc (getCanonicalPath): Handle case where
2895 file does not exist.
2897 2003-09-10 Anthony Green <green@redhat.com>
2899 * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
2900 Specify full name when referencing ::java::net::InetAddress.
2901 * gnu/java/net/natPlainSocketImplWin32.cc (accept): Ditto.
2904 2003-09-10 Michael Koch <konqueror@gmx.de>
2906 * acconfig.h (__NO_MATH_INLINES): Removed.
2907 * configure.in: Removed check for g++ math inlining bug from 2000.
2908 * configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
2910 * configure: Regenerated.
2912 2003-09-10 David Daney <ddaney@avtrex.com>
2914 * java/util/Arrays.java (equals(all variants)): Quit using
2915 NullPointerException catching to detect null valued parameters.
2917 2003-09-10 Michael Koch <konqueror@gmx.de>
2919 * java/net/DatagramSocket.java,
2920 java/net/MulticastSocket.java,
2921 java/net/ServerSocket.java,
2922 java/net/Socket.java:
2923 Use gnu.java.net.Plain*SocketImpl instead of
2924 java.net.PlainSocketImpl.
2925 * java/net/PlainDatagramSocketImpl.java,
2926 java/net/PlainSocketImpl.java,
2927 java/net/SocketInputStream.java,
2928 java/net/SocketOutputStream.java,
2929 java/net/natPlainDatagramSocketImplNoNet.cc,
2930 java/net/natPlainDatagramSocketImplPosix.cc,
2931 java/net/natPlainDatagramSocketImplWin32.cc,
2932 java/net/natPlainSocketImplNoNet.cc,
2933 java/net/natPlainSocketImplPosix.cc,
2934 java/net/natPlainSocketImplWin32.cc:
2936 * gnu/java/net/PlainDatagramSocketImpl.java,
2937 gnu/java/net/PlainSocketImpl.java,
2938 gnu/java/net/SocketInputStream.java,
2939 gnu/java/net/SocketOutputStream.java,
2940 gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
2941 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
2942 gnu/java/net/natPlainDatagramSocketImplWin32.cc,
2943 gnu/java/net/natPlainSocketImplNoNet.cc,
2944 gnu/java/net/natPlainSocketImplPosix.cc,
2945 gnu/java/net/natPlainSocketImplWin32.cc:
2946 New files (moved from java/net).
2947 * configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc
2948 instead of java/net/natPlain*SocketImpl.cc.
2949 * configure: Regenerated.
2950 * Makefile.am: Moved files from java/net to gnu/java/net.
2951 * Makefile.in: Regenerated.
2953 2003-09-09 Alan Modra <amodra@bigpond.net.au>
2955 * configure: Regenerate.
2957 2003-09-04 Tom Tromey <tromey@redhat.com>
2959 * configure.host: Removed erroneous comment.
2961 * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
2962 lvalue cast; use correct rvalue cast.
2964 2003-09-02 Thomas Fitzsimmons <fitzsim@redhat.com>
2966 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
2967 and height arguments to GtkWindowPeer.create method call.
2968 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
2969 (create(int,int,int)): New method.
2970 (create(int)): Add call to new create method.
2971 (create()): Add width and height arguments to create method
2973 (GtkWindowPeer): Remove call to setBounds.
2974 * java/awt/Frame.java (Frame(String)): Initialize visible field
2976 (Frame(GraphicsConfiguration)): Likewise.
2977 (Frame(String,GraphicsConfiguration)): Likewise.
2978 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
2979 Add width and height parameters. Call
2980 gtk_window_set_default_size.
2981 (connectHooks): Remove unused name variable.
2982 (static setBounds): Call gtk_window_resize not
2983 gtk_widget_set_usize.
2984 (setBounds): Remove unused nchildren variable.
2986 2003-08-31 Ingo Proetel <proetel@aicas.com>
2988 * java/util/logging/Logger.java: provide class and method information
2989 * java/util/logging/LogManager.java: create handlers
2990 * java/util/logging/SimpleFormatter.java: print souceClassName and
2993 2003-08-28 Mohan Embar <gnustuff@thisiscool.com>
2995 * win32.cc: fixed tab, indentation and whitespace
2997 removed jvm.h include
2998 added includes java/lang/UnsupportedOperationException.h,
2999 java/io/IOException.h, java/net/SocketException.h
3000 (WSAEventWrapper): class implementation
3001 (_Jv_WinStrError): implemented both overloads
3002 (_Jv_ThrowIOException): implemented both overloads
3003 (_Jv_ThrowSocketException): implemented both overloads
3004 (_Jv_select): implemented
3005 * include/win32.h: fixed tab, indentation and whitespace
3007 wrapped <windows.h> include with #define WIN32_LEAN_AND_MEAN
3009 (WSAEventWrapper): added class declaration
3010 (_Jv_WinStrError): added both overload declarations
3011 (_Jv_ThrowIOException): added both overload declarations
3012 (_Jv_ThrowSocketException): added both overload declarations
3013 removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
3014 (_Jv_select): added declaration
3015 (_Jv_socket): removed
3016 (_Jv_connect): removed
3017 (_Jv_close): removed
3019 (_Jv_accept): removed
3020 (_Jv_listen): removed
3021 (_Jv_write): removed
3023 * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
3024 whitespace inconsistencies
3025 replaced <windows.h> #include with <platform.h>
3026 removed jvm.h include
3027 (testCanUseGetHandleInfo): new function which tests whether Win32
3028 GetHandleInformation() call can be used with console buffer handles
3029 (only supported on >=WinNT 5.0)
3030 (winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
3031 (valid): rewrote implementation using GetHandleInformation()
3032 (sync): changed exception throwing to use error string and exception
3033 helper methods declared in include/win32.h
3036 (setLength): likewise
3039 (getFilePointer): likewise
3041 * java/io/natFileWin32.cc: fixed tab, indentation and
3042 whitespace inconsistencies
3043 replaced <windows.h> #include with <platform.h>
3044 removed jvm.h include
3045 (_access): use JV_TEMP_UTF_STRING
3047 (performMkDir): use JV_TEMP_UTF_STRING
3048 (performRenameTo): likewise
3049 (performDelete): likewise
3050 (performCreate): likewise
3051 (performSetReadOnly): likewise
3052 (performSetLastModified): likewise
3053 * java/lang/natWin32Process.cc: fixed tab, indentation and
3054 whitespace inconsistencies
3055 replaced <windows.h> #include with <platform.h>
3056 removed includes gcj/cni.h, jvm.h
3057 (new_string): removed
3058 (startProcess): use JV_TEMP_UTF_STRING,
3059 changed exception throwing to use error string and exception
3060 helper methods declared in include/win32.h
3061 * java/net/natInetAddressWin32.cc: fixed tab, indentation and
3062 whitespace inconsistencies
3063 replaced <windows.h> #include with <platform.h>
3064 removed jvm.h include
3065 removed DISABLE_JAVA_NET conditional code
3066 removed POSIX conditional code not relevant to Win32
3067 (aton): use JV_TEMP_UTF_STRING
3068 removed POSIX conditional code not relevant to Win32
3070 (getLocalHostName): likewise
3071 * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
3072 whitespace inconsistencies
3073 removed unnecessary windows.h, winsock.h and gcj/cni.h includes
3074 removed DISABLE_JAVA_NET conditional code
3075 removed POSIX conditional code not relevant to Win32
3076 (winsock2GetRealNetworkInterfaces): new function to compute network
3077 interfaces via Winsock2 API
3078 (determineGetRealNetworkInterfacesFN): new function for returning
3079 a function pointer to the function used to compute network interfaces.
3080 (getRealNetworkInterfaces): implemented
3081 * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
3082 whitespace inconsistencies
3083 removed gcj/cni.h include
3084 removed DISABLE_JAVA_NET conditional code
3085 removed POSIX conditional code not relevant to Win32
3086 changed net POSIXisms to Win32isms
3087 replaced _Jv socket-related calls with their real Win32 equivalents
3088 changed exception throwing to use error string and exception
3089 helper methods declared in include/win32.h
3090 (peekData): implemented timeout support
3092 * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
3093 whitespace inconsistencies
3094 removed gcj/cni.h and gcj/javaprims.h includes
3095 removed DISABLE_JAVA_NET conditional code
3096 removed POSIX conditional code not relevant to Win32
3097 changed net POSIXisms to Win32isms
3098 replaced _Jv socket-related calls with their real Win32
3100 changed exception throwing to use error string and exception
3101 helper methods declared in include/win32.h
3102 (throwConnectException): helper function for connect()
3103 (connect): implemented timeout support
3105 (doRead): new helper function common to both read() method overloads,
3106 includes timeout support
3107 (read): implemented both overloads in terms of doRead()
3108 (available): implemented using ioctlsocket()
3110 2003-08-28 Mohan Embar <gnustuff@thisiscool.com>
3112 * java/net/natInetAddressWin32.cc,
3113 java/net/natNetworkInterfaceWin32.cc,
3114 java/net/natPlainDatagramSocketImplWin32.cc,
3115 java/net/natPlainSocketImplWin32.cc:
3116 Readded code enclosed in DISABLE_JAVA_NET defines
3117 in preparation for MinGW cleanup / networking
3120 2003-08-28 Mohan Embar <gnustuff@thisiscool.com>
3122 * Makefile.am: Fixed problems with parallel makes.
3123 (all_java_class_files): Readded definition.
3124 (all_java_class_files): New target which depends on
3125 libgcj-@gcc_version@.jar
3126 * Makefile.in: Rebuilt
3128 2003-08-28 Tom Tromey <tromey@redhat.com>
3130 * Makefile.in: Rebuilt.
3131 * Makefile.am (ordinary_java_source_files): Added new files.
3132 * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
3134 * java/net/URLClassLoader.java (findClass): Don't use
3135 findURLResource. Use loader's getClass method.
3136 (URLLoader.getClass): New method.
3137 (addURL): Handle `gcjlib' URLs.
3138 (SoURLLoader): New class.
3139 (SoResource): Likewise.
3140 * gnu/gcj/protocol/gcjlib/Connection.java: New file.
3141 * gnu/gcj/protocol/gcjlib/Handler.java: New file.
3142 * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
3143 (_Jv_RegisterCoreHook): Declare.
3144 (_Jv_FindCore): Declare.
3145 * gnu/gcj/runtime/SharedLibHelper.java: New file.
3146 * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
3148 (core_hook): New function.
3149 (struct SharedLibDummy) [saved_core]: New field.
3150 (init): Set _Jv_RegisterCoreHook. Throw exception on failure.
3151 (register_hook): Set protection domain and class loader on new
3153 (finalize): Free core chain.
3154 * gnu/gcj/Core.java (Core): New constructor.
3155 * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
3157 * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
3158 (_Jv_create_core): New function.
3160 (default_register_resource): New function.
3161 (_Jv_RegisterCoreHook): New global.
3162 (_Jv_RegisterResource): Use it.
3163 (core_chain_struct): Removed.
3164 (_Jv_FindCore): New function.
3165 (_Jv_FreeCoreChain): New function.
3167 2003-08-29 Michael Koch <konqueror@gmx.de>
3169 * java/net/natInetAddressWin32.cc,
3170 java/net/natNetworkInterfaceWin32.cc,
3171 java/net/natPlainDatagramSocketImplWin32.cc,
3172 java/net/natPlainSocketImplWin32.cc:
3173 Removed code enclosed in DISABLE_JAVA_NET defines.
3175 2003-08-26 Mohan Embar <gnustuff@thisiscool.com>
3177 * Makefile.am: (write_entries_to_file) New parameterized
3178 function for writing entries to a file one line at a time.
3179 (all_java_class_files): Removed definition.
3180 (.java.class) Removed.target.
3181 (libgcj-@gcc_version@.jar): Changed dependency to
3182 $(all_java_source_files); added compilation step which compiles
3183 all changed source files in one pass.
3184 (libgcj.la) Refactored to use write_entries_to_file.
3185 (lib-gnu-awt-xlib.la) Likewise.
3186 (install-data-local) Likewise.
3187 (write-entries-to-file-check) New target which tests write_entries_to_file.
3188 (all-recursive): Changed dependency from $(all_java_class_files)
3189 to libgcj-@gcc_version@.jar
3190 * Makefile.in: Rebuilt.
3192 2003-08-26 Tom Tromey <tromey@redhat.com>
3194 * java/lang/StrictMath.java: Typo fix.
3195 * java/lang/Math.java: Typo fix.
3197 2003-08-26 Stephen Crawley <crawley@dstc.edu.au>
3199 * java/lang/ThreadGroup.java (removeThread): null the 'group' field
3200 of the removed Thread.
3202 2003-08-26 Mark Wielaard <mark@klomp.org>
3204 Reported by David Holmes <dholmes@dltech.com.au>.
3205 * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside
3206 Collections.synchronizedMap.
3207 * java/lang/ThreadLocal.java (valueMap): Likewise.
3209 2003-08-26 Mark Wielaard <mark@klomp.org>
3211 * java/security/acl/Acl.java: Fix broken p tag.
3212 * java/text/DateFormatSymbols.java: Correctly open and close li tags.
3213 * javax/swing/border/LineBorder.java: Close img tag alt attributes.
3214 * javax/swing/plaf/TreeUI.java: Likewise.
3215 * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
3216 * java/util/Properties.java: Use the word umlaut, not ä in api
3218 * java/util/PropertyResourceBundle.java: Likewise and add closing code
3221 2003-08-26 Tom Tromey <tromey@redhat.com>
3223 * Makefile.in: Rebuilt.
3224 * Makefile.am: Removed all GNU-make-specific FIXME comments.
3226 * java/lang/ref/Reference.java (get): Indentation fix.
3227 (clear): Comment fix.
3228 (enqueue): Likewise.
3230 (referent): Likewise.
3232 2003-08-26 Tom Tromey <tromey@redhat.com>
3235 * java/lang/reflect/natArray.cc (set): Allow null as argument.
3237 * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.
3238 (ProxyData.getPackage): New method.
3239 (ProxyData.getProxyData): Use package name, not Package.
3240 (ClassFactory.ClassFactory): Updated.
3242 2003-08-25 Scott Gilbertson <scottg@mantatest.com>
3243 * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.
3244 * Makefile.in: re-generated.
3245 * gnu/awt/j2d/IntegerGraphicsState.java
3246 (ScreenCoupledImage): new interface.
3247 (drawImage): detect ScreenCoupledImage instances.
3248 * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented.
3249 * gnu/awt/xlib/XEventLoop.java
3250 (createEvent): re-formatted, and rearranged to avoid null pointer.
3251 * gnu/awt/xlib/XGraphics.java
3252 (drawImage): added XOffScreenImage handling.
3253 * gnu/awt/xlib/XOffScreenImage.java: new file.
3254 * gnu/gcj/xlib/Drawable.java (getDepth): new native method.
3255 * gnu/gcj/xlib/GC.java (copyArea): new native method.
3256 * gnu/gcj/xlib/XAnyEvent.java
3257 (TYPE_KEY_PRESS): new constant.
3258 (TYPE_KEY_RELEASE): new constant.
3259 (TYPE_MOTION_NOTIFY): new constant.
3260 (TYPE_ENTER_NOTIFY): new constant.
3261 (TYPE_LEAVE_NOTIFY): new constant.
3262 (TYPE_FOCUS_IN): new constant.
3263 (TYPE_FOCUS_OUT): new constant.
3264 (TYPE_KEYMAP_NOTIFY): new constant.
3265 (TYPE_GRAPHICS_EXPOSE): new constant.
3266 (TYPE_NO_EXPOSE): new constant.
3267 (TYPE_VISIBILITY_NOTIFY): new constant.
3268 (TYPE_CREATE_NOTIFY): new constant.
3269 (TYPE_DESTROY_NOTIFY): new constant.
3270 (TYPE_MAP_REQUEST): new constant.
3271 (TYPE_CONFIGURE_REQUEST): new constant.
3272 (TYPE_GRAVITY_NOTIFY): new constant.
3273 (TYPE_RESIZE_REQUEST): new constant.
3274 (TYPE_CIRCULATE_NOTIFY): new constant.
3275 (TYPE_CIRCULATE_REQUEST): new constant.
3276 (TYPE_PROPERTY_NOTIFY): new constant.
3277 (TYPE_SELECTION_CLEAR): new constant.
3278 (TYPE_SELECTION_REQUEST): new constant.
3279 (TYPE_SELECTION_NOTIFY): new constant.
3280 (TYPE_COLORMAP_NOTIFY): new constant.
3281 (TYPE_MAPPING_NOTIFY): new constant.
3282 * gnu/gcj/xlib/natDrawable.cc (getDepth): new method.
3283 * gnu/gcj/xlib/natGC.cc (copyArea): new method
3284 * java/awt/Component.java (createImage): changed to use peer method.
3286 2003-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3288 * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
3289 name, not XLFD, to native drawString.
3290 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
3291 Replace XLFD-based implementation with Pango-based
3294 2003-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3296 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
3297 GTK_WINDOW_DIALOG. Set GTK_WINDOW_POPUP to 1.
3299 2003-08-21 David Daney <ddaney@avtrex.com>
3301 Fix for PR libgcj/12013:
3302 * java/lang/ref/natReference.cc (finalize_referred_to_object):
3303 Check `cleared' field.
3304 * java/lang/ref/Reference.java (copy): Updated comments.
3305 (cleared): New field.
3308 2003-08-21 Scott Gilbertson <scottg@mantatest.com>
3309 Thomas Fitzsimmons <fitzsim@redhat.com>
3311 * Makefile.am (gtk_awt_peer_sources): Add
3312 gnu/java/awt/peer/GLightweightPeer.java. Remove
3313 gnu/java/awt/GLightweightPeer.java.
3314 * gnu/java/awt/GLightweightPeer.java: Remove file.
3315 * gnu/java/awt/peer/GLightweightPeer.java: New file.
3316 * java/awt/Component.java (getToolkit): Add comment about
3317 lightweight components.
3318 * java/awt/Toolkit.java (createComponent): Return
3319 gnu.java.awt.peer.GLightweightPeer.
3321 2003-08-21 Richard Earnshaw <rearnsha@arm.com>
3323 * configure.in: Fix detection of gcj when building with newlib.
3324 * configure: Regenerated.
3326 2003-08-20 Graydon Hoare <graydon@redhat.com>
3328 * jni.cc: Replace "cheating" pointer-casting code with
3329 extract_from_jvalue<> template.
3331 2003-08-20 Andrew Haley <aph@redhat.com>
3333 * gnu/gcj/runtime/StackTrace.java (getClass): New method.
3334 * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
3335 (classAt): Break out class lookup function into getClass().
3336 * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
3337 handlers when using -fno-assume-compiled.
3339 2003-08-20 Tom Tromey <tromey@redhat.com>
3341 Fix for PR libgcj/9125:
3342 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
3343 object outside of loop. Respect lib_control setting.
3344 * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
3346 (lib_control): New field.
3347 (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
3348 (VMClassLoader): Initialize new field.
3350 * java/lang/ref/natReference.cc (finalize_referred_to_object):
3351 Set `list->reference' to DELETED_REFERENCE when removing dead
3353 (find_slot): Added an assert.
3354 (DELETED_REFERENCE): New define.
3355 (add_to_hash): Check for DELETED_REFERENCE.
3356 (remove_from_hash): Just return if found slot isn't ours.
3358 2003-08-19 Andrew Haley <aph@redhat.com>
3360 * prims.cc (unblock_signal): New function.
3361 (catch_segv): Use it.
3362 (catch_fpe): Likewise.
3364 2003-08-19 Danny Smith <dannysmith@users.sourceforge.net>
3367 * java/io/natFileDescriptorWin32.cc (open): Set create
3368 flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
3369 Honor EXCL when openning with WRITE flag.
3371 2003-08-19 Mohan Embar <gnustuff@thisiscool.com>
3373 * include/jvm.h: New class _Jv_TempUTFString (helper class for
3374 getting a temporary C string from a jstring)
3375 New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
3376 but uses a stack buffer if the string length is less than 256
3379 2003-08-18 Tom Tromey <tromey@redhat.com>
3382 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
3383 void. Throw VirtualMachineError if ffi fails. Initialize return
3384 value. Added is_jni_call argument; only wrap exception if not a
3385 JNI call. Use descriptive message if operation not supported.
3386 (_Jv_GetTypesFromSignature): Use declaring class' loader to find
3388 * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
3389 * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
3391 (_Jv_JNI_CallAnyMethodA): Likewise.
3392 (_Jv_JNI_CallAnyVoidMethodV): Likewise.
3393 (_Jv_JNI_CallAnyVoidMethodA): Likewise.
3395 2003-08-13 Tom Tromey <tromey@redhat.com>
3397 * gij.cc (help): Document -? and -X.
3399 2003-08-12 Graydon Hoare <graydon@redhat.com>
3401 * java/awt/Font.java:
3402 Stub out more recent API.
3404 2003-08-12 Graydon Hoare <graydon@redhat.com>
3406 * java/awt/Color.java (getAlpha):
3407 Prevent sign-extended alpha values.
3409 2003-08-12 Tom Tromey <tromey@redhat.com>
3411 * gij.cc (main): Handle -? and -X.
3413 2003-08-10 Jeroen Frijters <jeroen@frijters.net>
3415 * java/awt/Container.java
3416 (getPreferredSize): Call preferredSize.
3417 (preferredSize): Moved body of getPreferredSize here.
3418 (getMinimumSize): Call minimumSize.
3419 (minimumSize): Moved body of getMinimumSize here.
3421 2003-08-11 Tom Tromey <tromey@redhat.com>
3423 * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
3424 (postEvent): Removed FIXME comment.
3425 (isDispatchThread): Documented.
3426 (getCurrentEvent): New method.
3427 (dispatchEvent): Set currentEvent and lastWhen.
3428 (getMostRecentEventTime): Rewrote.
3429 (invokeLater): Documented.
3431 2003-08-10 Bryce McKinlay <bryce@mckinlay.net.nz>
3433 * java/io/PrintStream.java (print): Always flush if auto_flush is
3434 set. Don't check for newline characters.
3435 (write (int)): Implement without using a temporary array.
3436 (write (byte[], int, int): Always flush if auto_flush is set. Don't
3437 check for newline characters.
3438 Fixes PR libgcj/11778.
3440 2003-08-08 Andrew Haley <aph@redhat.com>
3442 * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
3443 * Makefile.in: Rebuild.
3444 * java/lang/natRuntime.cc (insertSystemProperties): Add
3445 "sun.boot.class.path".
3447 2003-08-07 Andrew Haley <aph@redhat.com>
3449 * java/io/PrintStream.java: Don't crash on a null string.
3451 2003-08-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3453 * configure.in: Don't initialize GCINCS to boehm-gc/include.
3454 * configure: Regenerate.
3456 2003-08-07 Bryce McKinlay <bryce@mckinlay.net.nz>
3458 * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
3459 SocketImpl. Update Javadoc.
3460 (bind): Call close() not impl.close() in event of exception.
3461 (connect): Likewise.
3462 Remove superfluous null checks throughout.
3463 * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
3464 Don't create an extra socket. Fix for PR libgcj/10868.
3465 (bind): Clean up exception handling.
3466 Remove superfluous null checks throughout.
3468 2003-08-07 Jacob Gladish <gladish@spinnakernet.com>
3469 Bryce McKinlay <bryce@mckinlay.net.nz>
3471 * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
3472 ready-to-write argument to _Jv_Select. Reset the socket back to
3473 non-blocking state after connecting.
3474 (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
3475 Throw SocketTimeoutException not InterruptedIOException.
3476 (read): Throw SocketTimeoutException not InterruptedIOException.
3478 2003-08-07 Bryce McKinlay <bryce@mckinlay.net.nz>
3480 * java/lang/Thread.java (Thread): Check for null "name" from
3481 start of private constructor, not after calling the private
3484 2003-08-06 Tom Tromey <tromey@redhat.com>
3486 * java/io/FilePermission.java (equals): Use correct index for
3487 last character of path.
3489 2003-08-06 Alan Modra <amodra@bigpond.net.au>
3491 * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
3492 * configure.in: Compare with_cross_host to build_alias, not build.
3493 * aclocal.m4: Regenerate.
3494 * configure: Regenerate.
3496 2003-08-05 Tom Tromey <tromey@redhat.com>
3498 Fix for PR libgcj/11779:
3499 * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
3502 * java/lang/reflect/Method.java: Updated status comment.
3503 Imported javadoc from Classpath and re-ordered methods.
3504 * java/lang/reflect/Constructor.java: Reindented. Updated
3505 status comment. Imported javadoc from Classpath and re-ordered
3508 2003-08-05 Thomas Fitzsimmons <fitzsim@redhat.com>
3510 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
3511 Add keyLocation parameter.
3512 * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
3514 (paramString): Generate keyChar string according to keyChar, not
3516 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3517 (state_to_awt_mods): Handle ALT key.
3518 (keyevent_state_to_awt_mods): New function.
3519 (get_first_keyval_from_keymap): New function.
3520 (keysym_to_awt_keycode): Get virtual key code from keymap.
3521 Handle missing VK_ values.
3522 (keysym_to_awt_keylocation): New function.
3523 (keyevent_to_awt_keychar): New function.
3524 (generates_key_typed_event): Handle non-text-component case.
3525 Handle GDK_KP_Delete and GDK_KP_Enter.
3526 (awt_event_handler): Call new functions to get postKeyEvent
3528 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
3529 Update postKeyEvent method signature.
3530 * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines. Add missing
3533 2003-08-05 Matthias Klose <doko@debian.org>
3535 * aclocal.m4: check for libart-config binary
3536 under the name libart2-config as well.
3537 * configure: regenerated.
3539 2003-08-04 David P Grove <groved@us.ibm.com>
3541 * java/text/DecimalFormat.java (format): avoid ArithmeticException
3542 when groupingSize is 0.
3545 2003-08-04 Matthias Klose <doko@debian.org>
3547 * libart.m4: check for libart-config binary
3548 under the name libart2-config as well.
3549 * configure, aclocal.m4: regenerated.
3551 2003-08-02 Michael Koch <konqueror@gmx.de>
3553 * java/nio/ByteBufferImpl.java
3554 (getChar): Check remaining bytes, fixed comment about endianess.
3555 (putChar): Likewise.
3556 (getShort): Likewise.
3557 (putShort): Likewise.
3558 (getInt): Check remaining bytes, fixed conversion, fixed comment about
3561 (getLong): Likewise.
3562 (putLong): Likewise.
3563 (getFloat): Likewise.
3564 (putFloat): Likewise.
3565 (getDouble): Likewise.
3566 (putDouble): Likewise.
3567 * java/nio/DirectByteBufferImpl.java
3568 (getChar): Wrapped code, fixed comment about endianess.
3569 (putchar): Likewise.
3570 (getShort): Likewise.
3571 (putShort): Likewise.
3572 (getInt): Fixed conversion, fixed comment about endianess.
3574 (getLong): Likewise.
3575 (putLong): Likewise.
3576 (getFloat): Likewise.
3577 (putFloat): Likewise.
3578 (getDouble): Likewise.
3579 (putDouble): Likewise.
3580 * java/nio/MappedByteBufferImpl.java
3581 (compact): Implemented.
3582 (getChar): Implemented.
3583 (putChar): Implemented.
3584 (getDouble): Implemented.
3585 (putdouble): Implemented.
3586 (getFloat): Implemented.
3587 (putFloat): Implemented.
3588 (getInt): Implemented.
3589 (putInt): Implemented.
3590 (getLong): Implemented.
3591 (putLong): Implemented.
3592 (getShort): Implemented.
3593 (putShort): Implemented.
3594 * java/nio/channels/FileChannelImpl.java
3595 (read): Set position where to access file.
3597 (transferTo): Flip buffer after read and before write.
3598 (transferFrom): Likewise.
3600 2003-08-02 Michael Koch <konqueror@gmx.de>
3602 * gnu/java/lang/ArrayHelper.java
3603 (equalsArray): Reformated, added method documentation.
3605 2003-08-02 Michael Koch <konqueror@gmx.de>
3608 (URL): Added paragraph about the
3609 gnu.java.net.nocache_protocol_handlers property.
3610 (ph_cache): Renamed from handlers to match classpath's implementation.
3611 Reordered it with factory and serialVersionUID member variables.
3612 (cache_handlers): New member variable.
3613 (static): New static initializer to initialize cache_handlers from
3614 gnu.java.net.nocache_protocol_handlers property.
3615 (URL): Use ph_cache instead of handlers, reformatted some code to
3616 match classpath's implementation.
3618 2003-08-01 Tom Tromey <tromey@redhat.com>
3620 Fix for PR libgcj/11241:
3621 * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
3622 initialCapacity is 0, set it to 1.
3624 2003-08-01 Stephen Crawley <crawley@dstc.edu.au>
3626 * java/net/SocketImpl.java (toString): Display the remote address
3627 of an unconnected server socket as "0.0.0.0/0.0.0.0".
3629 2003-08-01 Sascha Brawer <brawer@dandelis.ch>
3631 * javax/swing/border/BevelBorder.java,
3632 javax/swing/border/EtchedBorder.java,
3633 javax/swing/border/LineBorder.java,
3634 javax/swing/border/MatteBorder.java,
3635 javax/swing/border/SoftBevelBorder.java,
3636 javax/swing/plaf/BorderUIResource.java,
3637 javax/swing/plaf/ComponentUI.java,
3638 javax/swing/plaf/TreeUI.java,
3639 javax/swing/plaf/basic/BasicBorders.java,
3640 javax/swing/plaf/basic/BasicGraphicsUtils.java,
3641 javax/swing/plaf/basic/BasicTreeUI.java:
3642 Prepend "doc-files" to all paths to embedded Javadoc images, so
3643 that the generated documentation contains the correct URL.
3645 2003-08-01 Tom Tromey <tromey@redhat.com>
3647 * configure: Rebuilt.
3648 * configure.in (tool_include_dir): Redefine to match gcc.
3650 2003-08-01 Jerry Quinn <jlquinn@optonline.net>
3651 Mark Wielaard <mark@klomp.org>
3653 * java/math/BigDecimal (divide): Correctly handle
3654 ROUND_HALF_EVEN when amount is greater than 0.5.
3655 Simplify and optimize code.
3657 2003-07-31 Tom Tromey <tromey@redhat.com>
3659 More for PR libgcj/11737:
3660 * java/io/ObjectInputStream.java (processResolution): Use
3662 (getMethod): Make method accessible.
3663 (getField): Make field accessible.
3664 (setBooleanField): Don't call setAccessible here.
3665 (setByteField, setCharField, setDoubleField, setFloatField,
3666 setIntField, setLongField, setShortField, setObjectField):
3668 (callReadMethod): Don't check whether method is null. Catch
3669 NoSuchMethodException.
3670 * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
3671 cause on thrown exceptions.
3673 2003-07-31 Stepan Koltsov <yozh@mx1.ru>
3675 Fix for PR libgcj/11728:
3676 * java/util/HashMap.java (readObject): Set size.
3678 2003-07-31 Tom Tromey <tromey@redhat.com>
3680 Fix for PR libgcj/11737:
3681 * java/io/ObjectOutputStream.java (getMethod): Make method
3683 (getField): Likewise.
3684 (writeObject): Use getMethod.
3685 Import PrivilegedAction and AccessController.
3686 (callWriteMethod): Don't check whether m is null. Catch
3687 NoSuchMethodException.
3689 * java/awt/geom/Arc2D.java (getBounds2D): Implement.
3690 (containsAngle): Likewise.
3691 (getStartPoint): Rewrote.
3692 (getEndPoint): Likewise.
3693 (setAngleStart(Point2D)): Likewise.
3695 2003-07-31 Roger Sayle <roger@eyesopen.com>
3696 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3698 * configure.in: Add new THREADCXXFLAGS variable.
3699 Handle POSIX threads on alpha*-dec-osf*.
3700 * configure: Regenerate.
3701 * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
3702 * Makefile.in: Regenerate.
3704 2003-07-08 Andrew Haley <aph@redhat.com>
3706 * include/i386-signal.h (RESTORE): New.
3707 (INIT_SEGV): Set restorer.
3708 (INIT_FPE): Likewise.
3710 2003-07-29 Thomas Fitzsimmons <fitzsim@redhat.com>
3712 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
3714 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
3715 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
3716 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
3717 (gtkSetFont): Scale size parameter by PANGO_SCALE.
3718 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
3720 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
3723 2003-07-29 Tom Tromey <tromey@redhat.com>
3725 * defineclass.cc (handleField): Throw exception if field name is
3727 (handleMethod): Throw exception for duplicate method.
3729 2003-07-29 Tom Tromey <tromey@redhat.com>
3731 * gnu/gcj/convert/natIconv.cc (write): Handle case where
3732 output buffer is too small.
3734 2003-07-28 Tom Tromey <tromey@redhat.com>
3736 * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
3738 Include gnu/gcj/runtime/StringBuffer.h.
3739 * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
3741 (String(gnu.gcj.runtime.StringBuffer)): Use it.
3743 2003-07-27 Anthony Green <green@redhat.com>
3745 * configure.in: Fix newlib check.
3746 * configure: Rebuilt.
3748 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com>
3750 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
3751 Create vbox and layout for GtkPlug.
3753 2003-07-27 Michael Koch <konqueror@gmx.de>
3755 * java/awt/Window.java
3756 (Window): Removed now unused constructor. It became oboslete with the
3757 new embedded window patch.
3759 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com.h>
3760 Michael Koch <konqueror@gmx.de>
3762 * gnu/java/awt/EmbeddedWindow.java
3763 (EmbeddedWindow): Extends Frame instead of Window.
3764 (window_id): New member variable to store the native window handle.
3766 (EmbeddedWindow): New constructor.
3767 (addNotify): New method.
3768 (getHandler): Likewise.
3769 (setWindowPeer): New native method.
3770 * gnu/java/awt/EmbeddedWindowSupport.java
3771 (EmbeddedWindowSupport): Fixed documentation.
3772 (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
3773 WindowPeer, give it an EmbeddedWindow instance instead of the raw
3775 * gnu/java/awt/natEmbeddedWindow.cc
3777 (setWindowPeer): New method.
3778 * gnu/java/awt/peer/EmbeddedWindowPeer.java,
3779 gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
3780 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
3782 * gnu/java/awt/peer/gtk/GtkToolkit.java
3783 (GtkToolkit): Implements EmbeddedWindowSupport.
3784 (createEmbeddedWindow): New method.
3785 * java/awt/Window.java
3788 (java_source_files): Added EmbeddedWindowPeer.java.
3789 (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
3790 (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
3791 * Makefile.in: Regenerated.
3793 2003-07-26 Ranjit Mathew <rmathew@hotmail.com>
3795 * java/lang/Win32Process.java (ConcreteProcess): Surround
3796 a command line element with quotes if it contains an
3797 embedded space or tab.
3798 * java/lang/natWin32Process.cc (startProcess): Do not
3799 surround command line elements with quotes here.
3801 * configure.host: Use -fcheck-references and
3802 -fuse-divide-subroutine for MinGW until we fix
3803 win32_exception_handler( ) in win32.cc w.r.t. Win32
3804 Structured Exception Handling (SEH).
3806 * win32.cc (_Jv_platform_initProperties): Use generic names
3807 like "x86" for the "os.arch" property to be consistent with
3808 what Sun's JDK produces. Use the wProcessorArchitecture
3809 member of the Win32 SYSTEM_INFO structure, filled in a call
3810 to GetSystemInfo( ), instead of dwProcessorType.
3812 2003-07-26 Mohan Embar <gnustuff@thisiscool.com>
3813 Ranjit Mathew <rmathew@hotmail.com>
3815 * Makefile.am: Use cross-compiling gcjh from the path for
3816 a crossed-native build.
3817 * Makefile.in: Rebuilt.
3818 * configure.in: Include libltdl in non-newlib builds.
3819 Moved determination of gcj used to build libraries to
3820 its own section. Fixed cross-compilation issues for
3822 * configure: Rebuilt.
3824 2003-07-25 Tom Tromey <tromey@redhat.com>
3826 * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
3831 2003-07-25 Mark Wielaard <mark@klomp.org>
3833 * java/lang/natRuntime.cc (_load): Add library name to
3834 UnsatisfiedLinkError when thrown.
3836 2003-07-25 Mark Wielaard <mark@klomp.org>
3838 * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
3840 * Makefile.in: Likewise.
3842 2003-07-25 Jeroen Frijters <jeroen@frijters.net>
3844 * java/awt/Component.java
3845 (getPreferredSize): Call preferredSize.
3846 (preferredSize): Moved body of getPreferredSize here.
3847 (getMinimumSize): Call minimumSize.
3848 (minimumSize): Moved body of getMinimumSize here.
3849 (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
3850 (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
3852 * java/awt/Container.java
3853 (validate): Don't validate if there is no peer.
3854 (update): Clear background before calling paint.
3855 * java/awt/GridBagLayout.java
3856 Completed the implementation and fixed several bugs.
3857 * java/awt/MediaTracker.java
3858 (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
3860 * java/awt/Window.java
3861 (Window): Don't call setVisible(false). Windows are invisible by
3862 default and calling virtual methods from constructor causes
3863 compatibility problems (e.g. subclasses may assume that the peer
3866 2003-07-25 Michael Koch <konqueror@gmx.de>
3868 * java/awt/GridBagLayout.java:
3869 Totally reworked and partly implemented.
3870 * java/awt/GridBagLayoutInfo.java:
3873 2003-07-24 Thomas Fitzsimmons <fitzsim@redhat.com>
3875 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
3876 Don't pack label in an event box.
3878 2003-07-24 Tom Tromey <tromey@redhat.com>
3881 * verify.cc (ref_intersection): New class.
3882 (type_val): Removed unresolved_reference_type,
3883 uninitialized_unresolved_reference_type.
3884 (is_assignable_from_slow): Rewrote.
3885 (type::data): Removed.
3886 (type::klass): New field.
3887 (type::type): Added verifier argument.
3888 (type::resolve): Removed.
3889 (type::set_uninitialized): Updated for change to type_val.
3890 (type::set_initialized): Likewise.
3891 (type::isinitialized): Likewise.
3892 (type::print): Likewise.
3893 (construct_primitive_array_type): Likewise.
3894 (type::compatible): Updated for change to type_val and to use
3896 (type::isarray): Updated to use ref_intersection.
3897 (type::isinterface): Likewise.
3898 (type::element_type): Likewise.
3899 (type::to_array): Likewise.
3900 (type::verify_dimensions): Rewrote.
3901 (type::merge): Likewise.
3902 (check_class_constant): Updated for type constructor change.
3903 (check_constant): Likewise.
3904 (check_field_constant): Likewise.
3905 (get_one_type): Likewise.
3906 (initialize_stack): Likewise.
3907 (verify_instructions_0): Likewise.
3908 (verify_instructions_0) [op_invokeinterface]: Removed special
3910 (isect_list): New field.
3911 (_Jv_BytecodeVerifier): Initialize it.
3912 (~_Jv_BytecodeVerifier): Destroy ref_intersection objects.
3914 2003-07-24 H. Väisänen <hvaisane@joyx.joensuu.fi>
3916 * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
3917 unless field size is 2.
3919 2003-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3921 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
3922 (connectHooks): New method.
3923 (handleEvent): Remove.
3924 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
3925 (createHooks): Remove declaration.
3926 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3927 (generates_key_typed_event): Change to handle only certain
3929 (awt_event_handler): Add special handling for GtkTextView.
3930 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3931 (textcomponent_commit_cb): New function.
3932 (textcomponent_changed_cb): Likewise.
3933 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
3934 (connectHooks): Remove.
3936 2003-07-23 Tom Tromey <tromey@redhat.com>
3938 * java/lang/natSystem.cc (arraycopy): Check for overflow.
3940 * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
3942 2003-07-22 Tom Tromey <tromey@redhat.com>
3944 * boehm.cc (_Jv_BuildGCDescr): Wrote.
3947 2003-07-22 Tom Tromey <tromey@redhat.com>
3949 * java/awt/Window.java (getWarningString): Just return the
3951 (Window): Set warningString; check with security manager.
3953 2003-07-22 Scott Gilbertson <scottg@mantatest.com>
3955 * gnu/awt/xlib/XGraphicsConfiguration.java
3956 (FontMetricsCache): Made static.
3958 2003-07-22 Tom Tromey <tromey@redhat.com>
3960 * java/net/URLEncoder.java (encode(String)): Use platform default
3962 (encode(String,String)): Convert to 2-digit upper-case hex
3966 2003-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3968 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3969 (create): Remove unused method implementation.
3970 (connectHooks): Remove debug messages.
3972 2003-07-20 Anthony Green <green@redhat.com>
3974 * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
3975 CloneNotSupportedException.
3976 * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
3977 * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
3978 * gnu/gcj/xlib/GC.java (clone): Ditto.
3979 * gnu/awt/xlib/XGraphics.java (clone): Ditto.
3980 * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
3982 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
3984 * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
3986 2003-07-20 Steve Pribyl <steve@netfuel.com.>
3988 * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
3989 String. Put dlerror() message into exception.
3990 Include UnsatisfiedLinkError.
3991 * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
3994 2003-07-20 Tom Tromey <tromey@redhat.com>
3996 * java/lang/Runtime.java: Comment fix.
3997 * java/lang/ClassLoader.java (isAncestorOf): New method.
3998 (getParent): Uncommented security check. Use isAncestorOf.
3999 * include/jvm.h (_Jv_CheckAccess): Declare.
4000 * java/lang/reflect/natConstructor.cc (newInstance): Perform
4002 Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
4003 * java/lang/reflect/natArray.cc (newInstance): Pass caller's
4004 class loader to _Jv_GetArrayClass.
4005 Include ArrayIndexOutOfBoundsException.h.
4006 * java/lang/reflect/Field.java: Update comment to reflect status.
4007 (equals): Fixed indentation.
4008 * java/lang/Class.h (Class): Declare memberAccessCheck, not
4009 checkMemberAccess. Make _Jv_CheckAccess a friend.
4010 * java/lang/Class.java (memberAccessCheck): New method from
4012 (checkMemberAccess): Removed.
4013 (getDeclaredMethod): Use memberAccessCheck.
4014 (getField): Likewise.
4015 (getMethod): Likewise.
4016 * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
4017 (_Jv_SearchMethodInClass): Likewise.
4018 * prims.cc (_Jv_CheckAccess): New function.
4019 * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
4020 (_Jv_JNI_GetAnyFieldID): Likewise.
4021 * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
4022 (getClassLoader): Added security check.
4023 (getConstructor): Call memberAccessCheck.
4024 (getDeclaredClasses): Likewise.
4025 (getDeclaredField): Likewise.
4026 (getDeclaredFields): Likewise.
4027 (_getConstructors): Likewise.
4028 (getDeclaredConstructor): Likewise.
4029 (getDeclaredMethods): Likewise.
4030 (getFields): Likewise.
4031 (getMethods): Likewise.
4032 (newInstance): Likewise.
4033 (_Jv_MakeVTable): Put method name in exception.
4034 * java/lang/reflect/natMethod.cc (getType): Use
4035 getClassLoaderInternal.
4036 (_Jv_GetTypesFromSignature): Likewise.
4037 (invoke): Perform access check.
4038 (_Jv_CallAnyMethodA): Removed old FIXME comments.
4039 Include ArrayIndexOutOfBoundsException.h.
4040 * java/lang/reflect/natField.cc (getType): Use
4041 getClassLoaderInternal.
4042 (_Jv_CheckFieldAccessibility): Removed.
4043 (getAddr): Use _Jv_CheckAccess; find caller.
4044 Include ArrayIndexOutOfBoundsException.h.
4046 2003-07-20 Michael Koch <konqueror@gmx.de>
4049 (URL): Fixed documentation to name an argument correcty, Reformatted
4050 one method declaration.
4051 (getURLStreamHandler): Added documentation from classpath.
4053 2003-07-19 Tom Tromey <tromey@redhat.com>
4055 * mauve-libgcj: Don't run CollationElementIterator tests.
4057 2003-07-19 Jeroen Frijters <jeroen@sumatra.nl>
4059 * java/net/URLClassLoader.java (addURL): Moved implementation to
4060 private addURLImpl() to avoid calling addURL from the constructor.
4061 (addURLImpl): Contains the code that was previously in addURL.
4062 (addURLs): Call addURLImpl(), not addURL().
4064 2003-07-18 Graydon Hoare <graydon@redhat.com>
4066 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
4067 Handle missing event cases, connect to "value-changed" signal.
4069 2003-07-18 Graydon Hoare <graydon@redhat.com>
4071 * java/awt/geom/CubicCurve2D.java,
4072 java/awt/geom/Line2D.java,
4073 java/awt/geom/QuadCurve2D.java,
4074 java/awt/geom/Rectangle2D.java:
4075 Fix path some calculations, make path iterators follow
4078 2003-07-18 Mark Wielaard <mark@klomp.org>
4080 * java/util/logging/Handler.java (isLoggable): Check record level
4083 2003-07-17 Michael Koch <konqueror@gmx.de>
4085 * gnu/java/awt/peer/gtk/GtkToolkit.java:
4088 2003-07-14 Michael Koch <konqueror@gmx.de>
4090 * gnu/java/rmi/server/UnicastServerRef.java:
4091 New version from classpath.
4093 2003-07-14 Michael Koch <konqueror@gmx.de>
4095 * java/awt/image/MemoryImageSource.java,
4096 java/beans/PropertyEditorManager.java,
4097 javax/naming/CompoundName.java,
4098 javax/naming/spi/NamingManager.java,
4099 javax/swing/AbstractButton.java,
4100 javax/swing/ButtonModel.java,
4101 javax/swing/SwingUtilities.java,
4102 javax/swing/UIManager.java,
4103 javax/swing/colorchooser/DefaultColorSelectionModel.java,
4104 javax/swing/event/AncestorEvent.java,
4105 javax/swing/event/InternalFrameEvent.java,
4106 java/util/zip/ZipFile.java:
4107 New versions from classpath.
4109 2003-07-13 Michael Koch <konqueror@gmx.de>
4111 * gnu/java/nio/FileChannelImpl.java,
4112 gnu/java/nio/natFileChannelImpl.cc: Removed.
4113 * java/io/FileInputStream.java,
4114 java/io/FileOutputStream.java,
4115 java/io/RandomAccessFile.java,
4116 java/nio/MappedByteBufferImpl.java:
4117 Import java.nio.channels.FileChannelImpl instead of
4118 gnu.java.nio.FileChannelImpl.
4119 * java/nio/channels/FileChannelImpl.java,
4120 java/nio/channels/natFileChannelImpl.cc:
4123 (ordinary_java_source_files):
4124 Removed gnu/java/nio/FileChannelImpl.java and added
4125 java/nio/channels/FileChannelImpl.java.
4127 Removed gnu/java/nio/natFileChannelImpl.cc and added
4128 java/nio/channels/natFileChannelImpl.cc.
4129 * Makefile.in: Regenerated.
4131 2003-07-13 Michael Koch <konqueror@gmx.de>
4133 * javax/swing/plaf/basic/BasicBorders.java,
4134 javax/swing/plaf/basic/BasicLabelUI.java,
4135 javax/swing/plaf/basic/BasicLookAndFeel.java,
4136 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
4137 javax/swing/plaf/basic/BasicTextUI.java,
4138 javax/swing/plaf/metal/MetalLookAndFeel.java:
4139 New versions from classpath.
4141 2003-07-13 Michael Koch <konqueror@gmx.de>
4143 * gnu/java/awt/peer/gtk/GdkFontMetrics.java
4144 * gnu/java/awt/peer/gtk/GdkGraphics.java
4145 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
4146 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
4147 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
4148 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
4149 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
4150 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
4151 * gnu/java/awt/peer/gtk/GtkClipboard.java
4152 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
4153 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
4154 * gnu/java/awt/peer/gtk/GtkFramePeer.java
4155 * gnu/java/awt/peer/gtk/GtkGenericPeer.java
4156 * gnu/java/awt/peer/gtk/GtkImage.java
4157 * gnu/java/awt/peer/gtk/GtkImagePainter.java
4158 * gnu/java/awt/peer/gtk/GtkLabelPeer.java
4159 * gnu/java/awt/peer/gtk/GtkListPeer.java
4160 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
4161 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
4162 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
4163 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
4164 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
4165 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
4166 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
4167 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
4168 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
4169 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
4170 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
4171 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
4173 2003-07-13 Michael Koch <konqueror@gmx.de>
4175 * gnu/java/locale/LocaleInformation_de.java
4176 * gnu/java/locale/LocaleInformation_en.java
4177 * gnu/java/locale/LocaleInformation_nl.java
4179 2003-07-13 Michael Koch <konqueror@gmx.de>
4181 * gnu/java/awt/EmbeddedWindow.java,
4182 gnu/java/awt/EmbeddedWindowSupport.java,
4183 gnu/java/awt/natEmbeddedWindow.cc:
4185 * java/awt/Window.java
4186 (Window): New constructor to support embedded windows.
4188 (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
4189 gnu/java/awt/EmbeddedWindowSupport.java.
4190 (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
4191 * Makefile.in: Regenerated.
4193 2003-07-11 Matt Kraai <kraii@alumni.cmu.edu>
4195 * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
4196 * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
4197 * java/awt/im/InputContext.java: Remove a redundant
4200 2003-07-09 Tom Tromey <tromey@redhat.com>
4202 * Makefile.in: Rebuilt.
4203 * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
4205 2003-07-09 Mark Wielaard <mark@klomp.org>
4207 * java/io/ObjectOutputStream.java (writeObject): break after
4208 calling writeClassDescriptor().
4210 2003-07-09 Mark Mitchell <mark@codesourcery.com>
4212 * gcj/array.h (JvPrimClass): Don't parenthesize the output.
4214 2003-07-09 Michael Koch <konqueror@gmx.de>
4216 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4217 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4218 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
4219 gnu/java/awt/peer/gtk/GtkWindowPeer.java:
4220 Explicitly import used classes.
4221 * java/awt/Container.java: New version from classpath.
4223 2003-07-09 Michael Koch <konqueror@gmx.de>
4225 * libgcj.pc.in: New file.
4226 * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
4227 * Makefile.in: Regenerated.
4228 * configure: Regenrated.
4229 * configure.in: Create libgcj.pc from libgcj.pc.in.
4231 2003-07-08 Mark Wielaard <mark@klomp.org>
4233 * gcj/cni.h: CNI now expands to Compiled Native Interface.
4235 * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
4236 * java/lang/fdlibm.h: Likewise.
4238 2003-07-07 Adam Megacz <adam@xwt.org>
4240 * posix.cc: added #include<stdio.h>
4242 2003-07-07 Thomas Fitzsimmons <fitzsim@redhat.com>
4244 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
4247 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
4248 (setCaretPosition, setEditable): Rely entirely on native
4251 (postTextEvent): New method.
4252 (handleEvent): New method.
4253 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
4255 * java/awt/event/ActionEvent.java (paramString): Fix formatting.
4256 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
4257 (keysym_to_awt_keycode): Fix range checks.
4258 (generates_key_typed_event): New function.
4259 (awt_event_handler): Post AWT_KEY_RELEASED events to event
4261 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4262 (gtkInit): Store TextComponent's postTextEvent method ID.
4263 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
4264 (setText): Post TEXT_VALUE_CHANGED event to event queue.
4266 2003-07-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4268 * configure.in: Check for usleep declaration.
4269 * acconfig.h (HAVE_USLEEP_DECL): Provide template.
4270 * configure: Regenerate.
4271 * include/config.h.in: Likewise.
4272 * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
4274 2003-07-01 Michael Koch <konqueror@gmx.de>
4276 * gnu/gcj/convert/natIconv.cc
4277 (iconv_init): Fixed possible memory leak by releasing allocated iconv
4280 2003-06-30 Thomas Fitzsimmons <fitzsim@redhat.com>
4282 * glib-2.0.m4: New file.
4283 * gtk-2.0.m4: New file.
4286 * configure.in: Update AM_PATH_GTK macro call to
4287 AM_PATH_GTK_2_0. Likewise for AM_PATH_GLIB.
4288 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
4289 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4290 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
4291 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
4292 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
4293 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
4294 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
4295 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4296 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
4297 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
4298 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
4299 jni/gtk-peer/gthread-jni.c,
4300 jni/gtk-peer/gthread-jni.h:
4301 New versions from classpath.
4302 * aclocal.m4: Regenerate.
4303 * configure: Regenerate.
4304 * Makefile.in: Regenerate.
4305 * gcj/Makefile.in: Regenerate.
4306 * include/Makefile.in: Regenerate.
4307 * testsuite/Makefile.in: Regenerate.
4309 2003-06-30 Gary Benson <gbenson@redhat.com>
4311 For PR libgcj/11349:
4312 * javax/naming/spi/NamingManager.java (getURLContext): Use
4313 correct name for factory class.
4315 2003-06-28 Michael Koch <konqueror@gmx.de>
4317 * java/io/PrintStream.java
4318 (checkError): Call flush() instead of direct flushing of the Writer
4320 (print): Call print(String) instead of direct print method of the
4322 (println): Call println(String) instead of direct println method of the
4324 (write): Simplified.
4326 2003-06-28 Michael Koch <konqueror@gmx.de>
4328 * java/net/ServerSocket.java
4329 (setChannel): New method.
4330 * java/net/Socket.java
4331 (setChannel): New method.
4333 2003-06-27 Michael Koch <konqueror@gmx.de>
4335 * java/beans/beancontext/BeanContextSupport.java:
4336 New version from classpath.
4338 2003-06-27 Michael Koch <konqueror@gmx.de>
4340 * java/awt/Window.java,
4341 java/awt/font/GraphicAttribute.java,
4342 java/awt/font/ImageGraphicAttribute.java,
4343 java/awt/image/DataBufferByte.java,
4344 java/awt/image/DataBufferInt.java,
4345 java/awt/image/DataBufferUShort.java,
4346 java/awt/image/DirectColorModel.java,
4347 java/awt/image/PixelGrabber.java:
4348 New versions from classpath.
4350 2003-06-27 Michael Koch <konqueror@gmx.de>
4352 * java/security/Certificate.java
4353 (getGuarantor): Removed wrong @deprecated tag.
4354 (getPrincipal): Likewise.
4355 (getPublicKey): Likewise.
4358 (getFormat): Likewise.
4359 (toString): Likewise.
4360 * java/security/cert/PolicyQualifierInfo.java
4361 (PolicyQualifierInfo): Made final.
4362 * javax/security/auth/x500/X500Principal.java
4363 (serialVersionUID): New member variable.
4365 2003-06-27 Michael Koch <konqueror@gmx.de>
4367 * java/text/Format.java
4368 (serialVersionUID): Fixed value.
4370 2003-06-27 Michael Koch <konqueror@gmx.de>
4372 * java/net/Inet4Address.java
4373 (Inet4Address): Made package-private.
4374 * java/net/Inet6Address.java
4375 (Inet4Address): Made package-private.
4377 2003-06-27 Michael Koch <konqueror@gmx.de>
4379 * java/io/RandomAccessFile.java
4380 (readLine): Removed wrong @deprecated tag.
4381 (getChannel): Made final.
4383 2003-06-27 Michael Koch <konqueror@gmx.de>
4385 * gnu/java/nio/FileChannelImpl.java
4388 2003-06-27 Michael Koch <konqueror@gmx.de>
4390 * java/nio/ByteBufferImpl.java
4391 (ByteBufferImpl): Made it a package-private class
4392 * java/nio/CharBufferImpl.java
4393 (CharBufferImpl): Made it a package-private class
4394 * java/nio/DirectByteBufferImpl.java
4395 (DirectByteBufferImpl): Made it a package-private class
4396 * java/nio/DoubleBufferImpl.java
4397 (DoubleBufferImpl): Made it a package-private class
4398 * java/nio/FloatBufferImpl.java
4399 (FloatBufferImpl): Made it a package-private class
4400 * java/nio/IntBufferImpl.java
4401 (IntBufferImpl): Made it a package-private class
4402 * java/nio/LongBufferImpl.java
4403 (LongBufferImpl): Made it a package-private class
4404 * java/nio/ShortBufferImpl.java
4405 (ShortBufferImpl): Made it a package-private class
4406 * java/nio/channels/FileChannel.java
4407 (write): Made final.
4408 * java/nio/channels/ServerSocketChannel.java
4409 (ServerSocketChanne): Made protected.
4411 2003-06-27 Michael Koch <konqueror@gmx.de>
4413 * javax/naming/CompositeName.java
4414 (serialVersionUID): New member variable.
4415 * javax/naming/CompoundName.java
4416 (serialVersionUID): New member variable.
4417 * javax/naming/InitialContext.java
4418 (InitialContext): Throws NamingException.
4420 * javax/naming/LinkRef.java
4421 (serialVersionUID): New member variable.
4422 (gteLinkName): Throws NamingException.
4423 * javax/naming/NamingException.java
4424 (serialVersionUID): New member variable.
4425 * javax/naming/NamingSecurityException.java
4426 (NamingSecurityException): Made abstract.
4427 (serialVersionUID): New member variable.
4428 * javax/naming/ReferralException.java
4429 (serialVersionUID): New member variable.
4430 * javax/naming/StringRefAddr.java
4431 (serialVersionUID): New member variable.
4432 * javax/naming/directory/BasicAttribute.java:
4434 (serialVersionUID): New member variable.
4435 (get): Throws NamingException.
4436 (getAll): Throws NamingException.
4437 * javax/naming/directory/BasicAttributes.java:
4439 (serialVersionUID): New member variable.
4440 * javax/naming/ldap/UnsolicitedNotificationEvent.java
4441 (serialVersionUID): New member variable.
4443 2003-06-27 Michael Koch <konqueror@gmx.de>
4446 (awt_java_source_files): Added new files:
4447 javax/swing/Popup.java,
4448 javax/swing/PopupFactory.java
4449 * Makefile.in: Regenerated.
4451 2003-06-27 Michael Koch <konqueror@gmx.de>
4453 * javax/swing/JWindow.java,
4454 javax/swing/event/AncestorEvent.java,
4455 javax/swing/event/HyperlinkEvent.java,
4456 javax/swing/event/InternalFrameEvent.java,
4457 javax/swing/event/ListDataEvent.java,
4458 javax/swing/event/TableModelEvent.java,
4459 javax/swing/plaf/PopupMenuUI.java,
4460 javax/swing/plaf/SplitPaneUI.java,
4461 javax/swing/plaf/TabbedPaneUI.java,
4462 javax/swing/plaf/TextUI.java,
4463 javax/swing/plaf/TreeUI.java,
4464 javax/swing/plaf/basic/BasicTextUI.java,
4465 javax/swing/plaf/basic/BasicTreeUI.java:
4466 New versions from classpath.
4467 * javax/swing/Popup.java,
4468 javax/swing/PopupFactory.jav:
4469 New source files from classpath.
4470 * javax/swing/plaf/doc-files/TreeUI-1.png:
4471 New binary files from classpath.
4473 2003-06-25 Michael Koch <konqueror@gmx.de>
4476 (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
4477 * Makefile.in: Regenerated.
4479 2003-06-25 Michael Koch <konqueror@gmx.de>
4481 * javax/swing/plaf/ActionMapUIResource.java,
4482 javax/swing/plaf/BorderUIResource.java,
4483 javax/swing/plaf/ButtonUI.java,
4484 javax/swing/plaf/ColorChooserUI.java,
4485 javax/swing/plaf/ColorUIResource.java,
4486 javax/swing/plaf/ComboBoxUI.java,
4487 javax/swing/plaf/ComponentInputMapUIResource.java,
4488 javax/swing/plaf/ComponentUI.java,
4489 javax/swing/plaf/DesktopIconUI.java,
4490 javax/swing/plaf/DesktopPaneUI.java,
4491 javax/swing/plaf/DimensionUIResource.java,
4492 javax/swing/plaf/FileChooserUI.java,
4493 javax/swing/plaf/FontUIResource.java,
4494 javax/swing/plaf/IconUIResource.java,
4495 javax/swing/plaf/InputMapUIResource.java,
4496 javax/swing/plaf/InsetsUIResource.java,
4497 javax/swing/plaf/InternalFrameUI.java,
4498 javax/swing/plaf/LabelUI.java,
4499 javax/swing/plaf/ListUI.java,
4500 javax/swing/plaf/MenuBarUI.java,
4501 javax/swing/plaf/MenuItemUI.java,
4502 javax/swing/plaf/OptionPaneUI.java,
4503 javax/swing/plaf/PanelUI.java,
4504 javax/swing/plaf/ProgressBarUI.java,
4505 javax/swing/plaf/RootPaneUI.java,
4506 javax/swing/plaf/ScrollBarUI.java,
4507 javax/swing/plaf/ScrollPaneUI.java,
4508 javax/swing/plaf/SeparatorUI.java,
4509 javax/swing/plaf/SliderUI.java,
4510 javax/swing/plaf/TableHeaderUI.java,
4511 javax/swing/plaf/TableUI.java,
4512 javax/swing/plaf/ToolBarUI.java,
4513 javax/swing/plaf/ToolTipUI.java,
4514 javax/swing/plaf/ViewportUI.java:
4515 New versions from classpath.
4516 * javax/swing/plaf/SpinnerUI.java:
4517 New file from classpath
4519 2003-06-25 Michael Koch <konqueror@gmx.de>
4521 * java/awt/image/ColorModel.java:
4522 New version from classpath.
4524 2003-06-25 Michael Koch <konqueror@gmx.de>
4526 * java/net/PlainDatagramSocketImpl.java:
4527 Partly merged with classpath, this mainly adds documentation.
4529 2003-06-25 Michael Koch <konqueror@gmx.de>
4531 * java/io/ObjectInputStream.java
4532 (readClassDescriptor): New method.
4533 (readObject): Moved functionality to readClassDescriptor().
4534 * java/io/ObjectOutputStream.java
4535 (writeClassDescriptor): New method.
4536 (writeObject): Moved functionality to writeClassDescriptor().
4538 2003-06-25 Michael Koch <konqueror@gmx.de>
4540 * javax/swing/plaf/basic/BasicListUI.java,
4541 javax/swing/plaf/basic/BasicOptionPaneUI.java:
4542 Added missing methods.
4544 2003-06-25 Michael Koch <konqueror@gmx.de>
4546 * javax/swing/event/AncestorEvent.java
4547 javax/swing/event/HyperlinkEvent.java
4548 javax/swing/event/InternalFrameEvent.java
4549 javax/swing/event/ListDataEvent.java
4550 javax/swing/event/TableModelEvent.java:
4553 2003-06-24 Michael Koch <konqueror@gmx.de>
4555 * java/net/URL.java:
4556 Renamed "handler" to "ph" in the whole file to match classpaths
4558 * java/net/URLStreamHandler.java:
4559 (equals): Renamed "handler" to "ph".
4561 2003-06-24 Michael Koch <konqueror@gmx.de>
4563 * javax/swing/event/AncestorEvent.java,
4564 javax/swing/event/HyperlinkEvent.java,
4565 javax/swing/event/InternalFrameEvent.java,
4566 javax/swing/event/ListDataEvent.java,
4567 javax/swing/event/TableModelEvent.java,
4568 javax/swing/event/TreeWillExpandListener.java,
4569 javax/swing/plaf/ComponentUI.java,
4570 javax/swing/plaf/DesktopIconUI.java,
4571 javax/swing/plaf/DesktopPaneUI.java,
4572 javax/swing/plaf/DimensionUIResource.java,
4573 javax/swing/plaf/FileChooserUI.java,
4574 javax/swing/plaf/FontUIResource.java,
4575 javax/swing/plaf/IconUIResource.java,
4576 javax/swing/plaf/InputMapUIResource.java,
4577 javax/swing/plaf/InsetsUIResource.java,
4578 javax/swing/plaf/InternalFrameUI.java,
4579 javax/swing/plaf/LabelUI.java,
4580 javax/swing/plaf/ListUI.java,
4581 javax/swing/plaf/MenuBarUI.java,
4582 javax/swing/plaf/MenuItemUI.java,
4583 javax/swing/plaf/OptionPaneUI.java,
4584 javax/swing/plaf/PanelUI.java,
4585 javax/swing/plaf/ProgressBarUI.java,
4586 javax/swing/plaf/doc-files/ComponentUI-1.dia,
4587 javax/swing/plaf/doc-files/ComponentUI-1.png:
4588 New versions from classpath.
4590 2003-06-24 Michael Koch <konqueror@gmx.de>
4592 * java/nio/Buffer.java
4593 (cap): Made package-private.
4598 2003-06-24 Michael Koch <konqueror@gmx.de>
4600 * java/net/SocketImpl.java
4601 (shutdownInput): Made it non-abstract method throwing an exception
4603 (shutdownOutput): Likewise.
4604 * java/net/SocketInputStream.java,
4605 java/net/SocketOutputStream.java:
4606 New files from classpath.
4608 2003-06-24 Michael Koch <konqueror@gmx.de>
4610 * java/awt/Font.java,
4611 java/awt/Window.java,
4612 java/awt/color/ColorSpace.java,
4613 java/awt/datatransfer/StringSelection.java,
4614 java/awt/image/ColorModel.java:
4615 New versions from classpath.
4617 2003-06-24 Michael Koch <konqueror@gmx.de>
4620 (awt_java_source_files): Added new files:
4621 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
4622 javax/swing/plaf/basic/BasicSplitPaneUI.java
4623 * Makefile.in: Regenerated.
4625 2003-06-24 Michael Koch <konqueror@gmx.de>
4627 * javax/swing/text/JTextComponent.java:
4628 New version from classpath.
4630 2003-06-24 Michael Koch <konqueror@gmx.de>
4632 * javax/swing/Timer.java,
4633 javax/swing/plaf/ActionMapUIResource.java,
4634 javax/swing/plaf/ButtonUI.java,
4635 javax/swing/plaf/ColorChooserUI.java,
4636 javax/swing/plaf/ColorUIResource.java,
4637 javax/swing/plaf/ComboBoxUI.java,
4638 javax/swing/plaf/ComponentInputMapUIResource.java,
4639 javax/swing/plaf/basic/BasicBorders.java:
4640 New versions from classpath.
4641 * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
4642 javax/swing/plaf/basic/BasicSplitPaneUI.java:
4643 New file from classpath.
4644 * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
4645 javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
4646 javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
4647 javax/swing/plaf/doc-files/ComponentUI-1.dia,
4648 javax/swing/plaf/doc-files/ComponentUI-1.png:
4649 New binary files from classpath.
4651 2003-06-24 Michael Koch <konqueror@gmx.de>
4653 * java/io/LineNumberReader.java
4654 (skip): Dont do line number accounting here as this is already done in
4657 2003-06-21 Michael Koch <konqueror@gmx.de>
4660 (static): Load javaio lib if existing (only in classpath).
4661 (File): Revised documentation to show the correct argument name.
4662 (createTempFile): Partly merged with classpath.
4663 (compareTo): Simplified.
4664 (lastModified): Throw exception if time < 0.
4665 (deleteOnExit): Revised documentation.
4667 2003-06-21 Michael Koch <konqueror@gmx.de>
4669 * java/net/PlainSocketImpl.java:
4671 (PlainSocketImpl): Merged class documentaion with classpath.
4674 (PlainSocketImpl): New empty constructor.
4676 (setOption): Merged documentation from classpath.
4677 (getOption): Likewise.
4679 (connect): Likewise.
4683 (available): Likewise.
4687 (getInputStream): Made synchronozed to get sure that only one stream
4688 object can be created for this socket, merged documentation from
4690 (getOutputStream): Likewise.
4692 2003-06-21 Michael Koch <konqueror@gmx.de>
4694 * java/net/PlainSocketImpl.java:
4696 (static): New implicit method.
4697 (read): Made package private.
4700 2003-06-21 Michael Koch <konqueror@gmx.de>
4702 * java/util/SimpleTimeZone.java:
4703 Removed unneeded import, reformatting.
4705 2003-06-21 Michael Koch <konqueror@gmx.de>
4707 * java/text/DateFormat.java,
4708 java/text/SimpleDateFormat.java,
4709 java/util/Locale.java:
4710 New versions from classpath.
4712 2003-06-21 Michael Koch <konqueror@gmx.de>
4714 * javax/swing/SpinnerModel.java:
4715 New file from classpath.
4716 * javax/swing/border/LineBorder.java,
4717 javax/swing/border/SoftBevelBorder.java,
4718 javax/swing/plaf/BorderUIResource.java,
4719 javax/swing/plaf/basic/BasicBorders.java:
4720 New versions from classpath.
4721 * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
4722 javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
4723 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
4724 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
4725 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
4726 javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
4727 New binary files from classpath.
4729 2003-06-21 Michael Koch <konqueror@gmx.de>
4731 * java/util/logging/LogRecord.java,
4732 java/util/logging/Logger.java,
4733 java/util/logging/SocketHandler.java,
4734 java/util/logging/SimpleFormatter.java,
4735 java/util/logging/Formatter.java,
4736 java/util/logging/ErrorManager.java,
4737 java/util/logging/Handler.java,
4738 java/util/logging/FileHandler.java,
4739 java/util/logging/LogManager.java,
4740 java/util/logging/Level.java,
4741 java/util/logging/ConsoleHandler.java,
4742 java/util/logging/StreamHandler.java,
4743 java/util/logging/LoggingPermission.java,
4744 java/util/logging/Filter.java,
4745 java/util/logging/MemoryHandler.java,
4746 java/util/logging/XMLFormatter.java:
4747 New files from classpath.
4749 2003-06-20 Michael Koch <konqueror@gmx.de>
4751 * java/io/ObjectStreamField.java
4752 (unshared): new member variable.
4753 (ObjectStreamField): New constructor.
4754 (isUnshared): New method.
4756 2003-06-20 Michael Koch <konqueror@gmx.de>
4758 * java/net/URLStreamHandler.java
4759 (hostsEqual): Rewritten.
4761 2003-06-20 Michael Koch <konqueror@gmx.de>
4763 * gnu/java/nio/MappedByteFileBuffer.java,
4764 gnu/java/nio/natMappedByteFileBuffer.cc:
4766 * java/nio/MappedByteBufferImpl.java:
4768 * gnu/java/nio/FileChannelImpl.java:
4769 Use MappedByteBufferImpl instead of MappedByteFileBuffer.
4771 (ordinary_java_source_files): Removed
4772 gnu/java/nio/MappedByteFileBuffer.java and added
4773 java/nio/MappedByteBufferImpl.java.
4774 (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
4775 * Makefile.in: Regenerated.
4777 2003-06-19 Michael Koch <konqueror@gmx.de>
4779 * gnu/java/nio/DatagramChannelImpl.java
4781 (blocking): New member variable.
4783 (DatagramChannelImpl): Throws IOException, initialize socket.
4784 (socket):Implemented.
4785 (implCloseSelectableChannel): Throws IOException, implemented.
4786 (implConfigureBlocking): Likewise.
4787 (connect): Likewise.
4788 (disconnect): Likewise.
4789 (isConnected): Likewise.
4792 (receive): Throws IOException.
4794 * gnu/java/nio/SocketChannelImpl.java
4795 (read): Implemented.
4796 (write): Implemented.
4798 2003-06-19 Michael Koch <konqueror@gmx.de>
4800 * javax/swing/JComponent.java,
4801 javax/swing/JInternalFrame.java,
4802 javax/swing/MenuSelectionManager.java,
4803 javax/swing/SwingUtilities.java,
4804 javax/swing/ToggleButtonModel.java:
4805 New versions from classpath.
4807 2003-06-19 Michael Koch <konqueror@gmx.de>
4809 * java/text/CollationElementIterator.java
4810 (NULLORDER): Initialize with -1 as JDK documentation says.
4812 2003-06-19 Michael Koch <konqueror@gmx.de>
4814 * java/net/HttpURLConnection.java,
4815 java/net/Inet4Address.java,
4816 java/net/Inet6Address.java,
4817 java/net/SocketImpl.java,
4818 java/net/URLClassLoader.java:
4819 Reworked import statements.
4820 * java/net/InetAddress.java
4821 (getByAddress): Simplified.
4822 * java/net/ServerSocket.java
4823 (ServerSocket): Moved special handling during bind operation to
4825 (bind): Handle different cases when trying to bind a socket.
4826 * java/net/URLConnection.java
4827 (getHeaderFieldDate): Merged with classpath.
4828 (getHeaderFieldInt): Likewise.
4830 2003-06-19 Michael Koch <konqueror@gmx.de>
4832 * java/util/zip/InflaterInputStream.java
4833 (InflaterInputStream): Throw NullPointerException if in is null (as
4836 2003-06-19 Michael Koch <konqueror@gmx.de>
4838 * java/awt/Font.java
4839 javax/swing/UIManager.java
4840 javax/swing/border/AbstractBorder.java
4841 javax/swing/border/BevelBorder.java
4842 javax/swing/border/Border.java
4843 javax/swing/border/CompoundBorder.java
4844 javax/swing/border/EmptyBorder.java
4845 javax/swing/border/EtchedBorder.java
4846 javax/swing/border/LineBorder.java
4847 javax/swing/border/MatteBorder.java
4848 javax/swing/border/TitledBorder.java
4849 javax/swing/plaf/BorderUIResource.java
4850 javax/swing/plaf/basic/BasicBorders.java
4851 javax/swing/plaf/basic/BasicButtonUI.java
4852 javax/swing/plaf/basic/BasicCheckBoxUI.java
4853 javax/swing/plaf/basic/BasicGraphicsUtils.java
4854 javax/swing/plaf/basic/BasicLabelUI.java
4855 javax/swing/plaf/basic/BasicRadioButtonUI.java
4856 javax/swing/plaf/basic/BasicToggleButtonUI.java:
4857 New versions from classpath.
4858 * javax/swing/border/SoftBevelBorder.java:
4859 New file from classpath.
4860 * javax/swing/border/doc-files/LineBorder-1.png,
4861 javax/swing/border/doc-files/BevelBorder-1.png,
4862 javax/swing/border/doc-files/BevelBorder-2.png,
4863 javax/swing/border/doc-files/BevelBorder-3.png,
4864 javax/swing/border/doc-files/EmptyBorder-1.png,
4865 javax/swing/border/doc-files/EtchedBorder-1.png,
4866 javax/swing/border/doc-files/EtchedBorder-2.png,
4867 javax/swing/border/doc-files/MatteBorder-1.png,
4868 javax/swing/border/doc-files/MatteBorder-2.png,
4869 javax/swing/border/doc-files/MatteBorder-3.png,
4870 javax/swing/border/doc-files/MatteBorder-4.png,
4871 javax/swing/border/doc-files/MatteBorder-5.png,
4872 javax/swing/border/doc-files/MatteBorder-6.png,
4873 javax/swing/border/doc-files/SoftBevelBorder-1.png,
4874 javax/swing/border/doc-files/SoftBevelBorder-2.png,
4875 javax/swing/border/doc-files/SoftBevelBorder-3.png,
4876 javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
4877 javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
4878 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
4879 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
4880 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
4881 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
4882 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
4883 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
4884 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
4885 New binary files from classpath.
4887 (awt_java_source_files): Added
4888 javax/swing/border/SoftBevelBorder.java.
4889 * Makefile.in: Regenerated.
4891 2003-06-19 Michael Koch <konqueror@gmx.de>
4893 * gnu/java/security/x509/X509Certificate.java
4894 (writeReplace): Merged from classpath.
4896 2003-06-19 Michael Koch <konqueror@gmx.de>
4898 * gnu/java/nio/FileChannelImpl.java
4899 (map_address): Made public.
4900 (FileChannelImpl): Merged with classpath.
4901 * gnu/java/nio/natFileChannelImpl.cc
4902 (nio_mmap_file): Commented out unused arguments.
4903 (nio_unmmap_file): Likewise.
4904 (niu_msync): Likewise.
4906 2003-06-19 Michael Koch <konqueror@gmx.de>
4908 * java/awt/image/IndexColorModel.java:
4909 New version from classpath.
4911 2003-06-18 Tom Tromey <tromey@redhat.com>
4913 * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
4915 (isLoopbackAddress): Likewise.
4916 * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
4919 2003-06-18 Matt Kraai <kraai@alumni.cmu.edu>
4921 * java/lang/natVMSecurityManager.cc (getClassContext):
4922 Use maxlen instead of len for loop bound.
4924 2003-06-18 Michael Koch <konqueror@gmx.de>
4926 * gnu/java/nio/SelectorImpl.java
4927 (register): Use fd with value 0 for now, will be fixed later.
4928 * gnu/java/nio/ServerSocketChannelImpl.java
4930 (local_port): Removed.
4931 (InetSocketAddress): Removed.
4932 (ServerSocketChannelImpl): Just initialize internal socket object.
4933 (implCloseSelectableChannel): Close internal socket object.
4934 (implConfigureBlocking): Added comment.
4935 (accept): Use jaba.net stuff to accept socket.
4936 * gnu/java/nio/SocketChannelImpl.java
4938 (local_port): Removed.
4939 (InetSocketAddress): Removed.
4940 (SocketCreate): Removed.
4941 (SocketConnect): Removed.
4942 (SocketBind): Removed.
4943 (SocketListen): Removed.
4944 (SocketAvailable): Removed.
4945 (SocketClose): Removed.
4946 (SocketRead): Removed.
4947 (SocketWrite): Removed.
4948 (SocketChannelImpl): Just initialize internal socket object.
4949 (implCloseSelectableChannel): Close internal socket object.
4950 (implConfigureBlocking): Fixed implementation, added comment.
4951 (connect): Use internal socket object to connect.
4952 (socket): No need for sanity checks.
4953 (read): Comment out some stuff, this will be reimplemented in the next
4956 * gnu/java/nio/natFileChannelImpl.cc
4957 (nio_mmap_file): Line wrapped.
4958 * gnu/java/nio/natSocketChannelImpl.cc: Removed.
4960 (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
4961 * Makefile.in: Regenerated.
4963 2003-06-18 Michael Koch <konqueror@gmx.de>
4965 * java/util/Locale.java
4966 (equals): Merged from classpath.
4968 2003-06-18 Michael Koch <konqueror@gmx.de>
4970 * java/net/InetAddress.java:
4971 Reformatted to better match classpath's version.
4973 (equals): Simplified.
4974 * java/net/URLConnection.java
4975 (setDoInput): Revised documentation.
4976 (getDefaultUseCaches): Likewise.
4977 (setRequestProperty): Added @since tag.
4979 2003-06-17 Michael Koch <konqueror@gmx.de>
4981 * java/net/InetSocketAddress.java
4982 (InetSocketAddress): Use wildcard address if addr is null.
4983 (InetSocketAddress): Dont duplicate implementation.
4984 (InetSocketAddress): Throw exception when hostname is null.
4985 * java/net/Socket.java:
4987 (Socket): Throw exception when raddr is null, handle case when laddr
4990 2003-06-17 Michael Koch <konqueror@gmx.de>
4992 * java/nio/DirectByteBufferImpl.java
4993 (address): Made package private.
4994 (DirectByteBufferImpl): New constructor.
4995 * java/nio/natDirectByteBufferImpl.cc
4996 (allocateImpl): Moved to java.nio namespace, implemented.
4997 (freeImpl): Likewise.
4998 (getImpl): Likewise.
4999 (putImpl): Likewise.
5001 (_Jv_JNI_NewDirectByteBuffer): Implemented.
5002 (_Jv_JNI_GetDirectBufferAddress): Implemented.
5003 (_Jv_JNI_GetDirectBufferCapacity): Implemented.
5005 2003-06-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5007 * include/powerpc-signal.h: New File.
5008 * configure.in: Use it.
5009 * configure: Regenerated.
5011 2003-06-17 Michael Koch <konqueror@gmx.de>
5013 * java/util/Locale.java
5014 (getDisplayLanguage): Made it final.
5015 (getDisplayCountry): Likewise.
5016 (getDisplayVariant): Likewise.
5017 (getDisplayName): Likewise.
5019 2003-06-17 Michael Koch <konqueror@gmx.de>
5021 * java/util/PropertyResourceBundle.java:
5022 Removed unneeded import.
5024 2003-06-17 Michael Koch <konqueror@gmx.de>
5026 * java/util/prefs/AbstractPreferences.java,
5027 java/util/prefs/PreferencesFactory.java:
5028 Reworked imports, removed unused imports.
5029 * java/util/prefs/Preferences.java
5030 (systemNodeForPackage): Method takes a Class not an Object.
5031 (userNodeForPackage): Likewise.
5032 (nodeForPackage): Likewise.
5034 2003-06-17 Michael Koch <konqueror@gmx.de>
5036 * gnu/java/security/x509/X509Certificate.java:
5037 Explicitely import used classes.
5039 2003-06-17 Michael Koch <konqueror@gmx.de>
5041 * java/util/zip/ZipEntry.java,
5042 java/util/zip/ZipFile.java,
5043 java/util/zip/ZipInputStream.java,
5044 java/util/zip/ZipOutputStream.java:
5045 Reworked imports, only import used classes.
5047 2003-06-17 Michael Koch <konqueror@gmx.de>
5049 * gnu/java/lang/ArrayHelper.java,
5050 gnu/java/lang/ClassHelper.java:
5051 Reformatted to match classpath's versions.
5053 2003-06-14 Michael Koch <konqueror@gmx.de>
5055 * gnu/java/nio/FileChannelImpl.java
5056 (map_address): Removed incorrect comment.
5057 * gnu/java/nio/SelectorImpl.java
5058 (register): Remove code duplication and code for file channel handling.
5059 * gnu/java/nio/ServerSocketChannelImpl.java
5060 (serverSocket): Renamed from sock_object.
5061 (ServerSocketChannel): Initialize serverSocket.
5062 (socket): Return serverSocket.
5063 * gnu/java/nio/SocketChannelImpl.java
5064 (socket): Renamed from sock_object.
5065 (isConnectionPenging): Simplified.
5066 (socket): Return socket.
5067 2003-06-14 Michael Koch <konqueror@gmx.de>
5069 * java/security/BasicPermission.java:
5070 New version from classpath.
5072 2003-06-14 Michael Koch <konqueror@gmx.de>
5074 * javax/naming/directory/Attribute.java:
5075 New version from classpath.
5077 2003-06-14 Michael Koch <konqueror@gmx.de>
5079 * java/io/BufferedReader.java,
5080 java/io/FileOutputStream.java:
5081 New versions from classpath.
5083 2003-06-12 Andrew Haley <aph@redhat.com>
5085 * prims.cc (catch_segv): Create exception in handler.
5086 (catch_fpe): Likewise.
5087 (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
5088 (_Jv_ThrowSignal): Remove.
5090 * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
5091 * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
5092 to nullp and arithexception.
5093 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5094 * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5095 * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5096 * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5097 * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
5099 2003-06-11 Andrew Haley <aph@redhat.com>
5101 * jni.cc (_Jv_JNI_check_types): New.
5102 (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
5103 (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
5104 (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
5105 (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
5107 * java/lang/natVMSecurityManager.cc (getClassContext): Fix
5110 2003-06-11 Tom Tromey <tromey@redhat.com>
5112 * java/lang/ClassLoader.java (loadClass): Not deprecated.
5113 * java/io/PrintStream.java: Not deprecated.
5115 2003-06-11 Scott Gilbertson <scottg@mantatest.com>
5117 * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
5118 (fillOval): implemented
5119 * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
5120 (fillArc): implemented.
5121 * gnu/gcj/xlib/GC.java (drawArc): added native method.
5122 (fillArc): added native method.
5123 * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
5124 (fillArc): added native method.
5126 2003-06-11 Michael Koch <konqueror@gmx.de>
5128 * java/awt/im/InputSubset.java:
5129 New version from classpath.
5131 2003-06-11 Michael Koch <konqueror@gmx.de>
5133 * javax/swing/AbstractAction.java,
5134 javax/swing/AbstractButton.java,
5135 javax/swing/AbstractCellEditor.java,
5136 javax/swing/AbstractListModel.java,
5137 javax/swing/BorderFactory.java,
5138 javax/swing/Box.java,
5139 javax/swing/BoxLayout.java,
5140 javax/swing/ButtonGroup.java,
5141 javax/swing/DefaultButtonModel.java,
5142 javax/swing/DefaultListModel.java,
5143 javax/swing/DefaultListSelectionModel.java,
5144 javax/swing/FocusManager.java,
5145 javax/swing/ImageIcon.java,
5146 javax/swing/InputMap.java,
5147 javax/swing/JApplet.java,
5148 javax/swing/JButton.java,
5149 javax/swing/JCheckBox.java,
5150 javax/swing/JCheckBoxMenuItem.java,
5151 javax/swing/JColorChooser.java,
5152 javax/swing/JComboBox.java,
5153 javax/swing/JComponent.java,
5154 javax/swing/JDesktopPane.java,
5155 javax/swing/JDialog.java,
5156 javax/swing/JEditorPane.java,
5157 javax/swing/JFileChooser.java,
5158 javax/swing/JFormattedTextField.java,
5159 javax/swing/JFrame.java,
5160 javax/swing/JLabel.java,
5161 javax/swing/JLayeredPane.java,
5162 javax/swing/JList.java,
5163 javax/swing/JMenuBar.java,
5164 javax/swing/JMenuItem.java,
5165 javax/swing/JOptionPane.java,
5166 javax/swing/JPanel.java,
5167 javax/swing/JPasswordField.java,
5168 javax/swing/JPopupMenu.java,
5169 javax/swing/JProgressBar.java,
5170 javax/swing/JRadioButton.java,
5171 javax/swing/JRadioButtonMenuItem.java,
5172 javax/swing/JRootPane.java,
5173 javax/swing/JScrollBar.java,
5174 javax/swing/JScrollPane.java,
5175 javax/swing/JSeparator.java,
5176 javax/swing/JSlider.java,
5177 javax/swing/JTabbedPane.java,
5178 javax/swing/JTable.java,
5179 javax/swing/JTextField.java,
5180 javax/swing/JToggleButton.java,
5181 javax/swing/JToolBar.java,
5182 javax/swing/JToolTip.java,
5183 javax/swing/JTree.java,
5184 javax/swing/JViewport.java,
5185 javax/swing/JWindow.java,
5186 javax/swing/KeyStroke.java,
5187 javax/swing/ListSelectionModel.java,
5188 javax/swing/LookAndFeel.java,
5189 javax/swing/RepaintManager.java,
5190 javax/swing/ScrollPaneLayout.java,
5191 javax/swing/SizeRequirements.java,
5192 javax/swing/SwingConstants.java,
5193 javax/swing/Timer.java,
5194 javax/swing/UIDefaults.java,
5195 javax/swing/UIManager.java,
5196 javax/swing/border/AbstractBorder.java,
5197 javax/swing/border/CompoundBorder.java,
5198 javax/swing/colorchooser/AbstractColorChooserPanel.java,
5199 javax/swing/colorchooser/ColorChooserComponentFactory.java,
5200 javax/swing/colorchooser/ColorSelectionModel.java,
5201 javax/swing/colorchooser/DefaultColorSelectionModel.java,
5202 javax/swing/event/AncestorEvent.java,
5203 javax/swing/event/HyperlinkEvent.java,
5204 javax/swing/event/InternalFrameAdapter.java,
5205 javax/swing/event/InternalFrameEvent.java,
5206 javax/swing/event/ListDataEvent.java,
5207 javax/swing/event/MouseInputAdapter.java,
5208 javax/swing/event/SwingPropertyChangeSupport.java,
5209 javax/swing/event/TableModelEvent.java,
5210 javax/swing/event/TreeWillExpandListener.java,
5211 javax/swing/event/UndoableEditEvent.java,
5212 javax/swing/filechooser/FileFilter.java,
5213 javax/swing/filechooser/FileSystemView.java,
5214 javax/swing/filechooser/FileView.java,
5215 javax/swing/plaf/BorderUIResource.java,
5216 javax/swing/plaf/basic/BasicDefaults.java,
5217 javax/swing/table/AbstractTableModel.java,
5218 javax/swing/table/DefaultTableCellRenderer.java,
5219 javax/swing/table/DefaultTableColumnModel.java,
5220 javax/swing/table/DefaultTableModel.java,
5221 javax/swing/table/TableColumn.java,
5222 javax/swing/text/JTextComponent.java,
5223 javax/swing/tree/AbstractLayoutCache.java,
5224 javax/swing/tree/DefaultMutableTreeNode.java,
5225 javax/swing/tree/DefaultTreeCellEditor.java,
5226 javax/swing/tree/DefaultTreeCellRenderer.java,
5227 javax/swing/tree/DefaultTreeModel.java,
5228 javax/swing/tree/DefaultTreeSelectionModel.java,
5229 javax/swing/tree/FixedHeightLayoutCache.java,
5230 javax/swing/tree/TreeCellEditor.java,
5231 javax/swing/tree/TreeModel.java,
5232 javax/swing/tree/TreeNode.java,
5233 javax/swing/tree/TreePath.java,
5234 javax/swing/tree/TreeSelectionModel.java,
5235 javax/swing/tree/VariableHeightLayoutCache.java,
5236 javax/swing/undo/AbstractUndoableEdit.java,
5237 javax/swing/undo/CompoundEdit.java,
5238 javax/swing/undo/StateEdit.java,
5239 javax/swing/undo/UndoManager.java,
5240 javax/swing/undo/UndoableEditSupport.java:
5241 New versions from classpath.
5242 * javax/swing/table/JTableHeader.java:
5243 New file from classpath.
5245 (java_awt_sources): Added javax/swing/table/JTableHeader.java.
5246 * Makefile.in: Regenerated.
5248 2003-06-11 Michael Koch <konqueror@gmx.de>
5250 * java/nio/MappedByteBuffer.java,
5251 java/nio/channels/Channels.java,
5252 java/nio/channels/ServerSocketChannel.java,
5253 java/nio/channels/spi/AbstractSelector.java:
5254 Removed unneeded imports.
5256 2003-06-11 Michael Koch <konqueror@gmx.de>
5258 * java/net/DatagramSocket.java:
5259 Partly merged with classpath.
5261 2003-06-11 Michael Koch <konqueror@gmx.de>
5263 * java/awt/Frame.java,
5264 java/awt/Graphics.java,
5266 java/awt/Robot.java,
5267 java/awt/image/ColorModel.java:
5268 New versions from classpath.
5270 2003-06-10 Michael Koch <konqueror@gmx.de>
5272 * java/io/PrintStream.java:
5273 Merged version from classpath.
5274 (close): Removed sychronized keyword. This class is not garantied to
5278 2003-06-09 Tom Tromey <tromey@redhat.com>
5280 * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
5282 (getDescent): Likewise, for "descent".
5284 2003-06-09 Scott Gilbertson <scottg@mantatest.com>
5286 * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
5287 (getMaxDescent): adjusted return value.
5288 (getAscent): modified to use metrics for 'O'.
5289 (getDescent): modified to use metrics for 'y'.
5291 2003-06-08 Anthony Green <green@redhat.com>
5293 * java/net/URLStreamHandler.java (sameFile): Fix port value
5295 * java/net/URL.java (handler): Make package private.
5296 * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
5298 2003-06-07 Tom Tromey <tromey@redhat.com>
5300 For PR libgcj/11085:
5301 * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
5302 Limit number of characters in numeric field when required.
5303 * java/text/DecimalFormat.java (parse(String,ParsePosition)):
5304 Respect maximumIntegerDigits.
5306 2003-06-08 Michael Koch <konqueror@gmx.de>
5308 * java/net/Socket.java
5309 (Socket): Dont initialize inputShutdown and outputShutdown twice,
5310 call bind() and connect() to actually do the bind and connect tasks.
5311 (bind): Connect to canonical address if bindpoint is null, create
5312 socket and bind it to bindpoint.
5313 (connect): Check for exceptions.
5315 2003-06-08 Michael Koch <konqueror@gmx.de>
5317 * java/net/DatagramSocket.java
5318 (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
5319 into the Multicast constructors.
5320 * java/net/DatagramSocketImpl.java
5321 (getOption): Removed.
5322 (setOption): Removed.
5323 * java/net/MulticastSocket.java
5324 (MulticastSocket): Call setReuseAddress (true).
5325 * java/net/SocketImpl.java
5326 (getOption): Removed.
5327 (setOption): Removed.
5329 2003-06-07 Jeff Sturm <jsturm@one-point.com>
5332 * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
5333 Test for empty vector.
5335 2003-06-06 Mark Wielaard <mark@klomp.org>
5337 * java/security/Security.java (secprops): Initialize.
5338 (loadProviders): Return boolean.
5339 (static): Check result of loadProvider calls. If necessary
5340 display WARNING and fallback to Gnu provider.
5342 2002-06-06 James Clark <jjc@jclark.com>
5344 Fix for PR libgcj/8738:
5345 * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
5346 * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
5347 * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
5348 * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
5349 (write): Always decrease avail when count is increased.
5350 * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
5351 and whether output buffer is full before increasing size.
5353 2002-06-06 Mark Wielaard <mark@klomp dot org>
5355 * java/io/PrintStream.java (writeChars(char[],int, int)):
5356 Check converter.havePendingBytes().
5357 (writeChars(String,int,int)): Likewise.
5358 * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
5359 Check converter.havePendingBytes() and flush buffer when stalled.
5361 2003-06-07 Michael Koch <konqueror@gmx.de>
5364 (O_DSYNC): Define O_DSYNC on platforms not
5365 supporting O_FSYNC (newlib).
5367 2003-06-06 Mark Wielaard <mark@klomp.org>
5369 * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
5372 2003-06-06 Michael Koch <konqueror@gmx.de>
5374 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
5375 More compile fixes from my stupid work yesterday.
5377 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
5379 * java/lang/w_exp.c (o_threshold, u_threshold): Define only
5380 if _IEEE_LIBM is undefined.
5382 2002-06-05 Loren J. Rittle <ljrittle@acm.org>
5384 * libjava/include/posix.h (O_SYNC): Define if not available
5385 and a reasonable, perhaps more conservative, replacement exists.
5386 (O_DSYNC): Likewise.
5387 * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
5389 2003-06-05 Michael Koch <konqueror@gmx.de>
5391 * javax/swing/plaf/BorderUIResource.java,
5392 javax/swing/plaf/basic/BasicDefaults.java,
5393 javax/swing/plaf/basic/BasicOptionPaneUI.java:
5394 More compile fixes for latest Border commit. I should not commit
5395 something in this heat here ...
5397 2003-06-05 Michael Koch <konqueror@gmx.de>
5399 * javax/swing/border/BevelBorder.java
5400 (BevelBorder): Removed.
5401 * javax/swing/border/EmptyBorder.java:
5403 (EmptyBorder): Removed.
5404 (getBorderInsets): Dont use l, r, t and b.
5405 * javax/swing/border/EtchedBorder.java
5406 (EtchedBorder): Removed.
5407 * javax/swing/border/LineBorder.java
5408 (LineBorder): Removed.
5409 * javax/swing/border/MatteBorder.java
5410 (MatteBorder): Removed.
5411 * javax/swing/border/TitledBorder.java
5412 (defaultBorder): Use other default for now.
5413 (defaultFont): Likewise.
5414 (defaultColor): Likewise.
5416 2003-06-05 Michael Koch <konqueror@gmx.de>
5418 * javax/swing/border/Border.java:
5419 New version from classpath.
5421 2003-06-05 Michael Koch <konqueror@gmx.de>
5423 * javax/swing/border/AbstractBorder.java,
5424 javax/swing/border/BevelBorder.java,
5425 javax/swing/border/CompoundBorder.java,
5426 javax/swing/border/EmptyBorder.java,
5427 javax/swing/border/EtchedBorder.java,
5428 javax/swing/border/LineBorder.java,
5429 javax/swing/border/MatteBorder.java,
5430 javax/swing/border/TitledBorder.java:
5431 New versions from Classpath.
5433 2003-06-05 Michael Koch <konqueror@gmx.de>
5435 * java/awt/Button.java,
5436 java/awt/Checkbox.java,
5437 java/awt/CheckboxMenuItem.java,
5438 java/awt/Choice.java,
5439 java/awt/Container.java,
5440 java/awt/Dialog.java,
5441 java/awt/EventQueue.java,
5442 java/awt/FileDialog.java,
5443 java/awt/Frame.java,
5444 java/awt/Label.java,
5447 java/awt/MenuItem.java,
5448 java/awt/Panel.java,
5449 java/awt/PopupMenu.java,
5450 java/awt/Rectangle.java,
5451 java/awt/ScrollPane.java,
5452 java/awt/Scrollbar.java,
5453 java/awt/TextArea.java,
5454 java/awt/TextField.java,
5455 java/awt/Window.java,
5456 java/awt/datatransfer/DataFlavor.java,
5457 java/awt/dnd/DragSource.java,
5458 java/awt/dnd/DragSourceContext.java,
5459 java/awt/event/HierarchyEvent.java,
5460 java/awt/event/MouseWheelEvent.java,
5461 java/awt/im/InputContext.java,
5462 java/awt/image/BufferedImage.java,
5463 java/awt/image/ComponentColorModel.java,
5464 java/awt/image/Raster.java,
5465 java/awt/image/WritableRaster.java,
5466 java/awt/peer/ComponentPeer.java,
5467 java/awt/print/PageFormat.java,
5468 java/awt/print/PrinterJob.java:
5469 New versions from Classpath.
5471 2003-06-05 Scott Gilbertson <scottg@mantatest.com>
5473 * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
5474 numberFormat.setParseIntegerOnly(true).
5476 2003-06-05 Bert Deknuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
5478 * include/posix-threads.h: Include <machine/pal.h> on OSF.
5480 2003-06-03 Andrew Haley <aph@redhat.com>
5482 * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
5483 stack volatile to prevent optimization from removing it.
5485 2003-05-27 Michael Koch <konqueror@gmx.de>
5487 * java/util/zip/Deflater.java
5488 (FILTERED): Merged documentation from classpath.
5489 * java/util/zip/DeflaterOutputStream.java
5490 (DeflaterOutputStream): Merged documentation and argument validity
5491 check from classpath.
5492 (deflate): Merged documentation from classpath.
5494 * java/util/zip/Inflater.java
5495 (Inflater): Merged class documentation from classpath.
5496 (zstream): Reordered.
5497 (is_finished): Reordered.
5498 (dict_needed): Reordered.
5499 (Inflater): Reordered, merged documentation from classpath.
5501 (finalize): Merged documentation from classpath.
5502 (finished): Likewise.
5503 (getAdler): Likewise.
5504 (getRemaining): Likewise.
5505 (getTotalIn): Likewise.
5506 (getTotalOut): Likewise.
5507 (inflate): Likewise.
5508 (needsDictionary): Likewise.
5509 (needsInput): Likewise.
5511 (setDictionary): Likewise.
5512 (setInput): Likewise.
5514 2003-05-27 Michael Koch <konqueror@gmx.de>
5516 * java/net/URLConnection.java
5517 (getHeaderFieldInt): Merged with classpath.
5519 2003-05-27 Michael Koch <konqueror@gmx.de>
5521 * java/io/PrintStream.java
5522 (PrintStream): Reformatted.
5523 (PrintStream): New method, merged from classpath.
5524 (write): Reformatted.
5526 2003-05-27 Michael Koch <konqueror@gmx.de>
5528 * java/lang/System.java:
5529 Explicitely import needed classes.
5531 2003-05-26 Michael Koch <konqueror@gmx.de>
5533 * java/net/NetPermission.java,
5534 java/net/NetworkInterface.java,
5535 java/net/PasswordAuthentication.java,
5536 java/net/SocketPermission.java:
5537 New versions from classpath.
5539 2003-05-25 Michael Koch <konqueror@gmx.de>
5541 * java/io/PushbackInputStream.java,
5542 java/net/Authenticator.java,
5543 java/net/ContentHandler.java,
5544 java/net/ContentHandlerFactory.java,
5545 java/net/DatagramSocket.java,
5546 java/net/DatagramSocketImpl.java,
5547 java/net/DatagramSocketImplFactory.java,
5548 java/net/FileNameMap.java,
5549 java/net/SocketImplFactory.java,
5550 java/net/SocketOptions.java,
5551 java/net/URLStreamHandlerFactory.java:
5552 Merged new versions from classpath.
5554 2003-05-25 Michael Koch <konqueror@gmx.de>
5556 * java/awt/Checkbox.java,
5557 java/awt/Dialog.java,
5559 java/awt/Frame.java,
5560 java/awt/ScrollPaneAdjustable.java,
5561 java/awt/Scrollbar.java,
5562 java/awt/Window.java:
5563 New versions from classpath.
5565 2003-05-22 Jeff Sturm <jsturm@one-point.com>
5568 * java/io/ObjectInputStream (enableResolveObject):
5569 Fixed spelling of permission name.
5571 2003-05-20 Michael Koch <konqueror@gmx.de>
5573 * java/io/DataInputStream.java
5574 (convertFromUTF): Merged comment from classpath.
5575 * java/io/PrintStream.java
5576 (error_occured): Renamed from error, merged comment from classpath.
5577 (PrintStream): No need to initialized error.
5578 (checkError): Replace error with error_occurred.
5579 (setError): Likewise.
5581 2003-05-20 Michael Koch <konqueror@gmx.de>
5583 * java/io/DataInputStream.java:
5584 Reformatted, Replaced < and & with html entitites in documentation.
5585 * java/io/File.java:
5587 * java/io/PrintWriter.java:
5588 Moved class documentation.
5590 2003-05-20 Michael Koch <konqueror@gmx.de>
5592 * gnu/java/nio/ByteBufferImpl.java,
5593 gnu/java/nio/CharBufferImpl.java,
5594 gnu/java/nio/CharViewBufferImpl.java,
5595 gnu/java/nio/DirectByteBufferImpl.java,
5596 gnu/java/nio/DoubleBufferImpl.java,
5597 gnu/java/nio/DoubleViewBufferImpl.java,
5598 gnu/java/nio/FloatBufferImpl.java,
5599 gnu/java/nio/FloatViewBufferImpl.java,
5600 gnu/java/nio/IntBufferImpl.java,
5601 gnu/java/nio/IntViewBufferImpl.java,
5602 gnu/java/nio/LongBufferImpl.java,
5603 gnu/java/nio/LongViewBufferImpl.java,
5604 gnu/java/nio/natDirectByteBufferImpl.cc,
5605 gnu/java/nio/ShortBufferImpl.java,
5606 gnu/java/nio/ShortViewBufferImpl.java:
5607 Moved files to java/nio.
5608 * gnu/java/nio/SocketChannelImpl.java
5610 * java/nio/ByteBuffer.java,
5611 java/nio/CharBuffer.java,
5612 java/nio/DoubleBuffer.java,
5613 java/nio/FloatBuffer.java,
5614 java/nio/IntBuffer.java,
5615 java/nio/LongBuffer.java,
5616 java/nio/ShortBuffer.java:
5617 Dont import anything.
5618 * java/nio/ByteBufferImpl.java,
5619 java/nio/CharBufferImpl.java,
5620 java/nio/CharViewBufferImpl.java,
5621 java/nio/DirectByteBufferImpl.java,
5622 java/nio/DoubleBufferImpl.java,
5623 java/nio/DoubleViewBufferImpl.java,
5624 java/nio/FloatBufferImpl.java,
5625 java/nio/FloatViewBufferImpl.java,
5626 java/nio/IntBufferImpl.java,
5627 java/nio/IntViewBufferImpl.java,
5628 java/nio/LongBufferImpl.java,
5629 java/nio/LongViewBufferImpl.java,
5630 java/nio/natDirectByteBufferImpl.cc,
5631 java/nio/ShortBufferImpl.java,
5632 java/nio/ShortViewBufferImpl.java:
5633 Moved from gnu/java/nio.
5635 (ordinary_java_source_files): Moved files from gnu/java/nio to
5637 (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
5639 * Makefile.in: Regenerated.
5641 2003-05-19 Michael Koch <konqueror@gmx.de>
5643 * java/util/Calendar.java
5644 (get): Not final anymore since JDK 1.4
5647 2003-05-19 Michael Koch <konqueror@gmx.de>
5649 * java/text/CollationKey.java:
5650 Merged copyright and dat from classpath.
5651 * java/text/RuleBasedCollator.java:
5652 Merged class documentation from classpath.
5654 2003-05-19 Michael Koch <konqueror@gmx.de>
5656 * java/nio/CharBuffer.java
5657 (toString): Compile fix.
5659 2003-05-19 Michael Koch <konqueror@gmx.de>
5661 * gnu/java/nio/ByteBufferImpl.java
5662 (putLong): Fixed conversion to bytes.
5663 (putDouble): Fixed conversion to bytes.
5664 * gnu/java/nio/DirectByteBufferImpl.java
5665 (putLong): Fixed conversion to bytes.
5666 (putDouble): Fixed conversion to bytes.
5667 * gnu/java/nio/FileLockImpl.java
5668 (isValid): Reformatted.
5669 * java/nio/Buffer.java
5670 (Buffer): Fixed off-by-one bug in handling mark.
5671 * java/nio/ByteBuffer.java:
5673 * java/nio/CharBuffer.java
5674 (toString): Don't use relative get to get string data.
5676 2003-05-16 Michael Koch <konqueror@gmx.de>
5678 * java/io/natFileDescriptorPosix.cc
5679 (open): Commented out the O_SYNC and O_DSYNC usage until its better
5682 2003-05-14 Michael Koch <konqueror@gmx.de>
5684 * gnu/java/nio/FileLockImpl.java
5685 (released): New member variable.
5686 (FileLockImpl): Initialize released.
5687 (releaseImpl): New native method.
5688 (release): Implemented.
5689 * gnu/java/nio/SelectorImpl.java: Reformatted.
5690 * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
5691 * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
5692 (accept): Throws IOException.
5693 * gnu/java/nio/SocketChannelImpl.java: Reformatted.
5694 (implConfigureBlocking): Throws IOException.
5695 (connect): Likewise.
5698 * gnu/java/nio/natFileLockImpl.cc: New file.
5699 * java/nio/channels/FileLock.java: Reformatted.
5701 (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
5702 (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
5703 * Makefile.in: Regenerated.
5705 2003-05-13 Michael Koch <konqueror@gmx.de>
5707 * gnu/java/nio/CharViewBufferImpl.java
5708 (CharViewBufferImpl): Fixed super constructor call, initialize offset.
5709 (get): Shift bits to the right direction.
5711 * gnu/java/nio/DoubleViewBufferImpl.java
5712 (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
5713 (get): Shift bits to the right direction.
5715 * gnu/java/nio/FloatViewBufferImpl.java
5716 (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
5717 (get): Shift bits to the right direction.
5719 * gnu/java/nio/IntViewBufferImpl.java
5720 (IntViewBufferImpl): Fixed super constructor call, initialize offset.
5721 (get): Shift bits to the right direction.
5723 * gnu/java/nio/LongViewBufferImpl.java
5724 (LongViewBufferImpl): Fixed super constructor call, initialize offset.
5725 (get): Shift bits to the right direction.
5727 * gnu/java/nio/ShortViewBufferImpl.java
5728 (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
5729 (get): Shift bits to the right direction.
5732 2003-05-13 Michael Koch <konqueror@gmx.de>
5734 * gnu/java/nio/natDirectByteBufferImpl.cc
5735 (allocateImpl): jlong -> RawData*.
5736 (freeImpl): Likewise.
5738 2003-05-13 Michael Koch <konqueror@gmx.de>
5740 * java/nio/channels/FileChannel.java
5741 (MapMode.m): Made it package-private to match JDK 1.4.
5742 * java/nio/charset/Charset.java
5743 (decode): Made it final to match JDK 1.4.
5745 2003-05-13 Michael Koch <konqueror@gmx.de>
5747 * java/io/FileDescriptor.java
5748 (SYNC): New constant.
5750 (getLength): Renamed from lenght() to match classpath's
5751 FileDescriptor.java.
5752 * java/io/RandomAccessFile.java
5753 (RandomAccessFile): Removed unneeded mode check, implemented mode
5754 "rws" and "rwd", merged documentation from classpath.
5755 (setLength): Reformatted.
5756 (length): Use new getLength() of FileDescriptor.
5757 * java/io/natFileDescriptorEcos.cc
5758 (getLength): Renamed from length().
5759 * java/io/natFileDescriptorPosix.cc
5760 (open): Implemented support for SYNC and DSYNC.
5761 (seek): Use getLength() instead of length().
5762 (getLength): Renamed from length().
5763 * java/io/natFileDescriptorWin32.cc
5764 (getLength): Renamed from length().
5765 (seek): Use getLength() instead of length().
5766 (available): Likewise.
5767 * gnu/java/nio/natFileChannelImpl.cc
5768 (size): Use getLength() instead of length().
5770 2003-05-13 Michael Koch <konqueror@gmx.de>
5772 * gnu/java/nio/ByteBufferImpl.java
5773 (ByteBufferImpl): All constructors revised.
5774 (slice): Reimplemented.
5775 (duplicate): Reimplemented.
5776 (asReadOnlyBuffer): Reimplemented.
5777 * java/nio/ByteBuffer.java:
5779 (array_offset): Renamed from "offset" to match all other buffer
5781 (ByteBuffer): All constructors revised.
5782 (allocateDirect): Implemented.
5783 (allocate): New implementation, documentation reworked.
5785 (get): Documentation reworked.
5786 (put): New implementation, documentation reworked.
5787 (hasArray): Documentation reworked.
5788 (arrayOffset): Likewise.
5789 (hashCode): Likewise.
5791 (compareTo): Likewise.
5793 (compact): Likewise.
5794 (isDirect): Likewise.
5796 (duplicate): Likewise.
5797 (asReadOnlyBuffer): Likewise.
5799 (ordinary_java_source_files):
5800 Added gnu/java/nio/DirectByteBufferImpl.java.
5802 Added gnu/java/nio/natDirectByteBufferImpl.cc.
5803 * Makefile.in: Regenerated.
5805 2003-05-12 Michael Koch <konqueror@gmx.de>
5807 * gnu/java/nio/ByteBufferImpl.java: Reformatted.
5808 (nio_get_*): Removed.
5809 (nio_put_*): Removed.
5810 (as*Buffer): Implemented.
5811 (compact): Implemented.
5812 (get): Documentation added.
5813 (put): Documentation added.
5814 (get*): Newly implemented.
5815 (put*): Newly implemented.
5816 * gnu/java/nio/CharBufferImpl.java: Reformatted.
5817 (CharBufferImpl): Revised.
5818 (slice): New implementation.
5819 (duplicate): New implementation.
5820 (compact): New implementation.
5821 (asReadOnlyBuffer): New implementation.
5822 (get): Documentation revised.
5823 (order): Return native byte order.
5824 * gnu/java/nio/DirectByteBufferImpl.java
5825 (allocateDirect): objects can be null not 0.
5826 * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
5827 (DoubleBufferImpl): Revised.
5828 (slice): New implementation.
5829 (duplicate): New implementation.
5830 (compact): New implementation.
5831 (asReadOnlyBuffer): New implementation.
5832 (get): Documentation revised.
5833 (order): Return native byte order.
5834 * gnu/java/nio/FloatBufferImpl.java: Reformatted.
5835 (FloatBufferImpl): Revised.
5836 (slice): New implementation.
5837 (duplicate): New implementation.
5838 (compact): New implementation.
5839 (asReadOnlyBuffer): New implementation.
5840 (get): Documentation revised.
5841 (order): Return native byte order.
5842 * gnu/java/nio/IntBufferImpl.java: Reformatted.
5843 (IntBufferImpl): Revised.
5844 (slice): New implementation.
5845 (duplicate): New implementation.
5846 (compact): New implementation.
5847 (asReadOnlyBuffer): New implementation.
5848 (get): Documentation revised.
5849 (order): Return native byte order.
5850 * gnu/java/nio/LongBufferImpl.java: Reformatted.
5851 (LongBufferImpl): Revised.
5852 (slice): New implementation.
5853 (duplicate): New implementation.
5854 (compact): New implementation.
5855 (asReadOnlyBuffer): New implementation.
5856 (get): Documentation revised.
5857 (order): Return native byte order.
5858 * gnu/java/nio/ShortBufferImpl.java: Reformatted.
5859 (ShortBufferImpl): Revised.
5860 (slice): New implementation.
5861 (duplicate): New implementation.
5862 (compact): New implementation.
5863 (asReadOnlyBuffer): New implementation.
5864 (get): Documentation revised.
5865 (order): Return native byte order.
5866 * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
5867 (CharBuffer): Revised.
5869 * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
5870 (DoubleBuffer): Revised.
5871 (allocateDirect): Removed.
5873 * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
5874 (FloatBuffer): Revised.
5875 (allocateDirect): Removed.
5877 * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
5878 (IntBuffer): Revised.
5879 (allocateDirect): Removed.
5881 * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
5882 (LongBuffer): Revised.
5883 (allocateDirect): Removed.
5885 * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
5886 (ShortBuffer): Revised.
5887 (allocateDirect): Removed.
5889 * gnu/java/nio/natByteBufferImpl.cc: Removed.
5890 * gnu/java/nio/natCharBufferImpl.cc: Removed.
5892 (ordinary_java_source_files): Added the following files:
5893 gnu/java/nio/CharViewBufferImpl.java,
5894 gnu/java/nio/DoubleViewBufferImpl.java,
5895 gnu/java/nio/FloatViewBufferImpl.java,
5896 gnu/java/nio/IntViewBufferImpl.java,
5897 gnu/java/nio/LongViewBufferImpl.java,
5898 gnu/java/nio/ShortViewBufferImpl.java
5899 (nat_source_files): Removed the following files:
5900 gnu/java/nio/natByteBufferImpl.cc,
5901 gnu/java/nio/natCharBufferImpl.cc
5902 * Makefile.in: Regenerated.
5904 2003-05-12 Michael Koch <konqueror@gmx.de>
5906 * gnu/java/nio/CharViewBufferImpl.java,
5907 gnu/java/nio/DirectByteBufferImpl.java,
5908 gnu/java/nio/DoubleViewBufferImpl.java,
5909 gnu/java/nio/FloatViewBufferImpl.java,
5910 gnu/java/nio/IntViewBufferImpl.java,
5911 gnu/java/nio/LongViewBufferImpl.java,
5912 gnu/java/nio/ShortViewBufferImpl.java,
5913 gnu/java/nio/natDirectByteBufferImpl.cc:
5914 New files, not yet to be compiled.
5916 2003-05-10 Michael Koch <konqueror@gmx.de>
5918 * javax/swing/plaf/ButtonUI.java,
5919 javax/swing/plaf/ColorUIResource.java,
5920 javax/swing/plaf/ComponentUI.java,
5921 javax/swing/plaf/DimensionUIResource.java,
5922 javax/swing/plaf/FontUIResource.java,
5923 javax/swing/plaf/IconUIResource.java,
5924 javax/swing/plaf/InsetsUIResource.java,
5925 javax/swing/plaf/LabelUI.java,
5926 javax/swing/plaf/ListUI.java,
5927 javax/swing/plaf/OptionPaneUI.java,
5928 javax/swing/plaf/PanelUI.java,
5929 javax/swing/plaf/TabbedPaneUI.java,
5930 javax/swing/plaf/TextUI.java,
5931 javax/swing/plaf/TreeUI.java,
5932 javax/swing/plaf/ViewportUI.java,
5933 javax/swing/plaf/basic/BasicBorders.java,
5934 javax/swing/plaf/basic/BasicButtonUI.java,
5935 javax/swing/plaf/basic/BasicCheckBoxUI.java,
5936 javax/swing/plaf/basic/BasicDefaults.java,
5937 javax/swing/plaf/basic/BasicGraphicsUtils.java,
5938 javax/swing/plaf/basic/BasicIconFactory.java,
5939 javax/swing/plaf/basic/BasicLabelUI.java,
5940 javax/swing/plaf/basic/BasicListUI.java,
5941 javax/swing/plaf/basic/BasicOptionPaneUI.java,
5942 javax/swing/plaf/basic/BasicPanelUI.java,
5943 javax/swing/plaf/basic/BasicRadioButtonUI.java,
5944 javax/swing/plaf/basic/BasicScrollPaneUI.java,
5945 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
5946 javax/swing/plaf/basic/BasicTextUI.java,
5947 javax/swing/plaf/basic/BasicToggleButtonUI.java,
5948 javax/swing/plaf/basic/BasicTreeUI.java,
5949 javax/swing/plaf/basic/BasicViewportUI.java,
5950 javax/swing/plaf/metal/MetalLookAndFeel.java:
5951 New versions from classpath. This adds copyrights to all files and
5952 some serialVersionUIDs.
5954 2003-05-10 Michael Koch <konqueror@gmx.de>
5956 * java/nio/CharBuffer.java
5957 (offset): Make it package-private.
5958 (backing_buffer): Likewise.
5959 * java/nio/DoubleBuffer.java
5960 (offset): Make it package-private.
5961 (backing_buffer): Likewise.
5963 * java/nio/FloatBuffer.java
5964 (offset): Make it package-private.
5965 (backing_buffer): Likewise.
5966 * java/nio/IntBuffer.java
5967 (offset): Make it package-private.
5968 (backing_buffer): Likewise.
5969 * java/nio/LongBuffer.java
5970 (offset): Make it package-private.
5971 (backing_buffer): Likewise.
5972 * java/nio/ShortBuffer.java
5973 (offset): Make it package-private.
5974 (backing_buffer): Likewise.
5976 2003-05-10 Michael Koch <konqueror@gmx.de>
5978 * java/nio/CharBuffer.java
5979 (put): Fixed precondtion check.
5980 (toString): Make it work without backing array.
5981 (put): Skip one level of method calling.
5983 2003-05-10 Michael Koch <konqueror@gmx.de>
5985 * java/security/Identity.java,
5986 java/security/IdentityScope.java,
5987 java/security/Key.java,
5988 java/security/KeyPair.java,
5989 java/security/PrivateKey.java,
5990 java/security/Provider.java,
5991 java/security/PublicKey.java,
5992 java/security/SecureRandom.java,
5993 java/security/SecureRandomSpi.java,
5994 java/security/SignedObject.java,
5995 java/security/Signer.java,
5996 java/security/cert/Certificate.java,
5997 java/security/cert/PKIXCertPathBuilderResult.java,
5998 java/security/cert/X509Certificate.java:
5999 New versions from classpath.
6001 2003-05-09 Tom Tromey <tromey@redhat.com>
6003 * Makefile.in: Rebuilt.
6004 * Makefile.am (nat_source_files): Removed old files.
6005 * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
6006 * gnu/java/nio/natFloatBufferImpl.cc: Removed.
6007 * gnu/java/nio/natIntBufferImpl.cc: Removed.
6008 * gnu/java/nio/natLongBufferImpl.cc: Removed.
6009 * gnu/java/nio/natShortBufferImpl.cc: Removed.
6011 2003-05-09 Michael Koch <konqueror@gmx.de>
6013 * gnu/java/nio/ByteBufferImpl.java
6014 (nio_cast): Removed.
6015 (ByteBufferImpl): Removed.
6016 (nio_get_Byte): Removed.
6017 (nio_put_Byte): Removed.
6018 (asByteBuffer): Removed.
6019 (asCharBuffer): Removed implementation and throw exception.
6020 (asShortBuffer): Likewise.
6021 (asIntBuffer): Likewise.
6022 (asLongBuffer): Likewise.
6023 (asFloatBuffer): Likewise.
6024 (asDoubleBuffer): Likewise.
6025 * gnu/java/nio/CharBufferImpl.java
6026 (CharBufferImpl): Removed.
6027 (nio_get_Byte): Removed.
6028 (nio_put_Byte): Removed.
6029 (asByteBuffer): Removed.
6030 * gnu/java/nio/DoubleBufferImpl.java
6031 (DoubleBufferImpl): Removed.
6032 (nio_get_Byte): Removed.
6033 (nio_put_Byte): Removed.
6034 (asByteBuffer): Removed.
6035 * gnu/java/nio/FloatBufferImpl.java
6036 (FloatBufferImpl): Removed.
6037 (nio_get_Byte): Removed.
6038 (nio_put_Byte): Removed.
6039 (asByteBuffer): Removed.
6040 * gnu/java/nio/IntBufferImpl.java
6041 (IntBufferImpl): Removed.
6042 (nio_get_Byte): Removed.
6043 (nio_put_Byte): Removed.
6044 (asByteBuffer): Removed.
6045 * gnu/java/nio/LongBufferImpl.java
6046 (LongBufferImpl): Removed.
6047 (nio_get_Byte): Removed.
6048 (nio_put_Byte): Removed.
6049 (asByteBuffer): Removed.
6050 * gnu/java/nio/ShortBufferImpl.java
6051 (ShortBufferImpl): Removed.
6052 (nio_get_Byte): Removed.
6053 (nio_put_Byte): Removed.
6054 (asByteBuffer): Removed.
6055 * gnu/java/nio/natByteBufferImpl.cc
6056 (nio_cast): Removed.
6057 (nio_get_Byte): Removed.
6058 (nio_put_Byte): Removed.
6059 * gnu/java/nio/natCharBufferImpl.cc
6060 (nio_get_Byte): Removed.
6061 (nio_put_Byte): Removed.
6063 2003-05-09 Michael Koch <konqueror@gmx.de>
6065 * java/net/JarURLConnection.java
6066 (getJarEntry): Merged documentation from classpath.
6067 (getJarFile): Likewise.
6068 (getMainAttributes): Likewise.
6069 (getAttributes): Likewise.
6070 (getManifest): Likewise.
6071 (getCertificates): Reformatted.
6072 * java/net/URLConnection.java:
6073 Little classpath merge.
6075 2003-05-09 Michael Koch <konqueror@gmx.de>
6077 * java/io/DataOutputStream.java
6078 (writeShort): Made it synchronized.
6079 (writeChar): Likewise.
6080 (writeInt): Likewise.
6081 (writeLong): Liekwise.
6082 (writeUTF): Made it synchronized, renamed argument to match classpath.
6083 * java/io/InputStreamReader.java
6084 (converter): Added documentation.
6085 (read): Merged documentation from classpath.
6086 * java/io/OutputStreamWriter.java
6087 (OutputStreamWriter): Merged documentation from classpath.
6088 (close): Reformatted.
6089 (getEncoding): Likewise.
6091 (write): Merged documentation from classpath, reformatted.
6093 2003-05-08 Tom Tromey <tromey@redhat.com>
6095 * configure.host <powerpc64*-*>: Set with_libffi_default and
6096 libgcj_interpreter to "yes".
6098 2003-05-08 Scott Gilbertson <scottg@mantatest.com>
6100 * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
6102 2003-05-06 Tom Tromey <tromey@redhat.com>
6104 * verify.cc: Reverted previous patch.
6106 2003-05-06 Michael Koch <konqueror@gmx.de>
6108 * java/io/DataOutputStream.java
6109 (write): Renamed argument to "value", merged documentation from
6111 (writeBoolean): Likewise.
6112 (writeByte): Likewise.
6113 (writeShort): Likewise.
6114 (writeChar): Likewise.
6115 (writeInt): Likewise.
6116 (writeLong): Likewise.
6117 (writeFloat): Likewise.
6118 (writeDouble): Likewise.
6119 (writeBytes): Likewise.
6120 (writeChars): Likewise.
6121 (writeUTF): Likewise.
6123 (performDelete): Added documentation.
6124 (performList): Likewise.
6125 (performMkdir): Likewise.
6126 (performSetReadOnly): Likewise.
6127 (performRenameTo): Likewise.
6128 (performSetLastModified): Likewise.
6129 (delete): Made it sychronized.
6130 (renameTo): Made it sychronized.
6131 (equals): Reformatted.
6132 (isHidden): Likewise.
6133 (listFiles): Likewise.
6134 (setReadOnly): Likewise.
6135 (listRoots): Likewise.
6136 (setLastModified): Likewise.
6137 (checkRead): Likewise.
6138 (checkWrite): Likewise.
6139 * java/io/FileInputStream.java
6140 (skip): Made it sychronized, merged from classpath.
6141 * java/io/FileOutputStream.java
6142 (write): Merged from classpath.
6143 * java/io/InputStreamReader.java:
6144 (InputStreamReader): Merged documentation from classpath.
6146 2003-05-05 Michael Koch <konqueror@gmx.de>
6148 * java/net/NetworkInterface.java
6149 (networkInterfaces): Removed.
6150 (getByName): Use getRealNetworkInterfaces() instead of
6152 (getByInetAddress): Likewise.
6153 (getNetworkInterfaces): Likewise.
6154 (toString): Fix output of addresses of an interface.
6156 2003-05-05 Michael Koch <konqueror@gmx.de>
6158 * java/io/DataInputStream.java:
6159 Merged new documentation from classpath.
6161 2003-05-03 Matt Kraai <kraai@alumni.cmu.edu>
6163 * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
6165 * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
6166 * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
6167 * gnu/awt/gtk/GtkFramePeer.java: Likewise.
6168 * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
6169 * gnu/awt/gtk/GtkMainThread.java: Likewise.
6170 * gnu/awt/gtk/GtkToolkit.java: Likewise.
6171 * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
6172 * java/security/Key.java: Likewise.
6173 * java/security/PrivateKey.java: Likewise.
6174 * java/security/Provider.java: Likewise.
6175 * java/security/PublicKey.java: Likewise.
6177 2003-05-02 Michael Koch <konqueror@gmx.de>
6180 (create): Doesnt throws any exceptions.
6181 * java/net/URLConnection.java
6182 (URLConnection): Commend added.
6183 (getExpiration): The header field is called "expires" not
6185 (getHeaderField): Merged documentation with classpath.
6186 (getHeaderFieldInt): Likewise.
6187 (getHeaderFieldDate): Likewise.
6188 (getHeaderFieldKey): Likewise.
6189 (getPermission): Likewise.
6190 (setDefaultUseCaches): Likewise.
6191 (setRequestProperty): Likewise.
6192 (addRequestProperty): Likewise.
6193 (getRequestProperty): Likewise.
6194 (getRequestProperties): Likewise.
6195 (setDefaultRequestProperty): Likewise.
6196 (getDefaultRequestProperty): Likewise.
6197 (guessContentTypeFromStream): Likewise.
6198 (getFileNameMap): Likewise.
6199 (setFileNameMap): Likewise.
6200 (setDoInput): Merged implementation and documentation with classpath.
6201 (setDoOutput): Likewise.
6202 (setAllowUserInteraction): Likewise.
6203 (setDefaultAllowUserInteraction): Likewise.
6204 (setContentHandlerFactory): Made it synchronized, merged documentation
6206 (guessContentTypeFromName): Renamed argument fname to filename to
6207 match classpath, merged documentation with classpath.
6209 2003-05-02 Michael Koch <konqueror@gmx.de>
6211 * java/net/JarURLConnection.java
6212 (JarURLConnection): Class documentation merged with classpath.
6213 (getJarFileURL): Moved and documentation merged with classpath.
6214 (getEntryName): Likewise.
6215 (JarURLConnection): Documentation merged with classpath.
6216 (getJarEntry): Likewise.
6217 (getJarFile): Likewise.
6218 * java/net/PlainDatagramSocketImpl.java:
6219 Class documentation moved.
6220 * java/net/URLConnection.java
6221 (fileNameMap): Moved and documentation merged with classpath.
6222 (factory): Likewise.
6223 (defaultAllowUserInteraction): Likewis.
6224 (defaultUseCaches): Likewise.
6225 (allowUserInteraction): Likewise.
6226 (connected): Likewise.
6228 (connect): Documentation merged with classpath.
6230 (getContentLength): Likewise.
6231 (getContentType): Likewise.
6232 (getContentEncoding): Likewise.
6233 (getExpiration): Likewise.
6234 (getDate): Likewise.
6235 (getLastModified): Likewise.
6236 (getHeaderField): Likewise.
6237 (getContent): Likewise.
6238 (getPermission): Likewise.
6239 (getInputStream): Likewise.
6240 (getOutputStream): Likewise.
6241 (toString): Likewise.
6242 (getDoInput): Likewise.
6243 (getDoOutput): Likewise.
6244 (setAllowUserInteraction): Likewise.
6245 (getAllowUserInteraction): Likewise.
6246 (setDefaultAllowUserInteraction): Likewise.
6247 (getDefaultAllowUserInteraction): Likewise.
6248 (setUseCaches): Likewise.
6249 (getUseCaches): Likewise.
6250 (setIfModifiedSince): Likewise.
6251 (getIfModifiedSince): Likewise.
6252 (setDefaultRequestProperty): Likewise.
6253 (getDefaultRequestProperty): Likewise.
6254 (setContentHandlerFactory): Likewise.
6255 (setFileNameMap): Likewise.
6257 2003-05-02 Michael Koch <konqueror@gmx.de>
6259 * java/net/InetAddress.java:
6260 Merged class documentation with classpath.
6261 * java/net/JarURLConnection.java:
6262 Explicitely import all used classes.
6263 * java/net/URL.java:
6265 * java/net/ServerSocket.java,
6266 java/net/Socket.java:
6267 New versions from classpath.
6269 2003-05-02 Michael Koch <konqueror@gmx.de>
6271 * gnu/java/nio/FileChannelImpl.java
6272 (read): New implementation.
6273 (implRead): New methods.
6274 (write): New implementation, call other write insteal of read method.
6275 (implWrite): New methods.
6276 (map): Added comment.
6277 (transferFrom): Implemented.
6278 (transferTo): Implemented.
6279 (lock): Added checks to throw exceptions.
6280 (truncate): Added check to throw exception.
6281 * gnu/java/nio/natFileChannelImpl.cc
6282 (implRead): New method.
6283 (implWrite): New method.
6284 * java/nio/ByteBuffer.java
6285 (hashCode): Fixed comment.
6286 (get): Fixed exception documentation.
6287 (put): Fixed exception documentation.
6288 * java/nio/CharBuffer.java:
6289 Added comment for later optimizations.
6291 2003-04-30 Tom Tromey <tromey@redhat.com>
6294 * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
6296 (type::compatible): Use _Jv_IsAssignableFrom.
6297 * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
6298 (_Jv_IsAssignableFrom): Work even when source or target class is
6301 2003-04-30 Michael Koch <konqueror@gmx.de>
6303 * java/text/BreakIterator.java
6304 (clone): New method.
6306 2003-04-30 Michael Koch <konqueror@gmx.de>
6308 * java/text/CollationElementIterator.java,
6309 java/text/CollationKey.java,
6310 java/text/RuleBasedCollator.java:
6311 Merged copyright and documentation from classpath and
6312 rearranged some code. No code changes done.
6314 2003-04-30 Michael Koch <konqueror@gmx.de>
6316 * java/util/regex/Matcher.java
6317 (pattern): New member variable.
6318 (appendReplacement): New method.
6319 (appendTail): New method.
6322 (group): New method.
6323 (replaceFirst): Added documentation.
6324 (replaceAll): Added documentation.
6325 (groupCount): New method.
6326 (lookingAt): New method.
6327 (matches): New method.
6328 (reset): New method.
6329 (start): New method.
6330 * java/util/regex/Pattern.java
6331 (serialVersionUID): New constant.
6332 (CANON_EQ): New constant.
6333 (CASE_INSENSITIVE): New constant.
6334 (COMMENTS): New constant.
6335 (DOTALL): New constant.
6336 (MULTILINE): New constant.
6337 (UNICODE_CASE): New constant.
6338 (UNIX_LINES): New constant.
6339 (regex): New member variable.
6340 (flags): New member variable.
6341 (Pattern): New method.
6342 (compile): Documentation added.
6343 (flags): New method.
6344 (matches): Documentation added.
6345 (matcher): Documentation added.
6346 (split): Documentation added.
6347 (pattern): New method.
6349 2003-04-30 Michael Koch <konqueror@gmx.de>
6351 * gnu/java/security/Engine.java,
6352 gnu/java/security/OID.java,
6353 gnu/java/security/der/BitString.java,
6354 gnu/java/security/der/DER.java,
6355 gnu/java/security/der/DERReader.java,
6356 gnu/java/security/der/DERValue.java,
6357 gnu/java/security/der/DERWriter.java,
6358 gnu/java/security/provider/DSAKeyFactory.java,
6359 gnu/java/security/provider/X509CertificateFactory.java,
6360 gnu/java/security/x509/X500DistinguishedName.java,
6361 gnu/java/security/x509/X509CRL.java,
6362 gnu/java/security/x509/X509CRLEntry.java,
6363 gnu/java/security/x509/X509Certificate.java,
6364 java/security/cert/CRLSelector.java,
6365 java/security/cert/CertPathBuilder.java,
6366 java/security/cert/CertPathBuilderResult.java,
6367 java/security/cert/CertPathBuilderSpi.java,
6368 java/security/cert/CertPathParameters.java,
6369 java/security/cert/CertPathValidator.java,
6370 java/security/cert/CertPathValidatorResult.java,
6371 java/security/cert/CertPathValidatorSpi.java,
6372 java/security/cert/CertSelector.java,
6373 java/security/cert/CertStore.java,
6374 java/security/cert/CertStoreParameters.java,
6375 java/security/cert/CertStoreSpi.java,
6376 java/security/cert/CollectionCertStoreParameters.java,
6377 java/security/cert/LDAPCertStoreParameters.java,
6378 java/security/cert/PKIXBuilderParameters.java,
6379 java/security/cert/PKIXCertPathBuilderResult.java,
6380 java/security/cert/PKIXCertPathChecker.java,
6381 java/security/cert/PKIXCertPathValidatorResult.java,
6382 java/security/cert/PKIXParameters.java,
6383 java/security/cert/PolicyNode.java,
6384 java/security/cert/PolicyQualifierInfo.java,
6385 java/security/cert/TrustAnchor.java,
6386 javax/security/auth/x500/X500Principal.java:
6387 New files from classpath.
6388 * gnu/java/io/ASN1ParsingException.java,
6389 gnu/java/io/Base64InputStream.java,
6390 gnu/java/security/der/DEREncodingException.java,
6391 gnu/java/security/provider/DSAParameters.java,
6392 gnu/java/security/provider/DSASignature.java,
6393 gnu/java/security/provider/Gnu.java,
6394 gnu/java/security/provider/GnuDSAPrivateKey.java,
6395 gnu/java/security/provider/GnuDSAPublicKey.java,
6396 java/security/AlgorithmParameterGenerator.java,
6397 java/security/AlgorithmParameters.java,
6398 java/security/KeyFactory.java,
6399 java/security/KeyPairGenerator.java,
6400 java/security/KeyStore.java,
6401 java/security/MessageDigest.java,
6402 java/security/SecureClassLoader.java,
6403 java/security/SecureRandom.java,
6404 java/security/Security.java,
6405 java/security/Signature.java,
6406 java/security/cert/Certificate.java,
6407 java/security/cert/CertificateFactory.java,
6408 java/security/cert/CertificateFactorySpi.java,
6409 java/security/cert/X509CRL.java,
6410 java/security/cert/X509Certificate.java,
6411 java/security/spec/DSAPublicKeySpec.java:
6412 New versions from classpath.
6413 * gnu/java/security/provider/DERReader.java,
6414 gnu/java/security/provider/DERWriter.java,
6415 java/security/Engine.java: Removed.
6417 (java_source_files, javax_source_files): Added new files.
6418 * Makefile.in: Regenerated.
6420 2003-04-29 Michael Koch <konqueror@gmx.de>
6422 * javax/swing/JTable.java
6423 (AUTO_RESIZE_ALL_COLUMNS): New constant.
6424 (AUTO_RESIZE_LAST_COLUMN): New constant.
6425 (AUTO_RESIZE_NEXT_COLUMN): New constant.
6426 (AUTO_RESIZE_OFF): New constant.
6427 (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
6428 (JTable): New method.
6429 (columnAdded): New method.
6430 (columnMarginChanged): New method.
6431 (columnMoved): New method.
6432 (columnRemoved): New method.
6433 (columnSelectionChanged): New method.
6434 (editingCanceled): New method.
6435 (editingStopped): New method.
6436 (getColumnModel): New method.
6437 (getPreferredScrollableViewportSize): New method.
6438 (getScrollableBlockIncrement): New method.
6439 (getScrollableTracksViewportHeight): New method.
6440 (getScrollableTracksViewportWidth): New method.
6441 (getScrollableUnitIncrement): New method.
6442 (getSelectedRow): New method.
6443 (getSelectionModel): New method.
6444 (tableChanged): New method.
6445 (setModel): New method.
6446 (setSelectionMode): New method.
6447 (setSelectionModel): New method.
6448 (setShowGrid): New method.
6449 (valueChanged): New method.
6450 * javax/swing/text/DefaultEditorKit.java
6451 (backwardAction): New constant.
6452 (beepAction): New constant.
6453 (beginAction): New constant.
6454 (beginLineAction): New constant.
6455 (beginParagraphAction): New constant.
6456 (beginWordAction): New constant.
6457 (copyAction): New constant.
6458 (cutAction): New constant.
6459 (defaultKeyTypedAction): New constant.
6460 (deleteNextCharAction): New constant.
6461 (deletePrevCharAction): New constant.
6462 (downAction): New constant.
6463 (endAction): New constant.
6464 (endLineAction): New constant.
6465 (endOfLineStringProperty): New constant.
6466 (endParagraphAction): New constant.
6467 (endWordAction): New constant.
6468 (forwardAction): New constant.
6469 (insertBreakAction): New constant.
6470 (insertContentAction): New constant.
6471 (insertTabAction): New constant.
6472 (nextWordAction): New constant.
6473 (pageDownAction): New constant.
6474 (pageUpAction): New constant.
6475 (pasteAction): New constant.
6476 (previousWordAction): New constant.
6477 (readOnlyAction): New constant.
6478 (selectAllAction): New constant.
6479 (selectionBackwardAction): New constant.
6480 (selectionBeginAction): New constant.
6481 (selectionBeginLineAction): New constant.
6482 (selectionBeginParagraphAction): New constant.
6483 (selectionBeginWordAction): New constant.
6484 (selectionDownAction): New constant.
6485 (selectionEndAction): New constant.
6486 (selectionEndLineAction): New constant.
6487 (selectionEndParagraphAction): New constant.
6488 (selectionEndWordAction): New constant.
6489 (selectionForwardAction): New constant.
6490 (selectionNextWordAction): New constant.
6491 (selectionPreviousWordAction): New constant.
6492 (selectionUpAction): New constant.
6493 (selectLineAction): New constant.
6494 (selectParagraphAction): New constant.
6495 (selectWordAction): New constant.
6496 (upAction): New constant.
6497 (writableAction): New constant.
6499 2003-04-29 Michael Koch <konqueror@gmx.de>
6501 * java/util/PropertyPermission.java:
6502 New version from classpath
6503 * java/util/ResourceBundle.java:
6504 Partly merged from classpath
6505 (getObject): Reformated.
6506 (tryBundle): Set foundBundle = null if no bundle found.
6508 2003-04-29 Michael Koch <konqueror@gmx.de>
6510 * javax/swing/AbstractListModel.java,
6511 javax/swing/DefaultBoundedRangeModel.java,
6512 javax/swing/DefaultSingleSelectionModel.java:
6513 New Versions from classpath.
6515 2003-04-29 Michael Koch <konqueror@gmx.de>
6517 * java/awt/Window.java
6518 (show): Call super.show() instead of setVisible() to avoid endless
6520 (hide): Call super.hide() instead of setVisible() to avoid endless
6523 2003-04-29 Michael Koch <konqueror@gmx.de>
6525 * java/util/zip/Deflater.java,
6526 java/util/zip/DeflaterOutputStream.java:
6527 Partly merged with classpath.
6529 2003-04-27 Tom Tromey <tromey@redhat.com>
6531 * java/lang/natString.cc (_Jv_AllocString): Initialize
6534 (_Jv_NewStringUtf8Const): Likewise.
6536 2003-03-29 Mohan Embar <gnustuff@thisiscool.com>
6538 * include/jvm.h: (_Jv_GetNbArgs) added
6539 (_Jv_GetSafeArg) added
6541 * prims.cc: (_Jv_GetNbArgs) implemented
6542 (_Jv_GetSafeArg) implemented
6543 (_Jv_SetArgs) implemented
6544 (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
6545 setting _Jv_argc and _Jv_argv
6546 * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
6548 * java/lang/natRuntime.cc: (insertSystemProperties) use
6549 _Jv_GetSafeArg() instead of _Jv_argv
6551 2003-04-23 Tom Tromey <tromey@redhat.com>
6553 * resolve.cc (_Jv_PrepareClass): Round size up to alignment
6554 required by this object. Search superclasses to find required
6556 (get_alignment_from_class): Use alignment of type as it appears
6558 (ALIGNOF): New macro.
6559 (struct aligner): New helper structure.
6561 2003-04-20 Scott Gilbertson <scottg@mantatest.com>
6563 * java/awt/Container.java (addImpl): Enable paint events if adding
6564 a lightweight to a heavyweight.
6565 (addNotify): Ensure that peer is created before
6566 addNotifyContainerChildren.
6567 (addNotifyContainerChildren): Enable paint events if a heavyweight
6568 container contains a lightweight.
6570 2003-04-20 Tom Tromey <tromey@redhat.com>
6572 * java/io/BufferedReader.java, java/io/BufferedWriter.java,
6573 java/io/DataInput.java, java/io/DataOutput.java: Imports from
6576 2003-04-19 Tom Tromey <tromey@redhat.com>
6578 * java/sql/Date.java, java/sql/DriverManager.java,
6579 java/sql/Time.java, java/sql/Timestamp.java: New versions from
6582 * Makefile.in: Rebuilt.
6583 * Makefile.am (ordinary_java_source_files): Added new files.
6584 * java/security/AlgorithmParameterGenerator.java,
6585 java/security/AlgorithmParameters.java, java/security/Engine.java,
6586 java/security/Identity.java, java/security/IdentityScope.java,
6587 java/security/KeyFactory.java,
6588 java/security/KeyPairGenerator.java, java/security/KeyStore.java,
6589 java/security/MessageDigest.java, java/security/Policy.java,
6590 java/security/ProtectionDomain.java,
6591 java/security/SecureRandom.java, java/security/Security.java,
6592 java/security/Signature.java, java/security/SignatureSpi.java,
6593 java/security/SignedObject.java, java/security/Signer.java,
6594 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
6595 java/security/spec/PSSParameterSpec.java,
6596 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
6597 java/security/spec/RSAOtherPrimeInfo.java: New versions from
6600 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
6602 * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
6603 (dispose): Null metrics.
6604 * gnu/awt/xlib/XToolkit.java (sync): Implement.
6605 * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
6607 (finalize): Call dispose.
6608 * gnu/gcj/xlib/Drawable.java (gcCache): New field.
6609 (gcCachedCount): New field.
6610 (finalize): New method.
6611 (putGCInCache): New method.
6612 (getGCFromCache): New method.
6613 * gnu/gcj/xlib/GC.java (GC): Make protected.
6614 (clone): Get new GC from cache if possible.
6615 (create): New static method.
6616 (dispose): Save old GC in cache.
6617 * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
6619 * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
6621 * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
6622 * java/awt/Container.java (visitChild): Dispose gfx2 when
6625 2003-04-19 Jerry Quinn <jlquinn@optonline.net>
6627 * java/math/BigInteger.java (probablePrime): New.
6628 * java/math/BigDecimal.java (unscaledValue): New.
6630 2003-04-19 Ranjit Mathew <rmathew@hotmail.com>
6632 * java/io/File.java (getAbsolutePath): On Windows, take care
6633 of paths like "C:", "G:foo\bar", etc.
6634 (getName): Make it work correctly on Windows.
6635 (getParent): Make it work correctly on Windows. For UNIX,
6636 fix bug that causes "/" to be returned as the parent of "/",
6637 instead of null as returned by Sun's JRE.
6639 * java/io/natFileWin32.cc: Change copyright owner to FSF.
6641 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
6643 * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
6645 (CACHE_SIZE_PER_DISPLAY): New field
6646 (fontMetricsCache): New field
6647 (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
6648 loading ISO10646-1 fonts.
6650 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
6652 * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
6654 * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
6657 2003-04-16 Richard Earnshaw <rearnsha@arm.com>
6659 * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
6662 2003-04-15 Jakub Jelinek <jakub@redhat.com>
6664 * configure.host (*-linux*): Don't set slow_pthread_self if primary
6665 installed libpthread is either linuxthreads with floating stacks or
6668 2003-04-14 Tom Tromey <tromey@redhat.com>
6670 * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
6673 2003-04-10 Tom Tromey <tromey@redhat.com>
6675 * verify.cc (pop64): Removed.
6676 (verify_instructions_0) <op_pop2>: Inline code. Don't throw
6677 exception if top-of-stack is narrow.
6678 (initialize_stack): Check to ensure that <init> is not static and
6681 2003-04-07 Aaron M. Renn (arenn@urbanophile.com)
6683 * java/io/ObjectStreamException
6684 * java/io/FileFilter
6685 * java/io/FilenameFilter
6686 * java/io/ObjectInput
6687 * java/io/ObjectOutput
6688 * java/io/ObjectStreamConstants
6689 Minor doc fixes, format fixes, spelling corrections, etc.
6691 Corrected code samples in Javadocs to match reality
6692 * java/io/DataOutput
6693 * java/io/ObjectInputValidation
6694 Major documentation fixes - all Javadocs re-written or updated
6696 2003-04-06 Michael Koch <konqueror@gmx.de>
6698 * java/net/URLConnection.java:
6699 Import classes directly.
6700 (URLConnection): Merged class documentation with classpath.
6701 (url): Moved, documentation from classpath added.
6702 (doInput): Moved, documentation from classpath added.
6703 (doOutput): Moved, documentation from classpath added.
6704 (allowUserInteraction): Moved.
6705 (useCaches): Moved, documentation from classpath added.
6706 (ifModifiedSince): Moved, documentation from classpath added.
6707 (connected): Moved, documentation from classpath added.
6709 2003-04-06 Michael Koch <konqueror@gmx.de>
6711 * java/io/FileInputStream.java
6712 (skip): Renamed some variables to match classpath, added
6713 checks from classpath.
6715 2003-03-31 Michael Koch <konqueror@gmx.de>
6717 * javax/swing/AbstractAction.java
6718 (AbstractAction): Reformatted.
6719 (serialVersionUID): New private member variable.
6720 * javax/swing/plaf/BorderUIResource.java
6721 (serialVersionUID): New private member variable.
6722 * javax/swing/plaf/basic/BasicLookAndFeel.java
6723 (serialVersionUID): New private member variable.
6725 2003-03-31 Michael Koch <konqueror@gmx.de>
6727 * java/sql/Date.java
6728 (valueOf): Deprecated, reformatted.
6729 (toString): Deprecated, reformatted.
6730 * java/sql/Time.java
6731 (valueOf): Deprecated, reformatted.
6732 (toString): Deprecated, reformatted.
6734 2003-03-31 Michael Koch <konqueror@gmx.de>
6736 * java/rmi/dgc/VMID.java
6737 (isUnique): Deprecated.
6739 2003-03-31 Michael Koch <konqueror@gmx.de>
6742 (separator): Merged documentation from classpath.
6743 (separatorChar): Merged documentation from classpath.
6744 (pathSeparator): Merged documentation from classpath.
6745 (pathSeparatorChar): Merged documentation from classpath.
6746 (path): Merged documentation from classpath.
6747 (canRead): Merged documentation from classpath.
6748 (canWrite): Merged documentation from classpath.
6749 (createNewFile): Merged documentation from classpath.
6750 (delete): Merged documentation from classpath.
6751 (equals): Merged documentation from classpath.
6752 (exists): Merged documentation from classpath.
6753 (File): Renamed p to name to match classpath, merged documentation
6755 (getAbsolutePath): Merged documentation from classpath.
6756 (getCanonicalPath): Merged documentation from classpath.
6757 (getCanonicalFile): Merged documentation from classpath.
6758 (getName): Merged documentation from classpath.
6759 (getParent): Merged documentation from classpath.
6760 (getParentFile): Merged documentation from classpath.
6761 (getPath): Merged documentation from classpath.
6762 (hashCode): Merged documentation from classpath.
6763 (isAbsolute): Merged documentation from classpath.
6764 (isDirectory): Merged documentation from classpath.
6765 (isFile): Merged documentation from classpath.
6766 (isHidden): Merged documentation from classpath.
6767 (lastModified): Merged documentation from classpath.
6768 (length): Merged documentation from classpath.
6769 (list): Merged documentation from classpath.
6770 (listFiles): Merged documentation from classpath.
6771 (toString): Merged documentation from classpath.
6772 (toURL): Merged documentation from classpath.
6773 (mkdir): Merged documentation from classpath.
6774 (mkdirs): Merged documentation from classpath.
6775 (createTempFile): Merged documentation from classpath.
6776 (setReadOnly): Merged documentation from classpath.
6777 (listRoots): Merged documentation from classpath.
6778 (compareTo): Merged documentation from classpath.
6779 (renameTo): Merged documentation from classpath.
6780 (setLastModified): Merged documentation from classpath.
6781 * java/io/PrintStream.java
6782 (auto_flush): Merged documentation from classpath.
6783 (PrintStream): Merged documentation from classpath.
6784 (checkError): Merged documentation from classpath.
6785 (setError): Merged documentation from classpath.
6786 (close): Merged documentation from classpath.
6787 (flush): Merged documentation from classpath.
6788 (print): Merged documentation from classpath.
6789 (println): Merged documentation from classpath.
6790 (write): Renamed count to len to match classpath,
6791 merged documentation from classpath.
6792 * java/io/RandomAccessFile.java
6793 (readShort): Merged documentation from classpath.
6794 (readUnsignedByte): Merged documentation from classpath.
6795 (readUnsignedShort): Merged documentation from classpath.
6796 (readUTF): Merged documentation from classpath.
6797 (seek): Reformatted, merged documentation from classpath.
6798 (skipBytes): Renamed some variables to match classpath, reformatted,
6799 merged documentation from classpath.
6800 (write): Merged documentation from classpath.
6801 (writeBoolean): Merged documentation from classpath.
6802 (writeByte): Merged documentation from classpath.
6803 (writeShort): Merged documentation from classpath.
6804 (writeChar): Merged documentation from classpath.
6805 (writeInt): Merged documentation from classpath.
6806 (writeLong): Merged documentation from classpath.
6807 (writeFloat): Merged documentation from classpath.
6808 (writeDouble): Merged documentation from classpath.
6809 (writeBytes): Merged documentation from classpath.
6810 (writeChars): Merged documentation from classpath.
6811 (writeUTF): Reformatted.
6812 (getChannel): Reformatted.
6814 2003-03-31 Michael Koch <konqueror@gmx.de>
6816 * java/awt/font/TextAttribute.java
6817 (readResolve): Throws java.io.InvalidObjectException.
6819 2003-03-31 Michael Koch <konqueror@gmx.de>
6821 * java/rmi/server/LoaderHandler.java
6822 (loadClass): Deprecated.
6823 (getSecurityContext): Deprecated.
6824 * java/rmi/server/LogStream.java
6825 (getDefaultStream): Deprecated.
6826 (setDefaultStream): Deprecated.
6827 (getOutputStream): Deprecated.
6828 (setOutputStream): Deprecated.
6829 (write): Deprecated.
6830 (toString): Deprecated.
6831 (parseLevel): Deprecated.
6832 * java/rmi/server/Operation.java
6833 (Operation): Deprecated.
6834 (getOperation): Deprecated.
6835 (toString): Deprecated.
6836 * java/rmi/server/RemoteCall.java
6837 (getOutputStream): Deprecated.
6838 (releaseOutputStream): Deprecated.
6839 (getInputStream): Deprecated.
6840 (releaseInputStream): Deprecated.
6841 (getResultStream): Deprecated.
6842 (executeCall): Deprecated.
6844 * java/rmi/server/RemoteRef.java
6845 (invoke): Deprecated.
6846 (newCall): Deprecated.
6848 * java/rmi/server/RemoteStub.java
6849 (setRef): Deprecated.
6850 * java/rmi/server/Skeleton.java:
6851 No need to import java.lang.Exception explicitly.
6852 (dispatch): Deprecated.
6853 (getOperations): Deprecated.
6855 2003-03-31 Michael Koch <konqueror@gmx.de>
6857 * java/rmi/dgc/VMID.java,
6858 java/rmi/registry/RegistryHandler.java,
6859 java/rmi/server/LogStream.java,
6860 java/rmi/server/Operation.java,
6861 java/rmi/server/RemoteCall.java,
6862 java/rmi/server/RemoteRef.java,
6863 java/rmi/server/RemoteStub.java:
6866 2003-03-31 Michael Koch <konqueror@gmx.de>
6868 * javax/swing/AbstractCellEditor.java,
6869 javax/swing/AbstractListModel.java,
6870 javax/swing/ActionMap.java,
6871 javax/swing/BorderFactory.java,
6872 javax/swing/ButtonGroup.java,
6873 javax/swing/DefaultBoundedRangeModel.java,
6874 javax/swing/DefaultButtonModel.java,
6875 javax/swing/DefaultCellEditor.java,
6876 javax/swing/DefaultComboBoxModel.java,
6877 javax/swing/DefaultDesktopManager.java,
6878 javax/swing/DefaultListCellRenderer.java,
6879 javax/swing/DefaultSingleSelectionModel.java,
6880 javax/swing/InputMap.java,
6881 javax/swing/JComponent.java,
6882 javax/swing/JMenu.java,
6883 javax/swing/JSlider.java,
6884 javax/swing/KeyStroke.java,
6885 javax/swing/OverlayLayout.java,
6886 javax/swing/ScrollPaneLayout.java,
6887 javax/swing/SizeRequirements.java,
6888 javax/swing/UIManager.java,
6889 javax/swing/ViewportLayout.java,
6890 javax/swing/border/AbstractBorder.java,
6891 javax/swing/colorchooser/DefaultColorSelectionModel.java,
6892 javax/swing/event/EventListenerList.java,
6893 javax/swing/table/AbstractTableModel.java,
6894 javax/swing/table/DefaultTableCellRenderer.java,
6895 javax/swing/table/DefaultTableColumnModel.java,
6896 javax/swing/table/DefaultTableModel.java,
6897 javax/swing/table/TableColumn.java,
6898 javax/swing/text/StyledEditorKit.java,
6899 javax/swing/tree/DefaultMutableTreeNode.java,
6900 javax/swing/tree/DefaultTreeModel.java,
6901 javax/swing/tree/DefaultTreeSelectionModel.java,
6902 javax/swing/tree/TreePath.java,
6903 javax/swing/undo/AbstractUndoableEdit.java,
6904 javax/swing/undo/StateEdit.java,
6905 javax/swing/undo/StateEditable.java,
6906 javax/swing/undo/UndoableEditSupport.java:
6907 Merges from classpath.
6909 2003-03-30 Tom Tromey <tromey@redhat.com>
6911 * java/lang/String.java (data, boffset, count): Documented.
6912 (String(byte[],String)): Reformatted.
6913 (String(byte[])): Likewise.
6914 (lastIndexOf(int)): Likewise.
6915 (lastIndexOf(String)): Likewise.
6916 (substring(int)): Renamed argument to match Classpath.
6917 (String(StringBuffer)): Don't share buffer if it is nearly empty.
6919 * java/lang/String.java: Miscellaneous minor formatting changes
6920 to match Classpath more closely.
6922 2003-03-29 Eric Blake <ebb9@email.byu.edu>
6923 Tom Tromey <tromey@redhat.com>
6925 * java/lang/natString.cc (hashCode): Use cachedHashCode.
6927 (charAt): Put index in exception.
6928 (contentEquals): New method.
6929 Include StringBuffer.h.
6930 * java/lang/String.java (cachedHashCode): New field.
6931 (String()): Follow classpath implementation.
6933 (contentEquals): Declare.
6934 (subSequence): Don't declare IndexOutIfBoundsException in throws
6936 (matches, replaceFirst, replaceAll, split): New methods from
6939 2003-03-29 Tom Tromey <tromey@redhat.com>
6941 * java/lang/String.java: Reordered to follow Classpath; merged in
6944 * java/text/MessageFormat.java: Removed some whitespace.
6946 * Makefile.in: Rebuilt.
6947 * Makefile.am (awt_java_source_files): Added new files.
6948 * gnu/javax/rmi/PortableServer.java,
6949 gnu/javax/rmi/CORBA/DelegateFactory.java,
6950 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
6951 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
6952 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
6953 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
6954 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
6955 javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
6956 javax/rmi/PortableRemoteObject.java,
6957 javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
6958 javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
6959 javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
6960 javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
6961 javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
6962 javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
6964 * java/lang/natClass.cc (newInstance): Put method name in
6966 (getConstructor): Likewise.
6967 (getDeclaredConstructor): Likewise.
6968 (getPrivateMethod): Likewise.
6970 2003-03-28 Tom Tromey <tromey@redhat.com>
6972 * java/lang/reflect/Proxy.java: New version from Classpath.
6973 * java/lang/Package.java: New version from Classpath.
6975 2003-03-29 Ulrich Weigand <uweigand@de.ibm.com>
6977 * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
6978 * configure: Regenerate.
6980 2003-03-28 Michael Koch <konqueror@gmx.de>
6982 * java/io/File.java:
6983 Import needed classes instead of whole packages, merged class
6984 documentation with classpath, moved constants and variables to top of
6986 * java/io/PrintStream.java:
6987 Merged class documentation with classpath, moved constants and
6988 variables to top of class.
6989 * java/io/RandomAccessFile.java
6990 (RandomAccessFile): Merged with classpath.
6991 (read): Merged with classpath).
6992 (read*): Reformatted.
6994 2003-03-28 Michael Koch <konqueror@gmx.de>
6996 * java/io/FileDescriptor.java
6997 (finalize): Throws Throwable, not IOException.
6998 * java/io/ObjectOutputStream.java
6999 (PutField.put): Doesnt throws anything.
7001 2003Â03-28 Michael Koch <konqueror@gmx.de>
7003 * java/io/FileOutputStream.java:
7004 Merged class documentation and authors with classpath.
7005 (FileOutputStream): Partly merged with classpath.
7006 (write): Merged with classpath.
7007 (getChannel): Make it synchronized instead of explicit block in this
7009 * java/io/RandomAccessFile.java:
7010 Merged class documentation and authors with classpath.
7012 2003-03-26 Tom Tromey <tromey@redhat.com>
7014 * java/lang/natRuntime.cc (insertSystemProperties): Set
7015 gnu.classpath.home.url.
7016 * Makefile.in: Rebuilt.
7017 * Makefile.am: Define LIBDIR.
7019 2003-03-25 Michael Koch <konqueror@gmx.de>
7021 * java/io/FileInputStream.java
7022 (read): Renamed b to buf and off to offset.
7023 * java/io/FileOutputStream.java
7024 (ch): Documentation added.
7025 (FileOutputStream): Documentation added.
7026 (getFD): Documentation added.
7027 (write): Documentation added.
7028 (close): Documentation added.
7029 (getChannel): Documentation added.
7031 2003-03-24 Michael Koch <konqueror@gmx.de>
7033 * java/io/DataOutputStream.java
7034 (write): Merged from classpath.
7035 * java/io/File.java:
7036 Merged copyrigth with classpath.
7037 * java/io/FileInputStream.java
7038 (getChannel): Made it synchronized instead of using a synchronized
7040 * java/io/FileOutputStream.java: Reformatted.
7041 * java/io/InputStreamReader.java
7042 (InputStreamReader): Renamed enc to encoding_name.
7043 (close): Merged documentation from classpath.
7044 (getEncoding): Merged documentation from classpath.
7045 (ready): Merged documentation from classpath.
7046 (read): Merged documentation from classpath.
7047 * java/io/LineNumberReader.java
7048 (lineNumber): Made it private.
7049 (LineNumberReader): Use Constant instead of a direct value.
7050 * java/io/OutputStreamWriter.java
7051 (OutputStreamWriter): Renamed enc to encoding_scheme, merged
7052 documentation from classpath.
7053 (close): Merged documentation from classpath.
7054 (flush): Merged documentation from classpath.
7055 (write): Merged documentation from classpath.
7056 * java/io/PrintStream.java: Reformatted.
7058 2003-03-24 Michael Koch <konqueror@gmx.de>
7060 * javax/swing/text/ComponentView.java
7061 (getComponent): Must be final.
7062 * javax/swing/tree/DefaultTreeCellRenderer.java:
7064 * javax/swing/undo/StateEditable.java:
7067 2003-03-24 Michael Koch <konqueror@gmx.de>
7069 * java/rmi/activation/ActivationInstantiator.java:
7071 * java/rmi/activation/Activator.java:
7073 * java/rmi/registry/RegistryHandler.java:
7074 Remerged from classpath.
7076 2003-03-24 Michael Koch <konqueror@gmx.de>
7078 * java/util/Date.java:
7079 Fixed documentation starting tag to make javadoc happy.
7080 * java/util/regex/Pattern.java
7081 (Pattern): Implements Serializable.
7082 * java/util/PatternSyntaxException.java
7083 (serialVersionUID): New member variable.
7085 2003-03-24 Michael Koch <koqnueror@gmx.de>
7087 * java/awt/ContainerOrderFocusTraversalPolicy.java
7088 (getFirstComponent): Implemented.
7089 (getLastComponent): Implemented.
7090 (getDefaultComponent): Implemented.
7091 (setImplicitDownCycleTraversal): Fixed implementation.
7092 * java/awt/Robot.java
7093 (Robot): Added documentation.
7094 * java/awt/Toolkit.java
7095 (getFontList): Deprecated.
7096 (getFontMetrics): Deprecated.
7097 (getPrintJob): Added documentation.
7098 (getSystemSelection): Added documentation.
7099 (getLockingKeyState): Added documentation.
7100 (setLockingKeyState): Added documentation.
7101 (createCustomCursor): Added documentation.
7102 (getBestCursorSize): Added documentation.
7103 (getMaximumCursorColors): Added documentation.
7104 (isFrameStateSupported): Added documentation.
7106 2003-03-24 Michael Koch <konqueror@gmx.de>
7108 * java/io/RandomAccessFile.java:
7109 More little merges with classpath. No code changes.
7111 2003-03-24 Michael Koch <konqueror@gmx.de>
7113 * java/net/natInetAddressNoNet.cc:
7115 * java/net/natPlainDatagramSocketImplNoNet.cc:
7116 Fixed inlcude of java/net/DatagramPacket.h.
7117 * java/net/natPlainSocketImplNoNet.cc:
7118 Include some missing classes.
7120 2003-03-24 Michael Koch <konqueror@gmx.de>
7122 * java/awt/dnd/DropTarget.java
7123 (DropTargetAutoScroller): According to the online documentation, this
7124 is protected, but in reality it is public.
7125 * java/awt/dnd/DropTargetContext.java
7126 (TransferableProxy): According to the online documentation, this
7127 is protected, but in reality it is public.
7129 2003-03-24 Michael Koch <konqueror@gmx.de>
7131 * java/io/DataInputStream.java
7132 (): Wrapped documentation line.
7133 (): Fixed @return tag.
7134 * java/io/DataOutputStream.java
7135 (written): Moved to top of class.
7136 (all methods): Merged documentation from classpath.
7137 * java/io/File.java:
7138 Merged copyright year with classpath.
7139 * java/io/FileInputStream.java
7140 (all methods): Merged documentation from classpath.
7141 * java/io/LineNumberReader.java
7142 (getLineNumber): Fixed @return tag.
7143 * java/io/ObjectInputStream.java.
7145 * java/io/ObjectOutputStream.java:
7146 Reformatted, fixed some @see tags.
7147 * java/io/OutputStreamWriter.java:
7149 * java/io/Writer.java:
7152 2003-03-24 Michael Koch <konqueror@gmx.de>
7154 * java/awt/Frame.java
7155 (DEFAULT_CURSOR): Fixed @deprecated tag.
7156 (setCursor): Fixed @deprecated tag.
7158 2003-03-24 Michael Koch <konqueror@gmx.de>
7160 * java/beans/beancontext/BeanContextEvent.java:
7163 2003-03-23 Eric Blake <ebb9@email.byu.edu>
7165 * java/lang/natStringBuffer.cc (regionMatches): New function.
7166 * java/lang/String.java (count): Now package-private.
7167 * java/lang/StringBuffer.java: Merged with Classpath.
7169 2003-03-23 Michael Koch <konqueror@gmx.de>
7171 * java/io/BufferedOutputStream.java:
7173 * java/io/BufferedReader.java:
7175 * java/io/ByteArrayOutputStream.java
7176 (size): Fixed @see tag.
7177 * java/io/CharArrayWriter.java
7178 (size): Fixed @see tag.
7179 * java/io/DataInput.java:
7181 * java/io/DataOutput.java:
7183 * java/io/DataOutputStream.java:
7184 Merged copyright years with classpath.
7185 * java/io/Externalizable.java:
7187 * java/io/FileFilter.java:
7189 * java/io/FileInputStream.java:
7190 Merged copyright years with classpath.
7191 * java/io/FileOutputStream.java:
7192 Merged copyright years with classpath.
7193 * java/io/FilePermission.java
7194 (FilePermission): Replaced @XXX with FIXME:.
7195 * java/io/FileWriter.java:
7197 * java/io/FilenameFilter.java:
7199 * java/io/FilterInputStream.java:
7201 * java/io/FilterOutputStream.java:
7203 * java/io/FilterReader.java:
7205 * java/io/FilterWriter.java:
7207 * java/io/LineNumberInputStream.java
7208 (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
7210 (getLineNumber): Fixed @return tag.
7211 * java/io/ObjectInput.java:
7213 * java/io/ObjectOutput.java:
7215 * java/io/ObjectStreamClass.java:
7217 * java/io/PrintStream.java:
7218 Merged copyright years with classpath.
7219 * java/io/PushbackReader.java
7220 (PushbackReader): Replaced @code with @param.
7221 * java/io/SerializablePermission.java:
7223 * java/io/StreamTokenizer.java
7224 (resetSyntax): Fixed @see tag.
7226 2003-03-22 Richard Henderson <rth@redhat.com>
7228 * sysdep/ia64/locks.h: Include ia64intrin.h.
7229 (compare_and_swap): Use __sync_bool_compare_and_swap.
7230 (compare_and_swap_release): Expose ar.ccv assignment.
7232 2003-03-22 Andreas Tobler <a.tobler@schweiz.ch>
7234 * include/posix.h: Add suffix for darwin dynamic libraries.
7236 2003-03-21 Michael Koch <konqueror@gmx.de>
7238 * javax/swing/Action.java
7239 (ACCELERATOR_KEY): New constant.
7240 (ACTION_COMMAND_KEY): Likewise.
7241 (MNEMONIC_KEY): Likewise.
7242 * javax/swing/UnsupportedLookAndFeelException.java
7243 (UnsupportedLookAndFeelException): Must be public.
7244 * javax/swing/WindowConstants.java
7245 (EXIT_ON_CLOSE): New constant.
7246 * javax/swing/text/BadLocationException.java
7247 (offset): New member variable.
7248 (BadLocationException): New implementation, documentation added.
7249 (offsetRequested): New method.
7250 * javax/swing/text/Caret.java:
7252 * javax/swing/text/Document.java:
7255 2003-03-21 Michael Koch <konqueror@gmx.de>
7257 * java/rmi/activation/Activatable.java
7258 (serialVersionUID): New member variable.
7259 * java/rmi/activation/ActivationGroup.java
7260 (serialVersionUID): New member variable.
7261 * java/rmi/activation/ActivationGroupDesc.java
7262 (serialVersionUID): New member variable.
7263 * java/rmi/registry/Registry.java:
7265 (Registry): Deprecated.
7266 * java/rmi/server/LoaderHandler.java
7268 (LoaderHandler): Deprecated.
7269 * java/rmi/server/LogStream.java
7271 (LogStream): Deprecated.
7272 * java/rmi/server/Operation.java
7273 (Operation): Deprecated.
7274 * java/rmi/server/RMIFailureHandler.java:
7276 * java/rmi/server/RMISocketFactory.java:
7278 * java/rmi/server/RemoteCall.java
7279 (RemoteCall): Deprecated.
7280 * java/rmi/server/RemoteStub.java:
7282 * java/rmi/server/Skeleton.java
7284 (Skeleton): Deprecated.
7286 2003-03-21 Michael Koch <konqueror@gmx.de>
7288 * java/io/LineNumberReader.java
7289 (LineNumberReader): Merged documentation with classpath.
7290 (getLineNumber): Likewise.
7291 (setLineNumber): Likewise.
7295 (readLine): Likewise.
7298 2003-03-21 Michael Koch <konqueror@gmx.de>
7300 * java/rmi/RMISecurityManager.java
7301 (checkAccept): Removed.
7302 (checkAccess): Likewise.
7303 (checkAccess): Likewise.
7304 (checkAwtEventQueueAccess): Likewise.
7305 (checkConnect): Likewise.
7306 (checkCreateClassLoader): Likewise.
7307 (checkDelete): Likewise.
7308 (checkExec): Likewise.
7309 (checkExit): Likewise.
7310 (checkLink): Likewise.
7311 (checkListen): Likewise.
7312 (checkMemberAccess): Likewise.
7313 (checkMulticast): Likewise.
7314 (checkPackageAccess): Likewise.
7315 (checkPackageDefinition): Likewise.
7316 (checkPermission): Likewise.
7317 (checkPrintJobAccess): Likewise.
7318 (checkPropertiesAccess): Likewise.
7319 (checkPropertyAccess): Likewise.
7320 (checkRead): Likewise.
7321 (checkSecurityAccess): Likewise.
7322 (checkSetFactory): Likewise.
7323 (checkSystemClipboardAccess): Likewise.
7324 (checkTopLevelWindow): Likewise.
7325 (checkWrite): Likewise.
7327 2003-03-20 Michael Koch <konqueror@gmx.de>
7329 * gnu/java/nio/FileChannelImpl.java
7331 (map_address): New member variable.
7332 (length): Make it package private.
7333 (fd): Make it package private.
7334 (buf): Make it package private.
7335 (file_obj): Make it package private.
7336 (FileChannelImpl): New constructor.
7337 (nio_mmap_file): Use RawData instead of long.
7338 (nio_munmap_file): Use RawData instead of long.
7339 (nio_msync): Use RawData instead of long.
7340 (implCloseChannel): New implementation using map_address.
7343 (create_direct_mapped_buffer): Implemented, use RawData, throws
7345 (force): Use map_address instead of address.
7346 * gnu/java/nio/MappedByteFileBuffer.java
7348 (map_address): New member variable.
7349 (MappedByteFileBuffer): Use map_address instead of address, reformated.
7350 (several methods): Use map_address instead of address, replaced long
7351 with RawData where appropriate.
7352 * gnu/java/nio/natFileChannelImpl.cc
7353 (nio_mmap_file): Replaced long with RawData.
7354 (nio_munmap_file): Replaced long with RawData.
7355 (nio_msync): Replaced long with RawData.
7356 * gnu/java/nio/natMappedByteFileBuffer.cc
7357 (several methods): Replaced long with RawData where appropriate.
7359 2003-03-20 Michael Koch <konqueror@gmx.de>
7361 * java/net/InetAddress.java,
7362 java/net/JarURLConnection.java,
7363 java/net/PlainDatagramSocketImpl.java,
7364 java/net/PlainSocketImpl.java,
7365 java/net/URLConnection.java:
7366 Merged copyright statements with classpath for easier merging.
7368 2003-03-20 Michael Koch <konqueror@gmx.de>
7370 * java/io/FileInputStream.java
7371 (getChannel): New implementation.
7372 * java/io/FileOutputStream.java
7373 (ch): New member variable.
7374 (getChannel): Implemented.
7375 * java/io/RandomAccessFile.java
7376 (RandomAccessFile): Throws FileNotFoundException instead of
7378 (getChannel): New method.
7379 (ch): New member variable.
7381 2003-03-20 Michael Koch <konqueror@gmx.de>
7383 * java/io/DataOutputStream.java,
7385 java/io/FileInputStream.java,
7386 java/io/FileOutputStream.java,
7387 java/io/InputStreamReader.java,
7388 java/io/LineNumberReader.java,
7389 java/io/OutputStreamWriter.java,
7390 java/io/PrintStream.java,
7391 java/io/RandomAccessFile.java:
7392 Merged copyright statements with classpath for easier merging.
7394 2003-03-19 Michael Koch <konqueror@gmx.de>
7396 * java/lang/Process.java:
7397 Merged from classpath.
7399 2003-03-19 Michael Koch <konqueror@gmx.de>
7401 * java/io/FileOutputStream.java
7402 (FileOutputStream): New constructor, merged from classpath.
7403 * java/io/FileWriter.java
7404 (FileWriter): New constructor, merged from classpath.
7406 2003-03-18 Michael Koch <konqueror@gmx.de>
7408 * java/awt/ScrollPane.java
7409 (ScrollPane): Rewrote for new ScrollPaneAdjustable.
7410 (getViewportSize): Likewise.
7411 (addNotify): Likewise.
7412 (removeNotify): Likewise.
7413 * java/awt/ScrollPaneAdjustable.java
7414 (ScrollPaneAdjustable): No longer extends Scrollbar.
7415 * java/beans/beancontext/BeanContextServices.java:
7417 (getService): Added throws TooManyListenersException;
7418 * java/beans/beancontext/BeanContextServicesSupport.java:
7421 2003-03-18 Michael Koch <konqueror@gmx.de>
7423 * java/io/BufferedOutputStream.java,
7424 java/io/DataInput.java,
7425 java/io/DataInputStream.java,
7426 java/io/DataOutput.java,
7427 java/io/Externalizable.java:
7428 More merges from classpath.
7430 2003-03-18 Michael Koch <konqueror@gmx.de>
7432 * configure.in: Fixed links to platform dependant java.net files.
7433 * configure: Regenerated.
7434 * java/net/natInetAddress.cc,
7435 java/net/natNetworkInterface.cc,
7436 java/net/natPlainDatagramSocketImpl.cc,
7437 java/net/natPlainSocketImpl.cc:
7440 2003-03-18 Michael Koch <konqueror@gmx.de>
7442 * configure.in: Create links to architecture dependent files,
7443 introduced PLATFORMNET variable (set to NoNet for newlib usage).
7444 * configure: Regenerated.
7445 * java/net/natInetAddressNoNet.cc,
7446 java/net/natInetAddressPosix.cc,
7447 java/net/natInetAddressWin32.cc,
7448 java/net/natNetworkInterfaceNoNet.cc,
7449 java/net/natNetworkInterfacePosix.cc,
7450 java/net/natNetworkInterfaceWin32.cc,
7451 java/net/natPlainDatagramSocketImplNoNet.cc,
7452 java/net/natPlainDatagramSocketImplPosix.cc,
7453 java/net/natPlainDatagramSocketImplWin32.cc,
7454 java/net/natPlainSocketImplNoNet.cc,
7455 java/net/natPlainSocketImplPosix.cc,
7456 java/net/natPlainSocketImplWin32.cc: New files.
7458 2003-03-18 Michael Koch <konqueror@gmx.de>
7460 * java/io/BufferedReader.java,
7461 java/io/BufferedWriter.java,
7462 java/io/ByteArrayOutputStream.java,
7463 java/io/FileFilter.java,
7464 java/io/FilePermission.java,
7465 java/io/FileReader.java,
7466 java/io/FileWriter.java,
7467 java/io/FilenameFilter.java,
7468 java/io/FilterInputStream.java,
7469 java/io/FilterOutputStream.java,
7470 java/io/FilterReader.java,
7471 java/io/FilterWriter.java,
7472 java/io/ObjectInput.java,
7473 java/io/ObjectInputValidation.java,
7474 java/io/ObjectOutput.java,
7475 java/io/ObjectStreamField.java,
7476 java/io/PipedInputStream.java,
7477 java/io/PipedReader.java,
7478 java/io/PrintWriter.java,
7479 java/io/PushbackReader.java,
7480 java/io/Reader.java,
7481 java/io/SerializablePermission.java,
7482 java/io/StringReader.java,
7483 java/io/Writer.java:
7484 Merged from classpath.
7486 2003-03-17 Michael Koch <konqueror@gmx.de>
7488 * java/awt/ScrollPaneAdjustable.java:
7491 2003-03-17 Michael Koch <konqueror@gmx.de>
7493 * java/net/DatagramSocket.java
7494 (connect): Fixed comment.
7495 * java/nio/ByteBuffer.java
7496 (hasArray): Fixed comment.
7498 2003-03-17 Michael Koch <konqueror@gmx.de>
7500 * java/beans/Beans.java:
7501 Explicitely import classes not packages.
7502 * java/beans/FeatureDescriptor.java
7503 (preferred): New member variable.
7504 (isPreferred): New method.
7505 (setPreferred): New method.
7506 * java/beans/PropertyEditorManager.java:
7507 Explicitely import used classes.
7508 * java/beans/beancontext/BeanContextChild.java:
7509 Added line wrapping.
7510 * java/beans/beancontext/BeanContextChildSupport.java:
7512 * java/beans/beancontext/BeanContextEvent.java:
7515 2003-03-17 Michael Koch <konqueror@gmx.de>
7517 * java/awt/Dialog.java
7518 (Dialog): New constructor, changed implementations, added
7520 * java/awt/ScrollPaneAdjustable.java
7521 (ScrollPaneAdjustable): Extends Object, implements Adjustable and
7523 (serialVersionUID): New member variable.
7524 (sp): New member variable.
7525 (orientation): New member variable.
7526 (value): New member variable.
7527 (minimum): New member variable.
7528 (maximum): New member variable.
7529 (visibleAmount): New member variable.
7530 (unitIncrement): New member variable.
7531 (blockIncrement): New member variable.
7532 (AdjustmentListener): New member variable.
7533 (ScrollPaneAdjustable): New implementation.
7534 (addAdjustmentListener): New method.
7535 (removeAdjustmentListener): New method.
7536 (getAdjustmentListeners): New method.
7537 (getBlockIncrement): New method.
7538 (getMaximum): New method.
7539 (getMinimum): New method.
7540 (getOrientation): New method.
7541 (getUnitIncrement): New method.
7542 (getValue): New method.
7543 (getVisibleAmount): New method.
7544 (setBlockIncrement): New method.
7545 (setMaximum): Implemented.
7546 (setMinimum): Implemented.
7547 (setUnitIncrement): New method.
7548 (setValue): New method.
7549 (setVisibleAmount): Implemented.
7550 (paramString): New stubbed method.
7551 * java/awt/Window.java
7552 (show): Call setVisible().
7553 (hide): Call setVisible().
7554 (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
7555 and WINDOW_STATE_CHANGED.
7556 (processWindowFocusEvent): New method.
7557 (processWindowStateEvent): New method.
7558 (postEvent): Deprecated.
7559 (applyResourceBundle): Deprecated.
7560 * java/awt/datatransfer/DataFlavor.java
7561 (DataFlavor): Doesn't thow ClassNotFoundException.
7563 2003-03-17 Michael Koch
7565 * javax/print/attribute/Attribute.java,
7566 javax/print/attribute/AttributeSet.java,
7567 javax/print/attribute/PrintRequestAttributeSet.java:
7570 (javax_source_files): Added new files:
7571 javax/print/attribute/Attribute.java
7572 javax/print/attribute/AttributeSet.java
7573 javax/print/attribute/PrintRequestAttributeSet.java
7574 * Makefile.in: Regenerated.
7576 2003-03-17 Michael Koch
7578 * javax/print/attribute/Attribute.java,
7579 javax/print/attribute/AttributeSet.java,
7580 javax/print/attribute/PrintRequestAttributeSet.java:
7583 (awt_java_source_files): Added new files:
7584 javax/print/attribute/Attribute.java
7585 javax/print/attribute/AttributeSet.java
7586 javax/print/attribute/PrintRequestAttributeSet.java
7587 * Makefile.in: Regenerated.
7589 2003-03-16 Tom Tromey <tromey@redhat.com>
7591 * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
7593 * java/lang/natRuntime.cc (insertSystemProperties): Use
7594 _Jv_platform_path_separator.
7595 (nativeGetLibname): Use _Jv_platform_file_separator.
7596 (_load): Use _Jv_platform_onload_names.
7597 (onload_names): New global.
7598 * include/win32.h (_Jv_platform_file_separator): New define.
7599 (_Jv_platform_path_separator): Likewise.
7600 (_Jv_platform_onload_names): Likewise.
7601 (_Jv_platform_ffi_abi): Likewise.
7602 * include/posix.h (_Jv_platform_file_separator): New define.
7603 (_Jv_platform_path_separator): Likewise.
7604 (_Jv_platform_onload_names): Likewise.
7605 (_Jv_platform_ffi_abi): Likewise.
7607 2003-03-14 Hans Boehm <Hans.Boehm@hp.com>
7609 * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
7611 2003-02-14 Jeroen Frijters <jeroen@sumatra.nl>
7613 * java/io/ObjectInputStream.java (readObject): Cleaned up the class
7615 (readFields(Object,ObjectStreamField[],boolean)): Changed argument
7616 list to Object,ObjectStreamClass, moved callReadMethod code up into
7617 readObject and added Class argument to all setXxxField calls.
7618 (callReadMethod): Changed Class argument to ObjectStreamClass to be
7619 consistent with ObjectOutputStream and to facilitate caching the
7620 Method in the future.
7621 (setBooleanField): Added Class argument.
7622 (setByteField): Likewise.
7623 (setCharField): Likewise.
7624 (setDoubleField): Likewise.
7625 (setFloatField): Likewise.
7626 (setIntField): Likewise.
7627 (setLongField): Likewise.
7628 (setShortField): Likewise.
7629 (setObjectField): Likewise.
7630 * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
7631 class hierarchy loop.
7632 (defaultWriteObject): Call writeFields with new argument list.
7633 (writeFields(Object,ObjectStreamField[],boolean): Changed argument
7634 list to Object,ObjectStreamClass, moved callWriteMethod up into
7635 writeObject and added Class argument to all getXxxField calls.
7636 (callWriteMethod): Added ObjectStreamClass argument to be able to
7637 get the proper class to call getMethod on (each class can have (or
7638 not have) its own writeObject method).
7639 (getBooleanField): Added Class argument.
7640 (getByteField): Likewise.
7641 (getCharField): Likewise.
7642 (getDoubleField): Likewise.
7643 (getFloatField): Likewise.
7644 (getIntField): Likewise.
7645 (getLongField): Likewise.
7646 (getShortField): Likewise.
7647 (getObjectField): Likewise.
7648 * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
7649 facilitate caching the Method object in the future.
7651 2003-03-12 Andreas Schwab <schwab@suse.de>
7653 * configure.in: Avoid trailing /. in toolexeclibdir.
7654 * configure: Rebuilt.
7656 2003-03-11 Michael Koch <konqueror@gmx.de>
7658 * gnu/java/nio/ByteBufferImpl.java
7659 (putInt): Use limit() instead of limit.
7660 * gnu/java/nio/CharBufferImpl.java
7661 (slice): Fixed implementation.
7662 (subSequence): Better bounds checking.
7663 * gnu/java/nio/MappedByteFileBuffer.java:
7664 Import all needed classes directly.
7665 * java/nio/ByteBuffer.java
7666 (hashCode): New dummy method.
7667 * java/nio/CharBuffer.java
7668 (array_offset): New member variable.
7669 (hasArray): Fixed documentation.
7670 (arrayOffset): Return array_offset.
7672 2003-03-10 2003-02-27 Mohan Embar <gnustuff@thisiscool.com>
7674 * include/jvm.h: removed declaration of _Jv_ThisExecutable()
7675 setter; made return value of getter const char* instead of char*
7676 * prims.cc: removed all references to _Jv_ThisExecutable().
7677 These are in the platform-specific sections now.
7678 * posix.cc: define platform-specific _Jv_ThisExecutable().
7679 Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
7680 * win32.cc: define platform-specific _Jv_ThisExecutable()
7681 using GetModuleFilename()
7682 * java/lang/natRuntime.cc: set gnu.gcj.progname property
7683 to argv[0] instead of _Jv_ThisExecutable()
7685 2003-03-10 Ranjit Mathew <rmathew@hotmail.com>
7687 * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
7688 that is set if we are using addr2name.awk instead of addr2line.
7689 (NameFinder): Set usingAddr2name if using addr2name.awk.
7690 (getExternalLabel): New native method to convert a method
7691 name to an external label.
7692 (lookup): Convert name given by addr2line to an external label
7695 * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
7696 constant representing the prefix attached to method names to
7697 convert them to an external label.
7698 (gnu::gcj::runtime::NameFinder::getExternalLabel): Define
7701 2003-03-10 Tom Tromey <tromey@redhat.com>
7703 * Makefile.in: Rebuilt.
7704 * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
7705 (JC1FLAGS): Removed -Wno-deprecated.
7707 2003-03-10 Michael Koch <konqueror@gmx.de>
7709 * java/nio/ByteOrder.java
7710 (nativeOrder): Working implementation, added documentation.
7711 (toString): Added documentation.
7713 2003-03-10 Michael Koch <konqueror@gmx.de>
7715 * java/net/DatagramSocket.java,
7716 java/net/MulticastSocket.java,
7717 java/net/Socket.java,
7719 java/net/URLConnection.java:
7720 Fixed some documentation tags to make javadoc and friends happy.
7722 2003-03-10 Michael Koch <koqnueror@gmx.de>
7724 * java/beans/beancontext/BeanContextServicesSupport.java,
7725 java/beans/beancontext/BeanContextSupport.java: New files.
7727 (awt_source_files): Added new files.
7728 * Makefile.in: Regenerated.
7730 2003-03-10 Michael Koch <konqueror@gmx.de>
7732 * java/awt/FocusTraversalPolicy.java
7733 (FocusTraversalPolicy): Documentation added.
7734 (getComponentAfter): Documentation added.
7735 (getComponentBefore): Documentation added.
7736 (getFirstComponent): Documentation added.
7737 (getLastComponent): Documentation added.
7738 (getDefaultComponent): Documentation added.
7739 (getInitialComponent): Documentation added.
7740 * java/awt/ScrollPaneAdjustable.java
7741 (sp): New member variable.
7742 (orientation): New member variable.
7743 (value): New member variable.
7744 (minimum): New member variable.
7745 (maximum): New member variable.
7746 (visibleAmount): New member variable.
7747 (unitIncrement): New member variable.
7748 (blockIncrement): New member variable.
7749 (adjustmentListener): New member variable.
7750 (ScrollPaneAdjustable): Rewrote.
7751 (addAdjustmentListener): New method.
7752 (removeAdjustmentListener): New method.
7753 (getAdjustmentListeners): New method.
7754 (getBlockIncrement): New method.
7755 (getMaximum): New method.
7756 (getMinimum): New method.
7757 (getOrientation): New method.
7758 (getUnitIncrement): New method.
7759 (getValue): New method.
7760 (getVisibleAmount): New method.
7761 (setBlockIncrement): New method.
7762 (setUnitIncrement): New method.
7763 (setMaximum): Implemented.
7764 (setMinimum): Implemented.
7765 (setValue): New method.
7766 (setVisibleAmount): Implemented.
7767 (paramString): New method.
7768 * java/awt/Window.java
7769 (show): Use setVisible(true) instead of super.show().
7770 (hide): Use sevVisible(false) instead of super.hide().
7771 (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
7772 WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
7773 (postEvent): Deprecated.
7774 (applyResourceBundle): Deprecated.
7775 (processWindowFocusEvent): New method.
7776 (processWindowStateEvent): New method.
7777 * java/awt/datatransfer/DataFlavor.java: Reindented.
7778 * java/awt/font/TextHitInfo.java
7779 (charIndex): New member variable.
7780 (leadingEdge): New member variable.
7781 (TextHitInfo): New constructor.
7782 (getCharIndex): Implemented.
7783 (isLeadingEdge): Implemented.
7784 (getInsertionIndex): Implemented.
7785 (hashCode): Access charIndex directly.
7786 (equals): Reformated.
7787 (leading): Implemented.
7788 (trailing): Implemented.
7789 (beforeOffset): Implemented.
7790 (afterOffset): Implemented.
7791 (getOtherHit): Implemented.
7792 (getOffsetHit): Implemented.
7793 (toString): Implemented.
7794 * java/awt/image/BufferedImage.java
7795 (BufferedImage): Implements WritableRenderedImage.
7796 (observers): New member variable.
7797 (addTileObserver): New method.
7798 (removeTileObserver): New method.
7800 2003-03-09 Tom Tromey <tromey@redhat.com>
7803 * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
7804 to lseek. Return 0 if we can't compute the value.
7806 2003-03-03 Michael Koch <konqueror@gmx.de>
7808 * java/net/NetworkInterface.java: Merged with classpath.
7810 2003-03-03 Tom Tromey <tromey@redhat.com>
7812 * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
7814 (handle_ret_insn): Fail if returning to jsr that appears at end of
7817 2003-03-03 Michael Koch <konqueror@gmx.de>
7820 (ordinary_java_source_files):
7821 Added gnu/java/nio/MappedByteFileBuffer.java.
7823 Added gnu/java/nio/natMappedByteFileBuffer.cc.
7824 * Makefile.in: Regenerated.
7826 2003-03-03 Michael Koch <konqueror@gmx.de>
7828 * java/net/DatagramSocket.java
7829 (connect): Merged comment from classpath.
7830 (receive): Merged documentation from classpath.
7831 * java/net/Socket.java
7832 (setSoTimeout): Clarified documentation.
7834 (getPath): Merged from classpath.
7835 (getUserInfo): Merged from classpath.
7836 (getQuery): Merged from classpath.
7837 * java/net/URLStreamHandler.java
7838 (toExternalForm): Merged from classpath.
7840 2003-03-02 Mark Wielaard <mark@klomp.org>
7842 * java/util/Properties.java (load): Only skip line if the first
7843 character is a comment, whitespaces don't count.
7845 2003-03-02 Michael Koch <konqueror@gmx.de>
7847 * java/net/NetPermission.java:
7848 Merged copyright with classpath.
7850 2003-03-02 Michael Koch <konqueror@gmx.de>
7852 * java/lang/Package.java:
7853 Remerged from classpath.
7855 2003-03-02 Michael Koch <konqueror@gmx.de>
7857 * java/net/HttpURLConnection.java
7858 (HTTP_SERVER_ERROR): Deprecated.
7859 * java/net/MulticastSocket.java
7860 (send): Replaced checkMulticast with appropriate checkPermission call,
7862 * java/net/URLDecoder.java
7863 (decode): Deprecated.
7864 * java/net/URLEncoder.java
7865 (encode): Deprecated.
7867 2003-03-02 Michael Koch <konqueror@gmx.de>
7869 * javax/swing/text/Caret.java
7870 (getMagicCaretPosition): Fixed typo in method name.
7871 * javax/swing/text/DefaultCaret.java
7872 (getMagicCaretPosition): Fixed typo in method name.
7874 2003-03-02 Michael Koch <konqueror@gmx.de>
7876 * java/awt/List.java
7877 (setMultipleSelections): Deprecated.
7878 (delItem): Deprecated.
7879 * java/awt/MenuComponent.java
7880 (getPeer): Deprecated.
7881 * java/awt/ScrollPane.java
7882 (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
7883 * java/awt/dnd/MouseDragGestureRecognizer.java
7884 (mouseClicked): Added comment.
7885 (mousePressed): Added comment.
7886 (mouseReleased): Added comment.
7887 (mouseEntered): Added comment.
7888 (mouseExited): Added comment.
7889 (mouseDragged): Added comment.
7890 (mouseMoved): Added comment.
7891 * java/awt/event/KeyEvent.java
7892 (KeyEvent): Deprecated.
7893 (setModifiers): Deprecated.
7895 2003-03-02 Michael Koch <konqueror@gmx.de>
7897 * gnu/java/nio/FileChannelImpl.java
7898 (fd): Type FileDescriptor instead of int.
7899 (lengthInternal): Removed.
7900 (FileChannelImpl): Fixed arguments, check type of file object.
7901 (size): Made it native.
7902 (implPosition): New native method.
7903 (implTruncate): New native method.
7904 (position): Implemented.
7905 (truncate): Implemented.
7906 (nio_mmap_file): Changed arguments.
7907 (nio_munmap_file): Changed arguments.
7908 (nio_msync): Changed arguments.
7909 * gnu/java/nio/natFileChannelImpl.cc
7910 (lengthInternal): Removed.
7912 (implPosition): New method.
7913 (implTruncate): New method.
7914 (nio_mmap_file): Changed arguments.
7915 (nio_munmap_file): Changed arguments.
7916 (nio_msync): Changed arguments.
7918 2003-03-02 Michael Koch <konqueror@gmx.de>
7920 * java/awt/dnd/DropTargetContext.java:
7921 Compile fix: Forgot to commit import.
7923 2003-03-02 Michael Koch <konqueror@gmx.de>
7925 * java/awt/Component.java,
7926 java/awt/ScrollPane.java:
7929 2003-03-02 Michael Koch <konqueror@gmx.de>
7931 * java/awt/dnd/DnDEventMulticaster.java: New file.
7932 * java/awt/dnd/DragSource.java
7933 (flavorMap): New member variable.
7934 (dragSourceListener): New member variable.
7935 (dragSourceMotionListener): New member variable.
7936 (getFlavorMap): Implemented.
7937 (createDragGestureRecognizer): Implemented.
7938 (addDragSourceListener): Implemented.
7939 (removeDragSourceListener): Implemented.
7940 (getDragSourceListeners): Implemented.
7941 (addDragSourceMotionListener): Implemented.
7942 (removeDragSourceMotionListener): Implemented.
7943 (getDragSourceMotionListeners): Implemented.
7944 (getListeners): Implemented.
7945 * java/awt/dnd/DragSourceContext.java
7946 (peer): New member variable.
7947 (cursor): New member variable.
7948 (transferable): New member variable.
7949 (trigger): New member variable.
7950 (dragSourceListener): New member variable.
7951 (image): New member variable.
7952 (offset): New member variable.
7953 (DragSourceContext): Implemented.
7954 (getDragSource): Implemented.
7955 (getComponent): Implemented.
7956 (getTrigger): Implemented.
7957 (getSourceActions): Implemented.
7958 (setCursor): Implemented.
7959 (getCursor): Implemented.
7960 (addDragSourceListener): Implemented.
7961 (removeDragSourceListener): Implemented.
7962 (getTransferable): Implemented.
7963 * java/awt/dnd/DropTarget.java
7964 (DropTargetAutoScroller.component): New member variable.
7965 (DropTargetAutoScroller.point): New member variable.
7966 (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
7967 (DropTargetAutoScroller.updateLocation): Implemented.
7968 (active): Renamed from isActive, defaults to true now.
7969 (component): New member variable.
7970 (flavorMap): New member variable.
7971 (actions): New member variable.
7972 (dropTargetContext): New member variable.
7973 (dropTargetListener): New member variable.
7974 (DropTarget): Implemented.
7975 (getComponent): Implemented.
7976 (setComponent): Implemented.
7977 (setDefaultActions): Implemented.
7978 (getDefaultActions): Implemented.
7979 (setActive): Use active instead of isActive.
7980 (isActive): Use active instead of isActive.
7981 (addDropTargetListener): Implemented.
7982 (removeDropTargetListener): Implemented.
7983 (getFlavorMap): Implemented.
7984 (setFlavorMap): Implemented.
7985 (getDropTargetContext): Implemented.
7986 (createDropTargetContext): Implemented.
7987 (createDropTargetAutoScroller): Implemented.
7988 * java/awt/dnd/DropTargetContext.java
7989 (TransferableProxy.getTransferDataFlavors): Implemented.
7990 (TransferableProxy.isDataFlavorSupported): Implemented.
7991 (TransferableProxy.getTransferData): Implemented.
7992 (dropTarget): New member variable.
7993 (dtcp): New member variable.
7994 (DropTargetContext): New package private constructor.
7995 (getDropTarget): Implemented.
7996 (getComponent): Implemented.
7997 (addNotify): Implemented.
7998 (removeNotify): Implemented.
7999 (getCurrentDataFlavorsAsList): Implemented.
8000 (isDataFlavorSupported): Implemented.
8001 * java/awt/dnd/MouseDragGestureRecognizer.java
8002 (registerListeners): Implemented.
8003 (unregisterListeners): Implemented.
8005 (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
8006 * Makefile.in: Regenerated.
8008 2003-03-02 Michael Koch <konqueror@gmx.de>
8010 * java/awt/Component.java
8011 (eventTypeEnabled): New method.
8012 (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
8013 * java/awt/Container.java
8014 (changeSupport): New member variable.
8015 (addPropertyChangeListener): New methods.
8016 * java/awt/ContainerOrderFocusTraversalPolicy.java
8017 (ContainerOrderFocusTraversalPolicy): Added comment.
8018 (getComponentAfter): Throw exception, documentation added.
8019 (getComponentBefore): Throw exception, documentation added.
8020 (getFirstComponent): Throw exception, documentation added.
8021 (getLastComponent): Throw exception, documentation added.
8022 (getDefaultComponent): Throw exception, documentation added.
8023 * java/awt/EventQueue.java: Reindented.
8024 * java/awt/FocusTraversalPolicy.java:
8025 (FocusTraversalPolicy): Added comment.
8026 (getComponentAfter): Documentation added.
8027 (getComponentBefore): Documentation added.
8028 (getFirstComponent): Documentation added.
8029 (getLastComponent): Documentation added.
8030 (getDefaultComponent): Documentation added.
8031 (getInitialComponent): Documentation added.
8032 * java/awt/ScrollPane.java
8033 (wheelScrollingEnabled): New member variable.
8034 (ScrollPane): Initialize wheelScollingEnabled.
8035 (eventTypeEnabled): New method.
8036 (isWheelScrollingEnabled): New method.
8037 (setWheelScrollingEnabled): New method.
8039 2003-03-02 Michael Koch <konqueror@gmx.de>
8041 * java/net/DatagramSocket.java
8042 (closed): New member variable.
8043 (close): Use closed variable.
8044 (getInetAddress): No need to call isConnected().
8045 (getPort): No need to call isConnected().
8046 (disconnect): Reset remoteAddress and remotePort, fixed typo.
8047 (isClosed): Reimplemented.
8049 2003-03-02 Michael Koch <konqueror@gmx.de>
8051 * configure.in: Added check for memory mapping of files.
8052 * configure: Regenerated.
8053 * config.h.in: Regenerated.
8055 2003-03-01 Jason Thorpe <thorpej@wasabisystems.com>
8057 * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
8058 (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
8060 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
8062 * java/io/File.java (normalizePath): Remove trailing separator
8063 on Windows only if path is not of the form "x:\".
8065 * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
8066 (java::io::File::attr): Change formatting a bit and use
8067 WIN32_EPOCH_MILLIS instead of magic numbers.
8068 (java::io::File::isAbsolute): Path must have at least 3
8069 characters for a UNC network path.
8070 (java::io::File::init_native): Define.
8071 (java::io::File::performCreate): Likewise.
8072 (java::io::File::performSetReadOnly): Likewise.
8073 (java::io::File::performSetLastModified): Likewise.
8074 (java::io::File::performListRoots): Likewise.
8076 2003-03-01 Tom Tromey <tromey@redhat.com>
8078 * java/lang/natObject.cc: Don't include assert.h.
8079 (heavy_lock_obj_finalization_proc): Use JvAssert.
8080 (remove_all_heavy): Likewise.
8081 (_Jv_MonitorEnter): Likewise.
8082 (_Jv_MonitorExit): Likewise.
8085 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
8087 * java/io/File (getAbsolutePath): Prefix drive specifier on
8088 Windows for paths starting with a '\'.
8089 (toURL): Make URL more consistent with what Sun's JDK returns.
8091 * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
8092 true only if the path is a UNC network path or it starts with a
8095 * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
8096 Be prepared to handle either '/' or '\\' in the file path for
8097 Windows if using the "file" protocol.
8098 Canonicalise the file path if using a relative path in the given
8099 context and the "file" protocol.
8101 2003-03-01 Mohan Embar <gnustuff@thisiscool.com>
8103 * java/lang/natWin32Process.cc (startProcess): Double-quote each
8104 program array element passed to CreateProcess.
8106 2003-03-01 Tom Tromey <tromey@redhat.com>
8108 * java/rmi/registry/RegistryHandler.java: Deprecate.
8110 2003-03-01 Tom Tromey <tromey@redhat.com>
8112 * javax/accessibility/AccessibleEditableText.java,
8113 javax/accessibility/AccessibleHyperlink.java: New versions from
8116 * gnu/java/locale/LocaleInformation_af_ZA.java,
8117 gnu/java/locale/LocaleInformation_ar_AE.java,
8118 gnu/java/locale/LocaleInformation_ar_BH.java,
8119 gnu/java/locale/LocaleInformation_ar_DZ.java,
8120 gnu/java/locale/LocaleInformation_ar_EG.java,
8121 gnu/java/locale/LocaleInformation_ar_IN.java,
8122 gnu/java/locale/LocaleInformation_ar_IQ.java,
8123 gnu/java/locale/LocaleInformation_ar_JO.java,
8124 gnu/java/locale/LocaleInformation_ar_KW.java,
8125 gnu/java/locale/LocaleInformation_ar_LB.java,
8126 gnu/java/locale/LocaleInformation_ar_LY.java,
8127 gnu/java/locale/LocaleInformation_ar_MA.java,
8128 gnu/java/locale/LocaleInformation_ar_OM.java,
8129 gnu/java/locale/LocaleInformation_ar_QA.java,
8130 gnu/java/locale/LocaleInformation_ar_SD.java,
8131 gnu/java/locale/LocaleInformation_ar_SY.java,
8132 gnu/java/locale/LocaleInformation_ar_TN.java,
8133 gnu/java/locale/LocaleInformation_ar_YE.java,
8134 gnu/java/locale/LocaleInformation_be_BY.java,
8135 gnu/java/locale/LocaleInformation_bn_IN.java,
8136 gnu/java/locale/LocaleInformation_br_FR.java,
8137 gnu/java/locale/LocaleInformation_bs_BA.java,
8138 gnu/java/locale/LocaleInformation_ca_ES.java,
8139 gnu/java/locale/LocaleInformation_cs_CZ.java,
8140 gnu/java/locale/LocaleInformation_cy_GB.java,
8141 gnu/java/locale/LocaleInformation_da_DK.java,
8142 gnu/java/locale/LocaleInformation_de_AT.java,
8143 gnu/java/locale/LocaleInformation_de_BE.java,
8144 gnu/java/locale/LocaleInformation_de_CH.java,
8145 gnu/java/locale/LocaleInformation_de_DE.java,
8146 gnu/java/locale/LocaleInformation_de_LU.java,
8147 gnu/java/locale/LocaleInformation_el_GR.java,
8148 gnu/java/locale/LocaleInformation_en_AU.java,
8149 gnu/java/locale/LocaleInformation_en_BW.java,
8150 gnu/java/locale/LocaleInformation_en_CA.java,
8151 gnu/java/locale/LocaleInformation_en_DK.java,
8152 gnu/java/locale/LocaleInformation_en_GB.java,
8153 gnu/java/locale/LocaleInformation_en_HK.java,
8154 gnu/java/locale/LocaleInformation_en_IE.java,
8155 gnu/java/locale/LocaleInformation_en_IN.java,
8156 gnu/java/locale/LocaleInformation_en_NZ.java,
8157 gnu/java/locale/LocaleInformation_en_PH.java,
8158 gnu/java/locale/LocaleInformation_en_SG.java,
8159 gnu/java/locale/LocaleInformation_en_US.java,
8160 gnu/java/locale/LocaleInformation_en_ZA.java,
8161 gnu/java/locale/LocaleInformation_en_ZW.java,
8162 gnu/java/locale/LocaleInformation_es_AR.java,
8163 gnu/java/locale/LocaleInformation_es_BO.java,
8164 gnu/java/locale/LocaleInformation_es_CL.java,
8165 gnu/java/locale/LocaleInformation_es_CO.java,
8166 gnu/java/locale/LocaleInformation_es_CR.java,
8167 gnu/java/locale/LocaleInformation_es_DO.java,
8168 gnu/java/locale/LocaleInformation_es_EC.java,
8169 gnu/java/locale/LocaleInformation_es_ES.java,
8170 gnu/java/locale/LocaleInformation_es_GT.java,
8171 gnu/java/locale/LocaleInformation_es_HN.java,
8172 gnu/java/locale/LocaleInformation_es_MX.java,
8173 gnu/java/locale/LocaleInformation_es_NI.java,
8174 gnu/java/locale/LocaleInformation_es_PA.java,
8175 gnu/java/locale/LocaleInformation_es_PE.java,
8176 gnu/java/locale/LocaleInformation_es_PR.java,
8177 gnu/java/locale/LocaleInformation_es_PY.java,
8178 gnu/java/locale/LocaleInformation_es_SV.java,
8179 gnu/java/locale/LocaleInformation_es_US.java,
8180 gnu/java/locale/LocaleInformation_es_UY.java,
8181 gnu/java/locale/LocaleInformation_es_VE.java,
8182 gnu/java/locale/LocaleInformation_et_EE.java,
8183 gnu/java/locale/LocaleInformation_eu_ES.java,
8184 gnu/java/locale/LocaleInformation_fa_IR.java,
8185 gnu/java/locale/LocaleInformation_fi_FI.java,
8186 gnu/java/locale/LocaleInformation_fo_FO.java,
8187 gnu/java/locale/LocaleInformation_fr_BE.java,
8188 gnu/java/locale/LocaleInformation_fr_CA.java,
8189 gnu/java/locale/LocaleInformation_fr_CH.java,
8190 gnu/java/locale/LocaleInformation_fr_FR.java,
8191 gnu/java/locale/LocaleInformation_fr_LU.java,
8192 gnu/java/locale/LocaleInformation_ga_IE.java,
8193 gnu/java/locale/LocaleInformation_gd_GB.java,
8194 gnu/java/locale/LocaleInformation_gl_ES.java,
8195 gnu/java/locale/LocaleInformation_gv_GB.java,
8196 gnu/java/locale/LocaleInformation_he_IL.java,
8197 gnu/java/locale/LocaleInformation_hi_IN.java,
8198 gnu/java/locale/LocaleInformation_hr_HR.java,
8199 gnu/java/locale/LocaleInformation_hu_HU.java,
8200 gnu/java/locale/LocaleInformation_id_ID.java,
8201 gnu/java/locale/LocaleInformation_it_CH.java,
8202 gnu/java/locale/LocaleInformation_it_IT.java,
8203 gnu/java/locale/LocaleInformation_iw_IL.java,
8204 gnu/java/locale/LocaleInformation_ja_JP.java,
8205 gnu/java/locale/LocaleInformation_ka_GE.java,
8206 gnu/java/locale/LocaleInformation_kl_GL.java,
8207 gnu/java/locale/LocaleInformation_ko_KR.java,
8208 gnu/java/locale/LocaleInformation_kw_GB.java,
8209 gnu/java/locale/LocaleInformation_lt_LT.java,
8210 gnu/java/locale/LocaleInformation_lv_LV.java,
8211 gnu/java/locale/LocaleInformation_mi_NZ.java,
8212 gnu/java/locale/LocaleInformation_mk_MK.java,
8213 gnu/java/locale/LocaleInformation_mr_IN.java,
8214 gnu/java/locale/LocaleInformation_mt_MT.java,
8215 gnu/java/locale/LocaleInformation_nl_BE.java,
8216 gnu/java/locale/LocaleInformation_nl_NL.java,
8217 gnu/java/locale/LocaleInformation_nn_NO.java,
8218 gnu/java/locale/LocaleInformation_no_NO.java,
8219 gnu/java/locale/LocaleInformation_oc_FR.java,
8220 gnu/java/locale/LocaleInformation_pl_PL.java,
8221 gnu/java/locale/LocaleInformation_pt_BR.java,
8222 gnu/java/locale/LocaleInformation_pt_PT.java,
8223 gnu/java/locale/LocaleInformation_ro_RO.java,
8224 gnu/java/locale/LocaleInformation_ru_RU.java,
8225 gnu/java/locale/LocaleInformation_ru_UA.java,
8226 gnu/java/locale/LocaleInformation_se_NO.java,
8227 gnu/java/locale/LocaleInformation_sk_SK.java,
8228 gnu/java/locale/LocaleInformation_sl_SI.java,
8229 gnu/java/locale/LocaleInformation_sq_AL.java,
8230 gnu/java/locale/LocaleInformation_sr_YU.java,
8231 gnu/java/locale/LocaleInformation_sv_FI.java,
8232 gnu/java/locale/LocaleInformation_sv_SE.java,
8233 gnu/java/locale/LocaleInformation_ta_IN.java,
8234 gnu/java/locale/LocaleInformation_te_IN.java,
8235 gnu/java/locale/LocaleInformation_tg_TJ.java,
8236 gnu/java/locale/LocaleInformation_tl_PH.java,
8237 gnu/java/locale/LocaleInformation_tr_TR.java,
8238 gnu/java/locale/LocaleInformation_uk_UA.java,
8239 gnu/java/locale/LocaleInformation_ur_PK.java,
8240 gnu/java/locale/LocaleInformation_uz_UZ.java,
8241 gnu/java/locale/LocaleInformation_vi_VN.java,
8242 gnu/java/locale/LocaleInformation_yi_US.java,
8243 gnu/java/locale/LocaleInformation_zh_CN.java,
8244 gnu/java/locale/LocaleInformation_zh_HK.java,
8245 gnu/java/locale/LocaleInformation_zh_SG.java,
8246 gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
8247 info; from Classpath.
8249 * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
8250 isPaintPending): New methods.
8251 * gnu/awt/xlib/XFramePeer.java (getState, setState,
8252 setMaximizedBounds): New methods.
8253 (beginLayout, endLayout, isPaintPending): Likewise.
8254 * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
8255 (requestFocus): Likewise.
8256 (isObscured): Likewise.
8257 (canDetermineObscurity): Likewise.
8258 (coalescePaintEvent): Likewise.
8259 (updateCursorImmediately): Likewise.
8260 (createVolatileImage): Likewise.
8261 (handlesWheelScrolling): Likewise.
8262 (createBuffers): Likewise.
8263 (getBackBuffer): Likewise.
8265 (destroyBuffers): Likewise.
8267 * Makefile.in: Rebuilt.
8268 * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
8270 * gnu/java/awt/GLightweightPeer.java,
8271 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
8272 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8273 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
8274 gnu/java/awt/peer/gtk/GtkFramePeer.java,
8275 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
8276 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
8277 java/awt/dnd/peer/DragSourceContextPeer.java,
8278 java/awt/dnd/peer/DropTargetContextPeer.java,
8279 java/awt/peer/ButtonPeer.java,
8280 java/awt/peer/CheckboxMenuItemPeer.java,
8281 java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
8282 java/awt/peer/ComponentPeer.java,
8283 java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
8284 java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
8285 java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
8286 java/awt/peer/MenuBarPeer.java,
8287 java/awt/peer/MenuComponentPeer.java,
8288 java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
8289 java/awt/peer/PopupMenuPeer.java,
8290 java/awt/peer/ScrollPanePeer.java,
8291 java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
8292 java/awt/peer/TextComponentPeer.java,
8293 java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
8294 New versions from Classpath.
8295 * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
8296 * java/awt/peer/RobotPeer.java: Likewise.
8298 2003-03-01 Mark Wielaard <mark@klomp.org>
8300 * java/io/ObjectInputStream.java: Reindent.
8301 * java/io/ObjectOutputStream.java: Likewise.
8303 2003-02-28 Hans Boehm <Hans.Boehm@hp.com>
8305 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
8306 jvalue for each argument. Simplify.
8307 * testsuite/libjava.jni/calls.c (docall),
8308 testsuite/libjava.jni/calls.java (longpb_f): check for argument
8311 2003-02-28 Mark Wielaard <mark@klomp.org>
8313 * Makefile.am (nat_source_files): Remove
8314 java/io/natObjectOutputStream.cc.
8315 * Makefile.in: Regenerated.
8316 * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
8317 * java/io/ObjectStreamField.java (typename): New field.
8318 (ObjectStreamField(String, Class)): Initialize new field.
8319 (ObjectStreamField(String, String)): New Constructor.
8320 (getTypeCode): Use new field.
8321 (getTypeString): Use new field.
8322 * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
8323 ObjectStreamExceptions. Remember and reset old BlockDataMode.
8324 Handle reading of Proxy classes. Never drain(), just write
8325 TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
8326 (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
8327 (flush): Call flush(), not just drain().
8328 (writeBoolean): Always use blockDataOutput.
8329 (writeByte): Likewise.
8330 (writeShort): Likewise.
8331 (writeChar): Likewise.
8332 (writeInt): Likewise.
8333 (writeLong): Likewise.
8334 (writeFloat): Likewise.
8335 (writeDouble): Likewise.
8336 (writeBytes): Likewise.
8337 (putfield (put(String,Object))): Throw IllegalArgumentException if
8338 field cannot be found.
8339 (putfield (write(ObjectOutput))): Remember old BlockDataMode.
8340 (writeArraySizeAndElements): Write byte[] in one go.
8341 (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
8342 set BlockDataMode to false.
8343 (annotateProxyClass): New method.
8344 (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
8345 (getField): No longer native.
8346 (getMethod): Likewise.
8347 (setBlockDataMode): Always drain() on switch, return old mode.
8348 (static): New static code block.
8349 * java/io/natObjectOutputStream.cc: Removed.
8350 * java/io/ObjectInputStream.java (getField): No longer native.
8351 (getMethod): Likewise.
8352 (readObject): Remember and reset old BlockDataMode. Track whether
8353 object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
8355 (defaultReadObject): Set BlockDataMode to false during readFields.
8356 (resolveClass): Create new SecurityManager if necessary.
8357 Use Class.forName() if null ClassLoader found.
8358 (read(byte[],int,int): Copy remaining bytes to data before calling
8360 (readFields): Set and reset BlockDataMode on call_read_method.
8361 Catch NoSuchFieldErrors.
8362 (setBlockDataMode): Return old mode.
8363 (static): New static code block.
8364 * java/io/natObjectInputStream.cc (getField): Removed.
8365 (getMethod): Likewise.
8367 2003-02-27 Michael Koch <konqueror@gmx.de>
8369 * java/beans/Beans.java,
8370 java/beans/FeatureDescriptor.java
8371 java/beans/PropertyEditorManager.java:
8372 Reformated to GNU style.
8374 2003-02-25 Michael Koch <konqueror@gmx.de>
8376 * gnu/java/nio/MappedByteFileBuffer.java,
8377 gnu/java/nio/natMappedByteFileBuffer.cc:
8378 New files, both are not compiled yet to get not noncompiling CVS.
8380 2003-02-24 Tom Tromey <tromey@redhat.com>
8382 * java/util/prefs/AbstractPreferences.java (isUserNode):
8385 2003-02-24 Tom Tromey <tromey@redhat.com>
8387 * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
8389 * java/lang/Thread.java (resume): Deprecate.
8390 * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
8393 2003-02-23 Tom Tromey <tromey@redhat.com>
8395 * Makefile.in: Rebuilt.
8396 * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
8398 2003-02-23 Tom Tromey <tromey@redhat.com>
8400 * java/lang/natRuntime.cc (libraries_size, libraries_count,
8401 libraries): Removed.
8402 (add_library): Removed.
8403 (_load): Don't call add_library.
8404 (loadLibraryInternal): Likewise.
8406 (lookup_data): New struct.
8407 (find_symbol): New function.
8408 (_Jv_FindSymbolInExecutable): Use it.
8410 2002-02-21 Anthony Green <green@redhat.com>
8412 * java/lang/Thread.java (Thread): New constructor taking stack
8413 size parameter (ignored for now).
8414 * Many methods: Merged GNU Classpath documentation.
8416 * java/lang/Class.java (finalize): throws a Throwable.
8418 2003-02-21 Mark Wielaard <mark@klomp.org>
8420 * java/util/zip/ZipEntry.java (setComment): Don't check length when
8423 2003-02-21 Mark Wielaard <mark@klomp.org>
8425 * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
8426 then 65535 chars throw IllegalArgumentException.
8428 2003-02-21 Mark Wielaard <mark@klomp.org>
8430 * java/util/zip/ZipFile.java (finalize): New method.
8432 2003-02-21 Michael Koch <konqueror@gmx.de>
8434 * gnu/java/nio/natSocketChannelImpl.cc:
8435 Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
8436 <cato@df.lth.se> for pointing to it.
8438 2003-02-20 Raif S. Naffah <raif@fl.net.au>
8440 * java/math/BigInteger.java (euclidInv): Take result array as an
8441 argument. Updated all callers.
8442 (modInverse): Removed unused variables.
8444 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
8446 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
8448 * configure: Rebuilt.
8450 2003-02-19 Michael Koch <konqueror@gmx.de>
8452 * gnu/java/nio/natSocketChannelImpl.cc:
8453 Added support for platforms without network support.
8455 2003-02-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8457 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
8458 after config.h. Use <> for consistency.
8459 * java/lang/natObject.cc: Likewise.
8460 * java/lang/natRuntime.cc: Likewise.
8461 * java/lang/natSystem.cc: Likewise.
8462 * java/util/natTimeZone.cc: Likewise.
8463 * win32.cc: Likewise.
8464 * include/posix.h (fcntl, socket, connect, close, bind, accept,
8465 listen, write, read): Undef to avoid interference from OS macros.
8467 2003-02-19 Michael Koch <konqueror@gmx.de>
8469 * gnu/java/nio/ByteBufferImpl.java
8470 (ByteBufferImpl): Renamed two variables.
8471 * gnu/java/nio/CharBufferImpl.java
8472 (CharBufferImpl): Renamed two variables.
8473 * gnu/java/nio/DoubleBufferImpl.java
8474 (DoubleBufferImpl): Renamed two variables.
8475 * gnu/java/nio/FloatBufferImpl.java
8476 (FloatBufferImpl): Renamed two variables.
8477 * gnu/java/nio/IntBufferImpl.java
8478 (IntBufferImpl): Renamed two variables.
8479 * gnu/java/nio/LongBufferImpl.java
8480 (LongBufferImpl): Renamed two variables.
8481 * gnu/java/nio/ShortBufferImpl.java
8482 (ShortBufferImpl): Renamed two variables.
8483 * java/nio/CharBuffer.java
8484 (wrap): Fixed arguments to CharBufferImpl constructor.
8485 (hasArray): Only not read-only buffers have backing arrays.
8486 (length): Documentation added.
8487 (subSequence): Documentation added.
8488 * java/nio/DoubleBuffer.java
8489 (hasArray): Only not read-only buffers have backing arrays.
8490 * java/nio/FloatBuffer.java
8491 (hasArray): Only not read-only buffers have backing arrays.
8492 * java/nio/IntBuffer.java
8493 (hasArray): Only not read-only buffers have backing arrays.
8494 * java/nio/LongBuffer.java
8495 (hasArray): Only not read-only buffers have backing arrays.
8496 * java/nio/ShortBuffer.java
8497 (hasArray): Only not read-only buffers have backing arrays.
8499 2003-02-19 Michael Koch <konqueror@gmx.de>
8501 * javax/accessibility/AccessibleContext.java
8502 (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
8504 2003-02-19 Michael Koch <konqueror@gmx.de>
8506 * java/awt/ScrollPaneAdjustable.java: Reformated.
8508 2003-02-19 Michael Koch <konqueror@gmx.de>
8510 * gnu/awt/j2d/Graphics2DImpl.java
8511 (getFontRenderContext): New method.
8512 (drawGlyphVector): New method.
8513 * java/awt/Graphics2D.java
8514 (getFontRenderContext): New abstract method.
8515 (drawGlyphVector): New abstract method.
8517 2003-02-18 Hans Boehm <Hans.Boehm@hp.com>
8519 * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
8522 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
8523 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
8524 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
8525 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
8526 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
8527 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
8528 (setFont, gtkSetFont): add.
8529 gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
8530 Propagate font to peer. (setFont): add FIXME comment.
8532 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
8533 (gtkTextGetSize): fix height, width computation.
8535 * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
8536 Make X font name a bit less bogus.
8538 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
8539 (post_adjustment_event): Pass on GTK_SCROLL_NONE.
8541 * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
8542 (processAdjustmentEvent): Adjust value.
8544 * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
8547 * java/awt/Component.java (setVisible, show, hide): Call show and
8548 hide methods in subclasses.
8549 (getPreferredSize): don't set prefSize before we have peer.
8551 * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
8552 Guess (0,0) if we don't have peer.
8555 2003-02-18 Michael Koch <konqueror@gmx.de>
8557 * java/nio/channels/FileChannel.java
8558 (toString): New implementation, added documentation.
8559 (map): Added exception documentation.
8560 (size): Added exception documentation.
8561 (write): New methods, documentation work.
8562 (read): New methods, documentation work.
8563 (implCloseChannel): Rewrote exception documentation.
8564 (force): Throws IOException, added documentation.
8565 (lock): New methods.
8566 (tryLock): New methods.
8567 (position): New methods.
8568 (transferTo): New method.
8569 (transferFrom): New method.
8570 (truncate): New method.
8571 * java/nio/channels/spi/SelectorProvider.java
8572 (provider): Implemented.
8574 (ordinary_java_source_files): Added the following files:
8575 gnu/java/nio/DatagramChannelImpl.java
8576 gnu/java/nio/FileChannelImpl.java
8577 gnu/java/nio/PipeImpl.java
8578 gnu/java/nio/SelectionKeyImpl.java
8579 gnu/java/nio/SelectorImpl.java
8580 gnu/java/nio/SelectorProviderImpl.java
8581 gnu/java/nio/ServerSocketChannelImpl.java
8582 gnu/java/nio/SocketChannelImpl.java
8583 java/nio/channels/FileLock.java
8584 (nat_java_source_files): Added the following files:
8585 gnu/java/nio/natFileChannelImpl.cc
8586 gnu/java/nio/natSelectorImpl.cc
8587 gnu/java/nio/natSocketChannelImpl.cc
8588 * Makefile.in: Regenerated.
8590 2003-02-17 Tom Tromey <tromey@redhat.com>
8592 * java/awt/image/ColorModel.java: Re-merged with Classpath.
8593 * java/awt/image/ImageFilter.java: Likewise.
8595 2003-02-17 Raif S. Naffah <raif@fl.net.au>
8597 * java/math/BigInteger.java (euclidInv): Return array of
8598 `BigInteger's. Changed all callers.
8600 2003-02-17 Ranjit Mathew <rmathew@hotmail.com>
8602 * java/util/Properties.java (store): Move the code formerly in
8603 list(), into this method.
8604 (list (PrintStream)): Just call list (PrintWriter) with a
8605 PrintWriter object constructed from the given PrintStream object.
8606 (list (PrintWriter)): Emulate the output of Properties.list()
8607 as found in JDK 1.3/1.4.
8609 2003-02-17 Michael Koch <konqueror@gmx.de>
8611 * java/net/DatagramSocket.java
8612 (connect): Merged with classpath.
8613 (disconnect): Merged documentation with classpath.
8614 (receice): Merged documentation with classpath.
8615 (send): Merged documentation with classpath.
8617 2003-02-17 Michael Koch <konqueror@gmx.de>
8619 * java/awt/dnd/DragSourceContext.java
8620 (addDragSourceListener): Added documentation.
8621 * java/awt/dnd/DragSourceDragEvent.java
8622 (serialVersionUID): New member variable.
8623 (getDropAction): Reformated.
8624 * java/awt/dnd/DragSourceDropEvent.java
8625 (serialVersionUID): New member variable.
8626 (dropSuccess): Renamed from success for serialization issues.
8627 * java/awt/dnd/DragSourceEvent.java
8628 (serialVersionUID): New member variable.
8629 * java/awt/dnd/DropTarget.java
8630 (serialVersionUID): New member variable.
8631 (DropTarget): Implemented, documentation reworked.
8632 (setComponent): Documentation added.
8633 (getComponent): Documentation added.
8634 (setDefaultActions): Documentation added.
8635 (getDefaultActions): Documentation added.
8636 (addDropTargetListener): Documentation added.
8637 * java/awt/dnd/DropTargetContext.java
8638 (DropTargetContext): Documentation added.
8639 (TransferableProxy.TransferableProxy): New method.
8640 (dropComplete): Fixed documentation.
8641 (getTransferable): Fixed documentation.
8642 (createTransferableProxy): Implemented.
8643 * java/awt/dnd/DropTargetDragEvent.java
8644 (DropTargetDragEvent): Documentation added.
8645 (serialVersionUID): New member variable.
8646 (DropTargetDragEvent): Throw exceptions, documentation added.
8647 (acceptDrag): Implemented.
8648 (getCurrentDataFlavors): Implemented.3yy
8649 (getCurrentDataFlavorsAsList): Implemented.
8650 (isDataFlavorSupported): Implemented.
8651 (rejectDrag): Implemented.
8652 * java/awt/dnd/DropTargetDropEvent.java
8653 (DropTargetDropEvent): Documentation added.
8654 (serialVersionUID): New member variable.
8655 (actions): Renamed from srcActions for serialization issues.
8656 (isLocalTx): Renamed from isLocalTx for serialization issues.
8657 (DropTargetDropEvent): New implementation, throw exceptions,
8658 documentation added.
8659 (getCurrentDataFlavors): Implemented.
8660 (getCurrentDataFlavorsAsList): Implemented.
8661 (isDataFlavorSupported): Implemented.
8662 (getSourceActions): Implemented.
8663 (getDropAction): Implemented.
8664 (getTransferable): Implemented.
8665 (acceptDrop): Implemented.
8666 (rejectDrop): Implemented.
8667 * java/awt/dnd/DropTargetListener.java
8668 (drop): Fixed documentation.
8669 * java/awt/dnd/MouseDragGestureRecognizer.java
8670 (MouseDragGestureRecognizer): Documentation added.
8672 2003-02-17 Michael Koch <konqueror@gmx.de>
8674 * java/awt/font/FontRenderContext.java,
8675 java/awt/font/ShapeGraphicAttribute.java,
8676 java/awt/font/MultipleMaster.java,
8677 java/awt/font/TransformAttribute.java,
8678 java/awt/font/GlyphJustificationInfo.java,
8679 java/awt/font/LineBreakMeasurer.java,
8680 java/awt/font/TextMeasurer.java,
8681 java/awt/font/TextLayout.java,
8682 java/awt/font/LineMetrics.java,
8683 java/awt/font/TextAttribute.java,
8684 java/awt/font/GlyphMetrics.java,
8685 java/awt/font/OpenType.java,
8686 java/awt/font/GlyphVector.java,
8687 java/awt/font/GraphicAttribute.java,
8688 java/awt/font/ImageGraphicAttribute.java,
8689 java/awt/font/NumericShaper.java: New files.
8691 (awt_java_source_files): Added the following files:
8692 java/awt/font/FontRenderContext.java
8693 java/awt/font/ShapeGraphicAttribute.java
8694 java/awt/font/MultipleMaster.java
8695 java/awt/font/TransformAttribute.java
8696 java/awt/font/GlyphJustificationInfo.java
8697 java/awt/font/LineBreakMeasurer.java
8698 java/awt/font/TextMeasurer.java
8699 java/awt/font/TextLayout.java
8700 java/awt/font/LineMetrics.java
8701 java/awt/font/TextAttribute.java
8702 java/awt/font/GlyphMetrics.java
8703 java/awt/font/OpenType.java
8704 java/awt/font/GlyphVector.java
8705 java/awt/font/GraphicAttribute.java
8706 java/awt/font/ImageGraphicAttribute.java
8707 java/awt/font/NumericShaper.java
8708 * Makefile.in: Regenerated.
8710 2003-02-17 Michael Koch <konqueror@gmx.de>
8712 * java/awt/print/Paper.java
8713 (Paper): Implements Cloneable.
8714 * java/awt/print/PrinterJob.java
8715 (setJobName): Return value must be void.
8716 (print): Throws PrinterException.
8718 2003-02-16 Tom Tromey <tromey@redhat.com>
8720 * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
8723 2003-02-15 Michael Koch <konqueror@gmx.de>
8725 * java/awt/datatransfer/DataFlavor.java
8726 (isRepresentationClassByteBuffer): Removed try-catch block.
8727 (isRepresentationClassCharBuffer): Removed try-catch block.
8728 (isRepresentationClassReader): Removed try-catch block.
8730 2003-02-15 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8732 * java/nio/charset/Charset.java
8733 (isRegistered): Fixed method args and implementation.
8734 * java/nio/charset/CharsetEncoder.java
8735 (unmappableCharacterAction): New method.
8737 2003-02-15 Michael Koch <konqueror@gmx.de>
8739 * java/awt/CheckboxMenuItem.java
8740 (CheckBoxMenuItem): Dont implement Serializable.
8741 (getListeners): New method,
8742 (getItemListeners): New method.
8743 * java/awt/Choice.java
8744 (getListeners): New method,
8745 (getItemListeners): New method.
8746 * java/awt/Container.java
8747 (getListeners): Added exception documentation.
8748 (setFocusTraversalKeys): Throw exceptions, added documentattion.
8749 (getFocusTraversalKeys): Added documentation.
8750 (areFocusTraversalKeysSet): Added documentation.
8751 (applyComponentOrientation): Added documentation.
8752 * java/awt/ContainerOrderFocusTraversalPolicy.java
8753 (implicitDownCycleTraversal): Renamed from downCycle for
8755 (ContainerOrderFocusTraversalPolicy): Added documentation.
8756 (accept): Reformated.
8757 * java/awt/Dialog.java
8758 (Dialog): Dont implement Serializable.
8759 (Dialog): Added documentation.
8760 * java/awt/Font.java
8761 (Font): Dont use absolute class name.
8762 * java/awt/Frame.java
8763 (Frame): Font implement Serializable.
8764 * java/awt/List.java
8765 (getListeners): New method,
8766 (getActionListeners): New method.
8767 (getItemListeners): New method.
8768 * java/awt/Menu.java
8769 (countItems): New deprecated method.
8770 * java/awt/Scrollbar.java
8771 (getListeners): New method,
8772 (getAdjustmentListeners): New method,
8773 * java/awt/TextComponent.java
8774 (getListeners): New method,
8775 (getTextListeners): New method,
8776 * java/awt/TextField.java
8777 (getListeners): New method,
8778 (getActionListeners): New method.
8779 * java/awt/Window.java
8780 (windowFocusListener): New member variable.
8781 (windowStateListener): New member variable.
8782 (getWindowFocusListeners): New method.
8783 (getWindowStateListeners): New method.
8784 (addWindowFocusListener): New method.
8785 (addWindowStateListener): New method.
8786 (removeWindowFocusListener): New method.
8787 (removeWindowStateListener): New method.
8788 * java/awt/datatransfer/DataFlavor.java
8789 (isRepresentationClassByteBuffer): New method.
8790 (isRepresentationClassCharBuffer): New method.
8791 (isRepresentationClassReader): New method.
8793 2003-02-14 Mark Wielaard <mark@klomp.org>
8795 * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
8796 zero when there is an exponent and the significant is zero.
8797 (divide): Always set scale to newScale even in special ZERO case.
8799 2003-02-14 Tom Tromey <tromey@redhat.com>
8801 * java/lang/System.java (properties): Use Properties.clone.
8802 (setProperties): Likewise.
8804 2003-02-14 Michael Koch <konqueror@gmx.de>
8806 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
8807 * gnu/java/nio/ServerSocketChannelImpl.java
8808 (SocketAccept): Removed.
8809 (accept): Commented out use of SocketAccept.
8811 2003-02-13 Tom Tromey <tromey@redhat.com>
8813 * verify.cc (state::seen_subrs): New field.
8814 (state::state): Initialize it.
8815 (state::clean_subrs): New method.
8816 (state::~state): Call it.
8817 (state::copy): Copy subroutine list.
8818 (state::add_subr): New method.
8819 (state::merge): Only register a change if the current subroutine
8820 hasn't yet been noted.
8822 2003-02-13 Mark Wielaard <mark@klomp.org>
8824 * java/io/InputStreamReader.java (getEncoding): Return null when
8826 * java/io/OutputStreamWriter.java (getEncoding): Likewise.
8828 2003-02-13 Mark Wielaard <mark@klomp.org>
8830 * java/util/zip/InflaterInputStream.java (read): Return zero when len
8833 2003-02-13 Mark Wielaard <mark@klomp.org>
8835 * java/io/BufferedOutputStream.java (write(int)): Only flush when
8836 next byte cannot be buffered.
8838 2003-02-13 Michael Koch <konqueror@gmx.de>
8840 * java/awt/Label.java
8841 (Label): Don't implement Serializable directly.
8842 (addNotify): Fixed typo in documentation.
8843 * java/awt/List.java
8844 (List): Don't implement Serializable directly.
8845 * java/awt/PopupMenu.java
8846 (PopupMenu): Don't implement Serializable directly.
8847 * java/awt/ScrollPane.java
8848 (ScrollPane): Don't implement Serializable directly.
8849 * java/awt/Scrollbar.java
8850 (Scrollbar): Don't implement Serializable directly.
8851 * java/awt/TextArea.java
8852 (preferredSize): Fixed method arguments.
8853 * java/awt/TextField.java
8854 (TextField): Don't implement Serializable directly.
8855 * java/awt/color/ICC_ColorSpace.java
8856 (fromCIOXYZ): Documentation added.
8857 (getMinValue): Documentation added.
8858 (getMaxValue): Documentation added.
8859 * java/awt/datatransfer/DataFlavor.java
8860 (isMimeTypeEqual): May not be final.
8861 (clone): Throws CloneNotSupportedException.
8862 (getReaderForText): Don't throws UnsupportedEncodingException.
8864 2003-02-13 Michael Koch <konqueror@gmx.de>
8866 * gnu/java/awt/peer/gtk/GdkGraphics.java
8867 (drawString): New stubbed method.
8868 * java/awt/Graphics.java
8869 (drawString): New method.
8871 2003-02-13 Casey Marshall <rsdio@metastatic.org>
8874 * java/security/SecureRandom.java (next): Avoid bias in results.
8876 2003-02-13 Michael <konqueror@gmx.de>
8878 * gnu/java/nio/FileChannelImpl.java
8879 (lengthInternal): Must be native.
8880 (size): Check if channel is already closed.
8881 (implCloseChannel): Reformated.
8882 (read): w was unused, removed it.
8885 (write): New method.
8886 (map): Check arguments.
8887 (force): Throws IOException, check if channel is closed.
8888 (transferTo): New method.
8889 (transferFrom): New method.
8891 (tryLock): New method.
8892 (position): New method.
8893 (truncate): New method.
8894 (nio_mmap_file): Uncommented.
8895 (nio_munmap_file): Uncommented.
8896 (nio_msync): Uncommented.
8897 * gnu/java/nio/natFileChannelImpl.cc: New file.
8899 2003-02-13 Michael Koch <konqueror@gmx.de>
8901 * java/nio/ByteBuffer.java
8902 (endian): New member variable.
8904 (equals): New method.
8905 (compareTo): New method.
8906 (order): New methods.
8907 (compact): New method.
8908 (isDirect): New method.
8909 (slice): New method.
8910 (duplicate): New method.
8911 (asReadOnlyBuffer): New method.
8912 (asCharBuffer): New method.
8913 (asDoubleBuffer): New method.
8914 (asFloatBuffer): New method.
8915 (asIntBuffer): New method.
8916 (asLongBuffer): New method.
8917 (asShortBuffer): New method.
8918 (get*): New methods.
8919 (put*): New methods.
8920 (toString): New method.
8921 * java/nio/CharBuffer.java
8922 (CharBuffer): Implement Comparable instead of Cloneable.
8923 (get): May not be final.
8924 (put): May not be final.
8926 2002-02-13 Ranjit Mathew <rmathew@hotmail.com>
8928 * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
8929 lastIndexOf( ) instead of indexOf( ) to find the colon before
8930 the line number, because Win32 file names might contain a
8931 drive letter and a colon at the start of an absolute path.
8933 2003-02-13 Michael Koch <konqueror@gmx.de>
8935 * gnu/java/nio/natSocketChannelImpl.cc
8936 (SocketConnect): This is not implemented yet.
8937 (SocketBind): This is not implemented yet.
8939 2003-02-13 Michael Koch <konqueror@gmx.de>
8941 * gnu/java/nio/natByteBufferImpl.cc,
8942 gnu/java/nio/natCharBufferImpl.cc,
8943 gnu/java/nio/natDoubleBufferImpl.cc,
8944 gnu/java/nio/natFloatBufferImpl.cc,
8945 gnu/java/nio/natIntBufferImpl.cc,
8946 gnu/java/nio/natLongBufferImpl.cc,
8947 gnu/java/nio/natShortBufferImpl.cc:
8948 Added copyright and license.
8949 * java/nio/DoubleBuffer.java,
8950 java/nio/FloatBuffer.java,
8951 java/nio/IntBuffer.java,
8952 java/nio/LongBuffer.java,
8953 java/nio/ShortBuffer.java
8954 (array): Throw exceptions.
8955 (arrayOffset): Throw exceptions.
8957 2003-02-13 Michael Koch <konqueror@gmx.de>
8959 * gnu/java/util/prefs/FileBasedFactory.java,
8960 gnu/java/util/prefs/MemmoryBasedFactory.java,
8961 gnu/java/util/prefs/MemoryBasedPreferences.java,
8962 gnu/java/util/prefs/NodeReader.java,
8963 gnu/java/util/prefs/NodeWriter.java,
8964 java/util/prefs/AbstractPreferences.java,
8965 java/util/prefs/BackingStoreException.java,
8966 java/util/prefs/InvalidPreferencesFormatException.java,
8967 java/util/prefs/NodeChangeEvent.java,
8968 java/util/prefs/NodeChangeListener.java,
8969 java/util/prefs/PreferenceChangeEvent.java,
8970 java/util/prefs/PreferenceChangeListener.java,
8971 java/util/prefs/Preferences.java,
8972 java/util/prefs/PreferencesFactory.java:
8973 New files, all merged from classpath.
8975 (ordinary_java_source_files): Added the following files:
8976 gnu/java/util/prefs/FileBasedFactory.java,
8977 gnu/java/util/prefs/MemmoryBasedFactory.java,
8978 gnu/java/util/prefs/MemoryBasedPreferences.java,
8979 gnu/java/util/prefs/NodeReader.java,
8980 gnu/java/util/prefs/NodeWriter.java,
8981 (core_java_source_files): Added the following files:
8982 java/util/prefs/AbstractPreferences.java,
8983 java/util/prefs/BackingStoreException.java,
8984 java/util/prefs/InvalidPreferencesFormatException.java,
8985 java/util/prefs/NodeChangeEvent.java,
8986 java/util/prefs/NodeChangeListener.java,
8987 java/util/prefs/PreferenceChangeEvent.java,
8988 java/util/prefs/PreferenceChangeListener.java,
8989 java/util/prefs/Preferences.java,
8990 java/util/prefs/PreferencesFactory.java
8991 * Makefile.in: Regenerated.
8993 2003-02-13 Michael Koch <konqueror@gmx.de>
8995 * java/net/NetPermission.java
8996 (NetPermission): Make doucmentation match the method declaration.
8997 * java/net/NetworkInterface.java
8998 (equals): Reformated for GNU coding style.
8999 * java/net/ServerSocket.java: Merged with classpath.
9000 * java/net/Socket.java: Partly merged with classpath (Added some @since).
9001 * java/net/SocketImpl.java
9002 (localPort): Merged with classpath (initialize with -1).
9003 * java/net/SocketPermission.java: Merged with classpath (reindented).
9004 * java/net/URLDecoder.java: Merged with classpath (reindented).
9006 2003-02-13 Michael Koch <konqueror@gmx.de>
9008 * java/awt/GridBagConstraints.java
9009 (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
9010 LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
9011 * java/awt/KeyboardFocusManager.java
9012 (setGlobalCurrentFocusCycleRoot): Must be public.
9013 * java/awt/MenuComponent.java
9014 (MenuComponent): Must be public.
9015 * java/awt/Toolkit.java:
9016 Added some empty lines to make documentation more readable.
9017 (getFontPeer): Added @deprecated.
9018 (getColorModel): Added exception documentation.
9019 (getProperty): Fixed documentation.
9021 2003-02-12 Jeff Sturm <jsturm@one-point.com>
9023 * configure.host (alpha*-*): Default to -mieee.
9024 * configure.in (IEEESPEC): New.
9025 * libgcj.spec.in (jc1): Add IEEESPEC.
9026 * configure: Rebuild.
9028 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
9030 * include/win32.h: Include ws2tcpip.h instead of
9031 winsock.h to obtain definition of the socklen_t type.
9032 Remove IP_TOS definition - not needed with ws2tcpip.h
9033 (_Jv_connect): Correct slight formatting error.
9035 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
9037 * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
9038 size of the arguments for a JNI function. For Win32,
9039 modify to search for all forms of possible exported
9040 names of an stdcall JNI function.
9041 (_Jv_JNIMethod::call): Modify to calculate the size
9042 of the arguments passed to a JNI function and pass
9043 it to _Jv_LookupJNIMethod.
9045 2003-02-12 Michael Koch <konqueror@gmx.de>
9047 * java/nio/channels/Channels.java: New file.
9049 (ordinary_java_source_files): Added java/nio/channels/Channels.java.
9050 * Makefile.in: Regenerated.
9052 2003-02-12 Michael Koch <konqueror@gmx.de>
9054 * java/nio/ByteBuffer.java
9055 (allocate): Implemented.
9056 (wrap): Implemented.
9057 * java/nio/CharBuffer.java:
9058 Some documentation added and reworked.
9060 (allocate): Implemented.
9061 (wrap): Implemented.
9062 (array): Throw exceptions.
9063 (arrayOffset): Throw exceptions.
9064 (toString): Implemented.
9065 (length): Implemented.
9067 (charAt): Implemented.
9069 2003-02-11 John Leuner <jewel@debian.org>
9071 * java/util/zip/ZipInputStream.java: Fix problem with 0-length
9072 reads from end of file.
9074 2003-02-11 Ranjit Mathew <rmathew@hotmail.com>
9076 * java/io/natFileDescriptorWin32.cc
9077 (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
9078 returns with Win32 error code ERROR_BROKEN_PIPE.
9080 2003-02-11 Michael Koch <konqueror@gmx.de>
9083 (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
9085 2003-02-11 Michael Koch <konqueror@gmx.de>
9087 * gnu/java/nio/ByteBufferImpl.java:
9088 Reformated and removed some code.
9089 (backing_buffer): Removed.
9090 (array_offset): Removed.
9091 (ro): Renamed to readOnly.
9092 (ByteBufferImpl): Use parent constructor, initialize readOnly.
9093 * gnu/java/nio/CharBufferImpl.java:
9094 Reformated and removed some code.
9095 (array_offset): Removed.
9096 (ro): Renamed to readOnly.
9097 (CharBufferImpl): Use parent constructor, initialize readOnly.
9099 (order): New method.
9100 * gnu/java/nio/DoubleBufferImpl.java:
9101 Reformated and removed some code.
9102 (array_offset): Removed.
9103 (ro): Renamed to readOnly.
9104 (DoubleBufferImpl): Use parent constructor, initialize readOnly.
9106 (order): New method.
9107 * gnu/java/nio/FloatBufferImpl.java:
9108 Reformated and removed some code.
9109 (array_offset): Removed.
9110 (ro): Renamed to readOnly.
9111 (FloatBufferImpl): Use parent constructor, initialize readOnly.
9113 (order): New method.
9114 * gnu/java/nio/IntBufferImpl.java:
9115 Reformated and removed some code.
9116 (array_offset): Removed.
9117 (ro): Renamed to readOnly.
9118 (IntBufferImpl): Use parent constructor, initialize readOnly.
9120 (order): New method.
9121 * gnu/java/nio/LongBufferImpl.java:
9122 Reformated and removed some code.
9123 (array_offset): Removed.
9124 (ro): Renamed to readOnly.
9125 (LongBufferImpl): Use parent constructor, initialize readOnly.
9127 (order): New method.
9128 * gnu/java/nio/ShortBufferImpl.java:
9129 Reformated and removed some code.
9130 (array_offset): Removed.
9131 (ro): Renamed to readOnly.
9132 (ShortBufferImpl): Use parent constructor, initialize readOnly.
9134 (order): New method.
9136 (ordinary_java_source_files): Added the following files:
9137 gnu/java/nio/ByteBufferImpl.java
9138 gnu/java/nio/CharBufferImpl.java
9139 gnu/java/nio/DoubleBufferImpl.java
9140 gnu/java/nio/FloatBufferImpl.java
9141 gnu/java/nio/IntBufferImpl.java
9142 gnu/java/nio/LongBufferImpl.java
9143 gnu/java/nio/ShortBufferImpl.java
9144 java/nio/DoubleBuffer.java
9145 java/nio/FloatBuffer.java
9146 java/nio/IntBuffer.java
9147 java/nio/LongBuffer.java
9148 java/nio/ShortBuffer.java
9149 (nat_source_files): Added the following files:
9150 gnu/java/nio/natByteBufferImpl.cc
9151 gnu/java/nio/natCharBufferImpl.cc
9152 gnu/java/nio/natDoubleBufferImpl.cc
9153 gnu/java/nio/natFloatBufferImpl.cc
9154 gnu/java/nio/natIntBufferImpl.cc
9155 gnu/java/nio/natLongBufferImpl.cc
9156 gnu/java/nio/natShortBufferImpl.cc
9157 * Makefile.in: Regenerated.
9159 2003-02-11 Michael Koch <konqueror@gmx.de>
9161 * gnu/java/nio/natCharBufferImpl.cc
9162 (nio_cast): Removed.
9163 (nio_put_*): Removed.
9164 (nio_get_*): Removed.
9165 * gnu/java/nio/natDoubleBufferImpl.cc
9166 (nio_cast): Removed.
9167 (nio_put_*): Removed.
9168 (nio_get_*): Removed.
9169 * gnu/java/nio/natFloatBufferImpl.cc
9170 (nio_cast): Removed.
9171 (nio_put_*): Removed.
9172 (nio_get_*): Removed.
9173 * gnu/java/nio/natIntBufferImpl.cc
9174 (nio_cast): Removed.
9175 (nio_put_*): Removed.
9176 (nio_get_*): Removed.
9177 * gnu/java/nio/natLongBufferImpl.cc
9178 (nio_cast): Removed.
9179 (nio_put_*): Removed.
9180 (nio_get_*): Removed.
9181 * gnu/java/nio/natShortBufferImpl.cc
9182 (nio_cast): Removed.
9183 (nio_put_*): Removed.
9184 (nio_get_*): Removed.
9185 * gnu/java/nio/SelectorProviderImpl.java
9186 (openDatagramChannel): Throws IOException.
9187 (openPipe): Throws IOException.
9188 (openSelector): Throws IOException.
9189 (openServerSocketChannel): Throws IOException.
9190 (openSocketChannel): Throws IOException.
9191 * gnu/java/nio/ServerSocketChannelImpl.java
9192 (ServerSocketChannelImpl): Throws IOException.
9193 (implCloseSelectableChannel): Throws IOException.
9194 (implConfigureBlocking): Throws IOException.
9195 * java/nio/ByteBuffer.java
9196 (readOnly): Removed.
9197 (hasArray): Use isReadOnly() instead of readOnly.
9198 (array): Use isReadOnly() instead of readOnly.
9199 (arrayOffset): Use isReadOnly() instead of readOnly.
9200 * java/nio/CharBuffer.java
9201 (CharBuffer): Implements Cloneable and CharSequence.
9203 2003-02-11 Michael Koch <konqueror@gmx.de>
9205 * java/nio/DoubleBuffer.java
9206 (DoubleBuffer): Implements Comparable.
9208 (array_offset): New member variable.
9209 (DoubleBuffer): New constuctor.
9210 (get): May not be final.
9211 (put): May not be final.
9212 (arrayOffset): Implemented.
9213 (order): Made abstract.
9215 (as*Buffer): Removed.
9218 * java/nio/FloatBuffer.java
9219 (FloatBuffer): Implements Comparable.
9221 (array_offset): New member variable.
9222 (FloatBuffer): New constuctor.
9223 (get): May not be final.
9224 (put): May not be final.
9225 (arrayOffset): Implemented.
9226 (order): Made abstract.
9228 (as*Buffer): Removed.
9231 * java/nio/IntBuffer.java
9232 (IntBuffer): Implements Comparable.
9234 (array_offset): New member variable.
9235 (IntBuffer): New constuctor.
9236 (get): May not be final.
9237 (put): May not be final.
9238 (arrayOffset): Implemented.
9239 (order): Made abstract.
9241 (as*Buffer): Removed.
9244 * java/nio/LongBuffer.java
9245 (LongBuffer): Implements Comparable.
9247 (array_offset): New member variable.
9248 (LongBuffer): New constuctor.
9249 (get): May not be final.
9250 (put): May not be final.
9251 (arrayOffset): Implemented.
9252 (order): Made abstract.
9254 (as*Buffer): Removed.
9257 * java/nio/ShortBuffer.java
9258 (ShortBuffer): Implements Comparable.
9260 (array_offset): New member variable.
9261 (ShortBuffer): New constuctor.
9262 (get): May not be final.
9263 (put): May not be final.
9264 (arrayOffset): Implemented.
9265 (order): Made abstract.
9267 (as*Buffer): Removed.
9271 2003-02-11 Michael Koch <konqueror@gmx.de>
9273 * java/nio/channels/SelectionKey.java
9274 (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
9277 2003-02-11 Michael Koch <konqueror@gmx.de>
9279 * java/nio/channels/DatagramChannel.java
9280 (write): Throws IOException.
9281 (connect): Throws IOException.
9282 (disconnect): Throws IOException.
9283 (read): Throws IOException.
9284 (receive): Throws IOException.
9285 (send): Throws IOException.
9286 * java/nio/channels/Pipe.java
9287 (open): Throws IOException.
9288 * java/nio/channels/SelectableChannel.java
9289 (configureBlocking): Throws IOException.
9290 * java/nio/channels/ServerSocketChannel.java
9291 (accept): Throws IOException.
9292 * java/nio/channels/SocketChannel.java
9293 (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
9294 GatheringByteChannel.
9295 (read): Throws IOException.
9296 (write): Throws IOException.
9297 (finishConnect): Throws IOException.
9298 * java/nio/channels/spi/AbstractInterruptibleChannel.java
9299 (end): Throws AsynchronousCloseException.
9300 * java/nio/channels/spi/AbstractSelectableChannel.java
9301 (configureBlocking): Throws IOException.
9302 (implCloseChannel): Throws IOException.
9303 (implCloseSelectableChannel): Throws IOException.
9304 (implConfigureBlocking): Throws IOException.
9305 * java/nio/channels/spi/SelectorProvider.java
9306 (openDatagramChannel): Throws IOException.
9307 (openPipe): Throws IOException.
9308 (openSelector): Throws IOException.
9309 (openServerSocketChannel): Throws IOException.
9310 (openSocketChannel): Throws IOException.
9312 2003-02-11 Michael Koch <konqueror@gmx.de>
9314 * gnu/java/nio/FileLockImpl.java,
9315 java/nio/channels/FileLock.java: New files.
9317 2003-02-11 Michael Koch <konqueror@gmx.de>
9319 * java/nio/charset/IllegalCharsetNameException.java
9320 (serialVersionUID): New member variable.
9321 (charsetName): New member variable.
9322 (IllegalCharsetException): New implementation.
9323 (getCharsetName): New implementation.
9324 * java/nio/charset/UnsupportedCharsetException.java
9325 (serialVersionUID): New member variable.
9326 (charsetName): New member variable.
9327 (UnsupportedCharsetException): New implementation.
9328 (getCharsetName): New implementation.
9330 2003-02-10 Tom Tromey <tromey@redhat.com>
9332 * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
9333 (ex): Renamed from sqlException.
9335 2003-02-10 Raif S. Naffah <raif@fl.net.au>
9337 * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new
9338 method used to ensure seeding has occurred and that a specific
9339 seed can be set and used.
9341 2003-02-10 Ranjit Mathew <rmathew@hotmail.com>
9343 * java/lang/Win32Process.java (destroy): Declare as native.
9344 (hasExited): New native method.
9345 (exitValue): Define.
9346 (getErrorStream): Likewise.
9347 (getInputStream): Likewise.
9348 (getOutputStream): Likewise.
9349 (waitFor): Declare as native.
9350 (startProcess): New native method.
9351 (cleanup): Likewise.
9352 (ConcreteProcess): Define.
9353 (outputStream, inputStream, errorStream): New members.
9354 (procHandle, exitCode): Likewise.
9356 * java/lang/natWin32Process.cc
9357 (java::lang::ConcreteProcess::cleanup): Define.
9358 (java::lang::ConcreteProcess::destroy): Likewise.
9359 (java::lang::ConcreteProcess::hasExited): Likewise.
9360 (java::lang::ConcreteProcess::waitFor): Likewise.
9361 (new_string): Likewise.
9362 (java::lang::ConcreteProcess::startProcess): Likewise.
9364 2003-02-10 Raif S. Naffah <raif@fl.net.au>
9366 * java/math/BigInteger.java:
9367 Updated notice to include years 2002 and 3.
9368 Added 2 private (int) arrays with values from the HAC (Handbook of
9369 Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
9370 and t[] that contains nbr. of tests --used in isProbablePrime().
9372 * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
9374 * java/math/BigInteger.java (make(int[],int), add(int,int),
9375 add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
9376 isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
9377 bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
9380 * java/math/BigInteger.java (euclidInv): Reduce number of work vars
9381 (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
9382 (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
9383 BIs and returns void.
9384 (modInverse(BI)): Use new signatures of euclidInv().
9386 * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
9387 static small primes instead of remainder().
9388 Use pre-computed max nbr of trials based on bitlength of BI to test.
9389 Use pre-computed small primes for the trial tests instead of random
9392 * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
9395 * java/math/BigInteger.java (format(int,StringBuffer)): Removed
9396 invoacation of MPN.chars_per_word(). not used.
9398 * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
9399 local var and used where needed.
9401 * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
9402 Combined declaration with initialisation of locals.
9405 * java/math/BigInteger.java: Style changes
9406 (pow(int)): Removed 'else' keyword.
9407 (toString(int)): idem.
9408 (doubleValue()): idem.
9409 (bitLength()): idem.
9410 (equals(Object)): Use static methods name in same class w/o prepending
9412 (doubleValue()): idem.
9413 (setNegative(BI)): idem.
9415 (and(BI,int)): idem.
9418 (byteArrayToIntArray()): Removed casting to (int). this is
9420 (canonicalize()): idem.
9421 (alloc(int)): Always instantiate a new BI.
9423 2003-02-10 Tom Tromey <tromey@redhat.com>
9425 * java/sql/Timestamp.java (compareTo(Object)): New method.
9426 (compareTo(Timestamp)): Likewise.
9427 (serialVersionUID): Updated.
9429 2003-02-07 Mark Wielaard <mark@klomp.org>
9431 * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
9432 when verify is true.
9433 (JarFile(File, boolean)): Likewise.
9434 (manifestRead): Set manifestRead field correctly.
9436 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
9438 * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
9439 tests; see patch #1016 on Savannah.
9441 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
9443 * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
9444 (toString): do not return Strings starting with . and - erroneously.
9445 Improves Mauve results to 12 of 600 instead of 16 of 338 on
9448 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
9450 * java/beans/PropertyDescriptor.java
9451 (PropertyDescriptor(String, Class)): Sanity check getter and setter
9453 (PropertyDescriptor(String, Class, String, String)): Likewise.
9454 (PropertyDescriptor(String, Method, Method): Factor out getter and
9455 setter method sanity checks into new method.
9456 (findMethods): Don't do parameter sanity checking of get method here.
9457 (checkMethods): New method.
9459 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
9461 * java/beans/PropertyDescriptor.java: Reformat.
9463 2003-02-04 Tom Tromey <tromey@redhat.com>
9465 * java/io/PipedOutputStream.java (flush): Declare as throwing
9468 * java/io/PipedWriter.java (close): Declare as throwing
9470 * java/io/StringWriter.java (close): Declare as throwing
9473 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
9475 * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
9476 of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
9477 could also have been exported as "JNI_OnLoad@8" (MinGW) or
9478 "_JNI_OnLoad@8" (MSVC).
9480 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
9482 * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
9483 convention on Win32 to invoke native JNI methods.
9485 2003-02-03 Andrew Haley <aph@redhat.com>
9487 * configure.host (x86_64): Enable interpreter.
9489 2003-02-03 Andrew Haley <aph@redhat.com>
9491 * libgcj.spec.in (jc1): Add BACKTRACESPEC.
9492 * configure.host (x86_64): Default to -fno-omit-frame-pointer.
9493 * configure.in (BACKTRACESPEC): New.
9494 * configure: Regenerate.
9496 2003-02-02 Tom Tromey <tromey@redhat.com>
9498 * configure: Rebuilt.
9499 * configure.in (TOOLKIT) [xlib]: Set correctly.
9501 * Makefile.in: Rebuilt.
9502 * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
9505 2003-01-31 Mark WIelaard <mark@klomp.org>
9507 * Makefile.in: Rebuilt.
9508 * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
9510 2003-01-31 Tom Tromey <tromey@redhat.com>
9512 * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
9513 cast to element type.
9514 (_Jv_JNI_SetObjectArrayElement): Check array bounds.
9515 (_Jv_JNI_GetObjectArrayElement): Likewise.
9517 * Makefile.in: Rebuilt.
9518 * Makefile.am (cond_x_ltlibrary): Renamed library to
9519 lib-gnu-awt-xlib.la.
9520 (lib_gnu_awt_xlib_la_SOURCES): Renamed.
9521 (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
9522 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
9523 (lib_gnu_awt_xlib_la_LIBADD): Likewise.
9524 (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
9525 (lib_gnu_awt_xlib_la_LINK): Likewise.
9526 (install-exec-hook): Removed.
9527 (lib-gnu-awt-xlib.la): Renamed.
9529 2003-01-31 Tom Tromey <tromey@redhat.com>
9531 * aclocal.m4, configure, include/config.h.in: Rebuilt.
9532 * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
9533 aclocal.m4 and lost in some merge.
9535 * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
9536 Don't try to find graphics configuration.
9537 * java/awt/Toolkit.java (default_toolkit_name): Use new
9538 Configuration entry.
9539 * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
9541 * configure: Rebuilt.
9542 * configure.in (TOOLKIT): New subst.
9543 (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
9544 Do AWT tests much earlier. Run Gtk tests. Make jniinclude
9545 directory. Make output directories for .c files.
9546 * Makefile.in: Rebuilt.
9547 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
9548 (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
9549 (all_java_source_files): Added new sources.
9550 ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
9551 (gtk_c_files): New macro.
9552 (gtk_c_source_files): New macro.
9553 (cond_gtk_ltlibrary): New macro.
9554 ($(gtk_c_files)): New target.
9555 (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
9556 (gtk_awt_peer_sources): New macro.
9557 (gtk_c_headers): New macro.
9558 ($(gtk_c_headers)): New target.
9559 (ACLOCAL_AMFLAGS): New macro.
9560 * gtk.m4, glib.m4, libart.m4: New files.
9561 * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
9562 gnu/java/awt/peer/gtk/GdkGraphics.java,
9563 gnu/java/awt/peer/gtk/GtkArg.java,
9564 gnu/java/awt/peer/gtk/GtkArgList.java,
9565 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
9566 gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
9567 gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
9568 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
9569 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
9570 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
9571 gnu/java/awt/peer/gtk/GtkClipboard.java,
9572 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
9573 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
9574 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
9575 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
9576 gnu/java/awt/peer/gtk/GtkFontPeer.java,
9577 gnu/java/awt/peer/gtk/GtkFramePeer.java,
9578 gnu/java/awt/peer/gtk/GtkGenericPeer.java,
9579 gnu/java/awt/peer/gtk/GtkImage.java,
9580 gnu/java/awt/peer/gtk/GtkImagePainter.java,
9581 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
9582 gnu/java/awt/peer/gtk/GtkListPeer.java,
9583 gnu/java/awt/peer/gtk/GtkMainThread.java,
9584 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
9585 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
9586 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
9587 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
9588 gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
9589 gnu/java/awt/peer/gtk/GtkPanelPeer.java,
9590 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
9591 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
9592 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
9593 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
9594 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
9595 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
9596 gnu/java/awt/peer/gtk/GtkToolkit.java,
9597 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
9598 gnu/java/awt/peer/gtk/TestAWT.java,
9599 gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
9600 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
9601 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
9602 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
9603 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
9604 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
9605 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
9606 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
9607 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
9608 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
9609 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
9610 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
9611 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
9612 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
9613 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
9614 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
9615 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
9616 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
9617 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
9618 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
9619 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
9620 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
9621 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
9622 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
9623 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
9624 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
9625 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
9626 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
9627 jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
9628 jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
9629 jni/classpath/jnilink.c, jni/classpath/jnilink.h,
9630 jni/classpath/native_state.c, jni/classpath/native_state.h,
9631 jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
9633 2003-01-31 Julian Dolby <dolby@us.ibm.com>
9635 * java/util/Properties.java (load): Ignore backslash before EOF.
9637 2003-01-30 Jeff Sturm <jsturm@one-point.com>
9639 * java/lang/natClass.cc (initializeClass): Check tables when
9640 (state == JV_STATE_IN_PROGRESS).
9641 (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
9642 * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
9643 interpreted classes.
9644 (linkClass0): Use _Jv_WaitForState.
9646 2003-01-28 Oscar Pearce <oscar@pearceenterprises.com>
9648 * java/awt/Component.java (processPaintEvent): Dispose of Graphics
9649 object when finished.
9651 2003-01-28 Andreas Tobler <a.tobler@schweiz.ch>
9653 * libjava/configure.host: Disable can_unwind_signal on darwin.
9655 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
9658 * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
9659 additionally containing id of the owner thread as well as
9660 the number of nested times the thread has acquired the mutex.
9661 (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
9662 (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
9663 (_Jv_MutexUnlock): Check if really the owner thread, reset
9664 owner thread id to 0 before leaving, if leaving for the last
9666 (_Jv_MutexLock): Set owner thread id in the mutex and increment
9668 (_Jv_ThreadYield): Yield using a call to Sleep(0).
9669 * win32-threads.cc (_Jv_CondWait): Check if really owner of
9671 Pass handle of the broadcast event, instead of a pointer to it
9672 in Win32 ResetEvent( ) call.
9673 Remove incorrect return values.
9674 (_Jv_CondDestroy): Close both event handles and delete
9676 (_Jv_CondNotify): Check if really the owner thread.
9677 (_Jv_CondNotifyAll): Check if really the owner thread.
9678 (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
9679 (really_start): Use SetEvent( ) to signal daemon_cond.
9680 (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
9681 WaitForSingleObject( ) instead to wait for daemon_cond to be
9684 2003-01-27 Ranjit Mathew <rmathew@hotmail.com>
9686 * configure.in: Specifically define HAVE_BACKTRACE if building
9688 * include/win32.h: Remove HAVE_BACKTRACE definition.
9689 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
9690 * configure: Rebuilt.
9692 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
9694 * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
9695 Set and AC_SUBST. Remove USE_LIBDIR conditional.
9696 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
9697 (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
9698 * Makefile.in, configure: Rebuilt.
9700 2003-01-24 Ranjit Mathew <rmathew@hotmail.com>
9703 * java/io/natFileWin32.cc (performList): Append only "*.*"
9704 if the canonical file path already has a "\" at the end.
9706 2003-01-24 Tom Tromey <tromey@redhat.com>
9708 * defineclass.cc (handleMethodsEnd): Precompute code for static
9710 (handleCodeAttribute): Likewise.
9711 * resolve.cc (ncode): Use run_class for unsynchronized static
9713 * include/java-interp.h (class _Jv_InterpMethod): Declare
9715 * interpret.cc (run_synch_class): Initialize class.
9716 (run) [insn_invokestatic]: Don't initialize class.
9717 [insn_anewarray]: Likewise.
9718 [insn_multianewarray]: Likewise.
9719 (run_class): New function.
9721 2003-01-24 Tom Tromey <tromey@redhat.com>
9723 * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
9726 2003-01-22 Andrew Haley <aph@redhat.com>
9728 * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
9729 * configure.host (CHECKREFSPEC): Define for x86_64.
9731 2003-01-21 Tom Tromey <tromey@redhat.com>
9733 * java/util/natResourceBundle.cc (getCallingClassLoader): Start
9736 2003-01-21 Vladimir Puskas <vpuskas@eunet.yu>
9738 * java/io/natFileWin32.cc (isAbsolute): Check path length before
9739 looking at any characters.
9740 * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
9742 (isAbsolute): Check path's length as well.
9744 2003-01-17 Mark Wielaard <mark@klomp.org>
9746 * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
9747 (nat_source_files): Add natVMObjectStreamClass.cc.
9748 * Makefile.in: Regenerated.
9749 * gcj/javaprims.h (namespace java): Regenerated.
9750 * java/io/ObjectStreamClass.java (getClassUID): Call
9751 VMObjectStreamClass.hasClassInitializer().
9752 (hasClassInitializer): Removed.
9753 * java/io/VMObjectStreamClass.java: New class.
9754 * java/io/natVMObjectStreamClass.cc: New file.
9755 * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
9757 2003-01-16 Mark Wielaard <mark@klomp.org>
9759 * java/net/SocketImpl.java (toString): Don't explicitly call
9760 toString() on possible null address.
9762 2003-01-16 Michael Koch <konqueror@gmx.de>
9764 * java/net/MulticastSocket.java
9765 (setInterface): Reindented.
9767 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
9769 * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
9770 * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
9771 * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
9772 translateY arguments. Implement.
9773 * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
9774 down translation arguments.
9775 (drawPolyline, drawPolygon): Fix incorrect tests.
9776 * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
9777 translateX and translateY arguments.
9779 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
9781 * Makefile.in: Rebuilt.
9782 * Makefile.am (xlib_includes): New macro.
9785 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
9787 * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
9788 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
9789 16-bit display mode.
9791 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
9793 * java/awt/CardLayout.java (show): Rewrote.
9794 (gotoComponent): Removed `target' argument. Simplified code.
9795 Don't pre-compute `choice' unless `what' is FIRST or LAST.
9796 Changed all callers.
9799 2003-01-14 Michael Koch <konqueror@gmx.de>
9801 * java/net/InetSocketAddress.java
9802 (serialVersionUID): New member variable.
9803 * java/net/NetPermission.java
9804 (NetPermission): Dont implement java.io.Serialization directly.
9805 * java/net/SocketAddress.java:
9806 (serialVersionUID): Documentation added.
9808 2003-01-14 Michael Koch <konqueror@gmx.de>
9810 * java/awt/Label.java
9811 (Label): Implements javax.accessibility.Accessible;
9812 * java/awt/List.java
9813 (List): Implements javax.accessibility.Accessible;
9814 * java/awt/ScrollPane.java
9815 (ScrollPane): Implements javax.accessibility.Accessible;
9816 * java/awt/Scrollbar.java
9817 (Scrollbar): Implements javax.accessibility.Accessible;
9818 * java/awt/TextComponent.java
9819 (setCaretPosition): Throw exception, documentation added.
9820 * java/awt/Toolkit.java:
9821 Added some newlines in method documentations.
9822 (createButton): Exception documentation added.
9823 (createTextField): Exception documentation added.
9824 (createLabel): Exception documentation added.
9825 (createList): Exception documentation added.
9826 (createCheckbox): Exception documentation added.
9827 (createScrollbar): Exception documentation added.
9828 (createScrollPane): Exception documentation added.
9829 (createTextArea): Exception documentation added.
9830 (createChoice): Exception documentation added.
9831 (createFrame): Exception documentation added.
9832 (createWindow): Exception documentation added.
9833 (createDialog): Exception documentation added.
9834 (createMenuBar): Exception documentation added.
9835 (createMenu): Exception documentation added.
9836 (createMenuItem): Exception documentation added.
9837 (createFileDialog): Exception documentation added.
9838 (createCheckboxMenuItem): Exception documentation added.
9839 (loadSystemColors): Exception documentation added.
9840 (setDynamicLayout): Exception documentation added.
9841 (isDynamicLayoutSet): Exception documentation added.
9842 (isDynamicLayoutActive): Exception documentation added.
9843 (getScreenSize): Exception documentation added.
9844 (getScreenResolution): Exception documentation added.
9845 (getScreenInsets): Exception documentation added.
9846 (getColorModel): Exception documentation added.
9847 (getSystemClipboard): Exception documentation added.
9848 (getSystemSelection): Exception documentation added.
9849 (getMenuShortcutKeyMask): Exception documentation added.
9850 (getSystemEventQueue): Exception documentation added.
9851 * java/awt/Window.java:
9852 Reindented some code.
9853 (Window): Centralized implementation, documentation added.
9854 (finalize): Documentation added.
9855 (hide): Fixed typo in comment.
9856 (getWindowListeners): Documentation added.
9857 * java/awt/color/ColorSpace.java
9858 (toRGB): Documentation added.
9859 * java/awt/color/ICC_ColorSpace.java
9860 (ICC_ColorSpace): Documentation added.
9861 (toRGB): Throw exception, documentation added.
9862 (fromRGB): Throw exception, documentation added.
9863 (toCIEXYZ): Documentation added.
9864 (fromCIEXYZ): Documentation added.
9865 (getMinValue): Documentation added.
9866 (getMaxValue): Documentation added.
9867 * java/awt/geom/Dimension2D.java
9868 (clone): Documentation added.
9869 * java/awt/geom/GeneralPath.java
9870 (clone): Documentation added.
9871 * java/awt/geom/Line2D.java
9872 (clone): Documentation added.
9873 * java/awt/geom/QuadCurve2D.java
9874 (clone): Documentation added.
9875 * java/awt/image/ColorModel.java
9876 (ColorModel): Throw exception, documentation added.
9877 * java/awt/image/ImageFilter.java
9878 (clone): Doesnt throw CloneNotSupportedException.
9880 2003-01-14 Andrew Haley <aph@redhat.com>
9882 * java/lang/natRuntime.cc (_load): StackTrace access needs to be
9885 2003-01-10 Andrew Haley <aph@redhat.com>
9887 * include/dwarf2-signal.h: Remove x86_64.
9888 * configure.host (x86_64 DIVIDESPEC): Remove.
9889 * include/x86_64-signal.h: New file.
9890 * configure.in: Regenerate.
9892 2003-01-10 Michael Koch <konqueror@gmx.de>
9894 * java/net/DatagramSocket.java
9895 (ch): Description added.
9896 (remotePort): Initialize with -1.
9897 (connect): Doesnt throws SocketException.
9898 * java/net/MulticastSocket.java
9899 (setInterface): Merge with Classpath.
9900 * java/net/ServerSocket.java
9901 (closed): New member variable.
9902 (bind): Check if socket is closed.
9903 (close): Close an associated channel too, set new value to closed.
9904 (isBound): Reindented.
9905 (isClosed): Implemented.
9906 * java/net/Socket.java
9907 (closed): New member variable.
9908 (bind): Check if socket is closed.
9909 (connect): Check if socket is closed.
9910 (close): Close an associated channel too, set new value to closed.
9911 (isClosed): Implemented.
9913 2003-01-10 Michael Koch <konqueror@gmx.de>
9915 * java/awt/DisplayMode.java
9916 (equals): Fixed argument type and implementation.
9918 2003-01-07 Tom Tromey <tromey@redhat.com>
9920 * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
9921 JV_HASH_SYNCHRONIZATION.
9922 * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
9923 JV_HASH_SYNCHRONIZATION.
9925 2003-01-07 Michael Koch <konqueror@gmx.de>
9927 * java/net/DatagramSocket.java:
9928 Added classpath license info.
9929 (DatagramSocket): Merged description with classpath.
9930 (close): Merged description with classpath.
9931 (getChannel): Merged description with classpath.
9932 (getInetAddress): Merged description with classpath.
9933 (getPort): Merged description with classpath.
9934 (getLocalAddress): Merged description with classpath.
9935 (getLocalPort): Merged description with classpath.
9936 (getSoTimeout): Merged description with classpath.
9937 (setSoTimeout): Merged description with classpath.
9938 (getSendBufferSize): Merged description with classpath.
9939 (setSendBufferSize): Merged description with classpath.
9940 (getReceiveBufferSize): Merged description with classpath.
9941 (setReceiveBufferSize): Merged description with classpath.
9943 2003-01-04 Tom Tromey <tromey@redhat.com>
9945 * java/awt/List.java: Merged with Classpath.
9947 2003-01-03 Mark Wielaard <mark@klomp.org>
9949 * java/io/FileDescriptor.java (position): New private field.
9950 * java/io/natFileDescriptorPosix.cc (write): Up position.
9951 (setLength): Use and set position.
9952 (seek): Set position.
9953 (getFilePointer): Return position.
9954 (read): Up position.
9956 2003-01-03 Mark Wielaard <mark@klomp.org>
9958 Merge with Classpath:
9959 * java/io/ObjectStreamClass.java (lookup): Split method and call
9960 lookupForClassObject().
9961 (lookupForClassObject): New method.
9962 (isProxyClass): New field.
9963 (setClass): Set isProxyClass, add object to classLookupTable, set
9964 superClass and calculateOffsets.
9965 (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
9966 and not a proxy class.
9967 (setFields): Set accessible true for serialPersistentFields.
9968 (getClassUID): Same for suid. And check if suid is of type long.
9969 (hasClassInitializer): Don't throw NoSuchMethodError.
9971 2003-01-03 Mark Wielaard <mark@klomp.org>
9973 * java/io/FileInputStream.java (finalize): Don't explicitly
9974 finalize FileDescriptor.
9976 2003-01-03 Jeff Sturm <jsturm@one-point.com>
9978 * configure.host (sparc*-*): Enable bytecode interpreter.
9980 2003-01-03 Dhek Bhun Kho <bhun@chello.nl>
9982 * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
9983 Don't throw RemoteException.
9984 * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
9985 throw RemoteException.
9987 2003-01-03 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
9989 * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
9990 proxyHost): New static fields.
9991 (<clinit>): Initialize new fields.
9992 (connect): Use proxy if necessary.
9993 (usingProxy): Implement.
9995 2003-01-03 Eric Blake <ebb9@email.byu.edu>
9997 * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
9998 (TreeIterator.remove): Prefer IllegalStateException over
9999 ConcurrentModificationException, to match Sun.
10001 2002-12-22 Anthony Green <green@redhat.com>
10003 * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
10005 2003-01-02 Mark Wielaard <mark@klomp.org>
10007 * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
10009 (HTTP_USE_PROXY): Add field.
10010 (getResponseVals): Only set responseCode when not yet explicitly
10013 2003-01-02 Artur Biesiadowski <abies@pg.gda.pl>
10014 Mark Wielaard <mark@klomp.org>
10016 * java/util/zip/ZipFile.java (entries): Now HashMap.
10017 (readLeShort(DataInput, byte[])): Read from given byte array.
10018 (readLeInt(DataInput, byte[]): Likewise.
10019 (readLeShort(byte[] b, int off)): New method.
10020 (readLeInt(byte[] b, int off)): Likewise.
10021 (readEntries): Use byte arrays to read info in bigger chunks.
10022 (getEntries): Return HashMap.
10023 (getEntry): Use HashMap.
10024 (locBuf): New private field.
10025 (checkLocalHeader): Use locBuf to read info in one chunk.
10026 (getInputStream): Use entries HashMap, wrap PartialInputStream
10027 in BufferedInputStream.
10028 (ZipEntryEnumeration): Use HashMap and Interator.
10030 2003-01-02 Mark Wielaard <mark@klomp.org>
10031 Jeroen Frijters <jeroen@sumatra.nl>
10033 * java/net/URLClassLoader.java (Resource.getCodeSource):
10034 Fix check certs == null.
10035 (getCanonicalFileURL): Removed method.
10036 (JarURLLoader): Don't call removed method.
10037 (FileURLLoader): Likewise.
10038 (FileURLLoader.getResource): Don't canonicalize file name.
10040 2003-01-01 Tom Tromey <tromey@redhat.com>
10042 * Makefile.in: Rebuilt.
10043 * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
10044 * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
10045 java/awt/BufferCapabilities.java, java/awt/Button.java,
10046 java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
10047 java/awt/Container.java, java/awt/Cursor.java,
10048 java/awt/EventQueue.java, java/awt/FileDialog.java,
10049 java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
10050 java/awt/MenuBar.java, java/awt/MenuComponent.java,
10051 java/awt/PopupMenu.java, java/awt/ScrollPane.java,
10052 java/awt/Scrollbar.java, java/awt/TextArea.java,
10053 java/awt/TextField.java, java/awt/color/CMMException.java,
10054 java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
10055 java/awt/color/ProfileDataException.java,
10056 java/awt/datatransfer/Clipboard.java,
10057 java/awt/datatransfer/DataFlavor.java,
10058 java/awt/datatransfer/FlavorMap.java,
10059 java/awt/datatransfer/SystemFlavorMap.java,
10060 java/awt/dnd/DragGestureEvent.java,
10061 java/awt/dnd/DragGestureRecognizer.java,
10062 java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
10063 java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
10064 java/awt/im/InputMethodHighlight.java,
10065 java/io/PipedOutputStream.java, java/io/PipedWriter.java,
10066 java/rmi/server/RMIClassLoader.java: Merged from Classpath.
10068 * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
10069 `op' to BufferedImageOp.
10071 2002-12-31 Tom Tromey <tromey@redhat.com>
10073 Fix for PR libgcj/7416:
10074 * javax/naming/InitialContext.java (init): Use
10075 gnu.classpath.home.url.
10076 * java/security/Security.java: Use new properties.
10077 (loadProviders): Accept base url; use it.
10078 * java/lang/System.java: Document gnu.classpath.vm.shortname, and
10079 gnu.classpath.home.url.
10080 (gnu.classpath.home.url): Define.
10081 (gnu.classpath.vm.shortname): Likewise.
10083 2002-12-31 Tom Tromey <tromey@redhat.com>
10084 Ranjit Mathew <rmathew@hotmail.com>
10086 Fix for PR libgcj/8997:
10087 * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
10088 Include platform.h.
10089 * include/posix.h (_Jv_platform_usleep): New function.
10090 * include/win32.h (_Jv_platform_usleep): New function.
10092 2002-12-29 Tom Tromey <tromey@redhat.com>
10094 * gcj/javaprims.h: Updated.
10095 * scripts/classes.pl (scan): Removed stray semicolon.
10097 2002-12-30 Mark Wielaard <mark@klomp.org>
10099 * java/net/URLStreamHandler.java (toExternalForm): Ignore port
10100 if zero or smaller.
10102 2002-12-30 Mark Wielaard <mark@klomp.org>
10104 * java/util/Properties (formatForOutput): Don't fall through to
10105 default case after escaping character.
10107 2002-12-30 Mark Wielaard <mark@klomp.org>
10109 * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
10112 2002-12-27 Mark Mitchell <mark@codesourcery.com>
10114 * boehm.cc: Remove stray semicolon.
10115 * interpret.cc: Likewise.
10116 * prims.cc: Likewise.
10117 * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
10118 earlier to ensure default arguments are processed.
10119 * gcj/array.h (JArray): Add forward declaration.
10120 (elements): Likewise.
10121 * gcj/javaprim.h: Remove stray semicolons.
10122 * include/bohm-gc.h: Likewise.
10123 * include/jni.h: Likewise.
10124 * include/jvm.h: Likewise.
10125 * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
10127 2002-12-23 Jeff Sturm <jsturm@one-point.com>
10129 * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
10131 * java/lang/natClass.cc (initializeClass): Link vtable, otable,
10132 idt tables after initializing superclass.
10133 * java/lang/natClassLoader.cc (uaddr): New typedef.
10134 (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
10135 if they are constant pool indicies. Don't link vtable, otable yet.
10137 2002-12-21 Anthony Green <green@redhat.com>
10139 * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
10141 * Makefile.in: Rebuilt.
10143 2002-12-19 Anthony Green <green@redhat.com>
10145 * Makefile.am (ordinary_java_source_files): Add
10146 org/xml/sax/helpers/NewInstance.java.
10147 * Makefile.in: Rebuilt.
10148 * org/xml/sax/package.html, org/xml/sax/ext/package.html,
10149 org/xml/sax/helpers/package.html: New files.
10150 * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
10151 http://www.saxproject.org.
10153 2002-12-19 Andrew Haley <aph@redhat.com>
10155 * java/util/natResourceBundle.cc: Include
10156 ArrayIndexOutOfBoundsException.h.
10157 (getCallingClassLoader): Don't put upper bound on stack search.
10158 Catch ArrayIndexOutOfBoundsException.
10160 2002-12-19 Tom Tromey <tromey@redhat.com>
10162 * libtool-version: Increased `current'.
10164 2002-12-19 Tom Tromey <tromey@redhat.com>
10166 * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
10168 * java/lang/ClassLoader.java (defineClass): Use chained
10169 exception when rethrowing.
10170 * defineclass.cc (handleClassBegin): Mark class as interpreted.
10171 * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
10173 * resolve.cc (_Jv_PrepareMissingMethods): New function.
10174 (_Jv_PrepareClass): Use it.
10175 * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
10176 (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
10177 * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
10178 (Class): _Jv_PrepareMissingMethods now friend.
10179 * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
10180 Record `NULL' for system class loader.
10181 (_Jv_RegisterInitiatingLoader): Use JvSynchronize. Special case
10182 system class loader.
10183 (_Jv_FindClassInCache): Likewise.
10184 (_Jv_UnregisterClass): Use JvSynchronize. Free old loader info.
10185 (_Jv_FindClass): Special case system class loader.
10186 * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
10187 (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
10189 (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
10191 (_getDeclaredMethod): Don't return synthetic methods.
10192 (getDeclaredMethods): Likewise.
10193 (_getMethod): Likewise.
10194 (_getMethods): Likewise.
10196 2002-12-18 Raif Naffah <raif@fl.net.au>
10198 * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
10199 canonical form after divide().
10200 (modInverse): Likewise.
10202 2002-12-13 Casey Marshall <rsdio@metastatic.org>
10203 Mark Wielaard <mark@klomp.org>
10205 * java/security/SecurityRandom (digest): Removed field.
10206 (SecureRandom): Check all providers for case-insensitive SecureRandom
10207 implementation. Don't ignore classname == null. Fallback to SHA1PRNG
10209 (getInstance(String,Provider,boolean): New method.
10210 (getInstance(String)): Use new method.
10211 (getInstance(String,String)): Likewise.
10212 (getInstance(String,Provider)): Likewise.
10214 2002-12-13 Casey Marshall <rsdio@metastatic.org>
10216 * java/security/Security.java (loadProviders): Increment i only once.
10218 2002-12-12 Mark Wielaard <mark@klomp.org>
10220 * java/lang/ClassLoader.java (resolveClass0): Transform
10221 ClassNotFoundException to NoClassDefFoundError. Transform all other
10222 throwables to LinkageError.
10224 2002-12-11 Tom Tromey <tromey@redhat.com>
10226 * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
10228 * java/lang/ClassLoader.java (loadedClasses): New field.
10229 (defineClass): Fixed indentation. Put new class in
10231 (findLoadedClass): Implement here.
10232 * java/lang/natClassLoader.cc (findLoadedClass): Removed.
10234 2002-12-10 Tom Tromey <tromey@redhat.com>
10236 * Makefile.in: Rebuilt.
10237 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
10238 * gnu/gcj/runtime/natVMClassLoader.cc: New file.
10239 (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
10240 * java/lang/natClassLoader.cc
10241 (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
10243 2002-12-10 Mark Wielaard <mark@klomp.org>
10244 Tom Tromey <tromey@redhat.com>
10246 * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
10247 (JarURLLoader): Use it.
10248 (FileURLLoader): Likewise.
10249 (JarURLResource.getURL): Use chained exception.
10250 (FileResource.getURL): Likewise.
10251 (FileURLLoader.getResource): Use canonical file name.
10252 (addURL): Indentation fix.
10254 2002-12-10 Tom Tromey <tromey@redhat.com>
10256 * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
10257 From Laurent Bardet <l.bardet@magic.fr>.
10259 2002-12-09 Tom Tromey <tromey@redhat.com>
10261 * include/win32.h (_Jv_platform_solib_prefix): New define.
10262 (_Jv_platform_solib_suffix): Likewise.
10263 * include/posix.h (_Jv_platform_solib_prefix): New define.
10264 (_Jv_platform_solib_suffix): Likewise.
10265 * java/lang/natRuntime.cc: Include StackTrace.h.
10266 (_load): Use findLibrary and new platform defines.
10267 (nativeGetLibname): Use new platform defines.
10269 * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
10272 2002-12-08 Mark Wielaard <mark@klomp.org>
10274 * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
10275 cache remote jar files.
10276 * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
10277 add File.separator to URL when it is a directory.
10278 * java/lang/ClassLoader.java: Add Classpath javadoc.
10280 (getParent): Add (disabled) security check.
10281 (findLibrary): New default method.
10282 * java/net/JarURLConnection.java (getManifest): Implement.
10283 (getInputStream): Only create InputStream when entry exists.
10284 (getHeaders): Only use jarFileURLConnection or JarEntry to set length
10286 * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
10288 2002-12-08 Mark Wielaard <mark@klomp.org>
10290 * java/util/ResourceBundle.java (resourceBundleCache): Not final.
10291 (lastDefaultLocale): New field.
10292 (getBundle): When Locale.getDefault != lastDefaultLocale reset
10293 resourceBundleCache.
10295 2002-12-06 Mark Wielaard <mark@klomp.org>
10297 * java/net/InetAddress.java (toString): Use hostname when not null,
10298 don't do an explicit reverse getHostName() lookup.
10299 * java/net/Socket.java (setSocketImplFactory): When fac == null throw
10300 NullPointerException.
10302 2002-12-06 Tom Tromey <tromey@redhat.com>
10304 * include/java-interp.h (class _Jv_InterpMethod): Added
10306 * boehm.cc (_Jv_MarkObj): Consolidated interpreter code. Also
10307 mark `prepared' field of interpreted method.
10308 * interpret.cc (compile): Use _Jv_AllocBytes.
10310 2002-12-05 Andrew Haley <aph@redhat.com>
10312 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
10313 #ifdef (HAVE_BACKTRACE) around the whole function body.
10315 2002-12-05 Tom Tromey <tromey@redhat.com>
10317 * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
10318 * resolve.cc: Don't include AbstractMethodError.h.
10319 (_Jv_abstractMethodError): Removed.
10320 * defineclass.cc (handleMethodsBegin): Initialize method index to
10322 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
10323 method index for "new" final method.
10324 (_Jv_SetVTableEntries): Compare index against -1 instead of using
10325 isVirtualMethod. Added `flags' argument.
10326 (_Jv_MakeVTable): Throw exception for abstract method in concrete
10329 2002-12-04 Tom Tromey <tromey@redhat.com>
10331 * java/net/SocketPermission.java (hashCode): Rewrote.
10333 2002-12-04 Tom Tromey <tromey@redhat.com>
10335 * Makefile.in: Rebuilt.
10336 * Makefile.am (nat_source_files): Added natVMSecurityManager,
10338 * java/util/ResourceBundle.java (Security): Removed.
10339 (getCallingClassLoader): Now native.
10340 * java/util/natResourceBundle.cc: New file.
10341 * java/lang/natVMSecurityManager.cc: New file.
10342 * java/lang/VMSecurityManager.java (getClassContext): Now native.
10344 2002-12-03 Mark Wielaard <mark@klomp.org>
10346 * java/util/jar/JarFile.java (manifest): Not final.
10347 (manifestRead): New field.
10348 (JarFile): Don't read Manifest in constructor.
10349 (getManifest): New method.
10350 (JarEnumeration.nextElement): Use new method.
10351 (getEntry): Likewise.
10352 * java/util/zip/ZipFile.java (name): Final.
10354 (entries): Change type to Hashtable.
10355 (closed): New field.
10356 (ZipFile): Don't read enties in constructor.
10357 (readEntries): Use Hashtable.
10358 (close): Set new close flag and set entries to null inside
10359 synchronized block.
10360 (entries): Contruct enumeration using new getEntries() method and
10362 (getEntryIndex): Removed.
10363 (getEntries): New method.
10364 (getEntry): Use new getEntries() method and entries Hastable.
10365 (getInputStream): Likewise.
10366 (size): Return getEntries().size().
10367 (ZipEntryEnumeration): Wrap entries Hashtable elements.
10368 * java/util/zip/ZipEntry.java (cal): Don't initialize.
10370 (dostime): New field.
10371 (zipFileIndex): Removed.
10372 (ZipEntry(ZipEntry)): Copy dostime.
10373 (setDOSTime): Now final and doesn't convert dos time.
10374 (getDOSTime): Likewise.
10375 (setTime): Convert dos time.
10376 (getTime): Likewise.
10377 (getCalendar): New method.
10378 (setExtra): Use setTime().
10379 * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
10381 2002-12-03 Tom Tromey <tromey@redhat.com>
10383 * java/lang/Character.java (forDigit): Formatting fix.
10385 2002-12-03 Raif Naffah <raif@fl.net.au>
10387 * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
10388 * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
10389 * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
10391 2002-12-03 Andrew Haley <aph@redhat.com>
10393 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
10395 (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
10396 (_Jv_PopClass): New.
10397 (_Jv_PushClass): New.
10398 * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
10399 discover the ClassLoader of our caller.
10400 (_Jv_CheckArrayStore): Don't check that a class is assignment
10401 compatible with Object.
10402 * java/lang/natVMTHrowable.cc: Delete.
10403 * gnu/gcj/runtime/StackTrace.java: New, partly copied from
10404 java.lang.VMThrowable.
10405 (StackTrace(), StackTrace(int)): New constructors.
10406 (classAt, methodAt, update, methodAtAddress): New methods.
10408 * java/lang/VMThrowable.java: Use StackTrace instead of
10410 * java/lang/Class.h (getClassLoaderInternal): New.
10411 (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
10412 Be friendly with gnu::gcj::runtime::StackTrace.
10413 (Object.chain): New field.
10414 * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
10415 gnu::gcj::runtime::StackTrace.
10416 * gnu/gcj/runtime/natStackTrace.cc: New file.
10417 * gnu/gcj/runtime/MethodRef.java: New file.
10418 * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
10419 instead of getClassLoader().
10420 * verify.cc (class _Jv_BytecodeVerifier): Likewise.
10421 java::lang::VMThrowable.
10422 * Makefile.am (core_java_source_files): Add MethodRef.java,
10424 (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
10425 * Makefile.in: Rebuild.
10427 2002-12-02 Kaz Kojima <kkojima@gcc.gnu.org>
10429 * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
10430 CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
10431 yes also for sh-linux* and sh[34]*-linux*.
10432 * configure.in: Add sh-linux* and sh[34]*-linux* cases and
10433 set SIGNAL_HANDLER to use DWARF2 exception for them.
10434 * configure: Regenerate.
10436 2002-12-02 Tom Tromey <tromey@redhat.com>
10438 * jni.cc: Added `name' argument.
10439 * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
10440 `const char *' argument.
10441 (class _Jv_JNIEnv) [DefineClass]: Likewise.
10443 2002-12-01 Tom Tromey <tromey@redhat.com>
10445 Bug compatibility, for PR libgcj/8738:
10446 * java/io/CharArrayWriter.java (close): Do nothing.
10448 (reset): Don't touch `closed'.
10449 (write(int)): Don't throw IOException.
10450 (write(char[],int,int)): Likewise.
10451 (write(String,int,int)): Likewise.
10454 2002-12-01 Mark Wielaard <mark@klomp.org>
10456 * java/lang/SecurityManager.java: Remerge comments, indenting and
10457 checkXXX methods with Classpath.
10459 2002-11-29 Scott Gilbertson <scottg@mantatest.com>
10461 * java/awt/image/ColorModel.java (getUnnormalizedComponents,
10462 getNormalizedComponents): Fix calculation which was using one too
10463 many bits in the unnormalized format.
10465 2002-11-29 Gary Benson <gbenson@redhat.com>
10467 For PR libgcj/8759:
10468 * java/beans/Introspector.java (flushCaches): New method.
10469 (flushFromCaches): Likewise.
10471 2002-11-29 Michael Koch <konqueror@gmx.de>
10473 * java/nio/channels/DatagramChannel.java
10474 (open): Added exception documentation.
10475 (write): Added exception documentation.
10476 (connect): Added exception documentation.
10477 (disconnect): Added exception documentation.
10478 (isConnected): Added exception documentation.
10479 (read): Added exception documentation.
10480 (receive): Added exception documentation.
10481 (send): Added exception documentation.
10482 (validOps): Added exception documentation.
10483 * java/nio/channels/SocketChannel.java
10484 (open): Added exception documentation.
10485 (read): Added exception documentation.
10486 (write): Added exception documentation.
10487 (connect): Added exception documentation.
10488 (finishConnect): Added exception documentation.
10490 2002-11-29 Michael Koch <konqueror@gmx.de>
10492 * gnu/java/nio/DatagramChannelImpl:
10493 (fd): New member variable to store file descriptor of socket.
10494 * gnu/java/nio/SelectionKeyImpl.java:
10496 (readyOps): New member variable.
10497 (interestOps): New member variable.
10498 (readyOps): Implemented.
10499 (readyOps): New method to set member variable readyOps.
10500 (interestOps): Replaced ops by interestOps.
10501 * gnu/java/nio/SelectorImpl.java:
10502 (SelectorImpl): Initialize key sets.
10503 (select): Call select with -1 instead of Long.MAX_VALUE).
10504 (java_do_select): Make it a native method.
10505 (getFDsAsArray): New helper method.
10506 (select): Remove canceled keys, give only interested file discriptors
10507 to java_do_select, set ready ops.
10508 (add): No need to initialize keys set here.
10509 (add_selected): No need to initialize selected set here.
10510 (deregisterCanceledKeys): New helper method.
10511 (register): Set interest ops, set attachments, added handling of datagram
10513 * gnu/java/nio/ServerSocketChannelImpl:
10514 (SocketAccept): Renamed from NioSocketAccept.
10515 (implConfigureBlocking): Implemented.
10516 (accept): Use SocketAccept instead of NioSocketAccept.
10517 * gnu/java/nio/SocketChannelImpl:
10518 Reactivate native methods.
10520 2002-11-29 Michael Koch <konqueror@gmx.de>
10522 * gnu/java/nio/natByteBufferImpl.cc,
10523 gnu/java/nio/natCharBufferImpl.cc,
10524 gnu/java/nio/natDoubleBufferImpl.cc,
10525 gnu/java/nio/natFloatBufferImpl.cc,
10526 gnu/java/nio/natIntBufferImpl.cc,
10527 gnu/java/nio/natLongBufferImpl.cc,
10528 gnu/java/nio/natSelectorImpl.cc,
10529 gnu/java/nio/natServerSocketChannelImpl.cc,
10530 gnu/java/nio/natShortBufferImpl.cc,
10531 gnu/java/nio/natSocketChannelImpl.cc:
10532 New files that implement native functionalities.
10534 2002-11-29 Michael Koch <konqueror@gmx.de>
10536 * gnu/java/nio/ByteBufferImpl.java
10537 (ByteBufferImpl): Moved position() after limit.
10538 (nio_*): Use native implementation.
10539 * gnu/java/nio/CharBufferImpl.java:
10541 (endian): New member variable string endianess of buffer.
10542 (CharBufferImpl): Moved position() after limit.
10543 (nio_*): Use native implementation.
10544 (subSequence): Implemented.
10545 * gnu/java/nio/DoubleBufferImpl.java
10546 (DoubleBufferImpl): Moved position() after limit.
10547 (nio_*): Use native implementation.
10548 * gnu/java/nio/FloatBufferImpl.java
10550 (FloatBufferImpl): Moved position() after limit.
10551 (nio_*): Use native implementation.
10552 * gnu/java/nio/IntBufferImpl.java
10553 Added needed imports, Reformated.
10554 (IntBufferImpl): Moved position() after limit.
10555 (nio_*): Use native implementation.
10556 * gnu/java/nio/LongBufferImpl.java
10558 (LongBufferImpl): Moved position() after limit.
10559 (nio_*): Use native implementation.
10560 * gnu/java/nio/ShortBufferImpl.java
10562 (ShortBufferImpl): Moved position() after limit.
10563 (nio_*): Use native implementation.
10565 2002-11-27 Julian Dolby <dolby@us.ibm.com>
10567 * java/util/Locale.java (toString): Improve efficiency if country
10568 and variant are both empty.
10570 2002-11-26 Tom Tromey <tromey@redhat.com>
10572 * verify.cc (pop_init_ref): New method.
10573 (verify_instructions_0) [op_iaload, op_laload, op_faload,
10574 op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
10575 op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
10576 op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
10577 op_instanceof, op_monitorenter, op_monitorexit]: Use it.
10578 (verify_instructions_0) [op_invokevirtual, op_invokespecial,
10579 op_invokestatic, op_invokeinterface]: Use pop_init_ref. Don't
10580 let `this' argument be uninitialized. Don't let `null' be passed
10581 as `this' to construtor.
10583 2002-11-26 Mark Wielaard <mark@klomp.org>
10585 * javax/transaction/HeuristicCommitException.java: Classpath merge.
10586 * javax/transaction/HeuristicMixedException.java: Likewise.
10587 * javax/transaction/HeuristicRollbackException.java: Likewise.
10588 * javax/transaction/InvalidTransactionException.java: Likewise.
10589 * javax/transaction/NotSupportedException.java: Likewise.
10590 * javax/transaction/RollbackException.java: Likewise.
10591 * javax/transaction/Status.java: Likewise.
10592 * javax/transaction/Synchronization.java: Likewise.
10593 * javax/transaction/SystemException.java: Likewise.
10594 * javax/transaction/Transaction.java: Likewise.
10595 * javax/transaction/TransactionManager.java: Likewise.
10596 * javax/transaction/TransactionRequiredException.java: Likewise.
10597 * javax/transaction/TransactionRolledbackException.java: Likewise.
10598 * javax/transaction/UserTransaction.java: Likewise.
10599 * javax/transaction/xa/XAException.java: Likewise.
10600 * javax/transaction/xa/XAResource.java: Likewise.
10601 * javax/transaction/xa/Xid.java: Likewise.
10603 2002-11-26 Andreas Tobler <a.tobler@schweiz.ch>
10605 * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
10607 * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
10608 * include/posix.h (socklen_t): Define if not already defined.
10610 2002-11-25 Tom Tromey <tromey@redhat.com>
10612 * verify.cc (type::compatible): Backed out broken change.
10614 * verify.cc (type::compatible): Check initialization status
10616 * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
10617 Don't use NULLCHECK.
10619 2002-11-23 H.J. Lu <hjl@gnu.org>
10621 * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
10622 Include ../config/accross.m4.
10623 * aclocal.m4; Rebuild.
10624 * configure: Likewise.
10626 2002-11-23 Mark Wielaard <mark@klomp.org>
10628 * javax/naming/AuthenticationException.java: Update copyright header.
10629 * javax/naming/AuthenticationNotSupportedException.java: Likewise.
10630 * javax/naming/Binding.java: Likewise.
10631 * javax/naming/CannotProceedException.java: Likewise.
10632 * javax/naming/CommunicationException.java: Likewise.
10633 * javax/naming/CompositeName.java: Likewise.
10634 * javax/naming/CompoundName.java: Likewise.
10635 * javax/naming/ConfigurationException.java: Likewise.
10636 * javax/naming/Context.java: Likewise.
10637 * javax/naming/ContextNotEmptyException.java: Likewise.
10638 * javax/naming/InitialContext.java: Likewise.
10639 * javax/naming/InsufficientResourcesException.java: Likewise.
10640 * javax/naming/InterruptedNamingException.java: Likewise.
10641 * javax/naming/LimitExceededException.java: Likewise.
10642 * javax/naming/LinkException.java: Likewise.
10643 * javax/naming/LinkLoopException.java: Likewise.
10644 * javax/naming/LinkRef.java: Likewise.
10645 * javax/naming/MalformedLinkException.java: Likewise.
10646 * javax/naming/NameAlreadyBoundException.java: Likewise.
10647 * javax/naming/NameClassPair.java: Likewise.
10648 * javax/naming/NameNotFoundException.java: Likewise.
10649 * javax/naming/NameParser.java: Likewise.
10650 * javax/naming/NamingEnumeration.java: Likewise.
10651 * javax/naming/NamingSecurityException.java: Likewise.
10652 * javax/naming/NoInitialContextException.java: Likewise.
10653 * javax/naming/NoPermissionException.java: Likewise.
10654 * javax/naming/NotContextException.java: Likewise.
10655 * javax/naming/OperationNotSupportedException.java: Likewise.
10656 * javax/naming/PartialResultException.java: Likewise.
10657 * javax/naming/Reference.java: Likewise.
10658 * javax/naming/Referenceable.java: Likewise.
10659 * javax/naming/ReferralException.java: Likewise.
10660 * javax/naming/ServiceUnavailableException.java: Likewise.
10661 * javax/naming/SizeLimitExceededException.java: Likewise.
10662 * javax/naming/TimeLimitExceededException.java: Likewise.
10663 * javax/naming/directory/Attribute.java: Likewise.
10664 * javax/naming/directory/AttributeInUseException.java: Likewise.
10665 * javax/naming/directory/AttributeModificationException.java: Likewise.
10666 * javax/naming/directory/Attributes.java: Likewise.
10667 * javax/naming/directory/BasicAttribute.java: Likewise.
10668 * javax/naming/directory/BasicAttributes.java: Likewise.
10669 * javax/naming/directory/DirContext.java: Likewise.
10670 * javax/naming/directory/InitialDirContext.java: Likewise.
10671 * javax/naming/directory/InvalidAttributeIdentifierException.java:
10673 * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
10674 * javax/naming/directory/InvalidAttributesException.java: Likewise.
10675 * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
10676 * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
10677 * javax/naming/directory/ModificationItem.java: Likewise.
10678 * javax/naming/directory/NoSuchAttributeException.java: Likewise.
10679 * javax/naming/directory/SchemaViolationException.java: Likewise.
10680 * javax/naming/directory/SearchControls.java: Likewise.
10681 * javax/naming/directory/SearchResult.java: Likewise.
10682 * javax/naming/event/EventContext.java: Likewise.
10683 * javax/naming/event/EventDirContext.java: Likewise.
10684 * javax/naming/event/NamespaceChangeListener.java: Likewise.
10685 * javax/naming/event/NamingEvent.java: Likewise.
10686 * javax/naming/event/NamingExceptionEvent.java: Likewise.
10687 * javax/naming/event/NamingListener.java: Likewise.
10688 * javax/naming/event/ObjectChangeListener.java: Likewise.
10689 * javax/naming/ldap/Control.java: Likewise.
10690 * javax/naming/ldap/ControlFactory.java: Likewise.
10691 * javax/naming/ldap/ExtendedRequest.java: Likewise.
10692 * javax/naming/ldap/ExtendedResponse.java: Likewise.
10693 * javax/naming/ldap/HasControls.java: Likewise.
10694 * javax/naming/ldap/InitialLdapContext.java: Likewise.
10695 * javax/naming/ldap/LdapContext.java: Likewise.
10696 * javax/naming/ldap/LdapReferralException.java: Likewise.
10697 * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
10698 * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
10699 * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
10700 * javax/naming/spi/DirObjectFactory.java: Likewise.
10701 * javax/naming/spi/DirStateFactory.java: Likewise.
10702 * javax/naming/spi/DirectoryManager.java: Likewise.
10703 * javax/naming/spi/InitialContextFactory.java: Likewise.
10704 * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
10705 * javax/naming/spi/NamingManager.java: Likewise.
10706 * javax/naming/spi/ObjectFactory.java: Likewise.
10707 * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
10708 * javax/naming/spi/ResolveResult.java: Likewise.
10709 * javax/naming/spi/Resolver.java: Likewise.
10710 * javax/naming/spi/StateFactory.java: Likewise.
10712 * javax/naming/spi/NamingManager.java (ofb): Package private.
10714 2002-11-21 Mark Wielaard <mark@klomp.org>
10716 * java/net/URL.java: Merge with Classpath (partly).
10717 * java/net/URLStreamHandler: Merge with Classpath.
10719 2002-11-22 Michael Koch <konqueror@gmx.de>
10722 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
10724 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
10725 (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
10727 2002-11-21 Michael Koch <konqueror@gmx.de>
10729 * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
10730 Only the new network functions should be in it.
10732 2002-11-21 Michael Koch <konqueror@gmx.de>
10734 * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
10735 * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
10737 2002-11-21 Michael Koch <konqueror@gmx.de>
10739 * java/nio/channels/AsynchronousCloseException.java,
10740 java/nio/channels/CancelledKeyException.java,
10741 java/nio/channels/ClosedByInterruptException.java,
10742 java/nio/channels/ConnectionPendingException.java,
10743 java/nio/channels/FileLockInterruptionException.java,
10744 java/nio/channels/IllegalSelectorException.java,
10745 java/nio/channels/NoConnectionPendingException.java,
10746 java/nio/channels/NonReadableChannelException.java,
10747 java/nio/channels/NonWritableChannelException.java,
10748 java/nio/channels/NotYetBoundException.java,
10749 java/nio/channels/NotYetConnectedException.java,
10750 java/nio/channels/OverlappingFileLockException.java,
10751 java/nio/channels/UnresolvedAddressException.java,
10752 java/nio/channels/UnsupportedAddressTypeException.java:
10754 * Makefile.am (ordinary_java_source_files): Added new files.
10755 * Makefile.in: Regenerated.
10757 2002-11-21 Michael Koch <konqueror@gmx.de>
10760 (_Jv_socket): New method.
10761 (_Jv_connect): New method.
10762 (_Jv_close): New method.
10763 (_Jv_platform_close_on_exec): Prefixed system function with "::".
10764 (_Jv_bind): New method.
10765 (_Jv_listen): New method.
10766 (_Jv_write): New method.
10767 (_Jv_read): New method.
10769 (_Jv_socket): New method.
10770 (_Jv_connect): New method.
10771 (_Jv_close): New method.
10772 (_Jv_bind): New method.
10773 (_Jv_listen): New method.
10774 (_Jv_write): New method.
10775 (_Jv_read): New method.
10776 * java/net/natNetworkInterface.cc:
10777 Include platform.h, removed inclusion of socket.h
10778 (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
10779 ::close() by _Jv_close().
10780 * java/net/natPlainDatagramSocketImpl.cc:
10781 Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
10782 added some new lines to make code more readable.
10783 (create): Replaced ::socket() by _Jv_socket().
10784 (close): Replaced NATIVE_CLOSE() by _Jv_close().
10785 * java/net/natPlainSocketImpl.cc:
10786 Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
10787 removed include of socket.h, removed some windows defines
10788 (now in include/win32.h).
10789 (create): Replaced ::socket() by _Jv_socket().
10790 (close): Replaced NATIVE_CLOSE() by _Jv_close().
10791 (write): Replaced ::read by _Jv_write().
10792 (read): Replaced ::read by _Jv_read().
10794 2002-11-20 Michael Koch <konqueror@gmx.de>
10796 * Makefile.am (ordinary_java_source_files):
10797 Added java/nio/channels/FileChannel.java.
10798 * Makefile.in: Regenerated.
10800 2002-11-20 Michael Koch <konqueror@gmx.de>
10802 * java/io/FileInputStream.java
10803 (getChannel): New method.
10804 * java/io/FileOutputStream.java
10805 (getChannel): New method.
10806 * java/net/ServerSocket.java
10807 (bind): Removed duplicate code and called another bind method instead.
10808 * java/nio/channels/SelectionKey.java
10809 (isValid): Removed wrong exception documentation.
10810 * java/nio/channels/ServerSocketChannel.java
10811 (accept): Added exception documentation.
10812 (open): Fixed typo, added exception documentation.
10813 * java/nio/channels/spi/AbstractSelectableChannel.java
10814 (implCloseChannel): Added exception documentation.
10816 (register): Added exception documentation.
10818 2002-11-20 Andreas Jaeger <aj@suse.de>
10820 * configure: Regenerated with new libtool.m4.
10822 2002-11-19 Tom Tromey <tromey@redhat.com>
10824 * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
10826 (finalize_referred_to_object): Don't modify `referent' or `copy'
10828 (add_to_hash): Correctly set `n->next' when updating list.
10829 * java/lang/ref/Reference.java (enqueue): Return false if already
10832 2002-11-19 Ranjit Mathew <rmathew@hotmail.com>
10834 * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
10835 to function and function pointer declarations in accordance with
10836 Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
10837 based on whether __GCJ_JNI_IMPL__ has been defined or not.
10838 * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
10839 JNI function definitions.
10841 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
10843 * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
10844 that was causing CoderResults to be cached, not WeakReferences
10847 2002-11-18 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
10849 * java/security/KeyStore.java (getInstance): Fix
10850 comment and throw IllegalArgumentException if
10851 given provider is null.
10852 (getInstance): New method for jdk1.4 compatibility.
10854 2002-11-18 Michael Koch <konqueror@gmx.de>
10856 * java/net/PlainSocketImpl.java: Fix imports.
10858 2002-11-18 Michael Koch <konqueror@gmx.de>
10860 * java/nio/channels/SelectionKey.java
10861 (isValid): Added exception documentation.
10862 * java/nio/channels/Selector.java
10863 (open): Declare "throws IOException".
10865 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
10867 * java/nio/charset/Charset.java
10868 (<clinit>): New method.
10869 (encode): Synchronize use of cached encoder object.
10870 (decode): Synchronize use of cached encoder object.
10872 2002-11-18 Michael Koch <konqueror@gmx.de>
10874 * gnu/java/nio/ByteBufferImpl.java,
10875 gnu/java/nio/CharBufferImpl.java,
10876 gnu/java/nio/DatagramChannelImpl.java,
10877 gnu/java/nio/DoubleBufferImpl.java,
10878 gnu/java/nio/FileChannelImpl.java,
10879 gnu/java/nio/FloatBufferImpl.java,
10880 gnu/java/nio/IntBufferImpl.java,
10881 gnu/java/nio/LongBufferImpl.java,
10882 gnu/java/nio/PipeImpl.java,
10883 gnu/java/nio/SelectionKeyImpl.java,
10884 gnu/java/nio/SelectorImpl.java,
10885 gnu/java/nio/SelectorProviderImpl.java,
10886 gnu/java/nio/ServerSocketChannelImpl.java,
10887 gnu/java/nio/ShortBufferImpl.java,
10888 gnu/java/nio/SocketChannelImpl.java,
10889 java/nio/DoubleBuffer.java,
10890 java/nio/FloatBuffer.java,
10891 java/nio/IntBuffer.java,
10892 java/nio/LongBuffer.java,
10893 java/nio/ShortBuffer.java,
10894 java/nio/channels/FileChannel.java: New files.
10896 2002-11-18 Michael Koch <konqueror@gmx.de>
10898 * Makefile.am (ordinary_java_source_files):
10899 Added java/nio/ReadOnlyBufferException.java and
10900 java/nio/channels/ClosedSelectorException.java.
10901 * Makefile.in: Regenerated.
10903 2002-11-18 Michael Koch <konqueror@gmx.de>
10905 * java/net/PlainSocketImpl.java: Reworked imports.
10906 * java/net/ServerSocket.java
10907 (ServerSocket): Create socket.
10908 * java/net/SocketAddress.java: Documentation added.
10909 * java/net/natPlainSocketImpl.cc: Reindented.
10910 * java/nio/ReadOnlyBufferException.java: New file
10911 * java/nio/channels/ClosedChannelException.java: Documentation added.
10912 * java/nio/channels/ClosedSelectorException.java: New file.
10914 2002-11-17 Mark Wielaard <mark@klomp.org>
10916 * java/net/HttpURLConnection.java ((getPermission): Take port
10917 into consideration.
10918 (getErrorStream): Implement.
10920 2002-11-17 Mark Wielaard <mark@klomp.org>
10922 * java/net/HttpURLConnection.java: Merge with GNU Classpath.
10924 2002-11-16 Mark Wielaard <mark@klomp.org>
10926 Integrate work by Raif S. Naffah (raif@fl.net.au)
10927 * java/security/DummyKeyPairGenerator.java (clone): New method.
10928 * java/security/DummyMessageDigest.java (clone): New method.
10929 (engineUpdate): Now public.
10930 (engineReset): Likewise.
10931 (engineDigest): Likewise.
10932 (engineGetDigestLength): New method.
10933 * java/security/DummySignature.java (clone): New method.
10934 * java/security/KeyPairGenerator.java (provider): Now package private.
10935 (getInstance(String)): Use getInstance(String,Provider).
10936 (getInstance(String,String): Use getInstance(String,Provider)
10937 (getInstance(String,Provider): New method.
10938 (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
10939 * java/security/KeyPairGeneratorSpi.java (clone): New method.
10940 * java/security/MessageDigest.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 * java/security/Provider.java (toCanonicalKey): New method.
10945 (get): New method that uses toCanonicalKey().
10946 (put): Use toCanonicalKey().
10947 (remove): Likewise.
10948 * java/security/Security.java (insertProviderAt): Provider index is one
10949 based, not zero based.
10950 (addProvider): Likewise.
10951 (removeProvider): Likewise.
10952 * java/security/Signature.java (provider): Now package private.
10953 (getInstance(String)): Use getInstance(String,Provider).
10954 (getInstance(String,String): Use getInstance(String,Provider)
10955 (getInstance(String,Provider): New method.
10956 (getInstance(String,String,Provider): Don't cast DummySignature.
10958 2002-11-15 Tom Tromey <tromey@redhat.com>
10960 For PR libgcj/8593:
10961 * java/util/zip/GZIPInputStream.java (read): Check file size.
10962 Look in inflater for remaining input bytes.
10963 (read4): Added buf and offset arguments.
10965 2002-11-12 Eric Blake <ebb9@email.byu.edu>
10967 * java/applet/AppletContext.java: Fix typo and remove redundant
10970 2002-11-14 Tom Tromey <tromey@redhat.com>
10972 * java/lang/natRuntime.cc (insertSystemProperties): Set
10973 gnu.classpath.home.
10975 2002-11-13 Michael Koch <konqueror@gmx.de>
10977 * java/nio/ByteBuffer.java
10978 (allocate): New method.
10979 (wrap): New method.
10983 2002-11-13 Michael Koch <konqueror@gmx.de>
10985 * java/nio/channels/AlreadyConnectedException.java:
10986 Removed unneeded import.
10987 (AlreadyConnectedException): Documentation added.
10988 * java/nio/channels/Pipe.java
10989 (SinkChannel.SinkChannel): Documentation added.
10990 (SinkChannel.validOps): New method.
10991 (SourceChannel.SourceChannel): Documentation added.
10992 (SourceChannel.validOps): New method.
10993 (Pipe): Documentation added.
10994 (open): Documentation added.
10995 (SinkChannel.channel): Documentation added.
10996 (SourceChannel.channel): Documentation added.
10997 * java/nio/channel/SelectableChannel.java
10998 (SelectableChannel): Documentation added.
10999 (blockingLock): Documentation added.
11000 (configureBlocking):Documentation added.
11001 (isBlocking):Documentation added.
11002 (isRegistered):Documentation added.
11003 (keyFor):Documentation added.
11004 (provider):Documentation added.
11005 (register): Documentation added.
11006 (validOps): Documentation added.
11007 * jaba/nio/channels/SelectionKey.java
11008 (SelectionKey): Documentation added.
11009 (attach): Documentation added.
11010 (attachment): Documentation added.
11011 (isAcceptable): Documentation added.
11012 (isConnetable): Documentation added.
11013 (isReadable): Documentation added.
11014 (isWritable): Documentation added.
11015 (cancel): Documentation added.
11016 (channel): Documentation added.
11017 (interestOps): Documentation added.
11018 (isValid): Documentation added.
11019 (readyOps): Documentation added.
11020 (selector): Documentation added.
11021 * jaba/nio/channels/Selector.java
11022 (Selector): Documentation added.
11023 (open): Documentation added.
11024 (close): Documentation added.
11025 (isOpen): Documentation added.
11026 (keys): Documentation added.
11027 (provider): Documentation added.
11028 (select): Documentation added.
11029 (selectedKeys): Documentation added.
11030 (selectNow): Documentation added.
11031 (wakeup): Documentation added.
11032 * java/nio/channels/spi/AbstractInterruptibleChannel.java
11033 (AbstractInterruptibleChannel): Documentation added.
11034 (opened): Default to true;
11035 (begin): Documentation added.
11036 (close): Set opened to false, documentation added.
11037 (isOpen): Documentation added.
11038 * java/nio/channels/spi/AbstractSelectionKey.java
11039 (AbstractSelectionKey): Documentation added.
11040 (cancel): Documentation added.
11041 (isValid): Documentation added.
11042 * java/nio/channels/spi/AbstractSelector.java
11043 (AbstractSelector): Documentation added.
11044 (begin): Documentation added.
11045 (close): Documentation added.
11046 (isOpen): Documentation added.
11047 (deregister): Documentation added.
11048 (end): Documentation added.
11049 (provider): Documentation added.
11050 (implCloseSelector): Documentation added.
11051 (register): Documentation added.
11052 * java/nio/channels/spi/SelectorProvider.java
11053 (SelectorProvider): Documentation added.
11054 (openDatagramChannel): Documentation added.
11055 (openPipe): Documentation added.
11056 (openSelector): Documentation added.
11057 (openServerSocketChannel): Documentation added.
11058 (openSocketChannel): Documentation added.
11059 (provider): Documentation added.
11061 2002-11-12 Michael Koch <konqueror@gmx.de>
11063 * java/nio/Buffer.java: Implemented.
11064 * java/nio/CharBuffer.java: New file.
11065 * java/nio/InvalidMarkException.java: New file.
11066 * java/nio/channels/DatagramChannel.java: Implemented.
11067 * java/nio/channels/ServerSocketChannel.java: Implemented.
11068 * java/nio/channels/SocketChannel.java: Implemented.
11069 * java/nio/channels/spi/AbstractChannel.java: Removed.
11070 * java/nio/channels/spi/AbstractSelectableChannel.java:
11072 * java/nio/charset/Charset.java:
11073 Merge from Classpath.
11074 * java/nio/charset/CharsetDecoder.java: New file.
11075 * java/nio/charset/CharsetEncoder.java: New file.
11076 * java/nio/charset/CoderResult.java: New file.
11077 * Makefile.am (ordinary_java_source_files): Added new files.
11078 * Makefile.in: Regenerated.
11080 2002-11-11 Jesse Rosenstock <jmr@ugcs.caltech.edu>
11082 * gnu/java/nio/charset/ISO_8859_1.java,
11083 gnu/java/nio/charset/Provider.java,
11084 gnu/java/nio/charset/US_ASCII.java,
11085 gnu/java/nio/charset/UTF_16.java,
11086 gnu/java/nio/charset/UTF_16BE.java,
11087 gnu/java/nio/charset/UTF_16Decoder.java,
11088 gnu/java/nio/charset/UTF_16Encoder.java,
11089 gnu/java/nio/charset/UTF_16LE.java,
11090 gnu/java/nio/charset/UTF_8.java: New files.
11092 2002-11-11 Michael Koch <konqueror@gmx.de>
11094 * java/nio/charset/CharacterCodingException.java:
11095 This class must be public.
11096 * java/nio/charset/CoderMalfunctionError.java:
11097 This class must be public.
11098 * java/nio/charset/CodingErrorAction.java:
11099 This class must be public.
11100 * java/nio/charset/IllegalCharsetNameException.java:
11101 This class must be public, better implementation.
11102 * java/nio/charset/MalformedInputException.java:
11103 This class must be public, better implementation.
11104 * java/nio/charset/UnmappableCharacterException.java:
11105 This class must be public, better implementation.
11106 * java/nio/charset/UnsupportedCharsetException.java:
11107 This class must be public, better implementation.
11109 2002-11-11 Michael Koch <konqueror@gmx.de>
11111 * java/nio/BufferOverflowException.java,
11112 java/nio/BufferUnderflowException.java: New file.
11113 * Makefile.am (ordinary_java_source_files):
11115 * Makefile.in: Regenerated.
11117 2002-11-10 Tom Tromey <tromey@redhat.com>
11119 * java/awt/Container.java (validate): Use tree lock.
11120 (getComponent): Likewise.
11121 (getComponents): Likewise.
11122 (addImpl): Likewise.
11123 (remove): Likewise.
11124 (removeAll): Likewise.
11125 (processEvent): Fixed indentation.
11126 (getComponentAt): Use tree lock.
11127 (findComponentAt): Likewise.
11128 (removeNotify): Likewise.
11129 (isAncestorOf): Likewise.
11131 (visitChildren): Likewise.
11132 (findNextFocusComponent): Likewise.
11133 (addNotifyContainerChildren): Likewise.
11134 (getAccessibleChildrenCount): Likewise.
11135 (getAccessibleChild): Likewise.
11137 * java/awt/GridLayout.java (layoutContainer): Use tree lock.
11138 (getSize): Likewise.
11139 * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
11140 (getSize): Likewise.
11141 * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
11142 (calcSize): Likewise.
11143 * java/awt/CardLayout.java (getSize): Use tree lock.
11144 (gotoComponent): Likewise.
11145 (layoutContainer): Likewise.
11147 * java/io/natFileDescriptorWin32.cc (read): Handle case where
11149 * java/io/natFileDescriptorPosix.cc (read): Handle case where
11152 * java/io/Externalizable.java, java/io/FilePermission.java,
11153 java/io/ObjectStreamConstants.java, java/io/Serializable.java,
11154 java/io/SerializablePermission.java, java/text/Format.java,
11155 java/util/AbstractMap.java, java/util/HashMap.java,
11156 java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
11157 versions from Classpath.
11159 2002-11-10 Anthony Green <green@redhat.com>
11161 * java/util/jar/Attributes.java (Name): Fix name check.
11163 2002-11-10 Mark Wielaard <mark@klomp.org>
11165 * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
11166 with getName() as message.
11167 (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
11170 * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
11173 2002-11-08 Ranjit Mathew <rmathew@hotmail.com>
11175 * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
11176 for Win32. JNICALL has been defined to __stdcall to be compatible
11179 2002-11-10 Tom Tromey <tromey@redhat.com>
11181 * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
11182 (setRows): Check newRows, not rows.
11184 * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
11186 2002-11-09 Tom Tromey <tromey@redhat.com>
11188 * java/applet/Applet.java, java/applet/AppletContext.java,
11189 java/applet/AppletStub.java, java/applet/AudioClip.java,
11190 java/awt/CardLayout.java,
11191 java/awt/ContainerOrderFocusTraversalPolicy.java,
11192 java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
11193 java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
11194 java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
11195 java/awt/color/ICC_ColorSpace.java,
11196 java/awt/color/ICC_Profile.java,
11197 java/awt/color/ICC_ProfileGray.java,
11198 java/awt/color/ICC_ProfileRGB.java,
11199 java/awt/datatransfer/DataFlavor.java,
11200 java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
11201 java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
11202 New versions from Classpath.
11203 * Makefile.in: Rebuilt.
11204 * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
11207 * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
11210 * java/awt/List.java (processEvent): Added missing `else's.
11212 * java/awt/Window.java (show): validate() before showing. Make
11213 parent displayable.
11214 (isDisplayable): New method.
11216 2002-11-07 Mark Wielaard <mark@klomp.org>
11218 Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
11219 * java/rmi/MarshalledObject.java (equals): Check hashcode first.
11221 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
11223 (loadClass): Take String as codebases.
11224 (getClassAnnotation): Use MyClassLoader annotations.
11225 * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
11226 call exportObject(this).
11228 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
11229 (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
11230 (setAnnotation): Don't set locBytesStream and locStream.
11231 (replaceObject): Removed.
11232 (flush): Don't test locStream.
11233 (getLocBytes): LikeWise.
11234 * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
11235 (leaseCache): New field.
11236 (dirty): Use leaseCache.
11237 (LeaseRecord): New inner class.
11238 * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
11239 explicitly call exportObject().
11240 * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
11241 false to communicate with Sun JDK130.
11242 * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
11243 * gnu/java/rmi/server/RMIObjectInputStream.java
11244 (UnicastConnectionManager): Removed field.
11245 * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
11246 Use UnicastServer.getExportedRef().
11247 * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
11248 (expireTime): Likewise.
11249 (CONNECTION_TIMEOUT): Likewise.
11250 (disconnect): Call sock.close().
11251 (isExpired): New method.
11252 (resetTime): Likewise.
11253 (run): Use do while loop and catch Exception for discardConnection().
11254 * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
11255 * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
11256 * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
11257 * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
11258 (exportObject): Use refcache.
11259 (unexportObject): Likewise.
11260 (getExportedRef): New method.
11261 * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
11263 (exportObject): Save manager.serverobj.
11264 (getStub): New method.
11266 2002-11-07 Mark Wielaard <mark@klomp.org>
11268 * java/lang/reflect/natField.cc (getBoolean): Use getType().
11269 (getByte): Likewise.
11270 (getShort): Likewise.
11271 (getInt): Likewise.
11272 (getLong): Likewise.
11273 (getFloat): Likewise.
11274 (getDouble): Likewise.
11276 (setChar): Likewise.
11277 (setByte): Likewise.
11278 (setShort): Likewise.
11279 (setInt): Likewise.
11280 (setLong): Likewise.
11281 (setFloat): Likewise.
11282 (setDouble): Likewise.
11284 2002-11-07 Michael Koch <konqueror@gmx.de>
11286 * java/awt/Choice.java,
11287 java/awt/Container.java,
11288 java/awt/GridBagLayout.java:
11289 Fixed documentation.
11290 * java/awt/peer/ContainerPeer.java:
11293 2002-11-07 Michael Koch <konqueror@gmx.de>
11295 * java/awt/color/ICC_Profile.java:
11296 Added missing constants.
11297 * java/awt/color/ICC_ColorSpace.java
11298 (getMinValue): Added dummy implementation.
11299 (getMaxValue): Added dummy implementation.
11300 * java/awt/datatransfer/DataFlavor.java
11301 (imageFlavor): Added.
11302 (isMimeTypeEqual): Must be final.
11303 (getDefaultRepresentationClass): Must be non-static.
11304 (getDefaultRepresentationClassAsString): Must be non-static.
11305 * java/awt/dnd/DragSourceContext.java
11306 (dragExit): Corrected argument.
11307 (dragDropEnd): Corrected argument.
11308 * java/awt/dnd/DragSourceListener.java.java
11309 (dragExit): Corrected argument.
11310 (dragDropEnd): Corrected argument.
11311 * java/awt/font/TextHitInfo.java
11312 (toString): Added stubbed implementation.
11313 * java/awt/geom/PathIterator.java:
11314 The constants must be static.
11315 * java/awt/image/VolatileImage.java
11316 (IMAGE_INCOMPATIBLE): Fixed typo.
11317 * java/awt/image/renderable/RenderableImage.java
11318 (HINTS_OBSERVED): Must be static.
11319 * java/beans/BeanInfo.java:
11320 Constants must be final.
11322 2002-11-06 Tom Tromey <tromey@redhat.com>
11324 From svens@it.uu.se. For PR libgcj/8481.
11325 * java/util/Random.java (nextInt(int)): Only use 31 bits.
11327 2002-11-06 Tom Tromey <tromey@redhat.com>
11329 * jni.cc (array_from_valist): Assume that jlong won't be
11332 2002-11-04 R. A. Rivas Diaz <rivasdiaz@yahoo.com>
11334 * gnu/java/security/provider/SHA.java (engineGetDigestLength):
11336 * gnu/java/security/provider/MD5.java (engineGetDigestLength):
11339 2002-11-03 Tom Tromey <tromey@redhat.com>
11341 * java/lang/ClassLoader.java (loadClass): Call loadClass on
11342 VMClassLoader, not findClass.
11344 2002-11-03 Jeff Sturm <jsturm@one-point.com>
11346 * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
11347 (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
11348 _Jv_DetermineVTableIndex, to determine vtable offset.
11349 (_Jv_DetermineVTableIndex): Remove.
11350 (_Jv_PrepareClass): Don't layout vtable. Use _Jv_MakeVTable instead.
11352 * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
11354 2002-11-03 Tom Tromey <tromey@redhat.com>
11356 * java/nio/channels/AlreadyConnectedException.java: Extend
11357 IllegalStateException, per spec.
11359 2002-10-31 Stephen Crawley <crawley@dstc.edu.au>
11361 * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
11363 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
11365 * java/util/ArrayList.java (readObject, writeObject): Only read/write
11368 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
11370 * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
11371 initial estimated size to avoid enlarge buffer frequently.
11373 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
11375 * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
11376 ClassLoader when null.
11377 (ProxyType.hashCode): Loader null check no longer needed.
11378 (ProxyType.sameTypes): New method.
11379 (ProxyType.equals): Use new method.
11381 2002-10-31 Mark Wielaard <mark@klomp.org>
11383 * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
11385 * java/net/URLEncoder.java (encode): Likewise.
11387 2002-10-31 Mark Wielaard <mark@klomp.org>
11389 * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
11390 when stream is closed.
11391 (closeEntry): Likewise.
11393 * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
11394 ZipException when no entry active.
11395 (closeEntry): Likewise.
11398 2002-11-02 Tom Tromey <tromey@redhat.com>
11400 * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
11401 * java/lang/natClass.cc (initializeClass): Don't return just
11402 because self==thread.
11405 * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
11406 * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
11408 2002-11-02 Andreas Schwab <schwab@suse.de>
11410 * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
11412 (FLAGS_TO_PASS): Define.
11413 * Makefile.in: Regenerated.
11415 2002-11-01 Michael Koch <konqueror@gmx.de>
11417 * java/nio/ByteOrder.java: New file.
11418 * java/nio/channels/DatagramChannel.java:
11419 (DatagramChannel): New constructor.
11420 * java/nio/channels/Pipe.java: New file.
11421 * java/nio/channels/SelectableChannel.java: New file.
11422 * java/nio/channels/SelectionKey.java: New file.
11423 * java/nio/channels/Selector.java: New file.
11424 * java/nio/channels/ServerSocketChannel.java
11425 (ServerSocketChannel): New constructor.
11426 * java/nio/channels/SocketChannel.java
11427 (SocketChannel): New constructor.
11428 * java/nio/channels/Pipe.java: New file.
11429 * java/nio/channels/spi/AbstractChannel.java: New file.
11430 * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
11431 * java/nio/channels/spi/AbstractSelectableChannel.java:
11433 (AbstractSelectableChannel): New stubbed method.
11434 * java/nio/channels/spi/AbstractSelectionKey.java: New file.
11435 * java/nio/channels/spi/AbstractSelector.java: New file.
11436 * java/nio/channels/spi/SelectorProvider.java: New file.
11437 * java/nio/charset/Charset.java: New file.
11438 * java/nio/charset/CoderMalfunctionError.java: New file.
11439 * java/nio/charset/CodingErrorAction.java: New file.
11440 * java/nio/charset/spi/CharsetProvider.java
11441 (charsetForName): Uncommented.
11442 * Makefile.am (java_native_source_files): Added new files.
11443 * Makefile.in: Regenerated.
11445 2002-11-01 Michael Koch <konqueror@gmx.de>
11447 * java/net/InetAddress.java:
11448 (isAnyLocalAddress): Implemented.
11449 (isLoopbackAddress): Implemented, comment added.
11450 (isLinkLocalAddress): Implemented, documentation added.
11451 (isSiteLocalAddress): Implemented, documentation added.
11452 (isMCGlobal): Implemented, documentation added.
11453 (isMCNodeLocal): Implemented, documentation added.
11454 (isMCLinkLocal): Implemented, documentation added.
11455 (isMCSiteLocal): Implemented, documentation added.
11456 (isMCOrgLocal): Implemented, documentation added.
11457 (getHostName): Documentation added.
11458 (getCanonicalHostName): Implemented, documentation added.
11459 (getAddress): Documentation added.
11460 (hashCode): Documentation added.
11461 (equals): Documentation added.
11462 (toString): Fixed implementation.
11463 (getByAddress): Use Inet4Address and Inet6Address.
11464 (lookup): New linewrap.
11465 (getByName): SecurityManager check added, support Inet4Address and
11466 Inet6address, comments added.
11467 (getAllByName): SecurityManager check added, comments added.
11468 * java/net/Inet6Address.java:
11469 (Inet6Address): Initialize parent class with addr instead of null.
11470 * java/net/URL.java
11471 (equals): Documentation added.
11472 (getFile): Documentation added.
11473 (hashCode): Documentation added.
11474 * java/net/natInetAddress.cc:
11475 (aton): Fix IPv6 support.
11476 * java/net/natPlainDatagramSocketImpl.cc:
11477 (peek): Throw PortUnreachableException when suitable.
11478 (peekData): Throw PortUnreachableException when suitable.
11479 (send): Throw PortUnreachableException when suitable.
11480 (receive): Throw PortUnreachableException when suitable.
11482 2002-10-27 Mark Wielaard <mark@klomp.org>
11484 * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
11486 (readLeShort): Likewise and use byte[].
11487 (readLeInt): Likewise.
11488 (readEntries): Use new versions of methods and use byte[] for reading
11489 a complete zip entry. Add ZipFile name to exceptions.
11490 (entries): Add ZipFile name to exceptions.
11491 (getEntry): Likewise.
11492 (checkLocalHeader): Use new versions of methods and add ZipFile name
11495 2002-10-31 Mark Anderson <mark@panonet.net>
11497 * java/awt/GridBagLayout.java (setConstraints): New stubbed method
11500 2002-10-25 Krister Walfridsson <cato@df.lth.se>
11502 * configure.in: Disable hash sync when not using threads.
11503 * configure: Regenerated.
11505 2002-10-24 Tom Tromey <tromey@redhat.com>
11507 * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
11508 (_Jv_FindSymbolInExecutable): Removed argument name.
11509 (insertSystemProperties): Call _Jv_SetDLLSearchPath if
11510 java.library.path is set.
11512 * gij.cc (help): Document --showversion.
11513 (version): Don't exit.
11514 (main): Handle --showversion. Exit if --version given.
11516 2002-10-23 Tom Tromey <tromey@redhat.com>
11518 * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
11519 (array_from_valist): Correctly handle promotion for jint, jlong,
11520 jfloat, and jdouble.
11522 2002-10-23 Ranjit Mathew <rmathew@hotmail.com>
11524 * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
11525 GetFileAttributesEx( ) to find file length and modification times,
11526 as the latter is not present on Windows 95.
11528 2002-10-21 Michael Koch <konqueror@gmx.de>
11530 * java/net/URL.java
11531 (URL): Activate SecurityManager checks.
11532 (equals): Use URLStreamHandler implementation instead of doing it
11533 alone. This allows special protocol stream handlers to change default
11535 (hashCode): Use URLStreamHandler implementation instead of doing it
11536 alone. This allows special protocol stream handlers to change default
11538 * java/net/URLStreamHandler.java
11539 (equals): Implemented default URL equality check.
11540 (hostsEqual): Implemented default URL equality check.
11541 (hashCode): Implemented default URL hashCode algorithm.
11542 * java/net/natPlainDatagramSocketImpl.cc:
11543 No lines longer then 80 characters.
11545 2002-10-20 Adam Megacz <adam@xwt.org>
11547 * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
11548 * configure.in: enabled hash sync on Win32
11549 * include/win32-threads.h (_Jv_ThreadId_t): added.
11550 * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
11551 heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
11552 removed some posix-isms, use Thread::sleep() instead of usleep,
11553 added code to clear bottom three bits if platform has a broken
11555 * include/win32-threads.h (_Jv_ThreadId_t): added.
11557 2002-10-19 Ranjit Mathew <rmathew@hotmail.com>
11559 * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
11560 runtime property "gnu.gcj.progname" containing the name used to
11561 invoke the current Java program (similar to argv[0] for C
11564 2002-10-15 Tom Tromey <tromey@redhat.com>
11566 Fix for PR libgcj/8234:
11567 * java/util/zip/natInflater.cc (reset): Reset avail_in.
11568 * java/util/zip/natDeflater.cc (reset): Reset avail_in.
11570 2002-10-13 Mark Wielaard <mark@klomp.org>
11572 * mauve-libgcj: Enable Mauve tests that compile now.
11574 2002-10-11 Mark Wielaard <mark@klomp.org>
11576 Fix for PR libgcj/8142
11577 * java/lang/natClassLoader.cc (findClass): Skip inner classes when
11578 loading native modules.
11580 2002-10-10 Michael Koch <konqueror@gmx.de>
11582 * javax/swing/AbstractListModel.java
11583 (getListDataListeners): New stubbed method.
11584 javax/swing/DefaultBoundedRangeModel.java
11585 (getChangeListeners): New stubbed method.
11586 javax/swing/DefaultSingleSelectionModel.java
11587 (getChangeListeners): New stubbed method.
11589 2002-10-10 Michael Koch <konqueror@gmx.de>
11591 * gcj/.cvsignore: New file to ignore files generated during build.
11592 * include/.cvsignore: New file to ignore files generated during build.
11594 2002-10-10 Michael Koch <konqueror@gmx.de>
11596 * java/net/HttpURLConnection.java
11597 (getPermission): New method.
11598 (getErrorStream): New stub method.
11599 (getHeaderFieldDate): New stub method.
11600 * java/net/Inet4Address.java:
11601 (isLinkLocalAddress): Typo fixed.
11602 * java/net/InetAddress.java:
11603 (readResolve): New stubbed method (for serialization).
11604 (isAnyLocalAddress): New stubbed method.
11605 (isLoopbackAddress): New stubbed method.
11606 (isLinkLocalAddress): New stubbed method.
11607 (isSiteLocalAddress): New stubbed method.
11608 (isMCGlobal): New stubbed method.
11609 (isMCNodeGlobal): New stubbed method.
11610 (isMCLinkLocal): New stubbed method.
11611 (isMCSiteLocal): New stubbed method.
11612 (isMCOrgLocal): New stubbed method.
11613 (getCanonicalHostName): New stubbed method.
11614 (getByAddress): Create instances of Inet4Address/Inet6Address,
11615 instead of InetAddress, documentation added.
11616 * java/net/MulticastSocket.java
11617 (getInterface): Removed FIXME.
11618 (getNetworkInterface): New method.
11619 (setNetworkInterface): New method.
11620 * java/net/NetworkInterface.java:
11621 (toString): Use property "line.separator" instead of "\n".
11622 * java/net/URLConnection.java
11623 (getContent): New stubbed method.
11624 * java/net/URLStreamHandler.java:
11625 (equals): New stubbed method.
11626 (hostsEqual): New stubbed method.
11627 (hashCode): New stubbed method.
11628 * java/net/natNetworkInterface.cc:
11629 (getRealNetworkInterfaces): Create Inet4Address object
11630 instead of InetAddress.
11632 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
11634 * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
11635 unsigned long temporary to implement insn_iushr shifts.
11637 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
11639 * configure.host [s390*-*]: Enable Java interpreter.
11640 Enable hash synchronization. Add sysdeps dir.
11641 * sysdep/s390/locks.h: New file.
11643 2002-10-06 Mark Wielaard <mark@klomp.org>
11645 * java/lang/Thread.java (setDaemon): Check startable_flag,
11648 2002-10-07 Michael Koch <konqueror@gmx.de>
11650 * java/nio/Buffer.java: New stub file.
11651 * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
11653 * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
11654 * Makefile.in: Regenerated.
11656 2002-10-07 Michael Koch <konqueror@gmx.de>
11658 * java/nio/ByteBuffer.java:
11659 removed import of not commited class.
11661 2002-10-07 Michael Koch <konqueror@gmx.de>
11663 * java/nio/ByteBuffer.java,
11664 java/nio/MappedByteBuffer.java:
11665 New files, forgot to add these dummies.
11666 * Makefile.am (java_native_source_files): Added new files.
11667 * Makefile.in: Regenerated.
11669 2002-10-07 Michael Koch <konqueror@gmx.de>
11671 * java/nio/channels/AlreadyConnectedException.java,
11672 java/nio/channels/ClosedChannelException.java,
11673 java/nio/channels/ReadableByteChannel.java,
11674 java/nio/channels/InterruptibleChannel.java,
11675 java/nio/channels/Channel.java,
11676 java/nio/channels/ByteChannel.java,
11677 java/nio/channels/GatheringByteChannel.java,
11678 java/nio/channels/ScatteringByteChannel.java,
11679 java/nio/channels/WritableByteChannel.java,
11680 java/nio/charset/CharacterCodingException.java,
11681 java/nio/charset/IllegalCharsetNameException.java,
11682 java/nio/charset/MalformedInputException.java,
11683 java/nio/charset/UnmappableCharacterException.java,
11684 java/nio/charset/UnsupportedCharsetException.java,
11685 java/nio/charset/spi/CharsetProvider.java: New file.
11686 These files are exceptions or interfaces,
11687 no real or abstract classes.
11688 * Makefile.am (java_native_source_files): Added new files.
11689 * Makefile.in: Regenerated.
11691 2002-10-05 Michael Koch <konqueror@gmx.de>
11693 * java/net/InetAddress.java
11694 (getByAddress): Fixed documentation.
11695 (getByAddress): New method.
11696 * java/net/Inet4Address.java: New file.
11697 * java/net/URL.java
11698 (URL): Documentation added.
11699 (getContent): Documentation added.
11700 (getContent): New stubbed method.
11701 (getQuery): New method.
11702 (openConnection): Documentation added.
11703 (openStream): Documentation added.
11704 (setURLStreamHandlerFactory): Documentation added.
11705 * java/net/URI.java: New stub file.
11707 (java_native_source_files): Added java/net/Inet4Address.java,
11708 java/net/Inet6Address.java and java/net/URI.java.
11709 * Makefile.in: Regenerated.
11711 2002-10-04 C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
11713 * java/lang/ProtectionDomain.java (linesep): Remove field.
11714 (toString): Use System.getProperty("line.separator").
11716 2002-10-04 Michael Koch <konqueror@gmx.de>
11718 * java/security/Identity.java: Added serialVersionUID.
11719 * java/security/KeyPair.java: Added serialVersionUID.
11720 * java/security/Provider.java: Added serialVersionUID.
11721 * java/security/SecureRandom.java: Added serialVersionUID.
11722 * java/security/SecureRandomSpi.java: Added serialVersionUID.
11723 * java/security/SignedObject.java: Added serialVersionUID.
11724 * java/security/cert/Certificate.java: Added serialVersionUID.
11726 2002-10-04 Mark Wielaard <mark@klomp.org>
11728 * java/security/Security.java: Use java.home or gnu.classpath.home
11730 (loadProviders): Extra dir argument.
11731 (getProvider): Return null when not found.
11733 2002-10-04 Mark Wielaard <mark@klomp.org>
11735 * java/lang/Throwable.java: Remerge with Classpath.
11737 2002-10-04 Michael Koch <konqueror@gmx.de>
11739 * java/net/InetAddress.java:
11740 (isMulticastAddress): Added documentation.
11741 (getHostAddress): Added documentation.
11742 (toString): Added documentation.
11743 (getByAddress): Fixed documentation.
11744 (getByName): Added documentation.
11745 (getAllByName): Added documentation.
11746 (getLocalHost): Added documentation.
11748 2002-10-04 Michael Koch <konqueror@gmx.de>
11750 * java/beans/beancontext/BeanContextChildSupport.java:
11751 Added serialVersionUID.
11752 * java/text/Collator.java: (compare): Made documentation HTML-aware.
11753 * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
11754 * javax/naming/Name.java: Added serialVersionUID.
11756 2002-10-03 Adam Megacz <adam@xwt.org>
11758 * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
11759 some functionality that isn't supported yet on WIN32.
11761 2002-10-03 Tom Tromey <tromey@redhat.com>
11763 * Makefile.in: Rebuilt.
11764 * Makefile.am (awt_java_source_files): Added new files.
11766 2002-10-03 Michael Koch <konqueror@gmx.de>
11768 * java/net/InetAddress.java
11769 (class InetAddress): Removed final keyword.
11770 (equals): Fixed typo.
11771 (getByAddress): New method.
11773 2002-10-03 Michael Koch <konqueror@gmx.de>
11775 * java/awt/dnd/Autoscroll.java:
11776 New file, merge from Classpath.
11777 * java/awt/dnd/DragSourceAdapter.java:
11778 (dragExit): Fixed typos in argument type.
11779 (dragDropEnd): Fixed typos in argument type.
11780 * java/awt/dnd/DragSourceDropEvent.java:
11781 New file, merge from Classpath.
11782 * java/awt/dnd/DropTarget.java:
11783 Added stubs, merge from Classpath.
11784 * java/awt/dnd/DropTargetAdapter.java:
11785 New file, merge from Classpath.
11786 * java/awt/dnd/DropTargetContext.java:
11787 New file, merge from Classpath.
11788 * java/awt/dnd/DropTargetDragEvent.java:
11789 New file, merge from Classpath.
11790 * java/awt/dnd/DropTargetDropEvent.java:
11791 New file, merge from Classpath.
11792 * java/awt/dnd/DropTargetEvent.java:
11793 New file, merge from Classpath.
11794 * java/awt/dnd/DropTargetListener.java:
11795 New file, merge from Classpath.
11796 * java/awt/dnd/MouseDragGestureRecognizer.java:
11797 New file, merge from Classpath.
11798 * java/awt/dnd/peer/DropTargetContextPeer.java:
11799 New file, merge from Classpath.
11801 2002-10-03 Michael Koch <konqueror@gmx.de>
11803 * java/net/DatagramPacket.java
11804 (setLength): Fixed typo and be HTML-aware.
11805 * java/net/InetSocketAddress.java
11806 (InetSocketAddress): Correct initialization of hostname, fixed typo.
11807 (equals): Added comment about equality of InetSocketAddress objects.
11808 * java/net/ServerSocket.java
11809 (accept): Added checks.
11810 (isClosed): New stubbed method.
11811 * java/net/SocketOptions.java: Reindention.
11812 * java/net/SocketPermission
11813 (SocketPermission): Documentation fixed.
11815 2002-10-03 Michael Koch <konqueror@gmx.de>
11817 * java/net/DatagramSocket.java
11818 (receive): Check with SecurityManager AFTER the packet is received,
11819 check if connected to multicast address, documentation added.
11820 (send): Only check SecurityManager if connected, check address of
11822 (connect): Implemented, documentation added.
11823 * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
11824 * java/net/InetSocketAddress.java
11825 (whole file): Reindented.
11826 (hostname): New attribute.
11827 (InetSocketAddress): Initialize new attribute.
11828 (getAddress): Documentation added.
11829 (getHostName): Documentation added.
11830 (getPort): Documentation added.
11831 (hashCode): Documentation added.
11832 (isUnresolved): Documentation added.
11833 (toString): Conform to output of JDK 1.4.1, documentation added.
11834 * java/net/MulticastSocket.java
11835 (joinGroup): Removed FIXME, documentation added.
11836 (leaveGroup): Removed FIXME, documentation added.
11837 (send): Documentation added.
11838 * java/net/Socket.java
11839 (inputShutdown): New variable.
11840 (outputShutdown): New variable.
11841 (Socket): Initialize new variables.
11842 (getRemoteSocketAddress): Check if connected.
11843 (shutdownInput): Set new variable.
11844 (shutdownOutput): Set new variable.
11845 (isConnected): New method.
11846 (isClosed): New method.
11847 (isInputShutdown): New method.
11848 (isOutputShutdown): New method.
11849 * java/net/URLStreamHandler.java
11850 (URLStreamHandler): New method.
11851 (openConnection): Added documentation.
11852 (parseURL): Added documentation.
11853 (getHostAddress): New method.
11854 (getDefaultPort): New method.
11856 2002-10-02 Tom Tromey <tromey@redhat.com>
11858 * java/rmi/activation/ActivationDesc.java,
11859 java/rmi/activation/ActivationGroupDesc.java,
11860 java/rmi/activation/ActivationGroupID.java,
11861 java/rmi/activation/ActivationID.java: New versions from
11864 2002-09-30 Bo Thorsen <bo@suse.de>
11866 * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
11868 2002-09-30 Tom Tromey <tromey@redhat.com>
11870 * java/io/ObjectInputStream.java (resolveProxyClass): New method
11872 * Makefile.in: Rebuilt.
11873 * Makefile.am (rmi_java_source_files): Added new files.
11874 * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
11875 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
11876 gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
11878 * gnu/java/rmi/dgc/DGCImpl.java,
11879 gnu/java/rmi/dgc/DGCImpl_Skel.java,
11880 gnu/java/rmi/dgc/DGCImpl_Stub.java,
11881 gnu/java/rmi/registry/RegistryImpl_Skel.java,
11882 gnu/java/rmi/registry/RegistryImpl_Stub.java,
11883 gnu/java/rmi/server/RMIHashes.java,
11884 gnu/java/rmi/server/RMIObjectInputStream.java,
11885 gnu/java/rmi/server/RMIObjectOutputStream.java,
11886 gnu/java/rmi/server/UnicastConnection.java,
11887 gnu/java/rmi/server/UnicastConnectionManager.java,
11888 gnu/java/rmi/server/UnicastRef.java,
11889 gnu/java/rmi/server/UnicastServer.java,
11890 gnu/java/rmi/server/UnicastServerRef.java,
11891 java/rmi/MarshalledObject.java,
11892 java/rmi/server/RMIClassLoader.java,
11893 java/rmi/server/RemoteObject.java,
11894 java/rmi/server/UnicastRemoteObject.java,
11895 java/security/SecureClassLoader.java: Merged from Classpath.
11897 2002-09-29 Anthony Green <green@redhat.com>
11899 * java/lang/reflect/UndeclaredThrowableException.java: New file.
11900 Imported from GNU Classpath.
11901 * java/lang/reflect/natProxy.cc: New file.
11902 * java/lang/reflect/InvocationHandler.java: New file. Imported
11903 from GNU Classpath.
11904 * java/lang/reflect/Proxy.java: New file. Imported from GNU
11906 * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
11908 * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
11909 HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
11911 * gcj/javaprims.h ("Java"): Add new classes.
11912 * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
11913 * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
11914 java/lang/reflect/Proxy$$ProxyType.h): And this.
11915 (inner_nat_headers): Add these new headers.
11916 (ordinary_java_source_files): Add new files.
11917 (nat_source_files): Add new file.
11918 * Makefile.in: Rebuilt.
11920 2002-09-28 Richard Earnshaw <rearnsha@arm.com>
11922 * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
11923 a single configuration.
11925 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
11927 * java/util/TimeZone.java (getDSTSavings): New method.
11928 Fixes PR libgcj/7786.
11930 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
11932 * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
11933 to see if `the_method == 0' before looking up vtable index.
11934 Fixes PR libgcj/7709.
11936 2002-09-25 Tom Tromey <tromey@redhat.com>
11938 * java/lang/natClassLoader.cc:
11939 (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
11940 * resolve.cc: Include NoClassDefFoundError.h, not
11941 ClassNotFoundException.h.
11942 (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
11944 * defineclass.cc: Don't include ClassNotFoundException.h.
11946 * resolve.cc: Include StringBuffer.
11947 (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
11949 * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
11950 allocated but not initialized.
11952 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
11954 Fix for PR libgcj/7766:
11955 * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
11956 (getNextEntry): Set it.
11957 (closeEntry): Likewise.
11960 (available): Use it.
11962 2002-09-25 Michael Koch <konqueror@gmx.de>
11964 * java/net/DatagramSocket.java
11965 (DatagramSocket): Initialize new instance variables.
11966 (close): Reset new instance variables.
11967 (getLocalAddress): Remove unneeded SecurityManager usage.
11968 (getLocalPort): Check if socket is already bound.
11969 (isConnected): New method.
11970 (getInetAddress): Implemented.
11971 (getPort): Better Implementation, documentation fixed.
11972 (getRemoteSocketAddress): New method.
11973 * java/net/JarURLConnection.java
11974 (element): Typo fixed.
11975 (getMainAttributes): New method.
11976 (getAttributes): New method (stub only).
11977 (getManifest): New method (stub only).
11978 * java/net/NetPermission.java: Added serialVersionsUID.
11979 * java/net/Socket.java
11980 (connect): Check blocking mode of associated channel,
11981 documentation added.
11982 (getLocalSocketAddress): Better implementation.
11983 (getRemoteSocketAddress): Implemented.
11984 (isBound): New method.
11985 (setSendBufferSize): Documentation added.
11986 * java/net/SocketAddress.java: Added serialVersionsUID.
11987 * java/net/SocketPermission.java: Added serialVersionsUID.
11988 * java/net/URL.java
11989 (URL): Wrap for shorter lines, initialize new instance variables,
11990 documentation added.
11991 (equals): Check new instance variables too.
11992 (getContent): Documentation added.
11993 (getPath): Documentation added.
11994 (getAuthority): New method.
11995 (getHost): Documentation added.
11996 (getPort): Documentation added.
11997 (getDefaultPort): New method.
11998 (getProtocol): Documentation added.
11999 (getUserInfo): Documentation added.
12000 (set): Initialize new instance variables, documentation added.
12001 * java/net/URLStreamHandler.java
12002 (setURL): New method.
12003 * java/net/natPlainDatagramSocketImpl.cc
12004 (connect): Fix exception name.
12005 (disconnect): Fix exception name.
12007 2002-09-25 Michael Koch <konqueror@gmx.de>
12009 * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
12010 * java/nio/channels/DatagramChannel.java:
12011 extends AbstractSelectableChannel
12012 * java/nio/channels/ServerSocketChannel.java:
12013 extends AbstractSelectableChannel
12014 * java/nio/channels/SocketChannel.java:
12015 extends AbstractSelectableChannel
12016 * Makefile.am (ordinary_java_source_files):
12017 java/nio/channels/spi/AbstractSelectableChannel.java added.
12018 * Makefile.in: Regenerated.
12020 2002-09-25 Michael Koch <konqueror@gmx.de>
12022 * java/net/DatagramSocket.java
12023 (DatagramSocket): Exception documentation added.
12024 (bind): Exception documentation added, addded SecurityManager check,
12025 added SocketAddress type check.
12026 (getSoTimeout): Check impl.
12027 (receive): Fix SecurityManager check, check impl, documentation added.
12028 (send): Check channel mode, documentation added.
12029 (connect): New method.
12030 (disconnect): Implemented.
12031 (getLocalSocketAddress): New method.
12032 (getReceiveBufferSize): Check impl.
12033 (setReuseAddress): Check impl.
12034 (getReuseAddress): Check impl.
12035 (setBroadcast): Check impl.
12036 (getBroadcast): Check impl.
12037 (setTrafficClass): Check impl, Documentation cleared.
12038 (getTrafficClass): Check impl.
12039 (getSendBufferSize): Check impl.
12040 (setReceiveBufferSize): Check impl, documentation added.
12041 (setSendBufferSize): Documentation added.
12042 (setDatagramSocketImplFactory): New method.
12043 * java/net/HttpURLConnection.java
12044 (HTTP_INTERNAL_ERROR): The correct code is 500.
12045 (HTTP_NOT_IMPLEMENTED): Added new constant.
12046 (setFollowRedirects): Documentation added.
12047 (getInstanceFollowRedirects): New method.
12048 (setInstanceFollowRedirects): New method.
12049 (setRequestMethod): Documentation added.
12050 (getResponseCode): Documentation added.
12051 (getResponseMessage): Documentation added.
12052 * java/net/JarURLConnection.java
12053 (JarURLConnection): protected since JDK 1.4.
12054 (getJarEntry): java.io.IOException to IOException, documentation added.
12055 (getJarFile): Documentation added.
12056 * java/net/ServerSocket.java
12057 (ServerSocket): Private to public, exception added.
12058 (ServerSocket): java.io.IOException to IOException, documentation added.
12059 (bind): Check socket address type, documentation added.
12060 (bind): java.io.IOException to IOException, documentation added.
12061 (accept): Documentation added.
12062 (implAccept): Check ch is not non-blocking, documentation added.
12063 (setSoTimeout): Documentation fixed.
12064 (setReceiveBufferSize): Documentation added.
12065 * java/net/Socket.java
12066 (Socket): Documentation added.
12067 (bind): Documentation added.
12068 (connect): Check socket address type, documentation added.
12069 (getRemoteSocketAddress): New method.
12070 (getLocalSocketAddress): New method.
12071 (setSoLinger): Documentation added.
12072 (getReuseAddress): New method.
12073 (setReuseAddress): New method.
12074 (getTrafficClass): New method.
12075 (setTrafficClass): New method.
12076 * java/net/URLStreamHandler.java
12077 (openConnection): java.io.IOException to IOException.
12078 (parseURL): Documentation added.
12079 (sameFile): public to protected, documentation added.
12080 (setURL): Documentation added.
12081 * java/nio/IllegalBlockingModeException.java: New file.
12082 * Makefile.am (ordinary_java_source_files):
12083 added java/nio/IllegalBlockingModeException.java
12084 * Makefile.in: Regenerated.
12086 2002-09-25 Michael Koch <konqueror@gmx.de>
12088 * java/net/DatagramPacket
12089 (DatagramPacket): Exception documentation added.
12090 (setData): Likewise.
12091 (setSocketAddress): Likewise.
12092 * java/net/DatagramSocketImpl.java
12093 (peek): Documentation addded.
12094 (peekData): Documentation addded.
12095 (send): Documentation addded.
12096 (receive): Documentation addded.
12097 (connect): New method.
12098 (disconnect): New method.
12099 (joinGroup): New abstract method.
12100 (leaveGroup): New abstract method.
12101 * java/net/InetSocketAddress.java
12102 (InetSocketAddress): Documentation added.
12103 (equals): final keyword added.
12104 (getAddress): final keyword added.
12105 (getHostName): final keyword added.
12106 (getPort): final keyword added.
12107 (hashCode): final keyword added.
12108 (isUnresolved): final keyword added.
12109 * java/net/MulticastSocket.java
12110 (MulticastSocket): Documentation added.
12111 (MulticastSocket): New method.
12112 (joinGroup): Documentation added.
12113 (joinGroup): New method.
12114 (leaveGroup): Documentation added.
12115 (leaveGroup): New method.
12116 (send): Documentation added.
12117 * java/net/NetworkInterface.java
12118 (getByName): Documentation added.
12119 (getByInetAddress): Documentation added.
12120 (getNetworkInterfaces): Documentation added.
12121 * java/net/PlainDatagramSocketImpl.java
12122 (connect): New method.
12123 (disconnect): New method.
12124 * java/net/SocketImpl.java
12125 (create): Documentation added.
12126 (shutdownInput): Convert public to protected, as it always was.
12127 (shutdownOutput): Convert public to protected, as it always was.
12128 * java/net/SocketOptions.java
12129 (whole file): Reintented.
12130 * java/net/URLClassLoader.java
12131 (URLClassLoader): SecurityManager check added, documentation added.
12132 (findResources): Documentation added.
12133 (findClass): Documentation added.
12134 (newInstance): More correct method arguments.
12135 * java/net/URLConnection.java
12136 (connect): Documentation added.
12137 (getContent): Documentation added.
12138 (getPermission): Documentation added.
12139 (getInputStream): Documentation added.
12140 (getOutputStream): Documentation added.
12141 (setDoInput): Throw correct exception, documentation added.
12142 (setDoOutput): Throw correct exception, documentation added.
12143 (setAllowUserInteraction): Throw correct exception, documentation added.
12144 (setUseCaches): Throw correct exception, documentation added.
12145 (setIfModifiedSince): Throw correct exception, documentation added.
12146 (setRequestProperty): Throw exception, documentation added.
12147 (addRequestProperty): Throw exception, documentation added.
12148 (getRequestProperty): Throw exception, documentation added.
12149 (getRequestProperties): Documentation added.
12150 (setContentHandlerFactory): Documentation added.
12151 (guessContentTypeFromName): protected to public.
12152 (setFileNameMap): Documentation added.
12153 * java/net/URLDecoder.java
12154 (URLDecoder): New method.
12155 (decode): Documentation added.
12156 (whole file): Reindented.
12157 * java/net/URLEncoder.java
12158 (encode): Documentation added.
12159 * java/net/natPlainDatagramSocketImpl.cc
12160 (connect): New method.
12161 (disconnect): New method.
12162 * javax/naming/RefAddr:
12163 (addrType): addrType was never final.
12164 (equals): Fix typo in method name.
12165 * javax/naming/BinaryRefAddr:
12166 (equals): Fix typo in method name.
12168 2002-09-22 Tom Tromey <tromey@redhat.com>
12170 Fix for PR libgcj/6576:
12171 * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
12172 didn't find a given bundle.
12173 (getBundle): Don't require base bundle.
12174 (setParent): Removed old comment.
12175 (tryLocalBundle): Try components even if preceding components were
12178 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12180 * Makefile.am (all-multi): Fix multilib parallel build.
12182 2002-09-21 Michael Koch <konqueror@gmx.de>
12184 * java/net/Socket.java
12185 (sendUrgentData): New method.
12186 (getChannel): New method.
12187 * java/net/ServerSocket.java
12188 (getChannel): New method.
12189 (isBound): New method.
12190 * java/net/DatagramSocket.java
12191 (DatagramSocket): Two new methods.
12192 (bind): New method.
12193 (getChannel): New method.
12194 (isBound): New method.
12195 (send): Added newline to to make shorter lines.
12196 * java/net/PlainDatagramSocketImpl.java
12197 (mcastGrp): Added argument.
12198 (join): Use new mcastGrp.
12199 (leave): Use new mcastGrp.
12200 (joinGroup): New method.
12201 (leaveGroup): New method.
12202 * java/net/natPlainDatagramSocketImpl.cc
12203 (mcastGrp): Added argument, no yet really implemented.
12204 (getOption): Added newline for shorter lines.
12205 * java/net/natPlainSocketImpl.cc
12206 (read, setOption, getOption): Added newline for shorter lines.
12208 2002-09-19 Tom Tromey <tromey@redhat.com>
12210 * java/lang/ClassLoader.java (resolveClass0): Set cause for
12211 newly-created exception.
12213 2002-09-18 Michael Koch <konqueror@gmx.de>
12215 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
12216 java/util/regex/PatternSyntaxException.java:
12217 Merge with classpath, new files.
12218 * Makefile.am (core_java_source_files):
12219 Added java/util/regex/Matcher.java,
12220 java/util/regex/Pattern.java,
12221 java/util/regex/PatternSyntaxException.java
12222 * Makefile.in: Regenerated.
12223 * include/config.h.in: Added HAVE_NET_IF_H.
12224 * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
12225 Removed #if 0 ... #endif.
12227 2002-09-17 Michael Koch <konqueror@gmx.de>
12229 * java/net/natNetworkInterface.cc:
12230 Removed unneed and yet wrong includes.
12232 2002-09-17 Michael Koch <konqueror@gmx.de>
12234 * java/net/NetworkInterface.java: New file.
12235 * java/net/natNetworkInterface.java: New file.
12236 * configure.in: Added check for net/if.h.
12237 * configure: Regenerated.
12239 (ordinary_java_source_files): Added NetworkInterface.java.
12240 (nat_source_files): Added natNetworkInterface.cc.
12241 * Makefile.in: Regenerated.
12243 2002-09-16 Tom Tromey <tromey@redhat.com>
12245 * java/net/URLClassLoader.java (findClass): Code source for a
12246 class from a jar is not necessarily a jar: URL.
12248 2002-09-16 Michael Koch <konqueror@gmx.de>
12250 * java/lang/AssertionError.java:
12251 Merge with classpath, fixes HTML.
12252 * java/rmi/server/LogStream.java:
12253 Merge with classpath, fixes some constants.
12254 * java/net/server/RemoteServer.java:
12255 Merge with classpath, adds serialVersionUID.
12256 * javax/naming/BinaryRefAddr.java:
12257 Merge with classpath, s/equal/equals/.
12258 * javax/naming/NamingException.java:
12259 Merge with classpath, fixed typo.
12260 * javax/naming/RefAddr.java:
12261 Merge with classpath, s/equal/equals/.
12262 * java/awt/Toolkit.java:
12263 s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
12266 2002-09-15 Adam Megacz <adam@xwt.org>
12268 * java/net/natPlainSocketImpl.cc: fixed typo.
12270 2002-09-15 Adam Megacz <adam@xwt.org>
12272 * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
12273 which don't work on Win32 (yet).
12275 2002-09-14 Adam Megacz <adam@xwt.org>
12277 * java/net/natPlainDatagramSocket.cc: removed #include
12278 <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
12279 * include/win32.h: included definition for IP_TOS to satisfy
12280 natPlainDatagramSocket.cc
12282 2002-09-13 Michael Koch <konqueror@gmx.de>
12284 * java/net/DatagramPacket.java (DatagramPacket):
12285 Added linebreak for 80 chars per line.
12286 * java/net/JarURLConection.java
12287 (getInputStreami, getJarEntry): Likewise.
12288 * java/net/SocketPErmission.java
12289 (SocketPermission class docu, implies): Likewise.
12290 * java/net/URLClassLoader.java (findResources): Likewise.
12291 * java/net/URLConnection.java: Reindendet remark for 80 chars per line
12293 2002-09-13 Michael Koch <konqueror@gmx.de>
12295 * java/nio/channels/DatagramChannel.java,
12296 java/nio/channels/ServerSocketChannel.java
12297 java/nio/channels/SocketChannel.java:
12298 New dummy files to make java.net fully JDK 1.4 compatible
12299 * Makefile.am (ordinary_java_source_files): Added
12300 java/net/DatagramSocketImplFactory.java (long forgotten),
12301 java/nio/SocketChannel.java,
12302 java/nio/ServerSocketChannel.java,
12303 java/nio/DatagramChannel.java
12304 * Makefile.in: Regenrated.
12306 2002-09-12 Michael Koch <konqueror@gmx.de>
12308 * java/net/DatagramSocketImpl.java
12309 (peekData): New method.
12310 * java/net/PlainDatagramSocketImpl.java
12311 (peekData): New method.
12312 * java/net/natPlainDatagramSocketImpl.cc
12313 (peekData): New method.
12314 * java/net/URLConnection
12315 (getPermission): New method.
12316 (addRequestProperty): New method.
12317 (getRequestProperties): New method.
12318 (guessContentTypeFromStream): New method, not really implemented.
12319 (URLConnection): Added/updated documentation.
12320 (connect): Added/updated documentation.
12321 (getURL): Added/updated documentation.
12322 (getContentLength): Added/updated documentation.
12323 (getContentType: Added/updated documentation.
12324 (getContentEncoding): Added/updated documentation.
12325 (getExpiration): Added/updated documentation.
12326 (getDate): Added/updated documentation.
12327 (getLastModified): Added/updated documentation.
12328 (getHeaderField): Added/updated documentation.
12329 (getHeaderFields): Added/updated documentation.
12330 (getHeaderFieldInt): Added/updated documentation.
12331 (getHeaderFieldDate): Added/updated documentation.
12332 (getHeaderFieldKey): Added/updated documentation.
12333 (getContent): Added/updated documentation.
12334 (getInputStream): Added/updated documentation.
12335 (getOutputStream): Added/updated documentation.
12336 (toString): Added/updated documentation.
12337 (setDoInput): Added/updated documentation.
12338 (getDoInput): Added/updated documentation.
12339 (setDoOutput): Added/updated documentation.
12340 (getDoOutput): Added/updated documentation.
12341 (setAllowUserInteraction): Added/updated documentation.
12342 (getAllowUserInteraction): Added/updated documentation.
12343 (setDefaultAllowUserInteraction): Added/updated documentation.
12344 (getDefaultAllowUserInteraction): Added/updated documentation.
12345 (setUseCaches): Added/updated documentation.
12346 (getUseCaches): Added/updated documentation.
12347 (setIfModifiedSince): Added/updated documentation.
12348 (getIfModifiedSince): Added/updated documentation.
12349 (getDefaultUseCaches): Added/updated documentation.
12350 (setDefaultUseCaches): Added/updated documentation.
12351 (setRequestProperty): Added/updated documentation.
12352 (getRequestProperty): Added/updated documentation.
12353 (setDefaultRequestProperty): Added/updated documentation.
12354 (getDefaultRequestProperty): Added/updated documentation.
12355 (setContentHandlerFactory): Added/updated documentation.
12356 (guessContentTypeFromName): Added/updated documentation.
12357 (getFileNameMap): Added/updated documentation.
12358 (setFileNameMap): Added/updated documentation.
12360 2002-09-11 Michael Koch <konqueror@gmx.de>
12362 * java/net/Socket.java
12363 (Socket): protected to public (since JDK 1.4). Added @specnote.
12364 (bind): New method.
12365 (connect): Two new methods.
12366 (getKeepalive): Get correct socket option.
12367 (setKeepalive): Set correct socket option.
12368 (getOOBInline): New method.
12369 (setOOBInline): New method.
12370 * java/net/ServerSocket.java
12371 (bind): Two new methods.
12372 (getInetAddress): Reimplemented, catch exception.
12373 (getLocalSocketAddress): New method.
12374 (setReuseAddress): New method.
12375 (getReuseAdress): New method.
12376 (setReceiveBufferSize): New method.
12377 (getReceiveBufferSize): New method.
12378 (toString): Made string JDK 1.4 compliant.
12380 2002-09-10 Michael Koch <konqueror@gmx.de>
12382 * java/net/SocketImpl.java
12383 (connect): New method.
12384 (supportsUrgentData): New method.
12385 (sendUrgentData): New method.
12386 * java/net/PlainSocketImpl.java
12387 (connect): One new method and two new implementation.
12388 (sendUrgentData): New method.
12389 * java/natPlainSocketImpl.cc
12390 (connect): Arguments changed, added support for timeouts.
12391 (getOption): Another __java_boolean to jboolean.
12393 2002-09-07 Adam Megacz <adam@xwt.org>
12395 * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
12396 definition of IP_TOS.
12398 2002-09-04 Michael Koch <konqueror@gmx.de>
12400 * java/net/DatagramSocket.java
12401 (DatagramSocket): Added documentation.
12403 (getLocalAddress): Likewise.
12404 (getLocalPort): Likewise.
12405 (receive): Likewise.
12407 (setSoTimeout): Likewise.
12408 (connect): New method.
12409 (disconnect): New method.
12410 (getInetAddress): New method (FIXME)
12411 (getPort): New method.
12412 (setReuseAddress): New method.
12413 (getReuseAddress): New method.
12414 (setBroadcast): New method.
12415 (getBroadcast): New method.
12416 (setTrafficClass): New method.
12417 (getTrafficClass): New method.
12418 * java/net/MulticastSocket.java):
12419 (getTTL): Added @see in documentation.
12420 (setTTL): Added @see in documentation.
12421 (setLoopbackMode): New method.
12422 (getLoopbackMode): New method.
12423 * java/net/PlainSocketImpl.java:
12424 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
12425 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12426 * java/net/PlainDatagramSocketImpl.java
12427 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
12428 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12429 * java/net/natPlainSocketImpl.cc
12430 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
12431 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12432 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
12433 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12434 This should also fix SO_KEEPALIVE
12435 * java/net/natPlainDatagramSocketImpl.cc
12436 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
12437 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12438 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
12439 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
12441 2002-09-04 Michael Koch <konqueror@gmx.de>
12443 * java/net/SocketOptions.java: added static variables to be JDK 1.4
12444 compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
12445 IP_MULTICAST_LOOP, IP_TOS
12447 2002-09-03 Tom Tromey <tromey@redhat.com>
12449 * java/lang/Class.h (_getDeclaredMethod): Declare.
12450 (_getMethod): Now private.
12451 * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
12452 getDeclaredMethod. Now returns NULL on failure.
12453 * java/lang/Class.java (_getDeclaredMethod): Declare.
12454 (getDeclaredMethod): No longer native; implements access checks.
12456 2002-09-01 Mark Wielaard <mark@klomp.org>
12458 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
12459 (sanitizeStack): Correctly reset unknown and interpreter counters,
12460 detect interpreter runtime frames.
12461 (demangleInterpreterMethod): New method.
12462 * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
12463 * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
12464 filling in addrs[].
12466 2002-09-02 Michael Koch <konqueror@gmx.de>
12468 * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
12469 re-indented documentation.
12471 2002-08-30 Jesse Rosenstock <jmr@ugcs.caltech.edu>
12473 * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
12474 public, per 1.4 spec. Fixes PR libgcj/7785.
12476 2002-08-30 Jeff Sturm <jsturm@one-point.com>
12478 * Makefile.in: Rebuilt.
12479 * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
12481 2002-08-29 Tom Tromey <tromey@redhat.com>
12483 * java/net/JarURLConnection.java (getCertificates): New method
12485 * java/net/URLClassLoader.java (URLClassLoader): Extends
12487 (definePackage): New method from Classpath.
12488 (getPermissions): Likewise.
12489 (newInstance): Likewise.
12490 (findClass): Construct CodeSource for new class (from Classpath).
12491 * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
12493 * java/net/URL.java (getUserInfo): New method.
12494 (set(String,String,int,String,String,String,String,String)): New
12496 * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
12497 (shutdownInput, shutdownOutput): Declare.
12498 * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
12500 * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
12501 (getOption): Likewise.
12502 (shutdownInput): New method.
12503 (shutdownOutput): Likewise.
12504 * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
12506 (getOption): Likewise.
12507 * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
12508 * java/net/Socket.java (setKeepAlive): New method.
12509 (getKeepAlive): Likewise.
12510 (shutdownInput, shutdownOutput): New methods.
12512 2002-08-29 Michael Koch <konqueror@gmx.de>
12514 * java/net/DatagramPacket.java: updated to JDK 1.4 API
12516 DatagramPacket(byte[] buf, int offset, int length, SocketAddress
12518 DatagramPacket(byte[] buf, int length, SocketAddress address),
12519 void setSocketAddress(SocketAddress address)
12520 public SocketAddress getSocketAddress()
12522 2002-08-29 Tom Tromey <tromey@redhat.com>
12524 * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
12525 ftruncate is missing.
12526 * configure, include/config.h.in: Rebuilt.
12527 * acconfig.h (HAVE_FTRUNCATE): Mention.
12528 * configure.in: Check for ftruncate.
12530 2002-08-29 Tom Tromey <tromey@redhat.com>
12532 * include/jvm.h (struct _Jv_frame_info): New structure.
12533 * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
12535 (lookupInterp): New method.
12536 (getAddrAsString): Use _Jv_frame_info.
12537 (dladdrLookup): Likewise.
12538 * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
12540 (lookupInterp): Declare.
12541 * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
12542 (fillInStackTrace): Collect information on interpreted frames.
12543 Use _Jv_frame_info.
12544 * interpret.cc: Include Thread.h.
12545 (run): Create and push _Jv_MethodChain object.
12546 (_Jv_EndOfInterpreter): New global.
12547 * java/lang/Thread.java (interp_frame): New field.
12548 * include/java-interp.h (struct _Jv_MethodChain): New structure.
12549 Include NameFinder.h.
12551 2002-08-28 Tom Tromey <tromey@redhat.com>
12553 * java/lang/Class.h: Include Package.h.
12554 (Class::getProtectionDomain): Declare.
12555 (Class::getPackage): Declare.
12557 2002-08-28 Michael Koch <konqueror@gmx.de>
12559 * java/net/InetSocketAddress.java: Added some documentation and argument
12560 checks for the port numbers.
12561 * java/net/DatagramSocketImplFactory.java: New file.
12563 2002-08-28 Michael Koch <konqueror@gmx.de>
12565 * java/net/Authenticator.java: added some documentation.
12567 2002-08-27 Tom Tromey <tromey@redhat.com>
12569 * java/lang/reflect/natConstructor.cc (newInstance): Initialize
12571 * java/lang/reflect/natMethod.cc (invoke): Initialize class.
12573 2002-08-27 Michael Koch <konqueror@gmx.de>
12575 * java/net/BindException.java,
12576 java/net/JarURLConnection.java,
12577 java/net/FileNameMap.java,
12578 java/net/HttpURLConnection.java,
12579 java/net/InetSocketAddress.java,
12580 java/net/DatagramPacket.java,
12581 java/net/DatagramSocket.java,
12582 java/net/DatagramSocketImpl.java,
12583 java/net/MulticastSocket.java,
12584 java/net/PasswordAuthentication.java,
12585 java/net/ServerSocket.java,
12586 java/net/Socket.java,
12587 java/net/URLClassLoader.java,
12588 java/net/URLConnection.java: add/update of some @since/@deprecated
12590 2002-08-27 Tony Kimball <alk@pobox.com>
12591 Tom Tromey <tromey@redhat.com>
12593 * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
12595 (::close): Removed.
12596 (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
12597 * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
12598 (::close): Removed.
12599 (PlainSocketImpl::close): Use NATIVE_CLOSE.
12600 * include/win32.h (getcwd): Removed declaration. Include io.h.
12602 2002-08-25 Adam Megacz <adam@xwt.org>
12604 * include/win32.h (getcwd): copied function declaration as
12605 temporary fix for header confusion.
12607 2002-08-24 Mark Wielaard <mark@klomp.org>
12609 * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
12610 (core_java_source_files): Add VMThrowable.java and NameFinder.java
12611 (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
12612 and natNameFinder.cc.
12613 * Makefile.in: Regenerate.
12614 * prims.cc: Use trace_enabled from VMThrowable.
12615 * name-finder.cc: Removed.
12616 * gcj/javaprims.h: Add class VMThrowable.
12617 * gnu/gcj/runtime/NameFinder.java: New file.
12618 * gnu/gcj/runtime/natNameFinder.cc: Likewise.
12619 * include/name-finder.h: Removed.
12620 * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
12621 method stackTraceString().
12622 (printStackTrace (PrintWriter)): Likewise.
12623 (stackTraceString): Complete rewrite of old printStackTrace using
12625 (stackTraceStringBuffer): New helper method for stackTraceString().
12626 (fillInStackTrace): Delegate to VMTrowable.
12627 (getStackTrace): Likewise.
12628 (getStackTrace0): Removed.
12629 (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
12630 (setStackTrace): Copy given array.
12631 * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
12632 * java/lang/VMThrowable.java: New class.
12633 * java/lang/natVMThrowable.cc: New file.
12635 2003-08-23 Michael Koch <konqueror@gmx.de>
12637 * java/net/URLConnection.java,
12638 java/netJarURLConnection.java,
12639 gnu/gcj/protocol/core/Connection.java,
12640 gnu/gcj/protocol/file/Connection.java,
12641 gnu/gcj/protocol/http/Connection.java: Added implementation of
12644 2002-08-22 Tom Tromey <tromey@redhat.com>
12646 * gij.cc (help): Document -cp and -classpath.
12647 (main): Handle -classpath.
12649 2002-08-21 Tom Tromey <tromey@redhat.com>
12651 * Makefile.in: Rebuilt.
12652 * Makefile.am (ordinary_java_source_files): Added
12653 SocketAddress.java, InetSocketAddress.java.
12654 * java/net/PortUnreachableException.java: Merged with Classpath.
12655 * java/net/SocketTimeoutException.java: Likewise.
12656 * java/net/URISyntaxException.java: Likewise.
12657 * java/net/SocketAddress.java: New class from Classpath.
12658 * java/net/InetSocketAddress.java: Likewise.
12660 2003-08-21 Michael Koch <konqueror@gmx.de>
12662 * java/net/Authenticator.java: updated JDK 1.4
12663 * java/net/ContentHandler.java: updated JDK 1.4
12665 2002-08-20 Michael Koch <konqueror@gmx.de>
12667 * java/net/URISyntaxException.java: New file.
12668 * java/net/SocketTimeoutException.java: New file.
12669 * java/net/PortUnreachableException.java: New file.
12670 * Makefile.am: Updated.
12671 * Makefile.in: Rebuilt.
12673 2002-08-18 Mark Wielaard <mark@klomp.org>
12675 Thanks to Vladimir Puskas <vpuskas@eunet.yu>
12676 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
12677 MessageDigestSpi (fixes Classpath bug #783).
12679 2002-08-14 Jesse Rosenstock <jmr@ugcs.caltech.edu>
12681 * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
12682 (startProcess): Allocate path for chdir in async-signal-safe way.
12684 2002-08-13 Jesse Rosenstock <jmr@ugcs.caltech.edu>
12686 Fix for PR libgcj/7570 and PR libgcj/7578:
12687 * java/lang/natPosixProcess.cc: Include java/io/File.h.
12688 (startProcess): Handle new `dir' argument.
12689 * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
12691 * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
12693 (startProcess): Likewise.
12694 * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
12696 * java/lang/Runtime.java (execInternal): Added `dir' argument.
12697 (exec): Don't create new environment if ENV==null. Pass DIR to
12699 * java/lang/natRuntime.cc: Include java/io/File.h.
12700 (execInternal): Added `dir' argument.
12702 2002-08-13 Jesse Rosenstock <jmr@fulcrummicro.com>
12704 * java/io/RandomAccessFile.java (skipBytes): Return number of
12707 2002-08-01 Mark Wielaard <mark@klomp.org>
12709 Reenable patch since shared library troubles on powerpc are solved:
12710 * gnu/java/security/provider/Gnu.java: Reference all implementation
12711 classes by using Class.getName().
12712 * gnu/java/security/der/DEREncodingException.java,
12713 gnu/java/security/provider/DERReader.java,
12714 gnu/java/security/provider/DERWriter.java,
12715 gnu/java/security/provider/DSAKeyPairGenerator.java,
12716 gnu/java/security/provider/DSAParameterGenerator.java,
12717 gnu/java/security/provider/DSAParameters.java,
12718 gnu/java/security/provider/DSASignature.java,
12719 gnu/java/security/provider/GnuDSAPrivateKey.java,
12720 gnu/java/security/provider/GnuDSAPublicKey.java,
12721 gnu/java/security/provider/MD5.java,
12722 gnu/java/security/util/Prime.java: New classes
12723 * Makefile.am (ordinary_java_source_files): Add above files.
12724 * Makefile.in: Regenerate.
12725 * gnu/java/security/provider/DefaultPolicy.java
12726 (getPermissions): Don't maintain static class variable of Permissions.
12727 * gnu/java/security/provider/SHA.java
12728 (engineUpdate): algorithm change.
12729 (engineDigest): algorithm change.
12731 2002-08-09 Mark Wielaard <mark@klomp.org>
12733 * java/awt/image/MemoryImageSource.java: Change constructor to take
12735 * java/awt/Graphics2D.java: Uncomment methods that can now be
12737 * java/awt/GridBagLayout.java: New stub implementation.
12738 * javax/swing/text/html/HTML.java: Stub implementation.
12739 * javax/swing/text/html/parser/ParserDelegator.java: New stub
12742 * Makefile.am: Add new files.
12743 * Makefile.in: Rebuilt.
12745 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12747 * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
12748 methods in Graphics2D.
12750 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12752 AWT/Swing merge from GNU Classpath.
12754 * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
12755 java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
12756 java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
12757 java/awt/color/ProfileDataException.java,
12758 java/awt/CompositeContext.java, java/awt/Composite.java,
12759 java/awt/ContainerOrderFocusTraversalPolicy.java,
12760 java/awt/datatransfer/FlavorTable.java,
12761 java/awt/DefaultFocusTraversalPolicy.java,
12762 java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
12763 java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
12764 java/awt/dnd/DragGestureListener.java,
12765 java/awt/dnd/DragGestureRecognizer.java,
12766 java/awt/dnd/DragSourceAdapter.java,
12767 java/awt/dnd/DragSourceContext.java,
12768 java/awt/dnd/DragSourceDragEvent.java,
12769 java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
12770 java/awt/dnd/DragSourceListener.java,
12771 java/awt/dnd/DragSourceMotionListener.java,
12772 java/awt/dnd/DropTarget.java,
12773 java/awt/dnd/InvalidDnDOperationException.java,
12774 java/awt/dnd/peer/DragSourceContextPeer.java,
12775 java/awt/event/AWTEventListenerProxy.java,
12776 java/awt/event/MouseWheelEvent.java,
12777 java/awt/event/MouseWheelListener.java,
12778 java/awt/event/WindowFocusListener.java,
12779 java/awt/event/WindowStateListener.java,
12780 java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
12781 java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
12782 java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
12783 java/awt/geom/FlatteningPathIterator.java,
12784 java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
12785 java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
12786 java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
12787 java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
12788 java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
12789 java/awt/image/ImagingOpException.java,
12790 java/awt/image/RasterFormatException.java,
12791 java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
12792 java/awt/image/VolatileImage.java,
12793 java/awt/image/WritableRenderedImage.java,
12794 java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
12795 java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
12796 java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
12797 java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
12798 java/awt/PageAttributes.java, java/awt/print/Book.java,
12799 java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
12800 java/awt/print/Paper.java, java/awt/print/Printable.java,
12801 java/awt/print/PrinterAbortException.java,
12802 java/awt/print/PrinterException.java,
12803 java/awt/print/PrinterGraphics.java,
12804 java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
12805 java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
12806 java/awt/Stroke.java, java/awt/TexturePaint.java,
12807 javax/accessibility/AccessibleAction.java,
12808 javax/accessibility/AccessibleBundle.java,
12809 javax/accessibility/AccessibleComponent.java,
12810 javax/accessibility/AccessibleContext.java,
12811 javax/accessibility/AccessibleEditableText.java,
12812 javax/accessibility/AccessibleExtendedComponent.java,
12813 javax/accessibility/AccessibleExtendedTable.java,
12814 javax/accessibility/AccessibleHyperlink.java,
12815 javax/accessibility/AccessibleHypertext.java,
12816 javax/accessibility/AccessibleIcon.java,
12817 javax/accessibility/Accessible.java,
12818 javax/accessibility/AccessibleKeyBinding.java,
12819 javax/accessibility/AccessibleRelation.java,
12820 javax/accessibility/AccessibleRelationSet.java,
12821 javax/accessibility/AccessibleResourceBundle.java,
12822 javax/accessibility/AccessibleRole.java,
12823 javax/accessibility/AccessibleSelection.java,
12824 javax/accessibility/AccessibleState.java,
12825 javax/accessibility/AccessibleStateSet.java,
12826 javax/accessibility/AccessibleTable.java,
12827 javax/accessibility/AccessibleTableModelChange.java,
12828 javax/accessibility/AccessibleText.java,
12829 javax/accessibility/AccessibleValue.java,
12830 javax/swing/AbstractAction.java,
12831 javax/swing/AbstractButton.java,
12832 javax/swing/AbstractCellEditor.java,
12833 javax/swing/AbstractListModel.java,
12834 javax/swing/AbstractSet.java, javax/swing/Action.java,
12835 javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
12836 javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
12837 javax/swing/border/CompoundBorder.java,
12838 javax/swing/border/EmptyBorder.java,
12839 javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
12840 javax/swing/border/LineBorder.java,
12841 javax/swing/border/MatteBorder.java,
12842 javax/swing/border/TitledBorder.java,
12843 javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
12844 javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
12845 javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
12846 javax/swing/CellRendererPane.java,
12847 javax/swing/colorchooser/AbstractColorChooserPanel.java,
12848 javax/swing/colorchooser/ColorChooserComponentFactory.java,
12849 javax/swing/colorchooser/ColorSelectionModel.java,
12850 javax/swing/colorchooser/DefaultColorSelectionModel.java,
12851 javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
12852 javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
12853 javax/swing/DefaultBoundedRangeModel.java,
12854 javax/swing/DefaultButtonModel.java,
12855 javax/swing/DefaultCellEditor.java,
12856 javax/swing/DefaultCellRenderer.java,
12857 javax/swing/DefaultComboBoxModel.java,
12858 javax/swing/DefaultDesktopManager.java,
12859 javax/swing/DefaultFocusManager.java,
12860 javax/swing/DefaultListCellRenderer.java,
12861 javax/swing/DefaultListModel.java,
12862 javax/swing/DefaultListSelectionModel.java,
12863 javax/swing/DefaultSingleSelectionModel.java,
12864 javax/swing/DesktopManager.java,
12865 javax/swing/event/AncestorEvent.java,
12866 javax/swing/event/AncestorListener.java,
12867 javax/swing/event/CaretEvent.java,
12868 javax/swing/event/CaretListener.java,
12869 javax/swing/event/CellEditorListener.java,
12870 javax/swing/event/ChangeEvent.java,
12871 javax/swing/event/ChangeListener.java,
12872 javax/swing/event/DocumentEvent.java,
12873 javax/swing/event/DocumentListener.java,
12874 javax/swing/event/EventListenerList.java,
12875 javax/swing/event/HyperlinkEvent.java,
12876 javax/swing/event/HyperlinkListener.java,
12877 javax/swing/event/InternalFrameAdapter.java,
12878 javax/swing/event/InternalFrameEvent.java,
12879 javax/swing/event/InternalFrameListener.java,
12880 javax/swing/event/ListDataEvent.java,
12881 javax/swing/event/ListDataListener.java,
12882 javax/swing/event/ListSelectionEvent.java,
12883 javax/swing/event/ListSelectionListener.java,
12884 javax/swing/event/MenuDragMouseEvent.java,
12885 javax/swing/event/MenuDragMouseListener.java,
12886 javax/swing/event/MenuEvent.java,
12887 javax/swing/event/MenuKeyEvent.java,
12888 javax/swing/event/MenuKeyListener.java,
12889 javax/swing/event/MenuListener.java,
12890 javax/swing/event/MouseInputAdapter.java,
12891 javax/swing/event/MouseInputListener.java,
12892 javax/swing/event/PopupMenuEvent.java,
12893 javax/swing/event/PopupMenuListener.java,
12894 javax/swing/event/SwingPropertyChangeSupport.java,
12895 javax/swing/event/TableColumnModelEvent.java,
12896 javax/swing/event/TableColumnModelListener.java,
12897 javax/swing/event/TableModelEvent.java,
12898 javax/swing/event/TableModelListener.java,
12899 javax/swing/event/TreeExpansionEvent.java,
12900 javax/swing/event/TreeExpansionListener.java,
12901 javax/swing/event/TreeModelEvent.java,
12902 javax/swing/event/TreeModelListener.java,
12903 javax/swing/event/TreeSelectionEvent.java,
12904 javax/swing/event/TreeSelectionListener.java,
12905 javax/swing/event/TreeWillExpandListener.java,
12906 javax/swing/event/UndoableEditEvent.java,
12907 javax/swing/event/UndoableEditListener.java,
12908 javax/swing/filechooser/FileFilter.java,
12909 javax/swing/filechooser/FileSystemView.java,
12910 javax/swing/filechooser/FileView.java,
12911 javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
12912 javax/swing/Icon.java, javax/swing/ImageIcon.java,
12913 javax/swing/InputMap.java, javax/swing/InputVerifier.java,
12914 javax/swing/JApplet.java, javax/swing/JButton.java,
12915 javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
12916 javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
12917 javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
12918 javax/swing/JDialog.java, javax/swing/JEditorPane.java,
12919 javax/swing/JFileChooser.java, javax/swing/JFrame.java,
12920 javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
12921 javax/swing/JLayeredPane.java, javax/swing/JList.java,
12922 javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
12923 javax/swing/JMenu.java, javax/swing/JOptionPane.java,
12924 javax/swing/JPanel.java, javax/swing/JPasswordField.java,
12925 javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
12926 javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
12927 javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
12928 javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
12929 javax/swing/JSlider.java, javax/swing/JSplitPane.java,
12930 javax/swing/JTabbedPane.java, javax/swing/JTable.java,
12931 javax/swing/JTextField.java, javax/swing/JTextPane.java,
12932 javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
12933 javax/swing/JToolTip.java, javax/swing/JTree.java,
12934 javax/swing/JViewport.java, javax/swing/JWindow.java,
12935 javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
12936 javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
12937 javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
12938 javax/swing/MenuSelectionManager.java,
12939 javax/swing/MutableComboBoxModel.java,
12940 javax/swing/OverlayLayout.java,
12941 javax/swing/plaf/ActionMapUIResource.java,
12942 javax/swing/plaf/basic/BasicBorders.java,
12943 javax/swing/plaf/basic/BasicButtonUI.java,
12944 javax/swing/plaf/basic/BasicCheckBoxUI.java,
12945 javax/swing/plaf/basic/BasicDefaults.java,
12946 javax/swing/plaf/basic/BasicGraphicsUtils.java,
12947 javax/swing/plaf/basic/BasicIconFactory.java,
12948 javax/swing/plaf/basic/BasicLabelUI.java,
12949 javax/swing/plaf/basic/BasicListUI.java,
12950 javax/swing/plaf/basic/BasicLookAndFeel.java,
12951 javax/swing/plaf/basic/BasicOptionPaneUI.java,
12952 javax/swing/plaf/basic/BasicPanelUI.java,
12953 javax/swing/plaf/basic/BasicRadioButtonUI.java,
12954 javax/swing/plaf/basic/BasicScrollPaneUI.java,
12955 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
12956 javax/swing/plaf/basic/BasicTextUI.java,
12957 javax/swing/plaf/basic/BasicToggleButtonUI.java,
12958 javax/swing/plaf/basic/BasicTreeUI.java,
12959 javax/swing/plaf/basic/BasicViewportUI.java,
12960 javax/swing/plaf/BorderUIResource.java,
12961 javax/swing/plaf/ButtonUI.java,
12962 javax/swing/plaf/ColorChooserUI.java,
12963 javax/swing/plaf/ColorUIResource.java,
12964 javax/swing/plaf/ComboBoxUI.java,
12965 javax/swing/plaf/ComponentInputMapUIResource.java,
12966 javax/swing/plaf/ComponentUI.java,
12967 javax/swing/plaf/DesktopIconUI.java,
12968 javax/swing/plaf/DesktopPaneUI.java,
12969 javax/swing/plaf/DimensionUIResource.java,
12970 javax/swing/plaf/FileChooserUI.java,
12971 javax/swing/plaf/FontUIResource.java,
12972 javax/swing/plaf/IconUIResource.java,
12973 javax/swing/plaf/InputMapUIResource.java,
12974 javax/swing/plaf/InsetsUIResource.java,
12975 javax/swing/plaf/InternalFrameUI.java,
12976 javax/swing/plaf/LabelUI.java,
12977 javax/swing/plaf/ListUI.java,
12978 javax/swing/plaf/MenuBarUI.java,
12979 javax/swing/plaf/MenuItemUI.java,
12980 javax/swing/plaf/OptionPaneUI.java,
12981 javax/swing/plaf/PanelUI.java,
12982 javax/swing/plaf/PopupMenuUI.java,
12983 javax/swing/plaf/ProgressBarUI.java,
12984 javax/swing/plaf/RootPaneUI.java,
12985 javax/swing/plaf/ScrollBarUI.java,
12986 javax/swing/plaf/ScrollPaneUI.java,
12987 javax/swing/plaf/SeparatorUI.java,
12988 javax/swing/plaf/SliderUI.java,
12989 javax/swing/plaf/SplitPaneUI.java,
12990 javax/swing/plaf/TabbedPaneUI.java,
12991 javax/swing/plaf/TableHeaderUI.java,
12992 javax/swing/plaf/TableUI.java,
12993 javax/swing/plaf/TextUI.java,
12994 javax/swing/plaf/ToolBarUI.java,
12995 javax/swing/plaf/ToolTipUI.java,
12996 javax/swing/plaf/TreeUI.java,
12997 javax/swing/plaf/UIResource.java,
12998 javax/swing/plaf/ViewportUI.java,
12999 javax/swing/ProgressMonitorInputStream.java,
13000 javax/swing/ProgressMonitor.java,
13001 javax/swing/Renderer.java,
13002 javax/swing/RepaintManager.java,
13003 javax/swing/RootPaneContainer.java,
13004 javax/swing/Scrollable.java,
13005 javax/swing/ScrollPaneConstants.java,
13006 javax/swing/ScrollPaneLayout.java,
13007 javax/swing/SingleSelectionModel.java,
13008 javax/swing/SizeRequirements.java,
13009 javax/swing/SizeSequence.java,
13010 javax/swing/SwingConstants.java,
13011 javax/swing/SwingUtilities.java,
13012 javax/swing/table/AbstractTableModel.java,
13013 javax/swing/table/DefaultTableCellRenderer.java,
13014 javax/swing/table/DefaultTableColumnModel.java,
13015 javax/swing/table/DefaultTableModel.java,
13016 javax/swing/table/TableCellEditor.java,
13017 javax/swing/table/TableCellRenderer.java,
13018 javax/swing/table/TableColumn.java,
13019 javax/swing/table/TableColumnModel.java,
13020 javax/swing/table/TableModel.java,
13021 javax/swing/text/AbstractDocument.java,
13022 javax/swing/text/AttributeSet.java,
13023 javax/swing/text/BadLocationException.java,
13024 javax/swing/text/Caret.java,
13025 javax/swing/text/CharacterIterator.java,
13026 javax/swing/text/ComponentView.java,
13027 javax/swing/text/DefaultCaret.java,
13028 javax/swing/text/DefaultEditorKit.java,
13029 javax/swing/text/Document.java,
13030 javax/swing/text/EditorKit.java,
13031 javax/swing/text/Element.java,
13032 javax/swing/text/GapContent.java,
13033 javax/swing/text/JTextComponent.java,
13034 javax/swing/text/Keymap.java,
13035 javax/swing/text/MutableAttributeSet.java,
13036 javax/swing/text/PlainDocument.java,
13037 javax/swing/text/PlainEditorKit.java,
13038 javax/swing/text/Position.java,
13039 javax/swing/text/Segment.java,
13040 javax/swing/text/StyledDocument.java,
13041 javax/swing/text/StyledEditorKit.java,
13042 javax/swing/text/Style.java,
13043 javax/swing/text/TextAction.java,
13044 javax/swing/text/ViewFactory.java,
13045 javax/swing/text/View.java,
13046 javax/swing/Timer.java,
13047 javax/swing/ToggleButtonModel.java,
13048 javax/swing/ToolTipManager.java,
13049 javax/swing/tree/AbstractLayoutCache.java,
13050 javax/swing/tree/DefaultMutableTreeNode.java,
13051 javax/swing/tree/DefaultTreeCellEditor.java,
13052 javax/swing/tree/DefaultTreeCellRenderer.java,
13053 javax/swing/tree/DefaultTreeModel.java,
13054 javax/swing/tree/DefaultTreeSelectionModel.java,
13055 javax/swing/tree/ExpandVetoException.java,
13056 javax/swing/tree/FixedHeightLayoutCache.java,
13057 javax/swing/tree/MutableTreeNode.java,
13058 javax/swing/tree/RowMapper.java,
13059 javax/swing/tree/TreeCellEditor.java,
13060 javax/swing/tree/TreeCellRenderer.java,
13061 javax/swing/tree/TreeModel.java,
13062 javax/swing/tree/TreeNode.java,
13063 javax/swing/tree/TreePath.java,
13064 javax/swing/tree/TreeSelectionModel.java,
13065 javax/swing/tree/VariableHeightLayoutCache.java,
13066 javax/swing/UIDefaults.java,
13067 javax/swing/UIManager.java,
13068 javax/swing/undo/AbstractUndoableEdit.java,
13069 javax/swing/undo/CannotRedoException.java,
13070 javax/swing/undo/CannotUndoException.java,
13071 javax/swing/undo/CompoundEdit.java,
13072 javax/swing/undo/StateEditable.java,
13073 javax/swing/undo/StateEdit.java,
13074 javax/swing/undo/UndoableEdit.java,
13075 javax/swing/undo/UndoableEditSupport.java,
13076 javax/swing/undo/UndoManager.java,
13077 javax/swing/UnsupportedLookAndFeelException.java,
13078 javax/swing/ViewportLayout.java,
13079 javax/swing/WindowConstants.java: New files, from GNU Classpath.
13081 * java/awt/ActiveEvent.java,
13082 java/awt/Adjustable.java, java/awt/AWTError.java,
13083 java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
13084 java/awt/AWTException.java, java/awt/AWTPermission.java,
13085 java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
13086 java/awt/Color.java, java/awt/Component.java,
13087 java/awt/ComponentOrientation.java, java/awt/Container.java,
13088 java/awt/datatransfer/MimeTypeParseException.java,
13089 java/awt/datatransfer/Transferable.java,
13090 java/awt/datatransfer/UnsupportedFlavorException.java,
13091 java/awt/Dimension.java, java/awt/event/ActionEvent.java,
13092 java/awt/event/ActionListener.java,
13093 java/awt/event/AdjustmentEvent.java,
13094 java/awt/event/AdjustmentListener.java,
13095 java/awt/event/AWTEventListener.java,
13096 java/awt/event/ComponentAdapter.java,
13097 java/awt/event/ComponentEvent.java,
13098 java/awt/event/ComponentListener.java,
13099 java/awt/event/ContainerAdapter.java,
13100 java/awt/event/ContainerEvent.java,
13101 java/awt/event/ContainerListener.java,
13102 java/awt/event/FocusAdapter.java,
13103 java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
13104 java/awt/event/HierarchyBoundsAdapter.java,
13105 java/awt/event/HierarchyBoundsListener.java,
13106 java/awt/event/HierarchyEvent.java,
13107 java/awt/event/HierarchyListener.java,
13108 java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
13109 java/awt/event/InputMethodListener.java,
13110 java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
13111 java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
13112 java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
13113 java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
13114 java/awt/event/MouseListener.java,
13115 java/awt/event/MouseMotionAdapter.java,
13116 java/awt/event/MouseMotionListener.java,
13117 java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
13118 java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
13119 java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
13120 java/awt/event/WindowListener.java, java/awt/Font.java,
13121 java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
13122 java/awt/geom/Ellipse2D.java,
13123 java/awt/geom/IllegalPathStateException.java,
13124 java/awt/geom/Line2D.java,
13125 java/awt/geom/NoninvertibleTransformException.java,
13126 java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
13127 java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
13128 java/awt/geom/RoundRectangle2D.java,
13129 java/awt/GraphicsConfiguration.java,
13130 java/awt/IllegalComponentStateException.java,
13131 java/awt/image/IndexColorModel.java,
13132 java/awt/Image.java, java/awt/image/MemoryImageSource.java,
13133 java/awt/image/PixelGrabber.java, java/awt/Insets.java,
13134 java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
13135 java/awt/LayoutManager.java, java/awt/MenuContainer.java,
13136 java/awt/MenuItem.java, java/awt/PaintContext.java,
13137 java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
13138 java/awt/Polygon.java, java/awt/PrintGraphics.java,
13139 java/awt/PrintJob.java, java/awt/Rectangle.java,
13140 java/awt/RenderingHints.java, java/awt/ScrollPane.java,
13141 java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
13142 java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
13144 * java/awt/im/spi/InputMethod.java,
13145 java/awt/im/spi/InputMethodContext.java,
13146 java/awt/im/spi/InputMethodDescriptor.java,
13147 java/awt/image/renderable/ContextualRenderedImageFactory.java,
13148 java/awt/image/renderable/ParameterBlock.java,
13149 java/awt/image/renderable/RenderContext.java,
13150 java/awt/image/renderable/RenderableImage.java,
13151 java/awt/image/renderable/RenderableImageOp.java,
13152 java/awt/image/renderable/RenderableImageProducer.java,
13153 java/awt/image/renderable/RenderedImageFactory.java: New files from
13156 * gnu/java/awt/EventModifier.java,
13157 gnu/java/awt/image/ImageDecoder.java,
13158 gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
13160 * gnu/awt/xlib/XGraphicsConfiguration.java,
13161 gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
13164 * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
13167 * Makefile.am: Add new files.
13168 * Makefile.in: Rebuilt.
13170 2002-08-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13172 * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
13173 defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
13174 findResource, getResources, findResources): Add javadoc from classpath.
13175 (getSystemResources): Implemented.
13177 2002-08-01 Mark Wielaard <mark@klomp.org>
13179 Revert patch that breaks libgcj shared library on powerpc:
13180 * gnu/java/security/provider/Gnu.java: Reverse referencing all
13181 implementation classes by using Class.getName(). Uses Strings again.
13182 * gnu/java/security/der/DEREncodingException.java,
13183 gnu/java/security/provider/DERReader.java,
13184 gnu/java/security/provider/DERWriter.java,
13185 gnu/java/security/provider/DSAKeyPairGenerator.java,
13186 gnu/java/security/provider/DSAParameterGenerator.java,
13187 gnu/java/security/provider/DSAParameters.java,
13188 gnu/java/security/provider/DSASignature.java,
13189 gnu/java/security/provider/GnuDSAPrivateKey.java,
13190 gnu/java/security/provider/GnuDSAPublicKey.java,
13191 gnu/java/security/provider/MD5.java,
13192 gnu/java/security/util/Prime.java: Removed.
13193 * Makefile.am (ordinary_java_source_files): Remove above files.
13194 * Makefile.in: Regenerate.
13195 * gnu/java/security/provider/DefaultPolicy.java
13196 (getPermissions): Revert to maintaining static class variable of
13198 * gnu/java/security/provider/SHA.java
13199 (engineUpdate): Revert algorithm change.
13200 (engineDigest): Revert algorithm change.
13202 2002-08-01 Kaz Kojima <kkojima@gcc.gnu.org>
13204 * configure.host: Add SH support.
13205 * sysdep/sh/locks.h: New file.
13207 2002-07-31 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13209 * java/awt/Frame.java (Frame): Remove println calls.
13211 2002-07-30 Jeff Sturm <jsturm@one-point.com>
13213 * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
13214 * configure: Rebuilt.
13216 2002-07-27 Alan Modra <amodra@bigpond.net.au>
13218 * sysdep/powerpc/locks.h: Formatting.
13221 (compare_and_swap): Use _LARX and _STCX.
13222 (compare_and_swap_release): Likewise.
13224 2002-07-26 Tom Tromey <tromey@redhat.com>
13226 * java/net/Authenticator.java: New version from Classpath.
13227 * java/net/DatagramSocketImpl.java: New version from Classpath.
13229 2002-07-27 Alan Modra <amodra@bigpond.net.au>
13231 * configure.host: Add powerpc64*-* entry.
13233 2002-07-26 Tom Tromey <tromey@redhat.com>
13235 * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
13238 2002-07-24 Tom Tromey <tromey@redhat.com>
13240 * java/lang/Runtime.java (loadLibrary): Pass `true' as search
13243 2002-07-24 Tom Tromey <tromey@redhat.com>
13244 Tony Kimball <alk@pobox.com>
13246 * java/io/natFileDescriptorWin32.cc (setLength): New method.
13247 * java/io/natFileDescriptorPosix.cc (setLength): New method.
13248 * java/io/RandomAccessFile.java (setLength): New method.
13249 * java/io/natFileDescriptorEcos.cc (setLength): New method.
13250 * java/io/FileDescriptor.java (setLength): New method.
13252 2002-07-24 Mark Wielaard <mark@klomp.org>
13254 * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
13255 * java/io/ObjectInputStream.java (setBooleanField): Before setting
13256 field call setAccessible(true).
13257 (setByteField): Likewise.
13258 (setCharField): Likewise.
13259 (setDoubleField): Likewise.
13260 (setFloatField): Likewise.
13261 (setIntField): Likewise.
13262 (setLongField): Likewise.
13263 (setShortField): Likewise.
13264 (setObjectField): Likewise.
13266 2002-07-24 Tom Tromey <tromey@redhat.com>
13268 * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
13269 use toString() to format array element.
13271 2002-07-23 Mark Wielaard <mark@klomp.org>
13273 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
13274 MessageDigestSpi (fixes Classpath bug #783).
13276 2002-07-21 Mark Wielaard <mark@klomp.org>
13278 * gnu/java/security/provider/Gnu.java: Reference all implementation
13279 classes by using Class.getName().
13281 2002-07-19 Bo Thorsen <bo@berlioz.suse.de>
13283 * java/lang/ieeefp.h: Add x86-64 support.
13284 * configure.in: Likewise.
13285 * configure.host: Likewise.
13286 * configure: Regenerated.
13287 * sysdep/x86-64/locks.h: New file with x86-64 locks.
13289 2002-07-16 Mark Wielaard <mark@klomp.org>
13291 * java/io/StreamTokenizer.java (pushBack): Update documentation.
13292 (whitespaceChars): call resetChar().
13294 2002-07-15 Tom Tromey <tromey@redhat.com>
13296 * Makefile.in: Rebuilt.
13297 * Makefile.am (awt_java_source_files): Added new files.
13298 * java/beans/ExceptionListener.java: Merged with Classpath.
13299 * java/beans/PropertyChangeEvent.java: Merged with Classpath.
13300 * java/beans/PropertyChangeListener.java: Merged with Classpath.
13301 * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
13302 * java/beans/PropertyChangeSupport.java: Merged with Classpath.
13303 * java/beans/VetoableChangeListener.java: Merged with Classpath.
13304 * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
13305 * java/beans/VetoableChangeSupport.java: Merged with Classpath.
13307 2002-07-14 Mark Wielaard <mark@klomp.org>
13309 * gnu/java/security/der/DEREncodingException.java,
13310 gnu/java/security/provider/DERReader.java,
13311 gnu/java/security/provider/DERWriter.java,
13312 gnu/java/security/provider/DSAKeyPairGenerator.java,
13313 gnu/java/security/provider/DSAParameterGenerator.java,
13314 gnu/java/security/provider/DSAParameters.java,
13315 gnu/java/security/provider/DSASignature.java,
13316 gnu/java/security/provider/GnuDSAPrivateKey.java,
13317 gnu/java/security/provider/GnuDSAPublicKey.java,
13318 gnu/java/security/provider/MD5.java,
13319 gnu/java/security/util/Prime.java: New files from Classpath.
13320 * Makefile.am (ordinary_java_source_files): Add new files.
13321 * Makefile.in: Regenerate.
13323 2002-07-14 C. Brian Jones <cbj@gnu.org>
13325 * gnu/java/security/provider/DefaultPolicy.java
13326 (getPermissions): do not maintain static class variable of
13328 * gnu/java/security/provider/SHA.java
13329 (engineUpdate): algorithm change
13330 (engineDigest): algorithm change
13332 2002-07-12 Jesse Rosenstock <jmr@fulcrummicro.com>
13334 For PR libgcj/7292:
13335 * java/lang/Character.java (toString(char)): Now static.
13337 2002-07-12 Mark Wielaard <mark@klomp.org>
13339 * java/lang/natThrowable.cc (printRawStackTrace): removed.
13340 (getStackTrace0): new method.
13341 * java/lang/Throwable.java (CPlusPlusDemangler): removed.
13342 (printStackTrace(PrintWriter)): replace with pure java implementation.
13343 (printRawStackTrace): removed.
13344 (getStackTrace0): new method.
13345 * java/lang/StackTraceElement.java (toString): add extra whitespace.
13346 * gcj/javaprims.h: regenerate class list.
13347 * include/name-finder.h (lookup): new returns StackTraceElement*.
13348 (method_name, file_name): fields removed.
13349 (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
13350 (~_Jv_name_finder): close new descriptors.
13351 * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
13352 (createStackTraceElement): new method.
13353 (lookup): returns StackTraceElement*, uses createStackTraceElement().
13355 2002-07-10 Tom Tromey <tromey@redhat.com>
13357 * configure: Rebuilt.
13358 * configure.in: Use `test' after `&&'. From Chris Faylor.
13360 2002-07-08 Mark Wielaard <mark@klomp.org>
13362 * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
13363 java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
13364 java.sql.DatabaseMetaData.TestJdbc20
13366 2002-07-05 Tony Kimball <alk@pobox.com>
13368 * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
13370 2002-07-04 Tom Tromey <tromey@redhat.com>
13371 Jeff Sturm <jsturm@one-point.com>
13373 Fix for PR libgcj/7060:
13374 * java/lang/Class.h (_getMethod): Renamed from getMethod.
13375 * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
13376 Recurse into superinterfaces. Don't throw NoSuchMethodException.
13377 * java/lang/Class.java (getMethod): New Java implementation;
13378 complies with spec.
13379 (_getMethod): New native method.
13381 2002-07-02 Tom Tromey <tromey@redhat.com>
13382 David Hovemeyer <daveho@cs.umd.edu>
13384 * java/text/ChoiceFormat.java
13385 (format(double,StringBuffer,FieldPosition)): Fix fencepost error
13387 * java/text/MessageFormat.java
13388 (format(Object[],StringBuffer,FieldPosition): Pass all arguments
13391 2002-07-01 Tom Tromey <tromey@redhat.com>
13393 * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
13394 StringTokenizer on null string. For PR libgcj/7180.
13395 From daveho@cs.umd.edu.
13397 2002-06-24 Tom Tromey <tromey@redhat.com>
13399 * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
13400 (IntegerClass): Likewise.
13401 * java/lang/natClass.cc (CloneableClass): Removed.
13402 (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
13403 ConstructorClass): Likewise.
13404 * java/lang/natClassLoader.cc (CloneableClass): Removed.
13405 (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
13406 SerializableClass): Likewise.
13407 * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
13408 (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
13409 LongClass, FloatClass, DoubleClass): Likewise.
13411 * verify.cc (branch_prepass): Updated for change to exception
13413 (verify_instructions_0): Likewise.
13414 * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
13415 (handleExceptionTableEntry): Updated for change to exception
13417 * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
13418 * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
13419 (union _Jv_InterpPC): New.
13420 (class _Jv_InterpException): Changed types to _Jv_InterpPC.
13421 (class _Jv_InterpMethod): Added new `prepared' field.
13422 (class _Jv_InterpMethod): Added `compile' method. Removed
13423 `continue1' and `find_exception'. Changed arguments to `run'.
13424 * interpret.cc (union insn_slot): New.
13425 (find_exception): Removed.
13426 (run_normal): Removed most logic.
13427 (run_synch_object): Likewise; also, use JvSynchronize.
13428 (run_synch_class): Likewise.
13430 (continue1): Renamed as `run'. Compile bytecode if required.
13431 Add new code to allow refinement of direct-threaded code at
13432 runtime. Handle exceptions.
13433 (SAVE_PC): Removed.
13434 (compile): New method.
13435 (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
13436 (NULLARRAYCHECK): Don't use SAVE_PC.
13437 (pc_t): New typedef.
13438 (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
13439 SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
13441 2002-06-23 Tom Tromey <tromey@redhat.com>
13443 * configure: Rebuilt.
13444 * configure.in (INTERPRETER): New subst.
13445 (AM_RUNTESTFLAGS): Don't subst.
13447 * Makefile.in: Rebuilt.
13448 * Makefile.am ($(srcdir)/java/lang/Object.h,
13449 $(srcdir)/java/lang/Class.h): Added dummy targets.
13451 2002-06-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13453 Reformat JDBC classes and add new JDK 1.4 classes and methods.
13455 * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
13456 java/sql/Savepoint.java: New files.
13457 * java/sql/Array.java, java/sql/BatchUpdateException.java,
13458 java/sql/Blob.java, java/sql/CallableStatement.java,
13459 java/sql/Clob.java, java/sql/Connection.java,
13460 java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
13461 java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
13462 java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
13463 java/sql/Ref.java, java/sql/ResultSet.java,
13464 java/sql/ResultSetMetaData.java, java/sql/SQLData.java
13465 java/sql/SQLException.java, java/sql/SQLInput.java,
13466 java/sql/SQLOutput.java, java/sql/SQLWarning.java
13467 java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
13468 java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
13469 (JDK 1.4) specification.
13470 * javax/sql/ConnectionEvent.java,
13471 javax/sql/ConnectionEventListener.java,
13472 javax/sql/ConnectionPoolDataSource.java,
13473 javax/sql/DataSource.java, javax/sql/PooledConnection.java,
13474 javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
13475 javax/sql/RowSet.java, javax/sql/RowSetListener.java,
13476 javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
13477 javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
13478 javax/sql/XADataSource.java: New files.
13479 * Makefile.am: Add new files.
13480 * Makefile.in: Rebuilt.
13482 2002-06-20 Tom Tromey <tromey@redhat.com>
13484 For PR libgcj/7073:
13485 * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
13487 * defineclass.cc (handleClassBegin): Superclass for interface is
13490 2002-06-18 Tom Tromey <tromey@redhat.com>
13492 * gcj/javaprims.h: Updated class declaration list.
13493 * Makefile.in: Rebuilt.
13494 * Makefile.am (core_java_source_files): Removed
13495 BasicMapEntry.java.
13496 * java/util/BasicMapEntry.java: Removed.
13498 2002-06-18 Jeff Sturm <jsturm@one-point.com>
13500 * java/net/natPlainDatagramSocketImpl.cc (receive):
13501 Check bounds of argument to FD_SET.
13502 (setOption): Throw exception if socket is closed.
13504 * java/net/natPlainSocketImpl.cc (accept, read):
13505 Check bounds of argument to FD_SET.
13506 (setOption): Throw exception if socket is closed.
13508 2002-06-18 Tom Tromey <tromey@redhat.com>
13510 * gcj/javaprims.h: Updated class declaration list.
13511 * Makefile.in: Rebuilt.
13512 * Makefile.am (core_java_source_files): Added
13513 PropertyPermissionCollection.java.
13514 * java/lang/Thread.java (group, name): Now package-private.
13515 * java/lang/ThreadGroup.java: Re-merge with Classpath.
13516 * java/util/AbstractList.java: Likewise.
13517 * java/util/AbstractMap.java: Likewise.
13518 * java/util/Calendar.java: Likewise.
13519 * java/util/Collections.java: Likewise.
13520 * java/util/HashMap.java: Likewise.
13521 * java/util/Hashtable.java: Likewise.
13522 * java/util/LinkedHashMap.java: Likewise.
13523 * java/util/LinkedList.java: Likewise.
13524 * java/util/List.java: Likewise.
13525 * java/util/ListResourceBundle.java: Likewise.
13526 * java/util/Map.java: Likewise.
13527 * java/util/Observable.java: Likewise.
13528 * java/util/Properties.java: Likewise.
13529 * java/util/PropertyPermission.java: Likewise.
13530 * java/util/PropertyPermissionCollection.java: Likewise.
13531 * java/util/PropertyResourceBundle.java: Likewise.
13532 * java/util/Random.java: Likewise.
13533 * java/util/SimpleTimeZone.java: Likewise.
13534 * java/util/StringTokenizer.java: Likewise.
13535 * java/util/TimerTask.java: Likewise.
13536 * java/util/TreeMap.java: Likewise.
13537 * java/util/WeakHashMap.java: Likewise.
13538 * java/util/jar/Attributes.java: Likewise.
13539 * java/util/jar/JarException.java: Likewise.
13540 * java/util/jar/Manifest.java: Likewise.
13542 2002-06-17 Tom Tromey <tromey@redhat.com>
13544 * gcj/javaprims.h: Updated class declaration list.
13545 * Makefile.in: Rebuilt.
13546 * Makefile.am (core_java_source_files): Added new file.
13547 * java/util/EventListenerProxy.java: New file.
13548 * java/util/EventListener.java: Re-merge with Classpath.
13549 * java/util/EventObject.java: Re-merge with Classpath.
13551 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
13553 * java/lang/ClassNotFoundException.java: New Classpath version.
13555 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
13557 * java/rmi/activation/ActivateFailedException.java: Remerge from
13559 * java/rmi/activation/ActivationException.java: Ditto.
13560 * java/rmi/activation/UnknownGroupException.java: Ditto.
13561 * java/rmi/activation/UnknownObjectException.java: Ditto.
13562 * java/rmi/server/ExportException: Ditto.
13563 * java/rmi/server/ServerCloneException: Ditto.
13564 * java/rmi/server/ServerNotActiveException: Ditto.
13565 * java/rmi/server/SkeletonMismatchException: Ditto.
13566 * java/rmi/server/SkeletonNotFoundException: Ditto.
13567 * java/rmi/server/SocketSecurityException: Ditto.
13569 2002-06-16 Tom Tromey <tromey@redhat.com>
13571 * gcj/javaprims.h: Updated class declaration list.
13573 * java/io/LineNumberInputStream.java: Merged with Classpath.
13575 * java/lang/RuntimeException.java: Re-merge with Classpath.
13576 * java/util/ArrayList.java: Likewise.
13577 * java/util/Arrays.java: Likewise.
13578 * java/util/BitSet.java: Likewise.
13579 * java/util/Dictionary.java: Likewise.
13580 * java/util/IdentityHashMap.java: Likewise.
13581 * java/util/MissingResourceException.java: Likewise.
13582 * java/util/Observer.java: Likewise.
13583 * java/util/TooManyListenersException.java: Likewise.
13584 * java/util/zip/DataFormatException.java: Likewise.
13585 * java/util/zip/ZipException.java: Likewise.
13587 2002-06-16 Nathanael Nerode <neroden@twcny.rr.com>
13589 * java/rmi/AccessException.java: Remerge from Classpath.
13590 * java/rmi/AlreadyBoundException.java: Ditto.
13591 * java/rmi/ConnectException.java: Ditto.
13592 * java/rmi/ConnectIOException.java: Ditto.
13593 * java/rmi/MarshalException.java: Ditto.
13594 * java/rmi/NoSuchObjectException.java: Ditto.
13595 * java/rmi/NotBoundException.java: Ditto.
13596 * java/rmi/RemoteException.java: Ditto.
13597 * java/rmi/RMISecurityException.java: Ditto.
13598 * java/rmi/ServerError.java: Ditto.
13599 * java/rmi/ServerException.java: Ditto.
13600 * java/rmi/ServerRuntimeException.java: Ditto.
13601 * java/rmi/StubNotFoundException.java: Ditto.
13602 * java/rmi/UnexpectedExcpetion.java: Ditto.
13603 * java/rmi/UnknownHostException.java: Ditto.
13604 * java/rmi/UnmarshalException.java: Ditto.
13606 2002-06-15 Tom Tromey <tromey@redhat.com>
13608 * java/lang/AbstractMethodError.java: Re-merged with Classpath.
13609 * java/lang/ArithmeticException.java: Likewise.
13610 * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
13611 * java/lang/ArrayStoreException.java: Likewise.
13612 * java/lang/Byte.java: Likewise.
13613 * java/lang/CharSequence.java: Likewise.
13614 * java/lang/ClassCastException.java: Likewise.
13615 * java/lang/ClassCircularityError.java: Likewise.
13616 * java/lang/ClassFormatError.java: Likewise.
13617 * java/lang/CloneNotSupportedException.java: Likewise.
13618 * java/lang/Cloneable.java: Likewise.
13619 * java/lang/Comparable.java: Likewise.
13620 * java/lang/Compiler.java: Likewise.
13621 * java/lang/Error.java: Likewise.
13622 * java/lang/ExceptionInInitializerError.java: Likewise.
13623 * java/lang/IllegalAccessError.java: Likewise.
13624 * java/lang/IllegalAccessException.java: Likewise.
13625 * java/lang/IllegalArgumentException.java: Likewise.
13626 * java/lang/IllegalMonitorStateException.java: Likewise.
13627 * java/lang/IllegalStateException.java: Likewise.
13628 * java/lang/IllegalThreadStateException.java: Likewise.
13629 * java/lang/IncompatibleClassChangeError.java: Likewise.
13630 * java/lang/IndexOutOfBoundsException.java: Likewise.
13631 * java/lang/InheritableThreadLocal.java: Likewise.
13632 * java/lang/InstantiationError.java: Likewise.
13633 * java/lang/InstantiationException.java: Likewise.
13634 * java/lang/InternalError.java: Likewise.
13635 * java/lang/InterruptedException.java: Likewise.
13636 * java/lang/LinkageError.java: Likewise.
13637 * java/lang/NegativeArraySizeException.java: Likewise.
13638 * java/lang/NoClassDefFoundError.java: Likewise.
13639 * java/lang/NoSuchFieldError.java: Likewise.
13640 * java/lang/NoSuchFieldException.java: Likewise.
13641 * java/lang/NoSuchMethodError.java: Likewise.
13642 * java/lang/NoSuchMethodException.java: Likewise.
13643 * java/lang/NullPointerException.java: Likewise.
13644 * java/lang/NumberFormatException.java: Likewise.
13645 * java/lang/OutOfMemoryError.java: Likewise.
13646 * java/lang/Process.java: Likewise.
13647 * java/lang/Runnable.java: Likewise.
13648 * java/lang/RuntimePermission.java: Likewise.
13649 * java/lang/SecurityException.java: Likewise.
13650 * java/lang/Short.java: Likewise.
13651 * java/lang/StackOverflowError.java: Likewise.
13652 * java/lang/StringIndexOutOfBoundsException.java: Likewise.
13653 * java/lang/ThreadDeath.java: Likewise.
13654 * java/lang/ThreadLocal.java: Likewise.
13655 * java/lang/UnknownError.java: Likewise.
13656 * java/lang/UnsatisfiedLinkError.java: Likewise.
13657 * java/lang/UnsupportedClassVersionError.java: Likewise.
13658 * java/lang/UnsupportedOperationException.java: Likewise.
13659 * java/lang/VerifyError.java: Likewise.
13660 * java/lang/VirtualMachineError.java: Likewise.
13661 * java/lang/reflect/InvocationTargetException.java: Likewise.
13662 * java/net/BindException.java: Likewise.
13663 * java/net/ConnectException.java: Likewise.
13664 * java/net/MalformedURLException.java: Likewise.
13665 * java/net/NoRouteToHostException.java: Likewise.
13666 * java/net/ProtocolException.java: Likewise.
13667 * java/net/SocketException.java: Likewise.
13668 * java/net/UnknownHostException.java: Likewise.
13669 * java/net/UnknownServiceException.java: Likewise.
13671 * java/io/BufferedOutputStream.java: Re-merged with Classpath.
13672 * java/io/CharConversionException.java: Likewise.
13673 * java/io/EOFException.java: Likewise.
13674 * java/io/FileNotFoundException.java: Likewise.
13675 * java/io/IOException.java: Likewise.
13676 * java/io/InterruptedIOException.java: Likewise.
13677 * java/io/InvalidClassException.java: Likewise.
13678 * java/io/InvalidObjectException.java: Likewise.
13679 * java/io/NotActiveException.java: Likewise.
13680 * java/io/NotSerializableException.java: Likewise.
13681 * java/io/ObjectStreamException.java: Likewise.
13682 * java/io/ObjectStreamConstants.java: Likewise.
13683 * java/io/OptionalDataException.java: Likewise.
13684 * java/io/PipedInputStream.java: Likewise.
13685 * java/io/PushbackInputStream.java: Likewise.
13686 * java/io/StreamCorruptedException.java: Likewise.
13687 * java/io/SyncFailedException.java: Likewise.
13688 * java/io/UTFDataFormatException.java: Likewise.
13689 * java/io/UnsupportedEncodingException.java: Likewise.
13690 * java/io/WriteAbortedException.java: Likewise.
13692 2002-06-15 Nathanael Nerode <neroden@twcny.rr.com>
13694 * java/text/ChoiceFormat.java: Update comments from Classpath.
13695 * java/text/ParseException.java (serialVersionUID): New
13696 field from Classpath.
13697 * java/text/ParseException.java: Update formatting & comments
13700 2002-06-15 Tom Tromey <tromey@redhat.com>
13702 * java/util/zip/InflaterInputStream.java (read): Loop if data has
13703 been read but none output by inflater.
13704 * java/util/zip/natDeflater.cc (reset): Set is_finished.
13705 * java/util/zip/natInflater.cc (reset): Set dist_needed and
13707 * java/util/zip/ZipOutputStream.java: Replaced with Classpath
13709 * java/util/zip/ZipFile.java: Replaced with Classpath version.
13710 * java/util/zip/ZipEntry.java: Replaced with Classpath version.
13711 * java/util/zip/ZipInputStream.java: Replaced with Classpath
13713 * java/util/zip/ZipConstants.java: Replaced with Classpath version.
13715 2002-06-13 Tom Tromey <tromey@redhat.com>
13717 * java/lang/natString.cc (init): Handle case where DONT_COPY is
13718 true and OFFSET!=0.
13719 * java/lang/String.java (String(char[],int,int,boolean): New
13721 * java/lang/Long.java: Imported new version from Classpath.
13722 * java/lang/Number.java: Likewise.
13723 * java/lang/Integer.java: Likewise.
13724 * java/lang/Long.java: Likewise.
13725 * java/lang/Float.java: Likewise.
13726 * java/lang/Boolean.java: Likewise.
13727 * java/lang/Double.java: Likewise.
13728 * java/lang/Void.java: Likewise.
13730 2002-06-12 Tom Tromey <tromey@redhat.com>
13732 * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
13733 Fixes PR libgcj/6652.
13735 2002-06-10 Tom Tromey <tromey@redhat.com>
13737 * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
13738 (Class::getPackagePortion): Likewise.
13739 * java/lang/Class.java (desiredAssertionStatus): New method from
13741 (getPackagePortion): Likewise.
13742 * java/lang/VMClassLoader.java (defaultAssertionStatus,
13743 packageAssertionStatus, classAssertionStatus): New methods from
13745 * java/lang/ClassLoader.java (defaultAssertionStatus,
13746 systemPackageAssertionStatus, packageAssertionStatus,
13747 systemClassAssertionStatus, classAssertionStatus): New fields from
13749 (setDefaultAssertionStatus, setPackageAssertionStatus,
13750 setClassAssertionStatus, clearAssertionStatus): New methods from
13752 * Makefile.in: Rebuilt.
13753 * Makefile.am (core_java_source_files): Added AssertionError.java.
13754 * java/lang/AssertionError.java: New from Classpath.
13756 2002-06-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13758 * configure.host: Disable hash synchronization and slow_pthread_self
13761 2002-06-06 Adam Megacz <adam@xwt.org>
13763 * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
13764 locking, just like the Sun JVM does.
13766 2002-06-05 H.J. Lu (hjl@gnu.org)
13768 * Makefile.am (libgcj_convenience.la): Revert the last change.
13769 (libgcj.la): Likewise.
13770 * Makefile.in: Regenerated.
13772 2002-06-04 H.J. Lu (hjl@gnu.org)
13774 * Makefile.am (libgcj_convenience.la): New target.
13775 (libgcj.la): Depend on libgcj_convenience.la.
13776 * Makefile.in: Regenerated.
13778 2002-06-04 H.J. Lu (hjl@gnu.org)
13780 * configure.in (--with-newlib): New option:
13781 Check ${with_newlib} instead of ${with_cross_host} for newlib.
13782 (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
13784 * configure: Regenerated.
13786 2002-06-04 Tom Tromey <tromey@redhat.com>
13788 * java/util/natTimeZone.cc: Include <stdio.h>.
13790 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com>
13792 * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
13793 * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
13794 Set SIGNAL_HANDLER=include/s390-linux.h.
13795 * configure: Regenerate.
13796 * include/s390-linux.h: New file.
13798 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13800 * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
13803 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13805 Merge JDK 1.4 java.security changes from classpath.
13807 * java/security/AccessControlException.java: Merge from Classpath.
13808 * java/security/AccessController.java: Likewise.
13809 * java/security/AllPermission.java: Likewise.
13810 * java/security/BasicPermission.java: Likewise.
13811 * java/security/Certificate.java: Likewise.
13812 * java/security/CodeSource.java: Likewise.
13813 * java/security/DigestException.java: Likewise.
13814 * java/security/DigestOutputStream.java: Likewise.
13815 * java/security/DomainCombiner.java: Likewise.
13816 * java/security/GeneralSecurityException.java: Likewise.
13817 * java/security/Guard.java: Likewise.
13818 * java/security/GuardedObject.java: Likewise.
13819 * java/security/InvalidAlgorithmParameterException.java: Likewise.
13820 * java/security/InvalidKeyException.java: Likewise.
13821 * java/security/InvalidParameterException.java: Likewise.
13822 * java/security/Key.java: Likewise.
13823 * java/security/KeyException.java: Likewise.
13824 * java/security/KeyManagementException.java: Likewise.
13825 * java/security/KeyStoreException.java: Likewise.
13826 * java/security/MessageDigest.java: Likewise.
13827 * java/security/NoSuchAlgorithmException.java: Likewise.
13828 * java/security/NoSuchProviderException.java: Likewise.
13829 * java/security/Permission.java: Likewise.
13830 * java/security/PermissionCollection.java: Likewise.
13831 * java/security/Permissions.java: Likewise.
13832 * java/security/Policy.java: Likewise.
13833 * java/security/Principal.java: Likewise.
13834 * java/security/PrivateKey.java: Likewise.
13835 * java/security/PrivilegedAction.java: Likewise.
13836 * java/security/PrivilegedActionException.java: Likewise.
13837 * java/security/PrivilegedExceptionAction.java: Likewise.
13838 * java/security/ProtectionDomain.java: Likewise.
13839 * java/security/ProviderException.java: Likewise.
13840 * java/security/PublicKey.java: Likewise.
13841 * java/security/SecureClassLoader.java: Likewise.
13842 * java/security/SecurityPermission.java: Likewise.
13843 * java/security/SignatureException.java: Likewise.
13844 * java/security/UnrecoverableKeyException.java: Likewise.
13845 * java/security/UnresolvedPermission.java: Likewise.
13846 * java/security/acl/AclNotFoundException.java: Likewise.
13847 * java/security/acl/LastOwnerException.java: Likewise.
13848 * java/security/acl/NotOwnerException.java: Likewise.
13849 * java/security/cert/CRLException.java: Likewise.
13850 * java/security/cert/CertificateEncodingException.java: Likewise.
13851 * java/security/cert/CertificateException.java: Likewise.
13852 * java/security/cert/CertificateExpiredException.java: Likewise.
13853 * java/security/cert/CertificateFactory.java: Likewise.
13854 * java/security/cert/CertificateNotYetValidException.java: Likewise.
13855 * java/security/cert/CertificateParsingException.java: Likewise.
13856 * java/security/spec/InvalidKeySpecException.java: Likewise.
13857 * java/security/spec/InvalidParameterSpecException.java: Likewise.
13859 * java/security/cert/CertPath.java: New file.
13860 * java/security/cert/CertPathBuilderException.java: New file.
13861 * java/security/cert/CertPathValidatorException.java: New file.
13862 * java/security/cert/CertStoreException.java: New file.
13864 * Makefile.am: Add new CertPath classes.
13865 * Makefile.in: Rebuilt.
13867 * gnu/java/util/EmptyEnumeration.java: New file from classpath.
13869 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13871 Merge JDK 1.4 exception chaining support from classpath.
13873 * java/lang/Throwable.java: Merge 1.4 support from classpath.
13874 (stackTraceBytes): Rename from stackTrace.
13875 * java/lang/Exception.java: Merge from classpath.
13876 * java/lang/StackTraceElement: New file from classpath.
13877 * gcj/javaprims.h: Rebuild CNI namespace declarations.
13878 * Makefile.am: Add StackTraceElement.
13879 * Makefile.in: Rebuilt.
13881 2002-05-23 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13883 * Makefile.am (all-recursive): Depend on $all_java_class_files so that
13885 * Makefile.in: Rebuilt.
13887 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13889 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
13890 * configure.in: Likewise.
13891 * aclocal.m4: Regenerate.
13892 * configure: Regenerate.
13894 2002-05-13 Tom Tromey <tromey@redhat.com>
13896 * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
13897 * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
13898 Include platform.h.
13900 Fixes PR libgcj/6389:
13901 * Makefile.in: Rebuilt.
13902 * Makefile.am (nat_source_files): Added natTimeZone.cc.
13903 * java/util/natTimeZone.cc: New file.
13904 * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
13905 * java/lang/System.java: Merged with Classpath.
13906 * java/lang/Runtime.java: Merged with Classpath.
13907 * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
13909 (setIn0): Renamed from setIn; don't run security check.
13910 (setOut0): Renamed from setOut; don't run security check.
13911 (file_encoding, getpwuid_adaptor, getSystemTimeZone,
13912 init_properties): Moved to natRuntime.cc.
13913 Moved many includes to natRuntime.cc.
13914 (isWordsBigEndian): New method.
13915 * java/lang/natRuntime.cc: Include Long.h, also other includes
13916 previously in natSystem.cc.
13917 (maxMemory): New function.
13918 (exitInternal): Renamed from `_exit'.
13920 (init): Don't set finalize_on_exit.
13921 (exitInternal): Use `finalizeOnExit'.
13922 (file_encoding, getpwuid_adaptor): New functions from
13924 (insertSystemProperties): New method, renamed from
13925 System::init_properties. Don't set user.timezone.
13926 (_load): Don't call checkLink.
13927 (execInternal): New method.
13928 (availableProcessors): Likewise.
13929 (nativeGetLibname): Likewise.
13931 2002-05-11 Mark Wielaard <mark@klomp.org>
13933 * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
13935 (previous_internal): Likewise.
13937 2002-05-09 Tom Tromey <tromey@redhat.com>
13939 * jni.cc (_Jv_JNIFunctions): Fixed typo.
13941 * java/util/ResourceBundle.java: New version from Classpath.
13942 * java/util/Locale.java: Likewise.
13944 2002-05-09 Jakub Jelinek <jakub@redhat.com>
13946 * testsuite/lib/libjava.exp (libjava_arguments): Append all
13947 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
13950 2002-05-08 Mark Mitchell <mark@codesourcery.com>
13952 * libjava/Makefile.am (all_java_source_files): New variable.
13953 (all_java_class_files): Likewise.
13954 .java.class: New rule.
13955 (CLEANFILES): Remove tmp-list.
13956 * libjava/Makefile.in: Regenerated.
13958 2002-05-09 David.Billinghurst <David.Billinghurst@riotinto.com>
13960 * testsuite/lib/libjava.exp (test_libjava_from_javac):
13961 Append .exe to executable names. Fix for cygwin.
13963 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
13965 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
13966 script entry, and set LD to it when configuring multilibs.
13967 * configure: Rebuilt.
13969 2002-05-07 Tom Tromey <tromey@redhat.com>
13971 * java/lang/natString.cc (unintern): Fixed typo.
13973 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
13975 * testsuite/lib/libjava.exp (libjava_arguments): Don't link
13976 with -no-install on *-*-cygwin*.
13978 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
13980 * testsuite/lib/libjava.exp (test_libjava_from_source):
13981 Add comment explaining last patch
13983 2002-05-04 David Billinghurst <David.Billinghurst@riotinto.com>
13985 * testsuite/lib/libjava.exp (test_libjava_from_source):
13986 Append .exe to executable names. If no suffix is present,
13987 then ".exe" is added by default on win32. Harmless
13988 elsewhere so always do it.
13990 2002-05-03 David Billinghurst <David.Billinghurst@riotinto.com>
13991 Tom Tromey <tromey@redhat.com>
13993 * java/lang/natSystem.cc (getSystemTimeZone): Use
13994 HAVE_UNDERSCORE_TIMEZONE.
13995 * include/config.h.in: Rebuilt.
13996 * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
13997 * aclocal.m4, configure: Rebuilt.
13998 * acinclude.m4: Run AC_EXEEXT.
13999 * configure.in: Adjust test for `timezone' so it fails on Cygwin.
14000 Add test for `_timezone'.
14002 2002-05-03 Alexandre Oliva <aoliva@redhat.com>
14004 Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14005 * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
14006 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
14007 * Makefile.in: Rebuilt.
14009 2002-05-02 Hans Boehm <Hans_Boehm@hp.com>
14011 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
14012 use sigaction instead of __libc_sigaction.
14014 2002-05-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14016 * testsuite/lib/libjava.exp (libjava_find_spec): New function.
14017 (libjava_init): Use it to find libgcj.spec.
14018 (libjava_arguments): Likewise.
14020 2002-05-02 David S. Miller <davem@redhat.com>
14023 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
14024 __libc_sigaction on Sparc.
14026 2002-05-02 Jerome Marc <marcjero@yahoo.com>
14028 * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
14029 sys/filio.h, if present.
14031 2002-04-30 Tom Tromey <tromey@redhat.com>
14033 * java/io/BufferedReader.java (fill): Handle case where markPos
14034 point to ignored \n. Fixes PR libgcj/6301.
14036 2002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
14038 * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
14040 2002-04-29 Adam King <aking@dreammechanics.com>
14042 * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
14043 of file in APPEND mode.
14045 2002-04-25 David S. Miller <davem@redhat.com>
14048 * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
14049 program counter to next program counter minus 8. Update
14050 comments in this macro to explain why.
14052 2002-04-26 Tom Tromey <tromey@redhat.com>
14054 * verify.cc (construct_primitive_array_type) [void_type]: New
14056 (branch_prepass): Added dummy entries for unused instruction
14058 (verify_instructions_0): Likewise.
14059 * interpret.cc (continue1): Comment fix.
14060 * include/java-insns.h (op_xxxunusedxxx1): Removed.
14061 * Makefile.in: Rebuilt.
14062 * Makefile.am: Added -Wswitch-enum.
14064 2002-04-24 Tom Tromey <tromey@redhat.com>
14066 * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
14067 correct length of UTF-8 encoded name. Strip leading `/'.
14068 (_Jv_RegisterResource): Use _Jv_Malloc.
14070 2002-04-23 Adam Megacz <adam@xwt.org>
14072 * win32.cc, include/win32.cc (backtrace): Added this function
14073 because Win32 does not supply it.
14075 2002-04-21 David S. Miller <davem@redhat.com>
14077 * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
14078 magic instruction reading sequence.
14080 2002-04-21 Mark Wielaard <mark@klomp.org>
14082 * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
14084 2002-04-19 David S. Miller <davem@redhat.com>
14086 * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
14088 (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
14089 (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
14091 * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
14093 (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
14094 * sysdeps/sparc/locks.h: New file.
14095 * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
14096 on all sparc Solaris configurations. Set to
14097 include/dwarf2-signal.h on sparc Linux.
14098 * configure: Regenerate
14099 * configure.host (can_unwind_signal): sparc*-linux* can do it now.
14101 2002-04-19 Hans Boehm <Hans_Boehm@hp.com>
14103 * configure: Rebuilt.
14104 * configure.in (backtrace): Function doesn't work on IA-64.
14106 2002-04-17 Adam King <aking@dreammechanics.com>
14108 * java/io/File.java (normalizePath): Add Win32 support for auto
14109 conversion of a '/' path separator to Win32's '\' separator.
14111 2002-04-16 Tom Tromey <tromey@redhat.com>
14113 Fix for PR libgcj/6081:
14114 * Makefile.in: Rebuilt.
14115 * Makefile.am (install-data-local): Use GNU make trick to avoid
14118 2002-04-16 Adam King <aking@dreammechanics.com>
14119 Tom Tromey <tromey@redhat.com>
14121 * java/io/natFileWin32.cc (performList): Return the correct array
14122 type. Don't duplicate the creation of a File since it's already
14123 done earlier in the method and the existing code would cause a
14124 ArrayStoreException. Don't use fixed-size array.
14125 (_access, _stat, attr, getCanonicalPath, performMkdir,
14126 performRenameTo): Don't use fixed-size array.
14127 (getCanonicalPath): Use throw, not _Jv_Throw.
14129 2002-04-15 DJ Delorie <dj@redhat.com>
14131 * configure.in: Allow building in $srcdir.
14132 * configure: Regenerated.
14134 2002-04-14 Mark Wielaard <mark@klomp.org>
14136 * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
14137 * java/net/natSocketImpl.cc (close): Likewise.
14139 2002-04-14 Mark Wielaard <mark@klomp.org>
14141 * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
14143 2002-04-13 Adam King <aking@dreammechanics.com>
14145 * java/lang/natDouble.cc (parseDouble): Allow a number to end with
14146 the f/F/d/D modifiers.
14148 2002-04-12 Anthony Green <green@redhat.com>
14150 * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
14151 Create libgcj-@gcc_version@.jar instead of libgcj.jar.
14152 * Makefile.in: Rebuilt.
14153 * configure.in: Substitute gcc_version.
14154 * configure: Rebuilt.
14156 2002-04-11 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14158 * configure.host: Set can_unwind_signal on hosts which support it.
14159 Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
14160 * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
14161 exceptions and can_unwind_signal isn't set.
14162 * configure: Rebuilt.
14164 2002-04-11 Tom Tromey <tromey@redhat.com>
14166 * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
14168 2002-04-11 Adam King <aking@dreammechanics.com>
14169 Tom Tromey <tromey@redhat.com>
14171 * include/jvm.h (_Jv_ThrowBadArrayIndex,
14172 _Jv_ThrowNullPointerException): Mark as noreturn.
14173 * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
14174 and _Jv_free. Correctly invoke GetTempPath(). Indentation
14177 2002-04-10 Tom Tromey <tromey@redhat.com>
14179 * Makefile.in: Rebuilt.
14180 * Makefile.am (java/lang/Thread.h): Mark
14181 _Jv_AttachCurrentThreadAsDaemon as friend.
14182 * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
14183 * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
14184 * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
14186 * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
14187 * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
14188 (_Jv_JNI_InvokeFunctions): Added
14189 _Jv_JNI_AttachCurrentThreadAsDaemon.
14190 (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
14191 (JNI_GetDefaultJavaVMInitArgs): Likewise.
14192 (JNI_CreateJavaVM): Likewise.
14193 (_Jv_JNI_AttachCurrentThread): Likewise.
14194 (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
14195 (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
14196 (_Jv_JNIFunctions): Initialize new fields.
14197 (_Jv_JNI_NewDirectByteBuffer): New function.
14198 (_Jv_JNI_GetDirectBufferAddress): Likewise.
14199 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
14200 * include/jni.h (JNI_VERSION_1_4): New macro.
14201 (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
14202 (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
14203 (JNINativeInterface::NewDirectByteBuffer): New field.
14204 (JNINativeInterface::GetDirectBufferAddress): New field.
14205 (JNINativeInterface::GetDirectBufferCapacity): New field.
14206 (_Jv_JNIEnv::NewDirectByteBuffer): New method.
14207 (_Jv_JNIEnv::GetDirectBufferAddress): New method.
14208 (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
14210 2002-04-09 Tom Tromey <tromey@redhat.com>
14212 * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
14214 2002-04-08 Alberto Biancardi <alberto.biancardi@unipv.it>
14216 Fix for PR libgcj/6187:
14217 * java/awt/geom/Point2D.java (distance): Call distanceSq, not
14220 2002-04-07 Mark Wielaard <mark@klomp.org>
14222 * java/util/AbstractMap.java (putAll): Use entrySet size.
14223 (toString): Explicitly use getKey() and getValue().
14225 2002-04-07 Mark Wielaard <mark@klomp.org>
14227 * java/util/Hashtable.java (contains): Remove NullPointer check.
14228 (containsValue): Add NullPointer check.
14229 (remove): Always throw NullPointerException when key
14232 2002-04-07 Adam King <aking@dreammechanics.com>
14234 * java/lang/natSystem.cc (init_properties): Call new function
14235 _Jv_platform_initProperties.
14236 * win32.cc (_Jv_platform_initProperties): New function that adds Win32
14237 support for the System properties os.name, os.arch, os.version,
14238 user.name, user.home, and user.dir.
14239 * include/posix.h, include/win32.h, posix.cc: New function
14240 _Jv_platform_initProperties.
14242 2002-04-06 Mark Wielaard <mark@klomp.org>
14244 * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
14246 2002-04-06 Mark Wielaard <mark@klomp.org>
14248 * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
14249 all of the remaining elements.
14250 * java/util/Vector.java (addAll(int,Collection)): Likewise.
14251 (removeRange): If toIndex == fromIndex do
14252 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
14253 (removeAll): Always throw NullPointerException when collection is
14255 (retrainAll): Likewise.
14257 2002-04-05 Mark Wielaard <mark@klomp.org>
14259 * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
14260 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
14262 2002-04-05 Adam Megacz <adam@xwt.org>
14264 * exception.cc (abort): added static modifier
14266 2002-04-04 Adam Megacz <adam@xwt.org>
14268 * include/win32.h (_Jv_platform_close_on_exec): added inline
14271 2002-04-04 Loren J. Rittle <ljrittle@acm.org>
14273 * configure.host: Add case statement to support generic port
14274 properties. Add *-*-freebsd* section.
14276 2002-04-04 Mark Wielaard <mark@klomp.org>
14278 * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
14280 * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
14281 FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
14282 that depend on awt code and BufferedByteOutputStream.interrupt.
14284 2002-04-04 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14286 * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
14287 incorrect "hi" value when count > 40.
14289 2002-04-03 Mark Wielaard <mark@klomp.org>
14291 * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
14294 2002-04-02 Tom Tromey <tromey@redhat.com>
14296 * java/lang/natClassLoader.cc (findClass): Compare against `3',
14299 2002-04-02 Mark Wielaard <mark@klomp.org>
14301 * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
14302 list of testsuite crashers.
14304 2002-04-02 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14306 * java/util/IdentityHashMap.java (put): Set new threshold correctly
14307 when resizing table.
14309 2002-04-01 Mark Wielaard <mark@klomp.org>
14311 * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
14312 NegativeArraySizeException
14313 (clear(int)): Use sign extended shift.
14314 (flip(int)): Likewise.
14315 (get(int)): Likewise.
14316 (nextClearBit(int)): Likewise.
14317 (nextSetBit(int)): Likewise.
14318 (set(int)): Likewise.
14320 2002-04-01 Mark Wielaard <mark@klomp.org>
14322 * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
14323 that can be compiled now and add testsuite crashers to ignore list.
14325 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
14327 * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
14329 * libgcj.spec.in: Override libgcc, not lib.
14330 * libgcj-test.spec.in: Likewise.
14332 2002-03-29 Tom Tromey <tromey@redhat.com>
14334 * java/net/natPlainDatagramSocketImpl.cc (close): New function.
14335 * java/net/natPlainSocketImpl.cc (close): Indentation fix.
14337 2002-03-27 Jeff Sturm <jsturm@one-point.com>
14339 * java/net/PlainDatagramSocketImpl.java
14340 (close): Use native implementation.
14341 (finalize): New method.
14343 * java/net/PlainSocketImpl.java (finalize): New method.
14345 * java/net/natPlainDatagramSocketImpl.cc
14346 (java/io/FileDescriptor.h): Don't include.
14347 (close): Implement method here.
14348 (create): Don't assign fd.
14350 * java/net/natPlainSocketImpl.cc
14351 (java/io/FileDescriptor.h): Don't include.
14352 (create): Don't assign fd.
14353 (accept): Likewise.
14354 (close): Synchronize.
14356 2002-03-27 Richard Henderson <rth@redhat.com>
14358 * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
14360 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
14362 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
14363 (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
14364 instead of syscall on IA-64.
14367 2002-03-27 Anthony Green <green@redhat.com>
14369 * libgcj.spec.in: Add CHECKREFSPEC.
14370 * configure.in: Ditto.
14371 * configure.host: Ditto. Check references for xscale-elf.
14372 * configure: Rebuilt.
14374 2002-03-26 Hans Boehm <Hans_Boehm@hp.com>
14376 * include/dwarf2-signal.h: Temporarily back out last change.
14378 2002-03-26 Loren J. Rittle <ljrittle@acm.org>
14380 * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
14382 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
14384 * configure.in, configure: enable dwarf2-exception-style
14385 exception handling on IA-64.
14386 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
14387 (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
14390 2002-03-25 Tom Tromey <tromey@redhat.com>
14392 * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
14393 (jv_convert_LDFLAGS): Likewise.
14394 (gij_LDFLAGS): Likewise.
14395 (rmic_LDFLAGS): Likewise.
14396 (rmiregistry_LDFLAGS): Likewise.
14397 * configure.in (THREADLDFLAGS): New subst; set correctly for
14400 2002-03-25 Tom Tromey <tromey@redhat.com>
14402 For PR libgcj/5303:
14403 * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
14405 (help): New method.
14406 (version): Likewise.
14407 * gnu/gcj/convert/Convert.java (version): Removed extraneous
14409 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
14412 2002-03-25 Tom Tromey <tromey@redhat.com>
14414 * java/awt/Component.java (processEvent): Check ComponentEvent
14417 2002-03-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14419 * java/io/PushbackReader.java: Reformat.
14421 * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
14422 calculate correct number of bytes skipped.
14424 Based on patch from Intel's ORP team:
14425 * java/io/PushbackInputStream.java (available): Calculate correct
14426 number of bytes in buffer.
14427 (read): Remove redundant bound check. Return bytes from both the
14428 buffer and the stream.
14430 2002-03-24 Tom Tromey <tromey@redhat.com>
14432 * java/awt/TextComponent.java (TextComponent): Editable by
14435 * java/awt/MenuItem.java (eventMask): No longer private.
14436 * java/awt/Button.java (dispatchEventImpl): Only dispatch to
14437 superclass if we didn't handle event.
14438 * java/awt/Checkbox.java (dispatchEventImpl): New method.
14439 * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
14440 * java/awt/Choice.java (dispatchEventImpl): New method.
14441 * java/awt/List.java (dispatchEventImpl): New method.
14442 * java/awt/Scrollbar.java (dispatchEventImpl): New method.
14443 * java/awt/TextComponent.java (dispatchEventImpl): New method.
14444 * java/awt/TextField.java (dispatchEventImpl): New method.
14446 2002-03-24 Eric Blake <ebb9@email.byu.edu>
14448 * java/beans/IntrospectionException.java: Update to 1.4.
14449 * java/beans/PropertyVetoException.java: Ditto.
14451 2002-03-24 Eric Blake <ebb9@email.byu.edu>
14453 * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
14454 Arrays.equals instead of ArrayHelper.equalsArray.
14456 2002-03-24 C. Brian Jones <cbj@gnu.org>
14458 * java/beans/Introspector.java: added new static final fields
14459 introduced in 1.2, lots of other updates remain to be done
14461 2002-03-24 C. Brian Jones <cbj@gnu.org>
14463 * java/beans/Introspector.java: reformatting
14465 2002-03-24 C. Brian Jones <cbj@gnu.org>
14467 * java/beans/Introspector.java: default beanInfoSearchPath will
14468 not include sun.beans.infos given we provide no such package and
14469 the API doesn't really require it; gnu.java.beans.info is the
14472 2002-03-24 Mark Wielaard <mark@klomp.org>
14474 Thanks to Orp developers
14475 * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
14476 switch TRUE and FALSE return values.
14478 2002-03-23 Tom Tromey <tromey@redhat.com>
14480 * include/name-finder.h (_Jv_name_finder::myclose): New method.
14481 * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
14483 2002-03-23 Michael Smith <msmith@spinnakernet.com>
14485 * java/util/GregorianCalendar.java (minimums, maximums): Correct
14486 MONTH entry. Fixes PR libgcj/6045.
14488 2002-03-23 Jeff Sturm <jsturm@one-point.com>
14490 * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
14492 2002-03-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14494 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
14496 * sysdep/powerpc/locks.h (write_barrier): New function.
14497 * sysdep/i386/locks.h (write_barrier): New function.
14499 2002-03-19 Martin Kahlert <martin.kahlert@infineon.com>
14501 * include/jni.h Use correct C comments.
14503 2002-03-18 Tom Tromey <tromey@redhat.com>
14505 * include/jni.h (JNIIMPORT): New macro.
14506 (JNIEXPORT): Likewise.
14507 (JNICALL): Likewise.
14509 2002-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14511 * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
14514 2002-03-18 Andrew Haley <aph@cambridge.redhat.com>
14516 * include/i386-signal.h (old_i386_kernel_sigaction): New.
14517 INIT_SEGV: Use old_i386_kernel_sigaction.
14520 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14522 * java/lang/natSystem.cc (init_properties): Update VM version
14524 * configure.in: Set GCJVERSION.
14525 * acconfig.h: Add GCJVERSION.
14526 * configure: Rebuilt.
14527 * include/config.h.in: Rebuilt.
14529 2002-03-17 Anthony Green <green@redhat.com>
14531 * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
14533 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14535 Build a single libgcj.so, without separate gc and zlib libraries.
14536 * configure.in: Use convenience libraries for boehm-gc and zlib. Set
14537 SYS_ZLIBS if system zlib is used.
14538 * configure: Rebuilt.
14539 * Makefile.am: Use boehm-gc and zlib convenience libraries.
14540 * Makefile.in: Rebuilt.
14541 * libtool-version: Increment .so version number.
14543 * Makefile.am: Escape quotes in echo.
14544 * Makefile.in: Rebuilt.
14546 2002-03-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14548 * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
14549 * Makefile.in: Rebuilt.
14551 2002-03-15 Anthony Green <green@redhat.com>
14553 * configure.host (FILE): New macro for specifing File
14555 * configure: Rebuilt.
14556 * configure.in: Use FILE. Define HAVE_TIME for newlib targets.
14558 2002-03-15 Alexandre Oliva <aoliva@redhat.com>
14560 * Makefile.am (jv_convert_LDADD): Don't list libraries that are
14561 already implicitly brought in from libgcj.la.
14562 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
14563 * Makefile.in: Rebuilt.
14565 2002-03-15 Eric Blake <ebb9@email.byu.edu>
14567 * THANKS: Fix punctuation, alphabetization.
14569 2002-03-15 Tom Tromey <tromey@redhat.com>
14570 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14572 Fix for PR libgcj/5944.
14573 * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
14575 2002-03-15 Anthony Green <green@redhat.com>
14577 * configure.in (tool_include_dir): Define.
14578 * configure: Rebuilt.
14579 * gcj/Makefile.am: Install libgcj-config.h relative to
14581 * gcj/Makefile: Rebuilt.
14582 * gcj/libgcj-config.h: Add warning comment.
14584 2002-03-12 Andreas Tobler <a.tobler@schweiz.ch>
14586 * configure.host (powerpc*-darwin*): Enable interpreter.
14588 2002-03-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14590 * include/posix.h: Add multiple include header protection.
14591 * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
14593 2002-03-10 Adam Megacz <adam@xwt.org>
14595 * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
14597 2002-03-10 Tom Tromey <tromey@redhat.com>
14599 * java/awt/GridLayout.java (layoutContainer): Handle case where
14600 there are no items in container.
14602 * java/lang/Win32Process.java: Added comment.
14603 * include/posix.h (_Jv_platform_close_on_exec): New function.
14605 * include/win32.h (_Jv_platform_close_on_exec): New function.
14606 * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
14608 (accept): Likewise.
14609 * java/net/natPlainDatagramSocketImpl.cc (create): Set
14610 close-on-exec flag.
14611 * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
14614 2002-03-09 Tom Tromey <tromey@redhat.com>
14616 * verify.cc (state::NO_STACK): New constant.
14617 (state::is_unmerged_ret_state): Handle case where stacktop is
14619 (state::merge): Handle NO_STACK merges.
14620 (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
14621 for instruction following jsr.
14622 (stacktop, stackdepth): Removed unused variables.
14623 (pop_jump): Ignore case where all remaining states are skipped.
14625 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14627 * java/awt/ImageMediaEntry: Removed.
14628 * java/awt/MediaEntry: Removed.
14630 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14632 Hashtable synchronization for PowerPC.
14633 * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
14634 slow_pthread_self. Set up symlink for sysdeps directory.
14635 * configure: Rebuild.
14636 * configure.host: Document more shell variables. Set sysdeps_dir
14637 for most platforms. Set slow_pthread_self for i686. Set
14638 enable_hash_synchronization_default and slow_pthread_self for PowerPC.
14639 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
14640 that memory barrier is emitted where required.
14641 * prims.cc: 64-bit align static primitive class instances.
14642 * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
14643 read_barrier() to enforce ordering of reads.
14644 * sysdep/powerpc/locks.h: New file. Implementation of synchronization
14645 primitives for PowerPC.
14646 * sysdep/i386/locks.h: New file. Synchronization primitives for i386
14647 moved from natObject.cc.
14648 * sysdep/alpha/locks.h: Likewise.
14649 * sysdep/ia64/locks.h: Likewise.
14650 * sysdep/generic/locks.h: Likewise.
14651 * java/lang/natObject.cc: Move thread synchronization primitives to
14652 system-dependent headers.
14654 2002-03-09 Adam Megacz <adam@xwt.org>
14656 * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
14657 bytes read and no failure code returned.
14659 2002-03-09 Adam Megacz <adam@xwt.org>
14661 * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
14662 definitions to simulate -mthreads.
14664 2002-03-09 Adam Megacz <adam@xwt.org>
14666 * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
14667 avoid precision loss.
14669 2002-03-09 Per Bothner <per@bothner.com>
14671 * gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.
14672 * gnu/gcj/xlib/XImage.java: Likewise.
14673 * gnu/gcj/xlib/XColor.java: Likewise.
14675 2002-03-09 Adam Megacz <adam@xwt.org>
14677 * java/lang/Win32Process.java (ConcreteProcess): Now throws an
14678 IOException so that Throwable.printStackTrace fails correctly.
14680 2002-03-08 Adam Megacz <adam@xwt.org>
14682 * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
14685 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14687 * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
14690 2002-03-08 Tom Tromey <tromey@redhat.com>
14692 * include/jni.h: Include stdio.h.
14694 2002-03-08 Tom Tromey <tromey@redhat.com>
14696 * posix.cc (internal_gettimeofday): New function.
14697 (_Jv_select): Use it.
14699 2002-03-07 Adam Megacz <adam@xwt.org>
14701 * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
14702 WIN32, and added thunks for read(), write(), and close().
14703 * java/net/natPlainSocketImpl.cc (accept, read, read):
14704 Disabled timeouts on WIN32 pending discussion.
14706 2002-03-07 Adam Megacz <adam@xwt.org>
14708 * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
14709 returns jlong. Added implementation
14710 * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
14712 * win32.h (_Jv_platform_gettimeofday): Now takes no args,
14714 * posix.h (_Jv_platform_gettimeofday): Now takes no args,
14716 * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
14717 _Jv_platform_gettimeofday signature.
14719 2002-03-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14721 * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
14722 (read): Call recv() directly, not _Jv_recv().
14724 2002-03-06 Tom Tromey <tromey@redhat.com>
14726 * java/io/natFileDescriptorEcos.cc (init): Don't use
14728 * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
14730 (init): Don't use GetStdHandle.
14732 * include/config.h.in: Rebuilt.
14733 * configure: Rebuilt.
14734 * Makefile.in: Rebuilt.
14736 2002-03-06 Adam Megacz <adam@xwt.org>
14738 * java/io/FileDescriptor.java: Initialize in/out/err in init().
14739 * java/io/natFileDescriptorWin32.cc (init()): Added function.
14740 * java/io/natFileDescriptorPosix.cc (init()): Added function.
14741 * java/io/natFileDescriptorEcos.cc (init()): Added function.
14743 2002-03-06 Eric Blake <ebb9@email.byu.edu>
14745 * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
14746 the code for generating include/java-chartables.h.
14747 * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
14748 merge with Classpath.
14749 * scripts/unicode-muncher.pl: Copy from Classpath.
14750 * scritps/MakeCharTables.java: New file.
14751 * gnu/gcj/convert/Blocks-3.txt: New file.
14752 * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
14753 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
14754 * gnu/java/lang/CharData.java: Copy from Classpath.
14755 * Makefile.am (ordinary_java_source_files): Add
14756 gnu/java/lang/CharData.java.
14757 * configure.in: Remove --enable-fast-character option.
14758 * java/lang/Character.java: Merge algorithms and Javadoc with
14760 * java/lang/natCharacter.cc: Implement Unicode lookup table more
14762 * include/java-chardecomp.h: Regenerate.
14763 * include/java-chartables.h: Regenerate.
14765 2002-03-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14767 * java/awt/MediaTracker.java: Implemented.
14768 * Makefile.am: Add MediaTracker.
14769 * Makefile.in: Rebuilt.
14771 2002-03-05 Tom Tromey <tromey@redhat.com>
14773 * java/lang/natPosixProcess.cc (fail): Removed.
14774 (startProcess): Simplified error-handling. Preserve
14775 LD_LIBRARY_PATH across exec.
14777 * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
14778 AbstractMethodError.
14780 2002-03-03 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14782 * Makefile.am: Use -bootclasspath, not -CLASSPATH.
14783 * Makefile.in: Rebuilt.
14785 2002-03-03 Mark Wielaard <mark@klomp.org>
14787 * java/util/Timer (TaskQueue.stop): set elements to zero.
14789 2002-02-28 Anthony Green <green@redhat.com>
14791 * java/lang/reflect/natMethod.cc (result): Add void* element.
14792 (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments. Move
14795 2002-02-27 Adam Megacz <adam@xwt.org>
14797 * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
14800 2002-02-26 Tom Tromey <tromey@redhat.com>
14802 * java/lang/natSystem.cc (init_properties): Use __VERSION__.
14803 * gij.cc (version): Use __VERSION__.
14804 * include/config.h.in: Rebuilt.
14805 * acconfig.h (GCJVERSION): Removed.
14806 * configure: Rebuilt.
14807 * configure.in (GCJVERSION): Removed.
14809 2002-02-26 Andreas Schwab <schwab@suse.de>
14811 * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
14812 glibcpp_CXX, since libjava uses even another CXX.
14813 * aclocal.m4, configure: Regenerated.
14815 2002-02-26 Tom Tromey <tromey@redhat.com>
14817 * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
14820 2002-02-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14822 * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
14823 dependency tracking for .java files.
14824 * Makefile.in: Rebuilt.
14826 2002-02-24 Adam Megacz <adam@xwt.org>
14828 * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
14831 2002-02-24 Adam Megacz <adam@xwt.org>
14833 * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
14834 for Win32, changed #ifdefs to check WIN32 instead of the
14835 (now-obsolete) USE_WINSOCK, and removed support for socket
14836 timeouts on Win32 pending further discussion.
14838 2002-02-24 Adam Megacz <adam@xwt.org>
14840 * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
14841 * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
14844 2002-02-24 Adam Megacz <adam@xwt.org>
14846 * java/lang/Win32Process.java: Created a dummy class to allow
14847 build process to run to completion.
14849 2002-02-24 Jeff Sturm <jsturm@one-point.com>
14851 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
14852 Define ffi_result union for ffi_call result. Cast
14853 ffi_result members to jvalue.
14855 2002-02-23 Alexandre Oliva <aoliva@redhat.com>
14857 * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
14858 * testsuite/Makefile.in: Likewise.
14860 2002-02-20 Per Bothner <per@bothner.com>
14862 * java/net/URL.java (getPath): New JDK 1.3 method.
14864 * java/net/URLStreamHandler.java (parseURL):
14865 It is wrong to prepend '/' to the file part of a relative url.
14867 * java/net/URLStreamHandler.java (parseURL):
14868 Minor optizations - append '/' rather than "/".
14870 * java/net/URLStreamHandler.java (parseURL):
14871 Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
14872 We probably should canonicalize for a context-relative url, though.
14873 * java/net/URL.java (sameFile): Delegate to URLStreamHandler.
14874 * java/net/URLStreamHandler.java (canonicalizeFilename): New helper.
14875 (sameFile): New method. Uses canonicalizeFilename.
14877 2002-02-22 Tom Tromey <tromey@redhat.com>
14879 * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
14880 java.vendor and java.vm.vendor.
14881 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
14882 recent copyright date.
14883 * gnu/gcj/convert/Convert.java (version): Print `Inc'.
14884 * gij.cc (version): Print `Inc'.
14886 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
14888 * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
14889 * aclocal.m4, configure: Rebuilt.
14891 2002-02-20 Per Bothner <per@bothner.com>
14893 * gnu/gcj/protocol/file/Connection.java (conect): Open the input
14894 and/or output streams immediately here, instead of using File.exists.
14895 (inputStream, outputStream): New fields to save open streams.
14896 (getInputStream, getOutputStream): Use already-opened streams.
14898 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
14900 * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
14902 * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
14903 * aclocal.m4, configure, Makefile.in: Rebuilt.
14905 2002-02-19 Tom Tromey <tromey@redhat.com>
14907 Fix for PR libgcj/5696:
14908 * verify.cc (is_assignable_from_slow): Never call
14909 _Jv_IsAssignableFrom.
14910 (verify_instructions_0): Added new debug statement.
14911 (state::print): Print information about whether local has
14913 (state::merge): Don't call note_variable when merging locals.
14914 (state::set_exception): Removed old FIXME comment.
14916 2002-02-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14918 * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
14919 enable SO_BROADCAST.
14921 2002-02-18 Jason Merrill <jason@redhat.com>
14923 * name-finder.cc (toHex): Use word mode, not long long.
14925 * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
14927 2002-02-15 Tom Tromey <tromey@redhat.com>
14929 Fix for PR libgcj/5695:
14930 * verify.cc (is_assignable_from_slow): Check to see if target is
14931 an Object before checking to see if source is an interface.
14932 (verify_instructions_0) [op_invokeinterface]: Handle case where
14933 we're making an interface call on Object.
14935 2002-02-15 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
14937 * Makefile.in: Rebuilt with Eric's change below.
14939 * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
14940 round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
14941 Removed functions which are now implemented in Math.java.
14943 2002-02-14 Eric Blake <ebb9@email.byu.edu>
14945 * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
14946 * Makefile.am (core_java_source_files): Add
14947 java/lang/StrictMath.java.
14948 * java/lang/Math.java: Merge with Classpath.
14949 * java/lang/StrictMath.java: New file - merge with Classpath.
14951 2002-02-14 Mark Wielaard <mark@klomp.org>
14953 * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
14954 package as a workaround for gcj 3.0.x
14956 2002-02-14 Mark Wielaard <mark@klomp.org>
14958 * java/security/BasicPermission.java: extends with fully qualified
14959 classname as workaround for gcj 3.0.4.
14961 2002-02-14 Eric Blake <ebb9@email.byu.edu>
14963 * java/net/DatagramSocketImpl.java (setOption, getOption): Work
14964 around gcj bug of wrong emitted qualifier for inherited method.
14965 * java/net/SocketImpl.java (setOption, getOption): Ditto.
14966 * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
14967 constructor to reduce amount of emitted bytecode. While this
14968 happens to work around a jikes 1.15 bug, it is still a useful
14969 patch even for correct compilers.
14970 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
14971 * gnu/java/rmi/server/UnicastRemoteCall.java
14972 (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
14974 2002-02-14 Eric Blake <ebb9@email.byu.edu>
14976 * java/net/DatagramSocketImpl.java: Reformat (no code changes).
14977 * java/net/SocketImpl.java: Ditto.
14978 * java/rmi/server/RMIClassLoader.java: Ditto.
14979 * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
14981 2002-02-14 Mark Wielaard <mark@klomp.org>
14983 Thanks to Takashi Okamoto
14984 * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
14985 * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
14986 * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
14988 2002-02-13 Todd Stock <toddastock@yahoo.com>
14990 Fix for PR libgcj/5670:
14991 * verify.cc (is_assignable_from_slow): If `source' is interface,
14992 recursively look for merge with `target'.
14994 2002-02-14 Martin Kahlert <martin.kahlert@infineon.com>
14996 * include/jni.h: Fix typo.
14998 2002-02-13 Martin Kahlert <martin.kahlert@infineon.com>
15000 * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
15003 2002-02-13 Todd Stock <toddastock@yahoo.com>
15005 Fix for PR libgcj/5671:
15006 * verify.cc (state::merge): Handle case where we're merging
15007 against an interface.
15009 2002-02-12 Tom Tromey <tromey@redhat.com>
15011 * exception.cc (std::abort): Mark as noreturn.
15013 2002-02-12 Adam Megacz <adam@xwt.org>
15015 * java/lang/Win32Process.java: Filled in a placeholder
15016 implementation so Win32 will build.
15018 2002-02-12 Adam Megacz <adam@xwt.org>
15020 * java/io/natFilePosix.cc: Copied this from natFile.cc.
15021 * java/io/natFile.cc: Removed from repository.
15022 * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
15024 2002-02-12 Adam Megacz <adam@xwt.org>
15026 * win32.cc: Added two #includes to make win32.cc compile.
15028 2002-02-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15030 * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
15032 (_Jv_InitGC): Don't bother locking, as this is always called from a
15033 single-thread. Turn off GC_all_interior_pointers. Remove dead code.
15035 2002-02-11 Adam Megacz <adam@xwt.org>
15037 * include/win32.h: Added _Jv_platform_gettimeofday.
15038 * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
15040 2002-02-11 Adam Megacz <adam@xwt.org>
15042 * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
15043 Added #undef STRICT to make windows.h and
15044 java/lang/reflect/Modifier.h cooperate.
15046 2002-02-11 Adam Megacz <adam@xwt.org>
15048 * java/io/natFileWin32.cc: Created a placeholder class with lots
15051 2002-02-11 Adam Megacz <adam@xwt.org>
15053 * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
15054 std::abort() to simply abort(). Also added "fake" std::abort() so
15055 we can #include unwind-pe.h without having to link against
15058 2002-02-10 Andreas Tobler <toa@pop.agri.ch>
15060 * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
15062 2002-02-08 Tom Tromey <tromey@redhat.com>
15064 * interpret.cc (convert): New function.
15065 (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
15069 2002-02-08 Anthony Green <green@redhat.com>
15071 * configure.host: Add support for xscale-elf embedded target.
15073 2002-02-08 Martin Kahlert <martin.kahlert@infineon.com>
15075 * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
15077 (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
15080 2002-02-07 Tom Tromey <tromey@redhat.com>
15082 * java/io/natFile.cc (_access): Use __builtin_alloca.
15085 (getCanonicalPath): Likewise.
15086 (performList): Likewise.
15087 (performMkdir): Likewise.
15088 (performSetReadOnly): Likewise.
15089 (performRenameTo): Likewise.
15090 (performSetLastModified): Likewise.
15091 (performCreate): Likewise.
15092 (performDelete): Likewise.
15094 2002-02-08 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15096 * HACKING: Fix URL for the automake-gcj.
15098 2002-02-07 Tom Tromey <tromey@redhat.com>
15100 * java/lang/natThrowable.cc: Updated copyright.
15101 * java/io/natFileWin32.cc: Updated copyright.
15102 * java/io/natFileDescriptorWin32.cc: Updated copyright.
15103 * win32-threads.cc: Updated copyright.
15104 * name-finder.cc: Updated copyright.
15105 * include/name-finder.h: Updated copyright.
15107 * include/name-finder.h: Conditionally include sys/wait.h.
15108 * include/config.h.in: Rebuilt.
15110 * java/io/natFile.cc (_access): Don't stack-allocate buffer.
15111 Size buffer based on real size of string.
15114 (getCanonicalPath): Likewise.
15115 (performList): Likewise.
15116 (performMkdir): Likewise.
15117 (performSetReadOnly): Likewise.
15118 (unixroot): Removed.
15119 (performRenameTo): Likewise.
15120 (performSetLastModified): Likewise.
15121 (performCreate): Likewise.
15122 (performDelete): Likewise.
15123 (performListRoots): Always return new array.
15125 * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
15126 * win32.cc (win32_exception_handler): Now static.
15127 * include/win32.h (_Jv_platform_initialize): Declare.
15128 (win32_exception_handler): Don't declare.
15129 * java/lang/natSystem.cc (currentTimeMillis): Use
15130 _Jv_platform_gettimeofday.
15131 * posix.cc (_Jv_platform_gettimeofday): Renamed.
15132 (_Jv_select): Use new name.
15133 (_Jv_platform_initialize): New function.
15134 * include/posix.h (_Jv_platform_gettimeofday): Renamed from
15136 (_Jv_platform_initialize): Declare.
15138 * configure: Rebuilt.
15139 * configure.in: Removed unnecessary parens.
15141 2002-02-06 Adam Megacz <adam@xwt.org>
15143 * configure.in: Changed mingw) to *mingw*).
15144 * win32.cc: Created this file.
15145 * win32.h: Created this file.
15146 * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
15147 win32_exception_handler from prims.cc to win32.cc, added
15149 * prims.cc: removed some #ifdef-WIN32'd headers which are no
15150 longer needed now that we have platform.h
15152 2002-02-06 Adam Megacz <adam@xwt.org>
15154 * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
15155 use uint<n>_t instead of LONG and BYTE
15157 2002-02-06 Adam Megacz <adam@xwt.org>
15159 * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
15161 2002-02-06 Anthony Green <green@redhat.com>
15163 * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
15164 Implement missing method stubs.
15165 java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
15167 * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
15168 concept of timezones.
15169 (init_properties): Don't refer to _Jv_Environment_Properties
15170 when this feature is not available.
15171 * include/config.h.in: Rebuilt.
15172 * acconfig.h: Add DISABLE_MAIN_ARGS.
15173 * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
15174 * configure: Rebuilt.
15175 * configure.in: Add --disable-main-args option. Test for
15176 opendir function. Replace AC_CHECK_SIZEOF with
15177 AC_COMPILE_CHECK_SIZEOF.
15178 * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
15179 * aclocal.m4: Rebuilt.
15180 * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
15182 2002-02-06 Tom Tromey <tromey@redhat.com>
15184 * verify.cc (require_array_type): If argument is a null array of
15185 references, return null as the element type.
15187 2002-02-06 Mark Wielaard <mark@klomp.org>
15189 * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
15190 duplicate of a wide type.
15192 2002-02-06 Tom Tromey <tromey@redhat.com>
15194 * verify.cc (type::isnull): New method.
15195 (require_array_type): Handle case where array is null.
15196 (verify_instructions_0) [op_arraylength]: Likewise.
15198 2002-02-05 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15200 * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
15201 Symlink PLATFORMH to platform.h.
15202 * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
15204 * java/lang/natSystem.cc: #include platform.h not posix.h.
15205 * Makefile.in: Rebuilt with libgcj automake.
15206 * configure: Rebuilt.
15208 2002-02-05 Richard Henderson <rth@redhat.com>
15210 * Makefile.in: Undo munging last change.
15212 2002-02-04 Adam Megacz <adam@xwt.org>
15214 * win32.cc: Created it.
15215 * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
15216 which is set to posix.cc or win32.cc.
15217 * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
15219 2002-02-04 Adam Megacz <adam@xwt.org>
15221 * configure.in: Corrected mingw case branches; added * before
15224 2002-02-04 Adam Megacz <adam@xwt.org>
15226 * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
15227 if compiling for win32
15229 2002-02-04 Adam Megacz <adam@xwt.org>
15231 * win32-threads.cc: #undef STRICT after gc.h inclusion
15233 2002-02-02 Tom Tromey <tromey@redhat.com>
15235 * Makefile.in: Rebuilt.
15237 2002-02-02 Jason Merrill <jason@redhat.com>
15239 * Makefile.am (clean-nat): New target.
15241 2002-02-02 Tom Tromey <tromey@redhat.com>
15243 * java/io/natFile.cc: Removed old "FIXME" comments.
15245 2002-02-01 Tom Tromey <tromey@redhat.com>
15247 * java/lang/natPosixProcess.cc (myclose): New function.
15249 (startProcess): Likewise.
15251 2002-02-01 Adam Megacz <adam@xwt.org>
15253 * prims.cc: Added #undef STRICT after #include<windows.h>.
15255 2002-02-01 Adam Megacz <adam@xwt.org>
15258 (_Jv_CreateJavaVM): We now use WIN32 instead of
15259 USE_WIN32_SIGNALLING and USE_WINSOCK.
15260 (win32_exception_handler): Now throws an exception out of
15261 the signal handler; assumes SJLJ.
15263 2002-02-01 Adam Megacz <adam@xwt.org>
15265 * win32-threads.cc:
15266 (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
15267 wait() algorithm to make it safe.
15268 (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
15269 Added lazy creation of Win32 Events for better performance
15270 (really_start): This now uses GC_CreateThread so boehm-gc
15271 knows about new threads even when statically linked.
15273 2002-02-01 Adam Megacz <adam@xwt.org>
15275 * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
15276 enable safer wait() algorithm.
15277 (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
15278 _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
15279 (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
15280 _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
15282 (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
15284 2002-02-01 Adam Megacz <adam@xwt.org>
15286 * configure.in: Added support for mingw.
15287 * java/lang/Win32Process.java: Created as empty file.
15288 * java/lang/natWin32Process.cc: Created as empty file.
15290 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
15293 * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
15294 for libiconv in LIBICONV variable.
15295 * configure: Regenerated.
15297 2002-01-31 Tom Tromey <tromey@redhat.com>
15299 * verify.cc (state::enter_subroutine): New method.
15300 (handle_jsr_insn): Use it.
15301 (state::merge): When processing a `ret', correctly use
15302 subroutine's state to determine which local variables have
15304 (push_exception_jump): Don't let stack overflow.
15306 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
15308 * gnu/gcj/convert/Convert.java: Only include one copyright year in
15311 2002-01-30 Tom Tromey <tromey@redhat.com>
15313 * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
15314 parameter for `recv' return type.
15316 * verify.cc (handle_ret_insn): Check for subroutine merge here...
15317 (state::merge): ... not here.
15318 (subr_entry_info): New structure.
15319 (entry_points): New field.
15320 (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs. Free
15323 2002-01-29 Tom Tromey <tromey@redhat.com>
15325 * java/awt/List.java (addNotify): Correctly check to see if peer
15328 * java/awt/GridLayout.java (layoutContainer): Use number of rows
15329 to compute height of each cell, and number of columns to compute
15330 width of each cell.
15331 * java/awt/Window.java (getOwnedWindows): Don't return null.
15332 * java/awt/FlowLayout.java (layoutContainer): Set width and height
15333 of component. Increment x using horizontal gap, not vertical
15336 2002-01-28 Tom Tromey <tromey@redhat.com>
15338 * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
15339 `nargs' byte is number of words, not number of arguments.
15341 2002-01-27 Tom Tromey <tromey@redhat.com>
15343 * java/awt/event/MouseEvent.java (modifiers): Removed field.
15345 * java/awt/event/InputEvent.java (modifiers, when): Now
15348 * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
15350 (state::merge): Use current class' class loader.
15351 (state::print): Print subroutine.
15352 (state::merge): Don't look at subroutine of unmerged `ret'.
15354 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
15356 * nogc.cc: Remove warnings.
15357 (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
15360 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15362 * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
15363 int, int): Remove empty "if" statement to work around compiler bug.
15364 (newPixels(int[], ColorModel, int, int): Likewise.
15366 2002-01-25 Per Bothner <per@bothner.com>
15368 * verify.cc (verify_fail): Change from being a top-level function
15369 to e method of _Jv_BytecodeVerifier. Emit current method name.
15370 Pass the current verifier to type: and state: methods as needed,
15371 for better error messages, and for resolve.
15372 (resolve): Pass current class's loader for Class.forName and
15373 _Jv_FindClassFromSignature, rather than using the default loader.
15374 (various type: and state: methods): Take _Jv_BytecodeVerifier* arg.
15375 (get_type_val_for_signature): Make non-static.
15376 (various methods): Pass start_PC implicitly, not explicitly.
15378 2002-01-25 Tom Tromey <tromey@redhat.com>
15380 * java/awt/FlowLayout.java (layoutContainer): Correctly compute
15381 loop termination condition.
15382 * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
15385 2002-01-24 Tom Tromey <tromey@redhat.com>
15387 * java/awt/Shape.java: Merged with Classpath.
15388 * java/awt/Scrollbar.java: Merged with Classpath.
15390 * java/awt/Container.java (addNotify): Unconditionally call
15391 addNotifyContainerChildren and superclass addNotify.
15393 * java/awt/image/ColorModel.java (getAlpha(Object)): Call
15394 getAlpha, not getBlue.
15396 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
15398 * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
15400 * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
15401 (grabPixels(long)): Wait to be notified that the ImageProducer has
15404 2002-01-24 Per Bothner <per@bothner.com>
15406 * verify.cc (is_assignable_from_slow): If target is an interface,
15407 we must still check the source's superclass before giving up.
15409 2002-01-24 Tom Tromey <tromey@redhat.com>
15411 * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
15413 2002-01-23 Tom Tromey <tromey@redhat.com>
15415 * java/awt/BorderLayout.java (addLayoutComponent): Added missing
15418 * Makefile.in: Rebuilt.
15419 * Makefile.am (awt_java_source_files): Added new files.
15420 * java/awt/Toolkit.java: Merged with Classpath.
15421 * java/awt/PrintGraphics.java: New file from Classpath.
15422 * java/awt/PrintJob.java: New file from Classpath.
15423 * java/awt/datatransfer/Clipboard.java: New file from Classpath.
15424 * java/awt/datatransfer/ClipboardOwner.java: New file from
15426 * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
15427 * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
15428 * java/awt/datatransfer/MimeTypeParseException.java: New file from
15430 * java/awt/datatransfer/StringSelection.java: New file from
15432 * java/awt/datatransfer/SystemFlavorMap.java: New file from
15434 * java/awt/datatransfer/Transferable.java: New file from
15436 * java/awt/datatransfer/UnsupportedFlavorException.java: New file
15439 * Makefile.in: Rebuilt.
15440 * Makefile.am (awt_java_source_files): Added new files.
15441 * java/awt/image/AreaAveragingScaleFilter.java: New file from
15443 * java/awt/image/CropImageFilter.java: New file from Classpath.
15444 * java/awt/image/FilteredImageSource.java: New file from
15446 * java/awt/image/ImageFilter.java: New file from Classpath.
15447 * java/awt/image/MemoryImageSource.java: New file from Classpath.
15448 * java/awt/image/PixelGrabber.java: New file from Classpath.
15449 * java/awt/image/RGBImageFilter.java: New file from Classpath.
15450 * java/awt/image/ReplicateScaleFilter.java: New file from
15452 * java/awt/image/ImageProducer.java: Replaced with Classpath
15454 * java/awt/image/ImageObserver.java: Replaced with Classpath
15456 * java/awt/image/ImageConsumer.java: Replaced with Classpath
15458 * java/awt/GridBagConstraints.java (clone): Catch
15459 CloneNotSupportedException.
15461 2002-01-23 Per Bothner <per@bothner.com>
15463 * java/lang/reflect/natField.cc (setAddr): New function.
15464 Calls getAddr and then checks that the field isn't final.
15465 (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
15466 setDouble, set): Use setAddr instead of getAddr, to check for FINAL.
15467 (set): Call setAddr before check that new value has right type,
15468 to better match specified semantics.
15470 2002-01-22 Tom Tromey <tromey@redhat.com>
15472 * java/awt/TextField.java: Replaced with Classpath version.
15473 * java/awt/TextArea.java: Replaced with Classpath version.
15474 * java/awt/TextComponent.java: Replaced with Classpath version.
15476 * java/awt/GridBagConstraints.java: Updated copyright.
15478 2002-01-22 Mark Wielaard <mark@klomp.org>
15480 * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
15481 java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
15482 java/awt/Dialog.java java/awt/FileDialog.java
15483 java/awt/Font.java java/awt/FontMetrics.java
15484 java/awt/Image.java java/awt/ImageMediaEntry.java
15485 java/awt/Insets.java java/awt/List.java
15486 java/awt/MediaEntry.java java/awt/MediaTracker.java
15487 java/awt/Menu.java java/awt/MenuBar.java
15488 java/awt/MenuContainer.java java/awt/MenuShortcut.java
15489 java/awt/PaintContext.java java/awt/Panel.java
15490 java/awt/PopupMenu.java java/awt/SystemColor.java
15491 java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
15492 java/awt/peer/CheckboxMenuItemPeer.java
15493 java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
15494 java/awt/peer/ComponentPeer.java
15495 java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
15496 java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
15497 java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
15498 java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
15499 java/awt/peer/MenuBarPeer.java
15500 java/awt/peer/MenuComponentPeer.java
15501 java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
15502 java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
15503 java/awt/peer/ScrollPanePeer.java
15504 java/awt/peer/ScrollbarPeer.java
15505 java/awt/peer/TextAreaPeer.java
15506 java/awt/peer/TextComponentPeer.java
15507 java/awt/peer/TextFieldPeer.java
15508 java/awt/peer/WindowPeer.java: Add license clarification.
15510 2002-01-22 Mark Wielaard <mark@klomp.org>
15512 * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
15513 gnu/gcj/runtime/StringBuffer.java
15514 gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
15515 gnu/java/awt/ComponentDataBlitOp.java
15516 gnu/java/awt/GLightweightPeer.java
15517 gnu/java/beans/BeanInfoEmbryo.java
15518 gnu/java/beans/EmptyBeanInfo.java
15519 gnu/java/beans/ExplicitBeanInfo.java
15520 gnu/java/beans/IntrospectionIncubator.java
15521 gnu/java/beans/editors/ColorEditor.java
15522 gnu/java/beans/editors/FontEditor.java
15523 gnu/java/beans/editors/NativeBooleanEditor.java
15524 gnu/java/beans/editors/NativeByteEditor.java
15525 gnu/java/beans/editors/NativeDoubleEditor.java
15526 gnu/java/beans/editors/NativeFloatEditor.java
15527 gnu/java/beans/editors/NativeIntEditor.java
15528 gnu/java/beans/editors/NativeLongEditor.java
15529 gnu/java/beans/editors/NativeShortEditor.java
15530 gnu/java/beans/editors/StringEditor.java
15531 gnu/java/beans/info/ComponentBeanInfo.java
15532 gnu/java/io/ClassLoaderObjectInputStream.java
15533 gnu/java/io/NullOutputStream.java
15534 gnu/java/io/ObjectIdentityWrapper.java
15535 gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
15536 gnu/java/lang/reflect/TypeSignature.java
15537 gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
15538 gnu/java/locale/Calendar_en.java
15539 gnu/java/locale/Calendar_nl.java
15540 gnu/java/locale/LocaleInformation.java
15541 gnu/java/locale/LocaleInformation_de.java
15542 gnu/java/locale/LocaleInformation_en.java
15543 gnu/java/locale/LocaleInformation_nl.java
15544 gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
15545 gnu/java/rmi/registry/RegistryImpl.java
15546 gnu/java/rmi/rmic/Compile_gcj.java
15547 gnu/java/rmi/rmic/Compiler.java
15548 gnu/java/rmi/rmic/CompilerProcess.java
15549 gnu/java/rmi/rmic/RMIC.java
15550 gnu/java/rmi/rmic/TabbedWriter.java
15551 gnu/java/rmi/server/ProtocolConstants.java
15552 gnu/java/rmi/server/RMIDefaultSocketFactory.java
15553 gnu/java/rmi/server/RMIHashes.java
15554 gnu/java/rmi/server/RMIObjectInputStream.java
15555 gnu/java/rmi/server/RMIObjectOutputStream.java
15556 gnu/java/rmi/server/UnicastConnection.java
15557 gnu/java/rmi/server/UnicastConnectionManager.java
15558 gnu/java/rmi/server/UnicastRef.java
15559 gnu/java/rmi/server/UnicastRemoteCall.java
15560 gnu/java/rmi/server/UnicastRemoteStub.java
15561 gnu/java/rmi/server/UnicastServer.java
15562 gnu/java/rmi/server/UnicastServerRef.java
15563 gnu/java/security/provider/DefaultPolicy.java
15564 gnu/java/security/provider/Gnu.java
15565 gnu/java/security/provider/SHA.java
15566 gnu/java/security/provider/SHA1PRNG.java
15567 gnu/java/text/BaseBreakIterator.java
15568 gnu/java/text/CharacterBreakIterator.java
15569 gnu/java/text/LineBreakIterator.java
15570 gnu/java/text/SentenceBreakIterator.java
15571 gnu/java/text/WordBreakIterator.java
15572 gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
15573 java/applet/AppletContext.java java/applet/AppletStub.java
15574 java/applet/AudioClip.java java/awt/AWTError.java
15575 java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
15576 java/awt/AWTException.java java/awt/AWTPermission.java
15577 java/awt/ActiveEvent.java java/awt/BorderLayout.java
15578 java/awt/Button.java java/awt/Canvas.java
15579 java/awt/CardLayout.java java/awt/Checkbox.java
15580 java/awt/CheckboxGroup.java java/awt/Component.java
15581 java/awt/ComponentOrientation.java java/awt/Container.java
15582 java/awt/Dimension.java java/awt/Event.java
15583 java/awt/EventDispatchThread.java java/awt/EventQueue.java
15584 java/awt/FlowLayout.java java/awt/Frame.java
15585 java/awt/Graphics.java java/awt/Graphics2D.java
15586 java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
15587 java/awt/IllegalComponentStateException.java
15588 java/awt/ItemSelectable.java java/awt/Label.java
15589 java/awt/LayoutManager.java java/awt/LayoutManager2.java
15590 java/awt/MenuComponent.java java/awt/MenuItem.java
15591 java/awt/Paint.java java/awt/Point.java
15592 java/awt/Rectangle.java java/awt/RenderingHints.java
15593 java/awt/Transparency.java java/awt/Window.java
15594 java/awt/color/ColorSpace.java
15595 java/awt/color/ICC_ColorSpace.java
15596 java/awt/color/ICC_Profile.java
15597 java/awt/event/HierarchyBoundsAdapter.java
15598 java/awt/event/HierarchyBoundsListener.java
15599 java/awt/event/HierarchyEvent.java
15600 java/awt/event/HierarchyListener.java
15601 java/awt/geom/AffineTransform.java
15602 java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
15603 java/awt/geom/IllegalPathStateException.java
15604 java/awt/geom/Line2D.java
15605 java/awt/geom/NoninvertibleTransformException.java
15606 java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
15607 java/awt/geom/Rectangle2D.java
15608 java/awt/geom/RectangularShape.java
15609 java/awt/geom/RoundRectangle2D.java
15610 java/awt/image/BufferedImage.java
15611 java/awt/image/ColorModel.java
15612 java/awt/image/ComponentColorModel.java
15613 java/awt/image/ComponentSampleModel.java
15614 java/awt/image/DataBuffer.java
15615 java/awt/image/DataBufferByte.java
15616 java/awt/image/DataBufferInt.java
15617 java/awt/image/DataBufferUShort.java
15618 java/awt/image/DirectColorModel.java
15619 java/awt/image/PackedColorModel.java
15620 java/awt/image/Raster.java java/awt/image/RasterOp.java
15621 java/awt/image/SampleModel.java
15622 java/awt/image/SinglePixelPackedSampleModel.java
15623 java/awt/image/WritableRaster.java
15624 java/beans/AppletInitializer.java
15625 java/beans/BeanDescriptor.java java/beans/BeanInfo.java
15626 java/beans/Beans.java java/beans/Customizer.java
15627 java/beans/DesignMode.java java/beans/EventSetDescriptor.java
15628 java/beans/FeatureDescriptor.java
15629 java/beans/IndexedPropertyDescriptor.java
15630 java/beans/IntrospectionException.java
15631 java/beans/Introspector.java java/beans/MethodDescriptor.java
15632 java/beans/ParameterDescriptor.java
15633 java/beans/PropertyChangeEvent.java
15634 java/beans/PropertyChangeListener.java
15635 java/beans/PropertyChangeSupport.java
15636 java/beans/PropertyDescriptor.java
15637 java/beans/PropertyEditor.java
15638 java/beans/PropertyEditorManager.java
15639 java/beans/PropertyEditorSupport.java
15640 java/beans/PropertyVetoException.java
15641 java/beans/SimpleBeanInfo.java
15642 java/beans/VetoableChangeListener.java
15643 java/beans/VetoableChangeSupport.java
15644 java/beans/Visibility.java
15645 java/beans/beancontext/BeanContext.java
15646 java/beans/beancontext/BeanContextChild.java
15647 java/beans/beancontext/BeanContextChildComponentProxy.java
15648 java/beans/beancontext/BeanContextChildSupport.java
15649 java/beans/beancontext/BeanContextContainerProxy.java
15650 java/beans/beancontext/BeanContextEvent.java
15651 java/beans/beancontext/BeanContextMembershipEvent.java
15652 java/beans/beancontext/BeanContextMembershipListener.java
15653 java/beans/beancontext/BeanContextProxy.java
15654 java/beans/beancontext/BeanContextServiceAvailableEvent.java
15655 java/beans/beancontext/BeanContextServiceProvider.java
15656 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
15657 java/beans/beancontext/BeanContextServiceRevokedEvent.java
15658 java/beans/beancontext/BeanContextServiceRevokedListener.java
15659 java/beans/beancontext/BeanContextServices.java
15660 java/beans/beancontext/BeanContextServicesListener.java
15661 java/io/BufferedInputStream.java
15662 java/io/BufferedOutputStream.java java/io/BufferedReader.java
15663 java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
15664 java/io/ByteArrayOutputStream.java
15665 java/io/CharArrayReader.java java/io/CharArrayWriter.java
15666 java/io/CharConversionException.java java/io/DataInput.java
15667 java/io/DataInputStream.java java/io/DataOutput.java
15668 java/io/EOFException.java java/io/Externalizable.java
15669 java/io/FileFilter.java java/io/FileNotFoundException.java
15670 java/io/FilePermission.java java/io/FileReader.java
15671 java/io/FileWriter.java java/io/FilenameFilter.java
15672 java/io/FilterInputStream.java java/io/FilterOutputStream.java
15673 java/io/FilterReader.java java/io/FilterWriter.java
15674 java/io/IOException.java java/io/InputStream.java
15675 java/io/InterruptedIOException.java
15676 java/io/InvalidClassException.java
15677 java/io/InvalidObjectException.java
15678 java/io/NotActiveException.java
15679 java/io/NotSerializableException.java java/io/ObjectInput.java
15680 java/io/ObjectInputStream.java
15681 java/io/ObjectInputValidation.java java/io/ObjectOutput.java
15682 java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
15683 java/io/ObjectStreamConstants.java
15684 java/io/ObjectStreamException.java
15685 java/io/ObjectStreamField.java
15686 java/io/OptionalDataException.java java/io/OutputStream.java
15687 java/io/PipedInputStream.java java/io/PipedOutputStream.java
15688 java/io/PipedReader.java java/io/PipedWriter.java
15689 java/io/PrintWriter.java java/io/PushbackInputStream.java
15690 java/io/PushbackReader.java java/io/Reader.java
15691 java/io/SequenceInputStream.java java/io/Serializable.java
15692 java/io/SerializablePermission.java
15693 java/io/StreamCorruptedException.java
15694 java/io/StreamTokenizer.java
15695 java/io/StringBufferInputStream.java java/io/StringReader.java
15696 java/io/StringWriter.java java/io/SyncFailedException.java
15697 java/io/UTFDataFormatException.java
15698 java/io/UnsupportedEncodingException.java
15699 java/io/WriteAbortedException.java java/io/Writer.java
15700 java/lang/AbstractMethodError.java
15701 java/lang/ArithmeticException.java
15702 java/lang/ArrayIndexOutOfBoundsException.java
15703 java/lang/ArrayStoreException.java java/lang/Boolean.java
15704 java/lang/Byte.java java/lang/CharSequence.java
15705 java/lang/ClassCastException.java
15706 java/lang/ClassCircularityError.java
15707 java/lang/ClassFormatError.java
15708 java/lang/ClassNotFoundException.java
15709 java/lang/CloneNotSupportedException.java
15710 java/lang/Cloneable.java java/lang/Comparable.java
15711 java/lang/Compiler.java java/lang/Double.java
15712 java/lang/Error.java java/lang/Exception.java
15713 java/lang/ExceptionInInitializerError.java
15714 java/lang/Float.java java/lang/IllegalAccessError.java
15715 java/lang/IllegalAccessException.java
15716 java/lang/IllegalArgumentException.java
15717 java/lang/IllegalMonitorStateException.java
15718 java/lang/IllegalStateException.java
15719 java/lang/IllegalThreadStateException.java
15720 java/lang/IncompatibleClassChangeError.java
15721 java/lang/IndexOutOfBoundsException.java
15722 java/lang/InheritableThreadLocal.java
15723 java/lang/InstantiationError.java
15724 java/lang/InstantiationException.java java/lang/Integer.java
15725 java/lang/InternalError.java
15726 java/lang/InterruptedException.java
15727 java/lang/LinkageError.java java/lang/Long.java
15728 java/lang/NegativeArraySizeException.java
15729 java/lang/NoClassDefFoundError.java
15730 java/lang/NoSuchFieldError.java
15731 java/lang/NoSuchFieldException.java
15732 java/lang/NoSuchMethodError.java
15733 java/lang/NoSuchMethodException.java
15734 java/lang/NullPointerException.java java/lang/Number.java
15735 java/lang/NumberFormatException.java
15736 java/lang/OutOfMemoryError.java java/lang/Package.java
15737 java/lang/Process.java java/lang/Runnable.java
15738 java/lang/RuntimeException.java
15739 java/lang/RuntimePermission.java
15740 java/lang/SecurityException.java
15741 java/lang/SecurityManager.java java/lang/Short.java
15742 java/lang/StackOverflowError.java java/lang/StringBuffer.java
15743 java/lang/StringIndexOutOfBoundsException.java
15744 java/lang/ThreadDeath.java java/lang/ThreadGroup.java
15745 java/lang/ThreadLocal.java java/lang/UnknownError.java
15746 java/lang/UnsatisfiedLinkError.java
15747 java/lang/UnsupportedClassVersionError.java
15748 java/lang/UnsupportedOperationException.java
15749 java/lang/VerifyError.java java/lang/VirtualMachineError.java
15750 java/lang/Void.java java/lang/ref/PhantomReference.java
15751 java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
15752 java/lang/ref/SoftReference.java
15753 java/lang/ref/WeakReference.java
15754 java/lang/reflect/AccessibleObject.java
15755 java/lang/reflect/InvocationTargetException.java
15756 java/lang/reflect/Member.java java/lang/reflect/Modifier.java
15757 java/lang/reflect/ReflectPermission.java
15758 java/math/BigDecimal.java java/math/BigInteger.java
15759 java/net/Authenticator.java java/net/BindException.java
15760 java/net/ConnectException.java java/net/ContentHandler.java
15761 java/net/ContentHandlerFactory.java
15762 java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
15763 java/net/FileNameMap.java java/net/MalformedURLException.java
15764 java/net/MulticastSocket.java java/net/NetPermission.java
15765 java/net/NoRouteToHostException.java
15766 java/net/PasswordAuthentication.java
15767 java/net/ProtocolException.java java/net/ServerSocket.java
15768 java/net/Socket.java java/net/SocketException.java
15769 java/net/SocketImpl.java java/net/SocketImplFactory.java
15770 java/net/SocketOptions.java java/net/SocketPermission.java
15771 java/net/URLDecoder.java java/net/URLEncoder.java
15772 java/net/URLStreamHandlerFactory.java
15773 java/net/UnknownHostException.java
15774 java/net/UnknownServiceException.java
15775 java/rmi/AccessException.java
15776 java/rmi/AlreadyBoundException.java
15777 java/rmi/ConnectException.java
15778 java/rmi/ConnectIOException.java
15779 java/rmi/MarshalException.java java/rmi/MarshalledObject.java
15780 java/rmi/Naming.java java/rmi/NoSuchObjectException.java
15781 java/rmi/NotBoundException.java
15782 java/rmi/RMISecurityException.java
15783 java/rmi/RMISecurityManager.java java/rmi/Remote.java
15784 java/rmi/RemoteException.java java/rmi/ServerError.java
15785 java/rmi/ServerException.java
15786 java/rmi/ServerRuntimeException.java
15787 java/rmi/StubNotFoundException.java
15788 java/rmi/UnexpectedException.java
15789 java/rmi/UnknownHostException.java
15790 java/rmi/UnmarshalException.java
15791 java/rmi/activation/Activatable.java
15792 java/rmi/activation/ActivateFailedException.java
15793 java/rmi/activation/ActivationDesc.java
15794 java/rmi/activation/ActivationException.java
15795 java/rmi/activation/ActivationGroup.java
15796 java/rmi/activation/ActivationGroupDesc.java
15797 java/rmi/activation/ActivationGroupID.java
15798 java/rmi/activation/ActivationID.java
15799 java/rmi/activation/ActivationInstantiator.java
15800 java/rmi/activation/ActivationMonitor.java
15801 java/rmi/activation/ActivationSystem.java
15802 java/rmi/activation/Activator.java
15803 java/rmi/activation/UnknownGroupException.java
15804 java/rmi/activation/UnknownObjectException.java
15805 java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
15806 java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
15807 java/rmi/registry/Registry.java
15808 java/rmi/registry/RegistryHandler.java
15809 java/rmi/server/ExportException.java
15810 java/rmi/server/LoaderHandler.java
15811 java/rmi/server/LogStream.java java/rmi/server/ObjID.java
15812 java/rmi/server/Operation.java
15813 java/rmi/server/RMIClassLoader.java
15814 java/rmi/server/RMIClientSocketFactory.java
15815 java/rmi/server/RMIFailureHandler.java
15816 java/rmi/server/RMIServerSocketFactory.java
15817 java/rmi/server/RMISocketFactory.java
15818 java/rmi/server/RemoteCall.java
15819 java/rmi/server/RemoteObject.java
15820 java/rmi/server/RemoteRef.java
15821 java/rmi/server/RemoteServer.java
15822 java/rmi/server/RemoteStub.java
15823 java/rmi/server/ServerCloneException.java
15824 java/rmi/server/ServerNotActiveException.java
15825 java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
15826 java/rmi/server/SkeletonMismatchException.java
15827 java/rmi/server/SkeletonNotFoundException.java
15828 java/rmi/server/SocketSecurityException.java
15829 java/rmi/server/UID.java
15830 java/rmi/server/UnicastRemoteObject.java
15831 java/rmi/server/Unreferenced.java
15832 java/security/AccessControlContext.java
15833 java/security/AccessControlException.java
15834 java/security/AccessController.java
15835 java/security/AlgorithmParameterGenerator.java
15836 java/security/AlgorithmParameterGeneratorSpi.java
15837 java/security/AlgorithmParameters.java
15838 java/security/AlgorithmParametersSpi.java
15839 java/security/AllPermission.java
15840 java/security/BasicPermission.java
15841 java/security/Certificate.java java/security/CodeSource.java
15842 java/security/DigestException.java
15843 java/security/DigestInputStream.java
15844 java/security/DigestOutputStream.java
15845 java/security/DomainCombiner.java
15846 java/security/DummyKeyPairGenerator.java
15847 java/security/DummyMessageDigest.java
15848 java/security/DummySignature.java
15849 java/security/GeneralSecurityException.java
15850 java/security/Guard.java java/security/GuardedObject.java
15851 java/security/Identity.java java/security/IdentityScope.java
15852 java/security/InvalidAlgorithmParameterException.java
15853 java/security/InvalidKeyException.java
15854 java/security/InvalidParameterException.java
15855 java/security/Key.java java/security/KeyException.java
15856 java/security/KeyFactory.java java/security/KeyFactorySpi.java
15857 java/security/KeyManagementException.java
15858 java/security/KeyPair.java java/security/KeyPairGenerator.java
15859 java/security/KeyPairGeneratorSpi.java
15860 java/security/KeyStore.java
15861 java/security/KeyStoreException.java
15862 java/security/KeyStoreSpi.java
15863 java/security/MessageDigest.java
15864 java/security/MessageDigestSpi.java
15865 java/security/NoSuchAlgorithmException.java
15866 java/security/NoSuchProviderException.java
15867 java/security/Permission.java
15868 java/security/PermissionCollection.java
15869 java/security/Permissions.java java/security/Policy.java
15870 java/security/Principal.java java/security/PrivateKey.java
15871 java/security/PrivilegedAction.java
15872 java/security/PrivilegedActionException.java
15873 java/security/PrivilegedExceptionAction.java
15874 java/security/ProtectionDomain.java
15875 java/security/Provider.java
15876 java/security/ProviderException.java
15877 java/security/PublicKey.java
15878 java/security/SecureClassLoader.java
15879 java/security/SecureRandom.java
15880 java/security/SecureRandomSpi.java java/security/Security.java
15881 java/security/SecurityPermission.java
15882 java/security/Signature.java
15883 java/security/SignatureException.java
15884 java/security/SignatureSpi.java
15885 java/security/SignedObject.java java/security/Signer.java
15886 java/security/UnrecoverableKeyException.java
15887 java/security/UnresolvedPermission.java
15888 java/security/acl/Acl.java java/security/acl/AclEntry.java
15889 java/security/acl/AclNotFoundException.java
15890 java/security/acl/Group.java
15891 java/security/acl/LastOwnerException.java
15892 java/security/acl/NotOwnerException.java
15893 java/security/acl/Owner.java java/security/acl/Permission.java
15894 java/security/cert/CRL.java
15895 java/security/cert/CRLException.java
15896 java/security/cert/Certificate.java
15897 java/security/cert/CertificateEncodingException.java
15898 java/security/cert/CertificateException.java
15899 java/security/cert/CertificateExpiredException.java
15900 java/security/cert/CertificateFactory.java
15901 java/security/cert/CertificateFactorySpi.java
15902 java/security/cert/CertificateNotYetValidException.java
15903 java/security/cert/CertificateParsingException.java
15904 java/security/cert/X509CRL.java
15905 java/security/cert/X509CRLEntry.java
15906 java/security/cert/X509Certificate.java
15907 java/security/cert/X509Extension.java
15908 java/security/interfaces/DSAKey.java
15909 java/security/interfaces/DSAKeyPairGenerator.java
15910 java/security/interfaces/DSAParams.java
15911 java/security/interfaces/DSAPrivateKey.java
15912 java/security/interfaces/DSAPublicKey.java
15913 java/security/interfaces/RSAKey.java
15914 java/security/interfaces/RSAPrivateCrtKey.java
15915 java/security/interfaces/RSAPrivateKey.java
15916 java/security/interfaces/RSAPublicKey.java
15917 java/security/spec/AlgorithmParameterSpec.java
15918 java/security/spec/DSAParameterSpec.java
15919 java/security/spec/DSAPrivateKeySpec.java
15920 java/security/spec/DSAPublicKeySpec.java
15921 java/security/spec/EncodedKeySpec.java
15922 java/security/spec/InvalidKeySpecException.java
15923 java/security/spec/InvalidParameterSpecException.java
15924 java/security/spec/KeySpec.java
15925 java/security/spec/PKCS8EncodedKeySpec.java
15926 java/security/spec/RSAKeyGenParameterSpec.java
15927 java/security/spec/RSAPrivateCrtKeySpec.java
15928 java/security/spec/RSAPrivateKeySpec.java
15929 java/security/spec/RSAPublicKeySpec.java
15930 java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
15931 java/sql/BatchUpdateException.java java/sql/Blob.java
15932 java/sql/CallableStatement.java java/sql/Clob.java
15933 java/sql/Connection.java java/sql/DataTruncation.java
15934 java/sql/DatabaseMetaData.java java/sql/Date.java
15935 java/sql/Driver.java java/sql/DriverManager.java
15936 java/sql/DriverPropertyInfo.java
15937 java/sql/PreparedStatement.java java/sql/Ref.java
15938 java/sql/ResultSet.java java/sql/ResultSetMetaData.java
15939 java/sql/SQLData.java java/sql/SQLException.java
15940 java/sql/SQLInput.java java/sql/SQLOutput.java
15941 java/sql/SQLWarning.java java/sql/Statement.java
15942 java/sql/Struct.java java/sql/Time.java
15943 java/sql/Timestamp.java java/sql/Types.java
15944 java/text/Annotation.java
15945 java/text/AttributedCharacterIterator.java
15946 java/text/AttributedString.java
15947 java/text/AttributedStringIterator.java
15948 java/text/BreakIterator.java java/text/CharacterIterator.java
15949 java/text/ChoiceFormat.java java/text/Collator.java
15950 java/text/DateFormat.java java/text/DateFormatSymbols.java
15951 java/text/DecimalFormat.java
15952 java/text/DecimalFormatSymbols.java
15953 java/text/FieldPosition.java java/text/Format.java
15954 java/text/MessageFormat.java java/text/NumberFormat.java
15955 java/text/ParseException.java java/text/ParsePosition.java
15956 java/text/SimpleDateFormat.java
15957 java/text/StringCharacterIterator.java
15958 java/util/AbstractCollection.java java/util/AbstractList.java
15959 java/util/AbstractMap.java
15960 java/util/AbstractSequentialList.java
15961 java/util/AbstractSet.java java/util/ArrayList.java
15962 java/util/Arrays.java java/util/BasicMapEntry.java
15963 java/util/BitSet.java java/util/Calendar.java
15964 java/util/Collection.java java/util/Collections.java
15965 java/util/Comparator.java
15966 java/util/ConcurrentModificationException.java
15967 java/util/Date.java java/util/Dictionary.java
15968 java/util/EmptyStackException.java java/util/Enumeration.java
15969 java/util/EventListener.java java/util/EventObject.java
15970 java/util/GregorianCalendar.java java/util/HashMap.java
15971 java/util/HashSet.java java/util/Hashtable.java
15972 java/util/IdentityHashMap.java java/util/Iterator.java
15973 java/util/LinkedHashMap.java java/util/LinkedHashSet.java
15974 java/util/LinkedList.java java/util/List.java
15975 java/util/ListIterator.java java/util/ListResourceBundle.java
15976 java/util/Locale.java java/util/Map.java
15977 java/util/MissingResourceException.java
15978 java/util/NoSuchElementException.java
15979 java/util/Observable.java java/util/Observer.java
15980 java/util/Properties.java java/util/PropertyPermission.java
15981 java/util/PropertyResourceBundle.java java/util/Random.java
15982 java/util/RandomAccess.java java/util/ResourceBundle.java
15983 java/util/Set.java java/util/SimpleTimeZone.java
15984 java/util/SortedMap.java java/util/SortedSet.java
15985 java/util/Stack.java java/util/StringTokenizer.java
15986 java/util/TimeZone.java java/util/Timer.java
15987 java/util/TimerTask.java
15988 java/util/TooManyListenersException.java
15989 java/util/TreeMap.java java/util/TreeSet.java
15990 java/util/Vector.java java/util/WeakHashMap.java
15991 java/util/jar/Attributes.java java/util/jar/JarEntry.java
15992 java/util/jar/JarException.java java/util/jar/JarFile.java
15993 java/util/jar/JarInputStream.java
15994 java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
15995 java/util/zip/Adler32.java java/util/zip/CRC32.java
15996 java/util/zip/CheckedInputStream.java
15997 java/util/zip/CheckedOutputStream.java
15998 java/util/zip/Checksum.java
15999 java/util/zip/DataFormatException.java
16000 java/util/zip/Deflater.java
16001 java/util/zip/DeflaterOutputStream.java
16002 java/util/zip/GZIPInputStream.java
16003 java/util/zip/GZIPOutputStream.java
16004 java/util/zip/Inflater.java
16005 java/util/zip/InflaterInputStream.java
16006 java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
16007 java/util/zip/ZipException.java java/util/zip/ZipFile.java
16008 java/util/zip/ZipInputStream.java
16009 java/util/zip/ZipOutputStream.java
16010 javax/naming/BinaryRefAddr.java
16011 javax/naming/InvalidNameException.java javax/naming/Name.java
16012 javax/naming/NamingException.java javax/naming/RefAddr.java
16013 javax/naming/StringRefAddr.java: Add license clarification.
16015 2002-01-22 Tom Tromey <tromey@redhat.com>
16017 * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
16018 * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
16019 * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
16021 * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
16022 * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
16023 * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
16024 * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
16025 * java/awt/peer/DialogPeer.java: Replace with Classpath version.
16026 * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
16027 * java/awt/peer/FontPeer.java: Replace with Classpath version.
16028 * java/awt/peer/FramePeer.java: Replace with Classpath version.
16029 * java/awt/peer/LabelPeer.java: Replace with Classpath version.
16030 * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
16031 * java/awt/peer/ListPeer.java: Replace with Classpath version.
16032 * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
16033 * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
16034 * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
16035 * java/awt/peer/MenuPeer.java: Replace with Classpath version.
16036 * java/awt/peer/PanelPeer.java: Replace with Classpath version.
16037 * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
16038 * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
16039 * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
16040 * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
16041 * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
16042 * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
16043 * java/awt/peer/WindowPeer.java: Replace with Classpath version.
16044 * gnu/awt/xlib/XPanelPeer.java (insets): New method.
16045 * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
16046 (minimumSize, preferredSize, reshape): Likewise.
16047 * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
16048 getColorModel): New methods.
16049 * java/awt/PopupMenu.java: Merged with Classpath.
16050 * java/awt/MenuBar.java: Merged with Classpath.
16051 * java/awt/SystemColor.java: Replace with Classpath version.
16052 * java/awt/Panel.java: Merged with Classpath.
16053 * java/awt/PaintContext.java: Updated copyright.
16054 * java/awt/MenuShortcut.java: Merged with Classpath.
16055 * java/awt/MenuContainer.java: Merged with Classpath.
16056 * java/awt/Menu.java: Merged with Classpath.
16057 * java/awt/MediaEntry.java: New file from Classpath.
16058 * java/awt/MediaTracker.java: New file from Classpath.
16059 * java/awt/List.java: Merged with Classpath version.
16060 * java/awt/Insets.java: Merged with Classpath version.
16061 * java/awt/ImageMediaEntry.java: New file from Classpath.
16062 * java/awt/Image.java: Replaced with Classpath version.
16063 * java/awt/FontMetrics.java: Merged with Classpath version.
16064 * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
16066 * java/awt/Font.java: Merged with Classpath version.
16067 * java/awt/Dialog.java: Merged with Classpath version.
16068 * java/awt/Color.java: Merged with Classpath version.
16069 * java/awt/Choice.java: Merged with Classpath version.
16070 * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
16071 * java/awt/Adjustable.java: Replace with Classpath version.
16072 * java/awt/MenuItem.java (paramString): Don't include class name
16073 or brackets. Call superclass paramString.
16074 * java/awt/MenuComponent.java (toString): Call paramString.
16075 (paramString): Compute string; don't call toString.
16076 * java/awt/Label.java (paramString): Don't include class name
16077 or brackets. Call superclass paramString.
16078 * java/awt/Checkbox.java (paramString): Don't include class name
16079 or brackets. Call superclass paramString.
16080 * java/awt/Button.java (paramString): Don't include class name or
16081 brackets. Call superclass paramString.
16082 * java/awt/MenuComponent.java (getTreeLock): Now protected.
16084 2002-01-20 Andreas Schwab <schwab@suse.de>
16086 * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
16087 function and of parameter recv_func to ssize_t, as specified by
16090 2002-01-19 Per Bothner <per@bothner.com>
16092 * java/util/zip/ZipOutputStream.java (putNextEntry): Clear
16093 uncompressed_size in readiness for next entry.
16095 2002-01-18 Tom Tromey <tromey@redhat.com>
16097 * java/net/natPlainSocketImpl.cc: Include
16098 IllegalArgumentException.h.
16099 (_Jv_recv): New template function.
16100 (BooleanClass): Removed.
16101 (read): Use _Jv_recv.
16102 (setOption): Use Boolean::class$. Throw exception if object is
16103 not Boolean or Integer.
16105 2002-01-17 Tom Tromey <tromey@redhat.com>
16107 * java/awt/MenuComponent.java: Merged with Classpath.
16108 * java/awt/MenuItem.java: Merged with Classpath.
16109 * java/awt/Button.java: Merged with Classpath.
16111 * java/awt/ActiveEvent.java: Updated copyright.
16113 * java/awt/AWTError.java: Replaced with Classpath version.
16114 * java/awt/AWTException.java: Replaced with Classpath version.
16115 * java/awt/IllegalComponentStateException.java: Replaced with
16118 2002-01-16 Tom Tromey <tromey@redhat.com>
16120 * java/awt/Canvas.java (serialVersionUID): New constant.
16121 Updated copyright. Added javadoc from Classpath.
16122 * java/awt/ItemSelectable.java: Replaced with Classpath version.
16124 * java/awt/CheckboxGroup.java: Merged with Classpath.
16125 * java/awt/Checkbox.java: Merged with Classpath.
16127 * java/awt/Dimension.java: Updated copyright. Added javadoc from
16129 * java/awt/Point.java: Updated copyright.
16131 * java/awt/Point.java (toString): Use getClass().getName().
16134 * java/util/IdentityHashMap.java (IdentityHashMap): Removed
16136 (hash): Correctly compute initial value for `h'.
16138 * java/awt/Label.java: Merged with Classpath.
16140 2002-01-15 Tom Tromey <tromey@redhat.com>
16142 * java/awt/AWTPermission.java: Updated copyright.
16144 * java/awt/LayoutManager2.java: Merged with Classpath.
16145 * java/awt/LayoutManager.java: Merged with Classpath.
16146 * java/awt/GridLayout.java: Updated copyright and javadoc.
16147 (getSize): Use `parent.ncomponents'. Handle insets.
16148 (layoutContainer): Use `parent.ncomponents'. Handle case where
16149 there are fewer children than columns. Correctly compute size of
16150 each cell in the grid. Handle case where there isn't enough
16152 * java/awt/CardLayout.java (tab): Renamed from `map'. Updated
16154 (gotoComponent): Use parent.ncomponents. Ensure child exists
16155 before calling setVisible() on it. Last item is `num - 1', not
16157 (layoutContainer): Hoist invariants out of loop.
16159 Start of AWT merge with Classpath:
16160 * Makefile.in: Rebuilt.
16161 * Makefile.am (awt_java_source_files): Reference files in
16162 gnu/java/awt, not gnu/gcj/awt.
16163 * java/awt/image/BufferedImage.java: Updated copyright.
16164 * java/awt/image/ComponentColorModel.java: Updated copyright.
16165 * java/awt/image/ComponentSampleModel.java: Updated copyright.
16166 * java/awt/image/DataBuffer.java: Updated copyright.
16167 * java/awt/image/DataBufferByte.java: Updated copyright.
16168 * java/awt/image/DataBufferInt.java: Updated copyright.
16169 * java/awt/image/DataBufferUShort.java: Updated copyright.
16170 * java/awt/image/IndexColorModel.java: Updated copyright.
16171 * java/awt/image/PackedColorModel.java: Updated copyright.
16172 * java/awt/image/Raster.java: Updated copyright.
16173 * java/awt/image/RasterOp.java: Updated copyright.
16174 * java/awt/image/SampleModel.java: Updated copyright.
16175 * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
16176 * java/awt/image/WritableRaster.java: Updated copyright.
16177 * java/awt/color/ColorSpace.java: Updated copyright.
16178 * java/awt/color/ICC_ColorSpace.java: Updated copyright
16179 * java/awt/color/ICC_Profile.java: Updated copyright.
16180 * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
16181 * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
16182 * java/awt/event/HierarchyEvent.java: Updated copyright.
16183 * java/awt/event/HierarchyListener.java: Updated copyright.
16184 * java/awt/geom/AffineTransform.java: Updated copyright.
16185 * java/awt/geom/Dimension2D.java: Updated copyright.
16186 * java/awt/geom/Ellipse2D.java: Updated copyright.
16187 * java/awt/geom/IllegalPathStateException.java: Updated copyright.
16188 * java/awt/geom/Line2D.java: Updated copyright.
16189 * java/awt/geom/NoninvertibleTransformException.java: Updated
16191 * java/awt/geom/PathIterator.java: Updated copyright.
16192 * java/awt/geom/Point2D.java: Updated copyright.
16193 * java/awt/geom/Rectangle2D.java: Updated copyright.
16194 * java/awt/geom/RectangularShape.java: Updated copyright.
16195 * java/awt/geom/RoundRectangle2D.java: Updated copyright.
16196 * java/awt/Toolkit.java: Updated import for file moves.
16197 * java/awt/Rectangle.java: Updated copyright; added javadoc from
16199 (hashCode): New method from Classpath.
16200 * java/awt/Graphics2D.java: Updated copyright.
16201 * java/awt/Transparency.java: Updated copyright.
16202 * java/awt/Paint.java: Updated copyright.
16203 * java/awt/Graphics.java: New version from Classpath.
16204 * java/awt/EventDispatchThread.java: Updated copyright.
16205 * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
16207 (gotoComponent): Wrap around on next/previous.
16208 * gnu/gcj/awt/BitMaskExtent.java: Removed.
16209 * gnu/gcj/awt/Buffers.java: Removed.
16210 * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
16211 * gnu/gcj/awt/GLightweightPeer.java: Removed.
16212 * gnu/java/awt/BitMaskExtent.java: Added.
16213 * gnu/java/awt/Buffers.java: Added.
16214 * gnu/java/awt/ComponentDataBlitOp.java: Added.
16215 * gnu/java/awt/GLightweightPeer.java: Added.
16216 * java/awt/geom/Line2D.java (clone): Ignore
16217 CloneNotSupportedException.
16218 * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
16219 * java/awt/Frame.java: Merged with Classpath.
16220 * java/awt/RenderingHints.java: Copyright update.
16221 * java/awt/Paint.java: Copyright update.
16222 * java/awt/image/DirectColorModel.java: Merged with Classpath.
16223 * java/awt/image/ColorModel.java: Merged with Classpath.
16224 * java/awt/Window.java (show): New Implementation from Classpath.
16225 (isShowing): Use super.isShowing().
16226 * java/awt/EventQueue.java: Merged with Classpath.
16227 * java/awt/AWTEventMulticaster.java (save): Throw
16229 (saveInternal): Likewise.
16230 * java/awt/AWTEvent.java: Now implements Serializable.
16231 * java/awt/Event.java: Copyright update.
16232 * java/awt/peer/ComponentPeer.java: Merged with Classpath.
16233 * java/awt/image/BufferedImage.java: Copyright update.
16234 * java/awt/GraphicsConfiguration.java: Copyright update.
16235 * java/awt/Component.java: (addNotify): Don't call
16236 addNotifyContainerChildren().
16237 (addNotifyContainerChildren): Removed.
16238 (setPeer): New method from Classpath.
16239 (setTreeLock): Likewise.
16240 (setVisible): Rewrote.
16243 (validate): Set `valid'.
16244 (checkImage(Image,ImageObserver)): Implementation from Classpath.
16245 (createImage(ImageProducer)): Likewise.
16246 (prepareImage): Likewise.
16247 * java/awt/Container.java (addImpl): Handle case where constraint
16248 is not a String. Post event via system event queue.
16249 (remove): Post event via system event queue.
16250 (validateTree): Only validate child if it is invalid.
16251 (getAlignmentX): Call super method as default.
16252 (getAlignmentY): Likewise.
16253 (addContainerListener): Now synchronized.
16254 (removeContainerListener): Likewise.
16255 (addNotifyContainerChildren): Now private.
16256 * java/awt/ComponentOrientation.java: Updated copyright. Added
16258 * java/awt/FlowLayout.java (serialVersionUID): New field.
16259 (setAlignment): Better exception message.
16260 (layoutContainer): Don't compute component's preferred size unless
16261 we're going to use it.
16262 * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
16263 BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
16264 (firstLine, lastLine, firstItem, lastItem): New fields.
16265 (addLayoutComponent): Handle case where constraints is null.
16266 Also, handle relative locations.
16267 (removeLayoutComponent): Handle relative locations.
16268 (MIN, MAX, PREF): New constants.
16269 (calcCompSize): New method.
16270 (calcSize): New method.
16271 (minimumLayoutSize): Use it.
16272 (preferredLayoutSize): Likewise.
16273 (maximumLayoutSize): Likewise.
16274 (toString): Include more information.
16275 (setBounds): New method.
16276 (layoutContainer): Use libgcj implementation; extended to handle
16277 relative locations.
16279 2002-01-15 Tom Tromey <tromey@redhat.com>
16281 * java/lang/Float.java (equals): Preserve old code.
16282 * java/lang/Double.java (equals): Preserve old code.
16284 2002-01-15 Eric Blake <ebb9@email.byu.edu>
16286 * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
16287 * java/lang/Float.java (equals, compare): Ditto.
16289 2002-01-13 Mark Wielaard <mark@klomp.org>
16291 * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
16292 * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
16293 * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
16294 * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
16296 2002-01-11 Mark Wielaard <mark@klomp.org>
16298 * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
16299 * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
16301 * java/net/MulticastSocket.java (MulticastSocket): Likewise.
16302 * java/net/Socket.java: Merge with Classpath.
16303 * java/net/ServerSocket.java: Likewise.
16305 2002-01-11 Chris Sears <cbsears_sf@yahoo.com>
16307 * interpret.cc (NULLARRAYCHECK): New macro.
16308 (SAVE_PC): Just store `pc'.
16309 (find_exception): Subtract one from `pc' here.
16310 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
16311 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
16312 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
16313 insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
16314 don't call SAVE_PC.
16315 (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
16318 2002-01-11 Tom Tromey <tromey@redhat.com>
16320 * java/lang/natSystem.cc (init_properties): Only look for default
16321 locale if LC_MESSAGES is defined.
16322 * aclocal.m4, configure, include/config.h.in: Rebuilt.
16323 * configure.in: Call AM_LC_MESSAGES.
16324 * acinclude.m4 (AM_LC_MESSAGES): New macro.
16326 2002-01-10 Tom Tromey <tromey@redhat.com>
16328 For PR libgcj/5303:
16329 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
16330 --version. Recognize GNU-style long options. Print GNU-style
16332 (usage): Print GNU-style help. Exit with status 0.
16333 (error): New method.
16334 (run): Print error message if no class names found.
16335 (main): Don't print usage on error.
16337 2002-01-09 Tom Tromey <tromey@redhat.com>
16339 * gnu/gcj/convert/Convert.java (version): Use java.vm.name
16341 (help, version): Use println(), not println("").
16343 For PR libgcj/5303:
16344 * gnu/gcj/convert/Convert.java (error): Program is called
16345 `jv-convert'. Print GNU-style message. Exit with status 1, not
16347 (main): Handle --help and --version.
16348 (help): New method.
16349 (version): Likewise.
16351 2002-01-08 Tom Tromey <tromey@redhat.com>
16353 * Makefile.in: Rebuilt.
16354 * Makefile.am (ordinary_java_source_files): Added new files.
16355 * gnu/java/locale/LocaleInformation.java: Extend
16356 LocaleInformation_en.
16357 * gnu/java/locale/LocaleInformation_en.java: Added zone strings
16358 and time/date formats.
16359 * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
16361 * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
16362 * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
16363 * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
16364 * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
16365 * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
16366 * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
16367 * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
16368 * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
16369 * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
16370 * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
16371 * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
16372 * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
16373 * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
16374 * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
16375 * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
16376 * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
16377 * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
16378 * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
16379 * gnu/java/locale/LocaleInformation_be_BY.java: New file.
16380 * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
16381 * gnu/java/locale/LocaleInformation_br_FR.java: New file.
16382 * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
16383 * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
16384 * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
16385 * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
16386 * gnu/java/locale/LocaleInformation_da_DK.java: New file.
16387 * gnu/java/locale/LocaleInformation_de_AT.java: New file.
16388 * gnu/java/locale/LocaleInformation_de_BE.java: New file.
16389 * gnu/java/locale/LocaleInformation_de_CH.java: New file.
16390 * gnu/java/locale/LocaleInformation_de_DE.java: New file.
16391 * gnu/java/locale/LocaleInformation_de_LU.java: New file.
16392 * gnu/java/locale/LocaleInformation_el_GR.java: New file.
16393 * gnu/java/locale/LocaleInformation_en_AU.java: New file.
16394 * gnu/java/locale/LocaleInformation_en_BW.java: New file.
16395 * gnu/java/locale/LocaleInformation_en_CA.java: New file.
16396 * gnu/java/locale/LocaleInformation_en_DK.java: New file.
16397 * gnu/java/locale/LocaleInformation_en_GB.java: New file.
16398 * gnu/java/locale/LocaleInformation_en_HK.java: New file.
16399 * gnu/java/locale/LocaleInformation_en_IE.java: New file.
16400 * gnu/java/locale/LocaleInformation_en_IN.java: New file.
16401 * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
16402 * gnu/java/locale/LocaleInformation_en_PH.java: New file.
16403 * gnu/java/locale/LocaleInformation_en_SG.java: New file.
16404 * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
16405 * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
16406 * gnu/java/locale/LocaleInformation_es_AR.java: New file.
16407 * gnu/java/locale/LocaleInformation_es_BO.java: New file.
16408 * gnu/java/locale/LocaleInformation_es_CL.java: New file.
16409 * gnu/java/locale/LocaleInformation_es_CO.java: New file.
16410 * gnu/java/locale/LocaleInformation_es_CR.java: New file.
16411 * gnu/java/locale/LocaleInformation_es_DO.java: New file.
16412 * gnu/java/locale/LocaleInformation_es_EC.java: New file.
16413 * gnu/java/locale/LocaleInformation_es_ES.java: New file.
16414 * gnu/java/locale/LocaleInformation_es_GT.java: New file.
16415 * gnu/java/locale/LocaleInformation_es_HN.java: New file.
16416 * gnu/java/locale/LocaleInformation_es_MX.java: New file.
16417 * gnu/java/locale/LocaleInformation_es_NI.java: New file.
16418 * gnu/java/locale/LocaleInformation_es_PA.java: New file.
16419 * gnu/java/locale/LocaleInformation_es_PE.java: New file.
16420 * gnu/java/locale/LocaleInformation_es_PR.java: New file.
16421 * gnu/java/locale/LocaleInformation_es_PY.java: New file.
16422 * gnu/java/locale/LocaleInformation_es_SV.java: New file.
16423 * gnu/java/locale/LocaleInformation_es_US.java: New file.
16424 * gnu/java/locale/LocaleInformation_es_UY.java: New file.
16425 * gnu/java/locale/LocaleInformation_es_VE.java: New file.
16426 * gnu/java/locale/LocaleInformation_et_EE.java: New file.
16427 * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
16428 * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
16429 * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
16430 * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
16431 * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
16432 * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
16433 * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
16434 * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
16435 * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
16436 * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
16437 * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
16438 * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
16439 * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
16440 * gnu/java/locale/LocaleInformation_he_IL.java: New file.
16441 * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
16442 * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
16443 * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
16444 * gnu/java/locale/LocaleInformation_id_ID.java: New file.
16445 * gnu/java/locale/LocaleInformation_it_CH.java: New file.
16446 * gnu/java/locale/LocaleInformation_it_IT.java: New file.
16447 * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
16448 * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
16449 * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
16450 * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
16451 * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
16452 * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
16453 * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
16454 * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
16455 * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
16456 * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
16457 * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
16458 * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
16459 * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
16460 * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
16461 * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
16462 * gnu/java/locale/LocaleInformation_no_NO.java: New file.
16463 * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
16464 * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
16465 * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
16466 * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
16467 * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
16468 * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
16469 * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
16470 * gnu/java/locale/LocaleInformation_se_NO.java: New file.
16471 * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
16472 * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
16473 * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
16474 * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
16475 * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
16476 * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
16477 * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
16478 * gnu/java/locale/LocaleInformation_te_IN.java: New file.
16479 * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
16480 * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
16481 * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
16482 * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
16483 * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
16484 * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
16485 * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
16486 * gnu/java/locale/LocaleInformation_yi_US.java: New file.
16487 * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
16488 * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
16489 * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
16490 * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
16492 For PR libgcj/5031:
16493 * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
16494 choose default locale.
16496 * Makefile.in: Rebuilt.
16497 * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
16499 2002-01-08 Nic Ferrier <nferrier@tf1.tapsellferrier.co.uk>
16501 * java/net/natPlainSocketImpl.cc: Added timeout handling for
16503 (close): New function closes the socket.
16504 (write): New functions for output to socket.
16505 (read): New functions for reading from socket.
16506 * java/net/PlainSocketImpl.java: Glue for new timeout
16508 (write): Call the native impl.
16510 (getInputStream): Get a stream to read from the socket.
16511 (getOutputStream): Get a stream to write to the socket.
16513 2002-01-08 Tom Tromey <tromey@redhat.com>
16515 * resolve.cc (_Jv_PrepareClass): Enable verifier.
16517 2002-01-07 Andreas Tobler <a.tobler@schweiz.ch>
16519 * java/lang/reflect/natMethod.cc: Don't include alloca.h.
16520 (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
16522 2002-01-08 Chris Sears <cbsears_sf@yahoo.com>
16524 * interpret.cc (ARRAYBOUNDSCHECK): New macro.
16525 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
16526 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
16527 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
16528 insn_bastore, insn_castore, insn_sastore]: Use it.
16529 (continue1) [insn_arraylength]: Check for null array.
16531 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
16533 * configure, include/config.h.in: Rebuilt.
16534 * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
16535 * configure.in: Call AC_STRUCT_TIMEZONE.
16537 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
16539 * configure.host: Disable the interpreter for Darwin.
16541 2002-01-04 Tom Tromey <tromey@redhat.com>
16543 * java/lang/Thread.java (stop): No longer synchronized.
16546 2002-01-02 Tom Tromey <tromey@redhat.com>
16548 * java/lang/ieeefp.h: Fix bug in my hand-application of previous
16551 2002-1-1 Andrew Pinski <pinskia@physics.uc.edu>
16553 * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
16554 PPC Darwin, not for all of Darwin.