1 2007-12-31 Andrew John Hughes <gnu_andrew@member.fsf.org>
3 * javax/management/remote/rmi/RMIConnection.java:
4 Partial implementation.
5 * javax/management/remote/rmi/RMIServer.java:
8 2007-12-31 Andrew John Hughes <gnu_andrew@member.fsf.org>
11 * javax/rmi/ssl/SslRMIClientSocketFactory.java:
12 (getProp(String)): Check for the property being null.
14 2007-12-28 Dalibor Topic <robilad@kaffe.org>
16 * configure.ac (AC_CHECK_HEADERS): Check for
17 netinet/in_systm.h, netinet/ip.h and net/if.h
20 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
21 Guard net/if.h include statement. Use unsigned int
24 * native/jni/java-nio/gnu_java_nio_VMChannel.c:
25 Guard sys/mman.h include statement.
27 * native/jni/java-nio/gnu_java_nio_VMSelector.c:
28 Guard sys/select.h include statement.
30 * native/jni/java-nio/javanio.c:
31 Guard sys/select.h include statement.
33 * native/jni/java-nio/javanio.h:
36 * native/jni/native-lib/cpio.c:
37 Guard chmod call by S_IWRITE, since it's not
38 defined in the arm-wince toolchain.
40 * native/jni/native-lib/cpnet.h:
41 Guard netinet/in_systm.h and netinet/ip.h
44 2007-12-28 Dalibor Topic <robilad@kaffe.org>
46 * m4/acinclude.m4 (CLASSPATH_WITH_GLIBJ): Use
47 AC_PATH_PROGS instead of AC_PATH_PROG to check
48 for FASTJAR as fastjar, gjar or jar. Add braces
49 to AC_PATH_PROGS arguments.
51 * tools/Makefile.am (TOOLS_ZIP),
52 lib/Makefile.am (collections.jar, glibj.zip):
53 Quote FASTJAR in case it's in a path with
56 2007-12-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
59 * java/awt/Desktop.java:
60 (isDesktopSupported()): Made public.
62 2007-12-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
65 * javax/swing/JFrame.java:
66 (addImpl(Component,Object,int)): Add a similar
67 check for the root pane as in remove, adding using
68 the superclass when this occurs rather than the
71 2007-12-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
74 * java/awt/Container.java:
75 (isAncestorOf(Component)): Swap ordering so that
76 the parent is retrieved prior to checking against
77 this, thus preventing a component being an ancestor of
80 2007-12-11 Robert Schuster <robertschuster@fsfe.org>
82 * AUTHORS: Added my name to the list.
84 2007-12-10 Robert Schuster <robertschuster@fsfe.org>
86 * THANKYOU: Added my name to the list.
88 2007-12-10 Robert Schuster <robertschuster@fsfe.org>
91 * tools/gnu/classpath/tools/jar/Entry.java:
92 (Entry(File, String)): Added loop to remove all dot-file separator
94 (Entry(File)): Call Entry(File, String) constructor variant.
96 2007-12-10 Robert Schuster <robertschuster@fsfe.org>
98 * native/jni/native-lib/cpio.c:
99 (cpio_df): Mark arguments as possibly unused.
101 2007-12-10 Robert Schuster <robertschuster@fsfe.org>
103 * javax/swing/text/GlyphView.java:
104 (paint): Removed debug output.
106 2007-12-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
109 * gnu/javax/management/Translator.java:
110 (translate(String)): Select only public methods
111 from a composite type, try this translation in all
112 cases and exit only when no fields are translated.
114 2007-11-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
117 * gnu/java/lang/management/BeanImpl.java:
118 (getDescription(MBeanConstructorInfo,MBeanParameterInfo,int)):
119 Added to provide a default description if the current one is null.
120 (getDescription(MBeanOperationInfo,MBeanParameterInfo,int)):
122 (getParameterName(MBeanConstructorInfo,MBeanParameterInfo,int)):
123 Likewise for the name.
124 (getParameterName(MBeanOperationInfo,MBeanParameterInfo,int)):
126 * gnu/javax/management/Server.java:
127 (getMBeanInfo()): Try using a StandardMBean wrapper if reflection
128 fails to find getMBeanInfo().
130 2007-11-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
132 * examples/gnu/classpath/examples/management/TestBeans.java:
133 Simplify so that it uses the management server.
134 * examples/gnu/classpath/examples/management/TestClassLoading.java:
135 Test via the server and the proxy as well.
137 2007-11-27 Thomas Fitzsimmons <fitzsim@redhat.com>
139 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
140 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c
141 (isWindowUnderMouse): New method.
142 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h:
144 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
145 (getLocationOnScreen): Move WindowPeer section to...
146 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (getLocationOnScreen):
148 * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java
149 (isWindowUnderMouse): Implement.
150 * java/awt/Component.java (getMousePosition): New method.
151 (getMousePositionHelper): Likewise.
152 (mouseOverComponent): Likewise.
153 * java/awt/Container.java (getMousePosition): New method.
154 (mouseOverComponent): Likewise.
155 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
156 Revert 2007-09-11 changes.
158 2007-11-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
160 * javax/management/package.html: Added.
161 * javax/management/remote/package.html: Likewise.
163 2007-11-24 Mario Torre <neugens@limasoftware.net>
165 * java/util/concurrent/CopyOnWriteArrayList.java:
166 (addAll): fix implementation, now add elements in the correct position.
167 (addAllAbsent): fixed typos (whoops!).
168 (remove(int)): fixed range in arraycopy that was causing for incorrect
169 values to be inserted in the list. Refactored to give variables better
171 (remove(Object)): refactored to give better names to variable.
172 (listIterator): fix to set the starting index.
173 (listIterator.previous): fix to decrement element position before
174 returning the previous element in the iterator.
176 2007-11-23 Mario Torre <neugens@limasoftware.net>
178 * gnu/java/util/prefs/EventDispatcher.java: class removed.
179 * gnu/classpath/toolkit/DefaultDaemonThreadFactory.java: new file.
180 * java/util/prefs/AbstractPreferences.java: (fire(PreferenceChangeEvent)):
181 Use DefaultDaemonThreadFactory and Executors.newSingleThreadExecutor
182 instead of EventDispatcher. Import statement refactored accordingly.
183 Also refactored to use 1.5 enhanced for loop and generics.
184 (fire(NodeChangeEvent, boolean)): likewise.
185 * gnu/java/util/prefs/GConfBasedPreferences.java (childSpi):
186 removed startWatchingNode call.
187 * gnu/java/util/prefs/gconf/GConfNativePeer.java:
188 (GConfNativePeer): removed use of semaphore.
189 (gconf_all_nodes): method name shortened, renamed from
190 gconf_client_all_nodes (removed client_ from method signature) and
191 declared synchronized.
192 (gconf_suggest_sync): likewise.
193 (gconf_get_string): likewise.
194 (gconf_unescape_key): likewise.
195 (gconf_set_string): likewise.
196 (gconf_escape_key): likewise.
197 (gconf_all_keys): likewise.
198 (gconf_dir_exists): likewise.
199 (getKeys): refactored to use new native method name.
201 (setString): likewise.
202 (getChildrenNodes): likewise.
204 (suggestSync): likewise.
205 (finalize): likewise.
206 (nodeExist): likewise.
207 (gconf_client_add_dir): removed, not needed anymore.
208 (gconf_client_remove_dir): likewise.
209 (startWatchingNode): likewise.
210 (stopWatchingNode): likewise.
211 * native/jni/conf-peer/GConfNativePeer.c:
212 All native methods renamed to match changes in GConfNativePeer.java
213 Now use GConfEngine instead of GConfClient.
214 Removed gdk_thread_enter/leave locking from all methods.
215 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir):
217 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
219 * include/gnu_java_util_prefs_gconf_GConfNativePeer.h: regenerated.
221 2007-11-23 Mario Torre <neugens@limasoftware.net>
223 * java/util/concurrent/CopyOnWriteArrayList.java:
225 (serialVersionUID): new field.
226 (iterator): new method, override from base class.
228 (listIterator): likewise.
229 (removeAll): likewise.
230 (retainAll): likewise.
231 (contains): fixed typo in javadoc.
232 (addIfAbsent): added javadoc.
233 (addAllAbsent): Rewrite to improve performance. Also add javadoc.
235 2007-11-23 Ian Rogers <ian.rogers@manchester.ac.uk>
237 * java/io/FileOutputStream.java,
238 * java/io/PrintStream.java,
239 * java/util/Locale.java:
240 Make fields that can be final, final.
241 * gnu/java/nio/charset/ByteCharset.java,
242 * gnu/java/nio/charset/Cp424.java,
243 * gnu/java/nio/charset/Cp437.java,
244 * gnu/java/nio/charset/Cp737.java,
245 * gnu/java/nio/charset/Cp775.java,
246 * gnu/java/nio/charset/Cp850.java,
247 * gnu/java/nio/charset/Cp852.java,
248 * gnu/java/nio/charset/Cp855.java,
249 * gnu/java/nio/charset/Cp857.java,
250 * gnu/java/nio/charset/Cp860.java,
251 * gnu/java/nio/charset/Cp861.java,
252 * gnu/java/nio/charset/Cp862.java,
253 * gnu/java/nio/charset/Cp863.java,
254 * gnu/java/nio/charset/Cp864.java,
255 * gnu/java/nio/charset/Cp865.java,
256 * gnu/java/nio/charset/Cp866.java,
257 * gnu/java/nio/charset/Cp869.java,
258 * gnu/java/nio/charset/Cp874.java,
259 * gnu/java/nio/charset/EncodingHelper.java,
260 * gnu/java/nio/charset/ISO_8859_13.java,
261 * gnu/java/nio/charset/ISO_8859_15.java,
262 * gnu/java/nio/charset/ISO_8859_1.java,
263 * gnu/java/nio/charset/ISO_8859_2.java,
264 * gnu/java/nio/charset/ISO_8859_3.java,
265 * gnu/java/nio/charset/ISO_8859_4.java,
266 * gnu/java/nio/charset/ISO_8859_5.java,
267 * gnu/java/nio/charset/ISO_8859_6.java,
268 * gnu/java/nio/charset/ISO_8859_7.java,
269 * gnu/java/nio/charset/ISO_8859_8.java,
270 * gnu/java/nio/charset/ISO_8859_9.java,
271 * gnu/java/nio/charset/KOI_8.java,
272 * gnu/java/nio/charset/MacCentralEurope.java,
273 * gnu/java/nio/charset/MacCroatian.java,
274 * gnu/java/nio/charset/MacCyrillic.java,
275 * gnu/java/nio/charset/MacDingbat.java,
276 * gnu/java/nio/charset/MacGreek.java,
277 * gnu/java/nio/charset/MacIceland.java,
278 * gnu/java/nio/charset/MacRomania.java,
279 * gnu/java/nio/charset/MacRoman.java,
280 * gnu/java/nio/charset/MacSymbol.java,
281 * gnu/java/nio/charset/MacThai.java,
282 * gnu/java/nio/charset/MacTurkish.java,
283 * gnu/java/nio/charset/MS874.java,
284 * gnu/java/nio/charset/Provider.java,
285 * gnu/java/nio/charset/US_ASCII.java,
286 * gnu/java/nio/charset/Windows1250.java,
287 * gnu/java/nio/charset/Windows1251.java,
288 * gnu/java/nio/charset/Windows1252.java,
289 * gnu/java/nio/charset/Windows1253.java,
290 * gnu/java/nio/charset/Windows1254.java,
291 * gnu/java/nio/charset/Windows1255.java,
292 * gnu/java/nio/charset/Windows1256.java,
293 * gnu/java/nio/charset/Windows1257.java,
294 * gnu/java/nio/charset/Windows1258.java,
295 * gnu/java/nio/charset/ByteDecodeLoopHelper.java,
296 * gnu/java/nio/charset/ByteEncodeLoopHelper.java:
297 Optimize for array based buffers.
298 * native/jni/gtk-peer/gtkpeer.c:
299 Make 32bit pointer a global JNI reference.
301 (toLowerCaseTurkish): new method.
302 (toUpperCaseTurkish): new method.
303 (toLowerCase): special case Turkish
304 (toUpperCase): likewise.
306 (valueOf): remove unnecessary synchronized.
308 2007-11-08 Jeroen Frijters <jeroen@frijters.net>
310 * java/util/Locale.java
311 (Locale): Always intern strings.
313 2007-11-06 Mario Torre <neugens@limasoftware.net>
315 * vm/reference/java/io/VMFile.java:
316 (getTotalSpace): new method.
317 (getUsableSpace): likewise.
318 (getFreeSpace): likewise.
319 * java/io/File.java: (getTotalSpace): new method.
320 (getUsableSpace): likewise.
321 (getFreeSpace): likewise.
322 * native/jni/java-io/java_io_VMFile.c:
323 (Java_java_io_VMFile_getTotalSpace): new function.
324 (Java_java_io_VMFile_getFreeSpace): likewise.
325 (Java_java_io_VMFile_getUsableSpace): likewise.
326 * native/jni/native-lib/cpio.h: (cpio_df): new function.
327 (CPFILE_DF_TYPE): enum type for cpio_df.
328 * native/jni/native-lib/cpio.c: (cpio_df): new function.
329 * include/java_io_VMFile.h: regenerated.
330 * configure.ac: added check for statvfs.
332 2007-11-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
335 * tools/com/sun/tools/javac/Main.java:
336 Make our wrapper 1.5 capable.
338 2007-11-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
340 * gnu/java/lang/MainThread.java:
343 Remove restriction on ecj printing varargs warnings.
345 2007-11-01 Mario Torre <neugens@limasoftware.net>
348 * configure.ac: add GDK_CFLAGS for the GStreamer peer.
350 2007-11-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
352 * gnu/java/awt/java2d/ScanlineCoverage.java,
353 * gnu/javax/net/ssl/provider/ServerHandshake.java:
354 Fix non-ASCII characters in the Javadoc comments.
355 * gnu/java/lang/management/BeanImpl.java,
356 * gnu/javax/management/Server.java,
357 * gnu/xml/pipeline/EventFilter.java,
358 * java/awt/AWTKeyStroke.java,
359 * java/beans/DefaultPersistenceDelegate.java,
360 * java/beans/EventHandler.java,
361 * java/io/ObjectStreamClass.java,
362 * java/lang/Class.java,
363 * java/lang/reflect/Proxy.java,
364 * javax/management/NotificationBroadcasterSupport.java,
365 * javax/management/StandardMBean.java,
366 * javax/swing/TransferHandler.java:
367 Fix warnings from use of varargs methods.
369 2007-10-27 Ian Rogers <ian.rogers@manchester.ac.uk>
371 * java/beans/PropertyChangeSupport.java,
372 * java/beans/VetoableChangeSupport.java,
373 * java/io/ObjectStreamClass.java,
374 * java/lang/reflect/Array.java,
375 * java/net/DatagramSocket.java,
376 * java/net/ServerSocket.java,
377 * java/net/Socket.java,
378 * java/nio/charset/CoderResult.java,
379 * java/security/Security.java,
380 * java/security/spec/RSAKeyGenParameterSpec.java,
381 * java/text/ChoiceFormat.java,
382 * java/text/DecimalFormat.java,
383 * java/text/MessageFormat.java:
384 Make use of new valueOf methods.
386 2007-10-27 Ian Rogers <ian.rogers@manchester.ac.uk>
388 * java/io/OutputStreamWriter.java:
389 Make fields of this class that can be final, final.
391 2007-10-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
394 * tools/com/sun/tools/javac/Main.java:
395 Revert patch that adds bootclasspath.
397 2007-10-22 Dalibor Topic <robilad@kaffe.org>
399 * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c:
400 Include config-int.h for uint32_t.
402 2007-10-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
404 * NEWS: Kickoff updates for 0.97.
405 * configure.ac: Set version to 0.97-pre.
406 * doc/www.gnu.org/newsitems.txt: Add 0.96.1.
407 * doc/www.gnu.org/downloads/downloads.wml: Likewise.
408 * doc/www.gnu.org/announce/20071015.wml: Add missing URLs.
409 * doc/www.gnu.org/announce/20071016.wml: New file.
411 2007-10-16 Mark Wielaard <mark@klomp.org>
413 * NEWS: Mention small compile/configure/build fixes.
414 * configure.ac: Set version to 0.96.1
416 2007-10-16 from Alexandre Oliva <aoliva@redhat.com>
418 * scripts/check_jni_methods.sh: Don't depend on diff -b ignoring
419 a single trailing whitespace.
421 2007-10-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
423 * m4/acinclude.m4: Add -sourcepath so that
424 some proprietary JDKs don't try to compile the
425 whole of Classpath when testing the compiler.
427 2007-10-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
429 * doc/www.gnu.org/newsitems.txt: Add 0.96.
430 * doc/www.gnu.org/downloads/downloads.wml: Likewise.
431 * doc/www.gnu.org/announce/20071015.wml: New file.
433 2007-10-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
435 * NEWS: Kickoff updates for 0.97.
436 * configure.ac: Set version to 0.97-pre.
438 2007-10-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
440 * NEWS: Add date of 0.96 release.
441 * configure.ac: Set version to 0.96.
443 2007-10-15 Mario Torre <neugens@limasoftware.net>
445 * doc/cp-hacking.texinfo: Update GConf requirement, and added information
446 about the GStreamer Sound peer.
448 2007-10-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
450 * README.gstreamer: Correct a few typos.
451 * doc/cp-hacking.texinfo: Update to match current status
452 (e.g. mention cacao, use of 1.5, etc.)
454 2007-10-15 Roman Kennke <roman.kennke@aicas.com>
456 * java/awt/event/MouseEvent.java
457 (MouseEvent): For the no-absX/absY constructor, set the
458 absX/absY to 0, instead of calling into getLocationOnScreen(),
459 which might cause nasty deadlocks.
461 2007-10-15 Mario Torre <neugens@limasoftware.net>
463 * javax/swing/text/DefaultStyledDocument.java (ElementBuffer.insertElement):
464 Added check for empty stack to avoid EmptyStackException.
466 2007-10-15 Roman Kennke <roman.kennke@aicas.com>
468 * java/awt/LightweightDispatcher.java
469 (dispatchEvent): Don't synchronize on the AWT lock here,
470 this causes a deadlock in some situations.
472 2007-10-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
475 * tools/com/sun/tools/javac/Main.java:
476 Add bootclasspath and 1.5 options so the compiler
479 2007-10-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
482 * lib/Makefile.am: Use JAVAC_ARGS variable.
483 * m4/acinclude.m4: Check javac is 1.5 compliant
484 and whether it supports -J.
486 2007-10-12 Mario Torre <neugens@limasoftware.net>
488 * gnu/javax/swing/text/html/css/FontSize.java (mapPercent):
489 (mapPoints): prevent a NumberFormatException when a floating point is given
490 instead of a integer.
491 (mapPixels): likewise.
492 (mapPercent): likewise.
494 2007-10-12 Mario Torre <neugens@limasoftware.net>
496 * gnu/javax/sound/AudioSecurityManager.java: Added Copyright header.
497 (Permission): added missing javadoc.
498 (checkPermissions): likewise.
500 2007-10-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
503 * lib/Makefile.am: Add -J-mX512M option to
504 allow javac enough memory to build Classpath.
506 2007-10-12 Roman Kennke <roman.kennke@aicas.com>
508 * NEWS: Added entry for Escher peers.
510 2007-10-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
512 * NEWS: Updated for 0.96
514 2007-10-12 Robin Garner <robin.garner@anu.edu.au>
517 * java/io/OutputStreamWriter.java:
518 Provide buffering when not converting to improve
521 2007-10-12 Ian Rogers <ian.rogers@manchester.ac.uk>
524 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
525 Remove atexit call that makes JikesRVM deadlock.
527 2007-10-12 Ian Rogers <ian.rogers@manchester.ac.uk>
528 2007-10-12 Andrew Haley <aph@redhat.com>
531 * java/lang/Double.java:
532 (compare(double,double)): Increase performance
534 * java/lang/Float.java:
535 (compare(float,float)): Likewise.
537 2007-10-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
541 Fix typo which prevents --with-ecj being used.
543 2007-10-11 Roman Kennke <roman.kennke@aicas.com>
545 * javax/swing/plaf/basic/BasicTreeUI.java
546 (EDIT): Removed obsolete constant.
548 2007-10-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
550 Recommitting patch by Dalibor Topic from 2007-09-21.
551 * java/lang/management/ThreadInfo.java:
552 Removed unused private constructors.
554 2007-10-09 Mario Torre <neugens@limasoftware.net>
556 * README.gstreamer: new file.
558 2007-10-08 Andrew John Hughes <gnu_andrew@member.fsf.org>
561 * examples/Makefile.am:
562 Exit with no compiler.
563 * lib/Makefile.am: Likewise.
564 * m4/acinclude.m4: Handle ecj and javac
565 using separate variables and catch when JAVAC/ECJ is
568 2007-10-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
571 * java/util/zip/ZipEntry.java:
572 (parseExtra()): Pass time to setTime in milliseconds
573 rather than seconds by multiplying by 1000.
575 2007-09-27 Mario Torre <neugens@limasoftware.net>
577 * gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReaderNativePeer.java:
578 (gstreamer_get_audio_format_stream): Removed parameter from javadoc.
579 (gstreamer_get_audio_format_file): likewise.
580 * gnu/javax/sound/sampled/gstreamer/lines/GstPipeline.java:
581 Added class javadoc and implementation notes.
582 (READ): new constant.
585 (CAPACITY_KEY): likewise.
587 (prefs): new variable.
588 (GstPipeline constructor): added OS independent rutines to detect
589 filesystem pipes size plus save and restores this information via
590 preferences. Now closes open pipe on user abort at VM exit.
591 (open_native_pipe): new native method.
592 (close_native_pipe): likewise.
593 (detect_pipe_size): likewise.
594 (createForWrite): update to use new native methods.
595 (setState): removed hack to synchronize reading and writing of the
596 filesystme named pipe.
597 (available): implemented.
598 (drain): new implementation, now correctly waits for data to be consumed
600 (prepareWrite): removed hack to synchronize reading and writing of the
601 filesystme named pipe.
602 (CleanPipeline): new inner class, used for cleaning of native pipelines
603 still opened at VM exit.
604 * gnu/javax/sound/sampled/gstreamer/lines/GstSourceDataLine:
605 (getFramePosition): method still stubbed, now output "implement me"
606 note when called (used for testing).
607 (getLongFramePosition): likewise.
608 (getMicrosecondPosition): likewise.
609 * include/gnu_javax_sound_sampled_gstreamer_lines_GstPipeline.h:
611 * native/jni/gstreamer-peer/gst_native_data_line.c:
612 (setup_pipeline): Changed signature, now uses a file descriptor instead of
613 char with the name of the native pipeline. Also changed to use "fdsrc"
614 when creating the GStreamer pipeline.
615 (Java_gnu_javax_sound_sampled_gstreamer_lines_GstNativeDataLine_setup_1sink_1pipeline):
616 now uses gst_native_pipeline_get_pipeline_fd to get the file descriptor
617 of the native pipeline, instead of gst_native_pipeline_get_pipeline_name.
618 Chaged to use "autoaudiosink" as GStreamer audio sink.
619 (gst_newpad): fix indentation.
620 * native/jni/gstreamer-peer/gst_native_pipeline.c: include new headers for
622 (capacityFID): new filed for caching.
623 (GST_DETECTED_PIPE_CAPACITY): new field.
624 (enum): maps READ and WRITE in GstPipeline class.
625 (_GstNativePipelinePrivate.fd): new field.
626 (create_name): new function.
627 (init_pointer_IDs): likewise.
628 (get_free_space): likewise.
629 (Java_gnu_javax_sound_sampled_gstreamer_lines_GstPipeline_init_1id_1cache):
631 (Java_gnu_javax_sound_sampled_gstreamer_lines_GstPipeline_init_1instance):
632 get value for GST_DETECTED_PIPE_CAPACITY from mapped class.
633 (Java_gnu_javax_sound_sampled_gstreamer_lines_GstPipeline_set_1state):
634 removed "unused" attribute from parameters, clean pipeline name on exit.
635 (Java_gnu_javax_sound_sampled_gstreamer_lines_GstPipeline_open_1native_1pipe):
637 (Java_gnu_javax_sound_sampled_gstreamer_lines_GstPipeline_close_1native_1pipe):
639 (Java_gnu_javax_sound_sampled_gstreamer_lines_GstPipeline_create_1named_1pipe):
640 pipe name created with a dedicated function.
641 (Java_gnu_javax_sound_sampled_gstreamer_lines_GstPipeline_available): new
643 * native/jni/gstreamer-peer/gst_native_pipeline.h:
644 (gst_native_pipeline_clean): removed.
645 (gst_native_pipeline_get_pipeline_fd): new function.
646 * native/jni/gstreamer-peer/gst_peer.h: new defines used by the peer.
647 * native/jni/gstreamer-peer/gstreamer_io_peer.c: (_GST_MALLOC_SIZE_): moved
650 2007-09-27 Dalibor Topic <robilad@kaffe.org>
652 * native/fdlibm/dtoa.c: Include mprec.h after system includes.
653 * native/fdlibm/mprec.h [_EXFUN]: Only define _EXFUN if it is not
656 2007-09-24 Dalibor Topic <robilad@kaffe.org>
658 * java/lang/management/ThreadInfo.java: Reverted patch from
659 2007-09-21, as it breaks JikesRVM.
661 2007-09-23 Mark Wielaard <mark@klomp.org>
663 * doc/www.gnu.org/include/layout.wml: Fix Planet Classpath link.
664 * doc/www.gnu.org/faq/faq.wml: Fix typo prorietary.
666 2007-09-22 Paul Jenner <psj@harker.dyndns.org>
668 * doc/www.gnu.org/include/layout.wml: Added link to Wiki.
670 2007-09-21 Dalibor Topic <robilad@kaffe.org>
672 * gnu/java/rmi/server/RMIClassLoaderImpl.java,
673 java/beans/beancontext/BeanContextServicesSupport.java,
674 java/lang/management/ThreadInfo.java:
675 Removed unused private constructors.
677 2007-09-21 Dalibor Topic <robilad@kaffe.org>
679 * gnu/CORBA/CDR/AbstractCdrInput.java,
680 gnu/CORBA/CDR/Vio.java,
681 gnu/CORBA/DynAn/gnuDynUnion.java,
682 gnu/CORBA/GIOP/MessageHeader.java,
683 gnu/CORBA/IorDelegate.java,
684 gnu/java/security/key/dss/FIPS186.java,
685 gnu/javax/crypto/key/dh/RFC2631.java,
686 gnu/javax/swing/text/html/parser/support/Parser.java,
687 gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java,
688 gnu/xml/aelfred2/XmlParser.java,
689 java/awt/im/InputContext.java:
690 Removed unused labels.
692 2007-09-21 Roman Kennke <roman.kennke@aicas.com>
694 * javax/swing/plaf/basic/BasicGraphicsUtils.java
695 (drawStringUnderlineCharAt): Fix Y location of underline.
697 2007-09-21 Roman Kennke <roman.kennke@aicas.com>
699 * java/awt/LightweightDispatcher.java
700 (dispatchEvent): Lock the component's tree to avoid threading
702 (redispatch): Only redispatch when component is showing.
704 2007-09-21 Roman Kennke <roman.kennke@aicas.com>
707 (hashCode): New field. Stores a cached hash code.
708 (hashCode()): Re-implemented. Don't create new string here, instead
709 make hashcode of name, style, size and transform. Cache hashcode.
711 2007-09-20 Roman Kennke <roman.kennke@aicas.com>
713 * gnu/java/awt/font/GNUGlyphVector.java
714 (cleanOutline): New field, caches the untransformed outline.
715 (getOutline()): No need to validate here. Already done in
716 getOutline(float,float).
717 (getOutline(float,float)): Cache untransformed outlines. Protect
718 returned shape from modification by wrapping in ShapeWrapper
720 * gnu/java/awt/font/OpenTypeFontPeer.java: New class. Implements
721 ClasspathFontPeer for OpenType fonts.
722 * gnu/java/awt/java2d/AbstractGraphics2D.java
723 (DEFAULT_TEXT_AA): New constant/property for controlling
724 default anti-aliasing for text.
725 (GC_CACHE_SIZE): New constant for the size of the glyph vector
727 (shapeCache): Don't make shapeCache thread local. This wouldn't
728 gain much, because the event dispatch thread is restarted quite
730 (scanlineConverters): Don't make scanlineConverters thread local,
731 but instead pool them into a list.
732 (gvCache): New cache for glyph vectors.
733 (searchTextKey): New static field, a shared key used for GV caching.
734 (drawString): Cache glyph vectors.
735 (getFontRenderContext): Protect the current transform from beeing
737 (clone): Check clip for null when cloning.
738 (drawLine): Use shared shape cache. No need for calling a method here.
739 (drawRect): Likewise. Add translation to rectangle coordinates.
740 (fillRect): Use shared shape cache. No need for calling a method here.
741 (drawRoundRect): Likewise.
742 (fillRoundRect): Likewise.
743 (drawOval): Likewise.
744 (fillOval): Likewise.
747 (drawPolyline): Likewise.
748 (drawPolygon): Likewise.
749 (fillPolygon): Likewise.
750 (fillShape): Check property for default text AA. Set Y resolution.
751 (rawDrawLine): Use shared shape cache. No need for calling a method
753 (rawDrawRect): Likewise.
754 (rawFillRect): Likewise.
755 (rawDrawString): Removed. Subclasses override drawString() instead.
756 (getShapeCache): Removed. No longer needed.
757 (getScanlineConverter): New helper method for pooling
759 (freeScanlineConverter): New helper method for pooling
761 * gnu/java/awt/java2d/PixelCoverage.java: New class. Used by the
762 reworked scanline converter.
763 * gnu/java/awt/java2d/ScanlineConverter.java
764 (Y_RESOLUTION): Removed. The Y resolution is now specified
766 (yResolution): New field. Stores the Y resolution.
767 (renderShape): Take y resolution as argument.
768 (setResolution): Take y resolution as argument.
769 * gnu/java/awt/java2d/ShapeWrapper.java: New class. Protects
770 shape objects from modification by application code.
771 * gnu/java/awt/java2d/TextCacheKey.java: New class. Used for
772 caching GlyphVectors.
773 * gnu/java/awt/peer/x/XFontPeer2.java: Removed. This is now
774 implemented in OpenTypeFontPeer now.
775 * gnu/java/awt/peer/x/XEventPump.java
776 (handleEvent): Check insets.
777 * gnu/java/awt/peer/x/XFontPeer.java
778 Changed class and method names for changed Escher API.
779 (clinit): Use font properties from xfonts.properties.
780 (canDisplay): Changed to take int argument.
781 * gnu/java/awt/peer/x/XFramePeer.java
782 (XFramePeer): Set the title of the frame on creation time.
783 (setTitle): Implemented.
784 * gnu/java/awt/peer/x/XGraphics2D.java
785 (imageCache): New field. Caches native representations for
787 (drawString): New method. Optimized version for X fonts.
788 (fillScanline): Removed.
789 (fillScanlineAA): Removed.
790 (rawDrawImage): Optimized drawing for ZPixmap-backed images.
791 (rawDrawRect): Optimized rectangle drawing.
792 (renderScanline): Added compositing code.
793 (setFont): Overridden for X font support.
794 (setPaint): Added TODO.
795 * gnu/java/awt/peer/x/XGraphicsConfiguration.java
796 (getSize): New helper method for XToolkit.
797 (getResolution): New helper method for XToolkit.
798 * gnu/java/awt/peer/x/XGraphicsEnvironment.java
799 (getAvailableFontFamilyNames): Implemented.
800 * gnu/java/awt/peer/x/XToolkit.java
801 (fontCache): New field for caching fonts.
802 (getClasspathFontPeer): Cache fonts.
803 (getScreenSize): Implemented.
804 (getScreenResolution): Implemented.
805 (getFontList): Implemented.
806 (isModalExclusionTypeSupported): New method.
807 (isModalityTypeSupported): New method.
808 * gnu/java/awt/peer/x/XWindowPeer.java
809 (insets): New field for storing the insets of the frame.
810 (XWindowPeer): Set correct decoration.
811 (getGraphics): Set foreground, background and font.
812 (show): Determine the correct frame extents.
813 (reshape): Only resize when not inside callback.
814 (insets): Implemented correctly.
815 (getFontMetrics): Use OpenTypeFontPeer.
816 * gnu/java/awt/peer/x/ZPixmapDataBuffer.java
817 (getZPixmap): New method. This is used in XGraphics2D for drawing
819 * gnu/java/util/LRUCache.java: New class. Implements an LRU cache.
821 2007-09-19 Dalibor Topic <robilad@kaffe.org>
823 * native/jni/native-lib/Makefile.am
824 (AM_LDFLAGS) Use CLASSPATH_CONVENIENCE flags, as it is a convenience library.
826 2007-09-19 Dalibor Topic <robilad@kaffe.org>
828 * native/fdlibm/dtoa.c: Include stdlib.h to have a declaration for free.
830 2007-09-18 Dalibor Topic <robilad@kaffe.org>
832 * examples/gnu/classpath/examples/management/TestMemoryPool.java,
833 examples/gnu/classpath/examples/swing/DocumentFilterDemo.java,
834 examples/gnu/classpath/examples/swing/TableDemo.java,
835 gnu/CORBA/BigDecimalHelper.java,
836 gnu/CORBA/ByteArrayComparator.java,
837 gnu/CORBA/CollocatedOrbs.java,
838 gnu/CORBA/EmptyExceptionHolder.java,
839 gnu/CORBA/IorDelegate.java,
840 gnu/CORBA/OrbRestricted.java,
841 gnu/CORBA/ServiceRequestAdapter.java,
842 gnu/CORBA/gnuContextList.java,
843 gnu/CORBA/gnuExceptionList.java,
844 gnu/CORBA/gnuRequest.java,
845 gnu/CORBA/CDR/LittleEndianInputStream.java,
846 gnu/CORBA/DynAn/DivideableAny.java,
847 gnu/CORBA/DynAn/gnuDynArray.java,
848 gnu/CORBA/GIOP/CodeSetServiceContext.java,
849 gnu/CORBA/Interceptor/IORInterceptors.java,
850 gnu/CORBA/NamingService/NameParser.java,
851 gnu/CORBA/Poa/gnuPOAManager.java,
852 gnu/classpath/jdwp/event/filters/StepFilter.java,
853 gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java,
854 gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java,
855 gnu/java/awt/ClasspathToolkit.java,
856 gnu/java/awt/EmbeddedWindow.java,
857 gnu/java/awt/peer/KDEDesktopPeer.java,
858 gnu/java/awt/peer/gtk/CairoSurface.java,
859 gnu/java/awt/peer/swing/SwingCheckboxPeer.java,
860 gnu/java/awt/peer/swing/SwingTextAreaPeer.java,
861 gnu/java/awt/peer/swing/SwingTextFieldPeer.java,
862 gnu/java/awt/print/PostScriptGraphics2D.java,
863 gnu/java/awt/print/SpooledDocument.java,
864 gnu/java/io/PlatformHelper.java,
865 gnu/java/lang/management/BeanImpl.java,
866 gnu/java/locale/LocaleHelper.java,
867 gnu/java/net/protocol/http/Request.java,
868 gnu/java/nio/DatagramChannelImpl.java,
869 gnu/java/nio/KqueueSelectionKeyImpl.java,
870 gnu/java/nio/NIOSocket.java,
871 gnu/java/nio/ServerSocketChannelImpl.java,
872 gnu/java/nio/SocketChannelImpl.java,
873 gnu/java/rmi/server/RMIObjectInputStream.java,
874 gnu/java/util/regex/RE.java,
875 gnu/javax/imageio/bmp/DecodeBF16.java,
876 gnu/javax/imageio/bmp/EncodeRGB32.java,
877 gnu/javax/imageio/jpeg/JPEGDecoder.java,
878 gnu/javax/imageio/jpeg/JPEGException.java,
879 gnu/javax/imageio/jpeg/JPEGImageInputStream.java,
880 gnu/javax/imageio/png/PNGChunk.java,
881 gnu/javax/imageio/png/PNGEncoder.java,
882 gnu/javax/imageio/png/PNGFile.java,
883 gnu/javax/imageio/png/PNGGamma.java,
884 gnu/javax/net/ssl/SSLRecordHandler.java,
885 gnu/javax/net/ssl/StaticTrustAnchors.java,
886 gnu/javax/net/ssl/provider/CertificateRequestBuilder.java,
887 gnu/javax/net/ssl/provider/ClientHandshake.java,
888 gnu/javax/net/ssl/provider/ClientPSKParameters.java,
889 gnu/javax/net/ssl/provider/ClientRSA_PSKParameters.java,
890 gnu/javax/net/ssl/provider/ContentType.java,
891 gnu/javax/net/ssl/provider/EncryptedPreMasterSecret.java,
892 gnu/javax/net/ssl/provider/Handshake.java,
893 gnu/javax/net/ssl/provider/InputSecurityParameters.java,
894 gnu/javax/net/ssl/provider/OutputSecurityParameters.java,
895 gnu/javax/net/ssl/provider/ProtocolVersion.java,
896 gnu/javax/net/ssl/provider/Random.java,
897 gnu/javax/net/ssl/provider/SRPTrustManagerFactory.java,
898 gnu/javax/net/ssl/provider/ServerDHE_PSKParameters.java,
899 gnu/javax/net/ssl/provider/SessionImpl.java,
900 gnu/javax/net/ssl/provider/Signature.java,
901 gnu/javax/net/ssl/provider/SimpleSessionContext.java,
902 gnu/javax/net/ssl/provider/TLSHMac.java,
903 gnu/javax/net/ssl/provider/TrustedAuthorities.java,
904 gnu/javax/net/ssl/provider/UnresolvedExtensionValue.java,
905 gnu/javax/net/ssl/provider/X509KeyManagerFactory.java,
906 gnu/javax/security/auth/Password.java,
907 gnu/javax/sound/midi/dssi/DSSIMidiDeviceProvider.java,
908 gnu/javax/sound/midi/file/MidiFileWriter.java,
909 gnu/javax/sound/sampled/AU/AUReader.java,
910 gnu/javax/sound/sampled/gstreamer/GStreamerMixer.java,
911 gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReader.java,
912 gnu/javax/sound/sampled/gstreamer/io/GstAudioFileWriter.java,
913 gnu/xml/dom/html2/DomHTMLButtonElement.java,
914 gnu/xml/dom/html2/DomHTMLCollection.java,
915 gnu/xml/dom/html2/DomHTMLParser.java,
916 gnu/xml/stream/EndDocumentImpl.java,
917 gnu/xml/stream/SAXParser.java,
918 gnu/xml/stream/XIncludeFilter.java,
919 gnu/xml/stream/XMLEventImpl.java,
920 gnu/xml/transform/StreamSerializer.java,
921 gnu/xml/transform/Stylesheet.java,
922 gnu/xml/validation/datatype/Base64BinaryType.java,
923 gnu/xml/validation/datatype/BooleanType.java,
924 gnu/xml/validation/datatype/DecimalType.java,
925 gnu/xml/validation/datatype/DoubleType.java,
926 gnu/xml/validation/datatype/FloatType.java,
927 gnu/xml/validation/datatype/HexBinaryType.java,
928 gnu/xml/validation/datatype/NotationType.java,
929 gnu/xml/validation/datatype/SimpleType.java,
930 gnu/xml/validation/datatype/StringType.java,
931 gnu/xml/validation/datatype/Type.java,
932 gnu/xml/validation/datatype/TypeBuilder.java,
933 gnu/xml/validation/relaxng/FullSyntaxBuilder.java,
934 gnu/xml/validation/xmlschema/XMLSchemaAttributeTypeInfo.java,
935 gnu/xml/validation/xmlschema/XMLSchemaBuilder.java,
936 gnu/xml/validation/xmlschema/XMLSchemaElementTypeInfo.java,
937 gnu/xml/xpath/XPathParser.java,
938 java/awt/MenuShortcut.java,
939 java/awt/font/LineBreakMeasurer.java,
940 java/awt/font/TextMeasurer.java,
941 java/awt/image/BufferedImage.java,
942 java/beans/beancontext/BeanContextServicesSupport.java,
943 java/security/SecureClassLoader.java,
944 java/security/cert/CertificateFactory.java,
945 javax/imageio/metadata/IIOMetadataFormatImpl.java,
946 javax/imageio/stream/MemoryCacheImageInputStream.java,
947 javax/management/ObjectName.java,
948 javax/management/openmbean/ArrayType.java,
949 javax/net/ssl/HttpsURLConnection.java,
950 javax/print/attribute/standard/JobStateReasons.java,
951 javax/swing/RepaintManager.java,
952 javax/swing/plaf/basic/BasicDirectoryModel.java,
953 javax/swing/plaf/basic/BasicFileChooserUI.java,
954 javax/swing/plaf/basic/BasicLabelUI.java,
955 javax/swing/plaf/metal/MetalScrollButton.java,
956 javax/swing/table/DefaultTableCellRenderer.java,
957 javax/swing/text/ParagraphView.java,
958 javax/swing/text/html/ResetableToggleButtonModel.java,
959 javax/swing/text/html/parser/Entity.java,
960 javax/swing/tree/DefaultTreeCellRenderer.java,
961 javax/xml/datatype/DatatypeFactory.java,
962 javax/xml/stream/XMLEventFactory.java,
963 javax/xml/stream/XMLInputFactory.java,
964 org/omg/IOP/TaggedComponentHelper.java,
965 sun/reflect/annotation/ExceptionProxy.java,
966 tools/gnu/classpath/tools/appletviewer/Main.java,
967 tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java,
968 tools/gnu/classpath/tools/orbd/Main.java,
969 tools/gnu/classpath/tools/rmic/ClassRmicCompiler.java,
970 tools/gnu/classpath/tools/rmic/Main.java,
971 tools/gnu/classpath/tools/rmid/Main.java,
972 tools/gnu/classpath/tools/tnameserv/Main.java,
973 vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java,
974 vm/reference/java/lang/VMClass.java,
975 vm/reference/java/security/VMSecureRandom.java:
976 Removed unused imports.
978 2007-09-18 Dalibor Topic <robilad@kaffe.org>
980 * examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/StructureToPassHelper.java,
981 examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/StructureToReturnHelper.java,
982 examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/TreeNodeHelper.java,
983 examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/WeThrowThisExceptionHelper.java,
984 examples/gnu/classpath/examples/awt/AnimationApplet.java: Removed unused imports.
986 2007-09-18 Dalibor Topic <robilad@kaffe.org>
988 * .classpath: Reverted escher-specific changes that break
989 the build under Eclipse.
991 2007-09-16 Mark Wielaard <mark@klomp.org>
993 * examples/Makefile.am (JCOMPILER): Add tools.zip for ecj.
995 2007-09-14 Roman Kennke <roman@kennke.org>
997 * .classpath: Include javah in Eclipse build.
999 2007-09-13 David P Grove <groved@us.ibm.com>
1002 * native/fdlibm/fdlibm.h [_AIX]: Define _ALL_SOURCE
1003 rather than _XOPEN_SOURCE to fix build on AIX 5.
1005 2007-09-12 Robert Schuster <robertschuster@fsfe.org>
1007 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c:
1008 Add #ifndef guard around definition of _GNU_SOURCE.
1010 2007-09-12 Dalibor Topic <robilad@kaffe.org>
1012 * examples/Makefile.am, tools/Makefile.am
1013 (GLIBJ_CLASSPATH): Removed unnecessary paths to avoid
1014 using unix path separators on windows.
1015 (JCOMPILER) Don't add '.' to classpath for javac.
1016 Fixes the build on Cygwin.
1018 2007-09-11 Roman Kennke <roman@kennke.org>
1020 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
1021 Removed unused includes.
1022 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
1023 Removed unused includes.
1024 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
1025 Removed unusued excludes. Put Xrender includes in HAVE_XRENDER
1027 (flush): Use gdk_display_flush() instead of XFlush().
1028 (initState): Use GDK/Cairo functions to get cairo_t object.
1029 (initFromVolatile): Likewise.
1030 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
1031 Removed unused includes.
1032 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c
1033 Use HAVE_XTEST conditionals for code that uses XTest.
1034 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
1035 Removed unused includes.
1036 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
1037 Removed unused includes.
1038 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
1039 Removed unused includes.
1040 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1041 Removed unused includes. Rewrote frame-extents code to use
1042 gdk_window_get_frame_extents() rather than the X window properties
1044 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
1045 (initFromVolatile): Removed width and height parameters.
1046 * gnu/java/awt/peer/gtk/ComponentGraphics.java
1047 (initFromVolatile): Remove width and height parameters.
1048 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
1049 (VolatileImageGraphics): Use initFromVolatile without width and
1051 * configure.ac: Check for presence of XTest, and define HAVE_XTEST
1054 2007-09-08 Michael Koch <konqueror@gmx.de>
1056 * native/jni/midi-alsa/Makefile.am (AM_CFLAGS):
1057 Removed @ERROR_CFLAGS@ to not fail build with GCC 4.2.
1059 2007-09-05 Andrew Haley <aph@redhat.com>
1061 * gnu/javax/crypto/jce/DiffieHellmanImpl.java (engineDoPhase):
1062 Don't check the length of q.
1064 2007-08-30 Christian Thalinger <twisti@complang.tuwien.ac.at>
1066 * include/jni.h (jobjectRefType): New type.
1067 (JNI_VERSION_1_6): Added.
1068 (JNINativeInterface_): Added GetObjectRefType.
1069 (_Jv_JNIEnv): Likewise.
1071 2007-08-28 John X <johnx@dodgit.com>
1074 * java/math/BigInteger.java (isProbablePrime): Handle case of
1077 2007-08-24 Mark Wielaard <mark@klomp.org>
1079 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Regenerated.
1081 2007-08-23 Francis Kung <fkung@redhat.com>
1083 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
1084 (getLocationOnScreen): Check for GTK main thread.
1085 (gtkWidgetGetLocationOnScreenUnlocked): New native method.
1086 (gtkWindowGetLocationOnScreenUnlocked): New native method.
1087 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
1088 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWindowGetLocationOnScreen):
1089 Delegate to unlocked function.
1090 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWindowGetLocationOnScreenUnlocked):
1092 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetGetLocationOnScreen):
1093 Delegate to unlocked function.
1094 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetGetLocationOnScreenUnlocked):
1097 2007-08-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
1099 * java/util/EnumSet.java:
1101 (complementOf(EnumSet)): Fixed to flip only
1102 the bits used by the enumset.
1104 2007-08-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1106 * vm/reference/java/lang/VMClass.java:
1107 (getCanonicalName(Class)): Fix handling of member
1108 classes so we don't fall out of the if block.
1109 (getSimpleName(Class)): Handle class names which include
1110 the $ sign to break up anonymous/inner/member classes.
1112 2007-08-19 Mario Torre <neugens@limasoftware.net>
1114 * gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReader.java:
1115 (getAudioFileFormat (File)): method implemented.
1116 (getAudioFileFormat (InputStream)): likewise.
1117 (getAudioFileFormat(InputStream, String)): new method.
1118 (getAudioInputStream): better exception handling.
1119 * gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReaderNativePeer.java
1120 (getAudioFormat): added basic extension detection for known files.
1121 * gnu/javax/sound/sampled/gstreamer/GStreamerMixer.java:
1122 (BASIC_FORMATS): removed, unused.
1123 (GST_TYPE_NAME): new constant.
1124 (GST_FILE_EXTENSION): likewise.
1126 2007-08-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1128 * resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader:
1130 * resource/META-INF/services/javax.sound.sampled.spi.MixerProvider:
1132 * resource/META-INF/services/.cvsignore: Updated to reflect this.
1134 2007-08-19 Mario Torre <neugens@limasoftware.net>
1136 * native/jni/gstreamer-peer/gst_native_pipeline.c:
1137 (init_pointer_IDs): fix typo that prevents compilation on 64 bit systems.
1139 2007-08-19 Mario Torre <neugens@limasoftware.net>
1141 * resource/META-INF/services/javax.sound.sampled.spi.MixerProvider:
1142 regenerated to avoid listing by default of the
1143 gnu.javax.sound.sampled.gstreamer.GStreamerMixerProvider class, as the
1144 GStreamer Sound peer is not enabled unless specified at configure time.
1146 2007-08-18 Mario Torre <neugens@limasoftware.net>
1148 * examples/gnu/classpath/examples/sound/AudioPlayerSample.java: new file.
1149 * gnu/javax/sound/sampled/gstreamer/GStreamerMixer.java: removed
1151 * gnu/javax/sound/sampled/gstreamer/io/GstAudioFileWriter.java: likewise.
1152 * gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReaderNativePeer.java:
1153 (gstreamer_get_audio_format_stream): changed signature tu accept a Pointer
1154 object instead of a BufferedInputStream.
1156 (getAudioFormat(InputStream, GstHeader)): new private method.
1157 (getAudioFormat(public)): refactored to use the private getAudioFormat
1158 with shared functionality.
1159 (getAudioFormat(GstHeader header)): removed a redundant check.
1160 (init_id_cache): new native method.
1161 * gnu/javax/sound/sampled/gstreamer/io/GstInputStream.java: new file.
1162 * gnu/javax/sound/sampled/gstreamer/lines/GstDataLine.java:
1163 (GstDataLine.State): removed enum.
1164 (state): removed local variable.
1165 (isRunning): removed method.
1167 (setFormat): new methods.
1168 (setOpen): likewise.
1169 (setBufferSize): likewise.
1170 * gnu/javax/sound/sampled/gstreamer/lines/GstNativeDataLine.java:
1171 (createSourcePipeline): new method.
1172 (setup_sink_pipeline): likewise.
1173 (init_id_cache): likewise. Added to the static initializer.
1174 * gnu/javax/sound/sampled/gstreamer/lines/GstPipeline.java:
1175 (GstPipeline.State): new enum.
1176 (state): new local variable.
1181 (getState): new method.
1182 (closePipe): likewise.
1183 (create_named_pipe): likewise.
1184 (set_state): likewise.
1185 (available): likewise.
1187 (GstPipeline): likewise.
1189 (prepareWrite): likewise.
1192 (init_instance): likewise.
1194 (createForWrite): likewise.
1195 (setState): likewise.
1196 (getNativeClass): likewise.
1197 (init_id_cache): likewise.
1198 * gnu/javax/sound/sampled/gstreamer/lines/GstSourceDataLine.java:
1199 (pipeline): new local variable.
1201 (isActive): method implemented.
1205 (isRunning): likewise.
1208 (available): likewise.
1211 * include/Makefile.am: added entry to generate new header file.
1212 * include/gnu_javax_sound_sampled_gstreamer_io_GstAudioFileReaderNativePeer.h:
1214 * include/gnu_javax_sound_sampled_gstreamer_io_GstInputStream.h: likewise.
1215 * include/gnu_javax_sound_sampled_gstreamer_lines_GstNativeDataLine.h:
1217 * include/gnu_javax_sound_sampled_gstreamer_lines_GstPipeline.h:
1219 * native/jni/gstreamer-peer/gstclasspathsrc.c: removed.
1220 * native/jni/gstreamer-peer/gstinputstream.c: likewise.
1221 * native/jni/gstreamer-peer/GStreamerIOPeer.c: likewise.
1222 * native/jni/gstreamer-peer/gstinputstream.h: likewise.
1223 * native/jni/gstreamer-peer/gstclasspathsrc.h: likewise.
1224 * native/jni/gstreamer-peer/Makefile.am: new file added for compilation.
1225 code reformat to keep the 80 columns constraint.
1226 * native/jni/gstreamer-peer/gst_native_pipeline.h: new file.
1227 * native/jni/gstreamer-peer/gst_input_stream.c: likewise.
1228 * native/jni/gstreamer-peer/gst_input_stream.h: likewise.
1229 * native/jni/gstreamer-peer/gst_classpath_src.c: likewise.
1230 * native/jni/gstreamer-peer/gst_native_pipeline.c: likewise.
1231 * native/jni/gstreamer-peer/gst_native_data_line.c: likewise.
1232 * native/jni/gstreamer-peer/gst_classpath_src.h: likewise.
1233 * native/jni/gstreamer-peer/gstreamer_io_peer.c: likewise.
1234 * native/jni/gstreamer-peer/gst_peer.c: likewise.
1235 * native/jni/gstreamer-peer/gst_peer.h: likewise.
1237 2007-08-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
1239 * NEWS: Update with info on VM changes.
1240 * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
1241 (getHeapMemoryUsage()): New default implementation.
1242 (getNonHeapMemoryUsage()): Likewise.
1244 2007-08-15 Tom Tromey <tromey@redhat.com>
1246 * java/util/LinkedHashSet.java (LinkedHashSet): Fix typo.
1248 2007-08-15 Tom Tromey <tromey@redhat.com>
1250 * java/lang/Class.java (internalGetFields): Use LinkedHashSet.
1252 2007-08-08 Mario Torre <neugens@limasoftware.net>
1254 * java/io/PipedInputStream.java:
1255 (buffer): variable now initialized in constructors.
1256 (PipedInputStream(int)): new constructor, creates the buffer
1257 storage of size int.
1258 (PipedInputStream()): now calls PipedInputStream(int) with
1260 (PipedInputStream(PipedOutputStream)): now calls PipedInputStream().
1261 (PipedInputStream(PipedOutputStream, int)): new constructor.
1263 2007-07-31 Christian Thalinger <twisti@complang.tuwien.ac.at>
1265 * tools/gnu/classpath/tools/javah/Main.java (writeHeaders):
1266 Renamed filename to file.
1267 * tools/gnu/classpath/tools/javah/CniIncludePrinter.java
1268 (printClass): Likewise.
1269 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
1270 (printClass): Replace '$' with '_' in filename.
1272 2007-07-31 Dalibor Topic <robilad@kaffe.org>
1275 * java/util/EnumSet.java:
1276 Made class abstract per API spec.
1277 (size, iterator, add, addAll, clear, contains,
1278 containsAll, remove, removeAll, retainAll) Moved
1279 into an anonymous inner class in of(T).
1280 (allOf, noneOf, copyOf, of, range) Made more
1281 implementation independent.
1282 (of(T)) return an instance of an anonymous class
1283 implementing EmptySet.
1285 2007-07-28 Matthias Klose <doko@ubuntu.com>
1287 * include/jvmti.h (jniNativeInterface): Rename type.
1289 2007-07-28 Chris Burdess <dog@gnu.org>
1292 * gnu/xml/stream/XMLParser.java: don't call next() during hasNext().
1294 2007-07-24 Tom Tromey <tromey@redhat.com>
1297 * java/util/EnumMap.java (get): Special case emptySlot.
1300 2007-07-23 Christian Thalinger <twisti@complang.tuwien.ac.at>
1302 * gnu/java/nio/charset/ISO_8859_1.java: Added ISO8859-1 to
1305 2007-07-23 Christian Thalinger <twisti@complang.tuwien.ac.at>
1307 * vm/reference/sun/misc/Unsafe.java (unpark): Changed signature to
1308 be compatible with OpenJDK.
1310 2007-07-13 Roman Kennke <roman@kennke.org>
1312 * gnu/java/awt/java2d/AbstractGraphics2D.java
1313 (clip(Shape)): Call setClip when the clip changes.
1314 (drawImage): Add translation.
1315 (drawLine): Add translation.
1316 * gnu/java/awt/peer/x/PixmapVolatileImage.java
1317 (getPixmap): New method.
1318 * gnu/java/awt/peer/x/XEventPump.java
1319 (XEventPump): Name thread. Start as daemon thread.
1320 * gnu/java/awt/peer/x/XGraphics2D.java
1321 (rawDrawImage): Special handling for PixmapVolatileImage.
1322 (rawDrawLine): Don't add translation here. This is done in
1324 (rawFillRect): Don't add translation here. This is done in
1326 (renderScanline): Added null check.
1328 2007-07-13 Roman Kennke <roman@kennke.org>
1330 * gnu/java/awt/peer/x/PixmapVolatileImage.java: New class.
1331 * gnu/java/awt/peer/x/XGraphicsConfiguration.java
1332 (createCompatibleImage(int,int)): Delegate to the 3-int overload.
1333 (createCompatibleImage(int,int,int)): Implemented. Using
1334 the ZPixmapDataBuffer for OPAQUE images.
1335 (createCompatibleVolatileImage(int,int)): Delegate to the 3-int
1337 (createCompatibleVolatileImage(int,int,int)): Implemented. Using
1338 PixmapVolatileImage.
1339 * gnu/java/awt/peer/x/XWindowPeer.java
1340 (createImage): Return a PixmapVolatileImage (for now).
1341 (createVolatileImage): Implemented, using PixmapVolatileImage.
1342 * gnu/java/awt/peer/x/ZPixmapDataBuffer.java
1345 2007-07-10 Roman Kennke <roman@kennke.org>
1348 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
1349 (copyPixbuf): Swap asserts.
1351 2007-07-09 Chris Burdess <dog@gnu.org>
1354 * gnu/xml/dom/DomElement.java,
1355 * gnu/xml/dom/DomNamedNodeMap.java: don't check owner in
1356 setNamedNode when cloning.
1358 2007-07-08 Mario Torre <neugens@limasoftware.net>
1360 * gnu/javax/sound/sampled/gstreamer: new package hierarchy.
1361 * gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReader.java: new file.
1362 * gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReaderNativePeer.java:
1364 * gnu/javax/sound/sampled/gstreamer/lines/GstDataLine.java: likewise.
1365 * gnu/javax/sound/sampled/gstreamer/GStreamerMixer.java: likewise.
1366 * gnu/javax/sound/sampled/gstreamer/GStreamerMixerProvider.java: likewise.
1367 * gnu/javax/sound/AudioSecurityManager.java: likewise.
1368 * gnu/javax/sound/sampled/gstreamer/lines/GstNativeDataLine.java: likewise.
1369 * gnu/javax/sound/sampled/gstreamer/lines/GstSourceDataLine.java: likewise.
1370 * gnu/javax/sound/sampled/gstreamer/lines/GstPipeline.java: likewise.
1371 * gnu/javax/sound/sampled/gstreamer/io/GstAudioFileWriter.java: likewise.
1372 * resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader.in:
1374 * resource/META-INF/services/javax.sound.sampled.spi.MixerProvider.in:
1376 * resource/META-INF/services/javax.sound.sampled.spi.MixerProvider:
1378 * native/jni/gstreamer-peer/gstclasspathsrc.c: likewise.
1379 * native/jni/gstreamer-peer/gstclasspathsrc.h: likewise.
1380 * native/jni/gstreamer-peer/gstinputstream.c: likewise.
1381 * native/jni/gstreamer-peer/gstinputstream.h: likewise.
1382 * native/jni/gstreamer-peer/GStreamerIOPeer.c: likewise.
1383 * native/jni/gstreamer-peer/Makefile.am: likewise.
1384 * native/jni/gstreamer-peer/.cvsignore: likewise.
1385 * include/gnu_javax_sound_sampled_gstreamer_io_GstAudioFileReaderNativePeer.h:
1387 * include/Makefile.am: add gstreamer generated headers.
1388 * configure.ac: add gstreamer sound backend configuration.
1389 The backend is currently disabled by default.
1390 * native/jni/Makefile.am: code to allow compilation of the gstreamer
1392 * javax/sound/sampled/spi/MixerProvider.java (isMixerSupported):
1394 * javax/sound/sampled/AudioFormat.java (toString): fix method to display
1395 informations only when available.
1396 * javax/sound/sampled/DataLine.java:
1397 (Info.isFormatSupported): indentation fixes.
1398 (Info): indentation fixes.
1399 (Info.toString): indentation fixes.
1400 (Info.matches): indentation fixes.
1402 2007-07-03 Tania Bento <tbento@redhat.com>
1404 * java/lang/Integer.java:
1405 (parseInt(String,int,boolean)): Throw NumberFormatException if
1408 2007-07-01 Chris Burdess <dog@gnu.org>
1410 * gnu/xml/transform/WithParam.java: Handle case where content is
1413 2007-06-28 Tom Tromey <tromey@redhat.com>
1415 * include/jni.h: Fixed local variables.
1417 2007-06-26 Ito Kazumitsu <kaz@maczuka.gcd.org>
1419 * ChangeLog: Correction of a bug fix number.
1421 2007-06-25 Roman Kennke <roman@kennke.org>
1423 * gnu/java/awt/peer/ClasspathFontPeer.java
1424 (canDisplay): Take character as integer codepoint.
1425 * gnu/java/awt/peer/gtk/GdkFontPeer.java
1426 (canDisplay): Take character as integer codepoint.
1427 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1428 (postMouseEvent): Use MouseEvent constructor with absolute coordinates
1429 to avoid deadlock (over getLocationOnScreen()).
1430 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
1431 (getDeviceConfiguration): Fall back to the default configuration
1432 if the component is not set.
1433 * gnu/java/awt/peer/qt/QtFontMetrics.java
1434 (canDisplay): Take character as integer codepoint.
1435 * gnu/java/awt/peer/qt/QtFontPeer.java
1436 (canDisplay): Take character as integer codepoint.
1437 * gnu/java/awt/peer/x/XFontPeer2.java
1438 (canDisplay): Take character as integer codepoint.
1439 * include/gnu_java_awt_peer_qt_QtFontMetrics.h
1440 (canDisplay): Take character as integer codepoint.
1441 * java/awt/Font.java
1442 (DIALOG): New constant.
1443 (DIALOG_INPUT): New constant.
1444 (MONOSPACED): New constant.
1445 (SANS_SERIF): New constant.
1446 (SERIF): New constant.
1447 (Font(Font)): New constructor.
1448 (canDisplay(char)): Use new canDisplay(int) method.
1449 (canDisplay(int)): New method.
1450 (hasLayoutAttributes): New method.
1451 * java/awt/event/MouseEvent.java
1452 (absX,absY): New fields.
1453 (MouseEvent): New constructor with absolute coordinates.
1454 (getLocationOnScreen): New method.
1455 (getXOnScreen): New method.
1456 (getYOnScreen): New method.
1457 * native/jni/qt-peer/qtfontmetrics.cpp
1458 (canDisplay): Take character as integer codepoint.
1460 2007-06-25 Mark Wielaard <mark@klomp.org>
1462 * native/jni/native-lib/cpnet.c
1463 (cpnet_aton) Moved variable declaration of inet6_addr so it is
1464 actually in the scope of its use.
1466 2007-06-25 Dalibor Topic <robilad@kaffe.org>
1468 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
1469 (THROW_NO_IPV6): New macro.
1470 (Java_gnu_java_net_VMPlainSocketImpl_bind6) Conditionally
1471 build code if IPv6 facilities are available, otherwise
1473 (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface6,
1474 Java_gnu_java_net_VMPlainSocketImpl_join6,
1475 Java_gnu_java_net_VMPlainSocketImpl_leave6,
1476 Java_gnu_java_net_VMPlainSocketImpl_joinGroup6,
1477 Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6)
1480 * native/jni/java-net/java_net_VMInetAddress.c
1481 (Java_java_net_VMInetAddress_getHostByAddr,
1482 Java_java_net_VMInetAddress_getHostByName,
1483 Java_java_net_VMInetAddress_aton) Build IPv6 dependant
1484 code conditionally on IPv6 facilities being available.
1485 Switched if-else blocks where necessary to allow that.
1487 * native/jni/java-net/javanet.c
1488 (_javanet_get_ip_netaddr) Build IPv6 dependant code conditionally
1489 on IPv6 facilities being available.
1491 * native/jni/native-lib/cpnet.c
1492 (cpnet_getHostByName, cpnet_getHostByAddr) Build IPv6 dependant
1493 code conditionally on IPv6 facilities being available.
1494 (cpnet_aton) Moved variable declaration of inet6_addr to the scope
1495 of its use. Build IPv6 dependant code conditionally
1496 on IPv6 facilities being available.
1498 * native/jni/native-lib/cpnet.h (cpnet_newIPV6Address,
1499 cpnet_isIPV6Address, cpnet_IPV6AddressToBytes,
1500 cpnet_bytesToIPV6Address): Make IPv6 dependant utility functions
1501 available conditionally on IPv6 facilities being available.
1503 2007-06-25 Dalibor Topic <robilad@kaffe.org>
1505 * m4/acinclude.m4 (CLASSPATH_CHECK_JAVAC): If the user passes an
1506 explicit argument to configure, just use it, and don't attempt to
1507 run AC_CHECK_PROG. This makes --with-javac="javac -J-Xmx512M" work.
1509 2007-06-25 Dalibor Topic <robilad@kaffe.org>
1511 * configure.ac: Check for MSG_WAITALL, since it does not exist on
1514 * native/jni/java-nio/gnu_java_nio_VMChannel.c
1515 (Java_gnu_java_nio_VMChannel_receive): Define MSG_WAITALL as 0 if
1518 2007-06-24 Ito Kazumitsu <kaz@maczuka.gcd.org>
1521 * native/jni/java-nio/gnu_java_nio_VMChannel.c
1522 (Java_gnu_java_nio_VMChannel_available): Retry using fstat if ioctl
1525 2007-06-22 Tania Bento <tbento@redhat.com>
1527 * java/util/Currency.java:
1528 (getInstance (Locale)): Check that the country of the
1529 locale given is valid. If it is not, throw an
1530 IllegalArgumentException.
1532 2007-06-22 Roman Kennke <roman@kennke.org>
1534 * gnu/java/awt/peer/GLightweightPeer.java
1535 * gnu/java/awt/peer/gtk/GdkRobotPeer.java
1536 * gnu/java/awt/peer/gtk/GtkCompoonentPeer.java
1537 * gnu/java/awt/peer/gtk/GtkFramePeer.java
1538 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
1539 * gnu/java/awt/peer/qt/QtComponentPeer.java
1540 * gnu/java/awt/peer/qt/QtFramePeer.java
1541 * gnu/java/awt/peer/qt/QtWindowPeer.java
1542 * gnu/java/awt/peer/swing/SwingComponentPeer.java
1543 * gnu/java/awt/peer/swing/SwingWindowPeer.java
1544 * gnu/java/awt/peer/x/XFramePeer.java:
1545 Removed @Override annotations from some interface implementation
1546 methods to ensure 1.5 compatibility.
1548 2007-06-22 Christian Thalinger <twisti@complang.tuwien.ac.at>
1550 * include/jni.h (JNINativeInterface): Renamed to
1551 JNINativeInterface_, added const to arguments where necessary.
1552 (JNIInvokeInterface): Renamed to JNIInvokeInterface_.
1554 2007-06-22 Roman Kennke <roman@kennke.org>
1556 * sun/awt/CausedFocusEvent.java: New class. Needed for compatibility
1558 * java/awt/Dialog.java
1559 (ModalExclusionType): New enum.
1560 (ModalityType): New enum.
1561 * java/awt/Toolkit.java
1562 (isModalExclusionTypeSupported): New abstract method.
1563 (isModalityTypeSupported): New abstract method.
1564 * java/awt/peer/ComponentPeer.java
1565 (requestFocus): New method.
1566 * java/awt/peer/FramePeer.java
1567 (getBoundsPrivate): New method.
1568 * java/awt/peer/RobotPeer.java
1569 (dispose): New method.
1570 * java/awt/peer/WindowPeer.java
1571 (setAlwaysOnTop): New method.
1572 (updateFocusableWindowState): New method.
1573 (setModalBlocked): New method.
1574 (updateMinimumSize): New method.
1575 (updateIconImages): New method.
1576 * gnu/java/awt/peer/GLightweightPeer.java
1577 (requestFocus): New method.
1578 * gnu/java/awt/peer/gtk/GdkRobotPeer.java
1579 (dispose): New method.
1580 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1581 (requestFocus): New method.
1582 * gnu/java/awt/peer/gtk/GtkFramePeer.java
1583 (getBoundsPrivate): New method.
1584 * gnu/java/awt/peer/gtk/GtkToolkit.java
1585 (isModalExclusionTypeSupported): New method.
1586 (isModalityTypeSupported): New method.
1587 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
1588 (updateIconImages): New method.
1589 (updateMinimumSize): New method.
1590 (setModalBlocked): New method.
1591 (updateFocusableWindowState): New method.
1592 (setAlwaysOnTop): New method.
1593 * gnu/java/awt/peer/headless/HeadlessToolkit.java
1594 (isModalExclusionTypeSupported): New method.
1595 (isModalityTypeSupported): New method.
1596 * gnu/java/awt/peer/qt/QtComponentPeer.java
1597 (requestFocus): New method.
1598 * gnu/java/awt/peer/qt/QtFramePeer.java
1599 (getBoundsPrivate): New method.
1600 * gnu/java/awt/peer/qt/QtToolkit.java
1601 (isModalExclusionTypeSupported): New method.
1602 (isModalityTypeSupported): New method.
1603 * gnu/java/awt/peer/qt/QtWindowPeer.java
1604 (updateIconImages): New method.
1605 (updateMinimumSize): New method.
1606 (setModalBlocked): New method.
1607 (updateFocusableWindowState): New method.
1608 (setAlwaysOnTop): New method.
1609 * gnu/java/awt/peer/swing/SwingComponentPeer.java
1610 (requestFocus): New method.
1611 * gnu/java/awt/peer/swing/SwingToolkit.java
1612 (isModalExclusionTypeSupported): New method.
1613 (isModalityTypeSupported): New method.
1614 * gnu/java/awt/peer/swing/SwingWindowPeer.java
1615 (updateIconImages): New method.
1616 (updateMinimumSize): New method.
1617 (setModalBlocked): New method.
1618 (updateFocusableWindowState): New method.
1619 (setAlwaysOnTop): New method.
1620 * gnu/java/awt/peer/x/XFramePeer.java
1621 (getBoundsPrivate): New method.
1622 * gnu/java/awt/peer/x/XToolkit.java
1623 (isModalExclusionTypeSupported): New method.
1624 (isModalityTypeSupported): New method.
1626 2007-06-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
1628 * tools/Makefile.am:
1629 Compile in com.sun.tools.javah
1630 * tools/com/sun/tools/javah/Main.java:
1631 Javah Sun-->Classpath wrapper.
1633 2007-06-21 Christian Thalinger <twisti@complang.tuwien.ac.at>
1635 * javax/swing/text/html/parser/AttributeList.java (getValues):
1636 Check if values is null.
1638 2007-06-21 Roman Kennke <roman@kennke.org>
1640 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c,
1641 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c,
1642 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
1643 Fix some type signatures.
1644 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:
1647 2007-06-21 Jeroen Frijters <jeroen@frijters.net>
1649 * java/io/ObjectStreamClass.java (getClassUID): Return 0L for
1652 2007-06-21 Jeroen Frijters <jeroen@frijters.net>
1654 * java/net/URLClassLoader.java
1655 (URLClassLoader(URL[],ClassLoader,URLStreamHandlerFactory):
1656 Add factory to cache before calling addURLS.
1657 (run): Don't call initCause() on ClassNotFoundException.
1659 2007-06-21 Jeroen Frijters <jeroen@frijters.net>
1662 * java/lang/reflect/Array.java
1663 (newInstance(Class,int[])): Call createMultiArray correctly.
1664 (createMultiArray): Fixed dimensions processing order.
1666 2007-06-21 Jeroen Frijters <jeroen@frijters.net>
1668 * gnu/java/net/loader/URLLoader.java
1669 (URLLoader(URLClassLoader,URLStreamHandlerCache,
1670 URLStreamHandlerFactory,URL,URL)): Disabiguate CodeSource constructor
1672 * java/awt/AWTKeyStroke.java
1673 (LinkedHashMap.removeEldestEntry): Use Map.Entry to fix compile
1674 error when compiled against OpenJDK java.util package.
1675 * java/awt/AlphaComposite.java
1676 (LinkedHashMap.removeEldestEntry): Use Map.Entry to fix compile
1677 error when compiled against OpenJDK java.util package.
1679 2007-06-21 Jeroen Frijters <jeroen@frijters.net>
1681 * gnu/java/security/Engine.java
1682 (getInstance(String,String,Provider,Object[]): Use correctly cased
1685 2007-07-19 Keith Seitz <keiths@redhat.com>
1687 * classpath/gnu/classpath/jdwp/value/StringValue.java
1688 (StringValue): Tag of StringValue is STRING not OBJECT.
1689 (write): String values are written to the wire as tag byte
1690 and object ID, not JdwpString.
1692 2007-07-19 Keith Seitz <keiths@redhat.com>
1694 * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
1695 (executeInvokeMethod): No need to use ValueFactory any more;
1696 MethodResult.getReturnedValue now returns a Value.
1697 (executeNewInstance): Double-check that return result is
1698 an ObjectValue; throw JdwpInternalErrorException if it is not.
1699 (invokeMethod): Method IDs come from VMMethod, not VMIdManager.
1700 Arguments are Values not Objects.
1701 Use ValueFactory to create arguments.
1702 Pass invocation options to VMVirtualMachine.executeMethod.
1703 Don't do any thread suspend/resume work: VMVM.executeMethod
1704 will take care of it.
1705 * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java
1706 (executeInvokeMethod): Method IDs come from VMMethod, not
1708 Arguments should be Values instead of Objects.
1709 Use ValueFactory to create Values.
1710 Remove specific option handling and pass options to
1711 VMVirtualMachine.executeMethod.
1712 Remove thread suspension.
1713 Use MethodResult.getReturnedValue to get method's result.
1714 * gnu/classpath/jdwp/util/MethodResult.java
1715 (returnedValue): Change type to Value.
1716 (thrownException): Change type to Throwable.
1718 (MethodResult): New constructor.
1719 (setReturnedValue): Remove.
1720 (SetThrownException): Remove.
1721 (getResultType): Remove.
1722 (setResultType): Remove.
1723 * gnu/classpath/jdwp/value/ObjectValue.java (getValue):
1725 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
1726 (executeMethod): Replace "nonVirtual" parameter with more
1727 generic "options" parameter.
1728 Replace java.lang.reflect.Method parameter with VMMethod.
1729 Replace Objet[] parameter with Value[] parameter.
1731 2007-07-10 Dalibor Topic <robilad@kaffe.org>
1733 * configure.ac (FOUND_CACAO): Removed.
1735 2007-06-01 Robin Garner <robin.garner@anu.edu.au>
1738 * gnu/xml/dom/DomNode.java: Correct concurrency problem when deep
1741 2007-05-30 Mark Wielaard <mark@klomp.org>
1743 Fixes bug #32030 reported by Steve.Blackburn@anu.edu.au
1744 * native/jni/java-nio/gnu_java_nio_VMChannel.c
1745 (Java_gnu_java_nio_VMChannel_open): Only set O_TRUNC when
1746 CPNIO_APPEND is not, but O_WRONLY is set.
1748 2007-05-25 Robert Schuster <robertschuster@fsfe.org>
1750 * gnu/java/awt/peer/x/XGraphics2D.java:
1751 (rawDrawLine): Added addition of translation.
1752 (rawFillRect): Dito.
1754 2007-05-25 Robert Schuster <robertschuster@fsfe.org>
1756 * gnu/java/awt/font/opentype/OpenTypeFont.java:
1757 (getGlyphIndex): Call getGlyphCharMap() instead of
1758 accessing cmap field directly.
1760 2007-05-24 Ito Kazumitsu <kaz@maczuka.gcd.org>
1762 * native/jni/java-nio/gnu_java_nio_VMChannel.c
1763 (Java_gnu_java_nio_VMChannel_available): Use fstat or select as an
1764 alternative to ioctl.
1765 * native/jni/native-lib/cpio.c(cpio_availableBytes): Corrected typo.
1767 2007-05-24 Roman Kennke <roman@kennke.org>
1769 * gnu/java/math/Fixed.java
1770 (trunc): New method.
1772 2007-05-24 Roman Kennke <roman@kennke.org>
1774 * gnu/java/awt/java2d/AbstractGraphics2D.java
1775 (fillShape): Pass rendering hints to scanline converter.
1776 * gnu/java/awt/java2d/ScanlineConverter.java
1777 (ONE): New constant for the number 1 as fixed point number.
1778 (Y_RESOLUTION): New constant for the Y resolution.
1779 (doScanline): Handle the Y resolution.
1780 (renderShape): Accept rendering hints.
1781 (setResolution): Adjust maximum resolution with Y resolution.
1782 * gnu/java/awt/java2d/ScanlineCoverage.java
1783 (Iterator.handledPixelCoverage): New field.
1784 (Iterator.next): Handle single pixel coverage.
1785 (Iterator.hasNext): Handle single pixel coverage.
1786 (Iterator.reset): Reset single pixel coverage.
1787 (Range.toString): New method.
1788 (Coverage.pixelCoverage): New field.
1789 (add): Include Y (pixel) coverage.
1790 (findOrInsert): Reset Y coverage in reused entries.
1792 2007-05-24 Roman Kennke <roman@kennke.org>
1794 * gnu/java/awt/java2d/ScanlineCoverage.java
1795 (Iterator): New class.
1797 (Coverage.covDelta): Made field package private.
1798 (Coverage.xPos): Made field package private.
1799 (iterator): New field. Stores the iterator that is reused.
1800 (ScanlineCoverage): Initialize iterator.
1801 (assertion): Removed.
1802 (isEmpty): Refined conditions.
1803 (iterate): Return Iterator instance.
1804 (next): Removed. This is done by the Iterator class now.
1806 * gnu/java/awt/java2d/ScanlineConverter.java
1808 * gnu/java/awt/peer/x/XGraphics2D.java
1809 (renderScanline): Adjust to new coverage iterator stuff.
1810 * gnu/java/awt/java2d/AbstractGraphics2D.java
1811 (renderScanline): Adjust to new coverage iterator stuff.
1813 2007-05-23 Jeroen Frijters <jeroen@frijters.net>
1815 * java/util/Arrays.java
1816 (copyOfRange(T,int,int)): Fixed to instantiate right array type.
1818 2007-05-22 Robert Schuster <robertschuster@fsfe.org>
1820 * gnu/java/awt/peer/x/XEventQueue.java:
1821 (handleEvent): Calculate modifier value for mouse presse
1822 and release events, clip button values.
1823 (buttonToModifier): New method.
1824 * gnu/java/awt/peer/x/KeyboardMapping.java:
1825 (mapModifiers): Added cases for alt gr and the meta key.
1827 2007-05-22 Robert Schuster <robertschuster@fsfe.org>
1829 * gnu/java/awt/peer/x/XEventQueue.java:
1830 (handleEvent): Use Input.event_window_id for
1831 key presses/releases.
1833 2007-05-22 Robert Schuster <robertschuster@fsfe.org>
1835 * gnu/java/awt/peer/x/XEventQueue.java:
1836 (handleEvent): Use Input.event_window_id instead of
1837 Input.child_window_id for mouse presses/releases &
1840 2007-05-22 Roman Kennke <roman@kennke.org>
1842 * gnu/java/awt/peer/x/XFontPeer2.java
1843 (XFontMetrics.charWidth): Use cached Point2D instance.
1844 * gnu/java/awt/peer/x/XGraphics2D.java
1845 (renderScanline): New method. Renders a scanline according to
1846 the coverage information.
1847 (setPaint): Call super, so that the state is updated correctly.
1849 2007-05-19 Andreas Tobler <a.tobler@schweiz.org>
1852 * m4/ax_create_stdint_h.m4: Apply patch from PR31659.
1854 2007-05-18 Andreas Tobler <a.tobler@schweiz.org>
1856 * autogen.sh (have_libtool): Update comments for Darwin.
1858 2007-05-18 Roman Kennke <roman@kennke.org>
1860 * gnu/java/awt/java2d/AbstractGraphics2D.java
1861 (fillScanlineAA): Removed. Replaced by renderScanline().
1862 (fillScanline): Dito.
1863 (renderScanline): New method. Renders a scanline according to
1864 the coverage information from the scanline converter.
1865 * gnu/java/awt/java2d/Pixelizer.java: New interface. Describes
1866 the targets of the rasterizer.
1867 * gnu/java/awt/java2d/ScanlineConverter.java
1868 (alphaRes): Removed.
1870 (scanlineCoverage): New field. Manages the coverage information.
1871 (scanlinesPerPixel): Removed.
1872 (scanlineXCov): Removed.
1873 (scanlineYCov): Removed.
1875 (ScanlineConverter): Initialize scanline coverage data structure.
1876 (clear): Also clear the scanline coverage.
1877 (doScanline): Work with Pixelizer objects.
1878 Use the ScanlineCoverage datastructure.
1879 (main): New method. Performs some tests.
1880 (renderShape): Work with pixelizer objects rather than directly
1881 on AbstractGraphic2D. Adjust to use ScanlineCoverage datastructure.
1882 (setResolution): Set resolution on ScanlineCoverage data too.
1883 * gnu/java/awt/java2d/ScanlineCoverage.java: New class. Stores
1884 and manages scanline coverage information.
1886 2007-05-14 Andrew John Hughes <gnu_andrew@member.fsf.org>
1888 * java/rmi/MarshelledObject.java,
1889 * java/rmi/activation/Activatable.java,
1890 * java/rmi/activation/ActivationDesc.java,
1891 * java/rmi/activation/ActivationGroup.java,
1892 * java/rmi/activation/ActivationGroupDesc.java,
1893 * java/rmi/activation/ActivationInstantiator.java,
1894 * java/rmi/activation/ActivationMonitor.java,
1895 * java/rmi/activation/Activator.java:
1898 2007-05-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
1901 Check if nsl library is needed for inet_pton.
1902 * tools/gappletviewer.in,
1904 * tools/gjarsigner.in,
1906 * tools/gkeytool.in,
1907 * tools/gnative2ascii.in,
1911 * tools/grmiregistry.in,
1912 * tools/gserialver.in,
1913 * tools/gtnameserv.in:
1914 Remove spaces around '=' in setting of datarootdir.
1916 2007-05-11 Kyle Galloway <kgallowa@redhat.com>
1918 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
1919 (executeMethods): Remove cast to ClassReferenceTypeId.
1921 2007-05-11 Jeroen Frijters <jeroen@frijters.net>
1923 * java/lang/Float.java
1924 (toString(float)): Call VMFloat instead of VMDouble.
1925 (parseFloat): Call VMFloat. Fixed comment.
1926 * vm/reference/java/lang/VMFloat.java
1927 (toString, parseFloat): New methods.
1928 NEWS: added note about these changes.
1930 2007-05-08 Kyle Galloway <kgallowa@redhat.com>
1932 * vm/reference/VMFrame.java (<init>): Add a parameter for the "this"
1933 pointer of the frame.
1935 2007-05-08 Roman Kennke <roman@kennke.org>
1937 * gnu/java/awt/peer/x/XFontPeer.java: Removed.
1938 * gnu/java/awt/peer/x/XGraphics.java: Removed
1939 * gnu/java/awt/peer/x/XFontPeer2.java
1940 (XLineMetrics.getDescent): Use cached idendity transform.
1941 (XFontMetrics.cachedPoint): New field. Caches a Point2D instance
1943 (XFontMetrics.getAscent): Use cached idendity transform.
1944 (XFontMetrics.getDescent): Use cached idendity transform.
1945 (XFontMetrics.getHeight): Use cached idendity transform.
1946 (XFontMetrics.charWidth): Map character to glyph index first.
1947 (XFontMetrics.stringWidth): Use cached idendity transform.
1948 (IDENDITY): New static field. A reused AffineTransform instance.
1950 2007-05-08 Roman Kennke <roman@kennke.org>
1952 * gnu/java/awt/font/FontDelegate.java
1953 (getGlyphIndex): New method. Maps characters to their
1954 glyph index in the font.
1955 M gnu/java/awt/font/opentype/OpenTypeFont.java
1956 (getGlyphIndex): New method. Maps characters to their
1957 glyph index in the font.
1959 2007-05-08 Roman Kennke <roman@kennke.org>
1961 * gnu/java/awt/java2d/AbstractGraphics2D.java
1962 (AA_SAMPLING): Removed.
1963 (alpha): Removed field.
1964 (edgeTable): Removed field.
1965 (fillScanlineAA): Removed obsolete method.
1966 (drawPolyline): Implemented by using a GeneralPath.
1967 (drawPolygon): Reset the cached polygon.
1968 (fillPolygon): Reset the cached polygon.
1969 (fillShape): Default to antialias on for text.
1970 (rawDrawLine): Use ShapeCache.
1971 (rawDrawRect): Use ShapeCache.
1972 (rawFillRect): Use ShapeCache.
1973 (fillScanlineAA): New method for antialiased rendering.
1974 * gnu/java/awt/java2d/ScanlineConverter.java
1975 (scanlinesPerPixel): New field.
1976 (minX,maxX): New fields.
1977 (scanlineYCov,scanlineXCov): New fields.
1978 (slPix0): New field.
1979 (alphaRes): New field.
1980 (renderShape): Add antialiasing functionality.
1981 (doScanline): Add antialiasing functionality.
1982 (setResolution): Add antialiasing functionality.
1983 (addShape): Determine span in X direction.
1985 * gnu/java/awt/java2d/ShapeCache.java
1986 (polyline): New field for caching polylines.
1988 2007-05-08 Roman Kennke <roman@kennke.org>
1990 * examples/gnu/classpath/examples/awt/HintingDemo.java
1991 Add support for showing the original vs the hinted glyphs plus
1994 2007-05-08 Andrew John Hughes <gnu_andrew@member.fsf.org>
1996 * lib/Makefile.am: Print property files as well.
1998 2007-05-08 Andrew John Hughes <gnu_andrew@member.fsf.org>
2000 * native/jni/gtk-peer/gtkpeer.c:
2001 Added support for 64-bit architectures.
2003 2007-05-04 Chris Burdess <dog@gnu.org>
2006 * gnu/xml/dom/DomDocument.java,
2007 gnu/xml/dom/ls/SAXEventSink.java: Don't default attribute when mode is
2008 #IMPLIED and value is not specified.
2009 * gnu/xml/stream/XMLParser.java: Add debugging info.
2011 2007-05-03 Keith Seitz <keiths@redhat.com>
2013 * gnu/classpath/jdwp/Jdwp.java (notify): Rewrite to call
2014 new array-based method.
2015 (notify): New function.
2016 (sendEvent): Rewrite to use sendEvents.
2017 (sendEvents): New method.
2018 * gnu/classpath/jdwp/event/Event.java (toPacket): Make static.
2019 Change parameters to use arrays for events and requests.
2020 Add suspendPolicy parameter.
2021 Move per-event data transformation to...
2022 (_toData): ... here.
2023 * gnu/classpath/jdwp/transport/JdwpConnection.java
2024 (sendEvent): Renamed to ...
2025 (sendEvents): ... this.
2026 Change parameters to use arrays for events and requests.
2027 Add suspendPolicy parameter.
2029 2007-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
2031 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=237304
2032 * javax/swing/text/html/HTMLEditorKit.java
2033 (getStyleSheet): Throw RuntimeException when style loading fails.
2034 * lib/Makefile.am: Treat css files as a property files.
2035 * javax/swing/text/html/default.css: Move to...
2036 * resource/javax/swing/text/html/default.css: New file.
2038 2007-05-03 Andrew Haley <aph@redhat.com>
2040 * gnu/javax/management/Server.java (Server): Record the delegate.
2041 (registerMBean): Notify the delegate.
2042 (unregisterMBean): Likewise.
2043 (notify): New method.
2045 2007-04-30 Roman Kennke <roman@kennke.org>
2047 * gnu/java/awt/peer/x/XLightweightPeer.java: Removed.
2048 * gnu/java/awt/peer/x/XEventPump.java
2049 (handleEvent): Improved handling of event ids to window mapping.
2050 * gnu/java/awt/peer/x/XFontPeer2.java:
2051 Load font.properties at startup.
2052 (XLineMetrics.glyphVector): New field.
2053 (XLineMetrics.XLineMetrics): Get glyphVector from font delegate.
2054 (XLineMetrics.getHeight): Implemented using glyph vector.
2055 (XLineMetrics.getLeading): Implemented.
2056 (XFontPeer2): Change hardwired font to something more common.
2057 (encodeFont): New methods, encodes a font to the font.properties
2059 (validName): New method. Checks and returns a valid font name.
2060 * gnu/java/awt/peer/x/XGraphics2D.java
2061 (foreground): New field.
2062 (rawSetPixel): Removed.
2063 (rawDrawLine): Draw a segment.
2064 (rawSetForeground): Removed.
2065 (fillScanline): New method.
2066 (fillScanlineAA): New method.
2067 (setPaint): Set the foreground color.
2068 (fillShape): Synchronize super behaviour.
2069 (rawDrawImage): Optimize XImage.
2070 * gnu/java/awt/peer/x/XGraphicsDevice.java
2071 (getDisplay): Improve creation of socket.
2072 (createLocalSocket): New helper method to create a local socket.
2073 * gnu/java/awt/peer/x/XImage.java
2074 (getGraphics): Return an XGraphics2D.
2075 * gnu/java/awt/peer/x/XToolkit.java
2076 (getClasspathFontPeer): Use XFontPeer2.
2077 (createComponent): Removed.
2078 * gnu/java/awt/peer/x/XWindowPeer.java
2079 (getGraphics): Return an XGraphics2D.
2080 (show): Clear the window.
2081 (getFontMetrics): Use XFontPeer2.
2083 2007-04-30 Roman Kennke <roman@kennke.org>
2085 * gnu/java/awt/peer/swing/SwingButtonPeer.java
2086 (SwingButton.handleFocusEvent): New method. Handles focus events.
2087 (SwingButton.requestFocus): Overridden to avoid loop into peer
2089 (SwingButton.requestFocus(boolean)): Overridden to avoid loop
2091 * gnu/java/awt/peer/swing/SwingCheckboxPeer.java: New class.
2092 Implements CheckboxPeer for Swing toolkit.
2093 * gnu/java/awt/peer/swing/SwingComponent.java
2094 (handleFocusEvent): New method. Handles focus events.
2095 * gnu/java/awt/peer/swing/SwingComponentPeer.java
2096 (getMinimumSize): Delegate to minimumSize().
2097 (getPreferredSize): Delegate to preferredSize().
2098 (handleEvent): Only paint when component is showing. Coalesce
2099 paint event in any case. Reformat. Handle focus events.
2100 (requestFocus): Post FOCUS_GAINED event.
2101 (handleFocusEvent): New method. Delegate to SwingComponent
2103 * gnu/java/awt/peer/swing/SwingContainerPeer.java
2104 (addHeavyweightDescendent): Make this protected.
2105 (removeHeavyweightDescendent): Make this protected.
2106 (getHeavyweightDescendents): New method. Returns all registered
2108 (handleKeyEvent): Delegate to peer's handleEvent() method.
2109 * gnu/java/awt/peer/swing/SwingLabelPeer.java
2110 (SwingLabel.handleFocusEvent): New method.
2111 * gnu/java/awt/peer/swing/SwingListPeer.java
2112 (SwingList.handleFocusEvent): New method.
2113 * gnu/java/awt/peer/swing/SwingPanelPeer.java
2114 Fix typo and import.
2115 * gnu/java/awt/peer/swing/SwingTextAreaPeer.java
2116 Wrap up text area in viewport.
2117 * gnu/java/awt/peer/swing/SwingTextFieldPeer.java
2118 (SwingTextField.handleFocusEvent): New method.
2119 (SwingTextField.requestFocus): New method.
2120 (SwingTextField.requestFocus(boolean)): New method.
2122 2007-04-27 Keith Seitz <keiths@redhat.com>
2124 * gnu/classpath/jdwp/event/EventManager.java
2125 (getEventRequest): Rename to...
2126 (getEventRequests): ...this.
2127 Change return type to array of requests.
2128 Construct a list of all matching events and return
2130 * gnu/classpath/jdwp/Jdwp.java (notify): Use getEventRequests
2131 and send event notifications for all matching requests.
2133 2007-04-27 Keith Seitz <keiths@redhat.com>
2135 * gnu/classpath/jdwp/event/filters/LocationOnlyFilter.java
2136 (matches): Use Location.equals to determine equality.
2137 * vm/reference/gnu/classpath/jdwp/VMMethod.java (equals):
2139 * gnu/classpath/jdwp/util/Location.java (equals):
2142 2007-04-27 Roman Kennke <roman@kennke.org>
2144 * java/nio/CharViewBufferImpl.java
2145 (slice): Fixed offset for slice buffer.
2146 * java/nio/DoubleViewBufferImpl.java
2147 (slice): Fixed offset for slice buffer.
2148 * java/nio/FloatViewBufferImpl.java
2149 (slice): Fixed offset for slice buffer.
2150 * java/nio/IntViewBufferImpl.java
2151 (slice): Fixed offset for slice buffer.
2152 * java/nio/LongViewBufferImpl.java
2153 (slice): Fixed offset for slice buffer.
2154 * java/nio/ShortViewBufferImpl.java
2155 (slice): Fixed offset for slice buffer.
2157 2007-04-25 Roman Kennke <roman@kennke.org>
2159 * gnu/java/awt/peer/gtk/GdkFontPeer.java,
2160 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
2161 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
2162 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
2163 * gnu/java/awt/peer/gtk/GtkGenericPeer.java,
2164 * gnu/java/awt/peer/gtk/GtkToolkit.java:
2165 Added fields to hold the native state. Added class initialization
2166 things to fetch the JNI field IDs.
2167 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
2168 * include/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.h,
2169 * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
2170 * include/gnu_java_awt_peer_gtk_GtkToolkit.h:
2171 Added / changed class init methods for field ID initialization.
2172 * native/jni/classpath/Makefile.am: Removed native_state stuff.
2173 * native/jni/classpath/native_state.c,
2174 * native/jni/classpath/native_state.h: Removed.
2175 * native/jni/gconf-peer/Makefile.am: Removed native_state stuff.
2176 * native/jni/gtk-peer/Makefile.am: Removed native_state stuff.
2177 * native/jni/gtk-peer/cairographics2d.h,
2178 * native/jni/gtk-peer/gdkdisplay.h,
2179 * native/jni/gtk-peer/gdkfont.h,
2180 * native/jni/gtk-peer/GtkDragSourceContextPeer.c,
2181 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c,
2182 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c,
2183 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c,
2184 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c,
2185 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c,
2186 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
2187 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c,
2188 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c,
2189 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
2190 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
2191 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
2192 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
2193 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
2194 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
2195 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c,
2196 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
2197 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c,
2198 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c,
2199 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
2200 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
2201 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
2202 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c,
2203 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
2204 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
2205 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
2206 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
2207 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
2208 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c,
2209 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
2210 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
2211 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
2212 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c,
2213 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
2214 * native/jni/gtk-peer/gtk_jawt.c:
2215 Removed native state stuff and replaced that with an approach
2216 to store the native state of an object directly in that object.
2217 * native/jni/gtk-peer/gtkpeer.c: New file. Implements the new native
2219 * native/jni/gtk-peer/gtkpeer.h: Remove NSA stuff and added
2220 prototypes for new native state handling.
2222 2007-04-23 Mark Wielaard <mark@klomp.org>
2224 * doc/www.gnu.org/newsitems.txt: Add 0.95.
2225 * doc/www.gnu.org/downloads/downloads.wml: Likewise.
2226 * doc/www.gnu.org/announce/20070423.wml: New file.
2228 2007-04-23 Mark Wielaard <mark@klomp.org>
2230 * NEWS: Add new 0.95 features.
2232 2007-04-23 Jeroen Frijters <jeroen@frijters.net>
2235 * java/util/Arrays.java (qsort): Corrected initial median calculation.
2237 2007-04-22 Dalibor Topic <robilad@kaffe.org>
2239 * Makefile.am (ACLOCAL_AMFLAGS): Add contents of env var
2240 LOCAL_AUTORECONF_AMFLAGS to allow for systems where the user
2241 has a mix of system & hacked-up autotools.
2243 2007-04-22 Dalibor Topic <robilad@kaffe.org>
2245 * autogen.sh: Removed unnecessary -I m4 flag.
2247 2007-04-19 Casey Marshall <csm@gnu.org>
2250 * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java
2251 (createSocket): New method.
2253 2007-04-19 Dalibor Topic <robilad@kaffe.org>
2255 * tools/gappletviewer.in,
2257 tools/gjarsigner.in,
2260 tools/gnative2ascii.in,
2264 tools/grmiregistry.in,
2265 tools/gserialver.in,
2266 tools/gtnameserv.in: Set datarootdir to fix a warning from
2269 2007-04-19 Dalibor Topic <robilad@kaffe.org>
2271 * INSTALL: Removed file generated by autogen.sh.
2273 * .cvsignore: Added INSTALL.
2275 2007-04-19 Dalibor Topic <robilad@kaffe.org>
2277 * INSTALL: Replaced by generic install file.
2279 * autogen.sh: Removed redundant and no longer necessary
2280 sections. Use autoreconf.
2282 2007-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
2285 (CLASSPATH_FIND_JAVAC): Allow detected JAVAC.
2287 2007-04-19 Dalibor Topic <robilad@kaffe.org>
2289 * lib/Makefile.am (propertyfiles, cssfiles, metafiles,
2290 iconfiles) Removed variables, inlined them into resource
2291 target to avoid use of shell construct and fix portability
2292 warning from automake 1.10.
2294 2007-04-18 Tom Tromey <tromey@redhat.com>
2296 * tools/gnu/classpath/tools/javah/MethodHelper.java (print):
2297 Changed arguments. Directly print method name.
2298 * tools/gnu/classpath/tools/javah/ClassWrapper.java
2299 (methodNameMap): New field.
2300 (makeVtable): Initialize it.
2301 (printMethods): Compute name for bridge targets.
2303 2007-04-18 Andrew Haley <aph@redhat.com>
2305 * gnu/java/rmi/server/UnicastConnectionManager.java
2306 (UnicastConnectionManager(int port, RMIServerSocketFactory)):
2307 Listen on "localhost", not localhost.
2309 2007-04-18 Dalibor Topic <robilad@kaffe.org>
2311 * include/GtkDragSourceContextPeer.h: Removed, renamed to ..
2313 * include/gnu_java_awt_dnd_peer_gtk_GtkDragSourceContextPeer.h:
2316 * native/jni/gtk-peer/GtkDragSourceContextPeer.c: Include
2317 gnu_java_awt_dnd_peer_gtk_GtkDragSourceContextPeer.h.
2319 * include/Makefile.am (GTKPEER_H_FILES): Renamed
2320 GtkDragSourceContextPeer.h to
2321 gnu_java_awt_dnd_peer_gtk_GtkDragSourceContextPeer.h
2322 per current convention. Use portable construct to create
2323 gtk and libxmlj peer headers. Depend on the java source code,
2324 rather then the class files in order to avoid spurious
2327 2007-04-18 Dalibor Topic <robilad@kaffe.org>
2329 * include/Makefile.am: Use portable construct to create
2330 qt peer headers. Depend on the java source code,
2331 rather then the class files in order to avoid spurious
2334 2007-04-18 Dalibor Topic <robilad@kaffe.org>
2336 * include/Makefile.am: Use portable construct to create
2337 alsa and dssi peer headers. Depend on the java source code,
2338 rather then the class files in order to avoid spurious
2341 2007-04-18 Dalibor Topic <robilad@kaffe.org>
2343 * include/Makefile.am: Use portable construct to create
2344 gconf peer header. Depend on the java source code, rather
2345 the class file to avoid spurious regeneration.
2347 2007-04-18 Dalibor Topic <robilad@kaffe.org>
2349 * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h:
2350 Removed empty header file.
2352 * include/Makefile.am (QTPEER_H_FILES):
2353 Removed gnu_java_awt_peer_qt_QtGraphicsEnvironment.h.
2355 2007-04-18 Dalibor Topic <robilad@kaffe.org>
2357 * native/jni/xmlj/xmlj_xpath.c: Don't include
2358 gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h.
2360 * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h:
2361 Removed empty header file.
2363 * include/Makefile.am (XMLJ_H_FILES): Removed
2364 gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h.
2366 2007-04-18 Dalibor Topic <robilad@kaffe.org>
2368 * include/gnu_java_awt_peer_qt_QtContainerPeer.h: Removed
2371 * include/Makefile.am (QTPEER_H_FILES): Removed
2372 gnu_java_awt_peer_qt_QtContainerPeer.h.
2374 2007-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
2376 * native/jni/java-net/local.c:
2377 Fix import of FIONREAD.
2378 * native/jni/java-nio/gnu_java_nio_VMChannel.c,
2379 * native/jni/native-lib/cpnet.c:
2382 2007-04-17 Dalibor Topic <robilad@kaffe.org>
2384 * m4/acinclude.m4 (CLASSPATH_CHECK_JAVAH):
2385 Use AC_CHECK_PROGS and AC_MSG_ERROR. Check for
2386 gjavah, gcjh-wrapper-4.1 and gcjh-4.1. Error out
2387 when no javah implementation can be found.
2389 2007-04-17 Dalibor Topic <robilad@kaffe.org>
2391 * configure.ac (CLASSPATH_WITH_JAVAH): Only check if
2392 the JNI headers need to be regenerated.
2394 * m4/acinclude.m4 (USER_SPECIFIED_JAVAH): Removed unused
2397 2007-04-17 Dalibor Topic <robilad@kaffe.org>
2399 * lib/Makefile.am (JAVAH): Removed unused variable.
2401 2007-04-17 Casey Marshall <csm@gnu.org>
2404 * gnu/javax/net/ssl/provider/SSLSocketImpl.java (SSLSocketImpl):
2405 Always make a new socket.
2406 (bind, connect, getInetAddress, getLocalAddress, getPort,
2407 getLocalPort, getRemoteSocketAddress, getLocalSocketAddress,
2408 setTcpNoDelay, getTcpNoDelay, setSoLinger, getSoLinger,
2409 setOOBInline, getOOBInline, setSoTimeout, getSoTimeout,
2410 setSendBufferSize, getSendBufferSize, setReceiveBufferSize,
2411 getReceiveBufferSize, setKeepAlive, getKeepAlive, setTrafficClass,
2412 getTrafficClass, setReuseAddress, getReuseAddress, close,
2413 shutdownInput, shutdownOutput, isConnected, isBound, isClosed,
2414 isInputShutdown, isOutputShutdown): Always use
2417 2007-04-16 Dalibor Topic <robilad@kaffe.org>
2419 * configure.ac (AM_PROG_CC_C_O): Added to fix automake 1.10
2422 2007-04-16 Dalibor Topic <robilad@kaffe.org>
2424 * native/plugin/Makefile.am (libgcjwebplugin_la_LDFLAGS):
2425 Added AM_LDFLAGS for automake 1.10.
2427 2007-04-16 Tom Tromey <tromey@redhat.com>
2429 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=236614
2430 * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java
2431 (createSocket): Change order of delegation.
2433 2007-04-16 Andrew Haley <aph@redhat.com>
2435 * java/io/ObjectInputStream.java: (parseContent): Call (String,
2436 Object) version of dumpElementln.
2437 (dumpElementln(String, Object)): New method.
2438 * java/io/ObjectOutputStream.java (writeObject): Call (String,
2439 Object) version of dumpElementln.
2440 (dumpElementln(String, Object)): New method.
2442 2007-04-16 Mark Wielaard <mark@klomp.org>
2445 * java/net/URI.java (parseServerAuthority): Allow empty portStr.
2447 2007-04-16 Andrew Haley <aph@redhat.com>
2449 * org/omg/IOP/TaggedComponentHelper.java (read): Use
2450 read_octet_array(), not read().
2451 (write): Use write_octet_array(), not write().
2453 * org/omg/PortableServer/Servant.java (_get_delegate): Throw if no
2454 delegate has been set.
2456 2007-04-16 Chris Burdess <dog@gnu.org>
2458 * gnu/xml/stream/XMLParser.java: Work around a problem with incorrectly
2459 formatted file URLs.
2461 2007-04-15 Dalibor Topic <robilad@kaffe.org>
2463 * native/jni/java-lang/Makefile.am (libjavalang_la_LIBADD):
2464 Fix portability warnings from automake 1.10.
2466 2007-04-15 Dalibor Topic <robilad@kaffe.org>
2468 * Makefile.am (EXTRA_DIST): Add ChangeLog-2006.
2470 2007-04-15 Dalibor Topic <robilad@kaffe.org>
2472 * native/target/.cvsignore: Removed.
2474 2007-04-15 Dalibor Topic <robilad@kaffe.org>
2476 * doc/Makefile.am: Fix portability warnings from
2479 2007-04-15 Roman Kennke <roman@kennke.org>
2481 * native/target/Linux/.cvsignore,
2482 * native/target/generic/.cvsignore: Removed.
2484 2007-04-15 Dalibor Topic <robilad@kaffe.org>
2486 * depcomp, install-sh, missing, mkinstalldirs,
2487 doc/texinfo.tex: Removed files generated by autogen.sh.
2489 * .cvsignore: Ignore generated files depcomp, install-sh,
2490 missing, mkinstalldirs.
2492 * doc/.cvsignore: Ignore generated file doc/texinfo.tex.
2494 2007-04-15 Dalibor Topic <robilad@kaffe.org>
2496 * doc/cp-hacking.texinfo: Updated with information from
2497 INSTALL file. Removed duplicate and outdated information.
2498 Updated compiler information. Fixed versioning information
2499 where entries diverged. Turned command, option, file and
2500 URL strings into proper texinfo elements.
2502 2007-04-15 Dalibor Topic <robilad@kaffe.org>
2504 * configure.ac: Added support for Iceape libraries as
2505 a substitute for Mozilla for Debian.
2507 2007-04-12 Roman Kennke <roman@kennke.org>
2509 * java/nio/Buffer.java
2510 (array): New abstract method.
2511 (hasArray): New abstract method.
2512 (arrayOffset): New abstract method.
2513 (isDirect): New abstract method.
2515 2007-04-12 Roman Kennke <roman@kennke.org>
2517 * java/nio/CharBuffer.java
2518 (wrap(CharSequence,int,int)): Reimplemented using specialized
2520 * java/nio/CharSequenceBuffer.java: New class. Implements char
2521 buffers that wrap CharSequences.
2523 2007-04-12 Francis Kung <fkung@redhat.com>
2526 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2527 (drawGlyphVector): Check for transforms before using optimized path.
2528 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
2529 (FreetypeGlyphVector(FreetypeGlyphVector)): Initialize glyphTransforms array
2530 to null and check for nulls in copied array.
2531 (hasTransforms): New method.
2532 (performDefaultLayout): Check for identity transform.
2533 (setGlyphTransform): Check for equality before making changes.
2535 2007-04-12 Francis Kung <fkung@redhat.com>
2538 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
2539 (getGlyphLogicalBounds): Fix number of coordinates in transform call.
2540 (performDefaultLayout): Respect transformation in font attributes.
2541 * javax/swing/plaf/basic/BasicProgressBarUI.java
2542 (getStringPlacement): Handle vertical orientations.
2543 (paintString): Space vertical text properly.
2545 2007-04-12 Francis Kung <fkung@redhat.com>
2548 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
2549 (ft2_map): New static variable.
2550 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_initStaticState): Set up ft2_map.
2551 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_setFont): Use cached ft2_map.
2553 2007-04-12 Christian Thalinger <twisti@complang.tuwien.ac.at>
2555 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
2556 (clipboard_get_func): Call DeleteLocalRef.
2557 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkSelection.c
2558 (clipboard_targets_received): Likewise.
2559 (clipboard_uris_received): Likewise.
2561 2007-04-12 Christian Thalinger <twisti@complang.tuwien.ac.at>
2563 * LICENSE: Added m4/ax_func_which_gethostbyname_r.m4 license.
2564 * configure.ac: Added AX_FUNC_WHICH_GETHOSTBYNAME_R check.
2565 * m4/ax_func_which_gethostbyname_r.m4: New file.
2566 * native/jni/native-lib/cpnet.c (cpnet_getHostByName): Check for
2567 different number of arguments of gethostbyname_r.
2569 2007-04-12 Mark Wielaard <mark@klomp.org>
2571 * gnu/java/awt/peer/ClasspathFontPeer.java (LRUCache): New static
2573 (transCache): New static LRUChache field.
2574 (copyTransformToAttrs): Check whether a TransformAttribute already
2575 exists in the transCache for the given AffineTransform.
2577 2007-04-12 Mark Wielaard <mark@klomp.org>
2579 * configure.ac (COMPILE_GTK_PEER): Add check for cairo >= 1.1.8.
2581 2007-04-11 Christian Thalinger <twisti@complang.tuwien.ac.at>
2583 * native/jni/java-nio/javanio.c: Include fcntl.h instead of
2586 2007-04-11 Christian Thalinger <twisti@complang.tuwien.ac.at>
2588 * native/jni/native-lib/cpproc.c (cpproc_forkAndExec): Fixed
2589 warning on some compilers, e.g. MIPSpro.
2591 2007-04-11 Francis Kung <fkung@redhat.com>
2593 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
2594 (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphs): Avoid unneeded
2596 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
2597 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics): Unlock font.
2598 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_setFont): Remove redundant checks.
2600 2007-04-11 Christian Thalinger <twisti@complang.tuwien.ac.at>
2602 * configure.ac: Added AC_C_INLINE.
2604 2007-04-10 Mark Wielaard <mark@klomp.org>
2606 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
2607 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initFromVolatile):
2608 Destroy surface after it is used to create a cairo context.
2610 2007-04-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
2612 * javax/management/ObjectName.java:
2613 (parse(String)): Catch multiple wildcards,
2614 initialise with an empty string (so null isn't
2615 appended), and emit comma even when wildcard
2617 (checkComponents()): Catch newlines.
2618 (quote(String)): Handle newlines and quotes
2621 2007-04-09 Francis Kung <fkung@redhat.com>
2624 * gnu/java/awt/peer/gtk/ComponentGraphics.java
2625 (dispose): Removed method.
2626 (disposeSurface): Removed method.
2627 * gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
2628 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
2629 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface): Removed.
2630 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Destroy surface
2631 after it is used to create a cairo context.
2633 2007-04-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
2635 * javax/management/ObjectName.java:
2636 (propertyValuePattern): New cache variable.
2637 (parse(String)): Record in propertyListPattern
2638 not propertyPattern and set propertyValuePattern.
2639 (isPropertyPattern()): Semantics altered to be the
2640 OR of isPropertyListPattern() and isPropertyValuePattern().
2641 (isPropertyListPattern()): Implemented.
2642 (isPropertyValuePattern()): Implemented.
2643 (isPropertyValuePattern(String)): Implemented.
2645 2007-04-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
2647 * javax/management/ObjectName.java:
2648 (parse(String)): Fix result of getKeyPropertyListString().
2650 2007-04-07 Mark Wielaard <mark@klomp.org>
2652 * resource/META-INF/services/javax.xml.parsers.DocumentBuilderFactor,
2653 resource/META-INF/services/javax.xml.parsers.SAXParserFactory,
2654 resource/META-INF/services/javax.xml.parsers.TransformerFactory,
2655 resource/META-INF/services/org.relaxng.datatype.DatatypeLibraryFactory,
2656 resource/META-INF/services/org.w3c.dom.DOMImplementationSourceList,
2657 resource/META-INF/services/org.xml.sax.driver: Removed.
2659 2007-04-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
2661 * javax/management/ObjectName.java:
2662 (checkComponents()): Separate value and
2663 key illegal characters to allow value wildcards.
2665 2007-04-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
2667 * javax/management/ObjectName.java
2668 (parse(String)): Fix parsing where the wildcard
2669 is juxtaposed between other pairs.
2671 2007-04-06 Mark Wielaard <mark@klomp.org>
2673 * configure.ac (VERSION): Set to 0.96-pre.
2675 2007-04-06 Andrew John Hughes <gnu_andrew@member.fsf.org>
2677 * javax/management/MBeanAttributeInfo.java:
2678 (serialVersionUID): Added.
2679 * javax/management/MBeanFeatureInfo.java:
2680 (writeObject(ObjectOutputStream)): Added for
2682 * javax/management/Notification.java:
2683 (serialVersionUID): Added.
2684 (Notification(String,Object,long,long)): Make
2685 default message the empty string not null.
2686 (Notification(String,Object,long,long,String)):
2687 Set source explicitly.
2688 (writeObject(ObjectOutputStream)): Added to match
2691 2007-04-06 Andrew John Hughes <gnu_andrew@member.fsf.org>
2693 * java/util/Hashtable.java:
2694 (putAllInternal(Map)): Remove redundant semi-colon.
2696 2007-04-06 Mark Wielaard <mark@klomp.org>
2698 * lib/mkcollections.pl.in: Add externalclasses.
2699 * java/util/Collections.java: Unroll enhanced for loops.
2700 * java/util/HashMap.java: Likewise.
2701 * java/util/Hashtable.java: Likewise.
2702 * java/util/TreeMap.java: Likewise.
2704 2007-04-06 Andrew John Hughes <gnu_andrew@member.fsf.org>
2706 * gnu/javax/management/Translator.java:
2707 (getTypeName(type)): Move type name creation to its own method.
2708 * javax/management/ObjectName.java:
2711 2007-04-04 Andrew Haley <aph@redhat.com>
2713 * javax/management/ObjectName.java:
2714 (serialVersionUID): Declare.
2715 Make all fields transient.
2716 (parse): Break out from constructor.
2717 (writeObject, readObject): New methods.
2719 2007-04-05 Francis Kung <fkung@redhat.com>
2721 * include/Makefile.am: Remove old entry.
2723 2007-04-05 Francis Kung <fkung@redhat.com>
2725 * gnu/java/awt/peer/gtk/GtkToolkit.java
2726 (createDragGestureRecognizer): Remove failing subClass call.
2728 2007-04-05 Gary Benson <gbenson@redhat.com>
2730 * java/util/GregorianCalendar.java
2731 (computeFields): Fix WEEK_OF_MONTH calculation.
2733 2007-04-05 Christian Thalinger <twisti@complang.tuwien.ac.at>
2736 * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits)
2737 (doubleToRawLongBits, longBitsToDouble): Swap the byte
2738 ordering for little-endian arms without VFP.
2740 2007-04-05 Christian Thalinger <twisti@complang.tuwien.ac.at>
2742 * native/jni/java-net/java_net_VMNetworkInterface.c
2743 [HAVE_IFADDRS_H && HAVE_GETIFADDRS] (free_netif_list): Added
2745 (getVMInterfaces): Added UNUSED argument attribute.
2747 2007-04-05 Christian Thalinger <twisti@complang.tuwien.ac.at>
2749 * native/jni/java-nio/gnu_java_nio_charset_iconv_IconvDecoder.c,
2750 native/jni/java-nio/gnu_java_nio_charset_iconv_IconvEncoder.c
2751 [HAVE_ICONV] (createRawData, getData, infid, outfid): Added
2753 (openIconv): Added UNUSED argument attribute, so we can build with
2756 (closeIconv): Likewise.
2758 2007-04-05 Mark Wielaard <mark@klomp.org>
2760 * autogen.sh: Recognize automake 1.10.
2761 * configure.ac (AM_INIT_AUTOMAKE): Add -Wno-portability.
2762 * native/jawt/Makefile.am (libjawt_la_LDFLAGS): Add AM_LDFLAGS.
2763 * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LDFLAGS): Likewise.
2764 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_LDFLAGS): Likewise.
2765 * native/jni/midi-alsa/Makefile.am (libgjsmalsa_la_LDFLAGS): Likewise.
2766 * native/jni/midi-dssi/Makefile.am (libgjsmdssi_la_LDFLAGS): Likewise.
2767 * native/jni/qt-peer/Makefile.am (libqtpeer_la_LDFLAGS): Likewise.
2769 2007-04-04 Mark Wielaard <mark@klomp.org>
2771 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
2772 (cp_gtk_image_get_pixbuf): Return NULL when pointer is NULL.
2773 * gnu/java/awt/peer/gtk/GtkImage.java (setImage): Set loaded and
2774 call deliver() after pixels have been set.
2775 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setIconImage): Only
2776 set icon when image has been properly loaded.
2778 2007-04-04 Francis Kung <fkung@redhat.com>
2780 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2781 (drawCairoSurface): Made protected.
2782 * gnu/java/awt/peer/gtk/ComponentGraphics.java
2783 (cairoDrawGlyphVector): Removed method.
2784 (cairoSetFont): Removed method.
2785 (disposeNative): Removed method.
2786 (drawCairoSurface): New method.
2787 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
2788 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector): Added
2790 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetFont): Added locking.
2791 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_disposeNative): Added locking.
2793 2007-04-04 Gary Benson <gbenson@redhat.com>
2795 * java/util/GregorianCalendar.java
2796 (GregorianCalendar(TimeZone, Locale)): Remove redundant complete().
2798 2007-04-04 Roman Kennke <roman@kennke.org>
2800 * java/nio/channels/spi/SelectorProvider.java
2801 (inheritedChannel): Make method concrete and move default impl
2802 to here. Perform security checks as mandated by the spec.
2803 * gnu/java/nio/SelectorProviderImpl.java
2804 (inheritedChannel): Removed. Default impl is in SelectorProvider.
2806 2007-04-04 Roman Kennke <roman@kennke.org>
2808 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
2809 (init_glib_threads): Create global reference on lock object.
2811 2007-04-04 Roman Kennke <roman@kennke.org>
2813 * java/awt/Frame.java
2814 (weakFrames): Make private.
2815 (weakFramesQueue): New field. A reference queue to collect
2817 (getFrames): Only do one iterations to avoid collecting null
2819 (hasDisplayableFrames): New helper method. Checks if there
2820 are any displayable frames. This is used by the event queue
2822 (noteFrame): Clean up GCed frames in the list.
2823 * java/awt/EventQueue.java
2824 (isShutdown): Move frame checking code into Frame.
2826 2007-04-03 Roman Kennke <roman@kennke.org>
2828 * java/lang/System.java
2829 (inheritedChannel): New method, wraps
2830 SelectorProvider.inheritedChannel().
2831 * java/nio/channels/spi/SelectorProvider.java
2832 (inheritedChannel): New abstract method.
2833 * gnu/java/nio/SelectorProviderImpl.java
2834 (inheritedChannel): New method, return null as default.
2836 2007-04-03 Roman Kennke <roman@kennke.org>
2838 * java/nio/ByteOrder.java
2839 (nativeByteOrder): Let this fail when the corresponding
2840 property is not set properly.
2842 2007-04-03 Roman Kennke <roman@kennke.org>
2844 * javax/swing/plaf/basic/BasicTreeUI.java
2845 (getPathBounds): Consider the tree's insets. Added a bunch of
2848 2007-04-03 Roman Kennke <roman@kennke.org>
2850 * javax/swing/plaf/basic/BasicLabelUI.java
2851 (cachedInsets): New field. Used for reusing the insets instance.
2852 (getFontMetrics): New helper method for fetching a suitable
2854 (getPreferredSize): Use new helper method for font metrics.
2855 (paint): Only do something if we have an icon or text.
2856 Use cached Insets instance and new font metrics helper.
2857 (paintDisabledText): Don't restore the graphics' color.
2858 (paintEnabledText): Don't restore the graphics' color.
2860 2007-04-03 Roman Kennke <roman@kennke.org>
2862 * javax/swing/plaf/metal/MetalButtonUI.java
2863 (paintButtonPressed): Fill the whole button not only visibleRect.
2864 * javax/swing/plaf/metal/MetalLookAndFeel.java
2865 (LAF_defaults): Removed.
2866 (getDefaults): Always fetch super's defaults.
2867 * javax/swing/plaf/metal/MetalMenuBarUI.java
2868 (update): Don't leave 2 pixel gap.
2870 2007-04-03 Roman Kennke <roman@kennke.org>
2872 * native/target/.cvsignore,
2873 * native/target/Linux/.cvsignore,
2874 * native/target/generic/.cvsignore: Some new ignores.
2876 2007-04-03 Roman Kennke <roman@kennke.org>
2878 * gnu/java/awt/peer/gtk/GThreadMutex.java,
2879 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
2880 * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
2881 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
2882 * native/jni/gtk-peer/gthread-jni.c,
2883 * native/jni/gtk-peer/gthread-jni.h: Removed.
2884 * native/jni/gtk-peer/Makefile.am: Removed obsolete entries
2886 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
2887 Removed unused bits from gthread-jni.c.
2889 2007-04-03 Francis Kung <fkung@redhat.com>
2891 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
2892 (getGlyphs(int[], int[], long[])): Return void.
2894 2007-04-03 Kyle Galloway <kgallowa@redhat.com>
2896 * gnu/classpath/jdwp/value/ArrayValue.java: New file.
2898 2007-04-03 Roman Kennke <roman@kennke.org>
2900 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
2901 (global_lock): New global variable that holds the object reference
2902 to the global GTK lock.
2903 (init_glib_threads): Add lock argument. Use
2904 gdk_threads_set_lock_functions to replace GTK's locking function
2905 with two callbacks that allow reentrant locking, based on
2906 JNI's MonitorEnter() and MonitorExit().
2907 (jni_lock_cb): New callback function for GTK locking.
2908 (jni_unlock_cb): New callback function for GTK unlocking.
2909 (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Add lock argument.
2910 Call init_glib_threads() with lock object.
2911 * include/gnu_java_awt_peer_gtk_GtkToolkit.h
2913 * gnu/java/awt/peer/gtk/GtkToolkit.java
2914 (GTK_LOCK): New static field. This is used as the global lock for
2916 (gtkInit): Add lock parameter.
2917 (static_init): Initialize global lock and call gtkInit() with
2920 2007-04-02 Francis Kung <fkung@redhat.com>
2922 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
2923 (fontSet): Initialize to null.
2924 (FreetypeGlyphVector(Font, int[], FontRenderContext)): Populate fontSet
2925 array with default font if needed.
2926 (FreetypeGlyphVector(FreetypeGlyphVector)): Clone all fields.
2927 (getNativeFontPointer): New native method.
2928 * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h: Regenerated.
2929 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
2930 (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getNativeFontPointer):
2933 2007-04-02 Francis Kung <fkung@redhat.com>
2935 * INSTALL: Document known bug in at-spi, atk, and gail packages prior to
2938 2007-04-02 Francis Kung <fkung@redhat.com>
2940 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2941 (cairoDrawGlyphVector): Added parameter.
2942 (drawGlyphVector): Retrieve and pass fontset parameter.
2943 * gnu/java/awt/peer/gtk/ComponentGraphics.java
2944 (cairoDrawGlyphVector): Added parameter.
2945 (lock): Removed unnecessary cast.
2946 (unlock): Removed unnecessary cast and explicitly set to ONE variable.
2947 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
2948 (fontSet): New field.
2949 (dispose): New native method.
2950 (finalize): New method.
2951 (getGlyphFonts): New method.
2952 (getGlyphOutline): Pass fontSet parameter to native method.
2953 (getGlyphOutlineNative): Added parameter.
2954 (getGlyphs): Pass extra parameters to native method.
2955 (getGlyphsNative): Added parameters.
2956 (getKerning): Added fontSet parameter.
2957 (getMetricsNative): Added fontSet parameter.
2958 (performDefaultLayout): Only check kerning if glyphs use the same font.
2959 (setupGlyphMetrics): Pass extra parameters to native methods.
2960 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
2961 * include/gnu_java_awt_peer_gtk_FreetypGlyphVector.h: Regenerated.
2962 * native/jni/gtk-peer/gdkfont.h: Enable pango engine.
2963 (peerfont): Add variable for fontset.
2964 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
2965 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector): Accept
2966 array of font pointers to use when drawing glyphs.
2967 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
2968 (getFontSet): New function.
2969 (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_dispose): New function.
2970 (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphOutlineNative):
2971 Added and use new fontSet parameter.
2972 (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphs): Use pango
2973 to retrieve glyphs and estimate font, if the current font does not contain
2975 (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getKerning): Added and use
2976 new fontSet parameter.
2977 (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getMetricsNative): Added
2978 and use new fontSet parameter.
2979 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
2980 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_dispose): Free fontset.
2981 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_setFont): Load fontset.
2983 2007-04-02 Andrew Haley <aph@redhat.com>
2985 * javax/management/ObjectName.java: Handle 0-length names.
2986 * javax/management/MBeanServerFactory.java: Use the domain that
2987 we've been passed, not the fixed string "DefaultDomain".
2989 2007-04-01 Mark Wielaard <mark@klomp.org>
2991 * org/omg/CORBA/DynAny.java: Mark as deprecated.
2992 * org/omg/CORBA/DynArray.java: Likewise.
2993 * org/omg/CORBA/DynEnum.java: Likewise.
2994 * org/omg/CORBA/DynFixed.java: Likewise.
2995 * org/omg/CORBA/DynSequence.java: Likewise.
2996 * org/omg/CORBA/DynStruct.java: Likewise.
2997 * org/omg/CORBA/DynUnion.java: Likewise.
2998 * org/omg/CORBA/DynValue.java: Likewise.
2999 * org/omg/CORBA/ORB.java (create_basic_dyn_any): Likewise.
3000 (create_dyn_any): Likewise.
3001 (create_dyn_array): likewise.
3002 (create_dyn_enum): Likewise.
3003 (create_dyn_sequence): Likewise.
3004 (create_dyn_struct): Likewise.
3005 (create_dyn_union): Likewise.
3007 2007-04-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
3009 * gnu/javax/management/Translator.java:
3010 (fromJava(Object[],Method)): Use the array from the
3011 parameter not the newly created one...
3012 (fromJava(Object, Type)): Support MXBeans.
3013 * javax/management/JMX.java:
3014 (newMXBeanProxy(MBeanServerConnection,ObjectName,Class)):
3015 Call newMXBeanProxy rather than newMBeanProxy.
3016 * javax/management/StandardMBean.java:
3017 (setAttribute(Attribute)): Use InvocationTargetException
3020 2007-03-31 Jeroen Frijters <jeroen@frijters.net>
3023 * java/util/concurrent/CopyOnWriteArrayList.java
3024 (remove): Fixed ArrayIndexOutOfBoundsException when index == 0.
3026 2007-03-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
3028 * javax/management/openmbean/CompositeDataInvocationHandler.java:
3031 2007-03-30 Kyle Galloway <kgallowa@redhat.com>
3033 * gnu/classpath/jdwp/util/VariableTable.java: Make argCnt and slots ints.
3034 (write): Replace writeLong with writeInt for above.
3036 2007-03-30 Tom Tromey <tromey@redhat.com>
3039 * gnu/java/util/jar/JarUtils.java (log): Commented out.
3040 (readSFManifest): Don't log.
3042 2007-03-29 Tom Tromey <tromey@redhat.com>
3045 * java/util/logging/LogManager.java (readConfiguration): Handle
3046 comma-separated 'handlers'. Don't try to add a non-existing
3049 2007-03-29 Keith Seitz <keiths@redhat.com>
3051 * gnu/classpath/jdwp/event/ThreadStartEvent.java (Event):
3052 Event type is "THREAD_START" not "THERAD_END".
3054 * gnu/classpath/jdwp/transport/SocketTransport.java (ITransport):
3055 Handle configure strings ":port" and "port".
3057 2007-03-29 Francis Kung <fkung@redhat.com>
3059 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
3060 (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Revert last patch.
3062 2007-03-29 Mark Wielaard <mark@klomp.org>
3064 * native/jni/java-nio/Makefile.am (LIBADD): Add libclasspathnative.
3066 2007-03-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
3068 * javax/management/StandardMBean.java:
3069 (setAttribute(Attribute)): Add handling of primitive
3070 types and subtype parameters.
3071 (getMutator(String,Class<?>)): New helper method to
3074 2007-03-28 Roman Kennke <roman@kennke.org>
3076 * java/io/OutputStreamWriter.java,
3077 * java/io/InputStreamReader.java: Revert big stream patch due to
3080 2007-03-28 Tom Tromey <tromey@redhat.com>
3083 * external/sax/org/xml/sax/helpers/XMLReaderFactory.java
3084 (createXMLReader): Code in Classpath default.
3086 2007-03-28 Tom Tromey <tromey@redhat.com>
3089 * native/jni/java-lang/java_lang_VMDouble.c
3090 (parseDoubleFromChars): Use %p, not %i.
3092 2007-03-28 Mark Wielaard <mark@klomp.org>
3094 * native/jni/java-nio/Makefile.am (LIBADD): Don't add
3096 * native/jni/java-nio/gnu_java_nio_VMChannel.c
3097 (Java_gnu_java_nio_VMChannel_open): Don't set and reset umask.
3099 2007-03-27 Francis Kung <fkung@redhat.com>
3101 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
3102 (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Prevent loading of
3103 accessibility modules as temporary workaround for Gnome bug.
3105 2007-03-27 Kyle Galloway <kgallowa@redhat.com>
3107 * gnu/classpth/jdwp/processor/ThreadReferenceCommandSet.java
3108 (executeResume): Change to call VMVirtualMachine.resumeThread.
3110 2007-03-27 Roman Kennke <roman@kennke.org>
3112 * java/io/InputStreamReader.java
3113 (BUFFER_SIZE): New constant.
3114 (bytesCache): Removed.
3115 (cacheLock): Removed.
3116 (hasSavedSurrogate): Removed.
3117 (lastArray): New field. Used for caching CharBuffers.
3118 (lastBuffer): New field. Used for caching CharBuffers.
3119 (maxBytesPerChar): Removed.
3120 (oneChar): New field. Caches a char array for read().
3121 (savedSurrogate): New field.
3122 (InputStreamReader): (all constructors) Cleaned up.
3123 Use initDecoderAndBuffer() method. Check for null parameters.
3124 Use new EncodingHelper.getDefaultCharset() for fetching the
3126 (decode): New helper method. Decodes using the NIO decoder or
3127 using a raw Latin1 decoding.
3128 (getCharBuffer): New helper method. Implements caching of
3129 CharBuffers for output arrays.
3130 (initDecoderAndBuffer): New helper method. Initializes the decoder
3132 (read): Use cached array.
3133 (read(char[],int,int)): Reworked using a cleaner NIO based
3134 implementation. This decodes the incoming data in bigger chunks
3135 rather then calling the decoder for each character.
3136 (ready): Also check the input buffer.
3137 (refillInputBuffer): New helper methods. Refills the input buffer
3138 when it runs out of data.
3139 * java/io/OutputStreamWriter.java
3140 (lastArray): Implements caching of the output array buffer.
3141 (lastBuffer): Implements caching of the output array buffer.
3142 (oneChar): New field. Caches a char array for write().
3143 (outputBuffer): Make this a ByteBuffer.
3144 (OutputStreamWriter): (all constructors) Cleaned up.
3145 Use initEncoderAndBuffer() method. Check for null parameters.
3146 Use new EncodingHelper.getDefaultCharset() for fetching the
3148 (encode): New helper method. Encodes the input buffer to the output
3149 buffer using either the NIO encoder or a raw Latin1 encoding.
3150 (encodeChars): New helper method. The encoding loop.
3151 (flush): Directly use the array of the output buffer.
3152 (getCharBuffer): New helper method. Implements caching of the
3154 (initEncoderAndBuffer): New helper method for initialization.
3155 (write(char[],int,int)): Reworked to make better use of the NIO
3157 (write): Use cached array.
3158 (write(String,int,int)): Don't copy the string but rather wrap it
3159 and handle it the same as the wrapped char array.
3160 (writeConvert): Removed.
3161 * gnu/java/nio/charset/EncodingHelper.java
3162 (getDefaultCharset): New method. Returns the default charset for
3163 the case when the file.encoding charset is not valid. This
3164 always returns an UTF8 codec.
3166 2007-03-27 Roman Kennke <kennke@aicas.com>
3168 * java/awt/Frame.java
3169 (weakFrames): Make this generic and package private.
3170 (noteFrame): Use generic WeakReference.
3171 * java/awt/EventQueue.java
3172 (isShutdown): Iterate over the weakFrames directly, rather than
3173 using Frame.getFrames(). The latter iterates several times over
3174 weakFrames completely and creates a new array on each call. The
3175 former iterates only once and aborts when it finds a frame which
3178 2007-03-27 Roman Kennke <kennke@aicas.com>
3180 * javax/swing/JScrollBar.java
3181 (getUnitIncrement(int)): Don't multiply direction parameter.
3182 (getBlockIncrement(int)): Don't multiply direction parameter.
3184 2007-03-26 Tom Tromey <tromey@redhat.com>
3186 * doc/cp-tools.texinfo (gcjh Tool): Added more text.
3187 (rmid Tool): Likewise.
3189 2007-03-26 Stepan Kasal <skasal@redhat.com>
3191 * tools/gnu/classpath/tools/javah/Main.java (cniOrJniSeen): New
3193 (getParser): Use new field.
3195 2007-03-25 Dalibor Topic <robilad@kaffe.org>
3197 * doc/cp-tools.texinfo: Fix node ordering.
3199 2007-03-19 Matthias Klose <doko@ubuntu.com>
3201 * doc/Makefile.am: Build a gcjh(1) man page.
3202 * doc/cp-tools.texinfo: Add documentation for gcjh.
3204 2007-03-23 Jeroen Frijters <jeroen@frijters.net>
3206 * java/net/ServerSocket.java (implAccept): set implCreated flag on
3208 * java/net/Socket.java (implCreated): Make package accessible for
3211 2007-03-22 Casey Marshall <csm@gnu.org>
3213 * gnu/javax/net/ssl/provider/ClientHandshake.java (RSAGen.implRun):
3214 check keyEncipherment bit of the certificate, and just pass the public
3217 2007-03-20 Mario Torre <neugens@limasoftware.net>
3219 * configure.ac: GConf requirement for building the java.util.prefs backend
3220 are relaxed down to version 2.6.0 (instead of 2.11.2).
3222 2007-03-19 Mario Torre <neugens@limasoftware.net>
3224 * gnu/java/awt/peer/KDEDesktopPeer.java:
3225 (mail): Fixed error dialog in KDE when the mail method is called without
3226 argument; now opens the default mailer with a blank window.
3227 (getCommand): Handle the use of kprinter as default print command for KDE.
3228 (supportCommand): Enable the print command when a KDE desktop is detected.
3230 2007-03-19 Jeroen Frijters <jeroen@frijters.net>
3232 * java/net/Socket.java
3233 (implCreated): New field.
3234 (getImpl): Call impl.create() if it hasn't been called yet.
3235 (bind): Removed explicit impl.create() call.
3237 2007-03-18 Mark Wielaard <mark@klomp.org>
3239 * javax/crypto/CipherOutputStream.java (write): Use out.write()
3242 2007-03-18 Mark Wielaard <mark@klomp.org>
3244 * configure.ac (COMPILE_PLUGIN): Check for gtk+-2.0 >= 2.8
3245 gthread-2.0 >= 2.2 and gdk-pixbuf-2.0
3247 2007-03-16 Tom Tromey <tromey@redhat.com>
3249 * tools/gnu/classpath/tools/javah/Main.java (run): Use class'
3252 2007-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
3254 * resource/com/sun/tools/javac/messages.properties
3255 (Main.FailedToRead, Main.MalformedURL, Main.FailedToLoad): Clarify
3256 messages for when --with-ecj-jar is not specified.
3258 * configure.ac (FOUND_ECJ_JAR): Remove conditional.
3259 * tools/Makefile.am: Build com.sun.tools.javac package
3262 2007-03-16 Mark Wielaard <mark@klomp.org>
3264 * configure.ac (COMPILE_PLUGIN): Stop when no plugin headers found.
3265 Also check for gtk+ dependency.
3267 2007-03-16 Tom Tromey <tromey@redhat.com>
3269 * tools/gnu/classpath/tools/javah/JniStubPrinter.java
3270 (printClass): Added filename argument.
3271 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
3272 (printClass): Added filename argument.
3273 * tools/gnu/classpath/tools/javah/CniIncludePrinter.java
3274 (printClass): Use user's file name.
3275 * tools/gnu/classpath/tools/javah/CniStubPrinter.java
3276 (printClass): Use user's file name.
3277 * tools/gnu/classpath/tools/javah/Printer.java (printClass): Added
3279 * tools/gnu/classpath/tools/javah/Main.java (getParser): Fix '-v'
3281 (writeHeaders): Use a HashMap.
3282 (run): Put class name into HashMap for writeHeaders.
3284 2007-03-16 Francis Kung <fkung@redhat.com>
3286 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3287 (cairoArc): Make protected rather than private so it can be over-ridden.
3288 (cairoClip): Likewise.
3289 (cairoClosePath): Likewise.
3290 (cairoCurveTo): Likewise.
3291 (cairoDrawGlyphVector): Likewise.
3292 (cairoFill): Likewise.
3293 (cairoLineTo): Likewise.
3294 (cairoMoveTo): Likewise.
3295 (cairoNewPath): Likewise.
3296 (cairoRectangle): Likewise.
3297 (cairoResetClip): Likewise.
3298 (cairoRestore): Likewise.
3299 (cairoSave): Likewise.
3300 (cairoScale): Likewise.
3301 (cairoSetAntialias): Likewise.
3302 (cairoSetDash): Likewise.
3303 (cairoSetFillRule): Likewise.
3304 (cairoSetFont): Likewise.
3305 (cairoSetLine): Likewise.
3306 (cairoSetMatrix): Likewise.
3307 (cairoSetOperator): Likewise.
3308 (cairoSetRGBAColor): Likewise.
3309 (cairoStroke): Likewise.
3310 (drawPixels): Likewise.
3312 (setGradient): Likewise.
3313 (setPaintPixels): Likewise.
3314 (cairoDrawLine): Removed.
3315 (cairoDrawRect): Removed.
3316 (cairoFillRect): Removed.
3317 (cairoPreserveClip): Removed.
3318 (cairoRelCurveTo): Removed.
3319 (cairoRelLineTo): Removed.
3320 (cairoRelMoveTo): Removed.
3321 * gnu/java/awt/peer/gtk/ComponentGraphics.java
3322 (cairoArc): New method wrapping superclass method in locks.
3323 (cairoClip): Likewise.
3324 (cairoClosePath): Likewise.
3325 (cairoCurveTo): Likewise.
3326 (cairoDrawGlyphVector): Likewise.
3327 (cairoFill): Likewise.
3328 (cairoLineTo): Likewise.
3329 (cairoMoveTo): Likewise.
3330 (cairoNewPath): Likewise.
3331 (cairoRectangle): Likewise.
3332 (cairoResetClip): Likewise.
3333 (cairoRestore): Likewise.
3334 (cairoSave): Likewise.
3335 (cairoScale): Likewise.
3336 (cairoSetAntialias): Likewise.
3337 (cairoSetDash): Likewise.
3338 (cairoSetFillRule): Likewise.
3339 (cairoSetFont): Likewise.
3340 (cairoSetLine): Likewise.
3341 (cairoSetMatrix): Likewise.
3342 (cairoSetOperator): Likewise.
3343 (cairoSetRGBAColor): Likewise.
3344 (cairoStroke): Likewise.
3345 (disposeNative): Likewise.
3346 (drawPixels): Likewise.
3348 (setGradient): Likewise.
3349 (setPaintPixels): Likewise.
3350 (draw): Do not lock, as locking is now done in the wrapped native methods.
3351 (drawComposite): Likewise.
3352 (drawGlyphVector): Likewise.
3353 (drawImage): Likewise.
3354 (drawRenderedImage): Likewise.
3357 (lock): Added documentation.
3358 (unlock): Added documentation.
3359 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
3360 * include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated.
3361 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
3362 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawLine): Removed.
3363 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawRect): Removed.
3364 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoFillRect): Removed.
3365 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoPreserveClip): Removed.
3366 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoRelCurveTo): Removed.
3367 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoRelLineTo): Removed.
3368 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoRelMoveTo): Removed.
3370 2007-03-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
3372 * javax/management/openmbean/ArrayType.java:
3373 (getArrayClassName(String, int)): Replaced by...
3374 (getArrayClassName(OpenType, int, boolean)):
3375 Returns appropriate class name for the array.
3376 (getDimensions(OpenType, int)): New method.
3377 (getPrimitiveType(Class<?>)): Likewise.
3378 (getPrimitiveTypeClass(OpenType<?>)): Likewise.
3379 (getElementType(OpenType<?>)): Likewise.
3380 (getElementTypeName(OpenType<?>)): Likewise.
3381 (ArrayType(int, OpenType<?>)): Rewritten
3382 to handle ArrayTypes as input.
3383 (ArrayType(SimpleType<?>, boolean)): New constructor.
3384 (equals(Object)): Handle primitiveArray flag.
3385 (hashCode()): Likewise.
3386 (getArrayType(OpenType<E>)): New method.
3387 (getPrimitiveArrayType(Class<T>)): Likewise.
3388 (isPrimitiveArray()): Likewise.
3389 (toString()): Updated to list primitiveArray
3391 * javax/management/openmbean/OpenType.java:
3392 (OpenType(String,String,String)): Use Class.forName()
3393 and methods of Class to validate arrays.
3394 * javax/management/openmbean/SimpleType.java:
3395 Include causal exception when creating pre-defined types
3396 throws an exception.
3398 2007-03-09 Andreas Tobler <a.tobler@schweiz.org>
3400 Port change from gcc:
3402 2007-03-06 Matthias Klose <doko@ubuntu.com>
3404 * doc/Makefile.am(gkeytool.pod): Don't use sed -i.
3406 2007-03-09 Kyle Galloway <kgallowa@redhat.com>
3408 * gnu/classpath/jdwp/exception/InvalidTagException.java: New file.
3409 * gnu/classpath/jdwp/processor/ArrayReferenceCommandSet.java
3410 (executeGetValues): Use Value type.
3411 (exectureSetValues): Ditto.
3412 * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
3413 (executeGetValues): Use Value type.
3414 (executeSetValues): Ditto.
3415 (invokeMethod): Record method return type.
3416 * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java
3417 (executeGetValues): Use Value type.
3418 (executeSetValues): Ditto.
3419 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
3420 (executeGetValues): Use Value type.
3421 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
3422 (executeGetValues): Use Value type.
3423 (executeSetValues): Ditto.
3424 * gnu/classpath/jdwp/util/MethodResult.java: Add resType to store return
3426 (getResultType): New Method.
3427 (setResultType): Ditto.
3428 * gnu/classpath/jdwp/util/Value.java: Remove.
3429 * gnu/classpath/jdwp/value: New Package.
3430 * gnu/classpath/jdwp/value/Value.java: New file.
3431 * gnu/classpath/jdwp/value/BooleanValue.java: New file.
3432 * gnu/classpath/jdwp/value/ByteValue.java: New file.
3433 * gnu/classpath/jdwp/value/CharValue.java: New file.
3434 * gnu/classpath/jdwp/value/DoubleValue.java: New file.
3435 * gnu/classpath/jdwp/value/FloatValue.java: New file.
3436 * gnu/classpath/jdwp/value/IntValue.java: New file.
3437 * gnu/classpath/jdwp/value/LongValue.java: New file.
3438 * gnu/classpath/jdwp/value/ObjectValue.java: New file.
3439 * gnu/classpath/jdwp/value/ShortValue.java: New file.
3440 * gnu/classpath/jdwp/value/StringValue.java: New file.
3441 * gnu/classpath/jdwp/value/ValueFactory.java: New file.
3442 * gnu/classpath/jdwp/value/VoidValue.java: New file.
3444 2007-03-09 Roman Kennke <kennke@aicas.com>
3446 * java/awt/image/SinglePixelPackageSampleModel.java
3447 (createDataBuffer): Avoid use of Buffers class and create
3448 DataBuffer directly in place.
3450 2007-03-09 Roman Kennke <kennke@aicas.com>
3452 * java/awt/image/ComponentSampleModel.java
3453 (tightPixelPacking): Removed.
3454 (ComponentSampleModel): Removed unnecessary 'optimization' code.
3455 (createDataBuffer): Avoid use of Buffers helper class.
3456 (getDataElements(int,int,int,int,Object,DataBuffer): Removed.
3457 (getDataElements(int,int,Object,DataBuffer): Do not use Buffers
3458 helper class and instead fetch the values directly. Don't expect
3459 any specific DataBuffer subclass.
3460 (setDataElements(int,int,int,int,Object,DataBuffer): Removed.
3461 (setDataElements(int,int,Object,DataBuffer): Do not use Buffers
3462 helper class and instead set the values directly. Don't expect
3463 any specific DataBuffer subclass.
3465 2007-03-08 Tom Tromey <tromey@redhat.com>
3468 * java/net/MulticastSocket.java (setTimeToLive): Allow ttl==0.
3470 2007-03-08 Gary Benson <gbenson@redhat.com>
3473 * gnu/xml/dom/ls/DomLSParser.java (getInputSource):
3474 Do not use the entity resolver to resolve the top-level document.
3476 2007-03-07 Tom Tromey <tromey@redhat.com>
3479 * java/util/regex/Pattern.java (toString): New method.
3481 2007-03-07 Gary Benson <gbenson@redhat.com>
3484 * resource/META-INF/services/org.w3c.dom.DOMImplementationSourceList:
3487 2007-03-06 Andrew John Hughes <gnu_andrew@member.fsf.org>
3489 * gnu/java/lang/management/BeanImpl.java:
3490 (translate(String)): Add horrible generics hacks
3491 to make things work with the new type signatures.
3492 * javax/management/loading/ClassLoaderRepository.java:
3493 Added generic types.
3494 * javax/management/openmbean/CompositeDataSupport.java:
3496 * javax/management/openmbean/OpenMBeanOperationInfo.java:
3498 * javax/management/openmbean/OpenMBeanParameterInfo.java:
3501 2007-03-06 Francis Kung <fkung@redhat.com>
3503 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
3504 (getGlyphOutline): Apply glyph position translation.
3505 (getOutline): Do not apply glyph position translation.
3507 2007-03-06 Tom Tromey <tromey@redhat.com>
3509 * tools/gnu/classpath/tools/javah/Main.java (getName): New
3511 (getParser): Now protected. Use getName. Add '-v' alias for
3513 (postParse): New method.
3514 (run): Now protected. Use postParse.
3515 * tools/gnu/classpath/tools/javah/GcjhMain.java: New file.
3517 2007-03-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
3519 * gnu/javax/management/Translator.java:
3520 (translate(String)): Use a Boolean array to
3521 comply with the new typing.
3522 * javax/management/openmbean/ArrayType.java:
3523 Added generic types and updated copyright headers.
3524 * javax/management/openmbean/CompositeData.java:
3526 * javax/management/openmbean/CompositeDataSupport.java:
3528 * javax/management/openmbean/CompositeType.java:
3530 * javax/management/openmbean/OpenMBeanAttributeInfoSupport.java:
3532 * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
3534 * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
3536 * javax/management/openmbean/OpenType.java:
3537 Updated copyright header.
3538 * javax/management/openmbean/SimpleType.java:
3539 Added generic types and updated copyright headers.
3540 * javax/management/openmbean/TabularData.java:
3542 * javax/management/openmbean/TabularDataSupport.java:
3544 * javax/management/openmbean/TabularType.java:
3547 2007-03-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
3549 * gnu/java/lang/management/BeanImpl.java:
3550 Reference the new Translator class.
3551 (translate(String)): Moved to Translator.
3552 * gnu/javax/management/Translator.java:
3554 * javax/management/JMX.java:
3556 * javax/management/MBeanServerInvocationHandler.java:
3558 * javax/management/MXBean.java:
3560 * javax/management/ObjectName.java:
3561 (ObjectName(String)): Catch a key without a value.
3562 * javax/management/StandardMBean.java:
3563 (StandardMBean(Class<?>)): Handle MXBeans.
3564 (StandardMBean(Object, Class<?>)): Likewise.
3565 (invoke(String,Object[],String[])): Disallow
3566 calling attribute methods and handle null signatures.
3567 (setAttribute(Attribute)): Search for mutators
3568 with the appropriate signature.
3569 * javax/management/openmbean/OpenType.java:
3571 (ALLOWED_CLASSNAMES_LIST): New field.
3573 2007-03-02 Mario Torre <neugens@limasoftware.net>
3576 committed for Petteri Räty <betelgeuse@gentoo.org>
3577 * configure.ac: fix broken build for gcj browser plugin
3579 2007-03-02 Mario Torre <neugens@limasoftware.net>
3581 * java/awt/Desktop.java: new java 1.6 class.
3582 * java/awt/peer/DesktopPeer.java: new inteface.
3583 * gnu/java/awt/peer/GnomeDesktopPeer.java: new class.
3584 * gnu/java/awt/peer/ClasspathDesktopPeer.java: new class.
3585 * gnu/java/awt/peer/KDEDesktopPeer.java: new class.
3586 * java/awt/Toolkit.java (createDesktopPeer): new method to support the
3587 creation of DesktopPeer instances.
3588 * gnu/java/awt/peer/qt/QtToolkit.java: update copyright notice and
3590 * gnu/java/awt/ClasspathToolkit.java (createDesktopPeer): new method.
3592 2007-02-28 Keith Seitz <keiths@redhat.com>
3594 * gnu/classpath/jdwp/processor/EventRequestCommandSet.java
3595 (executeSet): Check if VM has capability for field access
3596 or modification events.
3597 * gnu/classpath/jdwp/processor/MethodCommandSet.java
3598 (executeByteCodes): Check if VM has capability and
3600 * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java
3601 (executeMonitorInfo): Likewise.
3602 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
3603 (executeSourceDebugExtension): Likewise.
3604 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
3605 (executePopFrames): Likewise.
3606 * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java
3607 (executeOwnedMonitors): Likewise.
3608 (executeCurrentContendedMonitor): Likewise.
3609 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
3610 (executeCapabilities): Rewrite using new VMVirtualMachine
3612 (executeRedefineClasses): Check if VM has capability and
3614 (executeSetDefaultStratum): Likewise.
3615 * gnu/classpath/jdwp/util/MonitorInfo.java; New file.
3616 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
3617 (canWatchFieldModification): New class constant.
3618 (canWatchFieldAccess): Likewise.
3619 (canGetBytecodes): Likewise.
3620 (canGetSyntheticAttribute): Likewise.
3621 (canGetOwnedMonitorInfo): Likewise.
3622 (canGetCurrentContendedMonitor): Likewise.
3623 (canGetMonitorInfo): Likewise.
3624 (canRedefineClasses): Likewise.
3625 (canAddMethod): Likewise.
3626 (canUnrestrictedlyRedefineClasses): Likewise.
3627 (canPopFrames): Likewise.
3628 (canUseInstanceFilters): Likewise.
3629 (canGetSourceDebugExtension): Likewise.
3630 (canRequestVMDeathEvent): Likewise.
3631 (canSetDefaultStratum): Likewise.
3632 (redefineClasses): New method.
3633 (setDefaultStratum): Likewise.
3634 (getSourceDebugExtension): Likewise.
3635 (getBytecodes): Likewise.
3636 (getMonitorInfo): Likewise.
3637 (getOwnedMonitors): Likewise.
3638 (getCurrentContendedMonitor): Likewise.
3639 (popFrames): Likewise.
3641 2007-03-01 Roman Kennke <kennke@aicas.com>
3643 * java/awt/Canvas.java
3644 (graphicsConfiguration): Removed duplicate (from Component) field.
3645 (Canvas(GraphicsConfiguration)): Set the Component's graphicsConfig
3647 (getGraphicsConfigurationImpl): Removed.
3648 * java/awt/Component.java
3649 (getGraphicsConfiguration): Moved implementation here. Synchronize
3650 on tree lock to prevent threading nastiness. Don't query peer
3651 and instead return the setting of the graphicsConfig field.
3652 (getGraphicsConfigurationImpl): Removed.
3653 * java/awt/Window.java
3654 (graphicsConfiguration): Removed duplicate (from Component) field.
3655 (Window): Set the Component's graphicsConfig field.
3656 (Window(GraphicsConfiguration)): Set the Component's graphicsConfig
3658 (Window(Window,GraphicsConfiguration)): Set the Component's
3659 graphicsConfig field.
3660 (getGraphicsConfigurationImpl): Removed.
3661 (getGraphicsConfiguration): Fetch the local graphics env here
3662 if not already done and return that.
3664 2007-02-28 Thomas Fitzsimmons <fitzsim@redhat.com>
3666 * INSTALL: Document --with-ecj-jar configure option and ecj jar
3667 requirement for com.sun.tools.javac support.
3668 * configure.ac: Add --with-ecj-jar configure option.
3669 * gnu/classpath/Configuration.java.in (ECJ_JAR): New field.
3670 * tools/Makefile.am: Build decendents of com and sun directories.
3671 * resource/com/sun/tools/javac/messages.properties,
3672 resource/sun/rmi/rmic/messages.properties,
3673 tools/com/sun/javadoc/ClassDoc.java,
3674 tools/com/sun/javadoc/ConstructorDoc.java,
3675 tools/com/sun/javadoc/Doc.java,
3676 tools/com/sun/javadoc/DocErrorReporter.java,
3677 tools/com/sun/javadoc/Doclet.java,
3678 tools/com/sun/javadoc/ExecutableMemberDoc.java,
3679 tools/com/sun/javadoc/FieldDoc.java,
3680 tools/com/sun/javadoc/MemberDoc.java,
3681 tools/com/sun/javadoc/MethodDoc.java,
3682 tools/com/sun/javadoc/PackageDoc.java,
3683 tools/com/sun/javadoc/ParamTag.java,
3684 tools/com/sun/javadoc/Parameter.java,
3685 tools/com/sun/javadoc/ProgramElementDoc.java,
3686 tools/com/sun/javadoc/RootDoc.java,
3687 tools/com/sun/javadoc/SeeTag.java,
3688 tools/com/sun/javadoc/SerialFieldTag.java,
3689 tools/com/sun/javadoc/SourcePosition.java,
3690 tools/com/sun/javadoc/Tag.java,
3691 tools/com/sun/javadoc/ThrowsTag.java,
3692 tools/com/sun/javadoc/Type.java,
3693 tools/com/sun/javadoc/TypeVariable.java,
3694 tools/com/sun/tools/doclets/Taglet.java,
3695 tools/com/sun/tools/javac/Main.java,
3696 tools/com/sun/tools/javac/Messages.java,
3697 tools/sun/rmi/rmic/Main.java, tools/sun/rmi/rmic/Messages.java:
3700 2007-02-28 Keith Seitz <keiths@redhat.com>
3702 * gnu/classpath/jdwp/processor/MethodCommandSet.java
3703 (executeLineTable): Use ReferenceTypeId instead of
3704 ClassReferenceTypeId.
3705 (executeVariableTable): Likewise.
3706 (executeVariableTableWithGeneric): Fix error message.
3707 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
3708 (executeSignatureWithGeneric): Fix error message.
3709 (executeFieldWithGeneric): Likewise.
3710 (executeMethodsWithGeneric): Likewise.
3711 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
3712 (executeGetValues): Use ThreadId instead of ObjectId.
3713 (executeSetValues): Likewise.
3714 (executeThisObject): Likewise.
3716 2007-02-28 Kyle Galloway <kgallowa@redhat.com>
3718 * gnu/classpath/jdwp/id/NullObjectId.java: New class.
3719 * gnu/classpath/jdwp/util/NullObject.java: New class.
3720 * vm/reference/gnu/classpath/jdwp/VMIdManager.java
3721 (getObjectId): Handle null object.
3722 (get): Handle objectId of 0.
3724 2007-02-26 Francis Kung <fkung@redhat.com>
3726 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
3727 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_setFont): Stop using deprecated
3728 function for creating new font map.
3730 2007-02-26 Francis Kung <fkung@redhat.com>
3732 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3733 (drawCairoSurface): Do not reset clip.
3734 (drawImage(Image,AffineTransform,Color,ImageObserver)): Likewise.
3736 2007-02-23 Francis Kung <fkung@redhat.com>
3738 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3739 (drawCairoSurface): New method.
3740 (drawImage(Image,AffineTransform,Color,ImageObserver)): Use new
3741 drawCairoSurface() method.
3742 * gnu/java/awt/peer/gtk/CairoSurface.java
3743 (CairoSurface(SampleModel,CairoSurface,Rectangle,Point)): Copy correct
3744 width/height values, and copy sharedBuffer value.
3745 (createWritableChild): Remove debug line.
3746 (drawSurface): Removed method.
3747 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
3748 (drawComposite): Translate image when drawing.
3750 2007-02-23 Gary Benson <gbenson@redhat.com>
3751 Jakub Jelinek <jakub@redhat.com>
3755 * java/util/Date.java (parse): Properly parse 09:01:02 as
3756 hours/minutes/seconds, not as hours/minutes/year.
3757 * java/util/SimpleTimeZone.java (SimpleTimeZone): Simplify
3758 {start,end}TimeMode constructor by calling shorter constructor,
3759 set {start,end}TimeMode fields after it returns.
3760 (setStartRule): Don't adjust startTime into WALL_TIME. Set
3761 startTimeMode to WALL_TIME.
3762 (endStartRule): Similarly.
3763 (getOffset): Handle properly millis + dstOffset overflowing into the
3764 next day. Adjust startTime resp. endTime based on startTimeMode
3766 * java/util/TimeZone.java (zoneinfo_dir, availableIDs, aliases0): New
3768 (timezones): Remove synchronized keyword. Set zoneinfo_dir.
3769 If non-null, set up aliases0 and don't put anything into
3771 (defaultZone): Call getTimeZone instead of timezones().get.
3772 (getDefaultTimeZone): Fix parsing of EST5 or EST5EDT6. Use
3773 getTimeZoneInternal instead of timezones().get.
3774 (parseTime): Parse correctly hour:minute.
3775 (getTimeZoneInternal): New private method.
3776 (getTimeZone): Do the custom ID checking first, canonicalize
3777 ID for custom IDs as required by documentation. Call
3778 getTimeZoneInternal to handle the rest.
3779 (getAvailableIDs(int)): Add locking. Handle zoneinfo_dir != null.
3780 (getAvailableIDs(File,String,ArrayList)): New private method.
3781 (getAvailableIDs()): Add locking. Handle zoneinfo_dir != null.
3782 * vm/reference/java/util/VMTimeZone.java (getDefaultTimeZoneId):
3783 To read /etc/localtime, use ZoneInfo.readTZFile instead of
3784 VMTimeZone.readtzFile. Get better timezone name for
3785 /etc/localtime, either if it is a symlink or through
3786 /etc/sysconfig/clock.
3787 (readSysconfigClockFile): New static method.
3788 (readtzFile): Removed.
3789 * gnu/java/util/ZoneInfo.java: New file.
3790 * java/lang/System.java: Add gnu.java.util.zoneinfo.dir to comments.
3791 * NEWS: Documented TimeZone interface changes.
3793 2007-02-23 Francis Kung <fkung@redhat.com>
3795 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
3796 (Java_gnu_java_awt_peer_gtk_CairoSurface_create): Remove debug line.
3798 2007-02-22 Keith Seitz <keiths@redhat.ecom>
3800 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
3801 (getAllLoadedClassesCount): Remove.
3802 (getAllLoadedClasses): Return a Collection.
3803 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
3804 (executeClassesBySignature): VMVirtualMachine.getAllLoadedClasses
3805 now returns Collection.
3806 (executeAllClasses): Likewise.
3807 Get size of return from Colleciton instead of calling
3808 getAllLoadedClassesCount.
3810 2007-02-22 Kyle Galloway <kgallowa@redhat.com>
3812 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
3813 (executeGetValues): Pass a signature byte to VMFrame.getValue.
3814 * vm/reference/gnu/classpath/jdwp/VMFrame.java (getValue): Add
3815 signature parameter.
3817 2007-02-22 Francis Kung <fkung@redhat.com>
3819 * gnu/java/awt/peer/gtk/CairoSurface.java
3820 (copyAreaNative): Pass surface pointer into copyAreaNative2().
3821 (copyAreaNative2): Add parameter for surface pointer.
3822 (getFlippedBuffer): Add parameter for surface pointer.
3823 (getGtkImage): Pass surface pointer into getFlippedBuffer().
3825 2007-02-21 Francis Kung <fkung@redhat.com>
3827 * gnu/java/awt/peer/gtk/BufferedImageGraphcs.java
3828 (constructor): Add pre-multiplied colour model to types available for
3830 (updateBufferedImage): Change surface.getPixels() call to surface.getData().
3831 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3832 (drawImage): Add checks before using CairoSurface optimization.
3833 * gnu/java/awt/peer/gtk/CairoSurface.java
3834 (bufferPointer): Removed field.
3835 (sharedBuffer): New field.
3836 (CairoSurface(GtkImage)): Copy array rather than using setPixels() call.
3837 (CairoSurface(int,int,int)): Use getData() convenience method.
3838 (CairoSurface(SampleModel,CairoSurface,Rectangle,Point)): Remove reference
3839 to deleted bufferPointer field.
3840 (copyAreaNative): Update documentation, remove reference to bufferPointer.
3841 (copyAreaNative2): Remove reference to deleted bufferPointer field.
3842 (destroy): Remove reference to deleted bufferPointer field.
3843 (dispose): Updated to reflect new method signature for destroy().
3844 (drawSurface): Added documentation.
3845 (getData): New convience method.
3846 (getFlippedBuffer): Removed method parameters.
3847 (getGtkImage): Updated to reflect new method signature.
3848 (getPixels): Removed method.
3849 (nativeGetElem): Removed method.
3850 (netiveGetPixels): Removed method.
3851 (nativeSetElem): Removed method.
3852 (nativeSetPixels): Removed method.
3853 (setPixels): Removed method.
3854 (syncJavaToNative): New method.
3855 (syncNativeToJava): New method.
3856 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
3857 (draw): Sync buffers if necessary.
3858 (drawGlyphVector): Likewise.
3859 (drawImage): Likewise.
3860 (drawRenderedImage): Likewise,
3862 * include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated.
3863 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
3864 (Java_gnu_java_awt_peer_gtk_CairoSurface_copyAreaNative2): Use pointer to
3865 surface rather than pointer to buffer.
3866 (Java_gnu_java_awt_peer_gtk_CairoSurface_create): Provide fall-back for
3868 (Java_gnu_java_awt_peer_gtk_CairoSurface_destroy): Handle copied arrays.
3869 (Java_gnu_java_awt_peer_gtk_CairoSurface_getFlippedBuffer): Retrieve
3870 information on size using JNI calls.
3871 (Java_gnu_java_awt_peer_gtk_CairoSurface_getElem): Removed.
3872 (Java_gnu_java_awt_peer_gtk_CairoSurface_getPixels): Removed.
3873 (Java_gnu_java_awt_peer_gtk_CairoSurface_setElem): Removed.
3874 (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Removed.
3875 (Java_gnu_java_awt_peer_gtk_CairoSurface_syncJavaToNative): New function.
3876 (Java_gnu_java_awt_peer_gtk_CairoSurface_syncNativeToJava): New function.
3877 (BUFFER): Removed constant.
3878 (SHARED): New constant.
3880 2007-02-20 Gary Benson <gbenson@redhat.com>
3882 * javax/management/ObjectName.java
3883 (domainMatches): New method.
3884 (apply): Rearranged to use the above.
3886 2007-02-19 Mark Wielaard <mark@klomp.org>
3888 * doc/.cvsignore: Add *.1.
3889 * doc/Makefile.am (CLEANFILES): Add Tools_MANFILES.
3891 2007-02-19 Dalibor Topic <robilad@kaffe.org>
3893 * cp-hacking.texinfo, cp-tools.texinfo,
3894 cp-vmintegration.texinfo: Prefix output file name
3897 2007-02-19 Gary Benson <gbenson@redhat.com>
3899 * javax/management/ObjectName.java
3900 (properties): Initialize when declared.
3901 (ObjectName(String)): Don't initialize properties here.
3902 (ObjectName(String, String, String): Likewise.
3904 2007-02-19 Chris Burdess <dog@gnu.org>
3907 * gnu/xml/dom/ls/SAXEventSink.java: Only set extended document
3908 properties when reader is available.
3910 2007-02-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
3912 * javax/management/MBeanServer.java:
3913 (queryMBeans(ObjectName,QueryExp)): Returned
3914 generically-typed Set.
3915 (queryNames(ObjectName,QueryExp)): Likewise.
3916 * javax/management/MBeanServerConnection.java:
3917 (queryMBeans(ObjectName,QueryExp)): Returned
3918 generically-typed Set.
3919 (queryNames(ObjectName,QueryExp)): Likewise.
3920 * javax/management/ObjectName.java:
3921 Use a generically-typed TreeMap.
3922 (ObjectName(String,Hashtable<String,String>):
3924 (getKeyPropertyList()): Likewise.
3925 * javax/management/StandardMBean.java:
3926 Use a generically-typed interface class.
3927 (StandardMBean(Class<?>)): Genericized.
3928 (StandardMBean(T, Class<T>)): Likewise.
3929 (getImplementationClass()): Likewise.
3930 (getMBeanInterface()): Likewise.
3932 2007-02-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
3934 * javax/management/Descriptor.java:
3936 * javax/management/DescriptorRead.java:
3938 * javax/management/DescriptorAccess.java:
3941 2007-02-16 Matthias Klose <doko@ubuntu.com>
3943 * doc/Makefile.am: Add rules to build and install man pages
3945 * doc/hacking.texinfo doc/tools.texinfo, doc/vmintegration.texinfo:
3946 Rename, prefix files with "cp-".
3947 * doc/cp-tools.texinfo: Add markup for man page generation,
3948 add documentation for command line options for gjar, gjavah,
3949 gnative2ascii, gorbd, grmid, grmiregistry, gserialver, gtnameserv.
3950 doc/texi2pod.pl: New, taken from the GCC sources.
3952 2007-02-16 Francis Kung <fkung@redhat.com>
3954 * gnu/java/awt/ClasspathGraphicsEnvironment.java: New file.
3955 * gnu/java/awt/peer/gtk/CairoSurface.java
3956 (CairoDataBuffer): Removed inner class.
3957 (CairoSurface(int,int,int,int)): New constructor.
3958 (CairoSurface(int,int)): Delegate to new constructor.
3959 (CairoSurface(SampleModel,CairoSurface,Rectangle,Point)): New constructor
3960 for creating child rasters.
3961 (create): Added int[] parameter.
3962 (createChild): New method.
3963 (createCompatibleWritableRaster): New methods.
3964 (createTranslatedChild): New method.
3965 (createWritableChild): New method.
3966 (createWritableTranslatedChild): New method.
3967 (destroy): Added int[] parameter.
3968 (dispose): Only free native resources if this Surface has no parents.
3969 (isCompatibleColorModel): New method.
3970 (isCompatibleSampleModel): New method.
3971 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
3972 (draw): Set transform, smarter bounds generation.
3973 (drawComposite): Improved clipping.
3974 (drawImage): Fixed bounds translation.
3975 (drawRenderedImage): Set transform in buffer.
3976 (fill): Set transform in buffer.
3977 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
3978 (createRaster): New method.
3979 * java/awt/image/BufferedImage.java
3980 (BufferedImage(int,int,int)): Use optimized raster if possible.
3981 * include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated.
3982 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
3983 (Java_gnu_java_awt_peer_gtk_CairoSurface_create): Share data buffer between
3985 (Java_gnu_java_awt_peer_gtk_CairoSurface_destroy): Free data array.
3987 2007-02-16 Francis Kung <fkung@redhat.com>
3989 * javax/management/NotificationBroadcasterSupport.java: Update imports.
3991 2007-02-16 Andrew Haley <aph@redhat.com>
3993 * gnu/java/lang/management/MemoryMXBeanImpl.java,
3994 javax/management/MBeanServerDelegate.java: Use
3995 gnu.javax.management.ListenerData rather than
3996 gnu.classpath.ListenerData.
3997 * gnu/javax/management/ListenerData.java: Move here from
3998 gnu/classpath/ListenerData.java.
4000 2006-10-14 Edwin Steiner <edwin.steiner@gmx.net>
4003 * javax/management/MBeanInfo.java (MBeanInfo):
4004 Use clone to duplicate the arrays in order to
4005 preserve the array type.
4007 2007-02-15 Gary Benson <gbenson@redhat.com>
4009 * gnu/javax/management/Server.java
4010 (registerMBean): Always register objects that implement the
4011 MBeanRegistration interface, and check the name returned by
4012 preRegister before using it.
4014 2007-02-15 Roman Kennke <kennke@aicas.com>
4016 * java/nio/ByteOrder.java
4017 (nativeOrder): Avoid NPE when comparing a system property.
4019 2007-02-13 Gary Benson <gbenson@redhat.com>
4021 * javax/management/ObjectName.java
4022 (toString): Return this item's canonical name.
4024 2007-02-12 Francis Kung <fkung@redhat.com>
4026 * gnu/java/awt/ClasspathToolkit.java:
4027 * gnu/java/awt/peer/gtk/AsyncImage.java,
4028 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java,
4029 * gnu/java/awt/peer/gtk/CairoGraphics2D.java,
4030 * gnu/java/awt/peer/gtk/CairoSurface.java,
4031 * gnu/java/awt/peer/gtk/ComponentGraphics.java,
4032 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java,
4033 * gnu/java/awt/peer/gtk/GdkFontPeer.java,
4034 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4035 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
4036 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
4037 * gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4038 * gnu/java/awt/peer/gtk/GtkClipboard.java,
4039 * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java,
4040 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4041 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4042 * gnu/java/awt/peer/gtk/GtkFramePeer.java,
4043 * gnu/java/awt/peer/gtk/GtkImage.java,
4044 * gnu/java/awt/peer/gtk/GtkImageConsumer.java,
4045 * gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4046 * gnu/java/awt/peer/gtk/GtkListPeer.java,
4047 * gnu/java/awt/peer/gtk/GtkMainThread.java,
4048 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
4049 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
4050 * gnu/java/awt/peer/gtk/GtkMenuPeer.java,
4051 * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java,
4052 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
4053 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4054 * gnu/java/awt/peer/gtk/GtkSelection.java,
4055 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
4056 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4057 * gnu/java/awt/peer/gtk/GtkToolkit.java,
4058 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4059 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java,
4060 * java/awt/RenderingHints.java,
4061 * java/awt/image/BufferedImage.java: Reformatted and added generics.
4063 2007-02-12 Tom Tromey <tromey@redhat.com>
4065 * java/net/Socket.java (bind): Typo fix.
4067 2007-02-12 Tom Tromey <tromey@redhat.com>
4069 * vm/reference/java/lang/reflect/Method.java (getDefaultValue):
4071 * sun/reflect/annotation/AnnotationInvocationHandler.java (create):
4073 (arrayClone): New method.
4074 (invoke): Clone array return results.
4076 2007-02-12 Jakub Jelinek <jakub@redhat.com>
4079 * scripts/timezones.pl: Parse each file in 2 passes, in one parse
4080 just Rule lines, in the other everything else. Pass 0 instead of
4081 $savings as second argument to parseRule when parsing the start
4083 * java/util/TimeZone.java (timezones): Regenerate from tzdata2007a.
4085 2007-02-12 Jakub Jelinek <jakub@redhat.com>
4087 * vm/reference/java/util/VMTimeZone.java: Rewrite to handle both
4088 the old 'TZif\0' format and the new one.
4089 * java/util/TimeZone.java: Handle default (one hour) daylight
4092 2007-02-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
4094 * javax/management/Query.java:
4096 * javax/management/StandardMBean.java:
4097 Use the implementation's class loader.
4099 2007-02-10 Mark Wielaard <mark@klomp.org>
4101 * javax/swing/plaf/metal/MetalFileChooserUI.java: Import Date from
4102 java.util, not from java.sql.
4104 2007-02-10 Roman Kennke <kennke@aicas.com>
4106 * javax/imageio/stream/ImageOutputStreamImpl.java
4107 (flushBits): Implemented.
4108 (writeBit): Implemented.
4109 (writeBits): Implemented.
4111 2007-02-10 Roman Kennke <kennke@aicas.com>
4113 * javax/swing/TransferHandler.java
4114 (SwingDragGestureRecognizer): New inner class.
4115 (SwingDragHandler): New inner class.
4116 (recognizer): New field.
4117 (exportAsDrag): Implemented missing method.
4119 2007-02-10 Roman Kennke <kennke@aicas.com>
4121 * java/awt/GraphicsConfiguration.java
4122 (createCompatibleVolatileImage(int,int,ImageCapabilities): Provide
4123 default implementation that delegates to
4124 createCompatibleVolatileImage(int,int).
4125 (createCompatibleVolatileImage(int,int,ImageCapabilities,int):
4126 New method from JDK5 spec. Default implementation by delegating to
4127 (createCompatibleVolatileImage(int,int,int).
4129 2007-02-09 Tom Tromey <tromey@redhat.com>
4132 * configure.ac: Also check for jack/jack.h.
4134 2007-02-09 Mario Torre <neugens@limasoftware.net>
4136 * java/io/File.java: remove import for
4137 gnu.classpath.NotImplementedException.
4138 (getUsableSpace): removed stub.
4139 (getFreeSpace): likewise.
4140 (getTotalSpace): likewise.
4142 2007-02-09 Mario Torre <neugens@limasoftware.net>
4144 * vm/reference/java/io/VMFile.java:
4145 (canExecute): new 1.6 native method.
4146 (setReadable): likewise.
4147 (setWritable): likewise.
4148 (setExecutable): likewise.
4149 * java/io/File.java: added import for gnu.classpath.NotImplementedException.
4150 (setReadOnly): new 1.6 method.
4151 (canExecute): likewise.
4152 (setReadable): likewise.
4153 (setWritable): likewise.
4154 (setExecutable): likewise.
4155 (getUsableSpace): added stub for new 1.6 method.
4156 (getFreeSpace): likewise.
4157 (getTotalSpace): likewise.
4158 (checkExec): new private method to support new 1.6 additions.
4159 * native/jni/java-io/java_io_VMFile.c:
4160 set_file_permissions: new helper function.
4161 Java_java_io_VMFile_setReadable: new native method to bakcup 1.6 methods
4163 Java_java_io_VMFile_setWritable: likewise.
4164 Java_java_io_VMFile_setExecutable: likewise.
4165 Java_java_io_VMFile_canExecute: likewise.
4166 * native/jni/native-lib/cpio.h: added new flags: CPFILE_FLAG_EXEC,
4167 CPFILE_FLAG_USR and CPFILE_FLAG_OFF.
4168 cpio_chmod: new function declaration.
4169 cpio_checkAccess: likewise.
4170 * native/jni/native-lib/cpio.c:
4171 cpio_chmod: new function definition.
4172 cpio_checkAccess: likewise.
4174 2007-02-09 Gary Benson <gbenson@redhat.com>
4176 * javax/management/ObjectName.java
4177 (quote): Initialize StringBuilder correctly.
4179 2007-02-09 Francis Kung <fkung@redhat.com>
4181 * java/awt/image/BufferedImage: Reformatted.
4183 2007-02-09 Ito Kazumitsu <kaz@maczuka.gcd.org>
4186 * gnu/java/util/regex/RETokenChar.java(chain): Check whether the next
4187 token has a next token.
4189 2007-02-08 Roman Kennke <kennke@aicas.com>
4192 * javax/swing/JViewport.java
4193 (scrollRectToVisible): Use correct X/Y offset for calculations.
4194 (paintBackingStore): Update backbuffer when we are not the paint
4197 2007-02-08 Roman Kennke <kennke@aicas.com>
4199 * java/awt/image/SinglePixelPackedSampleModel.java
4200 (getDataElements(int,int,Object,DataBuffer)):
4201 Replace DataBuffer using method with simple
4202 switch. This does not check for the exact type (class) of the
4203 DataBuffer but instead checks the transfer type.
4204 (getDataElements(int,int,int,intObject,DataBuffer)): Removed.
4205 (setDataElements): Fixed indentation.
4206 (setPixels): Removed unused statement.
4208 2007-02-07 Tom Tromey <tromey@redhat.com>
4210 * tools/gnu/classpath/tools/javah/PathOptionGroup.java
4211 (PathOptionGroup): Allow '-cp' as well.
4213 2007-02-07 Chris Burdess <dog@gnu.org>
4216 * gnu/xml/dom/ls/SAXEventSink.java: Add public accessor/mutators.
4217 * gnu/xml/transform/XSLURIResolver.java: Add support for custom
4218 SAXSources without a backing URL or stream.
4220 2007-02-06 Tom Tromey <tromey@redhat.com>
4223 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
4224 (printClass): Always print a header.
4226 2007-02-06 Chris Burdess <dog@gnu.org>
4229 * gnu/xml/dom/DomDocumentBuilderFactory.java: Fall back to synchronous
4230 LSParser if implementation does not support asynchronous.
4231 * gnu/xml/stream/XMLParser.java,
4232 gnu/xml/stream/XIncludeFilter.java: Use custom code instead of
4233 java.net.URL to resolve to an an absolute URI, to avoid nonexistent
4234 protocol handler problems.
4236 2007-02-05 Andrew Haley <aph@redhat.com>
4239 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java:
4240 (printClass): Replace '/' in filenames with '_'.
4241 * tools/gnu/classpath/tools/javah/JniStubPrinter.java
4242 (printClass): Likewise.
4244 2007-02-05 Tom Tromey <tromey@redhat.com>
4246 * java/net/Proxy.java (equals): Handle case where address==null.
4247 (hashCode): Likewise.
4248 (toString): Likewise.
4250 2007-02-04 Jeroen Frijters <jeroen@frijters.net>
4252 * java/lang/Class.java
4253 (newInstance): Moved setAccessible call to helper method.
4254 (getEnumConstants): Call new helper method to allow values method to be
4255 called on non-public enum classes.
4256 (setAccessible): New helper method.
4257 * java/lang/Enum.java
4258 (valueOf): Call new helper method in class to allow field value to
4259 be read on non-public enum classes.
4261 2007-02-04 Jeroen Frijters <jeroen@frijters.net>
4264 * gnu/java/nio/charset/ByteCharset.java
4265 (ByteCharset.Decoder.decodeLoop): Reset input buffer position if
4266 the byte read was unmappable.
4268 2007-02-02 Kyle Galloway <kgallowa@redhat.com>
4270 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
4271 (executeGetValues): Changed getFrame to use a jlong to pass frameID.
4272 (executeSetValues): Ditto.
4273 (executeThisObject): Ditto.
4274 * vm/reference/gnu/classpath/jdwp/VMFrame.java: Added thread field and a
4275 constructor used to create VMFrames.
4276 (getThread): New method.
4277 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java(getFrame): Changed
4278 to take a long instead of a ByteBuffer to pass the frameID.
4280 2007-02-01 Tom Tromey <tromey@redhat.com>
4282 * java/util/logging/LogManager.java (reset): Remove bogus
4285 2007-01-31 Casey Marshall <csm@gnu.org>
4287 * gnu/javax/net/ssl/Base64.java: move to `gnu/java/util/Base64.java.'
4288 * gnu/javax/net/ssl/PrivateCredentials.java: clean up unused imports.
4289 (add): use `gnu.java.util.Base64.'
4290 * gnu/java/net/protocol/http/Request.java (authenticate): use
4291 `gnu.java.util.Base64.'
4292 * tools/gnu/classpath/tools/jarsigner/HashUtils.java (hashStream):
4294 * tools/gnu/classpath/tools/keytool/CertReqCmd.java (start): likewise.
4295 * tools/gnu/classpath/tools/keytool/ExportCmd.java (start): likewise.
4296 * tools/gnu/classpath/tools/keytool/ListCmd.java (printRFC1421):
4298 * gnu/java/net/Base64.java: removed.
4299 * gnu/java/security/util/Base64.java: removed.
4301 2007-01-31 Casey Marshall <csm@gnu.org>
4303 Fixes PR classpath/24191.
4304 Fix suggested by Rafael Teixeira <monoman@gmail.com>.
4305 * javax/crypto/CipherOutputStream.java (write): check return value
4306 of `update' for null.
4308 2007-01-31 Tom Tromey <tromey@redhat.com>
4310 * resource/gnu/classpath/tools/jar/messages.properties
4311 (Main.Stdin): New message.
4312 * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Add
4314 (readNames): New method.
4317 2007-01-30 Roman Kennke <kennke@aicas.com>
4320 * javax/swing/DefaultDesktopManager.java
4321 (activateFrame): Added a bunch of null checks. Don't call
4322 JInternalFrame.setSelected() to avoid recursion.
4324 2007-01-29 Andrew Haley <aph@redhat.com>
4326 * java/lang/SecurityManager.java (SecurityManager): Load and
4327 initialize java.security.Security.
4329 2007-01-28 Ito Kazumitsu <kaz@maczuka.gcd.org>
4331 * native/jni/java-nio/gnu_java_nio_VMChannel.c
4332 (Java_gnu_java_nio_VMChannel_accept): Throw SocketTimeoutException
4334 * native/jni/java-nio/javanio.c(cpnio_accept): Call select() if
4337 2007-01-26 Tom Tromey <tromey@redhat.com>
4339 * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
4340 'volatile' after field type.
4342 2007-01-26 Chris Burdess <dog@gnu.org>
4345 * gnu/xml/dom/DomDocumentBuilder.java: Throw IOException where cause
4346 of LSException is an IOException.
4347 * gnu/xml/dom/ls/DomLSParser.java,
4348 gnu/xml/stream/SAXParser.java: Ensure coalescing feature is set
4349 correctly during LS parsing.
4351 2007-01-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
4353 * javax/management/PersistentMBean.java:
4356 2007-01-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
4358 * javax/management/AttributeChangeNotificationFilter.java:
4360 * javax/management/NotificationFilterSupport.java:
4363 2007-01-21 Mark Wielaard <mark@klomp.org>
4365 * java/security/SecureClassLoader.java (defineClass): Method returns
4367 * java/security/SignatureSpi.java (engineUpdate(ByteBuffer):
4368 Does not throw SignatureException. Chain SignatureException inside
4369 IllegalStateException.
4371 2007-01-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
4373 * javax/management/NotificationBroadcasterSupport.java:
4376 2007-01-20 Ito Kazumitsu <kaz@maczuka.gcd.org>
4378 * java/text/DecimalFormat.java(parse): Corrected the ParsePosition
4381 2007-01-20 Ito Kazumitsu <kaz@maczuka.gcd.org>
4383 * java/text/SimpleDateFormat(parse): Corrected the usage of
4386 2007-01-20 Ito Kazumitsu <kaz@maczuka.gcd.org>
4389 * native/jni/native-lib/cpnet.c(SOCKET_NOSIGNAL): Deleted,
4390 (setsockopt_NOSIGPIPE): New function,
4391 (cpnet_send): Corrected the option setting to send(),
4392 (cpnet_sendTo): Corrected the option setting to sendto().
4394 2007-01-19 Marco Trudel <mtrudel@gmx.ch>
4396 * java/util/Arrays.java (binarySearch): Change comparison order.
4398 2007-01-17 Keith Seitz <keiths@redhat.com>
4400 * gnu/classpath/jdwp/events/filters/StepFilter.java:
4402 (matches): Implement.
4404 * gnu/classpath/jdwp/event/EventManager.java (EventManager): Honor
4405 agent startup suspension for VM_INIT.
4407 2007-01-17 Tom Tromey <tromey@redhat.com>
4409 * tools/gnu/classpath/tools/javah/PathOptionGroup.java
4410 (PathOptionGroup): Set default boot class path.
4412 2007-01-17 Mark Wielaard <mark@klomp.org>
4414 * javax/activity/ActivityCompletedException.java: Make constructors
4416 * javax/activity/ActivityRequiredException.java: Likewise.
4417 * javax/activity/InvalidActivityException.java: Likewise.
4419 2007-01-17 Roman Kennke <kennke@aicas.com>
4421 * javax/swing/plaf/basic/BasicRadioButtonUI.java
4422 (paint): Use helper method to figure out icon. Don't override
4423 the icon field in that class. Check for null icons.
4424 (getCurrentIcon): New helper function to determine icon to be
4427 2007-01-17 Mark Wielaard <mark@klomp.org>
4429 * javax/activity/ActivityCompletedException.java: New file.
4430 * javax/activity/ActivityRequiredException.java: Likewise.
4431 * javax/activity/InvalidActivityException.java: Likewise.
4432 * javax/activity/package.html: Likewise.
4434 2007-01-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
4436 * javax/management/DefaultLoaderRepository.java:
4437 (loadClass(String)): Made static.
4438 (loadClassWithout(String,ClassLoader)): Likewise.
4440 2007-01-15 Kyle Galloway <kgallowa@redhat.com>
4442 * gnu/classpath/jdwp/exception/TypeMismatchException.java: New file.
4443 * gnu/classpath/jdwp/exception/InvalidFrameException.java: Fix indentation.
4444 * gnu/classpath/jdwp/exception/InvalidSlotException.java: Fix indentation.
4446 2007-01-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
4448 * javax/management/AttributeValueExp.java:
4449 Corrected serialVersionUID typo.
4450 * javax/management/DefaultLoaderRepository.java:
4452 * javax/management/MBeanServerFactory.java:
4455 2007-01-15 Kyle Galloway <kgallowa@redhat.com>
4457 * gnu/classpath/jdwp/exception/InvalidFrameException.java: New file.
4459 2007-01-15 Kyle Galloway <kgallowa@redhat.com>
4461 * gnu/classpath/jdwp/exception/AbsentInformationException.java: New file.
4463 2007-01-15 Kyle Galloway <kgallowa@redhat.com>
4465 * gnu/classpath/jdwp/exception/InvalidSlotException.java: New file.
4467 2007-01-14 Andrew John Hughes <gnu_andrew@member.fsf.org>
4469 * javax/management/AttributeValueExp.java: New file.
4470 * javax/management/QueryEval.java: Likewise.
4471 * javax/management/StringValueExp.java: Likewise.
4473 2007-01-14 Andrew John Hughes <gnu_andrew@member.fsf.org>
4475 * javax/management/AttributeChangeNotificationFilter.java:
4478 2007-01-11 Andreas Tobler <a.tobler@schweiz.org>
4480 * examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java
4481 (AicasGraphicsBenchmark): Load images from ../icons.
4482 * examples/gnu/classpath/examples/java2d/J2dBenchmark.java (init):
4484 * examples/Makefile.am (EXAMPLE_ICONS): Add rule to copy *.gif files
4486 * examples/gnu/classpath/examples/awt/aicas.png: Move to ../icons.
4488 * examples/gnu/classpath/examples/awt/palme.gif: Likewise.
4489 * examples/gnu/classpath/examples/java2d/aicas.png: Likewise.
4490 * examples/gnu/classpath/examples/java2d/palme.gif: Likewise.
4491 * examples/gnu/classpath/examples/icons/aicas.png: Moved.
4492 * examples/gnu/classpath/examples/icons/palme.gif: Likewise.
4494 2007-01-09 Tania Bento <tbento@redhat.com>
4496 * java/security/Permission.java:
4497 (toString): If there are no actions, then there should not
4498 be a space between its name and ')'.
4500 2007-01-08 Andrew John Hughes <gnu_andrew@member.fsf.org>
4502 * javax/management/AttributeChangeNotification.java:
4505 2007-01-08 Cameron McCormack <cam@mcc.id.au>
4508 * java/util/Arrays.java:
4509 (binarySearch(byte[],byte)): Added check for zero-length array.
4510 (binarySearch(short[],short)): Likewise.
4511 (binarySearch(int[],int)): Likewise.
4512 (binarySearch(long[],long)): Likewise.
4513 (binarySearch(char[],char)): Likewise.
4514 (binarySearch(float[],float)): Likewise.
4515 (binarySearch(double[],double)): Likewise.
4516 (binarySearch(Object[],Object)): Likewise.
4517 (binarySearch(T[],T,Comparator)): Likewise.
4519 2007-01-08 Tom Tromey <tromey@redhat.com>
4521 * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java (run):
4522 Fix length check. PR classpath/30346.
4524 2007-01-09 Raif S. Naffah <classpath@naffah-raif.name>
4526 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Updated copyright year.
4527 (sfEntries): Use generics.
4528 (writeDSA()): Likewise.
4529 (startSigning()): Likewise.
4530 (updateEntry()): Likewise.
4531 * tools/gnu/classpath/tools/jarsigner/Messages.java: Updated copyright year.
4532 (CACHED_FORMATS): Use generics.
4533 (getFormattedString()): Likewise.
4534 * tools/gnu/classpath/tools/jarsigner/Main.java: Updated copyright year.
4535 (fileAndAlias): Use generics.
4536 (ToolParser.validate()): Likewise.
4537 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java:
4538 Updated copyright year.
4539 Re-ordered imports and removed unused entries.
4540 (entryHashes): Use generics.
4541 (start()): Likewise.
4542 (verifySFEntries()): Likewise.
4543 Use map's entrySet() instead of its keySet().
4545 2007-01-08 Andrew John Hughes <gnu_andrew@member.fsf.org>
4547 * java/text/DateFormat.java:
4548 (computeInstance(int,int,Locale,boolean,boolean)):
4549 Throw an exception when locale info. is unavailable.
4550 (computeDefault(int,int,boolean,boolean)): New method.
4551 (getDateInstance(int,Locale)): Check providers.
4552 (getDateTimeInstance(int,int,Locale)): Likewise.
4553 (getTimeInstance(int,Locale)): Likewise.
4554 * java/text/DateFormatSymbols.java:
4555 Update documentation to match DecimalFormatSymbols.
4556 * java/text/DecimalFormatSymbols.java:
4557 (DecimalFormatSymbols(Locale)): Reordered.
4558 (getInstance()): Implemented.
4559 (getInstance(Locale)): Implemented.
4560 * java/text/NumberFormat.java:
4561 (computeInstance(Locale,String,String)):
4562 Throw an exception when locale info is unavailable.
4563 (getCurrencyInstance(Locale)): Check providers.
4564 (getIntegerInstance(Locale)): Likewise.
4565 (getNumberInstance(Locale)): Likewise.
4566 (getPercentInstance(Locale)): Likewise.
4567 * java/text/spi/DateFormatProvider.java: New file.
4568 * java/text/spi/DecimalFormatSymbolsProvider.java: Likewise.
4569 * java/text/spi/NumberFormatProvider.java: Likewise.
4571 2007-01-07 Ito Kazumitsu <kaz@maczuka.gcd.org>
4574 * native/jni/native-lib/cpnet.h: Add some include files.
4576 2007-01-07 Roman Kennke <roman@kennke.org>
4579 * java/awt/Component.java
4580 (getFontImpl): Return null when the component has no font set
4581 and also has no parent yet.
4582 * javax/swing/plaf/basic/BasicComboBoxUI.java
4583 (PropertyChangeHandler.propertyChange): Only add editor when combo
4584 box is editable. Avoid fetching the property name repeatedly.
4585 Invalidate when renderer or prototypeDisplayValue change.
4586 (uninstallComponents): Unconfigure everything and then remove all
4588 * javax/swing/plaf/basic/BasicComboPopup.java
4589 (uninstallingUI): Don't nullify list model.
4590 * javax/swing/plaf/metal/MetalComboBoxUI.java
4591 (createArrowButton): Pass currentValuePane to the MetalComboBoxButton
4592 constructor rather than a new (unconnected) CellRendererPane.
4594 2007-01-06 Roman Kennke <roman@kennke.org>
4597 * javax/swing/plaf/basic/BasicComboBoxUI.java
4598 (installUI): Install popup and list here.
4599 Don't configure the arrow button and editor here.
4600 (installComponents): Don't install popup and list here. (Moved
4601 to installUI). Configure arrow button here and check for null.
4602 (addEditor): Configure editor here.
4603 (configureArrowButton): Directly fetch listeners from popup.
4604 (paintCurrentValue): Removed unused local variables.
4605 (layoutContainer): Removed unused local variables.
4606 (PropertyChangeHandler.propertyChange): Don't invalidate minimumSize
4607 on each property change. Avoid calling getPropertyName() repeatedly.
4608 Clean up. Call addEditor() when editor changes. Configure and
4609 unconfigure editor when editable changes. Use 'model' instead
4610 of non-existing 'dataModel' property.
4611 * javax/swing/plaf/basic/BasicComboPopup.java
4612 (uninstallingUI): Remove property change listener and item listener
4613 here. Uninstall list listeners. Set model to null to prevent leakage.
4614 (configureList): Don't sync list selection there.
4615 (uninstallComboBoxListeners): Moved to uninstallingUI.
4616 (uninstallListeners): Moved to uninstallingUI.
4617 * javax/swing/plaf/metal/MetalComboBoxUI.java
4618 (createPopup): Call super.
4619 (getMinimumSize): Removed unused statement.
4621 2007-01-06 Andrew John Hughes <gnu_andrew@member.fsf.org>
4623 * java/text/Collator.java:
4624 (getInstance(Locale)): Check providers.
4625 * java/text/spi/CollatorProvider.java:
4628 2007-01-04 Roman Kennke <roman@kennke.org>
4631 * java/awt/Component.java
4632 (getFont): Don't synchronize on tree lock here. The method is
4633 thread-safe 'enough' by fetching local variables in getFontImpl().
4635 2007-01-04 Roman Kennke <roman@kennke.org>
4637 * java/awt/AWTEvent.java
4638 (toString): Don't include the whole component in the output,
4640 * java/awt/Component.java
4641 (isShowing): Create local copy of parent field for better
4642 thread safety and efficiency.
4643 * java/awt/EventDispatchThread.java
4644 (EventDispatchThread): Make sure the event thread is not a daemon
4645 thread in case it gets started by a daemon thread.
4646 * java/awt/image/IndexColorModel.java
4647 (createColorMap): New helper method for creating the color map.
4648 (IndexColorModel): (all constructors) use createColorMap() helper
4651 2007-01-04 Roman Kennke <roman@kennke.org>
4653 * gnu/java/awt/font/autofit/GlyphHints.java
4654 (alignStrongPoints): Don't special case the vertical dimension.
4655 (computeInflectionPoints): Corrected computation of inflection
4657 * gnu/java/awt/font/autofit/Utils.java
4658 (ANGLE_4PI): Removed.
4659 (ANGLE_PI2): New constant for PI/2.
4660 (ANGLE_PI4): New constant for PI/4.
4664 2007-01-03 Cameron McCormack <cam@mcc.id.au>
4667 * java/awt/Toolkit.java (getLockingKeyState): Use AWTUtilities
4668 isValidKey method. Throw UnsupportedOperationException on a valid
4669 key (for which no locking state can be given).
4670 * gnu/java/awt/AWTUtilities.java (isValidKey): New method.
4671 * gnu/java/awt/peer/gtk/GtkToolkit.java (getLockingKeyState): New
4673 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
4674 (Java_gnu_java_awt_peer_gtk_GtkToolkit_getLockState): New method.
4675 * include/gnu_java_awt_peer_gtk_GtkToolkit.h: Regenerated.
4677 2007-01-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
4679 * java/text/BreakIterator.java:
4680 (getCharacterInstance(Locale)): Check providers.
4681 (getLineInstance(Locale)): Likewise.
4682 (getSentenceInstance(Locale)): Likewise.
4683 (getWordInstance(Locale)): Likewise.
4684 * java/text/spi/BreakIteratorProvider.java:
4686 * java/text/spi/DateFormatSymbolsProvider.java:
4688 * java/util/ServiceConfigurationError.java:
4689 Add serialVersionUID.
4691 2007-01-03 Francis Kung <fkung@redhat.com>
4693 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
4694 (copy): Copy and set antialias value.
4696 2007-01-03 Tania Bento <tbento@redhat.com>
4698 * java/awt/CardLayout.java:
4699 (maximumLayoutSize): Return a new Dimension with a width of value
4700 Integer.MAX_VALUE and a height of value Integer.MAX_VALUE if Component
4703 2007-01-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
4705 * java/text/DateFormatSymbols.java:
4706 (getZoneStrings(ResourceBundle)): Changed to...
4707 (getZoneStrings(ResourceBundle,Locale)): Added
4708 use of TimeZoneNamesProvider.
4709 (getZoneStrings()): Return either mutated zone
4710 strings or initial ones.
4711 (getInstance(Locale)): Check DateFormatSymbolsProvider
4713 * java/text/spi/DateFormatSymbolsProvider.java:
4715 * java/text/spi/package.html: New file.
4717 2007-01-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
4719 * java/util/Currency.java:
4720 (getSymbol(Locale)): Removed unneeded variable
4721 and terminate loop early.
4722 * java/util/Locale.java:
4723 (getDisplayLanguage(Locale)): Fixed to use
4725 (getDisplayCountry(Locale)): Likewise.
4726 (getDisplayVariant(Locale)): Likewise.
4727 * java/util/spi/LocaleNameProvider.java:
4729 * java/util/spi/TimeZoneNameProvider.java:
4732 2007-01-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
4734 * gnu/java/locale/LocaleHelper.java:
4735 (getLocalizedString(Locale,String,String,boolean,
4736 boolean)): Removed, no longer needed.
4737 (getFallbackLocale(Locale)): Implemented.
4738 * java/lang/String.java:
4739 (isEmpty()): Implemented.
4740 * java/util/Currency.java:
4741 (getSymbol(Locale)): Reimplemented to use SPI.
4742 * java/util/Locale.java:
4744 * java/util/spi/CurrencyNameProvider.java:
4746 * java/util/spi/LocaleServiceProvider.java:
4748 * java/util/spi/package.html: Likewise.
4750 2007-01-02 Roman Kennke <roman@kennke.org>
4752 * gnu/java/awt/java2d/AbstractGraphics2D.java
4753 (FONT): New constant field. This is the default font to use as long
4754 as nothing else is set.
4755 (paintContext): New field. Temporarily stores the paint context.
4756 (scanlineConverters): New field. Stores the scanline converters
4758 (shapeCache): Genericified.
4759 (STANDARD_HINTS): New constant field. The standard rendering hints
4760 as long as nothing else is set.
4761 (STANDARD_STROKE): New constant field. The standard stroke as long
4762 as nothing else is set.
4763 (static_initializer): Initialize standard hints.
4764 (AbstractGraphics2D): Use constant fields for hints and stroke.
4765 (drawGlyphVector): Use simpler method to draw the outline.
4766 (fillScanline): Use paintContext field.
4767 (fillShape): Use new ScanlineConverter to fill shapes.
4768 (fillShapeAntialias): Removed. This will be done in fillShape.
4769 (fillShapeImpl): Removed. This is done now in the ScanlineConverter
4771 (getScanlineConverter): New method. Returns the scanline converter
4773 (getSegments): Removed. This is now implemented in ScanlineConverter.
4774 (getShapeCache): Use genericified shapeCache field.
4775 (init): Use fixed default font. Don't fetch destination raster here.
4776 * gnu/java/awt/java2d/ActiveEdges.java: New class. Stores a set
4777 of active edges for scanline conversion.
4778 * gnu/java/awt/java2d/PolyEdge.java
4779 (poolNext): Implements linked list for edge pool.
4780 (scanlineNext): Implements linked list for scanline edge lists.
4781 (slope): Use fixed point decimal.
4782 (slope,x0,y0,x1,y1,xIntersection): Use fixed point decimal.
4783 (PolyEdge()): New constructor.
4784 (PolyEdge): Use fixed point decimals.
4785 (init): Use fixed point decimals.
4786 (intersect): New method. Intersects this edge with a scanline.
4787 * gnu/java/awt/java2d/Scanline.java: New class. A list of edges
4788 for a scanline plus utilities.
4789 * gnu/java/awt/java2d/ScanlineConverter.java: New class. Implements
4790 an efficient scanline converter for rendering Shape objects.
4792 2007-01-02 Roman Kennke <roman@kennke.org>
4794 * gnu/java/math/Fixed.java: New class. Fixed point arithmetics
4797 2007-01-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
4799 * ChangeLog-2006: New file.
4800 * gnu/classpath/ServiceFactory.java:
4801 Add option of throwing a ServiceConfigurationError.
4802 (lookupProviders(Class,ClassLoader,boolean)): Implemented.
4803 * java/util/ServiceConfigurationError.java: New file.
4804 * java/util/ServiceLoader.java: Likewise.
4809 coding: iso-latin-1-unix