1 2006-08-09 Gary Benson <gbenson@redhat.com>
3 * stacktrace.cc (accesscontrol_trace_fn): Skip non-Java frames.
5 2006-08-09 Gary Benson <gbenson@redhat.com>
7 * java/lang/System.java (setSecurityManager): Javadoc fix.
8 * java/security/VMAccessController.java (getContext): Comment fix.
10 2006-08-09 Gary Benson <gbenson@redhat.com>
12 * include/java-stack.h (accesscontrol_trace_fn): Declare.
13 (GetAccessControlStack): Likewise.
14 (GetClassMethodStack): Remove.
15 * stacktrace.cc (accesscontrol_trace_fn): New method.
16 (GetAccessControlStack): Likewise.
17 (GetClassMethodStack): Remove.
18 * java/security/natVMAccessController.cc (getStack): Use
19 GetAccessControlStack.
21 2006-08-07 Gary Benson <gbenson@redhat.com>
24 * java/lang/ClassLoader.java (clinit): Install a default
25 security manager if java.security.manager is defined.
26 (getParent, getSystemClassLoader): Use the correct stack
27 frame during security checks.
28 * java/net/URLClassLoader.java (findClass): Avoid calling
29 this.toString() during VM initialization.
30 (runtimeInitialized): New method.
31 * java/net/natURLClassLoader.cc: New file.
32 * Makefile.am (nat_source_files): Added the above.
33 * Makefile.in: Rebuilt.
35 2006-08-07 Gary Benson <gbenson@redhat.com>
36 Casey Marshall <csm@gnu.org>
38 * java/lang/SecurityManager.java (getSecurityContext,
39 checkPermission, checkAccess, checkRead, checkConnect,
40 checkPackageAccess, checkPackageDefinition, checkPackageList):
42 (SecurityContext): Remove.
44 2006-08-07 Gary Benson <gbenson@redhat.com>
46 * java/security/VMAccessController.java (pushContext, popContext,
47 getContext): Use Thread.currentThread() to determine when we're
49 (runtimeInitialized): Remove.
50 * java/security/natVMAccessController.cc (runtimeInitialized):
53 2006-08-06 Tom Tromey <tromey@redhat.com>
56 * configure, include/config.h.in: Rebuilt.
57 * configure.ac: Look for ifaddrs.h, getifaddrs.
58 * java/net/natVMNetworkInterfacePosix.cc (getInterfaces): Use
59 getifaddrs if available.
61 2006-08-06 Tom Tromey <tromey@redhat.com>
64 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (connect):
66 (disconnect): Likewise.
67 (send): Handle already-connected case.
69 2006-08-04 Mark Wielaard <mark@klomp.org>
71 * jvmti.cc: Include gcj/method.h.
73 2006-08-04 Tom Tromey <tromey@redhat.com>
75 * jvmti.cc: Added MAYBE_UNUSED to 'env' parameters.
76 (_Jv_JVMTI_GetObjectSize): Cast _Jv_GetArrayElementFromElementType
77 result to _Jv_uintptr_t.
79 2006-08-01 Keith Seitz <keiths@redhat.com>
81 * gnu/classpath/jdwp/VMFrame.java: Update to Classpath 0.91.
82 * gnu/classpath/jdwp/VMIdManager.java: Likewise.
83 * gnu/classpath/jdwp/VMMethod.java: Likewise.
84 * gnu/classpath/jdwp/VMVirtualMachine: Likewise.
85 * gnu/classpath/jdwp/natVMFrame.java: New file.
86 * gnu/classpath/jdwp/natVMMethod.java: New file.
87 * gnu/classpath/jdwp/natVMVirtualMachine.java: New file.
88 * Makefile.am (nat_source_files): Add new filles.
89 * Makefile.in: Regenerated.
91 2006-08-03 Tom Tromey <tromey@redhat.com>
93 * jvmti.cc (REQUIRE_PHASE): New macro.
94 (_Jv_JVMTI_InterruptThread): New function.
95 (_Jv_JVMTI_CreateRawMonitor): Likewise.
96 (_Jv_JVMTI_DestroyRawMonitor): Likewise.
97 (_Jv_JVMTI_RawMonitorEnter): Likewise.
98 (_Jv_JVMTI_RawMonitorExit): Likewise.
99 (_Jv_JVMTI_RawMonitorWait): Likewise.
100 (_Jv_JVMTI_RawMonitorNotify): Likewise.
101 (_Jv_JVMTI_RawMonitorNotifyAll): Likewise.
102 (_Jv_JVMTI_Allocate): Likewise.
103 (_Jv_JVMTI_Deallocate): Likewise.
104 (_Jv_JVMTI_GetClassModifiers): Likewise.
105 (_Jv_JVMTI_GetClassMethods): Likewise.
106 (_Jv_JVMTI_IsInterface): Likewise.
107 (_Jv_JVMTI_IsArrayClass): Likewise.
108 (_Jv_JVMTI_GetClassLoader): Likewise.
109 (_Jv_JVMTI_GetObjectHashCode): Likewise.
110 (_Jv_JVMTI_GetFieldModifiers): Likewise.
111 (_Jv_JVMTI_IsFieldSynthetic): Likewise.
112 (_Jv_JVMTI_GetMethodModifiers): Likewise.
113 (_Jv_JVMTI_IsMethodNative): Likewise.
114 (_Jv_JVMTI_IsMethodSynthetic): Likewise.
115 (_Jv_JVMTI_GetClassLoaderClasses): Likewise.
116 (_Jv_JVMTI_ForceGarbageCollection): Likewise.
117 (_Jv_JVMTI_GetSystemProperty): Likewise.
118 (_Jv_JVMTI_SetSystemProperty): Likewise.
119 (_Jv_JVMTI_GetTime): Likewise.
120 (_Jv_JVMTI_GetAvailableProcessors): Likewise.
121 (_Jv_JVMTI_AddToBootstrapClassLoaderSearch): Likewise.
122 (_Jv_JVMTI_SetVerboseFlag): Likewise.
123 (_Jv_JVMTI_GetObjectSize): Likewise.
124 (_Jv_JVMTI_SetJNIFunctionTable): Likewise.
125 (_Jv_JVMTI_GetJNIFunctionTable): Likewise.
126 (_Jv_JVMTI_Interface): Updated.
127 (NULL_CHECK): New macro.
129 2006-08-02 Andreas Tobler <a.tobler@schweiz.ch>
132 * include/no-threads.h: Declare _Jv_Thread_t as empty class.
134 2006-08-01 Andreas Tobler <a.tobler@schweiz.ch>
136 * gnu/classpath/natSystemProperties.cc: Add additional check for
137 getpwuid_r on _POSIX_PTHREAD_SEMANTICS.
138 (SystemProperties::insertSystemProperties): Likewise.
139 * java/io/natFilePosix.cc (File::performList): Add
140 additional check for readdir_r on _POSIX_PTHREAD_SEMANTICS.
141 * java/util/natVMTimeZone.cc (VMTimeZone::getSystemTimeZoneId): Add
142 additional check for localtime_r on _POSIX_PTHREAD_SEMANTICS.
144 2006-07-31 Thomas Fitzsimmons <fitzsim@redhat.com>
147 * classpath/native/jni/midi-alsa/Makefile.am
148 (libgjsmalsa_la_LDFLAGS): Add -avoid-version.
149 * classpath/native/jni/midi-alsa/Makefile.in: Regenerate.
150 * classpath/native/jni/midi-dssi/Makefile.am
151 (libgjsmdssi_la_LDFLAGS): Add -avoid-version.
152 * classpath/native/jni/midi-dssi/Makefile.in: Regenerate.
153 * classpath/native/jni/qt-peer/Makefile.am: Remove GCJ LOCAL
155 (libqtpeer_la_LDFLAGS): Add -avoid-version.
156 * classpath/native/jni/qt-peer/Makefile.in: Regenerate.
157 * classpath/native/jni/gtk-peer/Makefile.am
158 (libgtkpeer_la_LDFLAGS): Add -avoid-version.
159 * classpath/native/jni/gtk-peer/Makefile.in: Regenerate.
160 * classpath/native/jawt/Makefile.am (libjawt_la_LDFLAGS): Add
162 * classpath/native/jawt/Makefile.in: Regenerate.
163 * Makefile.am (libjvm_la_LDFLAGS): Add -avoid-version.
164 * Makefile.in: Regenerate.
166 2006-07-28 Andrew Haley <aph@redhat.com>
168 * gnu/gcj/runtime/natSharedLibLoader.cc (init): Don't set
169 curLoader to VMClassLoader::bootLoader.
171 2006-07-28 Gary Benson <gbenson@redhat.com>
172 Casey Marshall <csm@gnu.org>
175 * include/java-stack.h (GetClassMethodStack): Declare.
176 * stacktrace.cc (GetClassMethodStack): New method.
177 * java/security/AccessController.java: Removed.
178 * java/security/VMAccessController.java: New file.
179 * java/security/natVMAccessController.cc: Likewise.
180 * Makefile.am (nat_source_files): Added the above.
181 * sources.am, Makefile.in: Rebuilt.
183 2006-07-28 Gary Benson <gbenson@redhat.com>
185 * java/lang/SecurityManager.java (currentClassLoader,
186 currentLoadedClass, classLoaderDepth, checkAccess, checkRead,
187 checkWrite, checkTopLevelWindow, checkPrintJobAccess,
188 checkSystemClipboardAccess, checkAwtEventQueueAccess,
189 checkPackageList): Remerged javadoc.
191 2006-07-28 Gary Benson <gbenson@redhat.com>
193 * prims.cc (_Jv_CreateJavaVM): Move setting runtimeInitialized
194 from the start to the end of the function. Remove references
195 to VMThrowable.trace_enabled.
196 * java/lang/natVMThrowable.cc (fillInStackTrace): Use
197 runtimeInitialized rather than trace_enabled to decide
198 whether to inhibit stack trace generation.
199 * java/lang/VMThrowable.java (trace_enabled): Removed.
201 2006-07-23 Mohan Embar <gnustuff@thisiscool.com>
203 * include/win32-threads.h (_Jv_Thread_t): Explicitly
206 2006-07-23 Mohan Embar <gnustuff@thisiscool.com>
208 * jvmti.cc (_Jv_JVMTI_SuspendThread): Add missing JNICALL
210 (_Jv_JVMTI_ResumeThread): Likewise.
211 (_Jv_JVMTI_DisposeEnvironment): Likewise.
213 2006-07-21 Mohan Embar <gnustuff@thisiscool.com>
215 * gnu/java/net/natPlainSocketImplPosix.cc (bind): Clear
216 SockAddr before using - needed for OS X/PPC.
218 2006-07-21 Keith Seitz <keiths@redhat.com>
220 * boehm.cc (_Jv_SuspendThread): Don't ifdef the function declaration,
222 (_Jv_ResumeThread): Likewise.
223 * posix-threads.cc: Revert 2006-06-19 _Jv_ThreadDebugSuspend,
224 _Jv_ThreadDebugResume, _Jv_ThreadDebugSuspendCount patch. Moving
226 * include/posix-threads.h: Likewise.
227 * win32-threads.cc: Likewise.
228 * include/win32-threads.h: Likewise.
229 * jvmti.cc (_Jv_JVMTI_SuspentThread): New function.
230 (_Jv_JVMTI_ResumeThread): New function.
231 (_Jv_JVMTI_Interface): Define SuspendThread and ResumeThread.
233 2006-07-21 David Daney <ddaney@avtrex.com>
236 * configure: Regenerated.
238 2006-07-21 Mark Wielaard <mark@klomp.org>
240 * java/io/OutputStreamWriter.java (flush): Create work if null.
242 2006-07-21 Keith Seitz <keiths@redhat.com>
244 * java/lang/natThread.cc (_Jv_ThreadGetData): New function.
245 * Makefile.am (java/lang/Thread.h): Add friend function
247 * Makefile.in: Regenerate.
249 2006-07-20 Keith Seitz <keiths@redhat.com>
251 * jvmti.cc (_Jv_JVMTI_DisposeEnvironment): New function.
252 (_Jv_JVMTI_Interface): Define DisposeEnvironment method.
254 2006-07-20 Keith Seitz <keiths@redhat.com>
256 * include/jvm.h (_Jv_GetJVMTIEnv): Declare.
257 * jni.cc (_Jv_JNI_GetEnv): Handle JVMTI requests.
258 * jvmti.cc: New file.
259 * Makefile.am (libgcj_la_SOURCES): Add jvmti.cc.
260 * Makefile.in: Regenerate.
262 2006-07-20 David Daney <ddaney@avtrex.com>
264 * configure.host: Enable the interpreter for mipsel-* and mips-*.
266 2006-07-20 David Daney <ddaney@avtrex.com>
268 * include/mips-signal.h: Update copyright.
269 (struct kernel_sigaction): Removed.
270 (SIGNAL_HANDLER): Changed prototype.
271 (MAKE_THROW_FRAME): Added cast.
272 (INIT_SEGV): Use sigaction instead of syscall.
273 (INIT_FPE): Likewise.
275 2006-07-18 Paolo Bonzini <bonzini@gnu.org>
277 * configure: Regenerate.
279 2006-07-18 Gary Benson <gbenson@redhat.com>
281 * java/io/File.java (deleteOnExit): Fix security check.
283 2006-07-14 Anthony Green <green@redhat.com>
285 * java/io/natFilePosix.cc (performSetLastModified): Return true on
286 success, false otherwise.
288 2006-07-14 Ranjit Mathew <rmathew@gcc.gnu.org>
290 * stacktrace.cc (_Jv_StackTrace::GetStackTrace): Unconditionally use
292 (_Jv_StackTrace::GetCallerInfo): Enable even for targets using SJLJ
294 (_Jv_StackTrace::GetClassContext): Unconditionally use
296 (_Jv_StackTrace::GetFirstNonSystemClassLoader): Likewise.
297 * sysdep/i386/backtrace.h (HAVE_FALLBACK_BACKTRACE): Do not define.
298 (_Unwind_GetIPInfo): Define macro if SJLJ EH is in use.
299 (_Unwind_GetRegionStart): Likewise.
300 (_Unwind_Backtrace): Likewise.
301 (fallback_backtrace): Accept additional unwind trace function
302 argument. Call it during unwinding. Stop when any of _Jv_RunMain(),
303 _Jv_ThreadStart() or main() is seen during unwinding.
304 * sysdep/generic/backtrace.h (fallback_backtrace): Accept an
305 additional unwind trace function argument.
307 2006-07-14 Gary Benson <gbenson@redhat.com>
309 * java/io/File.java (internalExists): New method.
310 (exists): Use internalExists.
311 (internalIsDirectory): New method.
312 (isDirectory): Use internalIsDirectory.
313 (createTempFile): Use internalExists and internalIsDirectory.
315 2006-07-13 Bryce McKinlay <mckinlay@redhat.com>
317 * interpret.cc (_Jv_InterpMethod::run): Don't SAVE_PC for fdiv.
319 2006-07-13 Bryce McKinlay <mckinlay@redhat.com>
321 * interpret.cc (_Jv_InterpMethod::compile): Add FIXME comment.
322 (_Jv_InterpMethod::run): SAVE_PC before executing any instruction
323 using resolve_pool_entry, as it can throw. Likewise for div/rem ops
324 that can throw ArithmeticException.
326 2006-07-12 Gary Benson <gbenson@redhat.com>
328 * java/io/File.java (renameTo): Fix security checks.
330 2006-07-12 Bryce McKinlay <mckinlay@redhat.com>
333 * stacktrace.cc (getLineNumberForFrame): Roll back PC by 1 when
334 looking up line number for interpreted frame.
336 2006-07-07 Bryce McKinlay <mckinlay@redhat.com>
337 Geoffrey Keating <geoffk@apple.com>
339 * testsuite/libjava.lang/StackTrace2.java: Renamed from
340 StackTrace.java. Changed class name.
341 * testsuite/libjava.lang/StackTrace2.out: Renamed from
342 StackTrace.out. Updated for new class name.
344 2006-07-07 Ranjit Mathew <rmathew@gcc.gnu.org>
346 * sysdep/i386/backtrace.h (fallback_backtrace): Scan for a function's
347 prologue to determine its beginning. Stop unwinding when we reach
350 2006-07-07 Gary Benson <gbenson@redhat.com>
352 * Makefile.am (BOOT_CLASS_PATH_DIR): Only contain libgcj.jar.
353 * Makefile.in: Regenerate.
355 2006-07-06 Bryce McKinlay <mckinlay@redhat.com>
357 * stacktrace.cc (ClassForFrame): Remove commented-out code.
358 (UnwindTraceFn): Use _Unwind_GetIPInfo and adjust IP
360 (getLineNumberForFrame): Don't adjust IP here.
361 * testsuite/libjava.lang/StackTrace.java: New test case.
362 * testsuite/libjava.lang/StackTrace.out: Ditto.
364 2006-07-06 Thomas Fitzsimmons <fitzsim@redhat.com>
366 * Makefile.am (libgcj_tools_la_GCJFLAGS): Add
367 -fno-indirect-classes.
368 * Makefile.in: Regenerate.
369 * gcj/Makefile.in: Regenerate.
370 * include/Makefile.in: Regenerate.
371 * testsuite/Makefile.in: Regenerate.
373 2006-07-06 Bryce McKinlay <mckinlay@redhat.com>
375 * boehm.cc (_Jv_MarkObj): Mark the next_or_version field.
377 2006-07-06 Thomas Fitzsimmons <fitzsim@redhat.com>
379 * configure.ac (ac_configure_args): Add --with-native-libdir.
380 * configure: Regenerate.
381 * classpath/native/jni/gtk-peer/Makefile.am: Remove GCJ LOCAL
383 * classpath/native/jni/gtk-peer/Makefile.in: Regenerate.
384 * classpath/native/jawt/Makefile.am: Remove GCJ LOCAL sections.
385 * classpath/native/jawt/Makefile.in: Regenerate.
386 * classpath/native/plugin/Makefile.am: Remove GCJ LOCAL sections.
387 * classpath/native/plugin/Makefile.in: Regenerate.
389 2006-07-05 Ranjit Mathew <rmathew@gcc.gnu.org>
390 Danny Smith <dannysmith@users.sourceforge.net>
392 * libgcj.spec.in: Use THREADSTARTFILESPEC to affect the spec for
394 * configure.ac: Allow targets to affect the spec for startfile
395 by specifying a THREADSTARTFILESPEC variable. Define this for
396 the win32 threads package to include crtmt.o.
397 * configure: Regenerate.
398 * win32.cc (_CRT_MT): Remove definition.
399 (__mingwthr_key_dtor): Likewise.
401 2006-07-04 Andreas Tobler <a.tobler@schweiz.ch>
403 * testsuite/lib/libjava.exp (libjava_init): Call the GCJ_UNDER_TEST with
407 * include/posix.h (_Jv_platform_dladdr): Remove const qualifier.
408 * include/win32.h (_Jv_platform_dladdr): Likewise.
409 * posix.cc (_Jv_platform_dladdr): Likewise.
410 * win32.cc (_Jv_platform_dladdr): Likewise.
412 * testsuite/lib/libjava.exp (libjava_init): Look for libgcj-$version.jar
413 instead of libgcj-*.jar.
415 2006-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
418 * Makefile.am (libgcj_tools_la_DEPENDENCIES): Add libgcj.la and
420 * Makefile.in: Regenerate.
422 2006-06-30 Thomas Fitzsimmons <fitzsim@redhat.com>
424 * classpath/tools/Makefile.am: Comment out tools wrapper creation.
425 (TOOLS_ZIP): Rename tools.zip tools.jar.
426 (noinst_DATA): Do not install tools.jar.
427 * classpath/tools/Makefile.in: Regenerate.
428 * classpath/Makefile.am (SUBDIRS): Add tools.
429 (DIST_SUBDIRS): Likewise.
430 * classpath/Makefile.in: Regenerate.
431 * Makefile.am (toolexeclib_LTLIBRARIES): Add libgcj-tools.la.
432 (jar_DATA): Add libgcj-tools-$(gcc_version).jar.
433 (bin_PROGRAMS): Add gappletviewer, gjarsigner and gkeytool.
434 Add build logic for libgcj-tools.la,
435 libgcj-tools-$(gcc_version).jar and gappletviewer, gjarsigner and
437 * Makefile.in: Regenerate.
439 2006-06-29 Ranjit Mathew <rmathew@gcc.gnu.org>
441 * gcj/javaprims.h (_Jv_uintptr_t): New typedef similar to uintptr_t in
443 * include/java-stack.h: Include stdlib.h.
444 (_Jv_AddrInfo): New structure to hold address information.
445 * include/posix.h (_Jv_platform_dladdr): Declare.
446 * include/win32.h (_Jv_platform_dladdr): Declare.
447 (backtrace): Remove declaration.
448 * posix.cc: Include dlfcn.h if available. Include java-stack.h.
449 (_Jv_platform_dladdr): Define.
450 * win32.cc: Include string.h. Include java-stack.h.
452 (_Jv_platform_dladdr): Define.
453 * sysdep/i386/backtrace.h (fallback_backtrace): Check that a potential
454 frame pointer value is 32-bit word-aligned. Use operand of the CALL
455 instruction calling the current function to find its starting address.
456 * stacktrace.cc: Do not include dlfcn.h. Include platform.h.
457 (_Jv_StackTrace::getLineNumberForFrame): Use _Jv_platform_dladdr()
459 (_Jv_StackTrace::GetStackTraceElements): Use nCodeMap even for Windows.
460 (_Jv_StackTrace::GetClassContext): Use fallback_backtrace() for
461 targets with SJLJ exceptions instead of using _Unwind_Backtrace().
462 (_Jv_StackTrace::GetFirstNonSystemClassLoader): Likewise.
464 2006-06-27 Tom Tromey <tromey@redhat.com>
466 * java/io/OutputStreamWriter.java (writeChars): Use a 'do' loop.
467 Set 'out.count' earlier.
468 (close): Call setFinished on converter.
469 (flush): Always write work buffer.
470 * java/io/PrintStream.java (writeChars): Do 'do' loop.
471 (close): Call setFinished on converter. Write a 'flush' array.
472 * java/lang/natString.cc (getBytes): Call setFinished on
474 * gnu/gcj/convert/CharsetToBytesAdaptor.java (hasBytes): New
476 (write): Set hasBytes. Changed 'finished' logic.
477 (havePendingBytes): Rewrote.
478 (setFinished): New method.
479 * gnu/gcj/convert/UnicodeToBytes.java (setFinished): New method.
480 * testsuite/libjava.lang/RH194522.java: New file.
481 * testsuite/libjava.lang/RH194522.out: New file.
483 2006-06-27 Marco Trudel <mtrudel@gmx.ch>
485 * boehm.cc (_Jv_SuspendThread, _Jv_ResumeThread): Define
486 conditionally on GC_PTHREADS, !GC_SOLARIS_THREADS,
487 !GC_WIN32_THREADS and !GC_DARWIN_THREADS.
489 2006-06-27 Tom Tromey <tromey@redhat.com>
492 * jni.cc (_Jv_JNI_DeleteLocalRef): Ignore null argument.
493 (_Jv_JNI_DeleteGlobalRef): Likewise.
494 * testsuite/libjava.jni/PR28178.java: New file.
495 * testsuite/libjava.jni/PR28178.c: New file.
496 * testsuite/libjava.jni/PR28178.out: New file.
498 2006-06-26 Keith Seitz <keiths@redhat.com>
500 * include/posix-threads.h: Fix coding style aberrations from
502 * posix-threads.cc (_Jv_ThreadDebugSuspend): Ditto.
503 * include/win32-threads.h (_Jv_ThreadDebugSuspend): Ditto.
504 * win32-threads.cc (_Jv_ThreadDebugSuspend): Ditto.
506 2006-06-26 Keith Seitz <keiths@redhat.com>
508 * include/no-gc.h (_Jv_SuspendThread): Declare.
509 (_Jv_ResumeThread): Likewise.
510 * include/boehm-gc.h (_Jv_SuspendThread): Declare.
511 (_Jv_ResumeThread): Likewise.
512 * nogc.cc (_Jv_SuspendThread): New function.
513 (_Jv_ResumeThread): Likewise.
514 * boehm.cc (_Jv_SuspendThread): New function.
515 (_Jv_ResumeThread): Likewise.
517 2006-06-22 Thomas Fitzsimmons <fitzsim@redhat.com>
519 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one):
520 Link against -ljvm, not -lgcj.
522 2006-06-22 Thomas Fitzsimmons <fitzsim@redhat.com>
524 * Makefile.am (libjvm_la_LDFLAGS): Do not set -rpath to
526 * Makefile.in: Regenerate.
528 2006-06-22 Tom Tromey <tromey@redhat.com>
530 * java/lang/reflect/natField.cc (getAddr): Allow setting of final
531 field when it is accessible.
533 2006-06-21 Bryce McKinlay <mckinlay@redhat.com>
535 * include/win32-threads.h (_Jv_ThreadDesc_t): New typedef.
536 (_Jv_GetPlatformThreadID): New function.
537 * include/posix-threads.h (_Jv_ThreadDesc_t): New typedef.
538 (_Jv_GetPlatformThreadID): New function.
540 2006-06-20 Bryce McKinlay <mckinlay@redhat.com>
542 * gnu/classpath/natSystemProperties.cc (insertSystemProperties):
543 Bump "java.class.version" to 48.0.
545 2006-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
547 * Makefile.am (AM_CXXFLAGS): Define GCJ_VERSIONED_LIBDIR to
550 * Makefile.in: Regenerate.
551 * jni.cc (the_vm): Rename and export as ...
552 (_Jv_the_vm): New exported symbol.
553 (_Jv_JNI_AttachCurrentThread): Export.
554 (_Jv_JNI_DestroyJavaVM): Replace the_vm references with _Jv_the_vm
556 (_Jv_GetJavaVM): Likewise.
557 (JNI_GetDefaultJavaVMInitArgs, JNI_CreateJavaVM,
558 JNI_GetCreatedJavaVMs): Move to ...
559 * jni-libjvm.cc: New file.
561 2006-06-19 Andrew Haley <aph@redhat.com>
563 * testsuite/libjava.lang/PR27908.out: New.
564 * testsuite/libjava.lang/PR27908.java: New.
566 2006-06-19 Keith Seitz <keiths@redhat.com>
568 * include/posix-threads.h (_Jv_ThreadDebugSuspend): Declare.
569 (_Jv_ThreadDebugResume): Declare.
570 (_Jv_ThreadDebugSuspendCount): Declare.
571 * posix-threads.cc (_Jv_ThreadDebugSuspend): New function.
572 (_Jv_ThreadDebugSuspendCount): New function.
573 (_Jv_ThreadDebugResume): New function.
575 * include/win32-threads.h (_Jv_ThreadDebugSuspend): Declare.
576 (_Jv_ThreadDebugResume): Declare.
577 (_Jv_ThreadDebugSuspendCount): Declare.
578 * win32-threads.cc (_Jv_ThreadDebugSuspend): New function.
579 (_Jv_ThreadDebugSuspendCount): New function.
580 (_Jv_ThreadDebugResume): New function.
582 2006-06-16 Andrew Haley <aph@redhat.com>
584 * java/lang/natClassLoader.cc (_Jv_NewClassFromInitializer): Don't
585 copy the whole Class instance from the initializer: instead, copy
586 everything but the first word (the vtable pointer).
587 Change prototype to (const char* class_initializer).
588 (_Jv_RegisterNewClasses): Change prototype to (const char**).
589 * java/lang/Class.h (_Jv_RegisterNewClasses): Change prototype to
592 2006-06-15 Thomas Fitzsimmons <fitzsim@redhat.com>
594 * classpath/Makefile.am: Do not recurse into tools directory.
595 * classpath/Makefile.in: Regenerate.
597 2006-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
599 * classpath/tools/Makefile.am (gappletviewer_CFLAGS): Add
600 -I$(top_srcdir)/include.
601 (gjarsigner_CFLAGS): Likewise.
602 (gkeytool_CFLAGS): Likewise.
603 * classpath/tools/Makefile.in: Regenerate.
605 2006-06-13 Thomas Fitzsimmons <fitzsim@redhat.com>
607 * configure: Regenerate.
608 * Makefile.in: Regenerate.
609 * configure.ac (--enable-plugin): New option.
610 (ac_configure_args): Add --enable-tool-wrappers.
611 (ac_configure_args): Add --disable-plugin unless --enable-plugin
613 * gcj/Makefile.in: Regenerate.
614 * sources.am (gnu_java_net_source_files): Add
615 classpath/gnu/java/net/IndexListParser.java.
616 (property_files): Remove
617 classpath/resource/gnu/classpath/tools/jarsigner/MessageBundle.properties,
618 classpath/resource/gnu/classpath/tools/keytool/MessageBundle.properties.
620 classpath/resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties,
621 classpath/resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties,
622 classpath/resource/gnu/classpath/tools/getopt/Messages.properties,
623 classpath/resource/gnu/classpath/tools/jar/messages.properties,
624 classpath/resource/gnu/classpath/tools/jarsigner/messages.properties,
625 classpath/resource/gnu/classpath/tools/keytool/messages.properties,
626 classpath/resource/gnu/classpath/tools/native2ascii/messages.properties,
627 classpath/resource/gnu/classpath/tools/serialver/messages.properties.
628 * classpath/Makefile.in: Regenerate.
629 * classpath/native/jni/gtk-peer/cairographics2d.h,
630 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c,
631 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c,
632 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c,
633 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c,
634 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c,
635 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c,
636 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
637 Merge from GNU Classpath.
638 * classpath/native/Makefile.in: Regenerate.
639 * classpath/native/jawt/Makefile.in: Regenerate.
640 * classpath/native/jawt/Makefile.am: Install libjawt.so in GCJ's
641 versioned library directory.
642 * classpath/native/Makefile.am: Add plugin directory if
643 --enable-plugin was specified.
644 * classpath/native/plugin/Makefile.in: Regenerate. *
645 classpath/native/plugin/Makefile.am: Install libgcjwebplugin.so in
646 GCJ's versioned library directory.
647 * classpath/resource/gnu/classpath/tools/native2ascii/messages.properties:
649 * classpath/resource/gnu/classpath/tools/getopt/Messages.properties:
651 * classpath/resource/gnu/classpath/tools/jarsigner/messages.properties:
653 * classpath/resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
655 * classpath/resource/gnu/classpath/tools/keytool/messages.properties:
657 * classpath/resource/gnu/classpath/tools/keytool/MessageBundle.properties:
659 * classpath/resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
661 * classpath/resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
663 * classpath/resource/gnu/classpath/tools/jar/messages.properties:
665 * classpath/resource/gnu/classpath/tools/serialver/messages.properties:
667 * classpath/gnu/java/net/IndexListParser.java:
669 * classpath/gnu/java/awt/peer/gtk/VolatileImageGraphics.java,
670 classpath/gnu/java/awt/peer/gtk/CairoGraphics2D.java,
671 classpath/gnu/java/awt/peer/gtk/CairoSurface.java,
672 classpath/gnu/java/awt/peer/gtk/GdkFontPeer.java,
673 classpath/gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
674 classpath/gnu/java/awt/peer/gtk/FreetypeGlyphVector.java,
675 classpath/gnu/java/awt/peer/gtk/GdkTextLayout.java,
676 classpath/gnu/java/awt/peer/gtk/ComponentGraphics.java,
677 classpath/gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java,
678 classpath/gnu/java/awt/peer/gtk/GtkVolatileImage.java,
679 classpath/gnu/java/awt/font/opentype/truetype/VirtualMachine.java,
680 classpath/gnu/java/awt/java2d/PolyEdge.java,
681 classpath/gnu/java/awt/java2d/AbstractGraphics2D.java: Merge from
683 * classpath/tools/toolwrapper.c: Replace tools.zip reference with
684 libgcj-tools-4.2.0.jar.
685 * classpath/tools/Makefile.in: Regenerate.
686 * classpath/tools/Makefile.am: Rename tools.zip to
687 libgcj-tools-4.2.0.jar. Install libgcj-tools-4.2.0.jar in
689 * classpath/javax/swing/JTabbedPane.java,
690 classpath/javax/swing/text/DefaultStyledDocument.java,
691 classpath/javax/swing/text/html/HTMLDocument.java,
692 classpath/javax/swing/text/GapContent.java,
693 classpath/javax/swing/JComponent.java,
694 classpath/javax/swing/RepaintManager.java,
695 classpath/javax/swing/plaf/basic/BasicComboBoxRenderer.java,
696 classpath/javax/swing/plaf/basic/BasicScrollBarUI.java,
697 classpath/javax/swing/plaf/basic/BasicTabbedPaneUI.java,
698 classpath/javax/swing/plaf/basic/BasicScrollPaneUI.java,
699 classpath/javax/swing/plaf/basic/BasicLookAndFeel.java,
700 classpath/javax/swing/plaf/metal/MetalButtonUI.java,
701 classpath/java/text/Bidi.java,
702 classpath/java/awt/image/BufferedImage.java,
703 classpath/java/awt/datatransfer/DataFlavor.java,
704 classpath/java/awt/geom/AffineTransform.java,
705 classpath/java/awt/dnd/DropTargetDropEvent.java,
706 classpath/java/awt/dnd/DropTargetContext.java,
707 classpath/java/awt/font/TextLayout.java,
708 classpath/include/gnu_java_awt_peer_gtk_ComponentGraphics.h,
709 classpath/include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
710 classpath/include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h,
711 classpath/include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
712 classpath/include/gnu_java_awt_peer_gtk_GtkVolatileImage.h,
713 classpath/include/gnu_java_awt_peer_gtk_CairoSurface.h: Merge from
715 * classpath/include/gnu_java_awt_peer_gtk_GdkGraphics.h,
716 classpath/include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
717 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
718 classpath/native/jni/gtk-peer/gtkcairopeer.h,
719 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
721 * classpath/Makefile.am (SUBDIRS, DIST_SUBDIRS): Include tools
723 * include/Makefile.in: Regenerate.
724 * testsuite/Makefile.in: Regenerate.
726 2006-06-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
728 * configure.host (hppa*-*): Set 'enable_hash_synchronization_default'
731 2006-06-12 Andrew Haley <aph@redhat.com>
733 * testsuite/libjava.lang/PR27908.out: Delete.
734 * testsuite/libjava.lang/PR27908.java: Delete.
736 2006-06-12 Andrew Haley <aph@redhat.com>
738 * testsuite/libjava.lang/PR27908.out: New.
739 * testsuite/libjava.lang/PR27908.java: New.
741 2006-06-10 Thomas Fitzsimmons <fitzsim@redhat.com>
743 * configure.ac (ac_configure_args): Add --disable-plugin.
744 (--enable-gtk-cairo): Remove option.
745 * configure: Regenerate.
747 2006-06-09 Tom Tromey <tromey@redhat.com>
750 * java/lang/Thread.java (threadId): New field.
751 (nextThreadId): New static field.
752 (Thread): Initialize new field.
755 2006-06-09 Tom Tromey <tromey@redhat.com>
757 * java/lang/Class.java (getClassLoaderInternal): Now native.
759 2006-06-09 Thomas Fitzsimmons <fitzsim@redhat.com>
761 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
762 (getDefaultScreenDevice): Remove unnecessary GCJ local hack.
763 * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemEventQueueImpl):
765 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (registerFormat):
768 2006-06-09 Thomas Fitzsimmons <fitzsim@redhat.com>
770 * java/lang/String.java, classpath/native/jni/classpath/jcl.h,
771 classpath/native/jni/qt-peer/eventmethods.h,
772 classpath/native/jni/qt-peer/qtmenupeer.cpp,
773 classpath/native/jni/qt-peer/.cvsignore,
774 classpath/native/jni/gtk-peer/gdkdisplay.h,
775 classpath/native/jni/gtk-peer/cairographics2d.h,
776 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c,
777 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c,
778 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c,
779 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
780 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c,
781 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c,
782 classpath/native/jni/gtk-peer/.cvsignore,
783 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c,
784 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c,
785 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
786 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
787 classpath/native/jni/gtk-peer/gtkpeer.h,
788 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
789 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c,
790 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c,
791 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c,
792 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c,
793 classpath/native/jni/gtk-peer/Makefile.am,
794 classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
795 classpath/native/jawt/Makefile.am,
796 classpath/native/jawt/.cvsignore,
797 classpath/native/target/Linux/Makefile.in,
798 classpath/native/plugin/gcjwebplugin.cc,
799 classpath/native/plugin/Makefile.am,
800 classpath/native/plugin/.cvsignore,
801 classpath/resource/Makefile.in,
802 classpath/gnu/java/awt/peer/gtk/VolatileImageGraphics.java,
803 classpath/gnu/java/awt/peer/gtk/CairoGraphics2D.java,
804 classpath/gnu/java/awt/peer/gtk/CairoSurface.java,
805 classpath/gnu/java/awt/peer/gtk/GdkFontPeer.java,
806 classpath/gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
807 classpath/gnu/java/awt/peer/gtk/FreetypeGlyphVector.java,
808 classpath/gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
809 classpath/gnu/java/awt/peer/gtk/GdkGraphics2D.java,
810 classpath/gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java,
811 classpath/gnu/java/awt/peer/gtk/GtkComponentPeer.java,
812 classpath/gnu/java/awt/peer/gtk/GdkGraphics.java,
813 classpath/gnu/java/awt/peer/gtk/GtkToolkit.java,
814 classpath/gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
815 classpath/gnu/java/awt/peer/gtk/BufferedImageGraphics.java,
816 classpath/gnu/java/awt/peer/gtk/GdkTextLayout.java,
817 classpath/gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
818 classpath/gnu/java/awt/peer/gtk/ComponentGraphics.java,
819 classpath/gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java,
820 classpath/gnu/java/awt/peer/gtk/GtkImage.java,
821 classpath/gnu/java/awt/peer/gtk/GtkVolatileImage.java,
822 classpath/gnu/java/awt/peer/gtk/GdkGlyphVector.java,
823 classpath/gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
824 classpath/gnu/java/awt/peer/swing/SwingContainerPeer.java,
825 classpath/gnu/java/awt/peer/swing/SwingComponent.java,
826 classpath/gnu/java/awt/peer/swing/SwingTextFieldPeer.java,
827 classpath/gnu/java/awt/peer/swing/SwingMenuBarPeer.java,
828 classpath/gnu/java/awt/peer/swing/SwingFramePeer.java,
829 classpath/gnu/java/awt/peer/swing/SwingComponentPeer.java,
830 classpath/gnu/java/awt/peer/swing/SwingWindowPeer.java,
831 classpath/gnu/java/awt/print/JavaPrinterJob.java,
832 classpath/gnu/java/awt/print/PostScriptGraphics2D.java,
833 classpath/gnu/java/awt/print/SpooledDocument.java,
834 classpath/gnu/java/awt/print/JavaPrinterGraphics.java,
835 classpath/gnu/java/awt/BitwiseXORComposite.java,
836 classpath/gnu/java/awt/font/GNUGlyphVector.java,
837 classpath/gnu/java/awt/font/opentype/NameDecoder.java,
838 classpath/gnu/java/awt/java2d/RasterGraphics.java,
839 classpath/gnu/java/awt/java2d/TexturePaintContext.java,
840 classpath/gnu/java/awt/java2d/PolyEdge.java,
841 classpath/gnu/java/awt/java2d/AbstractGraphics2D.java,
842 classpath/gnu/java/awt/java2d/AlphaCompositeContext.java,
843 classpath/gnu/java/awt/java2d/ImagePaint.java,
844 classpath/gnu/java/awt/Buffers.java,
845 classpath/gnu/classpath/Configuration.java.in,
846 classpath/gnu/javax/swing/text/html/CombinedAttributes.java,
847 classpath/gnu/javax/swing/text/html/CharacterAttributeTranslator.java,
848 classpath/gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
849 classpath/gnu/javax/swing/text/html/parser/SmallHtmlAttributeSet.java,
850 classpath/gnu/javax/swing/text/html/ImageViewIconFactory.java,
851 classpath/tools/toolwrapper.c,
852 classpath/tools/gnu/classpath/tools/native2ascii/Native2ASCII.java,
853 classpath/tools/gnu/classpath/tools/native2ascii/Messages.java,
854 classpath/tools/gnu/classpath/tools/getopt/FileArgumentCallback.java,
855 classpath/tools/gnu/classpath/tools/getopt/OptionGroup.java,
856 classpath/tools/gnu/classpath/tools/getopt/OptionException.java,
857 classpath/tools/gnu/classpath/tools/getopt/Messages.java,
858 classpath/tools/gnu/classpath/tools/getopt/Option.java,
859 classpath/tools/gnu/classpath/tools/getopt/Parser.java,
860 classpath/tools/gnu/classpath/tools/getopt/ClasspathToolParser.java,
861 classpath/tools/gnu/classpath/tools/jarsigner/JarSigner.java,
862 classpath/tools/gnu/classpath/tools/jarsigner/Main.java,
863 classpath/tools/gnu/classpath/tools/jarsigner/Messages.java,
864 classpath/tools/gnu/classpath/tools/jarsigner/package.html,
865 classpath/tools/gnu/classpath/tools/keytool/ListCmd.java,
866 classpath/tools/gnu/classpath/tools/keytool/StorePasswdCmd.java,
867 classpath/tools/gnu/classpath/tools/keytool/ExportCmd.java,
868 classpath/tools/gnu/classpath/tools/keytool/GenKeyCmd.java,
869 classpath/tools/gnu/classpath/tools/keytool/Messages.java,
870 classpath/tools/gnu/classpath/tools/keytool/package.html,
871 classpath/tools/gnu/classpath/tools/keytool/Command.java,
872 classpath/tools/gnu/classpath/tools/keytool/IdentityDBCmd.java,
873 classpath/tools/gnu/classpath/tools/keytool/Main.java,
874 classpath/tools/gnu/classpath/tools/keytool/DeleteCmd.java,
875 classpath/tools/gnu/classpath/tools/keytool/CertReqCmd.java,
876 classpath/tools/gnu/classpath/tools/keytool/SelfCertCmd.java,
877 classpath/tools/gnu/classpath/tools/keytool/KeyCloneCmd.java,
878 classpath/tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java,
879 classpath/tools/gnu/classpath/tools/keytool/ImportCmd.java,
880 classpath/tools/gnu/classpath/tools/keytool/PrintCertCmd.java,
881 classpath/tools/gnu/classpath/tools/rmi/registry/package.html,
882 classpath/tools/gnu/classpath/tools/rmi/RMIC.txt,
883 classpath/tools/gnu/classpath/tools/rmi/RMIC.java,
884 classpath/tools/gnu/classpath/tools/appletviewer/ErrorApplet.java,
885 classpath/tools/gnu/classpath/tools/appletviewer/AppletClassLoader.java,
886 classpath/tools/gnu/classpath/tools/appletviewer/CommonAppletContext.java,
887 classpath/tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java,
888 classpath/tools/gnu/classpath/tools/appletviewer/AppletSecurityManager.java,
889 classpath/tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java,
890 classpath/tools/gnu/classpath/tools/appletviewer/AppletWarning.java,
891 classpath/tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java,
892 classpath/tools/gnu/classpath/tools/appletviewer/AppletTag.java,
893 classpath/tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java,
894 classpath/tools/gnu/classpath/tools/appletviewer/Main.java,
895 classpath/tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java,
896 classpath/tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java,
897 classpath/tools/gnu/classpath/tools/appletviewer/TagParser.java,
898 classpath/tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java,
899 classpath/tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java,
900 classpath/tools/gnu/classpath/tools/serialver/Messages.java,
901 classpath/tools/gnu/classpath/tools/serialver/SerialVer.java,
902 classpath/tools/gnu/classpath/tools/jar/Creator.java,
903 classpath/tools/gnu/classpath/tools/jar/Entry.java,
904 classpath/tools/gnu/classpath/tools/jar/Lister.java,
905 classpath/tools/gnu/classpath/tools/jar/Main.java,
906 classpath/tools/gnu/classpath/tools/jar/Updater.java,
907 classpath/tools/gnu/classpath/tools/jar/Messages.java,
908 classpath/tools/gnu/classpath/tools/jar/Extractor.java,
909 classpath/tools/gnu/classpath/tools/jar/Action.java,
910 classpath/tools/gnu/classpath/tools/jar/Indexer.java,
911 classpath/tools/gnu/classpath/tools/jar/WorkSet.java,
912 classpath/tools/gnu/classpath/tools/giop/GRMIC.txt,
913 classpath/tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
914 classpath/tools/gnu/classpath/tools/giop/GRMIC.java,
915 classpath/tools/Makefile.am, classpath/tools/jarsigner.in,
916 classpath/tools/keytool.in, classpath/tools/appletviewer.in,
917 classpath/tools/.cvsignore, classpath/configure.ac,
918 classpath/javax/swing/JTabbedPane.java,
919 classpath/javax/swing/AbstractButton.java,
920 classpath/javax/swing/JViewport.java,
921 classpath/javax/swing/KeyboardManager.java,
922 classpath/javax/swing/JMenuItem.java,
923 classpath/javax/swing/JMenuBar.java,
924 classpath/javax/swing/MenuSelectionManager.java,
925 classpath/javax/swing/JOptionPane.java,
926 classpath/javax/swing/JSpinner.java,
927 classpath/javax/swing/JCheckBoxMenuItem.java,
928 classpath/javax/swing/JEditorPane.java,
929 classpath/javax/swing/JFormattedTextField.java,
930 classpath/javax/swing/JTree.java,
931 classpath/javax/swing/CellRendererPane.java,
932 classpath/javax/swing/JScrollPane.java,
933 classpath/javax/swing/tree/VariableHeightLayoutCache.java,
934 classpath/javax/swing/tree/TreeNode.java,
935 classpath/javax/swing/tree/FixedHeightLayoutCache.java,
936 classpath/javax/swing/tree/DefaultTreeCellEditor.java,
937 classpath/javax/swing/tree/TreePath.java,
938 classpath/javax/swing/tree/RowMapper.java,
939 classpath/javax/swing/tree/DefaultMutableTreeNode.java,
940 classpath/javax/swing/tree/DefaultTreeModel.java,
941 classpath/javax/swing/tree/AbstractLayoutCache.java,
942 classpath/javax/swing/tree/TreeSelectionModel.java,
943 classpath/javax/swing/tree/DefaultTreeSelectionModel.java,
944 classpath/javax/swing/tree/DefaultTreeCellRenderer.java,
945 classpath/javax/swing/tree/ExpandVetoException.java,
946 classpath/javax/swing/JList.java,
947 classpath/javax/swing/table/JTableHeader.java,
948 classpath/javax/swing/table/AbstractTableModel.java,
949 classpath/javax/swing/table/DefaultTableModel.java,
950 classpath/javax/swing/table/TableCellEditor.java,
951 classpath/javax/swing/table/TableCellRenderer.java,
952 classpath/javax/swing/ProgressMonitor.java,
953 classpath/javax/swing/JToolBar.java,
954 classpath/javax/swing/TransferHandler.java,
955 classpath/javax/swing/DefaultCellEditor.java,
956 classpath/javax/swing/DefaultButtonModel.java,
957 classpath/javax/swing/JLayeredPane.java,
958 classpath/javax/swing/text/DefaultEditorKit.java,
959 classpath/javax/swing/text/DefaultCaret.java,
960 classpath/javax/swing/text/FieldView.java,
961 classpath/javax/swing/text/JTextComponent.java,
962 classpath/javax/swing/text/TextAction.java,
963 classpath/javax/swing/text/StyleContext.java,
964 classpath/javax/swing/text/html/HTMLDocument.java,
965 classpath/javax/swing/text/html/MinimalHTMLWriter.java,
966 classpath/javax/swing/text/html/ImageView.java,
967 classpath/javax/swing/text/html/HTMLEditorKit.java,
968 classpath/javax/swing/text/AbstractWriter.java,
969 classpath/javax/swing/text/GapContent.java,
970 classpath/javax/swing/text/Utilities.java,
971 classpath/javax/swing/text/PlainView.java,
972 classpath/javax/swing/UIManager.java,
973 classpath/javax/swing/JSplitPane.java,
974 classpath/javax/swing/JComponent.java,
975 classpath/javax/swing/SwingUtilities.java,
976 classpath/javax/swing/border/AbstractBorder.java,
977 classpath/javax/swing/border/CompoundBorder.java,
978 classpath/javax/swing/border/TitledBorder.java,
979 classpath/javax/swing/border/MatteBorder.java,
980 classpath/javax/swing/border/BevelBorder.java,
981 classpath/javax/swing/RepaintManager.java,
982 classpath/javax/swing/JTable.java,
983 classpath/javax/swing/UIDefaults.java,
984 classpath/javax/swing/DefaultDesktopManager.java,
985 classpath/javax/swing/JMenu.java,
986 classpath/javax/swing/JLabel.java,
987 classpath/javax/swing/JSlider.java,
988 classpath/javax/swing/plaf/basic/BasicToolBarUI.java,
989 classpath/javax/swing/plaf/basic/BasicButtonUI.java,
990 classpath/javax/swing/plaf/basic/BasicOptionPaneUI.java,
991 classpath/javax/swing/plaf/basic/BasicTextAreaUI.java,
992 classpath/javax/swing/plaf/basic/BasicToggleButtonUI.java,
993 classpath/javax/swing/plaf/basic/BasicSpinnerUI.java,
994 classpath/javax/swing/plaf/basic/BasicSliderUI.java,
995 classpath/javax/swing/plaf/basic/BasicTabbedPaneUI.java,
996 classpath/javax/swing/plaf/basic/BasicComboPopup.java,
997 classpath/javax/swing/plaf/basic/BasicCheckBoxUI.java,
998 classpath/javax/swing/plaf/basic/BasicInternalFrameUI.java,
999 classpath/javax/swing/plaf/basic/BasicProgressBarUI.java,
1000 classpath/javax/swing/plaf/basic/BasicRadioButtonUI.java,
1001 classpath/javax/swing/plaf/basic/BasicPanelUI.java,
1002 classpath/javax/swing/plaf/basic/BasicSplitPaneUI.java,
1003 classpath/javax/swing/plaf/basic/BasicTreeUI.java,
1004 classpath/javax/swing/plaf/basic/BasicTableHeaderUI.java,
1005 classpath/javax/swing/plaf/basic/BasicFileChooserUI.java,
1006 classpath/javax/swing/plaf/basic/BasicScrollPaneUI.java,
1007 classpath/javax/swing/plaf/basic/BasicComboBoxUI.java,
1008 classpath/javax/swing/plaf/basic/BasicListUI.java,
1009 classpath/javax/swing/plaf/basic/BasicIconFactory.java,
1010 classpath/javax/swing/plaf/basic/BasicTextUI.java,
1011 classpath/javax/swing/plaf/basic/BasicLookAndFeel.java,
1012 classpath/javax/swing/plaf/basic/BasicDirectoryModel.java,
1013 classpath/javax/swing/plaf/basic/BasicRootPaneUI.java,
1014 classpath/javax/swing/plaf/basic/BasicTableUI.java,
1015 classpath/javax/swing/plaf/basic/SharedUIDefaults.java,
1016 classpath/javax/swing/plaf/multi/MultiComboBoxUI.java,
1017 classpath/javax/swing/plaf/multi/MultiListUI.java,
1018 classpath/javax/swing/plaf/multi/MultiSplitPaneUI.java,
1019 classpath/javax/swing/plaf/multi/MultiFileChooserUI.java,
1020 classpath/javax/swing/plaf/multi/MultiOptionPaneUI.java,
1021 classpath/javax/swing/plaf/multi/MultiTabbedPaneUI.java,
1022 classpath/javax/swing/plaf/multi/MultiLookAndFeel.java,
1023 classpath/javax/swing/plaf/metal/MetalSliderUI.java,
1024 classpath/javax/swing/plaf/metal/MetalIconFactory.java,
1025 classpath/javax/swing/plaf/metal/MetalComboBoxIcon.java,
1026 classpath/javax/swing/plaf/metal/MetalTabbedPaneUI.java,
1027 classpath/javax/swing/plaf/metal/MetalLookAndFeel.java,
1028 classpath/javax/swing/plaf/metal/MetalCheckBoxUI.java,
1029 classpath/javax/swing/plaf/metal/MetalSeparatorUI.java,
1030 classpath/javax/swing/plaf/metal/MetalBorders.java,
1031 classpath/javax/swing/plaf/metal/MetalSplitPaneDivider.java,
1032 classpath/javax/swing/plaf/metal/MetalScrollBarUI.java,
1033 classpath/javax/swing/plaf/metal/MetalRootPaneUI.java,
1034 classpath/javax/swing/plaf/metal/MetalInternalFrameUI.java,
1035 classpath/javax/swing/plaf/metal/MetalRadioButtonUI.java,
1036 classpath/javax/swing/plaf/metal/MetalToolTipUI.java,
1037 classpath/javax/swing/plaf/metal/MetalInternalFrameTitlePane.java,
1038 classpath/javax/swing/plaf/metal/MetalFileChooserUI.java,
1039 classpath/javax/swing/plaf/metal/MetalUtils.java,
1040 classpath/javax/swing/plaf/metal/MetalComboBoxButton.java,
1041 classpath/javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java,
1042 classpath/javax/swing/plaf/metal/MetalButtonUI.java,
1043 classpath/javax/swing/JPopupMenu.java,
1044 classpath/javax/swing/JProgressBar.java,
1045 classpath/javax/swing/WindowConstants.java,
1046 classpath/javax/swing/JFrame.java,
1047 classpath/javax/swing/JFileChooser.java,
1048 classpath/javax/swing/JComboBox.java,
1049 classpath/javax/swing/event/EventListenerList.java,
1050 classpath/javax/swing/ListSelectionModel.java,
1051 classpath/javax/swing/JScrollBar.java,
1052 classpath/java/text/SimpleDateFormat.java,
1053 classpath/java/text/NumberFormat.java,
1054 classpath/java/text/class-dependencies.conf,
1055 classpath/java/awt/image/ColorModel.java,
1056 classpath/java/awt/image/BufferedImage.java,
1057 classpath/java/awt/Window.java,
1058 classpath/java/awt/ContainerOrderFocusTraversalPolicy.java,
1059 classpath/java/awt/LightweightDispatcher.java,
1060 classpath/java/awt/EventDispatchThread.java,
1061 classpath/java/awt/BasicStroke.java,
1062 classpath/java/awt/ColorPaintContext.java,
1063 classpath/java/awt/Container.java,
1064 classpath/java/awt/TexturePaint.java,
1065 classpath/java/awt/Component.java, classpath/java/awt/Font.java,
1066 classpath/java/awt/GraphicsConfiguration.java,
1067 classpath/java/awt/DefaultKeyboardFocusManager.java,
1068 classpath/java/awt/print/PrinterJob.java,
1069 classpath/java/awt/im/InputContext.java,
1070 classpath/java/awt/dnd/DragGestureRecognizer.java,
1071 classpath/java/awt/Toolkit.java,
1072 classpath/java/awt/font/GraphicAttribute.java,
1073 classpath/java/awt/font/ImageGraphicAttribute.java,
1074 classpath/java/awt/font/GlyphVector.java,
1075 classpath/java/awt/font/GlyphMetrics.java,
1076 classpath/java/awt/font/ShapeGraphicAttribute.java,
1077 classpath/java/awt/Graphics2D.java,
1078 classpath/include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
1079 classpath/include/gnu_java_awt_peer_gtk_ComponentGraphics.h,
1080 classpath/include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
1081 classpath/include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h,
1082 classpath/include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
1083 classpath/include/config.h.in,
1084 classpath/include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
1085 classpath/include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
1086 classpath/include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
1087 classpath/include/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.h,
1088 classpath/include/gnu_java_awt_peer_gtk_GtkVolatileImage.h,
1089 classpath/include/gnu_java_awt_peer_gtk_GtkImage.h,
1090 classpath/include/gnu_java_awt_peer_gtk_CairoSurface.h,
1091 classpath/include/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.h:
1092 Merge from GNU Classpath HEAD.
1094 2006-06-08 Tom Tromey <tromey@redhat.com>
1096 * gnu/classpath/natSystemProperties.cc (insertSystemProperties):
1097 Set gnu.gcj.user.realname.
1099 2006-06-09 Andreas Tobler <a.tobler@schweiz.ch>
1101 * scripts/jar.in: Replace hardcoded /bin/sh with @SHELL@.
1103 2006-06-07 Andrew Haley <aph@redhat.com>
1105 * include/jvm.h (_Jv_Linker::maybe_adjust_signature): New.
1106 (_Jv_Linker::uaddr): New.
1107 * link.cc (resolve_pool_entry): Call search_method_in_superclasses
1108 instead of an open-coded loop around search_method_in_class.
1109 (search_method_in_class): Add a new arg, check_perms.
1110 (search_method_in_superclasses): New.
1111 (link_symbol_table): Call maybe_adjust_signature() to extract the
1112 least significnt bit of the signature pointer. Do this three
1113 times, for instace method calls, static methods, and interfaces.
1114 Call search_method_in_superclasses() instead of
1115 _Jv_LookupDeclaredMethod.
1116 (typedef uaddr): Delete.
1118 2006-06-07 Thomas Fitzsimmons <fitzsim@redhat.com>
1120 * scripts/makemake.tcl (emit_bc_rule): Do not skip
1121 gnu-java-awt-peer-qt.lo.
1122 * configure.ac (QT_AWT): Remove conditional.
1123 Do not add gnu/java/awt/peer/qt to standard.omit.
1124 * classpath/native/jni/qt-peer/Makefile.am: Install libqtpeer.so
1125 in GCJ's versioned library directory.
1126 * classpath/gnu/java/awt/peer/qt/QtToolkit.java (initToolkit):
1127 Load libqtpeer.so unconditionally.
1128 * gij.cc (main): Do not re-exec gij.
1129 * Makefile.am: Remove lib-gnu-java-awt-peer-qt.lo build logic.
1130 (gij_LDFLAGS): Point -rpath at GCJ's versioned library directory
1133 2006-06-06 David Daney <ddaney@avtrex.com>
1135 * gnu/gcj/runtime/NameFinder.java (show_raw): New field.
1136 (showRaw): New method.
1137 * stacktrace.cc : Include gnu/gcj/runtime/StringBuffer.h.
1138 (getLineNumberForFrame): Show IP offset in trace if line number
1139 not available and show_raw true.
1141 2006-06-06 Gary Benson <gbenson@redhat.com>
1143 * java/io/natFilePosix.cc (getCanonicalPath): Rewritten.
1144 * configure.ac: Remove realpath check and add checks for
1146 * configure: Rebuilt.
1147 * include/config.h.in: Likewise.
1148 * java/io/File.java: Javadoc fix.
1150 2006-06-05 Andreas Schwab <schwab@suse.de>
1153 * link.cc: Check for closure support in libffi with FFI_CLOSURES.
1155 2006-06-05 Tom Tromey <tromey@redhat.com>
1158 * gij.cc (main): Use putenv.
1160 2006-06-03 Paolo Bonzini <bonzini@gnu.org>
1162 * scripts/jar.in: Ensure return with argument has non-empty argument.
1164 2006-06-01 Paolo Bonzini <bonzini@gnu.org>
1166 * configure.ac (ZIP, UNZIP): New programs.
1167 (JAR): Fall back to bash script. Generate it.
1168 (BASH_JAR): New conditional.
1169 * Makefile.am (bin_SCRIPTS): New.
1170 * scripts/jar.in: New file.
1172 2006-06-01 Bryce McKinlay <mckinlay@redhat.com>
1174 * gnu/java/lang/MainThread (run): Revert exception chaining change.
1176 2006-05-31 Bryce McKinlay <mckinlay@redhat.com>
1178 * prims.cc (_Jv_RunMain): Use JvNewStringUTF for command-line class
1180 * gnu/java/lang/MainThread.java (run): Allow file separator char to
1181 be used in place of '.' as class-name separator. Don't chain
1182 ClassNotFoundException.
1184 2006-05-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1186 * java/lang/VMClassLoader.java (initialize): Set default library
1187 control to LIB_NEVER.
1189 2006-05-31 Alan Modra <amodra@bigpond.net.au>
1191 * stacktrace.cc (_Jv_StackTrace::UpdateNCodeMap): Don't add
1192 interpreted classes.
1194 2006-05-30 Thomas Fitzsimmons <fitzsim@redhat.com>
1196 * scripts/makemake.tcl (emit_bc_rule): Do not skip
1197 gnu-java-awt-peer-gtk.lo.
1198 Include gnu/java/awt/peer/gtk Java objects in libgcj.so. Use C++
1199 ABI for gnu/java/awt/peer/gtk package.
1200 * gnu/classpath/natSystemProperties.cc (PrependVersionedLibdir):
1202 (insertSystemProperties): Only set java.ext.dirs if it is not
1203 already defined. Prepend GCJ_VERSIONED_LIBDIR to module search
1204 path where necessary.
1205 * configure.ac (GTK_AWT): Remove automake conditional.
1206 Do not add gnu/java/awt/peer/gtk to standard.omit.
1207 * include/jvm.h (_Jv_PrependVersionedLibdir): New function
1209 * gij.cc (main): Prepend LD_LIBRARY_PATH with GCJ_VERSIONED_LIBDIR
1211 * Makefile.am (AM_CXXFLAGS): Define GCJ_VERSIONED_LIBDIR and
1212 PATH_SEPARATOR macros.
1213 Remove lib-gnu-java-awt-peer-gtk.la and libgcjawt.la build logic.
1214 * prims.cc (_Jv_PrependVersionedLibdir): New function.
1216 2006-05-29 Thomas Fitzsimmons <fitzsim@redhat.com>
1218 * java/lang/natThread.cc (countStackFrames): Do not throw
1219 UnsupportedOperationException.
1222 (suspend): Likewise.
1224 2006-05-25 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1226 * configure.ac: Add sys/rw_lock.h to AC_CHECK_HEADERS.
1227 * configure: Rebuilt.
1228 * include/config.h.in: Likewise.
1229 * include/posix.h: If HAVE_SYS_RW_LOCK_H is defined, include
1232 2006-05-24 Tom Tromey <tromey@redhat.com>
1235 * sources.am, Makefile.in: Rebuilt.
1236 * gnu/java/net/DefaultContentHandlerFactory.java: Removed.
1237 * java/net/URLConnection.java: Removed.
1239 2006-05-24 Carlos O'Donell <carlos@codesourcery.com>
1241 * Makefile.am: Add install-html target. Add install-html to .PHONY
1242 * Makefile.in: Regenerate.
1243 * aclocal.m4: Regenerate.
1244 * gcj/Makefile.in: Regenerate.
1245 * include/Makefile.in: Regenerate.
1246 * testsuite/Makefile.in: Regenerate.
1248 2006-05-24 Andreas Tobler <a.tobler@schweiz.ch>
1250 * testsuite/libjava.lang/stacktrace.java: New file.
1251 * testsuite/libjava.lang/stacktrace.out: Likewise.
1253 2006-05-24 Tom Tromey <tromey@redhat.com>
1255 * sources.am, Makefile.in: Rebuilt.
1256 * scripts/makemake.tcl: Accept -verbose command-line option.
1257 (is_verbose): New global.
1259 (classify_source_file): Don't special case '.' for 'package'
1262 2006-05-24 Tom Tromey <tromey@redhat.com>
1265 * java/lang/reflect/natField.cc (getAddr): Added parens.
1266 * java/lang/reflect/natConstructor.cc (getModifiersInternal):
1267 Renamed. Don't mask flags.
1268 * java/lang/reflect/Constructor.java (CONSTRUCTOR_MODIFIERS): New
1270 (getModifiersInternal): Renamed.
1271 (getModifiers): Rewrote.
1272 (isSynthetic, isVarArgs): New methods.
1273 (hashCode): Rewrote.
1274 (addTypeParameters, toGenericString): New methods.
1275 (getTypeParameters): Rewrote.
1276 (getSignature): New method.
1277 (getGenericParameterTypes, getGenericExceptionTypes): Likewise.
1278 * java/lang/reflect/natMethod.cc (getModifiersInternal):
1279 Renamed. Don't mask flags.
1280 * java/lang/reflect/natField.cc (getModifiersInternal): Renamed.
1282 * java/lang/reflect/Modifier.java (BRIDGE, VARARGS, SYNTHETIC,
1283 ENUM): New constants.
1284 (INVISIBLE): Changed value.
1285 * java/lang/reflect/Method.java: Mostly merged with Classpath.
1286 (getModifiersInternal): Renamed.
1287 (getModifiers): Rewrote.
1288 (isBridge, isSynthetic, isVarArgs): New methods.
1289 (toGenericString): Likewise.
1290 (getTypeParameters): Likewise.
1291 (getSignature): Likewise.
1292 (getGenericExceptionTypes, getGenericParameterTypes,
1293 getGenericReturnType): Likewise.
1294 (METHOD_MODIFIERS): New constant.
1295 * java/lang/reflect/Field.java: Mostly merged with Classpath.
1296 Added javadoc everywhere.
1297 (getModifiersInternal): Renamed.
1298 (getModifiers, isSynthetic, isEnumConstant): Rewrote.
1299 (toGenericString): New method.
1300 (getGenericType, getSignature): Likewise.
1301 (FIELD_MODIFIERS): New constant.
1303 2006-05-24 Tom Tromey <tromey@redhat.com>
1306 * java/lang/natMath.cc (cbrt, cosh, expm1, hypot, log1p, sinh,
1308 * java/lang/Math.java (cbrt, cosh, expm1, hypot, log1p, sinh,
1311 2006-05-22 Mark Wielaard <mark@klomp.org>
1313 * HACKING: Update GNU Classpath import instructions.
1315 2006-05-21 Andreas Tobler <a.tobler@schweiz.ch>
1317 * java/lang/natClass.cc (_Jv_FindMethodInCache): Mark klass, name and
1318 signature as MAYBE_UNUSED for HAVE_TLS == 0.
1319 (_Jv_AddMethodToCache): Mark klass and method as MAYBE_UNUSED for
1322 2006-05-20 Andreas Tobler <a.tobler@schweiz.ch>
1323 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1325 * configure.ac: Add the POSIX thread libs to the HP-UX PA
1326 configuration. Add signal specification for HP-UX PA.
1327 * configure: Rebuilt.
1328 * configure.host: Add defaults for the HP-UX PA architecture.
1329 Add descriptor files for HP-UX PA 32-bit and 64-bit.
1330 * include/hppa-signal.h: New file.
1331 * include/posix.h: Add shared library suffix for HP-UX.
1332 * sysdep/pa/descriptor-pa32-hpux.h: New file.
1333 * sysdep/pa/descriptor-pa64-hpux.h: Likewise.
1335 2006-05-19 Ranjit Mathew <rmathew@gcc.gnu.org>
1337 * ChangeLog: Correct incorrect GNU Classpath version in the
1338 entry for the latest import.
1340 2006-05-18 Tom Tromey <tromey@redhat.com>
1342 * source.am, Makefile.in: Rebuilt.
1343 * Makefile.am (property_files): Removed.
1344 * scripts/makemake.tcl (properties_map): New global.
1345 (properties_files): Likewise.
1346 (emit_property_files): New proc.
1347 (scan_packages): Scan META-INF.
1348 Print property_files variable. Scan classpath/resource.
1350 2006-05-18 Tom Tromey <tromey@redhat.com>
1352 * testsuite/libjava.special/special.exp (gcj_special_pr21115):
1354 (gcj_write_and_byte_compile): New proc.
1355 (gcj_special_lazy_illegal_access): Likewise.
1357 2006-05-18 Mark Wielaard <mark@klomp.org>
1359 Imported GNU Classpath 0.91
1360 * scripts/makemake.tcl: LocaleData.java moved to gnu/java/locale.
1362 * sources.am: Regenerated.
1363 * gcj/javaprims.h: Regenerated.
1364 * Makefile.in: Regenerated.
1365 * gcj/Makefile.in: Regenerated.
1366 * include/Makefile.in: Regenerated.
1367 * testsuite/Makefile.in: Regenerated.
1369 * gnu/java/lang/VMInstrumentationImpl.java: New override.
1370 * gnu/java/net/local/LocalSocketImpl.java: Likewise.
1371 * gnu/classpath/jdwp/VMMethod.java: Likewise.
1372 * gnu/classpath/jdwp/VMVirtualMachine.java: Update to latest
1374 * java/lang/Thread.java: Add UncaughtExceptionHandler.
1375 * java/lang/reflect/Method.java: Implements GenericDeclaration and
1377 * java/lang/reflect/Field.java: Likewise.
1378 * java/lang/reflect/Constructor.java
1379 * java/lang/Class.java: Implements Type, GenericDeclaration,
1380 getSimpleName() and getEnclosing*() methods.
1381 * java/lang/Class.h: Add new public methods.
1382 * java/lang/Math.java: Add signum(), ulp() and log10().
1383 * java/lang/natMath.cc (log10): New function.
1384 * java/security/VMSecureRandom.java: New override.
1385 * java/util/logging/Logger.java: Updated to latest classpath
1387 * java/util/logging/LogManager.java: New override.
1389 2006-05-15 Bryce McKinlay <mckinlay@redhat.com>
1392 * java/lang/Class.java (getClassLoaderInternal): New method.
1393 (forName (String, Class)): Use getClassLoaderInternal.
1394 (getPackage): Likewise.
1395 (getResource): Likewise.
1396 (getResourceAsStream): Likewise.
1397 (desiredAssertionStatus): Likewise.
1399 2006-05-15 Andreas Tobler <a.tobler@schweiz.ch>
1401 * stacktrace.cc (StackTrace::FillInFrameInfo): Use
1402 UNWRAP_FUNCTION_DESCRIPTOR to compare frame->start_ip against the
1403 klass->methods[j].ncode.
1405 2006-05-13 Tom Tromey <tromey@redhat.com>
1407 * sources.am, Makefile.in: Rebuilt.
1408 * Makefile.am (nat_source_files): Mention natVMChannels.cc, not
1410 * java/nio/channels/natVMChannels.cc: Renamed from
1412 * java/nio/channels/Channels.java: Removed.
1413 * java/nio/channels/natChannels.cc: Removed.
1414 * java/nio/channels/VMChannels.java: New file.
1416 2006-05-13 Tom Tromey <tromey@redhat.com>
1418 * sources.am, Makefile.in: Rebuilt.
1419 * java/text/DateFormat.java: Removed.
1421 2006-05-13 Tom Tromey <tromey@redhat.com>
1423 * sources.am, Makefile.in: Rebuilt.
1424 * gnu/java/net/protocol/jar/Connection.java: Removed.
1425 * java/net/JarURLConnection.java: Removed.
1427 2006-05-13 Tom Tromey <tromey@redhat.com>
1429 * include/java-interp.h (_Jv_InterpMethod::dump_object): Removed
1432 2006-05-12 Tom Tromey <tromey@redhat.com>
1434 * sources.am, Makefile.in: Rebuilt.
1435 * java/util/logging/LogManager.java: Removed.
1436 * java/util/logging/Logger.java (resetLogger): New method, from
1438 * java/io/RandomAccessFile.java: Removed.
1439 * gnu/java/nio/channels/FileChannelImpl.java (create): New
1441 (FileChannelImpl): Now private.
1442 * java/io/FileInputStream.java: Removed.
1443 * java/io/FileOutputStream.java: Removed.
1444 * java/security/AccessControlContext.java: Removed.
1445 * java/lang/ThreadLocal.java: Removed.
1446 * java/lang/InheritableThreadLocal.java: Removed.
1447 * java/lang/Thread.java (locals): New field.
1448 (getThreadLocals): New method.
1449 * java/lang/natThread.cc (finish_): Clear 'locals'.
1451 2006-05-11 Bryce McKinlay <mckinlay@redhat.com>
1453 * gnu/gcj/runtime/NameFinder.java (lookup): If exec'ing addr2line
1454 fails, don't try again.
1455 (use_addr2line): Field no longer final.
1457 2006-05-11 Bryce McKinlay <mckinlay@redhat.com>
1459 * gnu/gcj/runtime/NameFinder.java (blacklist): New static field.
1460 (lookup): If addr2line fails to find an address, flag the binary as
1461 having no debug info and avoid calling addr2line on it again.
1463 2006-05-11 David Daney <ddaney@avtrex.com>
1465 * testsuite/libjava.compile/PR20418.java: New.
1466 * testsuite/libjava.compile/PR20418.xfail: New.
1468 2006-05-11 Andrew Haley <aph@redhat.com>
1470 * gnu/gcj/runtime/natSharedLibLoader.cc (init): Remove debugging
1473 2006-05-10 Andrew Haley <aph@redhat.com>
1475 * java/lang/natClassLoader.cc: Add comments.
1477 2006-05-09 Andrew Haley <aph@redhat.com>
1479 * prims.cc (_Jv_soleIndirectCompiledEngine): New.
1480 * include/execution.h (Jv_CompiledEngine::do_allocate_static_fields):
1482 (_Jv_CompiledEngine::allocate_field_initializers): New.
1483 (_Jv_CompiledEngine::_Jv_CompiledEngine): Initialize
1484 allocate_field_initializers.
1485 (class _Jv_IndirectCompiledClass): New.
1486 (struct _Jv_IndirectCompiledEngine): New.
1487 * java/lang/Class.h: (IndirectCompiledEngine): New.
1488 * java/lang/natClassLoader.cc (_Jv_NewClassFromInitializer): Set
1489 engine to _Jv_soleIndirectCompiledEngine
1490 * link.cc (ensure_fields_laid_out): Call
1491 engine->allocate_field_initializers().
1493 2006-05-06 Andreas Tobler <a.tobler@schweiz.ch>
1495 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Add check for
1496 HP-UX and add appropriate extension for shared libraries, sl.
1497 (gcj_jni_test_one): Likewise.
1499 * testsuite/lib/libjava.exp (libjava_find_lib): Add sl to the shared
1502 2006-05-05 Tom Tromey <tromey@redhat.com>
1505 * java/lang/natVMClassLoader.cc (defineClass): Throw
1506 VirtualMachineError if no interpreter configured.
1508 2006-05-03 Andrew Haley <aph@redhat.com>
1511 * java/lang/Class.java (getClassLoader(Class)): New.
1512 forName(String, Class): New.
1513 * java/lang/natClass.cc (getClassLoader(Class)): New.
1515 2006-05-02 Andrew Haley <aph@redhat.com>
1517 * prims.cc (_Jv_NewMultiArray): Check for phantom class.
1519 2006-05-04 Tom Tromey <tromey@redhat.com>
1522 * interpret.cc (run) <insn_getfield>: Removed 0xffff check.
1523 <insn_putfield>: Likewise.
1524 (NULLCHECK): Define unconditionally.
1525 * link.cc (ensure_class_linked): Removed dead code.
1527 2006-05-04 Tom Tromey <tromey@redhat.com>
1529 * java/lang/Class.h (JV_STATE_LOADING): Added comment.
1530 * Makefile.in: Rebuilt.
1531 * Makefile.am (nat_source_files): Added natSystemClassLoader.cc.
1532 * gnu/gcj/runtime/natSystemClassLoader.cc: New file.
1533 * gnu/gcj/runtime/SystemClassLoader.java (nativeClasses):
1535 (loadedClasses): Removed.
1536 (findClass): Declare.
1537 (addClass): Add to nativeClasses, not loadedClasses.
1539 2006-05-04 Andrew Haley <aph@redhat.com>
1542 * testsuite/libjava.lang/PR26858.xfail: Delete.
1544 2006-05-02 Bryce McKinlay <mckinlay@redhat.com>
1546 * testsuite/lib/libjava.exp (test_libjava): Test bytecode->native
1547 -findirect-dispatch compilation.
1549 2006-05-01 Andreas Tobler <a.tobler@schweiz.ch>
1551 * configure.ac: Simplify the mmap check a bit more.
1552 * configure: Rebuilt.
1553 * include/config.h.in: Likewise.
1555 2006-05-01 Roger Sayle <roger@eyesopen.com>
1556 Andrew Haley <aph@redhat.com>
1558 * boehm.cc (_Jv_InitGC): Check both HAVE_DLFCN_H and HAVE_DLADDR
1559 before calling GC_register_has_static_roots_callback.
1560 (_Jv_RegisterLibForGc): Likewise, test for both HAVE_DLFCN_H and
1561 HAVE_DLADDR before calling dladdr.
1563 2006-04-28 Bryce McKinlay <mckinlay@redhat.com>
1565 * link.cc (_Jv_Linker::resolve_pool_entry): Don't pass vtable_index
1567 * interpret.cc (insn_invokevirtual): Use method->index, not
1568 vtable_index. Check accflag FINAL to determine finals. Only do
1569 explicit null check if calling a final method. Use
1570 throw_null_pointer_exception.
1571 (invokevirtual_resolved): Likewise.
1572 (null_pointer_exc): Remove static field.
1573 (throw_null_pointer_exception): Always define. Throw a new
1574 NullPointerException every time.
1575 * include/java-interp.h (_Jv_ResolvedMethod): Remove vtable_index
1577 * include/execution.h (resolve_method): Remove vtable_index argument.
1579 2006-04-28 Andreas Tobler <a.tobler@schweiz.ch>
1581 * configure.ac: Add an additional checks for dladdr and dlopen on dld.
1582 * configure: Rebuilt.
1584 2006-04-25 Tom Tromey <tromey@redhat.com>
1586 * gnu/gcj/runtime/natSharedLibLoader.cc: Include gc.h later.
1587 Include platform.h. Set GC_DEBUG before including gc.h, if
1590 2006-04-25 Andrew Haley <aph@redhat.com>
1592 * java/lang/natClassLoader.cc: Don't include link.h or dladdr.h.
1593 * boehm.cc: Don't include link.h.
1594 (_Jv_RegisterLibForGc): Cast away const when calling dladdr().
1596 2006-04-24 Tom Tromey <tromey@redhat.com>
1598 * java/lang/natClass.cc (_Jv_getInterfaceMethod): Skip <clinit>.
1600 2006-04-21 Andrew Haley <aph@redhat.com>
1602 * include/execution.h (struct _Jv_CompiledEngine): Define for
1604 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Call
1605 _Jv_RegisterLibForGc.
1606 (_Jv_RegisterClasses_Counted): Likewise.
1607 (_Jv_NewClassFromInitializer): New.
1608 (_Jv_RegisterNewClasses): New.
1609 * sources.am: Regenerate.
1610 * boehm.cc (_Jv_GC_has_static_roots): new.
1611 (_Jv_InitGC): Call GC_register_has_static_roots_callback.
1612 (filename_node, find_file, _Jv_print_gc_store, new_node,
1613 _Jv_GC_has_static_roots, _Jv_RegisterLibForGc): New.
1614 * scripts/makemake.tcl: Add -fno-indirect-classes.
1615 * Makefile.in: Regenerate.
1616 * link.cc (resolve_pool_entry): Allocate constant pool.
1619 2006-04-22 Andreas Tobler <a.tobler@schweiz.ch>
1621 * configure.ac: Weaken the check for MMAP.
1622 * configure: Rebuilt.
1623 * include/config.h.in: Likewise.
1625 2006-04-20 Bryce McKinlay <mckinlay@redhat.com>
1628 * gnu/gcj/runtime/natSharedLibLoader.cc: Include gc.h to override
1629 dlopen(). From Anthony Green.
1631 2006-04-20 Tom Tromey <tromey@redhat.com>
1634 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (send): Throw
1635 UnknownHostException if needed.
1636 * gnu/java/net/natPlainSocketImplPosix.cc (connect): Throw
1637 UnknownHostException if needed.
1639 2006-04-19 Tom Tromey <tromey@redhat.com>
1641 * Makefile.in: Rebuilt.
1642 * Makefile.am (CLEANFILES): Removed all_java_filelist_files,
1643 all_java_deps_files.
1645 2006-04-19 Tom Tromey <tromey@redhat.com>
1647 * gnu/java/nio/channels/natFileChannelPosix.cc (write): Properly
1650 2006-04-17 Tom Tromey <tromey@redhat.com>
1653 * testsuite/libjava.lang/pr27171.java: New file.
1654 * testsuite/libjava.lang/pr27171.out: New file.
1655 * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Return
1656 true if we've seen a high surrogate.
1657 (write): Handle high surrogates at the end of the stream.
1658 Properly emit isolated low surrogates.
1660 2006-04-17 Andreas Tobler <a.tobler@schweiz.ch>
1662 * testsuite/libjava.lang/stringconst2.java: Print a stack trace in case
1665 2006-04-13 Tom Tromey <tromey@redhat.com>
1668 * Makefile.in: Rebuilt.
1669 * Makefile.am (libsubdir): New variable.
1671 2006-04-12 NAKATA Maho <maho@FreeBSD.org>
1674 * configure.ac: Link against -lpthread rather than -lc_r on
1675 FreeBSD 5 and above.
1676 * configure: Regenerate.
1678 2006-04-11 Bryce McKinlay <mckinlay@redhat.com>
1680 * gnu/gcj/runtime/SystemClassLoader.java (addClass): Get the value
1681 of package-private field "loadedClasses" using reflection.
1682 * java/lang/VMCompiler.java (compileClass): Remove unreachable catch
1685 2006-04-10 Matthias Klose <doko@debian.org>
1687 * testsuite/lib/libjava.exp (libjava_init): Recognize multilib
1688 directory names containing underscores.
1690 2006-04-10 Andrew Haley <aph@redhat.com>
1692 * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): New.
1693 (SIGNAL_HANDLER): Mark arg as unused.
1694 * configure.host (x86_64-* DIVIDESPEC): Use
1695 fno-use-divide-subroutine.
1697 2006-04-07 Andrew Haley <aph@redhat.com>
1699 * java/net/InetAddress.java: Throw an UnknownHostException if
1702 2006-04-05 Tom Tromey <tromey@redhat.com>
1705 * Makefile.in: Rebuilt.
1706 * Makefile.am (libgcj-$(gcc_version).jar): Depend on
1707 classpath/lib/compile-classes.
1709 2006-04-05 Ranjit Mathew <rmathew@gcc.gnu.org>
1711 * configure.host: Add -fno-omit-frame-pointer to libgcj_flags for
1712 MinGW since EBP is used for backtracking through call frames on this
1715 2006-04-05 Archit Shah <ashah@redhat.com>
1718 * gnu/java/rmi/rmic/CompilerProcess.java (computeTypicalArguments):
1719 Add classpath argument.
1720 * gnu/java/rmi/rmic/Compile_gcj.java (computeArguments): Adjust
1722 * gnu/java/rmi/rmic/Compile_jikes.java (computeArguments): Likewise.
1723 * gnu/java/rmi/rmic/Compile_kjc.java (computeArguments): Likewise.
1724 * gnu/java/rmi/rmic/Compiler.java (getClasspath, setClasspath): New.
1725 * gnu/java/rmi/rmic/RMIC.java: Set classpath for compiler, call
1726 mkdirs for destination directory, correct handling of superclasses
1727 and interfaces of the remote class, correct handling of exceptions
1728 declared by remote methods.
1730 2006-04-04 Tom Tromey <tromey@redhat.com>
1733 * prims.cc (_Jv_RunMain): Use exitNoChecksAccessor.
1734 * gnu/java/lang/natMainThread.cc (call_main): Use
1735 exitNoChecksAccessor.
1736 * testsuite/libjava.lang/pr26990.out: New file.
1737 * testsuite/libjava.lang/pr26990.java: New file.
1738 * java/lang/Runtime.java (exitNoChecks): New method.
1739 (exitNoChecksAccessor): Likewise.
1740 (exit): Call exitNoChecks.
1742 2006-04-03 Tom Tromey <tromey@redhat.com>
1744 * Makefile.in: Rebuilt.
1745 * Makefile.am (ZIP): Removed.
1746 (libgcj-$(gcc_version).jar): Use $(JAR).
1747 (src.zip): Likewise.
1748 * configure: Rebuilt.
1749 * configure.ac: Check for jar. Removed code to set ZIP.
1751 2006-04-03 Andrew Haley <aph@redhat.com>
1753 * testsuite/libjava.lang/Float_2.java: New file.
1755 2006-03-31 Andreas Tobler <a.tobler@schweiz.ch>
1757 * posix.cc (_Jv_platform_nanotime): Declare id with clockid_t.
1759 2006-03-30 Tom Tromey <tromey@redhat.com>
1762 * testsuite/libjava.compile/pr26042.java: New file.
1764 2006-03-29 Tom Tromey <tromey@redhat.com>
1766 * sources.am, Makefile.in: Rebuilt.
1767 * scripts/makemake.tcl: Scan classpath/external/relaxngDatatype.
1769 2006-03-29 Tom Tromey <tromey@redhat.com>
1772 * testsuite/libjava.lang/pr26390.out: New file.
1773 * testsuite/libjava.lang/pr26390.java: New file.
1774 * sources.am, Makefile.in: Rebuilt.
1775 * scripts/makemake.tcl: Compile gnu/java/awt/peer/swing.
1777 2006-03-29 Tom Tromey <tromey@redhat.com>
1779 * posix.cc (_Jv_platform_nanotime): Look for CLOCK_MONOTONIC and
1782 2006-03-28 Anthony Balkissoon <abalkiss@redhat.com>
1784 * scripts/unicode-muncher.pl: Removed this file.
1785 * scripts/MakeCharTables.java: Likewise.
1786 * scripts/unicode-to-chartables.pl: New file.
1787 * java/lang/natCharacter.cc:
1788 (UNASSIGNED_TYPE): New field.
1789 (UNASSIGNED_DIGIT): Likewise.
1790 (UNASSIGNED_DIRECTION): Likewise.
1791 (UNASSIGNED_NUMERIC_VALUE): Likewise.
1792 (PRIVATE_TYPE): Likewise.
1793 (PRIVATE_DIRECTION): Likewise.
1794 (readCodePoint): New method.
1795 (getType(jint)): Likewise.
1796 (toLowerCase(jint)): Likewise.
1797 (toUpperCase(jint)): Likewise.
1798 (toTitleCase(jint)): Likewise.
1799 (digit(jint, jint)): Likewise.
1800 (getNumericValue(jint)): Likewise.
1801 (getDirectionality(jint)): Likewise.
1804 (toLowerCase(jchar)),
1805 (toUpperCase(jchar)),
1806 (toTitleCase(jchar)),
1807 (digit(jchar, jint)),
1808 (getNumericValue(jchar)),
1809 (getDirectionality(jchar)): Changed references from data to data[0],
1810 blocks to blocks[0], direction to direction[0], numValue to
1811 numValue[0], upper to upper[0], lower to lower[0], and shift to
1812 shift[0] to reflect the new structures in java-chartables.h.
1813 * java/lang/Character.java:
1814 (readCodePoint): Declared new native method.
1815 (getType(int)): Likewise.
1816 (toLowerCase(int)): Likewise.
1817 (toUpperCase(int)): Likewise.
1818 (toTitleCase(int)): Likewise.
1819 (digit(int, int)): Likewise.
1820 (getNumericValue(int)): Likewise.
1821 (getDirectionality(int)): Likewise.
1822 (isLowerCase(int)): New method.
1823 (isUpperCase(int)): Likewise.
1824 (itTitleCase(int)): Likewise.
1825 (isDigit(int)): Likewise.
1826 (isDefined(int)): Likewise.
1827 (isLetter(int)): Likewise.
1828 (isLetterOrDigit(int)): Likewise.
1829 (isJavaIdentifierStart(int)): Likewise.
1830 (isJavaIdentifierPart(int)): Likewise.
1831 (isUnicodeIdentifierStart(int)): Likewise.
1832 (isUnicodeIdentifierPart(int)): Likewise.
1833 (isIdentifierIgnorable(int)): Likewise.
1834 (isSpaceChar(int)): Likewise.
1835 (isWhitespace(int)): Likewise.
1836 (isISOControl(int)): Likewise.
1837 (isMirrored(int)): Likewise.
1838 * include/java-chartables.h: Generated from
1839 scripts/unicode-to-chartables.h.
1841 2006-03-24 David Daney <ddaney@avtrex.com)
1843 * testsuite/libjava.lang/PR26858.java: New test.
1844 * testsuite/libjava.lang/PR26858.out: Ditto.
1845 * testsuite/libjava.lang/PR26858.xfail: Ditto.
1847 2006-03-16 Kaz Kojima <kkojima@gcc.gnu.org>
1849 * include/sh-signal.h (MAKE_THROW_FRAME): Change into empty
1852 2006-03-15 Tom Tromey <tromey@redhat.com>
1854 * testsuite/libjava.jacks/jacks.xfail: Removed
1855 13.1-runtime-method-5.
1857 2006-03-15 Tom Tromey <tromey@redhat.com>
1860 * link.cc (get_interfaces): Skip <clinit>.
1861 (append_partial_itable): Likewise.
1863 2006-03-10 Tom Tromey <tromey@redhat.com>
1866 * java/util/zip/Deflater.java (flush): New method.
1867 * sources.am, Makefile.in: Rebuilt.
1868 * java/util/zip/DeflaterOutputStream.java: Removed.
1869 * java/util/zip/InflaterInputStream.java: Likewise.
1870 * java/util/zip/GZIPInputStream.java: Likewise.
1871 * java/util/zip/GZIPOutputStream.java: Likewise.
1873 2006-03-10 Andreas Tobler <a.tobler@schweiz.ch>
1875 * include/powerpc-signal.h: Fix typo in comment.
1877 2006-03-09 Mark Wielaard <mark@klomp.org>
1879 Imported GNU Classpath 0.90
1880 * scripts/makemake.tcl: Set gnu/java/awt/peer/swing to ignore.
1881 * gnu/classpath/jdwp/VMFrame.java (SIZE): New constant.
1882 * java/lang/VMCompiler.java: Use gnu.java.security.hash.MD5.
1883 * java/lang/Math.java: New override file.
1884 * java/lang/Character.java: Merged from Classpath.
1885 (start, end): Now 'int's.
1886 (canonicalName): New field.
1887 (CANONICAL_NAME, NO_SPACES_NAME, CONSTANT_NAME): New constants.
1888 (UnicodeBlock): Added argument.
1890 (forName): New method.
1891 Updated unicode blocks.
1893 * sources.am: Regenerated.
1894 * Makefile.in: Likewise.
1896 2006-03-09 Tom Tromey <tromey@redhat.com>
1899 * java/lang/natString.cc (_Jv_NewString): Use memcpy.
1900 (equals): Use memcmp.
1901 (contentEquals): Likewise.
1902 (getChars): Use memcpy.
1903 (toCharArray): Likewise.
1904 (regionMatches): Use memcmp.
1905 (regionMatches): Likewise.
1906 (startsWith): Likewise.
1907 (concat): Use memcpy.
1908 (valueOf): Likewise.
1910 2006-03-09 Tom Tromey <tromey@redhat.com>
1912 * configure: Rebuilt.
1913 * configure.ac (HAVE_CLOCK_GETTIME): Put -lrt in THREADLIBS as
1916 2006-03-09 Tom Tromey <tromey@redhat.com>
1919 * java/util/zip/InflaterInputStream.java (fill): Throw exception
1920 if stream is truncated.
1922 2006-03-09 Tom Tromey <tromey@redhat.com>
1924 * win32.cc (_Jv_platform_nanotime): New function.
1925 * include/win32.h (_Jv_platform_nanotime): Declare.
1926 * posix.cc (_Jv_platform_nanotime): New function.
1927 * include/posix.h (_Jv_platform_nanotime): Declare.
1928 * java/lang/natSystem.cc (nanoTime): New method.
1929 * java/lang/System.java (nanoTime): Declare.
1930 * include/config.h.in, configure: Rebuilt.
1931 * configure.ac: Check for clock_gettime.
1933 2006-03-08 David Daney <ddaney@avtrex.com>
1935 * configure.ac (LD): Add AC_CHECK_TOOL for ld.
1936 (LD_START_STATIC_SPEC): New AC_SUBST, set with ld check.
1937 (LD_FINISH_STATIC_SPEC): Ditto
1938 * configure: Regenerated.
1939 * libgcj.spec.in: Wrap -lgcj in LD_START_STATIC_SPEC and
1940 LD_FINISH_STATIC_SPEC.
1942 2006-03-07 Tom Tromey <tromey@redhat.com>
1945 * java/lang/ClassLoader.java (loadClass): Don't throw
1946 StringIndexOutOfBoundsException if name is empty.
1947 * java/lang/natClassLoader.cc (loadClassFromSig): Throw exception
1950 2006-03-07 David Daney <ddaney@avtrex.com>
1952 * include/java-interp.h: Removed extern "C" around #include <ffi.h>.
1954 2006-03-07 David Daney <ddaney@avtrex.com>
1956 * link.cc: Include ffi.h if USE_LIBFFI defined.
1958 2006-03-03 Tom Tromey <tromey@redhat.com>
1960 * interpret.cc (do_allocate_static_fields): Added comment.
1962 2006-03-01 Tom Tromey <tromey@redhat.com>
1965 * testsuite/libjava.lang/pr24321.java: New file.
1966 * testsuite/libjava.lang/pr24321.out: New file.
1967 * java/lang/natClass.cc (isInstance): Don't initialize class.
1968 (isAssignableFrom): Likewise.
1970 2006-02-27 Jakub Jelinek <jakub@redhat.com>
1973 * exception.cc (PERSONALITY_FUNCTION): Use _Unwind_GetIPInfo instead
1975 * include/i386-signal.h (MAKE_THROW_FRAME): Change into empty macro.
1976 (HANDLE_DIVIDE_OVERFLOW): Don't adjust _res->eip if falling through
1978 * include/x86_64-signal.h (MAKE_THROW_FRAME): Change into empty
1980 * include/powerpc-signal.h (MAKE_THROW_FRAME): Change into empty
1983 2006-02-23 Scott Gilbertson <scottg@mantatest.com>
1985 * gnu/awt/j2d/IntegerGraphicsState.java (getClip): Clone clip
1986 before returning, handle null clip.
1987 (getClipBounds): Handle null clip.
1988 * gnu/awt/j2d/Graphics2DImpl.java (clipRect): Handle null clip.
1989 * gnu/awt/xlib/XCanvasPeer.java ():
1990 (getLocationOnScreen): Implement.
1991 * classpath/gnu/java/awt/peer/GLightweightPeer.java
1992 (repaint): Merged with Classpath.
1993 * classpath/java/awt/Graphics.java (hitClip): Merged with
1996 2006-02-21 Robert Schuster <robertschuster@fsfe.org>
1998 * link.cc: Added variant of create_error_method that
1999 will not complain about unused parameter if compiled with
2000 USE_LIBFFI not being defined.
2001 (_Jv_Linker::find_field_helper): Fixed indentation.
2002 (_Jv_Linker::create_error_method): Fixed indentation.
2003 (_Jv_Linker::link_symbol_table): Fixed indentation.
2005 2006-02-16 Andrew Haley <aph@redhat.com>
2007 * stacktrace.cc (GetStackTraceElements): Call
2008 gnu::gcj::runtime::NameFinder::removeUnknown() to determine if
2009 non-Java frames should be removed from a printed stack trace.
2010 Pass methodName to getLineNumberForFrame().
2011 (getLineNumberForFrame): Set method_name from info.dli_sname.
2012 * gnu/gcj/runtime/NameFinder.java (removeUnknown): New method.
2013 (remove_unknown): New variable.
2014 * include/java-stack.h (_Jv_StackTrace::getLineNumberForFrame):
2017 2006-02-15 Matthias Klose <doko@debian.org>
2019 * gnu/java/nio/charset, gnu/java/net/protocol/file,
2020 gnu/regexp: Remove empty directories.
2022 2006-02-09 Bryce McKinlay <mckinlay@redhat.com>
2024 * java/lang/Class.h (_Jv_IDispatchTable): Make it a struct. Put
2025 'itable' inline, instead of as a pointer.
2026 (java::lang::Class): Put 'idt' in anonymous union with 'ioffsets'.
2027 * link.cc (null_idt): Update definition.
2028 (_Jv_Linker::prepare_constant_time_tables): Allocate klass->idt
2029 as a single struct. Use _Jv_AllocBytes, not _Jv_AllocRawObj.
2030 (_Jv_Linker::generate_itable): Update to use 'ioffsets'.
2031 (_Jv_Linker::find_iindex): Likewise. Update comment.
2032 * java/lang/natClass.cc (_Jv_LookupInterfaceMethodIdx): Update for
2033 _Jv_IDispatchTable change.
2034 (_Jv_IsAssignableFrom): Likewise.
2036 2006-02-08 Bryce McKinlay <mckinlay@redhat.com>
2039 * gnu/gcj/io/natSimpleSHSStream.cc
2040 (gnu::gcj::io::SimpleSHSStream::shsFinal): Remove bogus cast.
2041 * interpret.cc (_Jv_InterpMethod::run): Simplify arguments to
2043 * boehm.cc: #undef some autoconf macros before including gc-config.h.
2044 (_Jv_MarkObject): Don't mark the class, it is reachable via the vtable.
2045 (_Jv_MarkArray): Likewise.
2046 * java/lang/ref/natReference.cc (java::lang::ref::Reference::create):
2047 Simplify _Jv_GCRegisterDisappearingLink() call.
2048 * java/lang/Class.h (getComponentType): Use element_type.
2049 (element_type): New field declaration, as a union with "methods".
2050 * java/lang/natClassLoader.cc (_Jv_NewArrayClass): Use "element_type".
2051 * java/net/natVMNetworkInterfacePosix.cc
2052 (java::net::VMNetworkInterface::getInterfaces): Add "int" cast to
2053 avoid sign comparison warning.
2054 * include/java-interp.h (_Jv_InterpFrame): Take thread as second
2055 argument, not parent call frame.
2056 * include/x86_64-signal.h (MAKE_THROW_FRAME): Use "gregs" directly,
2058 (restore_rt): Declare with hidden visibility, not "static".
2059 * posix.cc (_Jv_platform_initProperties): Make "tmpdir" a string
2061 * jni.cc (_Jv_JNI_DestroyJavaVM): Use a union to avoid strict alias
2064 2006-02-08 Bryce McKinlay <mckinlay@redhat.com>
2067 * link.cc (_Jv_Linker::print_class_loaded): Declare string constants
2069 * verify.cc (verify_fail): Likewise.
2070 * gnu/classpath/natSystemProperties.cc (file_encoding): Likewise.
2071 * interpret.cc (throw_internal_error, throw_class_format_error):
2073 * gcj/javaprims.h (_Jv_hashUtf8String, _Jv_Utf8Const::space_needed,
2074 _Jv_Utf8Const::init, _Jv_makeUtf8Const): Likewise.
2075 * java/lang/Class.h (_Jv_InitPrimClass): Likewise.
2076 * include/jvm.h (_Jv_strLengthUtf8, _Jv_makeUtf8Const): Likewise.
2077 * defineclass.cc (throw_internal_error, throw_no_class_def_found_error,
2078 is_attribute_name): Likewise.
2079 * prims.cc (_Jv_strLengthUtf8, _Jv_hashUtf8String, _Jv_Utf8Const::init,
2080 _Jv_makeUtf8Const, _Jv_InitPrimClass): Likewise.
2082 2006-02-08 Tom Tromey <tromey@redhat.com>
2084 PR libgcj/26063, PR libgcj/17978, PR libgcj/10598:
2085 * defineclass.cc (parse): Use _Jv_AllocRawObj.
2086 (read_constpool): Likewise.
2087 (read_one_code_attribute): Use internal function name.
2088 (handleConstantPool): Use _Jv_AllocRawObj.
2089 (handleInterfacesBegin): Likewise.
2090 (handleFieldsBegin): Likewise.
2091 (handleMethodsBegin): Likewise.
2092 (handleCodeAttribute): Likewise.
2093 (handleMethodsEnd): Likewise.
2094 * include/jvm.h (new_vtable): Use _Jv_AllocRawObj.
2095 * interpret.cc (do_allocate_static_fields): Use _Jv_AllocRawObj.
2096 Allocate reference fields separately.
2097 * link.cc (prepare_constant_time_tables): Use _Jv_AllocRawObj.
2098 (add_miranda_methods): Likewise.
2099 (generate_itable): Use _Jv_AllocBytes.
2100 (find_iindex): Likewise.
2101 (struct method_closure): New structure.
2102 (create_error_method): Use struct method_closure; allocate with
2104 (ensure_fields_laid_out): Separate reference fields from
2105 non-reference fields.
2106 * boehm.cc (_Jv_MarkObj): Mark vtable. Only mark direct fields
2108 (_Jv_MarkArray): Mark vtable.
2109 (_Jv_AllocRawObj): Don't allocate objects of size 0.
2110 * include/execution.h
2111 (_Jv_ExecutionEngine::allocate_static_fields): Added 'int'
2113 (struct _Jv_CompiledEngine): Updated.
2114 (class _Jv_InterpreterEngine): Updated.
2116 2006-02-08 Tom Tromey <tromey@redhat.com>
2119 * gcj/javaprims.h: Updated.
2120 * sources.am, Makefile.in: Rebuilt.
2121 * java/lang/natDouble.cc (doubleToLongBits): Moved to VMDouble.
2122 (doubleToRawLongBits): Likewise.
2123 (longBitsToDouble): Likewise.
2124 (toString): Likewise.
2125 (parseDouble): Likewise.
2126 * java/lang/natFloat.cc (floatToIntBits): Moved to VMFloat.
2127 (floatToRawIntBits): Likewise.
2128 (intBitsToFloat): Likewise.
2129 * java/lang/VMDouble.java: New file.
2130 * java/lang/VMFloat.java: New file.
2131 * java/lang/Float.java, java/lang/Double.java: Removed.
2133 2006-02-06 Tom Tromey <tromey@redhat.com>
2135 * gij.cc (version): Use 2006.
2136 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Use 2006.
2137 * gnu/gcj/convert/Convert.java (version): Use 2006.
2138 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Use 2006.
2140 2006-02-04 Tom Tromey <tromey@redhat.com>
2143 * testsuite/libjava.lang/pr25676.out: New file.
2144 * testsuite/libjava.lang/pr25676.java: New file.
2146 2006-02-03 Thomas Fitzsimmons <fitzsim@redhat.com>
2148 * Makefile.am (src.zip): Update src.zip file search to look in
2149 classpath directory.
2150 * Makefile.in: Regenerate.
2152 2006-02-03 Robert Schuster <robertschuster@fsfe.org>
2155 (_Jv_Linker::create_error_method): Added missing (void *) cast.
2157 2006-02-03 Robert Schuster <robertschuster@fsfe.org>
2160 (_Jv_Linker::create_error_method): New method declaration.
2162 (_Jv_Linker::create_error_method): New method.
2163 (_Jv_Linker::link_symbol_table): Use new method above.
2165 2006-02-01 Robert Schuster <robertschuster@fsfe.org>
2168 (_Jv_Linker::find_field_helper): Added checks.
2169 (_Jv_Linker::find_field): Use exception swallowing class resolution
2170 and added early return.
2171 (_Jv_ThrowNoClassDefFoundErrorTrampoline): New function.
2172 (_Jv_Linker::link_symbol_table): Use exception swallowing class
2173 resolution, added ffi_closure installation routine, use
2174 _Jv_ThrowNoClassDefFoundError for missing static method.
2175 (_Jv_Linker::ensure_class_linked): Added string check which does
2176 not trigger class resolution.
2177 * java/lang/natClassLoader.cc:
2178 (_Jv_FindClassNoException): New method.
2179 * java/lang/Class.h:
2180 (_Jv_FindClassNoException): New method declaration.
2182 (_Jv_FindClassNoException): New method declaration.
2183 (_Jv_FindClassFromSignatureNoException): New method declaration.
2185 (_Jv_FindClassFromSignatureNoException): New method.
2187 (_Jv_equalsUtf8Classname): New method declaration.
2188 (_Jv_isPrimitiveOrDerived): Dito.
2190 (_Jv_equalsUtf8Classnames): New method.
2191 (_Jv_isPrimitiveOrDerived): New method.
2193 (ref_intersection::equals): Use new classname comparison method.
2194 (type::compatible): Use new classname comparison method. Added
2195 check whether LHS' type is java.lang.Object .
2196 (type::resolve): Added new optional debug message and simplified
2198 (type::to_array): Added codepath that generates an array type
2199 without resolving the element type.
2201 2006-01-31 Mark Wielaard <mark@klomp.org>
2203 * NEWS: Add 4.1 updates.
2205 2006-01-30 Keith Seitz <keiths@redhat.com>
2207 * include/java-interp.h (insn_index): New declaration.
2208 (num_insn_slots): New private variable.
2209 (get_line_table): New declaration.
2210 * interpret.cc (insn_index): New function.
2211 (get_line_table): New function.
2213 2006-01-24 Archit Shah <ashah@redhat.com>
2214 Tom Tromey <tromey@redhat.com>
2216 * prims.cc (next_property_value): Never return NULL.
2217 (process_gcj_properties): Copy 'props' before using it.
2219 2006-01-23 Keith Seitz <keiths@redhat.com>
2221 * java/lang/Class.h (_Jv_FindInterpreterMethod): Add new declaration.
2222 * java/lang/natClass.cc (_Jv_FindInterpreterMethod): New function.
2224 2006-01-23 David Daney <ddaney@avtrex.com>
2226 * configure.host (disable_dladdr): Remove variable and its
2228 * configure.ac: Do not test for disable_dladdr.
2229 * configure: Regenerate.
2230 * include/config.h.in: Regenerate.
2232 2006-01-18 Tom Tromey <tromey@redhat.com>
2234 * jni.cc (_Jv_JNI_AttachCurrentThread): Return environment if it
2237 2006-01-18 Keith Seitz <keiths@redhat.com>
2239 * include/java-interp.h (_Jv_CompileMethod): Add declaration.
2240 (class _Jv_InterpMethod): Add _Jv_CompileMethod as a friend.
2241 * interpret.cc (_Jv_CompileMethod): New function.
2242 (run): Massage code to allow for NULL args.
2243 Update comments to explain NULL args.
2244 Return if compiling the method and args is NULL.
2246 2006-01-18 H.J. Lu <hongjiu.lu@intel.com>
2249 * include/x86_64-signal.h (RESTORE2): Add ".text\n".
2251 2006-01-17 Tom Tromey <tromey@redhat.com>
2254 * java/net/URLClassLoader.java (FileURLLoader): Added argument.
2255 (JarURLLoader): Likewise.
2256 (addURLImpl): Canonicalize file URLs.
2258 2006-01-16 Mark Wielaard <mark@klomp.org>
2260 Imported GNU Classpath 0.20
2261 * Makefile.am (AM_CPPFLAGS): Add classpath/include.
2262 * java/nio/charset/spi/CharsetProvider.java: New override file.
2263 * java/security/Security.java: Likewise.
2264 * sources.am: Regenerated.
2265 * Makefile.in: Likewise.
2267 2006-01-17 Jakub Jelinek <jakub@redhat.com>
2269 * configure.ac (dbexecdir): New substituted var.
2270 * configure: Rebuilt.
2271 * Makefile.am (dbexecdir): Remove.
2272 * Makefile.in: Rebuilt.
2274 2006-01-13 Tom Tromey <tromey@redhat.com>
2276 * gnu/regexp/MessagesBundle_fr.properties: Removed.
2277 * gnu/regexp/MessagesBundle.properties: Removed.
2279 2006-01-13 Tom Tromey <tromey@redhat.com>
2281 * java/security/classpath.security: Removed.
2282 * Makefile.in: Rebuilt.
2283 * Makefile.am (install-data-local): Don't install
2286 2006-01-08 Chris Burdess <dog@gnu.org>
2288 * java/lang/Character.java (toChars,toCodePoint): Correct these
2289 methods to use algorithms from Unicode specification.
2291 2006-01-08 Tom Tromey <tromey@redhat.com>
2293 * java/lang/StringBuilder.java (appendCodePoint): New method.
2294 (insert): New overloads.
2295 * java/lang/StringBuffer.java (StringBuffer): New constructor.
2296 (charAt): Remerged javadoc.
2297 (codePointAt, codePointBefore): New methods.
2298 (appendCodePoint): New method.
2299 (append): New overloads.
2301 (trimToSize, codePointCount, offsetByCodePoints): New methods.
2302 * java/lang/Float.java (SIZE): New field.
2303 (valueOf): New method.
2304 * java/lang/natDouble.cc (initIDs): Removed.
2305 * java/lang/Double.java (static initializer): Removed.
2307 (valueOf): New method.
2310 2006-01-07 Jakub Jelinek <jakub@redhat.com>
2313 * shlibpath.m4: Replace $SED with sed.
2314 * configure: Rebuilt.
2316 2006-01-06 Tom Tromey <tromey@redhat.com>
2318 * java/lang/Character.java (SIZE, MAX_CACHE, charCache,
2319 MIN_SURROGATE, MAX_SURROGATE): New fields from Classpath.
2320 (MIN_HIGH_SURROGATE, MAX_HIGH_SURROGATE, MIN_LOW_SURROGATE,
2321 MAX_LOW_SURROGATE): Javadoc fixes.
2322 (valueOf, reverseBytes, isHighSurrogate, isLowSurrogate,
2323 isSurrogatePair, toCodePoint, codePointAt, codePointBefore): New
2324 methods from Classpath.
2325 * java/lang/String.java (codePointAt, codePointBefore,
2326 codePointCount, contains, replace): New methods from Classpath.
2327 (contentEquals): Declare.
2328 * java/lang/natString.cc (contentEquals): New method.
2330 2005-12-26 Anthony Green <green@redhat.com>
2332 * gnu/java/nio/SocketChannelImpl.java (read): Compute the right amount
2333 of data to read (dst.remaining()).
2334 * gnu/java/nio/DatagramChannelImpl.java (receive): Ditto.
2336 2005-11-11 Mark Wielaard <mark@klomp.org>
2338 Reported by john.zigman@anu.edu.au as bug #24608.
2339 * gnu/java/nio/SocketChannelImpl.java (read): Put readBytes in
2340 destination ByteBuffer when it doesn't have an array instead of len
2343 2006-01-05 Tom Tromey <tromey@redhat.com>
2345 * java/lang/natThread.cc (finish_): Don't clear 'group'.
2346 * sources.am, Makefile.in: Rebuilt.
2347 * java/lang/Runtime.java (exit): Merged with Classpath.
2348 (runShutdownHooks): New method from Classpath.
2349 * java/io/File.java (deleteOnExit): Use DeleteFileHelper, not
2351 * gnu/gcj/runtime/FileDeleter.java: Removed.
2352 * java/lang/natRuntime.cc (runFinalizationForExit): New method.
2353 (exitInternal): Don't run finalizers or delete files.
2355 2006-01-05 Tom Tromey <tromey@redhat.com>
2357 * java/lang/natPosixProcess.cc (reap): Ignore unknown children.
2359 2006-01-04 Krister Walfridsson <cato@df.lth.se>
2361 * posix-threads.cc (_Jv_InitThreads): #ifdef PTHREAD_STACK_MIN
2363 2006-01-04 Tom Tromey <tromey@redhat.com>
2365 * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Updated.
2366 * java/lang/natClassLoader.cc (_Jv_CopyClassesToSystemLoader):
2367 Changed argument type. Use SystemClassLoader.addClass.
2368 * gnu/gcj/runtime/SystemClassLoader.java (addClass): New method.
2370 2005-12-24 David Daney <ddaney@avtrex.com>
2371 Tom Tromey <tromey@redhat.com>
2373 PR libgcj/9715, PR libgcj/19132:
2374 * java/nio/charset/Charset.java (charsetForName): Try default
2376 (availableCharsets): Re-merged.
2377 (providers2): Likewise.
2378 (defaultCharset): Likewise.
2379 * sources.am, Makefile.in: Rebuilt.
2380 * gnu/java/nio/charset/Provider.java: Removed.
2381 * java/io/OutputStreamWriter.java
2382 (OutputStreamWriter(OutputStream,Charset)): New constructor.
2383 (OutputStreamWriter(OutputStream,CharsetEncoder)): Likewise.
2384 * java/io/InputStreamReader.java
2385 (InputStreamReader(InputStream,CharsetDecoder)): New constructor.
2386 (InputStreamReader(InputStream,Charset)): Likewise.
2387 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Try a
2388 BytesToCharsetAdaptor.
2389 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Try a
2390 CharsetToBytesAdaptor.
2391 * gnu/gcj/convert/CharsetToBytesAdaptor.java: New file.
2392 * gnu/gcj/convert/BytesToCharsetAdaptor.java: New file.
2393 * mauve-libgcj: Remove getEncoding exclusion.
2395 2005-12-28 Anthony Green <green@redhat.com>
2397 * gnu/java/net/natPlainSocketImplWin32.cc (connect): Same
2398 as previous patch, but for win32.
2400 2005-12-28 Anthony Green <green@redhat.com>
2402 * gnu/java/net/natPlainSocketImplPosix.cc (connect): Record
2403 address and port before attempting anything.
2405 2005-12-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2407 * sysdep/pa/locks.h (compare_and_swap): Add ldcw semaphore to make
2410 2005-12-22 Andrew Haley <aph@redhat.com>
2413 * testsuite/libjava.lang/PR25535.java: New test.
2415 2005-12-22 Tom Tromey <tromey@redhat.com>
2417 * java/lang/natClassLoader.cc (_Jv_NewArrayClass): Don't
2418 reference NUM_OBJECT_METHODS.
2419 * include/jvm.h (NUM_OBJECT_METHODS): Removed.
2421 2005-12-18 Anthony Green <green@redhat.com>
2423 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getLocalAddress):
2424 New helper function.
2425 (setOption): Use getLocalAddress. Don't downcast value to
2427 (getOption): Use getLocalAddress.
2429 2005-12-16 Tom Tromey <tromey@redhat.com>
2431 * java/lang/Class.java (getPackage): Get package from
2432 VMClassLoader if needed.
2434 2005-12-16 Tom Tromey <tromey@redhat.com>
2436 * testsuite/libjava.jacks/jacks.xfail
2437 (8.5.2-accessible-static-member-usage-3): Removed.
2439 2005-12-15 Tom Tromey <tromey@redhat.com>
2441 * testsuite/libjava.compile/rh175833.java: New file.
2442 * testsuite/libjava.compile/pr25429.java: New file.
2444 2005-12-15 Alan Modra <amodra@bigpond.net.au>
2446 * testsuite/lib/libjava.exp: Revert 2005-12-01.
2447 * testsuite/libjava.lang/Array_3.xfail: Delete.
2449 2005-12-14 Andrew Haley <aph@redhat.com>
2451 * gnu/java/rmi/rmic/CompilerProcess.java: Use a new thread to
2452 handle stdout from the child process.
2454 2005-12-14 Tom Tromey <tromey@redhat.com>
2457 * java/io/File.java (File): Throw IllegalArgumentException if URI is
2460 2005-12-12 Andrew Haley <aph@redhat.com>
2462 * java/lang/VMCompiler.java: Directly generate a new instance of
2463 gnu.java.security.provider.MD5.
2465 2005-12-08 Andrew Haley <aph@redhat.com>
2468 * java/lang/Object.h (throwNoSuchMethodError): New method.
2469 * java/lang/Object.java (throwNoSuchMethodError): New method.
2470 * include/jvm.h (_Jv_ThrowNoSuchFieldError): Declare.
2471 * link.cc (_Jv_ThrowNoSuchFieldError): New.
2472 (link_symbol_table): Don't throw a NoSuchFieldError if a field is
2473 missing. Instead, set the otable entry to zero.
2474 (link_symbol_table): If we don't find a nonstatic method, insert
2475 the vtable offset of Object.throwNoSuchMethodError() into the
2478 2005-12-05 Tom Tromey <tromey@redhat.com>
2480 * testsuite/libjava.compile/rh174912.java: New file.
2482 2005-12-01 Geoffrey Keating <geoffk@apple.com>
2484 * testsuite/lib/libjava.exp (test_libjava_from_javac): Support
2486 * testsuite/libjava.lang/Array_3.xfail: New file.
2488 2005-12-01 Alan Modra <amodra@bigpond.net.au>
2490 * stacktrace.cc (UnwindTraceFn): Use UNWRAP_FUNCTION_DESCRIPTOR
2491 to compare _Jv_InterpMethod::run against current func.
2493 2005-11-30 Andrew Haley <aph@redhat.com>
2495 * classpath/lib/Makefile.am (resources): Use `cp -p'.
2496 Remove `@' from start of line.
2498 2005-11-28 Tom Tromey <tromey@redhat.com>
2501 * testsuite/libjava.jni/pr18278.out: New file.
2502 * testsuite/libjava.jni/pr18278.c: New file.
2503 * testsuite/libjava.jni/pr18278.java: New file.
2504 * include/jvm.h (_Jv_UnwrapJNIweakReference): Declare.
2505 * jni.cc (_Jv_UnwrapJNIweakReference): New function.
2506 (call): Unwrap return value if needed.
2508 2005-11-25 Mark Wielaard <mark@klomp.org>
2510 * standard.omit.in: Remove javax/rmi, org/omg, gnu/CORBA and
2512 * scripts/makemake.tcl: Set javax/rmi, org/omg, gnu/CORBA and
2513 gnu/javax/rmi to bc.
2514 * gnu/CORBA/ObjectCreator.java: New override file for missing
2515 VMStackWalker issue.
2516 * gnu/CORBA/DynAn/gnuDynValue.java: New override file for bug #24938
2517 * gnu/CORBA/DynAn/RecordAny.java: Likewise
2518 * sources.am: Regenerated.
2519 * Makefile.in: Regenerated
2521 2005-11-25 Andrew Haley <aph@redhat.com>
2524 * posix-threads.cc (_Jv_CondWait): Rewrite calculation of the
2525 struct timespec we pass to pthread_cond_timedwait.
2527 2005-11-25 Ranjit Mathew <rmathew@gcc.gnu.org>
2529 * testsuite/libjava.jacks/jacks.xfail: Remove
2530 non-jls-argument-expansion-13 and add
2531 non-jls-argument-expansion-error-1 in response to the @file support
2532 patch in the main GCC driver.
2534 2005-11-24 Bryce McKinlay <mckinlay@redhat.com>
2536 * sysdep/ia64-frame.h: Removed.
2537 * sysdep/ia64.c: Removed.
2538 * sysdep/dwarf2-backtrace.cc: Removed.
2539 * configure.ac: Remove references to HAVE_BACKTRACE and
2541 * Makefile.am: Remove SUPPLY_BACKTRACE support.
2542 * configure: Rebuilt.
2543 * Makefile.in: Rebuilt.
2545 2005-11-24 Bryce McKinlay <mckinlay@redhat.com>
2547 * gij.cc (nonstandard_opts_help): Add entry for -Xss.
2549 2005-11-17 Mark Wielaard <mark@klomp.org>
2551 Imported GNU Classpath gcj-import-20051117.
2552 * gnu/java/net/protocol/file/Connection.java: Removed, fully merged.
2553 * sources.am: Regenerated.
2554 * Makefile.in: Likewise.
2556 2005-11-17 Mark Wielaard <mark@klomp.org>
2558 * gnu/java/net/protocol/file/Handler.java: Removed, fully merged now.
2559 * java/net/ServerSocket.java: Likewise.
2560 * sources.am: Regenerated.
2561 * Makefile.in: Regenerated.
2563 2005-11-17 Mark Wielaard <mark@klomp.org>
2566 * java/net/ServerSocket.java (implAccept): Set Socket.bound to true.
2568 2005-11-17 Tom Tromey <tromey@redhat.com>
2570 * java/net/ServerSocket.java (accept): Use correct security manager
2573 2005-11-17 Jeroen Frijters <jeroen@frijters.net>
2575 * java/net/ServerSocket.java
2578 (bind): Cache local socket address.
2579 (getInetAddress, getLocalPort, getLocalSocketAddress, isBound):
2580 Use cached local socket address.
2581 (close): bound field was removed.
2583 2005-11-17 Tom Tromey <tromey@redhat.com>
2585 * java/net/URLConnection.java (setDoInput): Javadoc fix.
2586 (setDoOutput): Likewise.
2587 (setContentHandlerFactory): Likewise.
2588 (setFileNameMap): Likewise.
2590 2005-11-17 Mark Wielaard <mark@klomp.org>
2592 * java/net/URLClassloader.java (addURLs): Add comment about jboss.
2594 2005-11-17 Mark Wielaard <mark@klomp.org>
2596 * java/net/URLClassLoader.java (addURLs): Don't call addURL(), but
2597 call urls.add() and addURLImpl() directly on each URL.
2599 2005-11-17 Tom Tromey <tromey@redhat.com>
2601 * java/net/URLClassLoader.java (definePackage): Javadoc fixes.
2603 2005-11-17 Jeroen Frijters <jeroen@frijters.net>
2605 * java/net/URLClassLoader.java
2606 (Resource.name): Removed field.
2607 (JarURLResource.name): Added field.
2608 (FileResource.getURL): Use File.toURL() instead of doing it in
2609 a way that breaks on Windows.
2611 2005-11-17 Roman Kennke <roman@kennke.org>
2613 Reported by: Ingo Proetel <proetel@aicas.com>
2614 * java/net/URLClassLoader.java
2615 (findClass): Added null check to avoid NullPointerException.
2617 2005-11-17 David Gilbert <david.gilbert@object-refinery.com>
2619 * java/net/URLClassLoader.java: reordered some API doc comments to
2620 suppress Eclipse warnings, and fixed API doc link.
2622 2005-11-17 Tom Tromey <tromey@redhat.com>
2624 * java/net/URLClassLoader.java (URLClassLoader): Removed
2627 2005-11-17 Jeroen Frijters <jeroen@frijters.net>
2629 * java/net/URLClassLoader (findClass): Close InputStream after we're
2632 2005-11-17 Bryce McKinlay <mckinlay@redhat.com>
2635 * include/jvm.h (gcj::stack_size): Declare.
2636 (_Jv_StackSize): Declare.
2637 * posix-threads.cc (_Jv_InitThreads): Validate gcj::stack_size.
2638 (_Jv_ThreadStart): Set stack size if specified.
2639 * prims.cc (gcj::stack_size): Define.
2640 (parse_memory_size): Renamed from parse_heap_size.
2641 (_Jv_SetStackSize): Parse stack size argument and set
2644 2005-11-17 Mark Wielaard <mark@klomp.org>
2646 * java/text/SimpleDateFormat.java: Removed, fully merged now.
2647 * sources.am: Regenerated.
2648 * Makefile.in: Regenerated.
2650 2005-11-17 Sven de Marothy <sven@physto.se>
2652 * java/text/SimpleDateFormat.java
2653 (computeOffset): Allow timezone to be first in the parsed String.
2655 2005-11-17 Mark Wielaard <mark@klomp.org>
2657 * java/text/SimpleDateFormat.java (field, size): Make package private.
2659 2005-11-17 Tom Tromey <tromey@redhat.com>
2661 * java/text/SimpleDateFormat.java (compileFormat): Correctly
2662 handle quoted single quotes. PR classspath/23183.
2664 2005-11-17 Tom Tromey <tromey@redhat.com>
2666 * java/text/SimpleDateFormat.java (compileFormat): Reformatted.
2668 2005-11-17 Tom Tromey <tromey@redhat.com>
2670 * java/text/DateFormat.java (serialVersionUID): New field.
2672 2005-11-17 Mark Wielaard <mark@klomp.org>
2674 * java/text/DateFormat.java (equals): Reimplement.
2676 2005-11-17 David Gilbert <david.gilbert@object-refinery.com>
2678 * java/text/Collator.java: API doc fixes,
2679 * java/text/DateFormat.java: likewise,
2680 * java/text/DecimalFormatSymbols.java: likewise,
2681 * java/text/DateFormatSymbols.java: likewise,
2682 * java/text/SimpleDateFormat.java: likewise.
2684 2005-11-17 Jeroen Frijters <jeroen@frijters.net>
2686 * java/text/Collator.java (getInstance(Locale)):
2687 Added default collation pattern to handle case when resource
2688 is missing and throw InternalError instead of returning null
2689 should parsing fail.
2691 2005-11-15 Mark Wielaard <mark@klomp.org>
2693 * java/util/zip/ZipEntry.java: Removed, fully merged now.
2694 * java/util/zip/ZipFile.java: Likewise.
2695 * sources.am: Regenerated.
2696 * Makefile.in: Regenerated.
2698 2005-11-15 Tom Tromey <tromey@redhat.com>
2701 * java/util/Calendar.java (equals): Include other calendar
2703 (hashCode): Updated.
2704 * java/util/GregorianCalendar.java (hashCode): New method.
2705 (equals): Use super.equals().
2707 2005-11-15 Sven de Marothy <sven@physto.se>
2709 * java/util/Calendar (setTimeInMillis): Recompute time fields.
2711 2005-11-15 Mark Wielaard <mark@klomp.org>
2713 * java/util/SimpleTimeZone.java: Removed, fully merged now.
2714 * java/util/Date.java: Likewise.
2715 * sources.am: Regenerated.
2716 * Makefile.in: Regenerated.
2718 2005-11-15 David Gilbert <david.gilbert@object-refinery.com>
2720 * java/util/Calendar.java: fixed minor problems in API docs,
2721 * java/util/Date.java: likewise,
2722 * java/util/ResourceBundle.java: likewise,
2723 * java/util/SimpleTimeZone.java: likewise,
2725 2005-11-15 Jeroen Frijters <jeroen@frijters.net>
2727 * java/io/ObjectInputStream.java
2728 (parseContent): Removed bogus println and fixed bug #24422.
2730 2005-11-15 Mark Wielaard <mark@klomp.org>
2732 * java/io/ObjectStreamClass.java: Removed, fully merged now.
2733 * sources.am: Regenerated.
2734 * Makefile.in: Regenerated.
2736 2005-11-15 Wolfgang Baer <WBaer@gmx.de>
2738 * java/io/ObjectInputStream.java
2739 (processResolution): Pass Error, RuntimeException and
2740 ObjectStreamException through to the caller.
2741 (readObject): Documentation update.
2743 2005-11-15 Mark Wielaard <mark@klomp.org>
2745 Imported GNU Classpath 0.19 + gcj-import-20051115.
2746 * sources.am: Regenerated.
2747 * Makefile.in: Likewise.
2748 * scripts/makemake.tcl: Use glob -nocomplain.
2750 2005-11-15 Scott Gilbertson <scottg@mantatest.com>
2752 * Makefile.in: Re-generated.
2753 * gnu/awt/xlib/XGraphicsDevice.java: New file.
2754 * gnu/awt/xlib/XToolkit.java
2755 (getLocalGraphicsEnvironment): Implemented.
2756 * gnu/awt/xlib/XGraphicsEnvironment.java: New file.
2757 * sources.am: Re-generated.
2759 2005-15-09 David Daney <ddaney@avtrex.com>
2762 * gnu/java/net/natPlainSocketImplPosix.cc (throw_on_sock_closed): New
2765 (close): Call shutdown before closing.
2766 (read()): Call read_helper with proper parameters.
2767 (read(buffer, int, int)): Likewise.
2768 (read_helper): Pass pointer to the PlainSocketImpl, remove native_fd
2769 and timeout parameters. Make prototype to match. Use
2770 pointer to PlainSocketImpl to access members. Call throw_on_sock_closed
2773 2005-11-15 Andrew Haley <aph@redhat.com>
2775 * Merge from Classpath head:
2777 2005-09-16 Andrew Haley <aph@redhat.com>
2779 * java/io/ObjectStreamClass.java (findAccessibleMethod): Allow
2780 protected readResolve(). Rewrite accessibility check.
2782 2005-07-07 Jeroen Frijters <jeroen@frijters.net>
2784 * java/io/ObjectStreamClass.java
2785 (findAccessibleMethod): Added code to make method accessible.
2787 2005-07-03 Daniel Bonniot <bonniot@users.sf.net>
2789 * java/io/ObjectStreamClass.java (inSamePackage): New private method.
2790 (findAccessibleMethod): Likewise.
2791 (cacheMethods): Lookup readResolve and writeReplace using the new
2792 findAccessibleMethod().
2794 2005-11-14 Mohan Embar <gnustuff@thisiscool.com>
2796 * java/net/natVMNetworkInterfaceWin32.cc: Include
2797 java/net/VMNetworkInterface.h.
2799 2005-11-14 Mohan Embar <gnustuff@thisiscool.com>
2800 David Daney <ddaney@avtrex.com>
2802 * gnu/java/net/natPlainSocketImplWin32.cc: Updated copyright.
2803 (read): Handle count == 0 case.
2805 2005-11-09 Tom Tromey <tromey@redhat.com>
2807 * testsuite/libjava.jacks/jacks.xfail (non-jls-zip-2): Now
2810 2005-11-08 Tom Tromey <tromey@redhat.com>
2813 * gnu/classpath/SystemProperties.java: Set gnu.classpath.version.
2815 2005-11-08 Tom Tromey <tromey@redhat.com>
2817 PR libgcj/23763. From aeby@graeff.com.
2818 * java/lang/natPosixProcess.cc (nativeSpawn): Unblock SIGCHLD
2821 2005-11-08 Mark Wielaard <mark@klomp.org>
2823 * scripts/makemake.tcl: Set package gnu/javax/sound/midi to bc.
2825 2005-11-07 David Daney <ddaney@avtrex.com>
2827 * mauve-libgcj: Disable javax.rmi.* and
2828 java.io.InputStreamReader.getEncoding.
2830 2005-11-04 Tom Tromey <tromey@redhat.com>
2832 PR libgcj/14358, libgcj/24552:
2833 * gnu/gcj/convert/IOConverter.java: Regenerate aliases. Add
2834 aliases for 'euc_jp' and 'eucjp'.
2835 * scripts/encodings.pl: Recognize 'none', not 'NONE'. Include
2836 canonical names in output.
2837 (%map): Added UnicodeLittle and UnicodeBig.
2839 2005-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
2841 * include/sh-signal.h (MAKE_THROW_FRAME): Remove trailing whitespace.
2843 2005-11-02 Andreas Tobler <a.tobler@schweiz.ch>
2845 * testsuite/lib/libjava.exp (libjava_find_lib): Add dylib to the shared
2848 2005-10-12 Andrew Haley <aph@redhat.com>
2851 * link.cc (ensure_method_table_complete): Install Miranda methods
2854 2005-10-10 Tom Tromey <tromey@redhat.com>
2856 * testsuite/libjava.lang/ExtraClassLoader.out: New file.
2857 * testsuite/libjava.lang/TestProxy.java (MyInvocationHandler):
2860 2005-10-05 Richard Henderson <rth@redhat.com>
2863 * configure.host (i?86-*): Set -fomit-frame-pointer in libgcj_flags,
2864 but not BACKTRACESPEC.
2865 (x86_64-*): Similarly. Don't set -ffloat-store in 64-bit mode.
2867 2005-10-02 Andrew Pinski <pinskia@physics.uc.edu>
2869 * testsuite/lib/jni.exp (gcj_jni_test_one): For
2870 darwin, use -shared-libgcc not -lgcc_s, and explain why.
2871 (gcj_jni_invocation_test_one): Likewise.
2873 2005-09-30 Tom Tromey <tromey@redhat.com>
2876 * Makefile.in: Rebuilt.
2877 * Makefile.am (toolexeclib_LTLIBRARIES): Add Qt library if
2879 (lib_gnu_java_awt_peer_qt_la_SOURCES): New variable.
2880 (lib_gnu_java_awt_peer_qt_la_LIBADD): Likewise.
2881 (lib_gnu_java_awt_peer_qt_la_DEPENDENCIES): Likewise.
2882 (lib_gnu_java_awt_peer_qt_la_LDFLAGS): Likewise.
2883 (lib_gnu_java_awt_peer_qt_la_LINK): Likewise.
2884 * configure: Rebuilt.
2885 * configure.ac: Pass --enable-qt-peers when qt is requested.
2887 2005-09-29 Andreas Tobler <a.tobler@schweiz.ch>
2889 * configure.ac: Fix typo.
2890 * configure: Regenerate.
2892 2005-09-28 Geoffrey Keating <geoffk@apple.com>
2894 * sysdep/powerpc/locks.h: Use 64-bit versions of primitives when
2895 __LP64__ is defined rather than __powerpc64__.
2896 (compare_and_swap): 'ret' is an obj_addr_t not just an int.
2897 (compare_and_swap_release): Likewise.
2899 2005-09-28 David Daney <ddaney@avtrex.com>
2901 * HACKING: Update instructions for classpath import.
2903 2005-09-27 Tom Tromey <tromey@redhat.com>
2906 * include/jvm.h (_Jv_FreeMethodCache): Declare.
2907 * java/lang/natClass.cc (MCACHE_SIZE): Conditional on HAVE_TLS.
2908 (struct _Jv_mcache): Likewise.
2909 (method_cache): Likewise.
2910 (_Jv_FindMethodInCache): Do nothing unless TLS is available.
2911 (_Jv_AddMethodToCache): Likewise.
2912 (_Jv_FreeMethodCache): New function.
2913 * java/lang/natThread.cc (finish_): Call _Jv_FreeMethodCache.
2914 * aclocal.m4, configure, include/config.h.in: Rebuilt.
2915 * configure.ac: Invoke GCC_CHECK_TLS.
2917 2005-09-27 Tom Tromey <tromey@redhat.com>
2919 * configure, Makefile.in: Rebuilt.
2920 * sources.am: Rebuilt.
2921 * scripts/makemake.tcl (emit_bc_rule): Special-case qt.
2922 * configure.ac (TOOLKIT): Handle Qt peers properly.
2924 2005-09-23 Tom Tromey <tromey@redhat.com>
2926 Imported Classpath 0.18.
2927 * sources.am, Makefile.in: Updated.
2928 * Makefile.am (nat_source_files): Removed natProxy.cc.
2929 * java/lang/reflect/natProxy.cc: Removed.
2930 * gnu/classpath/jdwp/VMFrame.java,
2931 gnu/classpath/jdwp/VMIdManager.java,
2932 gnu/classpath/jdwp/VMVirtualMachine.java,
2933 java/lang/reflect/VMProxy.java: New files.
2935 2005-09-23 Thomas Fitzsimmons <fitzsim@redhat.com>
2937 * scripts/makemake.tcl (verbose): Add gnu/java/awt/peer/qt to BC
2940 2005-09-23 Thomas Fitzsimmons <fitzsim@redhat.com>
2942 * gnu/java/net/DefaultContentHandlerFactory.java (getContent):
2943 Remove ClasspathToolkit references.
2945 2005-09-23 Thomas Fitzsimmons <fitzsim@redhat.com>
2947 * gnu/awt/xlib/XCanvasPeer.java: Add new peer methods.
2948 * gnu/awt/xlib/XFramePeer.java: Likewise.
2949 * gnu/awt/xlib/XGraphicsConfiguration.java: Likewise.
2951 2005-09-23 Thomas Fitzsimmons <fitzsim@redhat.com>
2953 * Makefile.am (libgcjawt_la_SOURCES): Remove jawt.c. Add
2954 classpath/native/jawt/jawt.c.
2955 * Makefile.in: Regenerate.
2956 * jawt.c: Remove file.
2957 * include/Makefile.am (tool_include__HEADERS): Remove jawt.h and
2958 jawt_md.h. Add ../classpath/include/jawt.h and
2959 ../classpath/include/jawt_md.h.
2960 * include/Makefile.in: Regenerate.
2961 * include/jawt.h: Regenerate.
2962 * include/jawt_md.h: Regenerate.
2964 2005-09-21 Bryce McKinlay <mckinlay@redhat.com>
2966 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Pass
2967 `null' parent ClassLoader to parent constructor.
2968 * gnu/gcj/runtime/HelperClassLoader.java (HelperClassLoader): New
2971 2005-09-21 Ranjit Mathew <rmathew@gcc.gnu.org>
2973 * testsuite/libjava.jacks/jacks.xfail: Updated for PR java/23891.
2975 2005-09-17 H.J. Lu <hongjiu.lu@intel.com>
2977 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one):
2978 Use libjava_find_lib to find the proper libgcj.
2980 2005-09-16 Anthony Green <green@redhat.com>
2983 * java/net/URLClassLoader.java (FileURLLoader.getResource): File
2984 resources should all have canonicalized names.
2986 2005-09-15 Tom Tromey <tromey@redhat.com>
2989 * interpret.cc (AVAL1U): Resolve pool entry when not direct
2992 (compile): Handle 'ldc class' specially.
2993 (_Jv_InterpMethod::run): Added special 'ldc class' instruction.
2994 * verify.cc (check_constant): Handle 'ldc class' for 1.5 classes.
2995 * defineclass.cc (handleCodeAttribute): Set new field.
2996 (MAJOR_1_1, MINOR_1_1, MAJOR_1_2, MINOR_1_2, MAJOR_1_3, MINOR_1_3,
2997 MAJOR_1_4, MINOR_1_4, MAJOR_1_5, MINOR_1_5): New defines.
2998 (parse): Check version numbers.
2999 (_Jv_ClassReader::is_15): New field.
3000 (_Jv_ClassReader): Initialize it.
3001 * include/java-interp.h (_Jv_InterpMethod::is_15): New field.
3003 2005-09-15 Tom Tromey <tromey@redhat.com>
3005 For PR libgcj/23288:
3006 * java/net/URLClassLoader.java (definePackage): Correctly order
3007 arguments to definePackage. Look up per-entry Attributes.
3008 (getAttributeValue): New method.
3010 2005-09-12 Thomas Fitzsimmons <fitzsim@redhat.com>
3013 * shlibpath.m4: New file.
3014 * configure.ac: If libltdl is being used call AC_LTDL_SHLIBPATH
3016 * gnu/classpath/natSystemProperties.cc (insertSystemProperties)
3017 [USE_LTDL]: If it was not defined with -D set java.library.path to
3018 the value of LTDL_SHLIBPATH_VAR.
3020 2005-09-08 Andrew Haley <aph@redhat.com>
3022 * java/net/URLClassLoader.java (addURLImpl): Synchronize on the
3024 (toString): Likewise.
3026 2005-09-08 Andrew Haley <aph@redhat.com>
3029 * include/i386-signal.h (HANDLE_DIVIDE_OVERFLOW): Bump IP by 1 if
3030 R/M field in instruction is 100.
3032 2005-09-08 Thomas Fitzsimmons <fitzsim@redhat.com>
3035 * include/java-props.h (_Jv_Module_Load_Path): Declare variable.
3036 * java/lang/natRuntime.cc (init): Call lt_dlsetsearchpath after
3038 * gnu/classpath/natSystemProperties.cc (_Jv_Module_Load_Path):
3040 (_Jv_SetDLLSearchPath): Do not call lt_dlsetsearchpath. Set
3041 _Jv_Module_Load_Path.
3043 2005-09-06 Tom Tromey <tromey@redhat.com>
3046 * testsuite/libjava.jni/pr23739.c: New file.
3047 * testsuite/libjava.jni/pr23739.java: New file.
3048 * testsuite/libjava.jni/pr23739.out: New file.
3049 * jni.cc (_Jv_JNI_IsAssignableFrom): Reversed arguments.
3050 * java/lang/reflect/natMethod.cc (invoke): Updated.
3051 * java/lang/natClass.cc (isAssignableFrom): Updated.
3052 (isInstance): Likewise.
3053 (_Jv_IsAssignableFrom): Reversed arguments.
3054 (_Jv_IsInstanceOf): Updated.
3055 (_Jv_CheckCast): Likewise.
3056 (_Jv_CheckArrayStore): Likewise.
3057 (_Jv_IsAssignableFromSlow): Reversed arguments.
3058 (_Jv_InterfaceAssignableFrom): Likewise.
3059 * link.cc (verify_type_assertions): Updated.
3060 * prims.cc (_Jv_CheckAccess): Updated.
3062 2005-09-05 Ranjit Mathew <rmathew@hotmail.com>
3064 Testsuite changes for PR java/23431.
3065 * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.1.1-12 and
3067 * testsuite/libjava.compile/PR23431_1.java: New testcase.
3068 * testsuite/libjava.compile/PR23431_2.java: Likewise.
3069 * testsuite/libjava.compile/PR23431_1.xfail: New file.
3070 * testsuite/libjava.compile/PR23431_2.xfail: Likewise.
3072 2005-08-29 Thomas Fitzsimmons <fitzsim@redhat.com>
3075 * gij.cc (main): Don't expect arguments to -enableassertions, -ea,
3076 -disableassertions and -da.
3078 2005-08-29 Andrew Pinski <pinskia@physics.uc.edu>
3080 * configure.ac: Replace "*-*-darwin[0-7].*" with
3081 "*-*-darwin[[0-7]].*"
3082 * configure: Regenerate.
3084 2005-08-24 Andreas Tobler <a.tobler@schweiz.ch>
3086 * configure.ac (extra_ldflags_libjava): Enable -single_module only for
3088 * configure: Regenerate.
3090 2005-08-23 Roman Kennke <roman@kennke.org>
3092 * java/lang/Character.java
3093 (toChars(int)): New JDK1.5 method.
3094 (toChars(int, char[], int)): New JDK1.5 method.
3095 (charCount): New JDK1.5 method.
3096 (isSupplementaryCodePoint): New JDK1.5 method.
3097 (isValidCodePoint): New JDK1.5 method.
3099 2005-08-23 Tom Tromey <tromey@redhat.com>
3101 * aclocal.m4, Makefile.in: Rebuilt.
3102 * Makefile.am (property_files): Added META-INF files.
3103 (propertyo_files): Changed definition.
3104 ($(propertyo_files)): Updated patterns.
3106 2005-08-22 Tom Tromey <tromey@redhat.com>
3109 * configure: Rebuilt.
3110 * configure.ac: Correctly create Configuration.java (for
3113 2005-08-22 Kelley Cook <kcook@gcc.gnu.org>
3115 * Makefile.am (ACLOCAL_AMFLAGS): Also include "..".
3116 * acinclude.m4: Delete. Extract CHECK_FOR_BROKEN_MINGW_LD to ...
3117 * mingwld.m4: ... this new file.
3118 * aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate.
3119 * include/Makefile.in, testsuite/Makfile.in: Regenerate.
3121 2005-08-21 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3124 * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Fix typo in newLength
3125 assignment. Cast operands of compare to function pointer type.
3127 2005-08-21 Tom Tromey <tromey@redhat.com>
3129 * HACKING: Updated for hacking classpath in libgcj.
3131 2005-08-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3134 * sysdep/pa/descriptor.h: New file.
3135 * configure.host: Use sysdep/pa/descriptor.h on hppa*-*.
3137 2005-08-19 Andrew Pinski <pinskia@physics.uc.edu>
3139 * Makefile.am (extra_ldflags_libjava): New variable to
3141 (LIBLINK): Add extra_ldflags_libjava to it.
3142 * configure.ac (extra_ldflags_libjava): Set for *-darwin* to
3143 "-Wl,-single_module".
3144 * Makefile.in: Regenerate.
3145 * aclocal.m4: Regenerate.
3146 * configure: Regenerate.
3147 * gcj/Makefile.in: Regenerate.
3148 * include/Makefile.in: Regenerate.
3149 * testsuite/Makefile.in: Regenerate.
3151 2005-08-17 Tom Tromey <tromey@redhat.com>
3153 * java/lang/Class.h (_Jv_IsBinaryCompatibilityABI): Declare as
3155 * include/jvm.h (_Jv_IsBinaryCompatibilityABI): New function.
3156 * testsuite/libjava.lang/bclink.java: New file.
3157 * testsuite/libjava.lang/bclink.out: New file.
3158 * link.cc (print_class_loaded): Changed ABI test to look at
3159 various _syms fields.
3161 2005-08-17 Andreas Tobler <a.tobler@schweiz.ch>
3163 * testsuite/libjava.jacks/jacks.xfail: Remove 15.21-assoc-7,
3164 15.21-assoc-8, 15.21-equal-3, 15.28-string-11.
3166 2005-08-16 Ranjit Mathew <rmathew@hotmail.com>
3168 More testsuite adjustments for PR java/19870.
3169 * testsuite/libjava.lang/PR19870_2.java: New testcase.
3170 * testsuite/libjava.lang/PR19870_2.out: Expected output for the
3172 * testsuite/libjava.jacks/jacks.xfail: Remove
3173 8.5.2-non-static-member-usage-2 and add 15.12.3-explicit-constructor-9.
3175 2005-08-16 Tom Tromey <tromey@redhat.com>
3177 * gnu/xml/xpath/XPathParser.y: Removed.
3179 2005-08-12 Morgan Deters <mdeters@morgandeters.com>
3182 * java/lang/natObject.cc (clone): Clear sync_info.
3184 2005-07-26 Tom Tromey <tromey@redhat.com>
3186 * gnu/java/net/protocol/ftp/package.html,
3187 gnu/javax/swing/text/html/package.html,
3188 gnu/javax/swing/text/html/parser/package.html,
3189 gnu/javax/swing/text/html/parser/models/package.html,
3190 gnu/javax/swing/text/html/parser/support/package.html,
3191 gnu/javax/swing/text/html/parser/support/low/package.html,
3192 gnu/xml/aelfred2/package.html, gnu/xml/dom/package.html,
3193 gnu/xml/pipeline/package.html, gnu/xml/transform/package.html,
3194 gnu/xml/util/package.html, java/awt/geom/doc-files/Area-1.png,
3195 java/awt/geom/doc-files/CubicCurve2D-1.png,
3196 java/awt/geom/doc-files/CubicCurve2D-2.png,
3197 java/awt/geom/doc-files/CubicCurve2D-3.png,
3198 java/awt/geom/doc-files/CubicCurve2D-4.png,
3199 java/awt/geom/doc-files/CubicCurve2D-5.png,
3200 java/awt/geom/doc-files/Ellipse-1.png,
3201 java/awt/geom/doc-files/FlatteningPathIterator-1.html,
3202 java/awt/geom/doc-files/GeneralPath-1.png,
3203 java/awt/geom/doc-files/QuadCurve2D-1.png,
3204 java/awt/geom/doc-files/QuadCurve2D-2.png,
3205 java/awt/geom/doc-files/QuadCurve2D-3.png,
3206 java/awt/geom/doc-files/QuadCurve2D-4.png,
3207 java/awt/geom/doc-files/QuadCurve2D-5.png,
3208 javax/imageio/package.html, javax/imageio/event/package.html,
3209 javax/imageio/metadata/package.html,
3210 javax/imageio/spi/package.html, javax/imageio/stream/package.html,
3211 javax/swing/border/doc-files/BevelBorder-1.png,
3212 javax/swing/border/doc-files/BevelBorder-2.png,
3213 javax/swing/border/doc-files/BevelBorder-3.png,
3214 javax/swing/border/doc-files/EmptyBorder-1.png,
3215 javax/swing/border/doc-files/EtchedBorder-1.png,
3216 javax/swing/border/doc-files/EtchedBorder-2.png,
3217 javax/swing/border/doc-files/LineBorder-1.png,
3218 javax/swing/border/doc-files/MatteBorder-1.png,
3219 javax/swing/border/doc-files/MatteBorder-2.png,
3220 javax/swing/border/doc-files/MatteBorder-3.png,
3221 javax/swing/border/doc-files/MatteBorder-4.png,
3222 javax/swing/border/doc-files/MatteBorder-5.png,
3223 javax/swing/border/doc-files/MatteBorder-6.png,
3224 javax/swing/border/doc-files/SoftBevelBorder-1.png,
3225 javax/swing/border/doc-files/SoftBevelBorder-2.png,
3226 javax/swing/border/doc-files/SoftBevelBorder-3.png,
3227 javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
3228 javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
3229 javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
3230 javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
3231 javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
3232 javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
3233 javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
3234 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
3235 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
3236 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
3237 javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png,
3238 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
3239 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
3240 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
3241 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
3242 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
3243 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
3244 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png,
3245 javax/swing/plaf/doc-files/ComponentUI-1.dia,
3246 javax/swing/plaf/doc-files/ComponentUI-1.png,
3247 javax/swing/plaf/doc-files/TreeUI-1.png,
3248 javax/xml/datatype/package.html, javax/xml/namespace/package.html,
3249 javax/xml/parsers/package.html, javax/xml/transform/package.html,
3250 javax/xml/transform/dom/package.html,
3251 javax/xml/transform/sax/package.html,
3252 javax/xml/transform/stream/package.html,
3253 javax/xml/validation/package.html, javax/xml/xpath/package.html:
3256 2005-07-22 Tom Tromey <tromey@redhat.com>
3258 * include/Makefile.in: Rebuilt.
3259 * include/Makefile.am (tool_include__HEADERS): Include
3262 2005-07-20 Tom Tromey <tromey@redhat.com>
3264 * sources.am, Makefile.in: Rebuilt.
3265 * Makefile.am (all_xlib_lo_files): Removed.
3266 (all_libgcj_lo_files): Likewise.
3267 (lib_gnu_awt_xlib_la_LIBADD): List correct .lo files.
3268 (xlib_java_source_files): Removed.
3269 (xlib_nat_headers): Updated.
3270 * configure: Rebuilt.
3271 * configure.ac: Create standard.omit.
3272 * standard.omit.in: New file.
3273 * standard.omit: Removed.
3274 * scripts/makemake.tcl (gnu/gcj/xlib, gnu/awt/xlib): Now
3276 (emit_package_rule): Special case xlib peers.
3277 (emit_source_var): Likewise.
3278 Read standard.omit.in.
3279 * gnu/awt/xlib/XToolkit.java (createEmbeddedWindow): New method.
3281 2005-07-18 Tom Tromey <tromey@redhat.com>
3285 2005-07-19 Matthias Klose <doko@debian.org>
3287 * classpath/java/awt/im/InputContext.java (clinit): Initialize
3290 2005-07-18 Tom Tromey <tromey@redhat.com>
3293 * sources.am, Makefile.in: Rebuilt.
3294 * scripts/makemake.tcl (emit_bc_rule): Create a temporary list
3296 (emit_source_var): Don't emit patsubst with './'.
3298 2005-07-18 Tom Tromey <tromey@redhat.com>
3300 * Makefile.in: Rebuilt.
3301 * Makefile.am ($(libgij_la_OBJECTS)): Depend on headers.stamp.
3303 2005-07-17 Andreas Jaeger <aj@suse.de>
3305 * defineclass.cc (handleClassBegin): Remove unused variable.
3307 2005-07-16 Andreas Schwab <schwab@suse.de>
3309 * scripts/makemake.tcl (emit_package_rule): Emit command to create
3311 * Makefile.am (%.lo): Don't create it here.
3312 * sources.am, Makefile.in: Regenerated.
3314 2005-07-15 Tom Tromey <tromey@redhat.com>
3316 Major merge with Classpath.
3317 Removed many duplicate files.
3318 * HACKING: Updated.x
3319 * classpath: Imported new directory.
3320 * standard.omit: New file.
3321 * Makefile.in, aclocal.m4, configure: Rebuilt.
3322 * sources.am: New file.
3323 * configure.ac: Run Classpath configure script. Moved code around
3324 to support. Disable xlib AWT peers (temporarily).
3325 * Makefile.am (SUBDIRS): Added 'classpath'
3327 (AM_CPPFLAGS): Added more -I options.
3328 (BOOTCLASSPATH): Simplified.
3329 Completely redid how sources are built.
3331 * include/Makefile.am (tool_include__HEADERS): Removed jni.h.
3332 * include/jni.h: Removed (in Classpath).
3333 * scripts/classes.pl: Updated to look at built classes.
3334 * scripts/makemake.tcl: New file.
3335 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Added
3337 (gcj_jni_invocation_compile_c_to_binary): Likewise.
3339 2005-07-15 Scott Gilbertson <scottg@mantatest.com>
3341 * gnu/awt/xlib/XCanvasPeer.java (attributes): New field.
3342 (eventMask): New field.
3343 (XCanvasPeer(Component)): Use attributes field.
3344 (setBackground): Implemented.
3345 (setEventMask): Process mask only if changed.
3346 * gnu/awt/xlib/XEventLoop.java (class): Iplement Runnable.
3347 (eventLoopThread): New field.
3348 (XEventLoop(Display,EventQueue)): Start eventLoopThread.
3349 (interrupt): Removed.
3351 * gnu/awt/xlib/XEventQueue.java (getNextEvent): Process Container
3352 and Component events.
3353 * gnu/awt/xlib/XFramePeer.java (processingConfigureNotify): New
3355 (configureNotify): Set and clear processingConfigureNotify.
3356 (setBounds): Process only if processingConfigureNotify is false.
3357 (toBack): Implemented.
3358 (toFront): Implemented.
3359 * gnu/awt/xlib/XGraphics.java (setColor): Ignore null color.
3360 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Ignore null
3362 * gnu/awt/xlib/XToolkit.java (nativeQueueEmpty): Always return true.
3363 (wakeNativeQueue): Do nothing.
3364 (iterateNativeQueue): Do queue.wait if blocking.
3365 * gnu/gcj/xlib/Font.java (loadFont): New method.
3366 (loadFontImpl): Renamed native method, was loadFont.
3367 * gnu/gcj/xlib/Window.java (toFront): New method.
3368 (toBack): New method.
3369 * gnu/gcj/xlib/natFont.cc (loadFontImpl): Renamed method, was
3371 * gnu/gcj/xlib/natWindow.cc (toBack): New method.
3372 (toFront): New method.
3373 * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Removed timeout.
3375 2005-07-14 Andrew Haley <aph@redhat.com>
3377 * gnu/java/net/protocol/file/Connection.java (unquote): New
3379 (connect): Unquote filename.
3380 gnu/java/net/protocol/jar/Connection.java (getInputStream):
3382 (getJarFile): Likewise.
3384 * java/net/URLConnection.java (getContentHandler): Guard cast with
3387 * java/net/URL.java (URL): If the file part of a spec is absolute,
3388 ignore the file part of its context.
3390 2005-07-14 Aaron Luchko <aluchko@redhat.com>
3392 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java:
3393 Implemented VirtualMachine Command Set.
3395 2005-07-14 Tom Tromey <tromey@redhat.com>
3397 * java/lang/Class.java (getProtectionDomain): Merged javadoc from
3400 2005-07-12 Aaron Luchko <aluchko@redhat.com>
3402 * gnu/classpath/jdwp/processor/FieldCommandSet.java:
3403 Implemented the Field CommandSet.
3404 * gnu/classpath/jdwp/processor/InterfaceTypeCommandSet.java:
3405 Implemented the InterfaceType CommandSet.
3407 2005-07-12 Aaron Luchko <aluchko@redhat.com>
3409 * gnu/classpath/jdwp/processor/PacketProcessor.java (run): Send
3410 shutdown to jdwp instead of connection.
3412 2005-07-12 Aaron Luchko <aluchko@redhat.com>
3414 * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java:
3417 2005-07-08 Colin Walters <walters@verbum.org>
3419 * verify.cc (class _Jv_BytecodeVerifier) <op_new>: Don't
3420 check for abstract classes or interfaces here; JVM spec
3421 says it should throw an exception, so we'll do so later.
3422 * interpret.cc (run): Throw an InstantiationException for
3423 abstract classes and interfaces.
3425 2005-07-08 Andrew Haley <aph@redhat.com>
3427 * posix-threads.cc (_Jv_ThreadSetPriority): Use SCHED_OTHER
3428 (regular, non-realtime scheduling), not SCHED_RR (realtime,
3431 2005-07-07 Aaron Luchko <aluchko@redhat.com>
3433 * gnu/classpath/jdwp/util/Signature.java
3434 (computeFieldSignature): New Method.
3436 2005-07-07 Aaron Luchko <aluchko@redhat.com>
3438 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java:New
3441 2005-07-07 Bryce McKinlay <mckinlay@redhat.com>
3443 * testsuite/libjava.jacks/jacks.xfail: Remove 6.5.5.1-nested-4,
3444 6.5.5.1-nested-7, 6.5.5.1-nested-16, 6.5.5.1-nested-17.
3446 2005-07-07 Bryce McKinlay <mckinlay@redhat.com>
3448 * testsuite/libjava.compile/PR21045.java: New test.
3449 * testsuite/libjava.jacks/jacks.xfail: Remove 15.9.5.1-exception-1,
3450 15.9.5.1-exception-3, 8.3.2-abrupt-6, 8.3.2-abrupt-7.
3452 2005-07-06 Tom Tromey <tromey@redhat.com>
3454 * java/io/InputStreamReader.java (refill): Handle no-progress
3456 * gnu/gcj/convert/IOConverter.java: Add 'utf8' alias.
3458 2005-07-06 Tom Tromey <tromey@redhat.com>
3460 * testsuite/libjava.jacks/jacks.xfail: Removed 9.1.3-body-5.
3462 2005-07-05 Bryce McKinlay <mckinlay@redhat.com>
3464 * testsuite/libjava.compile/PR19674.java: New test.
3466 2005-07-05 Aaron Luchko <aluchko@redhat.com>
3468 * gnu/classpath/jdwp/processor/StringReferenceCommandSet.java:
3471 2005-07-04 Aaron Luchko <aluchko@redhat.com>
3473 * gnu/classpath/jdwp/processor/CommandSet.java: New file.
3474 * gnu/classpath/jdwp/processor/PacketProcessor.java: Use
3475 CommandSets to handle JdwpCommandPackets.
3476 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New
3479 2005-07-01 Tom Tromey <tromey@redhat.com>
3481 * libtool-version: Updated.
3483 2005-06-30 Aaron Luchko <aluchko@redhat.com>
3485 * gnu/classpath/jdwp/util/JdwpString.java: New file.
3487 2005-06-30 Keith Seitz <keiths@redhat.com>
3489 * gnu/classpath/jdwp/transport/JdwpPacket.java (write): New method.
3490 (myWrite): New abstract method.
3492 (myToBytes): Remove.
3493 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java (myWrite): New
3495 * gnu/classpath/jdwp/transport/JdwpCommandPacket.java (myWrite): New
3497 * gnu/classpath/jdwp/transport/JdwpConnection.java (sendPacket): Use
3498 JdwpPacket.write instead of JdwpPacket.toBytes.
3500 2005-06-30 Keith Seitz <keiths@redhat.com>
3502 * gnu/classpath/jdwp/transport/JdwpConnection.java (sendEvent): New
3504 (_bytes): New member.
3505 (_doStream): New member.
3506 (JdwpConnection): Initialize new members.
3508 2005-06-29 Kelley Cook <kcook@gcc.gnu.org>
3510 * all files: Update for new FSF address.
3512 2005-06-29 Tom Tromey <tromey@redhat.com>
3515 * testsuite/libjava.lang/pr22211.java: New file.
3516 * java/lang/natThread.cc (finish_): Synchronize when updating
3518 (_Jv_AttachCurrentThread): Likewise.
3519 (interrupt): Only call _Jv_ThreadInterrupt if thread is alive.
3520 * java/lang/Thread.java (isAlive): Now synchronized.
3522 2005-06-29 Tom Tromey <tromey@redhat.com>
3524 * interpret.cc (run) <insn_checkcast, checkcast_resolved>: Use
3527 2005-06-28 Robin Green <greenrd@greenrd.org>
3530 * gnu/gcj/runtime/PersistentByteMap.java (init): Fix rounding
3533 2005-06-27 Tom Tromey <tromey@redhat.com>
3535 PR java/21540, PR java/13788:
3536 * testsuite/libjava.compile/pr21540.java: New file.
3537 * testsuite/libjava.compile/pr13788.java: New file.
3538 * testsuite/libjava.jacks/jacks.xfail: Updated.
3540 2005-06-26 Andreas Tobler <a.tobler@schweiz.ch>
3542 * testsuite/libjava.mauve/xfails: Updated to reflect current state
3543 of mauve and libjava.
3545 2005-06-24 Tom Tromey <tromey@redhat.com>
3547 * java/lang/natClassLoader.cc (_Jv_UnregisterClass): Handle case
3548 where class' name is NULL.
3549 (_Jv_FindClass): Don't wait for class state.
3550 * java/lang/natVMClassLoader.cc (defineClass): Only unregister if
3552 * include/java-interp.h (_Jv_DefineClass): Updated.
3553 * defineclass.cc (_Jv_DefineClass): Added 'name_result' argument.
3554 (struct _Jv_ClassReader): Likewise.
3555 (found_name): New field.
3556 (handleClassBegin): Set *found_name.
3557 (_Jv_VerifyMethodSignature): Handle case where ptr==NULL.
3558 (handleClassBegin): Throw error if super class not set.
3559 (read_methods): Correctly call check_tag and prepare_pool_entry.
3561 2005-06-24 Tom Tromey <tromey@redhat.com>
3563 * boehm.cc (_Jv_MarkObj): Handle case where field's type is NULL.
3565 2005-06-24 Tom Tromey <tromey@redhat.com>
3567 * verify.cc (verify_instructions_0): Correctly handle situation
3568 where PC falls off end.
3570 2005-06-24 Tom Tromey <tromey@redhat.com>
3572 * interpret.cc (compile): Handle case where table entry is
3573 outside of PC range.
3575 2005-06-23 Bryce McKinlay <mckinlay@redhat.com>
3577 * testsuite/libjava.compile/PR20697.java: New test-case.
3579 2005-06-22 Kelley Cook <kcook@gcc.gnu.org>
3581 * Makefile.am (SUBDIRS): Use append for conditional.
3582 (toolexeclib_LTLIBRARIES): Likewise.
3583 (lib_gnu_java_awt_peer_gtk_la_SOURCES): Directly define with
3584 a conditional append.
3585 * Makefile.in: Regenerate.
3587 2005-06-17 Keith Seitz <keiths@redhat.com>
3589 * gnu/classpath/jdwp/exception/VmDeadException.java: New file.
3590 * gnu/classpath/jdwp/exception/NotImplementedException.java: New file.
3591 * gnu/classpath/jdwp/exception/JdwpInternalErrorException.java: New
3593 * gnu/classpath/jdwp/exception/JdwpException.java: New file.
3594 * gnu/classpath/jdwp/exception/InvalidThreadGroupException.java: New
3596 * gnu/classpath/jdwp/exception/InvalidThreadException.java: New file.
3597 * gnu/classpath/jdwp/exception/InvalidStringException.java: New file
3598 * gnu/classpath/jdwp/exception/InvalidObjectException.java: New file.
3599 * gnu/classpath/jdwp/exception/InvalidEventTypeException.java: New
3601 * gnu/classpath/jdwp/exception/InvalidCountException.java: New file.
3602 * gnu/classpath/jdwp/exception/InvalidClassException.java: New file.
3604 2005-06-16 Kelley Cook <kcook@gcc.gnu.org>
3606 * Makefile.am (libgcj_la_SOURCES): Define without conditional sources.
3607 (if USING_BOEHMGC): Directly append libgcj_la_SOURCES.
3608 (if USING_NOGC, SUPPLY_BACKTRACE, USING_POSIX_PLATFORM,
3609 USING_WIN32_PLATFORM, USING_DARWIN_CRT, USING_POSIX_THREADS,
3610 USING_WIN32_THREADS, USING_NO_THREADS): Likewise.
3611 * Makefile.in: Regenerate.
3613 2005-06-15 Kelley Cook <kcook@gcc.gnu.org>
3615 * configure.ac (USING_ECOS_PLATFORM): Remove and merge into...
3616 (USING_POSIX_PLATFORM): ... here.
3617 * Makefile.am: Delete USING_ECOS_PLATFORM.
3618 * configure, Makefile.in, include/Makefile.in, testsuite/Makefile.in,
3619 external/Makefile.in, external/sax/Makefile.in,
3620 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
3622 2005-06-15 Tom Tromey <tromey@redhat.com>
3625 * testsuite/libjava.lang/pr17536.java: New file.
3626 * testsuite/libjava.lang/pr17536.out: New file.
3628 2005-06-15 Goffredo Baroncelli <kreijack@inwind.it>
3631 * gnu/java/net/protocol/http/HTTPURLConnection.java
3632 (getHeaderFieldKey): Check index.
3634 2005-06-15 Tom Tromey <tromey@redhat.com>
3637 * defineclass.cc (handleMethodsEnd): Set ncode for abstract
3639 * include/jvm.h (_Jv_ThrowAbstractMethodError): Declare.
3640 * link.cc (_Jv_ThrowAbstractMethodError): Renamed. No longer
3642 (append_partial_itable): Use it.
3643 (set_vtable_entries): Likewise.
3645 2005-06-15 Tom Tromey <tromey@redhat.com>
3647 * gnu/gcj/runtime/SystemClassLoader.java (init): Clear
3648 last_was_sep in loop.
3650 2005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3652 * configure.host: Handle Solaris 10/x86.
3654 2005-06-14 Keith Seitz <keiths@redhat.com>
3656 * gnu/classpath/jdwp/id/JdwpIdFactory.java: New file.
3657 * gnu/classpath/jdwp/processor/PacketProcessor.java: New file.
3659 2005-06-14 Keith Seitz <keiths@redhat.com>
3661 * gnu/classpath/jdwp/id/ArrayId.java: New file.
3662 * gnu/classpath/jdwp/id/ArrayReferenceTypeId.java: New file.
3663 * gnu/classpath/jdwp/id/ClassLoaderId.java: New file.
3664 * gnu/classpath/jdwp/id/ClassObjectId.java: New file.
3665 * gnu/classpath/jdwp/id/ClassReferenceTypeId.java: New file.
3666 * gnu/classpath/jdwp/id/InterfaceReferenceTypeId.java: New file.
3667 * gnu/classpath/jdwp/id/JdwpId.java: New file.
3668 * gnu/classpath/jdwp/id/ObjectId.java: New file.
3669 * gnu/classpath/jdwp/id/ReferenceTypeId.java: New file.
3670 * gnu/classpath/jdwp/id/StringId.java: New file.
3671 * gnu/classpath/jdwp/id/ThreadGroupId.java: New file.
3672 * gnu/classpath/jdwp/id/ThreadId.java: New file.
3674 2005-06-14 Tom Tromey <tromey@redhat.com>
3677 * configure, aclocal.m4, Makefile.in: Rebuilt.
3679 2005-06-14 Tom Tromey <tromey@redhat.com>
3681 * java/lang/Class.java (getClasses): New method.
3682 (internalGetClasses): Likewise.
3683 (getClassLoader): Updated documentation.
3684 (getDeclaredClasses): New overload; old overload no longer
3686 (_getConstructors): Removed.
3687 (resourcePath): Updated.
3688 * java/lang/natClass.cc (getClasses): Removed.
3689 * java/lang/Class.h (getDeclaredClasses, getDeclaredConstructors):
3691 (_getConstructors): Removed.
3693 2005-06-13 Jim Huang <jserv@kaffe.org>
3696 * jni.cc (_Jv_JNI_NewObjectV): Use chars() method.
3697 (_Jv_JNI_NewObject): Likewise.
3699 2005-06-13 Tom Tromey <tromey@redhat.com>
3702 * testsuite/libjava.lang/pr21844.java: New file.
3703 * testsuite/libjava.lang/pr21844.out: New file.
3705 2005-06-08 Bryce McKinlay <mckinlay@redhat.com>
3708 * java/rmi/server/RMIClassLoader.java (getClassLoader): Make public.
3711 2005-06-08 Ziga Mahkovec <ziga.mahkovec@klika.si>
3713 * java/text/MessageFormat.java (parse): When parsing strings, check
3714 for an empty pattern trailer.
3716 2005-06-06 Keith Seitz <keiths@redhat.com>
3718 * gnu/classpath/jdwp/util/Signature.java: New file.
3719 * gnu/classpath/jdwp/transport/JdwpConnection.java: New file.
3721 2005-06-05 Anthony Green <green@redhat.com>
3723 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Fix case
3726 2005-06-04 Anthony Green <green@redhat.com>
3728 * java/net/URLClassLoader.java: import gnu.gcj.Core,
3729 and gnu.java.net.protocol.core.CoreInputStream.
3730 (CureURLLoader): New class.
3731 (CoreResource): New class.
3732 (addURLImpl): Add special treatment for the "core" protocol.
3733 * gnu/gcj/natCore.cc (find): New method.
3734 * gnu/gcj/Core.java (find): New method.
3736 2005-06-03 Keith Seitz <keiths@redhat.com>
3738 * gnu/classpath/jdwp/transport/ITransport.java: New file.
3739 * gnu/classpath/jdwp/transport/SocketTransport.java: New file.
3740 * gnu/classpath/jdwp/transport/TransportFactory.java: New file.
3742 2005-06-03 Andreas Tobler <a.tobler@schweiz.ch>
3744 * jawt.c: Remove malloc.h, covered by stdlib.h.
3746 * testsuite/libjava.jni/jni.exp
3747 (gcj_jni_invocation_compile_c_to_binary): Add -bind_at_load to silence
3750 2005-06-02 Keith Seitz <keiths@redhat.com>
3752 * gnu/classpath/jdwp/transport/TransportException.java: New file.
3754 2005-06-02 Andreas Tobler <a.tobler@schweiz.ch>
3756 * mauve-libgcj: Remove implemented classes from the fail section.
3757 Add two new not implemented to it.
3759 2005-06-01 Bryce McKinlay <mckinlay@redhat.com>
3761 * configure.ac (BACKTRACESPEC): Remove definition, but continue to
3762 AC_SUBST definition from configure.host.
3763 * configure.host: Don't use -fno-omit-frame-pointer. Set BACKTRACESPEC
3764 to -fomit-frame-pointer on 32-bit x86 targets.
3766 2005-06-01 Tom Tromey <tromey@redhat.com>
3768 * java/io/ObjectInputStream.java (currentLoader): Fixed typo.
3770 2005-06-01 Ziga Mahkovec <ziga.mahkovec@klika.si>
3773 * gnu/regexp/RESyntax.java (RE_POSSESSIVE_OPS): New field.
3774 (static): Add possessive matching to JAVA_1_4 syntax.
3775 * gnu/regexp/RETokenRepeated.java (possessive): New field.
3776 (makePossessive, isPossessive): New methods.
3777 (match): Don't back off during possessive matching.
3778 * gnu/regexp/RE.java (initalize): Accept possessive quantifier.
3779 * java/util/regex/Pattern.java (constructor): Switch syntax from PERL5
3782 2005-06-01 Keith Seitz <keiths@redhat.com>
3784 * gnu/classpath/jdwp/transport/JdwpPacket.java: New file.
3785 * gnu/classpath/jdwp/transport/JdwpCommandPacket.java: New file.
3786 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New file.
3788 2005-06-01 Tom Tromey <tromey@redhat.com>
3791 * java/io/natObjectInputStream.cc (currentClassLoader): Removed.
3792 (currentLoader): New method.
3793 * java/io/ObjectInputStream.java (resolveProxyClass): Use
3795 (currentLoader): Now native.
3796 (currentClassLoader): Removed.
3797 * testsuite/libjava.lang/pr21785.java: New file.
3798 * testsuite/libjava.lang/pr21785.out: New file.
3800 2005-06-01 Tom Tromey <tromey@redhat.com>
3803 * java/lang/natString.cc (substring): Changed sharing heuristic.
3805 2005-05-30 Bryce McKinlay <mckinlay@redhat.com>
3808 * gnu/java/nio/channels/natFileChannelPosix.cc (open): Don't use
3809 MAXPATHLEN. Format exception message using a StringBuffer instead.
3811 2005-05-29 Michael Koch <konqueror@gmx.de>
3814 * java/util/LinkedHashMap.java (access): Set 'root.pred'.
3816 2005-05-27 Ziga Mahkovec <ziga.mahkovec@klika.si>
3818 * ChangeLog: Fix typo.
3820 2005-05-26 Ranjit Mathew <rmathew@hotmail.com>
3822 Testsuite adjustments for PR java/19870.
3823 * testsuite/libjava.lang/PR19870.java: New testcase.
3824 * testsuite/libjava.lang/PR19870.out: Expected output for the
3826 * testsuite/libjava.jacks/jacks.xfail: Add
3827 8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2
3830 2005-05-26 Bryce McKinlay <mckinlay@redhat.com>
3832 * include/jvm.h (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER): New.
3833 (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed.
3834 (OLD_GCJ_40_BC_ABI_VERSION): Renamed. Old-style version ID for BC-ABI
3836 (GCJ_CXX_ABI_VERSION): Renamed from GCJ_ABI_VERSION.
3837 (GCJ_40_BC_ABI_VERSION): New. Calculate version IDs using new method.
3838 (_Jv_CheckABIVersion): Check for both old and new style version IDs.
3839 (_Jv_ClassForBootstrapLoader): Use FLAG_BOOTSTRAP_LOADER.
3841 2005-05-25 Richard Henderson <rth@redhat.com>
3844 * sysdep/descriptor-n.h: New file.
3845 * sysdep/descriptor-y.h: New file.
3846 * sysdep/powerpc/descriptor.h: New file.
3847 * configure.host: Set $descriptor_h appropriate for the host.
3848 * configure.ac: Link it.
3849 * configure: Regenerate.
3850 * stacktrace.cc: Include sysdep/descriptor.h.
3851 (_Jv_StackTrace::UpdateNCodeMap): Use UNWRAP_FUNCTION_DESCRIPTOR.
3853 2005-05-25 Chris Burdess <dog@gnu.org>
3855 * gnu/xml/dom/ls/SAXEventSink.java: Ignore XML entities in start/
3856 end entity callbacks.
3858 2005-05-24 Gary Benson <gbenson@redhat.com>
3861 * java/text/MessageFormat.java (MessageFormatElement.setLocale):
3862 Handle DateFormat.DEFAULT case correctly.
3864 2005-05-21 Tom Tromey <tromey@redhat.com>
3867 * java/lang/ref/natReference.cc (find_slot): Handle case where
3868 table has no NULL entries.
3869 * java/lang/natString.cc (_Jv_StringFindSlot): Handle case where
3870 table has no NULL entries.
3872 2005-05-22 Andreas Jaeger <aj@suse.de>
3874 * java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to
3877 2005-05-21 Ranjit Mathew <rmathew@hotmail.com>
3879 * testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.
3881 2005-05-19 Richard Henderson <rth@redhat.com>
3883 * exception.cc: Revert 05-17 gcc_unreachable change.
3885 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
3887 * java/lang/natClassLoader.cc (_Jv_NewClass): Use
3888 _Jv_RegisterInitiatingLoader to register array classes, not
3890 (_Jv_RegisterInitiatingLoader): Give up if called very early during
3891 bootstrapping. Add a FIXME to handle this case better.
3893 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
3895 * Makefile.am (libgcj0_convenience_la): Removed. Don't build a libgcj
3896 convenience library.
3897 (libgcj_la_SOURCES): New. Move sources here.
3898 (libgcj.la): Remove rule.
3900 2005-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
3903 * gnu/java/security/provider/DSASignature.java: Import updates
3906 2005-05-18 Anthony Green <green@redhat.com>
3908 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock,
3909 classpath_jawt_object_unlock, classpath_jawt_create_lock,
3910 classpath_jawt_destroy_lock): New functions.
3911 * jni/classpath/classpath_jawt.h (classpath_jawt_object_lock,
3912 classpath_jawt_object_unlock, classpath_jawt_create_lock,
3913 classpath_jawt_destroy_lock): New functions.
3914 * include/jawt.h (struct _JAWT_DrawingSurface): Add lock
3916 * jawt.c: #include malloc.h.
3917 (_Jv_Lock): Use lock.
3918 (_Jv_Unlock): Ditto.
3919 (_Jv_GetDrawingSurface): Initialize lock.
3920 (_Jv_FreeDrawingSurface): Destroy lock.
3921 (_Jv_FreeDrawingSurfaceInfo): Free platformInfo.
3923 2005-05-18 Paolo Bonzini <bonzini@gnu.org>
3925 * Makefile.am (Makefile.deps): Do not use \0, it is unportable.
3926 * Makefile.in: Regenerate.
3928 2005-05-17 Kelley Cook <kcook@gcc.gnu.org>
3930 * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
3931 Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
3932 * aclocal.m4, configure, config.h.in, include/config.h.in,
3933 Makefile.in, include/Makefile.in, testsuite/Makefile.in,
3934 external/Makefile.in, external/sax/Makefile.in,
3935 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
3937 2005-05-17 David Daney <ddaney@avtrex.com>
3940 * testsuite/libjava.lang/Process_3.java (run): Exit on error.
3942 2005-05-17 Nathan Sidwell <nathan@codesourcery.com>
3944 * exception.cc (abort): Remove std::abort hack.
3945 (gcc_unreacheable): Define.
3947 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
3949 * Makefile.am (Makefile.deps): Do not create native.list and
3951 (all_native_compiled_dirs, all_java_dirs): Compute dir list here.
3952 * Makefile.in: Regenerate.
3954 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
3956 * configure.ac (--enable-libgcj-multifile): Remove.
3958 * Makefile.am (all_native_compiled_source_files,
3959 (all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
3960 all_libgcj_lo_files, all_xlib_lo_files,
3961 all_java_deps_files, all_java_stamp_files,
3962 all_java_filelist_files): New variables.
3963 (EXTRA_DIST): New Automake variable.
3964 (CLEANFILES): Add .stamp, .list and .lo files.
3965 (%.list, %.lo, %.stamp, Makefile.deps): New rules.
3966 (classes.stamp): Depend on $(all_java_stamp_files).
3967 (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
3968 going through write_entries_to_file.
3970 (all_java_source_files, all_property_files): Move earlier.
3971 (libgcj_la_OBJECTS, javao_files, xlib_javao_files,
3972 all_java_class_files): Remove.
3973 (gtk_awt_peer_sources): Rename to...
3974 (gtk_awt_peer_source_files): ... this. Adjust throughout.
3977 (libgcj0_convenience_la_SOURCES): Remove Java source files.
3978 (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
3979 (libgcj0_convenience_la_DEPENDENCIES): Likewise.
3980 (libgcj_la_SOURCES): Remove.
3981 (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
3982 (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
3983 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
3985 * configure: Regenerate.
3986 * Makefile.in: Regenerate.
3987 * external/Makefile.in: Regenerate.
3988 * external/sax/Makefile.in: Regenerate.
3989 * external/w3c_dom/Makefile.in: Regenerate.
3990 * gcj/Makefile.in: Regenerate.
3991 * include/Makefile.in: Regenerate.
3992 * libltdl/Makefile.in: Regenerate.
3993 * testsuite/Makefile.in: Regenerate.
3995 2005-05-16 Tom Tromey <tromey@redhat.com>
3997 * java/nio/charset/Charset.java (encode, decode): Synchronize on
3998 'this', not the class.
4000 2005-05-16 Tom Tromey <tromey@redhat.com>
4002 * gnu/java/net/protocol/http/Headers.java (parse): Include final
4005 2005-05-16 Tom Tromey <tromey@redhat.com>
4008 * java/net/URI.java (unquote): Handle lower-case letters as well.
4010 2005-05-16 Ziga Mahkovec <ziga.mahkovec@klika.si>
4013 * gnu/regexp/RE.java: Add support for quoting constructs.
4015 2005-05-15 Tom Tromey <tromey@redhat.com>
4017 * java/lang/String.java (startsWith): Fixed javadoc.
4019 2005-05-15 Tom Tromey <tromey@redhat.com>
4022 * testsuite/libjava.compile/pr21519.java: New file.
4023 * testsuite/libjava.compile/pr21519.no-link: New file.
4025 2005-05-15 Tom Tromey <tromey@redhat.com>
4027 * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
4029 2005-05-13 Bryce McKinlay <mckinlay@redhat.com>
4032 * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
4033 interrupt status flag if _Jv_CondWait is interrupted.
4035 2005-05-13 Tom Tromey <tromey@redhat.com>
4037 * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
4040 2005-05-12 Bryce McKinlay <mckinlay@redhat.com>
4042 * include/jvm.h (gcj::verifyClasses): Declare.
4043 * link.cc (gcj::verbose_class_flag): Moved.
4044 * prims.cc (gcj::verifyClasses): Define here.
4045 (gcj::verbose_class_flag): Move definition here.
4046 (_Jv_Linker::wait_for_state): Don't call verify_class
4047 if gcj::verifyClasses is not set.
4048 * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.
4050 2005-05-12 Aaron Luchko <aluchko@redhat.com>
4052 * gij.cc (main): Recognize '-verify', '-noverify', and
4055 2005-05-12 Kaz Kojima <kkojima@gcc.gnu.org>
4057 * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
4059 2005-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
4061 * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
4064 2005-05-11 Tom Tromey <tromey@redhat.com>
4066 * external/w3c_dom/Makefile.in: Rebuilt.
4067 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
4068 -fbootstrap-classes.
4069 * external/sax/Makefile.in: Rebuilt.
4070 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
4071 -fbootstrap-classes.
4072 * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
4074 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
4075 Call _Jv_CopyClassesToSystemLoader.
4076 * java/lang/natClassLoader.cc (system_class_list): New global.
4077 (_Jv_RegisterClassHookDefault): Handle bootstrap and system
4078 classes differently.
4079 (_Jv_CopyClassesToSystemLoader): New function.
4080 (SYSTEM_LOADER_INITIALIZED): New define.
4081 * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
4082 (_Jv_CheckABIVersion): Use it.
4083 (_Jv_ClassForBootstrapLoader): New function.
4084 * Makefile.in: Rebuilt.
4085 * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
4087 2005-05-10 Tom Tromey <tromey@redhat.com>
4089 * gcj/javaprims.h: Updated.
4090 * java/lang/String.java (String(StringBuilder)): New constructor.
4091 * java/lang/natStringBuilder.cc: New file.
4092 * java/lang/StringBuilder.java: New file.
4093 * Makefile.in: Rebuilt.
4094 * Makefile.am (core_java_source_files): Added StringBuilder.java.
4095 (nat_source_files): Added natStringBuilder.cc.
4097 2005-05-10 Paolo Bonzini <bonzini@gnu.org>
4100 * testsuite/libjava.jacks/jacks.xfail: Adjust.
4102 2005-05-09 Mike Stump <mrs@apple.com>
4104 * configure: Regenerate.
4106 2005-05-09 David Daney <ddaney@avtrex.com>
4108 * java/util/BitSet.java (get(int, int)): Fix breakage when
4109 requested set doesn't start on a multiple of 64.
4111 2005-05-07 Matthias Klose <doko@debian.org>
4113 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
4115 2005-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
4117 * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
4118 * Makefile.in: Regenerate.
4119 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
4120 (createCompatibleVolatileImage(int,int)): Implement.
4121 (createCompatibleVolatileImage(int,int,ImageCapabilities)):
4123 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
4125 (createVolatileImage): Implement.
4126 (createBuffers): Likewise.
4127 (getBackBuffer): Likewise.
4129 (destroyBuffers): Likewise.
4130 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
4131 * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
4132 (CanvasFlipBufferStrategy): Likewise.
4133 (createBufferStrategy(int)): New method.
4134 (createBufferStrategy(int,BufferCapabilities)): Likewise.
4135 * java/awt/Component.java (BltBufferStrategy): Implement and
4137 (FlipBufferStrategy): Likewise.
4138 * java/awt/Window.java (WindowBltBufferStrategy): New class.
4139 (WindowFlipBufferStrategy): Likewise.
4140 (createBufferStrategy(int)): New method.
4141 (createBufferStrategy(int,BufferCapabilities)): Likewise.
4142 (getBufferStrategy): Likewise.
4143 * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
4144 front to frontCaps and back to backCaps.
4146 2005-05-06 Michael Koch <konqueror@gmx.de>
4148 * java/awt/BufferCapabilities.java
4149 (BufferCapabilities): Merged javadoc.
4151 2005-05-06 Michael Koch <konqueror@gmx.de>
4153 * java/util/Locale.java
4154 (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
4155 (getLocale): New methods. Use it everywhere where instances of Locales
4157 (getDisplayLanguage): Merged javadoc.
4158 (getDisplayCountry): Likewise.
4159 (getDisplayVariant): Likewise.
4161 2005-05-06 Archie Cobbs <archie@dellroad.org>
4163 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
4164 use DeleteLocalRef() to avoid exhausting local native references.
4166 2005-05-06 Mark Wielaard <mark@klomp.org>
4168 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
4169 (window_delete_cb): Don't use C++ style comments.
4171 2005-05-06 Robert Schuster <thebohemian@gmx.net>
4173 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
4176 2005-05-06 Robert Schuster <thebohemian@gmx.net>
4178 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
4179 (window_delete_cb): Made the function return TRUE.
4181 2005-05-06 Roman Kennke <roman@kennke.org>
4183 * javax/swing/text/PlainView.java
4184 (drawUnselectedText): Call Utilities.drawTabbedText() with correct
4186 * javax/swing/text/Utilities.java
4187 (drawTabbedText): Initilialize local variable pos correctly.
4189 2005-05-06 Roman Kennke <roman@kennke.org>
4191 * javax/swing/text/AbstractDocument.java
4192 (LeafElement): Made start and end package private fields for
4193 effective reindexing.
4194 * javax/swing/text/PlainDocument.java
4195 (constructor): The field rootElement is always BranchElement,
4196 so we handle it as such.
4197 (removeUpdate): Rewritten reindexing for removeUpdate so that
4198 the actual removal is taken into account.
4200 2005-05-06 Roman Kennke <roman@kennke.org>
4202 * javax/swing/text/GapContent.java:
4203 Removed debugging output stuff, which I accidentally left in.
4205 2005-05-06 Roman Kennke <roman@kennke.org>
4207 * javax/swing/text/GapContent.java:
4208 Implemented a real GapContent. Only the public methods have
4209 been implemented so far and still no UndoableEdit support.
4211 2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
4213 * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
4216 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
4218 * java/awt/image/BufferStrategy.java: Document.
4220 * java/awt/BufferCapabilities.java: Document.
4222 2005-05-04 Tom Tromey <tromey@redhat.com>
4224 * java/nio/channels/FileLock.java (toString): Entirely avoid
4227 2005-05-04 Andrew Overholt <overholt@redhat.com>
4229 * java/nio/channels/FileLock.java (toString): Re-implement using
4232 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
4234 * java/awt/ImageCapabilities.java: Document.
4236 * java/awt/image/VolatileImage.java: Unindent copyright header.
4238 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
4240 * java/awt/image/VolatileImage.java: Document.
4242 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
4244 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
4245 (init_glib_threads): Check if threading system is already
4248 2005-05-03 Andrew Overholt <overholt@redhat.com>
4251 * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
4252 could not be acquired.
4253 * java/nio/channels/FileLock.java (toString): Re-implement to be
4254 in line with other implementations.
4256 2005-05-03 Tom Tromey <tromey@redhat.com>
4258 * java/lang/VMSecurityManager.java (currentClassLoader): Use
4259 'systemClasssLoader' directly.
4261 2005-05-03 Tom Tromey <tromey@redhat.com>
4263 * java/lang/VMSecurityManager.java (currentClassLoader): Don't
4264 call VMClassLoader.getSystemClassLoader.
4266 2005-04-29 Michael Koch <konqueror@gmx.de>
4268 * java/net/NetworkInterface.java
4270 (NetworkInterface(String,InetAddress)): Made package-private.
4271 (NetworkInterface(String,InetAddress[])): New constructor.
4272 (getRealNetworkInterfaces): Removed.
4273 (getByName): Use VMNetworkInterface.getInterfaces().
4274 (getByInetAddress): Likewise.
4275 (getNetworkInterfaces): Likewise.
4276 * java/net/VMNetworkInterface.java,
4277 java/net/natVMNetworkInterfaceNoNet.cc,
4278 java/net/natVMNetworkInterfacePosix.c,c
4279 java/net/natVMNetworkInterfaceWin32.cc: New files.
4280 * java/net/natNetworkInterfaceNoNet.cc,
4281 java/net/natNetworkInterfacePosix.cc,
4282 java/net/natNetworkInterfaceWin32.cc: Removed.
4285 * configure, Makefile.in: Regenerated.
4287 2005-04-29 Andrew Haley <aph@redhat.com>
4289 * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
4291 2005-04-29 Dalibor Topic <robilad@kaffe.org>
4293 * java/nio/channels/FileChannelImpl.java
4294 (FileChannelImpl(String, int)): Removed.
4295 (FileChannelImpl(File, int)): Added. Check if opened file is a
4297 * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
4298 Call FileChannelImpl(File, int).
4299 * java/io/FileOutputStream.java (FileInputStream): Call
4300 FileChannelImpl(File, int).
4301 * java/io/RandomAccessFile.java (RandomAccessFile):
4302 Call FileChannelImpl(File, int). Switched constructors around.
4304 2005-04-27 Andrew Haley <aph@redhat.com>
4307 * prims.cc (_Jv_ResolvePoolEntry): New function.
4308 * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
4309 * link.cc (_Jv_Linker::find_field): New arg: found_class.
4310 (resolve_pool_entry): Initialize the class in which a field is
4312 (link_symbol_table): Pass new arg to found_class.
4314 2005-04-29 Michael Koch <konqueror@gmx.de>
4316 * java/nio/charset/Charset.java
4317 (provider): Reformatted.
4319 2005-04-29 Michael Koch <konqueror@gmx.de>
4321 * gnu/java/net/protocol/http/HTTPConnection.java:
4322 (userAgent): Initialize from system properties.
4323 (initUserAgent): Removed.
4325 2005-04-29 Mark Wielaard <mark@klomp.org>
4327 * java/util/ResourceBundle.java (getObject): Clarify
4328 MissingResourceException detailed message.
4329 (tryBundle(String,ClassLoader)): Likewise.
4331 2005-04-29 Robert Schuster <thebohemian@gmx.net>
4333 * java/beans/FeatureDescriptor.java:
4334 (getShortDescription): Implemented fallback mechanism and fixed
4335 documentation (fixes bug #12637).
4336 (getDisplayName): Dito.
4338 2005-04-29 Robert Schuster <thebohemian@gmx.net>
4340 * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
4341 will now be set correctly.
4342 (flushCaches): Now flushes all cached intermediate data.
4344 2005-04-28 Michael Koch <konqueror@gmx.de>
4346 * java/net/InetAddress.java
4347 (aton): Fixed javadoc.
4350 2005-04-28 Tom Tromey <tromey@redhat.com>
4352 * javax/swing/Timer.java
4353 (drainEvents, queueEvent): Now package-private.
4355 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
4357 * javax/swing/Timer.java
4358 (constructor): Assigning initialDelay.
4360 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
4362 * javax/swing/Timer.java
4363 (Waker.run): firing the first action event.
4365 2005-04-28 Michael Koch <konqueror@gmx.de>
4367 * javax/swing/Timer.java: Reordered all fields and methods,
4368 Added more javadocs.
4370 2005-04-28 Michael Koch <konqueror@gmx.de>
4372 * javax/swing/Timer.java: Javadocs merged
4375 2005-04-28 Jeroen Frijters <jeroen@frijters.net>
4377 * gnu/java/net/protocol/file/Connection.java
4378 (StaticData): New inner class to contain statics.
4379 (connect, getHeaderField): Modified to use StaticData.
4381 2005-04-28 Michael Koch <konqueror@gmx.de>
4383 * gnu/java/net/protocol/file/Connection.java
4384 (lineSeparator): Initialize with SystemProperties.getProperty().
4386 2005-04-27 Chris Burdess <dog@gnu.org>
4388 * gnu/java/net/protocol/file/Connection.java: Return correct content
4389 length for directory listing.
4390 * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
4391 #11285: return valid URLs for directories.i
4393 2005-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
4395 * Makefile.am (ordinary_java_source_files): Add
4396 gnu/java/net/protocol/https/Handler.java.
4397 * Makefile.in: Regenerate.
4398 * java/net/URL.java: Remove org.metastatic.jessie from default
4399 protocol search path.
4401 2005-04-27 Chris Burdess <dog@gnu.org>
4403 * gnu/java/net/protocol/https/Handler.java: New file.
4405 2005-04-27 Jeroen Frijters <jeroen@frijters.net>
4407 * javax/imageio/spi/IIORegistry.java (IIORegistry):
4408 Don't assume that awt Toolkit is always ClasspathToolkit.
4410 2005-04-27 Chris Burdess <dog@gnu.org>
4412 * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
4413 absolute and relative paths in Location header.
4415 2005-04-27 Chris Burdess <dog@gnu.org>
4417 * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
4418 FileNotFoundException and implement getErrorStream on 404.
4420 2005-04-27 Sven de Marothy <sven@physto.se>
4422 * java/util/TimeZone.java,
4423 (getDefaultDisplayName): Fix previous fix.
4425 2005-04-27 Sven de Marothy <sven@physto.se>
4427 * java/util/TimeZone.java,
4428 (getDefaultDisplayName): Don't print zero offsets.
4430 2005-04-27 Roman Kennke <roman@kennke.org>
4432 * javax/swing/plaf/basic/BasicScrollBarUI
4433 (getThumbBounds): Do not make thumb smaller than
4435 * javax/swing/plaf/metal/MetalLookAndFeel
4436 (initComponentDefaults): Added color defaults for ScrollBar.
4437 * javax/swing/plaf/metal/MetalScrollBarUI
4438 (paintThumb): Added.
4439 (getMinimumThumbSize): Added.
4441 2005-04-27 Roman Kennke <roman@kennke.org>
4443 * javax/swing/plaf/metal/MetalLookAndFeel
4444 (initComponentDefaults): Added some default colors.
4446 2005-04-27 Roman Kennke <roman@kennke.org>
4448 * javax/swing/plaf/basic/BasicScrollBarUI.java
4449 (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
4450 to 'ScrollBar.thumbShadow'. The formes does not exist.
4451 (paintThumb): Use BasicGraphicsUtils for painting the thumb.
4453 2005-04-27 Roman Kennke <roman@kennke.org>
4455 * java/awt/MediaTracker.java: Added 2005 to copyright statement.
4456 * javax/swing/BoxLayout.java: Likewise.
4457 * javax/swing/UIManager.java: Likewise.
4458 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
4459 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
4460 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
4461 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
4462 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
4463 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
4464 * javax/swing/text/Document.java: Likewise.
4465 * javax/swing/text/GapContent.java: Likewise.
4466 * javax/swing/text/SimpleAttributeSet.java: Likewise.
4467 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
4469 2005-04-27 Roman Kennke <roman@kennke.org>
4471 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
4472 (getPropertyPrefix): Added.
4474 2005-04-27 Roman Kennke <roman@kennke.org>
4476 * javax/swing/plaf/basic/BasicButtonUI.java
4477 (getPropertyPrefix): Added.
4478 (installDefaults): Use getPropertyPrefix instead of hard-coded
4481 2005-04-27 Roman Kennke <roman@kennke.org>
4483 * javax/swing/JToggleButton.java
4484 (JToggleButton): Removed horizontalAlignment setting, this
4485 was wrong. Added setting of an actionCommand, ToggleButtons
4486 have "" as default actionCommand.
4488 2005-04-27 Michael Koch <konqueror@gmx.de>
4490 * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
4491 to work around CNI limitation.
4493 2005-04-27 Sven de Marothy <sven@physto.se>
4495 * java/nio/charset/Charset.java:
4496 (defaultCharset()): New method.
4497 Status updated to 1.5
4499 2005-04-27 Sven de Marothy <sven@physto.se>
4501 * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
4503 2005-04-27 Sven de Marothy <sven@physto.se>
4505 * java/nio/charset/Charset.java: Reset cached de/encoders.
4507 2005-04-27 Robert Schuster <thebohemian@gmx.net>
4509 * java/nio/charset/Charset.java (forName): Throws
4510 IllegalArgumentException when argument is null
4511 and added documentation.
4513 2005-04-27 Ito Kazumitsu <kaz@maczuka.gcd.org>
4515 * java/nio/charset/Charset.java (providers):
4516 New method to make an array of CharsetProviders defined in
4517 META-INF/services/java.nio.charset.spi.CharsetProvider.
4518 (charsetForName, availableCharsets): Use the
4519 new method providers().
4521 2005-04-26 Michael Koch <konqueror@gmx.de>
4523 * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
4524 Fixed typos in javadocs.
4525 (isSiteLocalAddress): Fixed handling of byte values.
4526 (isMCLinkLocal): Likewise.
4527 * java/net/Inet4Address.java
4528 (isMulticastAddress): Call super method.
4529 (isLoopbackAddress): Likewise.
4530 (isAnyLocalAddress): Likewise.
4531 (isLinkLocalAddress): Likewise.
4532 (isSiteLocalAddress): Likewise.
4533 (isMCGlobal): Likewise.
4534 (isMCNodeLocal): Likewise.
4535 (isMCLinkLocal): Likewise.
4536 (isMCSiteLocal): Likewise.
4537 (isMCOrgLocal): Likewise.
4538 (getHostAddress): Likewise.
4540 2005-04-26 Sven de Marothy <sven@physto.se>
4542 * java/net/InetAddress.java
4543 (toString): Don't print empty hostnames.
4545 2005-04-26 Luca Barbieri <luca.barbieri@gmail.com>
4548 * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
4549 'false' to native lock().
4550 (lock): Pass 'true' to native lock().
4552 2005-04-26 Michael Koch <konqueror@gmx.de>
4554 * java/net/InetAddress.java:
4555 Fixed typos in javadocs.
4557 2005-04-26 Andrew Haley <aph@redhat.com>
4560 * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
4563 2005-04-26 Tom Tromey <tromey@redhat.com>
4565 * javax/swing/text/html/parser/ParserDelegator.java (callBack,
4566 gnu): Now package-private.
4567 * javax/swing/text/html/parser/DocumentParser.java (parser,
4568 callBack, gnu): Now package-private.
4569 * javax/swing/text/StringContent.java (content, setOffset,
4570 checkLocation): Now package-private.
4571 * javax/swing/text/JTextComponent.java (doc): Now
4573 * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
4574 lastGoodOrientation, origParent, borders, cachedBounds,
4575 cachedOrientation, DragWindow): Now package-private.
4576 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
4577 decrButton, viewport, panel, currentScrollLocation, layoutManager,
4578 tabAreaRect, contentRect, createIncreaseButton,
4579 createDecreaseButton, findPointForIndex): Now package-private.
4580 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
4581 (currentDividerLocation, moveDividerTo): Now package-private.
4582 * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
4584 * javax/swing/plaf/basic/BasicScrollBarUI.java
4585 (calculatePreferredSize, valueForYPosition, valueForXPosition):
4586 Now package-private.
4587 * javax/swing/plaf/basic/BasicPopupMenuUI.java
4588 (topWindowListener): Now package-private.
4589 * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
4590 OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
4591 (messageAreaContainer, buttonContainer, resetSelectedValue): Now
4593 * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
4595 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
4596 Now package-private.
4597 * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
4599 * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
4600 borderInsets): Now package-private.
4601 (arrowButtonWidth): Likewise. Now a constant.
4602 * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
4603 makeTabs, updatePreviewPanel): Now package-private.
4604 * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
4605 darkShadow, highlight): Now package-private.
4606 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
4607 (addColorToQueue): Now package-private.
4608 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
4609 (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
4610 GSpinner, BSpinner): Now package-private.
4611 * javax/swing/colorchooser/DefaultHSBChooserPanel.java
4612 (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
4613 hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
4614 spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
4615 updateTrack): Now package-private.
4616 * javax/swing/TransferHandler.java (clipboard): Now
4618 * javax/swing/ToolTipManager.java (showTip, hideTip): Now
4620 * javax/swing/Timer.java (drainEvents, queueEvent): Now
4622 * javax/swing/RepaintManager.java (globalManager): Now
4624 * javax/swing/JFormattedTextField.java (editValid): Now
4626 * javax/swing/JColorChooser.java (makeModal): Now
4628 * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
4629 index, path): Now package-private.
4630 * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
4631 lineQuadIntersect, lineCubicIntersect, linesIntersect,
4632 pointEquals): Now package-private.
4633 * java/awt/geom/Arc2D.java (type): Now package-private.
4634 * java/awt/Window.java (windowFocusOwner): Now package-private.
4635 * java/awt/TextComponent.java (editable, selectionStart,
4636 selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
4638 * java/awt/MenuItem.java (actionCommand, enabled, label): Now
4640 * java/awt/MenuComponent.java (focusListener): Now
4642 * java/awt/Frame.java (state): Now package-private.
4643 * java/awt/Choice.java (pItems): Now package-private.
4644 * java/awt/Checkbox.java (state): Now package-private.
4645 * java/awt/Button.java (actionCommand, label): Now
4647 * gnu/javax/swing/text/html/parser/support/Parser.java
4648 (attributes, _handleEndTag_remaining, _handleStartTag): Now
4650 * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
4652 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
4653 clip, transform, font, comp): Now package-private.
4655 2005-04-26 Tom Tromey <tromey@redhat.com>
4657 * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
4660 2005-04-26 Mark Wielaard <mark@klomp.org>
4662 * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
4663 to MalformedURLException.
4665 2005-04-26 Michael Koch <konqueror@gmx.de>
4667 * java/security/AccessControlContext.java:
4669 (protectedDomains): Renamed from 'protectionDomain'.
4670 * java/security/AccessController.java:
4673 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
4675 * gnu/java/security/action/GetSecurityPropertyAction.java
4676 (GetSecurityPropertyAction): Implement PrivilegedAction instead
4677 of extending GetPropertyAction.
4680 (setParamters): New methods.
4681 (GetSecurityPropertyAction): Use new setParameters methods.
4683 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
4685 * java/security/Security.java,
4686 java/security/cert/X509CRLSelector.java,
4687 java/security/cert/X509CertSelector.java:
4688 Modified to use SystemProperties.
4690 2005-04-26 Michael Koch <konqueror@gmx.de>
4692 * java/lang/System.java
4693 (setSecurityManager): Fixed comment.
4694 (getSecurityManager): Removed obsolete comment.
4696 2005-04-25 Tom Tromey <tromey@redhat.com>
4698 * java/awt/AWTKeyStroke.java (vktable): Now package-private.
4700 2005-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
4702 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4703 (connectSignals): Realize the window widget after connecting
4706 2005-04-25 Jeroen Frijters <jeroen@frijters.net>
4708 * java/awt/GraphicsEnvironment.java
4709 (localGraphicsEnvironment): New field.
4710 (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
4712 (isHeadless): Added support for java.awt.headless property.
4713 (isHeadlessInstance): Call headless().
4715 2005-04-25 Roman Kennke <roman@kennke.org>
4717 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
4718 (getDisplayMode): Added. Returns the current display mode.
4719 (isFullScreenSupported): Added.
4720 * java/awt/GraphicsDevice.java
4721 (setFullScreenWindow): Implemented a primitive fullscreen mode.
4722 This resizes and relocates the fullscreen window so that it uses
4723 the whole screen. This is not a fully accelerated fullscreen
4726 2005-04-25 Michael Koch <konqueror@gmx.de>
4728 * java/lang/Runtime.java,
4729 java/lang/SecurityManager.java,
4730 java/lang/System.java,
4731 java/lang/ThreadGroup.java:
4732 Replaced java.lang.Runtime.securityManager by
4733 java.lang.SecurityManager.current (as used in GNU classpath).
4735 2005-04-25 David Gilbert <david.gilbert@object-refinery.com>
4737 * java/awt/Transparency.java
4738 (getTransparency): fixed API docs.
4740 2005-04-25 Archie Cobbs <archie@dellroad.org>
4742 * java/lang/Throwable.java: simplify initializing cause in constructor
4744 2005-04-25 Michael Koch <konqueror@gmx.de>
4746 * gnu/classpath/SystemProperties.java: New file.
4747 * gnu/classpath/natSystemProperties.cc: New file.
4748 * java/lang/Runtime.java
4749 (defaultProperties): Removed.
4751 (): Made thrown exceptions more verbose.
4752 (insertSystemProperties): Removed.
4753 * java/lang/System.java
4755 (properties): Likewise.
4756 (setSecurityManager): Reordered modifiers.
4757 (getenv): Improved javadoc.
4759 (isWordsBigEndian): Removed.
4760 * java/lang/natRuntime.cc
4761 (_Jv_SetDLLSearchPath): Likewise.
4762 (file_encoding): Likewise.
4763 (default_file_encoding): Likewise.
4764 (getpwuid_adaptor): Likewise.
4765 (insertSystemProperties): Likewise.
4766 * java/lang/natSystem.cc
4767 (isWordsBigEndian): Likewise.
4769 (ordinary_java_source_files):
4770 Added gnu/classpath/SystemProperties.java.
4771 (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
4772 * Makefile.in: Regenerated.
4774 2005-04-25 Roman Kennke <roman@kennke.org>
4776 * javax/swing/plaf/basic/BasicScrollBarUI.java
4777 (initDefaults): Initialize thumb*Color fields correctly.
4779 2005-04-25 Roman Kennke <roman@kennke.org>
4781 * javax/swing/text/GapContent.java:
4784 2005-04-25 Roman Kennke <roman@kennke.org>
4786 * javax/swing/plaf/metal/MetalBorders.java:
4787 Added inner class ScrollPaneBorder.
4788 * javax/swing/plaf/metal/MetalLookAndFeel.java
4789 (initComponentDefaults): Added default for "ScrollPane.border"
4790 to use the new ScrollPaneBorder.
4792 2005-04-25 Roman Kennke <roman@kennke.org>
4794 * javax/swing/text/AbstractDocument.java:
4795 Added FIXME comments. This class still has to be
4796 implemented thread-safe.
4798 2005-04-25 Roman Kennke <roman@kennke.org>
4800 * javax/swing/tree/DefaultTreeSelectionModel.java
4801 (DefaultTreeSelectionModel): Initialize listenerList here.
4803 2005-04-25 Roman Kennke <roman@kennke.org>
4805 * javax/swing/plaf/metal/MetalTextFieldUI.java
4806 (createUI): Return one instance per Component instead of a
4809 2005-04-25 Roman Kennke <roman@kennke.org>
4811 * javax/swing/text/Document.java:
4812 Added API documentation comments.
4814 2005-04-25 Roman Kennke <roman@kennke.org>
4816 * javax/swing/text/AbstractDocument.java
4817 (getDocumentProperties): Implemented.
4818 (setDocumentProperties): Implemented.
4819 (getProperty): Implemented.
4820 (putProperty): Implemented.
4822 2005-04-25 Roman Kennke <roman@kennke.org>
4824 * javax/swing/BoxLayout
4825 (preferredLayoutSize): Fixed computation so that it correctly
4826 adds the top and bottom insets of the container.
4828 2005-04-25 Roman Kennke <roman@kennke.org>
4830 * javax/swing/plaf/basic/BasicMenuItemUI.java
4831 (paintText): Make use of the 'selectionForeground' UI default
4834 2005-04-25 Roman Kennke <roman@kennke.org>
4836 * javax/swing/plaf/basic/BasicLookAndFeel.java
4837 (initSystemColorDefaults): Modified colors to match the
4838 BasicLookAndFeel in the reference implementation.
4839 (initComponentDefaults): Likewise.
4841 2005-04-25 Tom Tromey <tromey@redhat.com>
4843 * include/jni.h (_Jv_va_list): Removed.
4844 Moved configuration code...
4845 * include/jni_md.h: ... here. New file.
4846 * include/Makefile.in: Rebuilt.
4847 * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
4849 2005-04-23 Jeroen Frijters <jeroen@frijters.net>
4851 * java/io/FileInputStream.java (FileInputStream(File)),
4852 java/io/FileOutputStream.java (FileOutputStream(File)):
4853 Removed unnecessary File.isDirectory() check.
4855 2005-04-22 Bryce McKinlay <mckinlay@redhat.com>
4857 * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
4858 gij if get_multilibs fails.
4860 2005-04-22 Anthony Green <green@redhat.com>
4862 * jni.cc (natrehash): Don't bother clearing memory again.
4863 * interpret.cc (do_allocate_static_fields): Ditto.
4864 * java/lang/natString.cc (rehash): Ditto.
4866 2005-04-22 Roman Kennke <roman@kennke.org>
4868 * javax/swing/plaf/basic/BasicLookAndFeel.java
4869 (initComponentDefaults): Changed Button.border to be
4870 BasicBorders.getButtonBorder as it should be.
4872 2005-04-22 Roman Kennke <roman@kennke.org>
4874 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
4875 (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
4876 should according to a mauve testcase, instead of the preferred
4879 2005-04-22 Roman Kennke <roman@kennke.org>
4881 * javax/swing/JMenu.java
4882 (add): add(Component) now calls PopupMenu.insert(..) instead of
4883 PopupMenu.add(..). add(..) is not implemented for Component,
4884 so JComponent.add(..) is called instead, adding the component
4887 2005-04-22 Roman Kennke <roman@kennke.org>
4889 * javax/swing/plaf/basic/BasicButtonListener.java
4890 (mousePressed): replaced query to getModifiersEx with getModifiers.
4891 This method relied on faulty behaviour in getModifierEx.
4892 (mouseReleased): replaced query to getModifiersEx with getModifiers.
4893 This method relied on faulty behaviour in getModifierEx.
4895 2005-04-22 Roman Kennke <roman@kennke.org>
4897 * javax/swing/plaf/metal/MetalLookAndFeel.java
4898 (getDefaults): Call addCustomEntriesToTable on the theme.
4900 2005-04-22 Roman Kennke <roman@kennke.org>
4902 * javax/swing/tree/DefaultTreeSelectionModel.java
4903 (constructor): Added implementation.
4904 (getRowMapper): Added implementation.
4905 (setSelectionMode): Added implementation.
4906 (getSelectionMode): Added implementation.
4907 (getSelectionPath): Added implementation.
4908 (getSelectionPaths): Added implementation.
4909 (getSelectionCount): Added implementation.
4910 (isSelectionEmpty): Added implementation.
4911 (getSelectionRows): Added implementation.
4912 (getMinSelectionRow): Added implementation.
4913 (getMaxSelectionRow): Added implementation.
4914 (getLeadSelectionRow): Added implementation.
4915 (getLeadSelectionPath): Added implementation.
4917 2005-04-22 Casey Marshall <csm@gnu.org>
4919 * gnu/java/security/der/DERValue.java
4920 (getValueAs): new method.
4921 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
4922 (<init>): read both dates with 'DERValue.getValueAs', with
4923 'GENERALIZED_TIME' as the argument.
4925 2005-04-22 Andrew Pinski <pinskia@physics.uc.edu>
4927 * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
4928 be null, check for that case and don't deference it.
4930 2005-04-22 Sven de Marothy <sven@physto.se>
4932 * java/util/logging/LogManager.java: Reformatted.
4933 (readConfiguration): If a logger for a key is not found, create one.
4935 2005-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
4937 * java/rmi/Naming.java:
4938 Added class documentation.
4939 (lookup(String)): Call parseURL and getName.
4940 (bind(String,java.rmi.Remote)): Likewise.
4941 (unbind(String)): Likewise.
4942 (rebind(String, java.rmi.Remote)): Likewise.
4943 (list(String)): Call parseURL.
4944 (parseURL(String)): New method to handle parsing and defaults.
4945 (getName(java.net.URL)): New method to handle finding the service name.
4947 2005-04-21 Tom Tromey <tromey@redhat.com>
4949 * java/lang/natClass.cc (initializeClass): Link class.
4951 2005-04-21 Tom Tromey <tromey@redhat.com>
4953 * java/lang/AssertionError.java: Typo fix.
4955 2005-04-21 Tom Tromey <tromey@redhat.com>
4957 * java/lang/VMClassLoader.java (transformException): Removed.
4958 (resolveClass): No longer native. Now does nothing.
4959 * java/lang/natVMClassLoader.cc (resolveClass): Removed.
4961 2005-04-21 Anthony Green <green@redhat.com>
4964 * testsuite/libjava.special/special.exp,
4965 testsuite/libjava.special/pr21115I.java,
4966 testsuite/libjava.special/pr21115.java,
4967 testsuite/libjava.special/pr21115.out: New files.
4969 2005-04-21 Chris Burdess <dog@gnu.org>
4971 * gnu/java/net/CRLFInputStream.java: Rewrite to return
4972 CRLF-delimited chunks.
4974 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
4976 * java/net/URI.java:
4977 Added class documentation.
4978 (parseURI(String)): Only handle scheme-specific parts
4979 if URI is not opaque. Allow for parts that can't be null.
4980 (toString()): Output the scheme-specific part whole, rather
4981 than as its possibly non-existent components.
4983 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
4985 * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
4986 (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
4987 Adjusted to match new regexp.
4989 2005-04-20 Michael Koch <konqueror@gmx.de>
4991 * gnu/java/net/protocol/file/Connection.java,
4992 gnu/java/net/protocol/jar/Connection.java:
4993 Reorganized import statements. Fixed @author tags.
4995 2005-04-20 Chris Burdess <dog@gnu.org>
4997 * java/io/DataOutputStream.java (writeUTF): Use block write for
5000 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
5002 * java/io/DataInputStream.java (ignoreInitialNewline): Removed
5003 (readLine): Changed newline handling.
5005 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
5007 * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
5008 ColorModel,byte[],int,int): Fixed byte to int conversion.
5010 2005-04-20 Michael Koch <konqueror@gmx.de>
5012 * java/io/FilePermission.java
5013 (serialVersionUID): Made private.
5014 (ALL_FILES): New constant.
5015 (implies): Handle '<<ALL FILES>>' case.
5017 2005-04-20 Sven de Marothy <sven@physto.se>
5019 * gnu/java/awt/peer/gtk/GdkGraphics.java:
5020 (drawImage): Don't notify the image observer for offscreen images.
5021 * gnu/java/awt/peer/gtk/GtkImagePainter.java:
5022 (setPixels): Don't notify the image observer.
5024 2005-04-20 Sven de Marothy <sven@physto.se>
5026 * java/nio/ByteBufferImpl.java:
5027 (putChar): Inlined for speed.
5028 (put, get): Bulk methods can use arraycopy.
5029 * java/nio/CharBufferImpl.java:
5030 (put, get): Bulk methods can use arraycopy.
5032 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
5034 * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
5036 * java/nio/CharBufferImpl.java
5037 (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
5038 (get(), put(char)): Inlined checks and field updates. Fixed to
5039 take array_offset into account.
5040 (get(int), put(int, char)): Fixed to take array_offset into account.
5042 2005-04-20 Sven de Marothy <sven@physto.se>
5044 * java/text/SimpleDateFormat.java:
5045 (formatWithAttribute): Pad year before truncating digits.
5047 2005-04-20 Michael Koch <konqueror@gmx.de>
5049 * gnu/java/net/PlainDatagramSocketImpl.java:
5050 Merged copyright header.
5051 * gnu/java/net/PlainSocketImpl.java:
5052 Reorganized import statements. Fixed @author tags.
5054 2005-04-20 Michael Koch <konqueror@gmx.de>
5056 * gnu/java/lang/ClassHelper.java,
5057 gnu/java/lang/reflect/TypeSignature.java:
5060 2005-04-20 Michael Koch <konqueror@gmx.de>
5062 * gnu/java/beans/IntrospectionIncubator.java:
5063 Fixed HTML tags in javadocs.
5065 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
5067 * gnu/java/beans/IntrospectionIncubator.java
5068 (addToPropertyHash, addToListenerHash): Don't confuse get(),
5069 set(), is(), add() and remove() with properties or events.
5071 2005-04-20 Michael Koch <konqueror@gmx.de>
5073 * gnu/java/awt/image/XBMDecoder.java:
5074 Fixed modifier order.
5076 2005-04-20 Roman Kennke <roman@kennke.org>
5078 * javax/swing/plaf/basic/BasicButtonUI.java
5079 (paint): This should not care about margin and insets
5080 at the same time, as insets already include the margin
5082 * javax/swing/plaf/basic/BasicGraphicsUtils.java
5083 (getPreferredButtonSize): Likewise.
5084 * javax/swing/plaf/metal/MetalBorders.java
5085 (getBorderInsets): Likewise.
5087 2005-04-20 Roman Kennke <roman@kennke.org>
5089 * javax/swing/plaf/basic/BasicOptionPaneUI.java
5090 (createMessageArea): The JPanel that holds the message area
5091 doesn't need to override getPreferredSize. This prevents some
5092 message components from rendering nicely.
5094 2005-04-20 Roman Kennke <roman@kennke.org>
5096 * javax/swing/plaf/metal/MetalInternalFrameUI.java
5097 (createUI): Do not share instances between components.
5098 * javax/swing/plaf/metal/MetalSliderUI.java
5099 (createUI): Do not share instances between components.
5101 2005-04-20 Roman Kennke <roman@kennke.org>
5103 * javax/swing/plaf/metal/MetalBorders:
5104 (PopupMenuBorder): Added.
5105 * javax/swing/plaf/metal/MetalLookAndFeel
5106 (initComponentDefaults): Added PopupMenuBorder.
5108 2005-04-20 Roman Kennke <roman@kennke.org>
5110 * javax/swing/tree/DefaultTreeSelectionModel.java:
5111 Added API documentation all over the class.
5113 2005-04-20 Roman Kennke <roman@kennke.org>
5115 * javax/swing/plaf/basic/BasicScrollPaneUI.java
5116 (installDefaults): Link managed JScrollPane in instance field.
5117 (uninstallDefaults): Unlink managed JScrollPane in instance field.
5119 2005-04-20 Roman Kennke <roman@kennke.org>
5121 * javax/swing/plaf/basic/BasicScrollBarUI.java
5122 (PropertyChangeHandler.propertyChange): Add default
5123 to switch statement to avoid errors with unusual values
5125 (installComponents): Likewise.
5127 2005-04-20 Roman Kennke <roman@kennke.org>
5129 * javax/swing/plaf/metal/MetalScrollBarUI.java:
5130 (createUI): Instances cannot be shared among JScrollPanes.
5132 2005-04-20 Roman Kennke <roman@kennke.org>
5134 * javax/swing/plaf/metal/MetalLookAndFeel.java
5135 (initComponentDefaults): Added defaults for Menu, MenuBar
5138 2005-04-20 Roman Kennke <roman@kennke.org>
5140 * javax/swing/plaf/basic/BasicScrollBarUI.java
5141 (installUI): Install listeners after everything all, otherwise
5142 we get strange NPEs in some situations, especially with
5144 (createIncreaseButton): Orientation is expected to be
5145 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
5146 HORIZONTAL or VERTICAL.
5147 (createDecreaseButton): Orientation is expected to be
5148 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
5149 HORIZONTAL or VERTICAL.
5150 (installComponents): Orientation for buttons is expected to be
5151 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
5152 HORIZONTAL or VERTICAL.
5154 2005-04-20 Roman Kennke <roman@kennke.org>
5156 * javax/swing/JToolBar.java
5157 (addImpl): Adjust added AbstractButtons to look and feel like
5159 * javax/swing/plaf/metal/MetalBorders.java:
5160 Adjusted insets of ButtonBorder.
5161 (RolloverMarginBorder): Added class for toolbar buttons.
5162 (getButtonBorder): Adjusted factory method to return a shared
5163 instance of button border.
5164 (getToolbarButtonBorder): Added factory method to return a shared
5165 instance of toolbar button border.
5166 (getMarginBorder): Added factory method to return a shared
5167 instance of margin border.
5168 * javax/swing/plaf/metal/MetalButtonUI.java
5169 (installDefauls): If button is child of a JToolBar then set
5170 special border on this button.
5172 2005-04-20 Michael Koch <konqueror@gmx.de>
5174 * java/net/URLConnection.java
5175 (getContent): Fixed javadoc comment.
5177 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
5179 * java/net/URL.java:
5180 (toURI()): Implemented.
5182 2005-04-19 Michael Koch <konqueror@gmx.de>
5184 * java/net/InetAddress.java
5185 (InetAddress): Fixed javadoc comment.
5187 (lookup): Added javadoc.
5188 (getFamily): Likewise.
5189 * java/net/ServerSocket.java
5190 (getChannel): Improved javadoc comment.
5192 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
5194 * gnu/xml/dom/html2/DomHTMLParser.java:
5195 Changed 'enum' references to become 'enumeration'.
5197 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
5199 * gnu/xml/dom/html2/DomHTMLParser.java: New file.
5201 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
5203 * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
5204 (getAttributeNames()): Replaced 'enum' with 'enumeration'.
5205 * gnu/javax/swing/text/html/parser/htmlValidator.java:
5206 (validateParameters(TagElement,htmlAttributeSet)):
5207 Replaced 'enum' with 'enumeration'.
5208 (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
5211 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
5213 * javax/swing/text/html/parser/Entity.java (getType): New method.
5214 * javax/swing/text/html/parser/DocumentParser.java:
5215 Inherit from javax.swing.text.html.parser.Parser.
5217 2005-04-19 Chris Burdess <dog@gnu.org>
5219 * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
5220 check for HTML/XHTML namespace.
5222 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
5224 * javax/swing/text/html/parser/Parser.java,
5225 javax/swing/text/html/parser/Entity.java:
5226 Inheriting from DTDConstants.
5227 * javax/swing/text/html/parser/AttributeList.java
5228 (getValues): Changed return type.
5229 * javax/swing/text/html/parser/DocumentParser
5230 (parse): Adding the callback parameter that receives
5233 2005-04-19 Chris Burdess <dog@gnu.org>
5235 * gnu/xml/dom/DomImpl.java,
5236 gnu/xml/dom/html2/DomHTMLAnchorElement.java,
5237 gnu/xml/dom/html2/DomHTMLDocument.java,
5238 gnu/xml/dom/html2/DomHTMLElement.java,
5239 gnu/xml/dom/html2/DomHTMLFormElement.java,
5240 gnu/xml/dom/html2/DomHTMLFrameElement.java,
5241 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
5242 gnu/xml/dom/html2/DomHTMLImpl.java,
5243 gnu/xml/dom/html2/DomHTMLInputElement.java,
5244 gnu/xml/dom/html2/DomHTMLObjectElement.java,
5245 gnu/xml/dom/html2/DomHTMLOptionElement.java,
5246 gnu/xml/dom/html2/DomHTMLSelectElement.java,
5247 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
5248 gnu/xml/dom/html2/DomHTMLTableElement.java,
5249 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
5250 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
5251 gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
5252 UI events, and tree utility functions.
5254 2005-04-19 Michael Koch <konqueror@gmx.de>
5256 * gnu/javax/swing/text/html/parser/HTML_401F.java,
5257 gnu/javax/swing/text/html/parser/gnuDTD.java,
5258 gnu/javax/swing/text/html/parser/models/node.java:
5259 Reworked import statements.
5261 2005-04-19 Audrius Meskauskas, Lithuania <AudriusA@Bioinformatics.org>
5263 * javax/swing/text/html/HTMLDocument.java: New file.
5265 2005-04-19 Michael Koch <konqueror@gmx.de>
5267 * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
5269 * javax/swing/text/html/parser/AttributeList.java:
5270 Fixed order of modifiers.
5271 (AttributeList): Made final.
5272 * javax/swing/text/html/parser/ContentModel.java:
5273 Fixed html characters in javadocs.
5274 * javax/swing/text/html/parser/DTD.java
5275 (DTD): Don't implement java.io.Serializable directly.
5276 (getElement): Simplified.
5277 * javax/swing/text/html/parser/DTDConstants.java:
5279 * javax/swing/text/html/parser/Element.java:
5280 Fixed order of modifiers.
5281 * javax/swing/text/html/parser/Parser.java:
5282 Reformatted. Don't use fully-qualified class names.
5283 * javax/swing/text/html/parser/ParserDelegator.java:
5284 Fixed order of modifiers.
5285 * javax/swing/text/rtf/RTFParser.java:
5286 Re-ordered import statements.
5287 * javax/swing/text/rtf/RTFScanner.java:
5288 Removed unused import statement.
5290 2005-04-19 Chris Burdess <dog@gnu.org>
5292 * gnu/xml/dom/html2/DomHTMLButtonElement.java,
5293 gnu/xml/dom/html2/DomHTMLCollection.java,
5294 gnu/xml/dom/html2/DomHTMLDocument.java,
5295 gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
5297 * gnu/xml/dom/html2/DomHTMLDListElement.java,
5298 gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
5299 gnu/xml/dom/html2/DomHTMLDivElement.java,
5300 gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
5301 gnu/xml/dom/html2/DomHTMLFontElement.java,
5302 gnu/xml/dom/html2/DomHTMLFormElement.java,
5303 gnu/xml/dom/html2/DomHTMLFrameElement.java,
5304 gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
5305 gnu/xml/dom/html2/DomHTMLHRElement.java,
5306 gnu/xml/dom/html2/DomHTMLHeadElement.java,
5307 gnu/xml/dom/html2/DomHTMLHeadingElement.java,
5308 gnu/xml/dom/html2/DomHTMLHtmlElement.java,
5309 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
5310 gnu/xml/dom/html2/DomHTMLImageElement.java,
5311 gnu/xml/dom/html2/DomHTMLInputElement.java,
5312 gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
5313 gnu/xml/dom/html2/DomHTMLLIElement.java,
5314 gnu/xml/dom/html2/DomHTMLLabelElement.java,
5315 gnu/xml/dom/html2/DomHTMLLegendElement.java,
5316 gnu/xml/dom/html2/DomHTMLLinkElement.java,
5317 gnu/xml/dom/html2/DomHTMLMapElement.java,
5318 gnu/xml/dom/html2/DomHTMLMenuElement.java,
5319 gnu/xml/dom/html2/DomHTMLMetaElement.java,
5320 gnu/xml/dom/html2/DomHTMLModElement.java,
5321 gnu/xml/dom/html2/DomHTMLOListElement.java,
5322 gnu/xml/dom/html2/DomHTMLObjectElement.java,
5323 gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
5324 gnu/xml/dom/html2/DomHTMLOptionElement.java,
5325 gnu/xml/dom/html2/DomHTMLParagraphElement.java,
5326 gnu/xml/dom/html2/DomHTMLParamElement.java,
5327 gnu/xml/dom/html2/DomHTMLPreElement.java,
5328 gnu/xml/dom/html2/DomHTMLQuoteElement.java,
5329 gnu/xml/dom/html2/DomHTMLScriptElement.java,
5330 gnu/xml/dom/html2/DomHTMLSelectElement.java,
5331 gnu/xml/dom/html2/DomHTMLStyleElement.java,
5332 gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
5333 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
5334 gnu/xml/dom/html2/DomHTMLTableColElement.java,
5335 gnu/xml/dom/html2/DomHTMLTableElement.java,
5336 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
5337 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
5338 gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
5339 gnu/xml/dom/html2/DomHTMLTitleElement.java,
5340 gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
5342 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
5344 * javax/swing/text/ChangedCharSetException.java,
5345 javax/swing/text/html/HTMLEditorKit.java,
5346 javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
5347 javax/swing/text/html/parser/AttributeList.java,
5348 javax/swing/text/html/parser/ContentModel.java,
5349 javax/swing/text/html/parser/DocumentParser.java,
5350 javax/swing/text/html/parser/DTD.java,
5351 javax/swing/text/html/parser/DTDConstants.java,
5352 javax/swing/text/html/parser/Element.java,
5353 javax/swing/text/html/parser/Entity.java,
5354 javax/swing/text/html/parser/Parser.java,
5355 javax/swing/text/html/parser/TagElement.java,
5356 gnu/javax/swing/text/html/package.html,
5357 gnu/javax/swing/text/html/parser/gnuDTD.java,
5358 gnu/javax/swing/text/html/parser/HTML_401F.java,
5359 gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
5360 gnu/javax/swing/text/html/parser/htmlValidator.java,
5361 gnu/javax/swing/text/html/parser/package.html,
5362 gnu/javax/swing/text/html/parser/models/list.java,
5363 gnu/javax/swing/text/html/parser/models/node.java,
5364 gnu/javax/swing/text/html/parser/models/noTagModel.java,
5365 gnu/javax/swing/text/html/parser/models/package.html,
5366 gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
5367 gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
5368 gnu/javax/swing/text/html/parser/models/transformer.java,
5369 gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
5370 gnu/javax/swing/text/html/parser/support/package.html,
5371 gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
5372 gnu/javax/swing/text/html/parser/support/Parser.java,
5373 gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
5374 gnu/javax/swing/text/html/parser/support/low/Buffer.java,
5375 gnu/javax/swing/text/html/parser/support/low/Constants.java,
5376 gnu/javax/swing/text/html/parser/support/low/Location.java,
5377 gnu/javax/swing/text/html/parser/support/low/node.java,
5378 gnu/javax/swing/text/html/parser/support/low/package.html,
5379 gnu/javax/swing/text/html/parser/support/low/ParseException.java,
5380 gnu/javax/swing/text/html/parser/support/low/pattern.java,
5381 gnu/javax/swing/text/html/parser/support/low/Queue.java,
5382 gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
5384 * javax/swing/text/html/HTML.java,
5385 javax/swing/text/html/parser/ParserDelegator.java:
5386 New files (replacing).
5387 * javax/swing/text/html/package.html,
5388 javax/swing/text/html/parser/package.html: Documenting the
5391 2005-04-19 Chris Burdess <dog@gnu.org>
5393 * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
5394 gnu/xml/dom/html2/DomHTMLAppletElement.java,
5395 gnu/xml/dom/html2/DomHTMLAreaElement.java,
5396 gnu/xml/dom/html2/DomHTMLBaseElement.java,
5397 gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
5398 gnu/xml/dom/html2/DomHTMLBodyElement.java,
5399 gnu/xml/dom/html2/DomHTMLBRElement.java,
5400 gnu/xml/dom/html2/DomHTMLButtonElement.java,
5401 gnu/xml/dom/html2/DomHTMLCollection.java,
5402 gnu/xml/dom/html2/DomHTMLDocument.java,
5403 gnu/xml/dom/html2/DomHTMLElement.java: New files.
5405 2005-04-19 Michael Koch <konqueror@gmx.de>
5407 * Makefile.am: Added new files.
5408 * Makefile.in: Regenerated.
5410 2005-04-19 Roman Kennke <roman@kennke.org>
5412 * javax/swing/text/JTextComponent.java
5413 (JTextComponent): Added repaintListener which issues repaint
5414 requests when the underlying document changes.
5415 (setDocument): Adds repaintListener to document when the
5416 document is changed.
5417 * javax/swing/text/DefaultEditorKit.java:
5418 Removed repaint calls on JTextComponent. This is now handled
5419 through a DocumentListener in JTextComponent that repaints
5420 the component when needed.
5422 2005-04-19 Roman Kennke <roman@kennke.org>
5425 * javax/swing/text/StyleContext.java
5426 (NamedStyle.setResolveParent): Added null
5429 2005-04-19 Michael Koch <konqueror@gmx.de>
5431 * java/rmi/server/RemoteObject.java:
5432 Removed unused import statement.
5434 2005-04-19 Michael Koch <konqueror@gmx.de>
5436 * java/net/URL.java: Formatting cleanups.
5438 2005-04-19 Michael Koch <konqueror@gmx.de>
5440 * java/awt/FontMetrics.java: Reformatted.
5441 (getFontRenderContext): Handle case when java.awt.Graphics context is
5444 2005-04-19 Michael Koch <konqueror@gmx.de>
5446 * java/awt/FontMetrics.java
5447 (getStringBounds): New methods.
5450 2005-04-19 Michael Koch <konqueror@gmx.de>
5452 * gnu/java/security/x509/X509Certificate.java
5453 (parse): Handle val == null case.
5455 2005-04-19 Roman Kennke <roman@kennke.org>
5457 * javax/swing/plaf/metal/MetalLookAndFeel.java
5458 (initComponentDefaults): Added defaults for Menu, MenuBar
5461 2005-04-19 Roman Kennke <roman@kennke.org>
5463 * javax/swing/plaf/metal/MetalLookAndFeel.java
5464 (initComponentDefaults): Added Label.font.
5465 (initSystemColorDefaults): Added this method and adjusted the
5466 general control color.
5468 2005-04-19 Roman Kennke <roman@kennke.org>
5470 * javax/swing/plaf/metal/MetalBorders.java:
5472 * javax/swing/plaf/metal/MetalButtonUI.java:
5473 (installDefaults): Install button font.
5474 * javax/swing/plaf/metal/MetalLookAndFeel.java:
5475 (initComponentDefaults): Added button border, font and margin.
5476 Changed components background color to the Metal current themes
5479 2005-04-19 Roman Kennke <roman@kennke.org>
5481 * javax/swing/plaf/metal/MetalLookAndFeel.java
5482 (initComponentDefaults): Added to set Metal specific component
5485 2005-04-19 Mark Wielaard <mark@klomp.org>
5487 * javax/swing/plaf/metal/MetalLookAndFeel.java
5488 (initClassDefaults): Call super.initClassDefaults().
5490 2005-04-19 Roman Kennke <roman@kennke.org>
5492 * javax/swing/plaf/metal/MetalLookAndFeel.java
5493 (initClassDefaults): Added to include the *UI classes.
5495 2005-04-19 Roman Kennke <roman@kennke.org>
5497 * javax/swing/plaf/metal/MetalComboBoxUI.java:
5499 * javax/swing/plaf/metal/MetalDesktopIconUI.java:
5501 * javax/swing/plaf/metal/MetalInternalFrameUI.java:
5503 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
5505 * javax/swing/plaf/metal/MetalProgressBarUI.java:
5507 * javax/swing/plaf/metal/MetalRootPaneUI.java:
5509 * javax/swing/plaf/metal/MetalScrollBarUI.java:
5511 * javax/swing/plaf/metal/MetalSeparatorUI.java:
5513 * javax/swing/plaf/metal/MetalSliderUI.java:
5515 * javax/swing/plaf/metal/MetalSplitPaneUI.java:
5517 * javax/swing/plaf/metal/MetalTextFieldUI.java:
5519 * javax/swing/plaf/metal/MetalToggleButtonUI.java:
5521 2005-04-19 Roman Kennke <roman@kennke.org>
5523 * javax/swing/plaf/metal/MetalButtonUI.java:
5524 Added skeleton class.
5525 * javax/swing/plaf/metal/MetalCheckBoxUI.java:
5526 Added skeleton class.
5527 * javax/swing/plaf/metal/MetalLabelUI.java:
5528 Added skeleton class.
5529 * javax/swing/plaf/metal/MetalRadioButtonUI.java:
5530 Added skeleton class.
5531 * javax/swing/plaf/metal/MetalScrollPaneUI.java:
5532 Added skeleton class.
5533 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
5534 Added skeleton class.
5536 2005-04-19 Roman Kennke <roman@kennke.org>
5538 * javax/swing/UIDefaults.java:
5539 Added API documentation for all methods.
5541 2005-04-19 Roman Kennke <roman@kennke.org>
5543 * javax/swing/UIDefaults.java
5544 (put): Now uses new checkAndPut method instead of checking
5546 (putDefaults): Fixed so that it accepts null-values and
5547 treats them like remove(key).
5548 (checkAndPut): Added. This checks for null-values and calls
5551 2005-04-19 Michael Koch <konqueror@gmx.de>
5553 * Makefile.am: Added new files.
5554 * Makefile.in: Regenerated.
5556 2005-04-19 Mark Wielaard <mark@klomp.org>
5558 * java/lang/natRuntime.cc (insertSystemProperties): Set
5559 java.class.path to CLASSPATH only when not empty. Fall back to
5560 default path "." when java.class.path is empty.
5562 2005-04-19 Michael Koch <konqueror@gmx.de>
5564 * javax/swing/text/rtf/ControlWordToken.java,
5565 javax/swing/text/rtf/RTFEditorKit.java,
5566 javax/swing/text/rtf/RTFParseException.java,
5567 javax/swing/text/rtf/RTFParser.java,
5568 javax/swing/text/rtf/RTFScanner.java,
5569 javax/swing/text/rtf/TextToken.java,
5570 javax/swing/text/rtf/Token.java: New files.
5571 * Makefile.am: Added new files.
5572 * Makefile.in: Regenerated.
5574 2005-04-19 Michael Koch <konqueror@gmx.de>
5576 * java/awt/geom/QuadCurve2D.java:
5577 Fixed Brian Gough's name for real.
5579 2005-04-19 Roman Kennke <roman@kennke.org>
5581 * javax/swing/UIManager.java:
5582 Make the UIManager respect the swing.defaultlaf system
5585 2005-04-19 Tom Tromey <tromey@redhat.com>
5587 * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
5590 2005-04-19 Roman Kennke <roman@kennke.org>
5592 * javax/swing/plaf/basic/BasicMenuBarUI.java:
5593 Fixed tabs to spaces.
5595 2005-04-19 Roman Kennke <roman@kennke.org>
5597 * javax/swing/plaf/basic/BasicMenuUI.java
5598 (getMaximumSize): Now returns preferredSize because JMenu should
5599 never be bigger than that.
5600 * javax/swing/JRootPane
5601 (RootLayout.layoutContainer): Make JMenuBars take the whole width.
5603 2005-04-19 Roman Kennke <roman@kennke.org>
5605 * javax/swing/JRootPane.java:
5606 Fixed various tabs to be spaces.
5607 (RootLayout.layoutContainer): Made menubar left aligned.
5609 2005-04-19 Roman Kennke <roman@ontographics.com>
5611 * javax/swing/JList.java
5612 (getPreferredScrollableViewportSize):
5613 The previous implementation was merely guessing the size,
5614 now it respects layoutOrientation, visibleRowCount
5616 (getScrollableTracksViewportHeight):
5617 Reimplemented so that layoutOrientation, visibleRowCount
5618 and preferred size are respected.
5619 (getScrollableTracksViewportWidth):
5620 Reimplemented so that layoutOrientation, visibleRowCount
5621 and preferred size are respected.
5622 * javax/swing/plaf/basic/BasicListUI.java
5624 Improved calculation of preferredSize when JList is
5625 set to HORIZONTAL_WRAP or VERTICAL_WRAP.
5627 The previous implementation assumed a layoutOrientation of
5628 JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
5629 JList.VERTICAL_WRAP.
5631 2005-04-19 Roman Kennke <roman@ontographics.com>
5633 * javax/swing/plaf/basic/BasicListUI.java
5634 (paintCell): use CellRendererPane for painting the cells.
5636 2005-04-19 Roman Kennke <roman@ontographics.com>
5638 * javax/swing/plaf/basic/BasicListUI:
5639 fixed modifiers of several fields, methods and inner
5640 classes to match the 'spec'.
5641 (getMaximumSize): removed. It's not in the spec and the
5642 implementations was superfluous.
5644 2005-04-19 Roman Kennke <roman@ontographics.com>
5646 * javax/swing/plaf/basic/BasicListUI:
5647 make BasicListUI capable of wrapping lists
5648 (layoutOrientation property of javax.swing.JList)
5650 2005-04-19 Roman Kennke <roman@ontographics.com>
5652 * javax/swing/plaf/basic/BasicListUI
5653 (updateLayoutState,paint): make BasicListUI aware of the
5654 width of the rendered JList.
5656 2005-04-19 Roman Kennke <roman@kennke.org>
5658 * javax/swing/ImageIcon.java
5659 Added API documentation.
5661 2005-04-19 Roman Kennke <roman@kennke.org>
5663 * javax/swing/text/ImageIcon.java
5664 (ImageIcon): Use setImage instead of direct assignment.
5665 (setImage): Call loadImage to make sure that the image is loaded.
5666 (loadImage): Waits for the image to complete loading.
5667 (getImageLoadStatus): Added. Returns the load status of the
5670 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
5672 * javax/swing/JTextArea.java (replaceRange):
5673 Fixing doc.remove(start, length) misinterpretation.
5675 2005-04-19 Roman Kennke <roman@ontographics.com>
5677 * javax/swing/CellRendererPane.java:
5678 implemented all methods of this class.
5679 reformatted all wrong formatted code.
5681 2005-04-19 Roman Kennke <roman@kennke.org>
5683 * javax/swing/BoxLayout.java:
5684 (layoutContainer): Made this layout manager respect the
5685 minimum, maximum and preferred size more correctly.
5687 2005-04-19 Roman Kennke <roman@ontographics.com>
5689 * javax/swing/BoxLayout.java:
5690 (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
5691 layoutContainer): Make these methods and thereby the
5692 BoxLayout respect the insets (like borders) of the
5693 component that is laid out.
5695 2005-04-19 Roman Kennke <roman@kennke.org>
5697 * javax/swing/JComponent.java:
5698 Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
5699 Untabified the file.
5701 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
5703 * javax/swing/JComboBox.java (constructors): selecting the
5704 first item if the box was constructed from the provided
5705 non - empty array or vector.
5707 2005-04-19 Michael Koch <konqueror@gmx.de>
5709 * gnu/java/awt/peer/gtk/GdkGraphics.java
5710 (getClipBounds): Handle clip being null.
5711 (setClip): Likewise.
5712 * java/beans/beancontext/BeanContextSupport.java
5716 (removeAll): Likewise.
5717 (retainAll): Likewise.
5719 2005-04-19 Michael Koch <konqueror@gmx.de>
5721 * java/beans/beancontext/BeanContextServicesSupport.java
5722 (BeanContextServicesSupport): Reimplemented.
5723 (addBeanContextServicesListener): Implemented.
5724 (initialize): Likewise.
5725 (removeBeanContextServicesListener): Likewise.
5726 * java/beans/beancontext/BeanContextSupport.java
5728 (addBeanContextMembershipListener): Likewise.
5729 (getLocale): Likewise.
5730 (initialize): Likewise.
5731 (iterator): Likewise.
5733 (toArray): Likewise.
5735 2005-04-19 Roman Kennke <roman@kennke.org>
5737 * java/awt/MediaTracker.java:
5738 Reindented tabs to spaces.
5740 2005-04-19 Roman Kennke <roman@kennke.org>
5742 * java/awt/MediaTracker.java
5743 (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
5744 confused the media tracker and lead to lockups. The LOADING
5745 bit is handled on other places.
5746 (addImage): Removed the 'start image tracking' stuff. This
5747 is not necessary and could confuse the media tracker.
5748 (checkAll): Improved the check for image status so that
5749 images that already complete images are detected. Also now
5750 are really all images checked and if necessary loaded. Before
5751 the method bailed out after the first incomplete image.
5752 (statusAll): Detect images that are complete after the
5753 call to Component.prepareImage(..).
5754 (checkID): The same as in checkAll.
5755 (statusID): The same as in statusAll.
5757 2005-04-19 Roman Kennke <roman@kennke.org>
5759 * java/awt/MediaTracker.java
5760 (addImage): Synchronized list access.
5761 (waitForAll): Fixed comparison of time (changed < to >).
5762 (waitForID): Fixed comparison of time (changed < to >).
5763 (removeImage): Synchronized list access.
5765 2005-04-19 Roman Kennke <roman@kennke.org>
5767 * java/awt/MediaTracker.java
5768 Added API documentation.
5770 2005-04-19 Roman Kennke <roman@kennke.org>
5772 * java/awt/MediaTracker.java
5773 (MediaEntry.imageUpdate): Fixed flags. The different flags
5774 must not be ORed together.
5775 (checkAll): Modified to handle different meaning of the flags.
5776 (waitForAll): Fixed so that it waits maximum the
5777 specified amount of milliseconds.
5778 (statusAll): Modified to handle different meaning of the flags.
5779 (waitForID): Fixed so that it waits maximum the
5780 specified amount of milliseconds.
5782 2005-04-19 vid Gilbert <david.gilbert@object-refinery.com>
5784 * java/awt/Font.java (decode): Handle null argument and allow
5787 2005-04-19 Robert Schuster <thebohemian@gmx.net>
5789 * java/beans/EventHandler.java: Reworked documentation.
5790 (invoke): Fixed behavior to match spec.
5792 2005-04-19 Michael Koch <konqueror@gmx.de>
5794 * java/awt/print/PrinterJob.java
5795 (pageDialog): New method.
5796 (printDialog): Implemented.
5798 2005-04-19 Michael Koch <konqueror@gmx.de>
5800 * java/awt/image/ConvolveOp.java:
5801 Removed comment added by eclipse.
5803 2005-04-19 Guilhem Lavaux <guilhem@kaffe.org>
5805 * java/awt/image/IndexColorModel.java
5806 (getRGB): Check if pixel is negative.
5808 2005-04-19 Michael Koch <konqueror@gmx.de>
5810 * java/awt/image/RasterOp.java:
5811 Fixed wrong formatting.
5813 2005-04-18 Roman Kennke <roman@kennke.org>
5815 * java/awt/Compmonent.java
5816 (setComponentOrientation): Made this property firing a
5817 PropertyChangeEvent.
5819 2005-04-18 Roman Kennke <roman@kennke.org>
5821 * java/awt/BorderLayout.java
5822 (calcSize): Check for overflow when component sizes are added.
5824 2005-04-18 Robert Schuster <thebohemian@gmx.net>
5826 * java/awt/AWTEvent.java (toString): Added case
5827 for source not being an AWT component.
5829 2005-04-18 Chris Burdess <dog@gnu.org>
5831 * gnu/java/net/BASE64.java: Truncate encoded byte array.
5833 2005-04-18 Michael Koch <konqueror@gmx.de>
5835 gnu/java/awt/EmbeddedWindowSupport.java,
5836 gnu/java/net/HeaderFieldHelper.java,
5837 gnu/java/net/URLParseError.java,
5838 gnu/java/net/protocol/file/Handler.java,
5839 gnu/java/net/protocol/jar/Handler.java:
5840 Fixed usage of @author tag.
5842 2005-04-18 Michael Koch <konqueror@gmx.de>
5844 * gnu/xml/aelfred2/XmlParser.java:
5845 Reverted my typo fix.
5847 2005-04-18 Michael Koch <konqueror@gmx.de>
5849 * java/awt/geom/CubicCurve2D.java,
5850 java/awt/geom/QuadCurve2D.java:
5851 Fixed mentioning of Brian Gouph.
5853 2005-04-18 Michael Koch <konqueror@gmx.de>
5855 * gnu/java/awt/Buffers.java,
5856 gnu/java/awt/image/ImageDecoder.java,
5857 gnu/java/awt/image/XBMDecoder.java,
5858 gnu/java/awt/peer/ClasspathFontPeer.java,
5859 gnu/java/net/CRLFInputStream.java,
5860 gnu/java/net/EmptyX509TrustManager.java,
5861 gnu/java/net/LineInputStream.java,
5862 gnu/java/net/protocol/ftp/ActiveModeDTP.java,
5863 gnu/java/net/protocol/ftp/BlockInputStream.java,
5864 gnu/java/net/protocol/ftp/CompressedInputStream.java,
5865 gnu/java/net/protocol/ftp/DTP.java,
5866 gnu/java/net/protocol/ftp/DTPInputStream.java,
5867 gnu/java/net/protocol/ftp/FTPConnection.java,
5868 gnu/java/net/protocol/ftp/FTPURLConnection.java,
5869 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
5870 gnu/java/net/protocol/ftp/StreamInputStream.java,
5871 gnu/java/net/protocol/http/ChunkedInputStream.java,
5872 gnu/java/net/protocol/http/HTTPConnection.java,
5873 gnu/java/net/protocol/http/HTTPURLConnection.java,
5874 gnu/java/net/protocol/http/Headers.java,
5875 gnu/java/net/protocol/http/Request.java,
5876 gnu/java/nio/ChannelInputStream.java,
5877 gnu/java/nio/ChannelOutputStream.java,
5878 gnu/java/nio/InputStreamChannel.java,
5879 gnu/java/nio/OutputStreamChannel.java,
5880 gnu/java/nio/SelectorProviderImpl.java,
5881 gnu/java/rmi/RMIMarshalledObjectInputStream.java,
5882 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
5883 gnu/java/rmi/dgc/DGCImpl.java,
5884 gnu/java/rmi/registry/RegistryImpl.java,
5885 gnu/java/rmi/server/ProtocolConstants.java,
5886 gnu/java/rmi/server/RMIDefaultSocketFactory.java,
5887 gnu/java/rmi/server/RMIIncomingThread.java,
5888 gnu/java/rmi/server/RMIObjectInputStream.java,
5889 gnu/java/rmi/server/RMIObjectOutputStream.java,
5890 gnu/java/rmi/server/RMIVoidValue.java,
5891 gnu/java/rmi/server/UnicastConnectionManager.java,
5892 gnu/java/rmi/server/UnicastRef.java,
5893 gnu/java/rmi/server/UnicastRemoteCall.java,
5894 gnu/java/rmi/server/UnicastRemoteStub.java,
5895 gnu/java/rmi/server/UnicastServerRef.java,
5896 gnu/java/security/OID.java,
5897 gnu/java/security/der/DERReader.java,
5898 gnu/java/security/provider/CollectionCertStoreImpl.java,
5899 gnu/java/security/provider/DSAParameterGenerator.java,
5900 gnu/java/security/provider/DefaultPolicy.java,
5901 gnu/java/security/provider/EncodedKeyFactory.java,
5902 gnu/java/security/provider/GnuDHPublicKey.java,
5903 gnu/java/security/provider/GnuDSAPrivateKey.java,
5904 gnu/java/security/provider/GnuDSAPublicKey.java,
5905 gnu/java/security/provider/GnuRSAPrivateKey.java,
5906 gnu/java/security/provider/GnuRSAPublicKey.java,
5907 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
5908 gnu/java/security/provider/RSA.java,
5909 gnu/java/security/provider/SHA1PRNG.java,
5910 gnu/java/security/provider/SHA1withRSA.java,
5911 gnu/java/security/provider/X509CertificateFactory.java,
5912 gnu/java/security/x509/GnuPKIExtension.java,
5913 gnu/java/security/x509/X500DistinguishedName.java,
5914 gnu/java/security/x509/X509CRL.java,
5915 gnu/java/security/x509/X509CRLEntry.java,
5916 gnu/java/security/x509/X509CertPath.java,
5917 gnu/java/security/x509/X509CertSelectorImpl.java,
5918 gnu/java/security/x509/X509Certificate.java,
5919 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
5920 gnu/java/security/x509/ext/BasicConstraints.java,
5921 gnu/java/security/x509/ext/CRLNumber.java,
5922 gnu/java/security/x509/ext/CertificatePolicies.java,
5923 gnu/java/security/x509/ext/ExtendedKeyUsage.java,
5924 gnu/java/security/x509/ext/Extension.java,
5925 gnu/java/security/x509/ext/GeneralNames.java,
5926 gnu/java/security/x509/ext/IssuerAlternativeNames.java,
5927 gnu/java/security/x509/ext/KeyUsage.java,
5928 gnu/java/security/x509/ext/PolicyConstraint.java,
5929 gnu/java/security/x509/ext/PolicyMappings.java,
5930 gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
5931 gnu/java/security/x509/ext/ReasonCode.java,
5932 gnu/java/security/x509/ext/SubjectAlternativeNames.java,
5933 gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
5934 Reorganized import statements.
5936 2005-04-18 Michael Koch <konqueror@gmx.de>
5938 * gnu/java/awt/color/CieXyzConverter.java,
5939 gnu/java/awt/color/ClutProfileConverter.java,
5940 gnu/java/awt/color/ColorLookUpTable.java,
5941 gnu/java/awt/color/ColorSpaceConverter.java,
5942 gnu/java/awt/color/GrayProfileConverter.java,
5943 gnu/java/awt/color/GrayScaleConverter.java,
5944 gnu/java/awt/color/LinearRGBConverter.java,
5945 gnu/java/awt/color/ProfileHeader.java,
5946 gnu/java/awt/color/PyccConverter.java,
5947 gnu/java/awt/color/RgbProfileConverter.java,
5948 gnu/java/awt/color/SrgbConverter.java,
5949 gnu/java/awt/color/TagEntry.java,
5950 gnu/java/awt/color/ToneReproductionCurve.java:
5951 Standardized file headers.
5953 2005-04-16 Tom Tromey <tromey@redhat.com>
5955 * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
5956 'ANY' package-private.
5958 2005-04-15 Tom Tromey <tromey@redhat.com>
5960 * Makefile.in: Rebuilt.
5961 * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
5962 (libgcj0_convenience_la_LIBADD): ... here.
5964 2005-04-14 Thomas Fitzsimmons <fitzsim@redhat.com>
5966 * gij.cc (version): Properly quote java version.
5967 (main): Fix typo in comment.
5969 2005-04-13 Mark Wielaard <mark@klomp.org>
5971 * java/lang/natRuntime.cc (insertSystemProperties): Set
5972 java.class.path to CLASSPATH if not already set.
5974 2005-04-07 Thomas Fitzsimmons <fitzsim@redhat.com>
5976 * prims.cc (parse_verbose_args): Fix verbose argument parsing.
5978 2005-04-12 Mike Stump <mrs@apple.com>
5980 * configure: Regenerate.
5982 2005-04-12 Aaron Luchko <aluchko@redhat.com>
5985 * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
5986 * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
5988 2005-04-12 Aaron Luchko <aluchko@redhat.com>
5991 * scripts/TexinfoDoclet.java: Removed.
5992 * Makefile.am (texinfo): Removed.
5993 * Makefile.in: Regenerated.
5995 2005-04-11 Michael Koch <konqueror@gmx.de>
5997 * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
5998 Fixed wrong casting.
6000 2005-04-06 Andrew Haley <aph@redhat.com>
6002 * testsuite/libjava.lang/bytearray.java: New file.
6003 * testsuite/libjava.lang/bytearray.out: New file.
6004 * java/lang/ClassLoader.java (loadClassFromSig): Declare
6005 (loadClass): Use it.
6006 * java/lang/natClassLoader.cc (loadClassFromSig): New method.
6008 2005-04-06 Mohan Embar <gnustuff@thisiscool.com>
6010 * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
6011 gcj-dbtool dependency
6012 * Makefile.in: Regenerated
6014 2005-04-06 Bryce McKinlay <mckinlay@redhat.com>
6016 * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
6017 NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
6019 2005-04-05 Andrew Haley <aph@redhat.com>
6021 * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
6022 (Tokenizer): New class.
6023 (getFiles): New method.
6024 (main): Add "-" argument.
6026 Read list of files from stdin when merging map databases.
6027 (usage): Add "-" argument.
6031 2005-04-05 Thomas Fitzsimmons <fitzsim@redhat.com>
6034 * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
6035 * Makefile.in: Regenerate.
6036 * configure.ac: Add --with-java-home option.
6037 * configure: Regenerate.
6038 * external/Makefile.in: Regenerate.
6039 * external/sax/Makefile.in: Regenerate.
6040 * external/w3c_dom/Makefile.in: Regenerate.
6041 * gcj/Makefile.in: Regenerate.
6042 * include/Makefile.in: Regenerate.
6043 * testsuite/Makefile.in: Regenerate.
6044 * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
6047 2005-04-05 Tom Tromey <tromey@redhat.com>
6049 * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
6050 * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
6051 Rewrote to use _Jv_FindClassFromSignature.
6052 * verify.cc (resolve): throw NoClassDefFoundError.
6053 * link.cc (resolve_field): Throw NoClassDefFoundError.
6054 (find_field): Likewise.
6055 * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
6056 Handle error cases. Added 'endp' argument.
6057 * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
6059 2005-04-05 Tom Tromey <tromey@redhat.com>
6061 * Makefile.in: Rebuilt.
6062 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
6063 gtk_awt_peer_sources.
6064 (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
6065 (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
6066 ($(gtk_awt_peer_sources:.java=.lo)): Removed.
6067 (gtk-awt-peer.lo): New target.
6069 2005-04-04 Steve Pribyl <steve@netfuel.com>
6072 * configure.ac: Fix fastjar definition for cross builds.
6073 * configure: Rebuilt.
6075 2005-04-04 Tom Tromey <tromey@redhat.com>
6077 * java/lang/ClassLoader.java (loadClass): Resolve class even if
6078 it was already found.
6080 2005-04-04 Tom Tromey <tromey@redhat.com>
6082 * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
6083 org.metastatic.jessie.
6085 2005-04-02 Anthony Green <green@redhat.com>
6088 * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
6090 2005-04-02 Mark Wielaard <mark@klomp.org>
6092 * javax/naming/directory/BasicAttributes.java (equals): Compare to any
6093 Attributes and attribute order doesn't matter.
6094 (BasicAttributesEnumeration.where): Initialize to zero.
6095 (BasicAttributesEnumeration.nextElement): Update and compare where
6096 appropriately (zero based).
6098 2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com>
6100 PR libgcj/20090, PR libgcj/20526
6101 * gij.cc (nonstandard_opts_help): New function.
6102 (add_option): New function.
6103 (main): Support java options. Set java.class.path. Don't set
6105 * prims.cc (parse_x_arg): New function.
6106 (parse_init_args): Call parse_x_arg for -X and _ options, when
6107 ignoreUnrecognized is true.
6108 (new _Jv_RunMain): New vm_args variant.
6109 (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
6110 (_Jv_Jar_Class_Path): Remove variable.
6111 * include/java-props.h: Likewise.
6112 * include/cni.h (JvRealloc): New function.
6113 * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
6114 * java/lang/natRuntime.cc (insertSystemProperties): Remove
6115 _Jv_Jar_Class_Path logic. Use JV_VERSION and JV_API_VERSION
6117 * configure.ac (JV_VERSION): Define.
6118 (JV_API_VERSION): Likewise.
6119 * configure: Regenerate.
6120 * include/config.h.in: Regenerate.
6122 2005-04-01 Mark Anderson <mark@panonet.net>
6124 * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
6125 -Infinity as parameters.
6127 2005-04-01 Michael Koch <konqueror@gmx.de>
6129 * java/io/PipedInputStream.java
6130 (read): Make sure a positive byte value is returned. Revised javadoc.
6131 Thanks to Olafur Bragason for reporting these bugs.
6133 2005-04-01 Tom Tromey <tromey@redhat.com>
6135 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
6136 Updated for name change.
6137 (nativeFindClass): New method.
6138 (loadClass): Use nativeFindClass.
6139 * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
6141 * java/lang/VMClassLoader.java (tried_libraries, lib_control,
6142 LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
6144 (initialize): New method.
6145 (nativeFindClass): Declare.
6146 * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
6147 * gnu/gcj/runtime/VMClassLoader.java: Removed.
6148 * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
6150 (definePackageForNative): Removed.
6151 (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
6152 Moved to VMClassLoader.java.
6153 * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
6154 * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
6155 (ordinary_java_source_files): Added ExtensionClassLoader.java,
6156 removed VMClassLoader.java.
6157 (nat_source_files): Removed natVMClassLoader.cc.
6159 2005-04-01 Tom Tromey <tromey@redhat.com>
6161 * Makefile.in: Rebuilt.
6162 * Makefile.am (db_pathtail): Use $(gcc_version), not
6165 2005-04-01 Jeroen Frijters <jeroen@frijters.net>
6167 * java/util/Timer.java
6168 (run): Stop the queue if a task throws an exception.
6170 2005-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
6172 * javax/swing/text/JTextComponent.java (viewToModel): New method.
6174 2005-03-29 Ian Lance Taylor <ian@airs.com>
6176 * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
6177 * external/sax/Makefile.in: Rebuild.
6178 * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
6180 * external/w3c_dom/Makefile.in: Rebuild.
6182 2005-03-29 Tom Tromey <tromey@redhat.com>
6184 * java/lang/natRuntime.cc (insertSystemProperties): Set
6185 gnu.gcj.runtime.endorsed.dirs.
6186 * Makefile.in: Rebuilt.
6187 * Makefile.am (ordinary_java_source_files): Added
6188 HelperClassLoader.java.
6189 (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
6190 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
6192 (init): Use addDirectoriesFromProperty.
6193 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
6194 HelperClassLoader. Use addDirectoriesFromProperty. Handle
6195 gnu.gcj.runtime.endorsed.dirs.
6196 * gnu/gcj/runtime/HelperClassLoader.java: New file.
6198 2005-03-26 Chris Burdess <dog@gnu.org>
6200 * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
6203 2005-03-13 Michael Koch <konqueror@gmx.de>
6205 * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
6207 2005-03-11 Chris Burdess <dog@gnu.org>
6209 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
6212 2005-02-27 Chris Burdess <dog@gnu.org>
6214 * gnu/xml/aelfred2/JAXPFactory.java,
6215 gnu/xml/aelfred2/SAXDriver.java,
6216 gnu/xml/aelfred2/XmlParser.java,
6217 gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
6218 formatting conventions. Replaced arrays of Object with struct-like
6219 classes for easier maintainability. Made SAXDriver.stringInterning
6220 package private to allow access from XmlParser inside the loop without
6221 a method call overhead.
6223 2005-03-11 Chris Burdess <dog@gnu.org>
6225 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
6228 2005-03-28 Alexandre Oliva <aoliva@redhat.com>
6230 * configure.ac: Revert 2005-03-25's patch. Propagate MULTIlib
6231 settings to sub Makefiles.
6232 (GCJH, ZIP): Prefix with top_builddir.
6233 * configure: Rebuild.
6234 * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
6235 * external/w3c_dom/Makefile.in: Rebuild.
6236 * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
6237 * external/sax/Makefile.in: Rebuild.
6239 2005-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
6241 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
6242 libsocket to the libraries to link for Solaris.
6244 2005-03-28 Per Bothner <per@bothner.com>
6246 * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
6247 which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
6249 2005-03-27 Andreas Tobler <a.tobler@schweiz.ch>
6251 * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
6252 to fix a ONESTEP fallout.
6253 * Makefile.in: Regenerate.
6255 2005-03-25 Mike Stump <mrs@apple.com>
6257 * configure.ac: Fix ZIP and GCJH at configure time to absolute
6258 paths like we do for the compiler, as we use it in external/sax
6259 and it doesn't get MULTIBUILDTOP right when multilibing.
6261 2005-03-24 Anthony Green <green@redhat.com>
6263 * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
6265 (usage): Add [LIBDIR] to help output.
6266 * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
6267 * Makefile.am (AM_CXXFLAGS): Define
6268 LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
6269 (db_pathtail): New macro.
6271 2005-03-24 Tom Tromey <tromey@redhat.com>
6273 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
6274 add sax and w3c libraries.
6275 * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
6277 * external/w3c_dom/Makefile.in: Rebuilt.
6278 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
6280 (libw3c_gcj_la_LDFLAGS): New variable.
6281 (noinst_LTLIBRARIES): Renamed.
6282 * external/sax/Makefile.in: Rebuilt.
6283 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
6285 (libsax_gcj_la_LDFLAGS): New variable.
6286 (noinst_LTLIBRARIES): Renamed.
6288 2005-03-23 Tom Tromey <tromey@redhat.com>
6290 * Makefile.in: Rebuilt.
6291 * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
6292 (libgcj0_convenience_la_SOURCES): Don't include
6293 gnu_xml_source_files.
6294 (libgcj0_convenience_la_LIBADD): New variable.
6295 (libgcj_la_LIBADD): Don't include sax or w3c_dom.
6296 (all_java_source_files): javax_imageio_source_files,
6297 javax_xml_source_files, and gnu_java_beans_source_files.
6298 ($(gnu_xml_source_files:.java=.lo)): Removed target.
6299 (gnu-xml.lo): New target.
6300 (javax-imageio.lo): Likewise.
6301 (javax-xml.lo): Likewise.
6302 (gnu-java-beans.lo): Likewise.
6303 (gnu_java_beans_source_files): New variable.
6304 (javax_imageio_source_files): Likewise.
6305 (javax_xml_source_files): Likewise.
6306 (javax_source_files): Moved files to other variable.
6307 (awt_java_source_files): Likewise.
6308 (ordinary_java_source_files): Added BootClassLoader.java.
6309 * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
6310 not system class loader.
6311 (initBootLoader): New method.
6312 (loadClass): Search bootLoader.
6313 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
6314 boot loader, not system class loader.
6315 (_Jv_UnregisterInitiatingLoader): Likewise.
6316 (_Jv_FindClass): Likewise. Ensure entries in
6317 bootstrap_class_list are unique.
6318 * java/lang/natClass.cc (getClassLoader): Don't special case
6319 system class loader.
6320 * java/lang/VMClassLoader.java (bootLoader): New field.
6321 (getResource): Use bootLoader.
6322 (getResources): Likewise.
6323 (initBootLoader): Declare.
6324 * gnu/gcj/runtime/BootClassLoader.java: New file.
6325 * external/sax/org/xml/sax/helpers/NamespaceSupport.java
6326 (EMPTY_ENUMERATION): Now package-private.
6327 * external/w3c_com/Makefile.in: Rebuilt.
6328 * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
6329 (w3c.jar): New target.
6330 (classes.stamp): Updated.
6331 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
6332 Changed name of library.
6333 (libw3c_gcj_la_SOURCES): New variable.
6334 (libw3c_gcj_la_GCJFLAGS): Likewise.
6335 (source_files): Renamed from lib3c_convenience_la_SOURCES.
6336 * external/sax/Makefile.in: Rebuilt.
6337 * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
6338 (sax.jar): New target.
6339 (classes.stamp): Updated.
6340 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
6341 Changed name of library.
6342 (libsax_gcj_la_SOURCES): New variable.
6343 (libsax_gcj_la_GCJFLAGS): Likewise.
6344 (source_files): Renamed from libsax_convenience_la_SOURCES.
6345 * stacktrace.cc (non_system_trace_fn): Don't look at system class
6347 * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
6349 (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
6351 2005-03-23 Sven de Marothy <sven@physto.se>
6353 PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
6355 * java/util/Calendar.java
6356 (set): Use starting day of week when one is needed if none is given.
6357 * java/text/SimpleDateFormat.java
6358 (parse): Handle 1-12 and 1-24 timestamps correctly.
6359 * java/util/GregorianCalendar.java
6360 (computeTime, computeFields): HOUR should be in 0-11 format.
6361 (nonLeniencyCheck): Adjust leniency checking to that fact.
6362 (getLinearDay): Should be private.
6364 2005-03-23 Tom Tromey <tromey@redhat.com>
6366 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
6367 (_Jv_CheckABIVersion): Use it.
6369 2005-03-22 Mike Stump <mrs@apple.com>
6371 * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
6373 * include/posix.h: .dylib is used on all Apple MACH platforms.
6374 * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
6376 2005-03-22 Tom Tromey <tromey@redhat.com>
6378 * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
6380 2005-03-21 Tom Tromey <tromey@redhat.com>
6382 * java/lang/VMCompiler.java (static block): Also catch
6383 BufferUnderflowException.
6385 2005-03-21 Zack Weinberg <zack@codesourcery.com>
6387 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Do not
6388 set tool_include_dir. In all substitutions, leave $(gcc_version)
6389 to be expanded by the Makefile.
6390 * aclocal.m4, configure: Regenerate.
6391 * Makefile.am: Set gcc_version. Replace all uses of
6392 @gcc_version@ with $(gcc_version).
6393 * external/Makefile.am, external/sax/Makefile.am
6394 * external/w3c_dom/Makefile.am, gcj/Makefile.am
6395 * testsuite/Makefile.am: Set gcc_version.
6396 * include/Makefile.am: Set gcc_version and tool_include_dir.
6397 * Makefile.in, external/Makefile.in, external/sax/Makefile.in
6398 * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
6399 * testsuite/Makefile.in: Regenerate.
6401 2005-03-17 Andrew Haley <aph@redhat.com>
6403 * java/lang/natVMSecurityManager.cc (getClassContext): Add new
6405 Pass klass to _Jv_StackTrace::GetClassContext().
6406 * java/lang/ClassLoader.java (getParent): Pass class to
6407 VMSecurityManager.getClassContext()
6408 (getSystemClassLoader): Likewise.
6409 * java/lang/Package.java (getPackage): Likewise.
6410 (getPackages): Likewise.
6411 * java/lang/SecurityManager.java (getClassContext): Likewise.
6412 (currentClassLoader): Likewise.
6413 * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
6414 (currentClassLoader) Add new arg: caller.
6415 Pass caller to VMSecurityManager.getClassContext.
6417 * stacktrace.cc (GetClassContext): Correct calculation of
6420 * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
6421 im->source_file_name.
6423 2005-03-16 Andrew Haley <aph@redhat.com>
6425 * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
6427 2005-03-16 Tom Tromey <tromey@redhat.com>
6429 * link.cc (ensure_class_linked): Removed #ifdef.
6430 (print_class_loaded): Likewise.
6431 (wait_for_state): Likewise.
6432 * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
6433 * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
6434 * include/java-interp.h: ... here.
6436 2005-03-16 Tom Tromey <tromey@redhat.com>
6438 * gnu/java/lang/MainThread.java (run): Load main class using
6439 system class loader.
6441 2005-03-16 Andreas Tobler <a.tobler@schweiz.ch>
6443 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
6444 lgcc_s to the libraries to link for Darwin.
6446 2005-03-15 Andreas Tobler <a.tobler@schweiz.ch>
6448 * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
6449 interpreter-specific code with #ifdef INTERPRETER.
6450 (_Jv_StackTrace::getLineNumberForFrame): Likewise.
6451 (_Jv_StackTrace::FillInFrameInfo): Likewise.
6452 (_Jv_StackTrace::non_system_trace_fn): Likewise.
6453 * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
6454 #ifdef INTERPRETER. Also protect declarations that use it.
6455 * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
6456 #ifdef INTERPRETER block.
6458 2005-03-15 Jakub Jelinek <jakub@redhat.com>
6461 * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
6462 * Makefile.in: Rebuilt.
6464 2005-03-15 David Daney <ddaney@avtrex.com>
6466 * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
6469 2005-03-15 David Daney <ddaney@avtrex.com>
6471 * java/io/BufferedInputStream.java (available): Use 'in' instead
6472 of 'super' for underlying stream access.
6474 (read(byte[], int, int)): Ditto.
6476 (skip): Call skip on underlying stream when possible.
6478 2005-03-12 Andreas Tobler <a.tobler@schweiz.ch>
6480 * stacktrace.cc (GetCallerInfo): Return nothing in case of
6481 SJLJ_EXCEPTIONS is defined.
6483 2005-03-12 Ranjit Mathew <rmathew@hotmail.com>
6485 * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
6488 2005-03-11 Andreas Tobler <a.tobler@schweiz.ch>
6490 * testsuite/lib/libjava.exp (libjava_init): Use the same target
6492 (libjava_arguments): Likewise.
6494 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
6495 (gcj_jni_test_one): Likewise.
6496 (gcj_jni_invocation_compile_c_to_binary): Likewise.
6497 Add flags to keep the Darwin linker quiet.
6498 (gcj_jni_invocation_test_one): Use the same target check for Darwin.
6499 Add -liconv for Darwin.
6501 2005-03-11 Tom Tromey <tromey@redhat.com>
6503 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
6504 (_Jv_CheckABIVersion): Use it.
6506 2005-03-11 Tom Tromey <tromey@redhat.com>
6508 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
6509 (usage): Document '-p'.
6510 * Makefile.in: Rebuilt.
6511 * Makefile.am (dbexecdir): New variable.
6512 (db_name): Likewise.
6513 (dbexec_DATA): Likewise.
6514 ($(db_name)): New target.
6515 (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
6516 * java/lang/natRuntime.cc (insertSystemProperties): Set default
6519 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
6521 * exception.cc: Remove stray MethodRef.h include.
6522 * java/lang/natClass.cc: Likewise.
6523 * gnu/gcj/runtime/MethodRef.java: Removed.
6524 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
6525 gnu/gcj/runtime/natStackTrace.cc: Really removed.
6526 * java/lang/natRuntime.cc (_load): Remove unsed variable.
6527 * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
6528 * Makefile.in: Rebuilt.
6530 2005-03-10 Tom Tromey <tromey@redhat.com>
6532 * Makefile.in: Rebuilt.
6533 * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
6535 2005-03-10 Chris Burdess <dog@bluezoo.org>
6537 * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
6538 not currently parsing the DTD.
6540 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
6542 New Stack Trace infrastructure.
6543 * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
6544 (gnu/gcj/runtime/StackTrace.java): Removed.
6545 (ordinary_java_source_files): Remove obsolete files.
6546 (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
6547 * configure.host (fallback_backtrace_h): Set backtrace header
6548 for mingw and cygwin targets.
6549 * configure.ac: Make symlink for fallback backtrace headers.
6550 * Makefile.in, configure: Rebuilt.
6551 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
6552 Read 'LineNumberTable' attribute.
6553 (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
6555 (_Jv_ClassReader::handleCodeAttribute): Initialize method line
6557 * exception.cc: Remove unused include.
6558 * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
6559 (SAVE_PC): New macro. Save current PC in the interpreter frame.
6560 (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
6561 (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
6562 table to direct threaded instruction values.
6563 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
6564 (_Jv_InterpMethod::run): No longer member function. All
6565 callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
6566 is made or where an instruction could throw.
6567 (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
6569 * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
6570 (catch_fpe): Likewise.
6571 * stacktrace.cc: New file. Stack trace code now here.
6572 * gnu/gcj/runtime/MethodRef.java:
6573 * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
6574 calls addr2line to look up PC addresses in a given binary or shared
6576 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
6577 gnu/gcj/runtime/natStackTrace.cc: Removed.
6578 * gnu/java/lang/MainThread.java (call_main): Add comment warning that
6579 this function name is specially recognised by the stack trace code
6580 and shouldn't be changed.
6581 * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
6582 (struct _Jv_LineTableEntry, line_table, line_table_len): New.
6583 (_Jv_InterpMethod::run): Update declaration.
6584 (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
6586 (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
6587 * include/java-stack.h: New file. Declarations for stack tracing.
6588 * include/jvm.h (_Jv_Frame_info): Removed.
6589 * java/lang/Class.h: Update friend declarations.
6590 * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
6592 * java/lang/VMThrowable.java (fillInStackTrace): Now native.
6593 (getStackTrace): Now native.
6594 (data): New RawDataManaged field.
6595 * java/lang/natClass.cc: Update includes.
6596 (forName): Use _Jv_StackTrace::GetCallingClass for
6597 calling-classloader check.
6598 (getClassLoader): Likewise.
6599 * java/lang/natRuntime.cc: Update includes.
6600 (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
6601 * java/lang/natVMSecurityManager.cc: Update includes.
6602 (getClassContext): Use _Jv_StackTrace::GetClassContext.
6603 * java/lang/natVMThrowable.cc: New file. Native methods for
6605 * java/lang/reflect/natArray.cc: Update includes.
6606 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
6607 accessibility check.
6608 * java/lang/reflect/natConstructor.cc: Update includes.
6609 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
6610 accessibility check.
6611 * java/lang/reflect/natField.cc: Update includes.
6612 (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
6613 accessibility check.
6614 * java/lang/reflect/natMethod.cc: Update includes.
6615 (invoke): Use _Jv_StackTrace::GetCallingClass to implement
6616 accessibility check.
6617 * java/util/natResourceBundle.cc: Update includes.
6618 (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
6619 * java/util/logging/natLogger.cc: Update includes. Use
6620 _Jv_StackTrace::GetCallerInfo to get call-site info.
6621 * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
6623 * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
6626 2005-03-10 Ranjit Mathew <rmathew@hotmail.com>
6628 * testsuite/libjava.compile/PR20312.java: New file.
6629 * testsuite/libjava.compile/PR20312.xfail: Likewise.
6630 * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
6632 2005-03-09 Andrew Haley <aph@redhat.com>
6634 * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
6636 (smallTransferTo): New.
6637 (transferFrom): Loop around smallTransferFrom, copying pageSize
6639 (transferTo): Likewise.
6641 2005-03-09 David Daney <ddaney@avtrex.com>
6644 Merge BufferedInputStream from GNU Classpath.
6645 * java/io/BufferedInputStream.java (marktarget): Field removed.
6646 (CHUNKSIZE): Field removed.
6647 (bufferSize): New field.
6648 (BufferedInputStream): Initialize fields.
6649 (close): Invalidate mark and buffer indexes.
6651 (read()): Move mark handling code to refill.
6652 (read(byte[], int, int)): Ditto.
6653 (skip): Ditto and simplify EOF testing.
6654 (refill): Rewritten.
6655 * java/io/InputStreamReader.java (refill): Removed mark and reset
6656 of internal BufferedInputStream.
6658 2005-03-09 Tom Tromey <tromey@redhat.com>
6660 * java/lang/natVMClassLoader.cc (defineClass): Reference
6661 'systemClassLoader' field directly.
6662 * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
6664 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
6665 Reference 'systemClassLoader' field directly.
6666 (_Jv_UnregisterInitiatingLoader): Likewise.
6667 (_Jv_FindClass): Likewise.
6669 2005-03-09 Andreas Tobler <a.tobler@schweiz.ch>
6671 * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
6673 * java/lang/mprec.h: Remove commented headers. Fix comment to match
6674 the file in GNU Classpath style.
6676 2005-03-09 Tom Tromey <tromey@redhat.com>
6678 * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
6679 (toString): Synchronize.
6681 2005-03-08 Bryce McKinlay <mckinlay@redhat.com>
6683 * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
6684 * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
6686 2005-03-07 Tom Tromey <tromey@redhat.com>
6688 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
6689 (usage): Document '-f'.
6691 2005-03-07 Tom Tromey <tromey@redhat.com>
6693 * java/lang/VMCompiler.java (md5Digest): New field.
6694 (compileClass): Clone md5Digest instead of looking up a new one.
6696 2005-03-07 Tom Tromey <tromey@redhat.com>
6699 * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
6700 * link.cc (find_field_helper): Added 'type' argument.
6701 (find_field): Updated.
6703 2005-04-07 Scott Gilbertson <scottg@mantatest.com>
6704 * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
6705 * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
6706 throw UnsupportedOperationException, fixed comments.
6707 (setFont, setForeground): Fixed comments.
6708 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
6709 return type to boolean.
6710 (getNextEvent): Fixed javadocs.
6711 * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
6712 (nativeQueueEmpty): Removed unused code.
6713 (iterateNativeQueue): Removed outer loop.
6715 2005-03-06 Roger Sayle <roger@eyesopen.com>
6718 * Makefile.am (libgcj0_convenience.la): Revert last change.
6719 * Makefile.in: Regenerate.
6721 2005-03-05 Anthony Green <green@redhat.com>
6723 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
6724 classpath_jawt_lock, classpath_jawt_unlock): New functions.
6725 * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
6726 (_Jv_GetDrawingSurface): Set visualID.
6727 (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
6728 (JAWT_GetAWT): Set Lock and Unlock.
6729 * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
6731 * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
6732 JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
6733 JAWT_LOCK_SURFACE_CHANGED): New macros.
6734 (struct _JAWT): Add Lock and Unlock.
6736 2005-03-05 Roger Sayle <roger@eyesopen.com>
6737 Alexandre Oliva <aoliva@redhat.com>
6738 Kelley Cook <kcook@gcc.gnu.org>
6741 * Makefile.am (libgcj0_convenience.la): New rule to create a file
6742 of the object files to link to avoid exceeding the command line
6743 length limits on some platforms.
6744 (clean-local): Clean up objectlist files.
6745 * Makefile.in: Regenerate.
6747 2005-03-05 Andreas Tobler <a.tobler@schweiz.ch>
6749 * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
6750 spec_case. Initialize pointer mlo.
6752 * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
6755 * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
6757 * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
6760 * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
6761 uninitialized variable z.
6763 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
6764 possible unused variables.
6766 * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
6768 * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
6770 2005-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
6773 * testsuite/libjava.jni/jni.exp
6774 (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
6776 (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
6778 2005-02-23 David Daney <ddaney@avtrex.com>
6780 * configure.host: Don't use -mxgot for MIPS builds.
6782 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
6785 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
6786 (COMPPATH): Removed.
6787 (ZIP, GCJH): Replace it with ../$(host_subdir).
6788 (built_gcc_dir): Add $(host_subdir).
6789 * configure: Regenerate.
6790 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
6791 gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
6792 external/w3c_dom/Makefile.in: Regenerate.
6794 2005-02-24 David Gilbert <david.gilbert@object-refinery.com>
6796 * java/awt/font/TextAttribute.java: changed names to lower case;
6797 (readResolve): implemented.
6798 Added doc comments all over.
6800 2005-02-23 Thomas Fitzsimmons <fitzsim@redhat.com>
6803 * jni.cc (JNI_CreateJavaVM): Check JNI version. Cast args to
6804 JvVMInitArgs. Pass args to _Jv_CreateJavaVM and check return
6805 value. Move argument parsing code to prims.cc.
6806 * prims.cc (no_properties): Remove.
6807 (_Jv_Compiler_Properties): Initialize to NULL.
6808 (_Jv_Properties_Count): Initialize to 0.
6809 (parse_verbose_args): New function.
6810 (parse_init_args): New function.
6811 (_Jv_CreateJavaVM): Call parse_init_args.
6812 (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
6813 * gcj/cni.h (JvVMOption): New struct.
6814 (JvVMInitArgs): Likewise.
6815 (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
6817 * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
6818 (_Jv_VMInitArgs): Likewise.
6819 * include/java-props.h (_Jv_Properties_Count): Declare.
6820 * java/lang/natRuntime.cc (insertSystemProperties): Use
6821 _Jv_Properties_Count in for loop exit condition.
6822 * testsuite/libjava.jni/jni.exp
6823 (gcj_invocation_compile_c_to_binary): New procedure.
6824 (gcj_invocation_test_one): Likewise.
6825 (gcj_jni_run): Run JNI invocation API tests.
6826 * testsuite/libjava.jni/invocation/PR16923.c,
6827 testsuite/libjava.jni/invocation/PR16923.java,
6828 testsuite/libjava.jni/invocation/PR16923.out: New test.
6830 2005-02-23 Michael Koch <konqueror@gmx.de>
6832 * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
6833 * Makefile.in: Regenerated.
6835 2005-02-23 Robert Schuster <thebohemian@gmx.net>
6837 * gnu/java/nio/ChannelReader: Fixed comments.
6839 2005-02-23 Robert Schuster <thebohemian@gmx.net>
6841 * java/nio/channels/Channels: Added FIXMEs about
6842 stub method implementation.
6843 (newReader): Implemented.
6844 * gnu/java/nio/ChannelReader: New class.
6846 2005-02-23 Michael Koch <konqueror@gmx.de>
6848 * java/text/SimpleDateFormat.java:
6849 Removed unused import.
6851 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
6854 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
6855 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
6856 * Makefile.in: Regenerate.
6857 * configure.ac: Check for libXtst.
6858 * configure: Regenerate.
6860 2005-02-22 Mark Wielaard <address@bogus.example.com>
6862 * java/security/AlgorithmParameterGenerator.java (getInstance):
6863 Mention provider when throwing NoSuchProviderException.
6864 * java/security/AlgorithmParameters.java (getInstance): Likewise.
6865 * java/security/KeyFactory.java (getInstance): Likewise.
6866 * java/security/KeyStore.java (getInstance): Likewise.
6867 * java/security/SecureRandom.java (getInstance): Likewise.
6868 * java/security/cert/CertificateFactory.java (getInstance): Likewise.
6870 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
6872 * java/lang/reflect/Proxy.java,
6874 java/security/SecureRandom.java,
6875 java/util/Timer.java,
6876 java/util/prefs/AbstractPreferences.java:
6877 Don't catch java.lang.ThreadDeath.
6879 2005-02-22 David Gilbert <david.gilbert@object-refinery.com>
6881 * java/awt/font/TransformAttribute.java,
6882 (TransformAttribute(AffineTransform)): throw
6883 IllegalArgumentException for null transform.
6884 (getTransform): return a copy of transform.
6885 Added doc comments to all.
6887 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
6889 * java/io/Externalizable.java,
6890 java/io/Serializable.java
6891 (serialVersionUID): Removed.
6892 * java/rmi/server/RemoteObject.java,
6893 java/rmi/server/UID.java
6894 (serialVersionUID): Made private.
6895 * java/rmi/server/RemoteRef.java,
6896 java/rmi/server/ServerRef.java
6897 (serialVersionUID): Set proper value.
6898 * java/security/interfaces/DSAPrivateKey.java,
6899 java/security/interfaces/DSAPublicKey.java,
6900 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
6901 java/security/interfaces/RSAPrivateCrtKey.java,
6902 java/security/interfaces/RSAPrivateKey.java,
6903 java/security/interfaces/RSAPublicKey.java,
6904 javax/crypto/SecretKey.java
6905 (serialVersionUID): Added.
6907 2005-02-22 Tom Tromey <tromey@redhat.com>
6909 * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
6911 2005-02-22 Tom Tromey <tromey@redhat.com>
6914 * verify.cc (type::EITHER): New constant.
6915 (check_field_constant): Use it.
6916 (type::compatible): Handle it.
6918 2005-02-22 Michael Koch <konqueror@gmx.de>
6920 * gnu/java/security/PolicyFile.java,
6921 gnu/java/security/pkcs/PKCS7SignedData.java,
6922 gnu/java/security/pkcs/SignerInfo.java:
6923 Fixed copyright header.
6925 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
6927 * java/beans/PropertyDescriptor.java
6928 (PropertyDescriptor,setReadMethod): Set propertyType.
6930 2005-02-22 Michael Koch <konqueror@gmx.de>
6932 * java/nio/DirectByteBufferImpl.java
6933 (owner): Fixed formatting of javadoc.
6934 * java/text/DateFormat.java
6935 (getAvailableLocales): Fixed formatting.
6936 * java/text/SimpleDateFormat.java:
6937 Fixed formatting and import statement order.
6938 * java/util/Calendar.java
6939 (Calendar): Fixed javadoc to be HTML compliant.
6940 * java/util/SimpleTimeZone.java:
6943 2005-02-22 Roman Kennke <roman@ontographics.com>
6945 * javax/swing/plaf/basic/BasicLookAndFeel.java
6946 (initComponentDefaults): Fixed Button left and right margin.
6948 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
6950 * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
6954 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
6955 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6956 (getWidth): New method.
6957 (getHeight): Likewise.
6958 (create): Remove width, height and insets parameters. Move size
6960 (realize_cb): ... here. New function.
6961 (connectSignals): Connect realize_cb.
6962 (request_frame_extents): Remove FIXME. Move
6963 postInsetsChangedEvent lookup ...
6964 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
6965 ... here. Look up GtkWindowPeer getWidth and getHeight methods.
6966 * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
6968 (windowGetWidthID): Likewise.
6969 (windowGetHeightID): Likewise.
6971 2005-02-21 Thomas Fitzsimmons <fitzsim@redhat.com>
6974 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6975 (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
6977 2005-02-21 Bryce McKinlay <mckinlay@redhat.com>
6979 Merge serialization from GNU Classpath.
6980 * gcj/method.h: Add missing #includes.
6981 * java/io/ObjectInputStream.java (readClassDescriptor): Check for
6982 primitive class IDs on the stream here...
6983 (resolveClass): ...not here.
6984 * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
6986 * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
6987 setLongNative, setIntNative, setShortNative, setCharNative,
6988 setByteNative, setBooleanNative, setObjectNative): New native methods.
6989 * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
6990 setLongNative, setIntNative, setShortNative, setCharNative,
6991 setByteNative, setBooleanNative, setObjectNative): Implement them.
6992 * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
6993 from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
6994 the constructor here.
6995 (callConstructor): Removed.
6996 (getCallersClassLoader): Removed.
6997 * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
6998 setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
6999 to control whether setting final field values is permitted. Call
7000 getAddr() with checkFinal parameter instead of setAddr().
7001 * java/lang/reflect/natField.cc (getType): Lookup and resolve field
7002 only if not done already.
7003 (getAddr): Add checkFinal parameter. Do the final field check only if
7007 2005-02-21 Mark Wielaard <mark@klomp.org>
7010 * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
7013 2005-02-21 Mark Wielaard <mark@klomp.org>
7016 * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
7017 without a super class and us ObjectStreamClass.lookupForClassObject().
7018 (resolveClass): Check for primitive types.
7019 (lookupClass): Return null when argument is null.
7021 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
7023 * java/io/ObjectInputStream.java
7024 (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
7026 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
7028 * java/io/ObjectOutputStream.java
7029 (writeObject, callWriteMethod): Replaced reflection with accessing
7030 cached info in ObjectStreamClass.
7031 (getMethod): Removed.
7032 * java/io/ObjectStreamClass.java
7033 (findMethod): Added check to make sure the method found has the
7035 (cacheMethods): Added writeReplace and writeObject methods.
7036 (setFlags): Look at new writeObjectMethod field instead of doing
7038 (writeReplaceMethod): New field.
7039 (writeObjectMethod): New field.
7041 2005-02-21 Guilhem Lavaux <guilhem@kaffe.org>
7042 Jeroen Frijters <jeroen@frijters.net>
7044 * java/io/ObjectInputStream.java
7045 (newObject): Changed prototype. Get a constructor reflect object
7047 (callConstructor): Removed.
7048 (allocateObject): Changed prototype.
7049 (readClassDescriptor): Build the constructor reflection directly.
7050 (readObject): Invoke newObject using the new prototype.
7052 * java/io/ObjectStreamClass.java
7053 (firstNonSerializableParent): Removed.
7054 (firstNonSerializableParentConstructor): Added.
7056 2005-02-21 Mark Wielaard <mark@klomp.org>
7058 * gnu/java/locale/LocaleInformation_en.java: Extend
7059 localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
7061 2005-02-21 Mark Wielaard <mark@klomp.org>
7063 * java/text/SimpleDateFormat.java
7064 (SimpleDateFormat(String, DateFormatSymbols)): Throw
7065 NullPointerException when formatData is null.
7067 2005-02-21 Mark Wielaard <mark@klomp.org>
7069 * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
7070 taking dstSavings into account.
7072 2005-02-21 Sven de Marothy <sven@physto.se>
7074 * java/text/SimpleDateFormat.java,
7075 (parse): Set correct DST_OFFSET to the correct value.
7077 2005-02-21 Mark Wielaard <mark@klomp.org>
7079 * java/util/SimpleTimeZone.java (checkRule): Throw
7080 IllegalArgumentException when month out of range.
7082 2005-02-21 Sven de Marothy <sven@physto.se>
7084 * java/util/GregorianCalendar.java,
7085 (add): Don't set fields directly anymore. Use set()
7087 2005-02-21 Mark Wielaard <mark@klomp.org>
7089 * java/text/SimpleDateFormat.java (CompiledField.toString):
7090 Use StringBuffer, not StringBuilder.
7091 (toString): Likewise.
7093 2005-02-21 Sven de Marothy <sven@physto.se>
7095 * java/util/Calendar.java
7096 (clear): Dates should clear to local time.
7097 * java/util/GregorianCalendar.java
7098 (computeTime): Fix priority problem with DAY_OF_WEEK,
7099 Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
7101 2005-02-21 Sven de Marothy <sven@physto.se>
7103 * java/util/Calendar.java
7104 (Calendar): Constructor should clear fields.
7106 2005-02-21 Sven de Marothy <sven@physto.se>
7108 * java/text/SimpleDateFormat.java
7109 (parse): Tweak handling of 2-year dates
7110 * java/util/Calendar.java
7111 (clear): Clear fields to correct value.
7112 * java/util/GregorianCalendar.java
7113 (computeTime): Correct handling of time zones.
7114 Correct field minimum values.
7116 2005-02-21 Sven de Marothy <sven@physto.se>
7118 * java/util/Calendar.java
7119 (set) Invalidate all fields on first call to set().
7121 2005-02-21 Sven de Marothy <sven@physto.se>
7123 * java/util/GregorianCalendar.java
7124 (computeTime): Fixed handling of time zones.
7126 2005-02-21 Sven de Marothy <sven@physto.se>
7128 * java/util/Calendar.java
7129 (clear): Set values to Epoch instead of zero.
7130 (set): Set isSet to the relevant field pattern instead of just
7132 * java/util/GregorianCalendar.java
7133 (getBundle): Removed.
7134 (getDayOfYear): Removed.
7135 (getFirstDayOfMonth): New private method.
7136 (nonLeniencyCheck): New private method.
7137 (computeTime): Correct handling of insufficient data.
7139 2005-02-21 Sven de Marothy <sven@physto.se>
7141 * java/util/Calendar.java: Invalidate ERA field on setting
7143 * java/util/SimpleTimeZone.java:
7144 (getDaysInMonth): Reimplemented.
7145 * java/util/GregorianCalendar.java:
7146 (getLinearTime): Removed.
7147 (isLeapYear(int,boolean)): Removed.
7148 (before(), after()): Removed.
7149 (computeTime): Reimplemented.
7151 2005-02-21 Sven de Marothy <sven@physto.se>
7153 * java/util/Calendar.java: Reformatted.
7154 * java/util/GregorianCalendar.java: Reformatted.
7155 * java/util/SimpleTimeZone.java: Reformatted.
7157 2005-02-21 Sven de Marothy <sven@physto.se>
7159 * java/util/GregorianCalendar.java
7160 (GregorianCalendar): Update fields in the constructor
7162 2005-02-21 Noa Resare <noa@resare.com>
7164 * java/util/Calendar.java (explicitDSTOffset): New instance field.
7165 (set(int,int)): Set and use new field.
7166 (set(int,int,int)): Check new field.
7168 2005-02-21 Noa Resare <address@hidden>
7170 * java/util/Calendar.java(set):
7171 Fix for DST related regression.
7173 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
7175 * java/util/Calendar.java
7176 (setTimeInMillis): Added call to clear, removed computeFields call.
7177 * java/util/Date.java
7178 (Date(int,int,int,int,int,int)): Removed workaround for
7179 GregorianCalendar bug.
7180 * java/util/GregorianCalendar.java
7181 (GregorianCalendar): Chained all constructors to a (new)
7183 (computeTime): Fixed support for lenient month treatment.
7184 (getLinearDay): Return long instead of int.
7185 (calculateDay): Added fields argument and changed day argument
7188 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
7190 * java/text/SimpleDateFormat.java
7191 Lots of documentation updates.
7192 (readObject(java.io.ObjectInputStream)): Wraps
7193 IllegalArgumentException as specified.
7194 (compileFormat(String)): Uses standardChars
7195 rather than the local pattern characters.
7196 Throws IllegalArgumentException rather than
7198 (toString()): Extended to include all variables
7200 (translateLocalizedPattern(String, String, String)):
7201 Renamed to better define the use of this method.
7203 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
7205 * java/text/DateFormat.java:
7206 Documented pattern character offset constants and
7208 (Field): Added new static fields for new pattern chars.
7209 * java/text/SimpleDateFormat.java:
7210 (CompiledField): Changed name of FieldSizePair class
7211 to CompiledField after adding the character as an
7212 attribute. Changed fields to private and added
7213 accessors to give encapsulation.
7214 (CompiledField.CompiledField(int,int,char)): Extended
7215 with character field.
7216 (CompiledField.getField()): New accessor method.
7217 (CompiledField.getSize()): New acceessor method.
7218 (CompiledField.getCharacter()): New accessor method.
7219 (CompiledField.toString()): Added primarily for debugging.
7220 (standardChars): Now uses extended 24 character sequence.
7221 (compileFormat(String)): Changed to use CompiledField.
7222 (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
7223 java.text.FieldPosition)): Changed to use CompiledField.
7224 New handler for RFC 822 timezones added.
7226 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
7228 * java/text/SimpleDateFormat.java:
7229 (parse(String, java.text.ParsePosition)):
7230 Changed 'E' and 'M' cases to use both
7231 short and long names. Extended 'z'
7232 case to also handle 'Z', and deal
7233 with simple GMT offsets such as +0100.
7234 (computeOffset(String)): New private method,
7235 which converts a GMT offset specification,
7236 such as GMT-0500 to a numeric offset in
7238 * java/util/TimeZone.java:
7239 (timezones()): Added "CEST", the daylight
7240 savings time version of "CET", or Central
7243 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
7245 * java/text/SimpleDateFormat.java:
7246 (parse): Set the DST offset to 0 when parsing
7247 GMT offset timezones.
7249 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
7251 * java/text/SimpleDateFormat.java:
7252 (parse): Use offset to set ZONE_OFFSET
7253 rather than the DST_OFFSET, so that
7254 GMT offset timezones change the right
7257 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
7259 * java/text/SimpleDateFormat.java:
7260 (getDateFormatSymbols()): return a copy
7261 (setDateFormatSymbols(java.text.DateFormatSymbols)):
7262 throw exception on null input
7263 (clone()): implemented to clone
7266 2005-02-21 Sven de Marothy <sven@physto.se>
7268 * java/text/SimpleDateFormat.java
7269 (parse): comparison should be case-insensitive, ignore null
7272 2005-02-21 Robert Schuster <theBohemian@gmx.net>
7274 * gnu/java/beans/IntrospectionIncubator.java
7275 (addMethod) Reverts the patch that ntroduced a regression (see bug
7276 https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
7278 2005-02-21 Michael Koch <konqueror@gmx.de>
7280 * java/awt/Checkbox.java
7281 (next_checkbox_number): New static variable.
7282 (generateName): New method.
7283 (getUniqueLong): Likewise.
7284 * java/awt/Window.java
7285 (next_window_number): New static variable.
7286 (generateName): New method.
7287 (getUniqueLong): Likewise.
7289 2005-02-21 Mark Wielaard <mark@klomp.org>
7291 * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
7294 2005-02-21 Andrew Haley <aph@redhat.com>
7296 * Makefile.in: Rebuilt.
7297 * Makefile.am (nat_source_files): Added natLogger.cc.
7298 * java/util/logging/natLogger.cc: New file.
7299 * java/util/logging/Logger.java (getCallerStackFrame): Now
7302 2005-02-21 Andreas Tobler <a.tobler@schweiz.ch>
7304 * Makefile.am (all_property_files): Remove left over.
7305 (classes.stamp): Add stamp for the ONESTEP build, also known as
7306 --enable-libgcj-multifile.
7307 * Makefile.in: Regenerated.
7309 2005-02-21 Michael Koch <konqueror@gmx.de>
7311 * java/awt/Button.java,
7312 java/awt/Container.java,
7314 java/awt/Frame.java,
7315 java/text/CollationElementIterator.java,
7316 java/text/RuleBasedCollator.java,
7317 java/util/PropertyPermission.java:
7318 Fixed formatting issues all over.
7320 2005-02-21 Mark Wielaard <mark@klomp.org>
7322 * java/io/FileDescriptor.java (sync): Add real exception to
7323 SyncFailedException.
7325 2005-02-21 Michael Koch <konqueror@gmx.de>
7327 * java/io/InputStreamReader.java:
7330 2005-02-20 Rutger Ovidius <ovidr@users.sourceforge.net>
7333 * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
7335 2005-02-20 Dalibor Topic <robilad@kaffe.org>
7337 * libraries/javalib/gnu/regexp/RE.java,
7338 libraries/javalib/java/io/ObjectInputStream.java,
7339 libraries/javalib/java/security/AllPermission.java,
7340 libraries/javalib/java/security/BasicPermission.java,
7341 libraries/javalib/java/security/Permissions.java,
7342 libraries/javalib/java/text/MessageFormat.java:
7343 Made 'inner' classes real public static inner classes,
7344 and made them final where possible, or removed them
7347 2005-02-20 Michael Koch <konqueror@gmx.de>
7349 * gnu/java/text/FormatCharacterIterator.java:
7350 Removed redundant modifiers.
7352 2005-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
7354 * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
7357 2005-02-19 Michael Koch <konqueror@gmx.de>
7359 * Makefile.am: Added new files in gnu/java/beans and
7360 java/beans/XMLDecoder.java.
7361 * Makefile.in: Regenerated.
7363 2005-02-19 Robert Schuster <thebohemian@gmx.net>
7365 * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
7366 assignment behavior by using java.lang.reflect.Array.set()
7369 2005-02-19 Dalibor Topic <robilad@kaffe.org>
7371 * gnu/java/beans/EmptyBeanInfo.java,
7372 gnu/java/beans/info/ComponentBeanInfo.java:
7373 Removed unused files.
7375 2005-02-19 Robert Schuster <thebohemian@gmx.net>
7377 * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
7378 of AppletStub for java.beans.Beans.instantiate.
7379 * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
7381 * java/beans/Beans: Added 1.4 functionality, fixed user documentation
7382 to be conformant with Javadoc guidelines.
7383 (instantiate): Added two more overloaded variants, reworked user
7384 documentation, fixed exception behavior, fixed behavior when
7387 2005-02-19 Mark Wielaard <mark@klomp.org>
7389 * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
7391 * gnu/java/beans/decoder/DummyContext.java: Likewise.
7393 2005-02-19 Robert Schuster <theBohemian@gmx.net>
7395 * gnu/java/beans/decoder/AbstractContext.java,
7396 gnu/java/beans/decoder/AbstractCreatableContext.java,
7397 gnu/java/beans/decoder/AbstractElementHandler.java,
7398 gnu/java/beans/decoder/AbstractObjectContext.java,
7399 gnu/java/beans/decoder/ArrayContext.java,
7400 gnu/java/beans/decoder/ArrayHandler.java,
7401 gnu/java/beans/decoder/AssemblyException.java,
7402 gnu/java/beans/decoder/BooleanHandler.java,
7403 gnu/java/beans/decoder/ByteHandler.java,
7404 gnu/java/beans/decoder/CharHandler.java,
7405 gnu/java/beans/decoder/ClassHandler.java,
7406 gnu/java/beans/decoder/ConstructorContext.java,
7407 gnu/java/beans/decoder/Context.java,
7408 gnu/java/beans/decoder/DecoderContext.java,
7409 gnu/java/beans/decoder/DefaultExceptionListener.java,
7410 gnu/java/beans/decoder/DoubleHandler.java,
7411 gnu/java/beans/decoder/DummyContext.java,
7412 gnu/java/beans/decoder/DummyHandler.java,
7413 gnu/java/beans/decoder/ElementHandler.java,
7414 gnu/java/beans/decoder/FloatHandler.java,
7415 gnu/java/beans/decoder/GrowableArrayContext.java,
7416 gnu/java/beans/decoder/IndexContext.java,
7417 gnu/java/beans/decoder/IntHandler.java,
7418 gnu/java/beans/decoder/JavaHandler.java,
7419 gnu/java/beans/decoder/LongHandler.java,
7420 gnu/java/beans/decoder/MethodContext.java,
7421 gnu/java/beans/decoder/MethodFinder.java,
7422 gnu/java/beans/decoder/NullHandler.java,
7423 gnu/java/beans/decoder/ObjectContext.java,
7424 gnu/java/beans/decoder/ObjectHandler.java,
7425 gnu/java/beans/decoder/PersistenceParser.java,
7426 gnu/java/beans/decoder/PropertyContext.java,
7427 gnu/java/beans/decoder/ShortHandler.java,
7428 gnu/java/beans/decoder/SimpleHandler.java,
7429 gnu/java/beans/decoder/StaticMethodContext.java,
7430 gnu/java/beans/decoder/StringHandler.java,
7431 gnu/java/beans/decoder/VoidHandler.java: New class
7432 implementing java.beans.XMLDecoder decoding functionality.
7433 * java/beans/XMLDecoder.java: New class.
7435 2005-02-19 Michael Koch <konqueror@gmx.de>
7437 * javax/swing/JTextField.java
7438 (notfiyAction): Added javadoc.
7440 2005-02-19 Sven de Marothy <sven@physto.se>
7442 * javax/swing/SpinnerDateModel.java: Implemented.
7444 2005-02-19 Michael Koch <konqueror@gmx.de>
7446 * Makefile.am: Added javax/swing/SpinnerDateModel.java.
7447 * Makefile.in: Regenerated.
7449 2005-02-19 Michael Koch <konqueror@gmx.de>
7451 * gnu/java/nio/SelectorImpl.java:
7452 Reworked import statements.
7453 (register): Removed unused code.
7454 * java/nio/channels/Channels.java: Reformatted.
7455 * java/nio/charset/Charset.java: Likewise.
7456 * java/rmi/server/RemoteObject.java
7457 (serialVersionUID): Made private.
7458 * java/rmi/server/UID.java
7459 (serialVersionUID): Likewise.
7461 2005-02-19 Michael Koch <konqueror@gmx.de>
7463 * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
7464 gnu/java/net/protocol/ftp/BlockInputStream.java,
7465 gnu/java/net/protocol/ftp/BlockOutputStream.java,
7466 gnu/java/net/protocol/ftp/CompressedInputStream.java,
7467 gnu/java/net/protocol/ftp/CompressedOutputStream.java,
7468 gnu/java/net/protocol/ftp/DTPInputStream.java,
7469 gnu/java/net/protocol/ftp/DTP.java,
7470 gnu/java/net/protocol/ftp/DTPOutputStream.java,
7471 gnu/java/net/protocol/ftp/FTPConnection.java,
7472 gnu/java/net/protocol/ftp/FTPException.java,
7473 gnu/java/net/protocol/ftp/FTPResponse.java,
7474 gnu/java/net/protocol/ftp/FTPURLConnection.java,
7475 gnu/java/net/protocol/ftp/Handler.java,
7476 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
7477 gnu/java/net/protocol/ftp/StreamInputStream.java,
7478 gnu/java/net/protocol/ftp/StreamOutputStream.java,
7479 gnu/java/net/CRLFInputStream.java,
7480 gnu/java/net/CRLFOutputStream.java,
7481 gnu/java/net/GetLocalHostAction.java,
7482 gnu/java/net/protocol/ftp/package.html: New files.
7483 * Makefile.am: Added new files.
7484 * Makefile.in: Regenerated.
7486 2005-02-18 Tom Tromey <tromey@redhat.com>
7488 * link.cc (make_vtable): Remove abstract method check.
7489 (append_partial_itable): Likewise.
7492 * verify.cc (type::equals): Fixed test.
7493 * testsuite/libjava.lang/PR20056.out: New file.
7494 * testsuite/libjava.lang/PR20056.java: New file.
7496 2005-02-18 Bryce McKinlay <mckinlay@redhat.com>
7498 * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
7499 not the HashEntry. Reported by Jean-Marie White.
7501 2005-02-18 Tom Tromey <tromey@redhat.com>
7504 * include/jvm.h (_Jv_Linker::has_field_p): Declare.
7505 * link.cc (has_field_p): New function.
7506 * verify.cc (check_field_constant): Added 'putfield' argument.
7507 (verify_instructions_0): Updated.
7508 (type::equals): New method.
7510 2005-02-18 Anthony Green <green@redhat.com>
7512 * NEWS: Draft of libgcj NEWS for 4.0.
7514 2005-02-18 Anthony Green <green@redhat.com>
7516 * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
7517 architecture names to "i386" for compatibility reasons. Win32
7520 2005-02-18 Anthony Green <green@redhat.com>
7522 * gij.cc (version): Change year for '--version' to 2005.
7523 * gnu/gcj/convert/Convert.java: Ditto.
7524 * gnu/java/rmi/rmic/RMIC.java: Ditto.
7525 * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
7527 * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
7528 recent copyright year in `--version' output.
7530 2005-02-18 Robert Schuster <thebohemian@gmx.net>
7532 * java/nio/charset/Charset.java (forName): Throws
7533 IllegalArgumentException when argument is null
7534 and added documentation.
7536 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
7538 * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
7539 Move the position of the source buffer forward.
7541 2005-02-17 Tom Tromey <tromey@redhat.com>
7543 * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
7544 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
7545 * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
7546 * link.cc (_Jv_GetMethodString): Added 'derived' argument.
7547 Changed type of second argument. Rewrote.
7548 (make_vtable): Use it.
7549 (append_partial_itable): Updated.
7550 (layout_vtable_methods): Updated.
7552 2005-02-17 Michael Koch <konqueror@gmx.de>
7554 * gnu/java/net/PlainSocketImpl.java
7555 (shutdownInput): Added javadoc.
7556 (shutdownOutput): Likewise.
7558 2005-02-17 Michael Koch <konqueror@gmx.de>
7560 * javax/print/attribute/standard/Chromaticity.java,
7561 javax/print/attribute/standard/Destination.java,
7562 javax/print/attribute/standard/MediaPrintableArea.java,
7563 javax/print/attribute/standard/MediaSize.java: New files.
7564 * Makefile.am: Added new files.
7565 * Makefile.in: Regenerated.
7567 2005-02-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
7568 Michael Koch <konqueror@gmx.de>
7570 * gnu/java/net/protocol/http/Cookie.java,
7571 gnu/java/net/protocol/http/HTTPConnection.java,
7572 gnu/java/net/protocol/http/HTTPDateFormat.java,
7573 gnu/java/net/protocol/http/Request.java,
7574 gnu/java/nio/PipeImpl.java,
7575 gnu/java/rmi/dgc/DGCImpl.java,
7576 gnu/java/rmi/server/ConnectionRunnerPool.java,
7577 gnu/java/rmi/server/UnicastConnectionManager.java,
7578 gnu/java/security/der/DERWriter.java,
7579 gnu/java/security/pkcs/SignerInfo.java,
7580 gnu/java/security/provider/EncodedKeyFactory.java,
7581 gnu/java/security/provider/GnuDHPublicKey.java,
7582 gnu/java/security/provider/GnuDSAPrivateKey.java,
7583 gnu/java/security/provider/GnuDSAPublicKey.java,
7584 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
7585 gnu/java/security/x509/X500DistinguishedName.java,
7586 gnu/java/security/x509/X509CRL.java,
7587 gnu/java/security/x509/X509CRLEntry.java,
7588 gnu/java/security/x509/X509Certificate.java,
7589 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
7590 gnu/java/security/x509/ext/CertificatePolicies.java,
7591 gnu/java/security/x509/ext/PolicyConstraint.java,
7592 gnu/xml/dom/Consumer.java,
7593 gnu/xml/dom/DomCharacterData.java,
7594 gnu/xml/dom/DomDocument.java,
7595 gnu/xml/dom/DomDocumentBuilder.java,
7596 gnu/xml/dom/DomIterator.java,
7597 gnu/xml/dom/DomNode.java,
7598 gnu/xml/dom/DomXPathExpression.java,
7599 gnu/xml/dom/DomXPathResult.java,
7600 gnu/xml/dom/JAXPFactory.java,
7601 gnu/xml/pipeline/CallFilter.java,
7602 gnu/xml/pipeline/DomConsumer.java,
7603 gnu/xml/pipeline/LinkFilter.java,
7604 gnu/xml/pipeline/NSFilter.java,
7605 gnu/xml/pipeline/TeeConsumer.java,
7606 gnu/xml/pipeline/ValidationConsumer.java,
7607 gnu/xml/pipeline/WellFormednessFilter.java,
7608 gnu/xml/pipeline/XIncludeFilter.java,
7609 gnu/xml/pipeline/XsltFilter.java,
7610 gnu/xml/transform/ApplyImportsNode.java,
7611 gnu/xml/transform/Bindings.java,
7612 gnu/xml/transform/DocumentFunction.java,
7613 gnu/xml/transform/FormatNumberFunction.java,
7614 gnu/xml/transform/NodeNumberNode.java,
7615 gnu/xml/transform/NumberNode.java,
7616 gnu/xml/transform/Stylesheet.java,
7617 gnu/xml/transform/SystemPropertyFunction.java,
7618 gnu/xml/transform/Template.java,
7619 gnu/xml/transform/TemplatesImpl.java,
7620 gnu/xml/transform/TransformerImpl.java,
7621 gnu/xml/transform/ValueOfNode.java,
7622 gnu/xml/transform/XSLURIResolver.java,
7623 gnu/xml/util/DoParse.java,
7624 gnu/xml/util/Resolver.java,
7625 gnu/xml/xpath/Expr.java,
7626 gnu/xml/xpath/FunctionCall.java,
7627 gnu/xml/xpath/RelationalExpr.java,
7628 gnu/xml/xpath/Selector.java,
7629 gnu/xml/xpath/XPathParser.java:
7630 Reworked import statements, fixed modifier order and some little
7633 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
7635 * java/nio/ByteBufferImpl.java (compact):
7636 Set position and limit even if no bytes were moved.
7638 2005-02-17 Michael Koch <konqueror@gmx.de>
7640 * java/nio/CharViewBufferImpl.java (compact): Likewise.
7641 * java/nio/DirectByteBufferImpl.java (compact): Likewise.
7642 * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
7643 * java/nio/FloatViewBufferImpl.java (compact): Likewise.
7644 * java/nio/IntViewBufferImpl.java (compact): Likewise.
7645 * java/nio/LongViewBufferImpl.java (compact): Likewise.
7646 * java/nio/MappedByteBufferImpl.java (compact): Likewise.
7647 * java/nio/ShortViewBufferImpl.java (compact): Likewise.
7648 * java/nio/FloatBufferImpl.java (compact): Set position.
7649 * java/nio/CharBufferImpl.java (compact): Likewise.
7650 * java/nio/DoubleBufferImpl.java (compact): Likewise.
7651 * java/nio/IntBufferImpl.java (compact): Likewise.
7652 * java/nio/LongBufferImpl.java (compact): Likewise.
7653 * java/nio/ShortBufferImpl.java (compact): Likewise.
7655 2005-02-17 Jeroen Frijters <jeroen@frijters.net>
7657 * java/nio/ByteBufferImpl.java,
7658 java/nio/CharBufferImpl.java,
7659 java/nio/DirectByteBufferImpl.java,
7660 java/nio/DoubleBufferImpl.java,
7661 java/nio/FloatBufferImpl.java,
7662 java/nio/IntBufferImpl.java,
7663 java/nio/LongBufferImpl.java,
7664 java/nio/MappedByteBufferImpl.java,
7665 java/nio/ShortBufferImpl.java
7666 (compact): Added explicit read-only check and invalidate mark.
7668 2005-02-17 Michael Koch <konqueror@gmx.de>
7670 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
7671 gnu/java/awt/peer/gtk/GdkFontPeer.java,
7672 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
7673 gnu/java/awt/peer/gtk/GdkGraphics.java,
7674 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
7675 gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
7676 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
7677 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
7678 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
7679 gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
7680 gnu/java/awt/peer/gtk/GdkTextLayout.java,
7681 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
7682 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
7683 gnu/java/awt/peer/gtk/GtkClipboard.java,
7684 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7685 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
7686 gnu/java/awt/peer/gtk/GtkFontPeer.java,
7687 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
7688 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
7689 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
7690 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
7691 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
7692 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
7693 gnu/java/awt/peer/gtk/GtkToolkit.java,
7694 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
7695 java/applet/Applet.java,
7696 java/awt/AWTError.java,
7697 java/awt/AWTEvent.java,
7698 java/awt/AWTEventMulticaster.java,
7699 java/awt/AWTException.java,
7700 java/awt/AWTKeyStroke.java,
7701 java/awt/AWTPermission.java,
7702 java/awt/ActiveEvent.java,
7703 java/awt/Adjustable.java,
7704 java/awt/AlphaComposite.java,
7705 java/awt/AttributeValue.java,
7706 java/awt/BorderLayout.java,
7707 java/awt/BufferCapabilities.java,
7708 java/awt/Button.java,
7709 java/awt/Canvas.java,
7710 java/awt/CheckboxGroup.java,
7711 java/awt/CheckboxMenuItem.java,
7712 java/awt/Color.java,
7713 java/awt/ColorPaintContext.java,
7714 java/awt/Component.java,
7715 java/awt/ComponentOrientation.java,
7716 java/awt/Composite.java,
7717 java/awt/CompositeContext.java,
7718 java/awt/Container.java,
7719 java/awt/ContainerOrderFocusTraversalPolicy.java,
7720 java/awt/DefaultFocusTraversalPolicy.java,
7721 java/awt/Dialog.java,
7722 java/awt/Dimension.java,
7723 java/awt/DisplayMode.java,
7724 java/awt/EventQueue.java,
7725 java/awt/FileDialog.java,
7726 java/awt/FontFormatException.java,
7727 java/awt/Graphics.java,
7728 java/awt/Graphics2D.java,
7729 java/awt/GraphicsConfigTemplate.java,
7730 java/awt/GraphicsConfiguration.java,
7731 java/awt/GraphicsDevice.java,
7732 java/awt/GridBagLayout.java,
7733 java/awt/GridBagLayoutInfo.java,
7734 java/awt/GridLayout.java,
7735 java/awt/HeadlessException.java,
7736 java/awt/IllegalComponentStateException.java,
7737 java/awt/Image.java,
7738 java/awt/Insets.java,
7739 java/awt/ItemSelectable.java,
7740 java/awt/JobAttributes.java,
7741 java/awt/KeyEventDispatcher.java,
7742 java/awt/KeyEventPostProcessor.java,
7743 java/awt/KeyboardFocusManager.java,
7744 java/awt/Label.java,
7745 java/awt/LayoutManager.java,
7746 java/awt/MenuBar.java,
7747 java/awt/MenuComponent.java,
7748 java/awt/MenuContainer.java,
7749 java/awt/PageAttributes.java,
7750 java/awt/Paint.java,
7751 java/awt/PaintContext.java,
7752 java/awt/Panel.java,
7753 java/awt/Point.java,
7754 java/awt/Polygon.java,
7755 java/awt/PrintGraphics.java,
7756 java/awt/PrintJob.java,
7757 java/awt/Rectangle.java,
7758 java/awt/RenderingHints.java,
7759 java/awt/Shape.java,
7760 java/awt/Stroke.java,
7761 java/awt/SystemColor.java,
7762 java/awt/Toolkit.java,
7763 java/awt/Transparency.java,
7764 java/awt/Window.java,
7765 java/awt/color/CMMException.java,
7766 java/awt/color/ColorSpace.java,
7767 java/awt/color/ICC_ColorSpace.java,
7768 java/awt/color/ICC_Profile.java,
7769 java/awt/color/ProfileDataException.java,
7770 java/awt/datatransfer/FlavorTable.java,
7771 java/awt/datatransfer/MimeTypeParseException.java,
7772 java/awt/datatransfer/Transferable.java,
7773 java/awt/datatransfer/UnsupportedFlavorException.java,
7774 java/awt/dnd/Autoscroll.java,
7775 java/awt/dnd/DnDConstants.java,
7776 java/awt/dnd/DragGestureListener.java,
7777 java/awt/dnd/DragSourceAdapter.java,
7778 java/awt/dnd/DragSourceDropEvent.java,
7779 java/awt/dnd/DragSourceListener.java,
7780 java/awt/dnd/DragSourceMotionListener.java,
7781 java/awt/dnd/DropTargetAdapter.java,
7782 java/awt/dnd/DropTargetContext.java,
7783 java/awt/dnd/DropTargetListener.java,
7784 java/awt/dnd/InvalidDnDOperationException.java,
7785 java/awt/dnd/MouseDragGestureRecognizer.java,
7786 java/awt/dnd/peer/DropTargetContextPeer.java,
7787 java/awt/event/AWTEventListener.java,
7788 java/awt/event/AWTEventListenerProxy.java,
7789 java/awt/event/ActionEvent.java,
7790 java/awt/event/AdjustmentEvent.java,
7791 java/awt/event/AdjustmentListener.java,
7792 java/awt/event/ComponentAdapter.java,
7793 java/awt/event/ComponentEvent.java,
7794 java/awt/event/ComponentListener.java,
7795 java/awt/event/ContainerAdapter.java,
7796 java/awt/event/ContainerEvent.java,
7797 java/awt/event/ContainerListener.java,
7798 java/awt/event/FocusAdapter.java,
7799 java/awt/event/FocusEvent.java,
7800 java/awt/event/FocusListener.java,
7801 java/awt/event/InputEvent.java,
7802 java/awt/event/InputMethodEvent.java,
7803 java/awt/event/InputMethodListener.java,
7804 java/awt/event/InvocationEvent.java,
7805 java/awt/event/ItemEvent.java,
7806 java/awt/event/ItemListener.java,
7807 java/awt/event/KeyAdapter.java,
7808 java/awt/event/KeyEvent.java,
7809 java/awt/event/KeyListener.java,
7810 java/awt/event/MouseAdapter.java,
7811 java/awt/event/MouseEvent.java,
7812 java/awt/event/MouseListener.java,
7813 java/awt/event/MouseMotionAdapter.java,
7814 java/awt/event/MouseMotionListener.java,
7815 java/awt/event/MouseWheelEvent.java,
7816 java/awt/event/MouseWheelListener.java,
7817 java/awt/event/PaintEvent.java,
7818 java/awt/event/TextEvent.java,
7819 java/awt/event/TextListener.java,
7820 java/awt/event/WindowAdapter.java,
7821 java/awt/event/WindowEvent.java,
7822 java/awt/event/WindowFocusListener.java,
7823 java/awt/event/WindowListener.java,
7824 java/awt/event/WindowStateListener.java,
7825 java/awt/font/TextHitInfo.java,
7826 java/awt/geom/CubicCurve2D.java,
7827 java/awt/geom/Dimension2D.java,
7828 java/awt/geom/Ellipse2D.java,
7829 java/awt/geom/IllegalPathStateException.java,
7830 java/awt/geom/Line2D.java,
7831 java/awt/geom/NoninvertibleTransformException.java,
7832 java/awt/geom/PathIterator.java,
7833 java/awt/geom/Point2D.java,
7834 java/awt/geom/QuadCurve2D.java,
7835 java/awt/geom/RectangularShape.java,
7836 java/awt/geom/RoundRectangle2D.java,
7837 java/awt/im/InputContext.java,
7838 java/awt/im/InputMethodHighlight.java,
7839 java/awt/im/InputMethodRequests.java,
7840 java/awt/im/InputSubset.java,
7841 java/awt/im/spi/InputMethod.java,
7842 java/awt/im/spi/InputMethodDescriptor.java,
7843 java/awt/image/BandCombineOp.java,
7844 java/awt/image/BandedSampleModel.java,
7845 java/awt/image/ByteLookupTable.java,
7846 java/awt/image/ComponentSampleModel.java,
7847 java/awt/image/DataBuffer.java,
7848 java/awt/image/DataBufferByte.java,
7849 java/awt/image/DataBufferDouble.java,
7850 java/awt/image/DataBufferFloat.java,
7851 java/awt/image/DataBufferInt.java,
7852 java/awt/image/DataBufferShort.java,
7853 java/awt/image/DataBufferUShort.java,
7854 java/awt/image/ImagingOpException.java,
7855 java/awt/image/Kernel.java,
7856 java/awt/image/LookupTable.java,
7857 java/awt/image/MultiPixelPackedSampleModel.java,
7858 java/awt/image/PackedColorModel.java,
7859 java/awt/image/PixelInterleavedSampleModel.java,
7860 java/awt/image/RGBImageFilter.java,
7861 java/awt/image/Raster.java,
7862 java/awt/image/RasterFormatException.java,
7863 java/awt/image/SampleModel.java,
7864 java/awt/image/ShortLookupTable.java,
7865 java/awt/image/SinglePixelPackedSampleModel.java,
7866 java/awt/image/WritableRaster.java,
7867 java/awt/print/PrinterAbortException.java,
7868 java/awt/print/PrinterException.java,
7869 java/awt/print/PrinterIOException.java,
7870 java/beans/AppletInitializer.java,
7871 java/beans/ExceptionListener.java,
7872 java/beans/PropertyChangeEvent.java,
7873 java/beans/PropertyChangeListenerProxy.java,
7874 java/beans/PropertyChangeSupport.java,
7875 java/beans/PropertyDescriptor.java,
7876 java/beans/VetoableChangeListenerProxy.java,
7877 java/beans/VetoableChangeSupport.java,
7878 java/io/BufferedReader.java,
7879 java/io/ByteArrayInputStream.java,
7880 java/io/ByteArrayOutputStream.java,
7881 java/io/CharArrayReader.java,
7882 java/io/CharArrayWriter.java,
7883 java/io/CharConversionException.java,
7884 java/io/DataInput.java,
7885 java/io/DataInputStream.java,
7886 java/io/DataOutput.java,
7887 java/io/DataOutputStream.java,
7888 java/io/EOFException.java,
7889 java/io/FileInputStream.java,
7890 java/io/FileNotFoundException.java,
7891 java/io/FileOutputStream.java,
7892 java/io/FilenameFilter.java,
7893 java/io/FilterInputStream.java,
7894 java/io/FilterOutputStream.java,
7895 java/io/FilterReader.java,
7896 java/io/FilterWriter.java,
7897 java/io/IOException.java,
7898 java/io/InputStream.java,
7899 java/io/InterruptedIOException.java,
7900 java/io/LineNumberInputStream.java,
7901 java/io/LineNumberReader.java,
7902 java/io/ObjectInputStream.java,
7903 java/io/ObjectStreamException.java,
7904 java/io/OptionalDataException.java,
7905 java/io/OutputStream.java,
7906 java/io/OutputStreamWriter.java,
7907 java/io/PrintStream.java,
7908 java/io/PrintWriter.java,
7909 java/io/PushbackInputStream.java,
7910 java/io/PushbackReader.java,
7911 java/io/RandomAccessFile.java,
7912 java/io/Reader.java,
7913 java/io/SequenceInputStream.java,
7914 java/io/Serializable.java,
7915 java/io/StreamCorruptedException.java,
7916 java/io/StreamTokenizer.java,
7917 java/io/StringBufferInputStream.java,
7918 java/io/StringWriter.java,
7919 java/io/SyncFailedException.java,
7920 java/io/UTFDataFormatException.java,
7921 java/io/UnsupportedEncodingException.java,
7922 java/io/WriteAbortedException.java,
7923 java/io/Writer.java,
7924 java/lang/AbstractMethodError.java,
7925 java/lang/ArithmeticException.java,
7926 java/lang/ArrayIndexOutOfBoundsException.java,
7927 java/lang/ArrayStoreException.java,
7928 java/lang/AssertionError.java,
7929 java/lang/Boolean.java,
7930 java/lang/Byte.java,
7931 java/lang/Class.java,
7932 java/lang/ClassCastException.java,
7933 java/lang/ClassCircularityError.java,
7934 java/lang/ClassLoader.java,
7935 java/lang/ClassNotFoundException.java,
7936 java/lang/CloneNotSupportedException.java,
7937 java/lang/Cloneable.java,
7938 java/lang/Comparable.java,
7939 java/lang/Compiler.java,
7940 java/lang/Double.java,
7941 java/lang/Error.java,
7942 java/lang/Exception.java,
7943 java/lang/ExceptionInInitializerError.java,
7944 java/lang/Float.java,
7945 java/lang/IllegalAccessError.java,
7946 java/lang/IllegalAccessException.java,
7947 java/lang/IllegalArgumentException.java,
7948 java/lang/IllegalMonitorStateException.java,
7949 java/lang/IllegalStateException.java,
7950 java/lang/IllegalThreadStateException.java,
7951 java/lang/IncompatibleClassChangeError.java,
7952 java/lang/IndexOutOfBoundsException.java,
7953 java/lang/InheritableThreadLocal.java,
7954 java/lang/InstantiationError.java,
7955 java/lang/InstantiationException.java,
7956 java/lang/Integer.java,
7957 java/lang/InternalError.java,
7958 java/lang/InterruptedException.java,
7959 java/lang/LinkageError.java,
7960 java/lang/Long.java,
7961 java/lang/NegativeArraySizeException.java,
7962 java/lang/NoClassDefFoundError.java,
7963 java/lang/NoSuchFieldError.java,
7964 java/lang/NoSuchFieldException.java,
7965 java/lang/NoSuchMethodError.java,
7966 java/lang/NoSuchMethodException.java,
7967 java/lang/NullPointerException.java,
7968 java/lang/Number.java,
7969 java/lang/NumberFormatException.java,
7970 java/lang/OutOfMemoryError.java,
7971 java/lang/Process.java,
7972 java/lang/Runnable.java,
7973 java/lang/Runtime.java,
7974 java/lang/RuntimeException.java,
7975 java/lang/RuntimePermission.java,
7976 java/lang/SecurityException.java,
7977 java/lang/SecurityManager.java,
7978 java/lang/Short.java,
7979 java/lang/StackOverflowError.java,
7980 java/lang/StackTraceElement.java,
7981 java/lang/StringBuffer.java,
7982 java/lang/StringIndexOutOfBoundsException.java,
7983 java/lang/ThreadDeath.java,
7984 java/lang/ThreadGroup.java,
7985 java/lang/Throwable.java,
7986 java/lang/UnsatisfiedLinkError.java,
7987 java/lang/UnsupportedOperationException.java,
7988 java/lang/VerifyError.java,
7989 java/lang/VirtualMachineError.java,
7990 java/lang/reflect/AccessibleObject.java,
7991 java/lang/reflect/Array.java,
7992 java/lang/reflect/InvocationTargetException.java,
7993 java/lang/reflect/Member.java,
7994 java/lang/reflect/Modifier.java,
7995 java/lang/reflect/Proxy.java,
7996 java/lang/reflect/ReflectPermission.java,
7997 java/lang/reflect/UndeclaredThrowableException.java,
7998 java/math/BigInteger.java,
7999 java/net/NetworkInterface.java,
8000 java/nio/ByteBufferHelper.java,
8001 java/nio/ByteBufferImpl.java,
8002 java/nio/DirectByteBufferImpl.java,
8003 java/nio/DoubleBufferImpl.java,
8004 java/nio/FloatBufferImpl.java,
8005 java/nio/IntBufferImpl.java,
8006 java/nio/LongBufferImpl.java,
8007 java/nio/ShortBufferImpl.java,
8008 java/nio/channels/Channel.java,
8009 java/nio/channels/IllegalBlockingModeException.java,
8010 java/nio/charset/spi/CharsetProvider.java,
8011 java/security/AccessControlException.java,
8012 java/security/BasicPermission.java,
8013 java/security/DigestException.java,
8014 java/security/DigestInputStream.java,
8015 java/security/DigestOutputStream.java,
8016 java/security/GeneralSecurityException.java,
8017 java/security/Guard.java,
8018 java/security/GuardedObject.java,
8019 java/security/InvalidAlgorithmParameterException.java,
8020 java/security/InvalidKeyException.java,
8021 java/security/InvalidParameterException.java,
8022 java/security/Key.java,
8023 java/security/KeyException.java,
8024 java/security/KeyManagementException.java,
8025 java/security/KeyStoreException.java,
8026 java/security/MessageDigestSpi.java,
8027 java/security/NoSuchAlgorithmException.java,
8028 java/security/NoSuchProviderException.java,
8029 java/security/Permission.java,
8030 java/security/PermissionCollection.java,
8031 java/security/Permissions.java,
8032 java/security/Principal.java,
8033 java/security/PrivateKey.java,
8034 java/security/PrivilegedActionException.java,
8035 java/security/ProviderException.java,
8036 java/security/PublicKey.java,
8037 java/security/SecureRandom.java,
8038 java/security/SecureRandomSpi.java,
8039 java/security/SignatureException.java,
8040 java/security/SignatureSpi.java,
8041 java/security/SignedObject.java,
8042 java/security/Signer.java,
8043 java/security/UnrecoverableKeyException.java,
8044 java/security/UnresolvedPermission.java,
8045 java/security/acl/AclNotFoundException.java,
8046 java/security/acl/LastOwnerException.java,
8047 java/security/acl/NotOwnerException.java,
8048 java/security/cert/CertPath.java,
8049 java/security/cert/CertPathBuilderException.java,
8050 java/security/cert/CertPathValidatorException.java,
8051 java/security/cert/CertStoreException.java,
8052 java/text/BreakIterator.java,
8053 java/text/ChoiceFormat.java,
8054 java/text/CollationElementIterator.java,
8055 java/text/CollationKey.java,
8056 java/text/Collator.java,
8057 java/text/DateFormat.java,
8058 java/text/DateFormatSymbols.java,
8059 java/text/DecimalFormat.java,
8060 java/text/DecimalFormatSymbols.java,
8061 java/text/FieldPosition.java,
8062 java/text/Format.java,
8063 java/text/NumberFormat.java,
8064 java/text/ParseException.java,
8065 java/text/ParsePosition.java,
8066 java/text/StringCharacterIterator.java,
8067 java/util/AbstractCollection.java,
8068 java/util/AbstractList.java,
8069 java/util/AbstractMap.java,
8070 java/util/AbstractSequentialList.java,
8071 java/util/AbstractSet.java,
8072 java/util/ArrayList.java,
8073 java/util/Arrays.java,
8074 java/util/BitSet.java,
8075 java/util/Collection.java,
8076 java/util/Collections.java,
8077 java/util/Comparator.java,
8078 java/util/ConcurrentModificationException.java,
8079 java/util/Currency.java,
8080 java/util/Date.java,
8081 java/util/EmptyStackException.java,
8082 java/util/Enumeration.java,
8083 java/util/EventListener.java,
8084 java/util/EventListenerProxy.java,
8085 java/util/EventObject.java,
8086 java/util/HashMap.java,
8087 java/util/HashSet.java,
8088 java/util/Hashtable.java,
8089 java/util/IdentityHashMap.java,
8090 java/util/Iterator.java,
8091 java/util/LinkedHashSet.java,
8092 java/util/LinkedList.java,
8093 java/util/List.java,
8094 java/util/ListIterator.java,
8095 java/util/ListResourceBundle.java,
8097 java/util/MissingResourceException.java,
8098 java/util/NoSuchElementException.java,
8099 java/util/Observable.java,
8100 java/util/Observer.java,
8101 java/util/Properties.java,
8102 java/util/PropertyPermissionCollection.java,
8103 java/util/RandomAccess.java,
8105 java/util/SortedMap.java,
8106 java/util/SortedSet.java,
8107 java/util/Stack.java,
8108 java/util/StringTokenizer.java,
8109 java/util/TooManyListenersException.java,
8110 java/util/TreeMap.java,
8111 java/util/TreeSet.java,
8112 java/util/Vector.java,
8113 java/util/logging/FileHandler.java,
8114 java/util/logging/Level.java,
8115 java/util/prefs/BackingStoreException.java,
8116 java/util/prefs/InvalidPreferencesFormatException.java,
8117 java/util/prefs/Preferences.java,
8118 javax/accessibility/Accessible.java,
8119 javax/accessibility/AccessibleAction.java,
8120 javax/accessibility/AccessibleBundle.java,
8121 javax/accessibility/AccessibleComponent.java,
8122 javax/accessibility/AccessibleContext.java,
8123 javax/accessibility/AccessibleEditableText.java,
8124 javax/accessibility/AccessibleExtendedComponent.java,
8125 javax/accessibility/AccessibleExtendedTable.java,
8126 javax/accessibility/AccessibleHyperlink.java,
8127 javax/accessibility/AccessibleHypertext.java,
8128 javax/accessibility/AccessibleIcon.java,
8129 javax/accessibility/AccessibleKeyBinding.java,
8130 javax/accessibility/AccessibleRelation.java,
8131 javax/accessibility/AccessibleRelationSet.java,
8132 javax/accessibility/AccessibleResourceBundle.java,
8133 javax/accessibility/AccessibleRole.java,
8134 javax/accessibility/AccessibleSelection.java,
8135 javax/accessibility/AccessibleState.java,
8136 javax/accessibility/AccessibleStateSet.java,
8137 javax/accessibility/AccessibleTable.java,
8138 javax/accessibility/AccessibleTableModelChange.java,
8139 javax/accessibility/AccessibleText.java,
8140 javax/accessibility/AccessibleValue.java,
8141 javax/imageio/IIOException.java,
8142 javax/imageio/ImageIO.java,
8143 javax/imageio/spi/IIOServiceProvider.java,
8144 javax/imageio/spi/ImageInputStreamSpi.java,
8145 javax/imageio/spi/ImageOutputStreamSpi.java,
8146 javax/imageio/spi/ImageReaderWriterSpi.java,
8147 javax/imageio/spi/ImageTranscoderSpi.java,
8148 javax/imageio/spi/RegisterableService.java,
8149 javax/imageio/spi/ServiceRegistry.java,
8150 javax/imageio/stream/IIOByteBuffer.java,
8151 javax/imageio/stream/ImageInputStream.java,
8152 javax/imageio/stream/ImageOutputStream.java,
8153 javax/naming/Binding.java,
8154 javax/naming/CannotProceedException.java,
8155 javax/naming/CompositeName.java,
8156 javax/naming/CompoundName.java,
8157 javax/naming/LinkException.java,
8158 javax/naming/LinkRef.java,
8159 javax/naming/NameClassPair.java,
8160 javax/naming/Reference.java,
8161 javax/naming/ReferralException.java,
8162 javax/naming/directory/Attribute.java,
8163 javax/naming/directory/AttributeModificationException.java,
8164 javax/naming/directory/Attributes.java,
8165 javax/naming/directory/DirContext.java,
8166 javax/naming/directory/ModificationItem.java,
8167 javax/naming/directory/SearchControls.java,
8168 javax/naming/directory/SearchResult.java,
8169 javax/naming/event/EventContext.java,
8170 javax/naming/event/EventDirContext.java,
8171 javax/naming/event/NamespaceChangeListener.java,
8172 javax/naming/event/NamingExceptionEvent.java,
8173 javax/naming/event/NamingListener.java,
8174 javax/naming/event/ObjectChangeListener.java,
8175 javax/naming/ldap/Control.java,
8176 javax/naming/ldap/ExtendedResponse.java,
8177 javax/naming/ldap/HasControls.java,
8178 javax/naming/ldap/LdapContext.java,
8179 javax/naming/ldap/UnsolicitedNotification.java,
8180 javax/naming/ldap/UnsolicitedNotificationEvent.java,
8181 javax/naming/ldap/UnsolicitedNotificationListener.java,
8182 javax/naming/spi/DirectoryManager.java,
8183 javax/naming/spi/ResolveResult.java,
8184 javax/naming/spi/Resolver.java,
8185 javax/security/auth/callback/Callback.java,
8186 javax/security/auth/callback/CallbackHandler.java,
8187 javax/security/auth/callback/ChoiceCallback.java,
8188 javax/security/auth/callback/ConfirmationCallback.java,
8189 javax/security/auth/callback/LanguageCallback.java,
8190 javax/security/auth/callback/NameCallback.java,
8191 javax/security/auth/callback/PasswordCallback.java,
8192 javax/security/auth/callback/TextInputCallback.java,
8193 javax/security/auth/callback/TextOutputCallback.java,
8194 javax/security/auth/callback/UnsupportedCallbackException.java,
8195 javax/security/sasl/Sasl.java,
8196 javax/security/sasl/SaslServerFactory.java,
8197 javax/swing/DefaultBoundedRangeModel.java,
8198 javax/swing/JComponent.java,
8199 javax/swing/JList.java,
8200 javax/swing/JProgressBar.java,
8201 javax/swing/JRadioButton.java,
8202 javax/swing/JTextArea.java,
8203 javax/swing/JTextField.java,
8204 javax/swing/JToggleButton.java,
8205 javax/swing/JTree.java,
8206 javax/swing/SpinnerListModel.java,
8207 javax/swing/event/EventListenerList.java,
8208 javax/swing/text/JTextComponent.java,
8209 javax/swing/text/StringContent.java,
8210 javax/swing/text/Utilities.java,
8211 javax/swing/undo/UndoManager.java,
8212 javax/swing/undo/UndoableEditSupport.java,
8213 javax/transaction/HeuristicCommitException.java,
8214 javax/transaction/HeuristicMixedException.java,
8215 javax/transaction/HeuristicRollbackException.java,
8216 javax/transaction/InvalidTransactionException.java,
8217 javax/transaction/NotSupportedException.java,
8218 javax/transaction/RollbackException.java,
8219 javax/transaction/Status.java,
8220 javax/transaction/Synchronization.java,
8221 javax/transaction/SystemException.java,
8222 javax/transaction/Transaction.java,
8223 javax/transaction/TransactionManager.java,
8224 javax/transaction/TransactionRequiredException.java,
8225 javax/transaction/TransactionRolledbackException.java,
8226 javax/transaction/UserTransaction.java,
8227 javax/transaction/xa/XAException.java,
8228 javax/transaction/xa/XAResource.java,
8229 javax/transaction/xa/Xid.java,
8230 javax/xml/XMLConstants.java,
8231 javax/xml/datatype/DatatypeConfigurationException.java,
8232 javax/xml/datatype/DatatypeConstants.java,
8233 javax/xml/datatype/DatatypeFactory.java,
8234 javax/xml/datatype/Duration.java,
8235 javax/xml/datatype/XMLGregorianCalendar.java,
8236 javax/xml/namespace/NamespaceContext.java,
8237 javax/xml/namespace/QName.java,
8238 javax/xml/parsers/DocumentBuilder.java,
8239 javax/xml/parsers/DocumentBuilderFactory.java,
8240 javax/xml/parsers/FactoryConfigurationError.java,
8241 javax/xml/parsers/ParserConfigurationException.java,
8242 javax/xml/parsers/SAXParser.java,
8243 javax/xml/parsers/SAXParserFactory.java,
8244 javax/xml/transform/ErrorListener.java,
8245 javax/xml/transform/OutputKeys.java,
8246 javax/xml/transform/Result.java,
8247 javax/xml/transform/Source.java,
8248 javax/xml/transform/SourceLocator.java,
8249 javax/xml/transform/Templates.java,
8250 javax/xml/transform/Transformer.java,
8251 javax/xml/transform/TransformerConfigurationException.java,
8252 javax/xml/transform/TransformerException.java,
8253 javax/xml/transform/TransformerFactory.java,
8254 javax/xml/transform/TransformerFactoryConfigurationError.java,
8255 javax/xml/transform/URIResolver.java,
8256 javax/xml/transform/dom/DOMLocator.java,
8257 javax/xml/transform/dom/DOMResult.java,
8258 javax/xml/transform/dom/DOMSource.java,
8259 javax/xml/transform/sax/SAXResult.java,
8260 javax/xml/transform/sax/SAXSource.java,
8261 javax/xml/transform/sax/SAXTransformerFactory.java,
8262 javax/xml/transform/sax/TemplatesHandler.java,
8263 javax/xml/transform/sax/TransformerHandler.java,
8264 javax/xml/transform/stream/StreamResult.java,
8265 javax/xml/transform/stream/StreamSource.java,
8266 javax/xml/validation/Schema.java,
8267 javax/xml/validation/SchemaFactory.java,
8268 javax/xml/validation/TypeInfoProvider.java,
8269 javax/xml/validation/Validator.java,
8270 javax/xml/validation/ValidatorHandler.java,
8271 javax/xml/xpath/XPathConstants.java,
8272 javax/xml/xpath/XPathException.java,
8273 javax/xml/xpath/XPathExpression.java,
8274 javax/xml/xpath/XPathExpressionException.java,
8275 javax/xml/xpath/XPathFactory.java,
8276 javax/xml/xpath/XPathFactoryConfigurationException.java,
8277 javax/xml/xpath/XPathFunction.java,
8278 javax/xml/xpath/XPathFunctionException.java,
8279 javax/xml/xpath/XPathFunctionResolver.java:
8280 Fixed usage of @author tag, reworked import statements,
8281 removed CVS tags, changed the modifier order and fixed
8282 HTML usage in javadocs.
8284 2005-02-16 Julian Scheid <julian@sektor37.de>
8286 * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
8288 (encodeLoop): Likewise.
8290 2005-02-16 Mark Wielaard <mark@klomp.org>
8292 * Makefile.am (ordinary_java_source_files): Add new files
8293 gnu/java/security/ber/BER.java,
8294 gnu/java/security/ber/BEREncodingException.java,
8295 gnu/java/security/ber/BERReader.java,
8296 gnu/java/security/ber/BERValue.java,
8297 gnu/java/security/pkcs/PKCS7SignedData.java and
8298 gnu/java/security/pkcs/SignerInfo.java.
8299 * Makefile.in: Regenerated.
8301 2005-02-16 Casey Marshall <csm@gnu.org>
8303 * gnu/java/security/provider/GnuDSAPrivateKey.java
8304 (encodedKey): new field.
8305 (getFormat): return "PKCS#8".
8306 (getEncoded): implemented.
8307 (toString): check for 'null' values.
8308 * gnu/java/security/provider/GnuDSAPublicKey.java
8309 (encodedKey): new field.
8310 (getFormat): return "X.509".
8311 (getEncoded): implemented.
8312 (toString): check for 'null' values.
8314 2005-02-16 Michael Koch <konqueror@gmx.de>
8316 * java/util/jar/JarFile.java: Imports reworked.
8318 2005-02-16 Mark Wielaard <mark@klomp.org>
8320 * java/util/jar/JarFile.java (verify): Make package private.
8321 (signaturesRead): Likewise.
8322 (verified): Likewise.
8323 (entryCerts): Likewise.
8326 (entries): Construct new JarEnumeration with reference to this.
8327 (JarEnumeration): Make static.
8328 (JarEnumeration.jarfile): New field.
8329 (JarEnumeration.nextElement): Use and synchronize on jarfile.
8330 Compare verified value to Boolean.TRUE or Boolean.False only
8331 when verify is true.
8332 (getEntry): Make synchronized. Compare value of verified to
8334 (getInputStream): Construct EntryInputStream with reference to this.
8335 (getManifest): Make synchronized.
8336 (EntryInputStream): Make static.
8337 (EntryInputStream.jarfile): New field.
8338 (EntryInputStream.EntryInputStream): Check if manifest exists,
8339 before getting attributes.
8340 (eof): Synchronize on jarfile.
8342 2005-02-16 Casey Marshall <csm@gnu.org>
8344 * java/util/jar/JarFile.java (verify): return if the jar is signed
8345 with an unsupported algorithm.
8347 2005-02-16 Mark Wielaard <mark@klomp.org>
8349 * java/util/jar/JarFile.java (EntryInputStream): Add actual
8350 InputStream as argument.
8351 (getInputStream): Construct a new EntryInputStream with the result of
8352 super.getInputStream(entry).
8354 2005-02-16 Casey Marshall <csm@gnu.org>
8356 Signed JAR file support.
8357 * java/net/URLClassLoader.java
8358 (JarURLResource.getCertificates): re-read jar entry to ensure
8359 certificates are picked up.
8360 (findClass): fill in class `signers' field, too.
8361 * java/util/jar/JarFile.java (META_INF): new constant.
8362 (PKCS7_DSA_SUFFIX): new constant.
8363 (PKCS7_RSA_SUFFIX): new constant.
8364 (DIGEST_KEY_SUFFIX): new constant.
8365 (SF_SUFFIX): new constant.
8366 (MD2_OID): new constant.
8367 (MD4_OID): new constant.
8368 (MD5_OID): new constant.
8369 (SHA1_OID): new constant.
8370 (DSA_ENCRYPTION_OID): new constant.
8371 (RSA_ENCRYPTION_OID): new constant.
8372 (signaturesRead): new field.
8373 (verified): new field.
8374 (entryCerts): new field.
8375 (DEBUG): new constant.
8376 (debug): new method.
8377 (JarEnumeration.nextElement): fill in entry certificates, read
8378 signatures if they haven't been read.
8379 (getEntry): likewise.
8380 (getInputStream): verify stream if it hasn't been verified yet.
8381 (readSignatures): new method.
8382 (verify): new method.
8383 (verifyHashes): new method.
8384 (readManifestEntry): new method.
8385 (EntryInputStream): new class.
8386 * gnu/java/io/Base64InputStream.java (decode): new class
8388 * gnu/java/security/der/DERReader.java don't make class
8390 (in): made protected.
8392 (readLength): likewise.
8393 * gnu/java/security/ber/BER.java,
8394 * gnu/java/security/ber/BEREncodingException.java,
8395 * gnu/java/security/ber/BERReader.java,
8396 * gnu/java/security/ber/BERValue.java,
8397 * gnu/java/security/pkcs/PKCS7SignedData.java,
8398 * gnu/java/security/pkcs/SignerInfo.java:
8401 2005-02-16 Tom Tromey <tromey@redhat.com>
8403 * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
8404 copied file on exit.
8406 2005-02-15 Mark Wielaard <mark@klomp.org>
8408 * java/awt/BasicStroke.java (hashCode): Check for null dash.
8410 2005-02-15 Michael Koch <konqueror@gmx.de>
8412 * gnu/java/awt/peer/gtk/GtkArg.java,
8413 gnu/java/awt/peer/gtk/GtkArgList.java:
8416 2005-02-15 Craig Black <craig.black@aonix.com>
8418 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
8419 (postMenuActionEvent): Implement to notify ItemListeners.
8420 * java/awt/CheckboxMenuItem.java
8421 (dispatchEventImpl): Update state on ItemEvent.
8422 * java/awt/MenuItem.java
8423 (processActionEvent): Retarget event source.
8425 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
8427 * gnu/java/awt/color/ClutProfileConverter.java,
8428 gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
8429 gnu/java/awt/peer/gtk/GdkFontPeer.java,
8430 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
8431 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
8432 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
8433 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
8434 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
8435 gnu/java/awt/peer/gtk/GdkTextLayout.java,
8436 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
8437 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
8438 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
8439 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8440 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
8441 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
8442 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
8443 gnu/java/awt/peer/gtk/GtkFontPeer.java,
8444 gnu/java/awt/peer/gtk/GtkFramePeer.java,
8445 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
8446 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
8447 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
8448 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
8449 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
8450 gnu/java/awt/peer/gtk/GtkToolkit.java,
8451 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
8452 javax/swing/JPopupMenu.java,
8453 javax/swing/JSpinner.java,
8454 javax/swing/SortingFocusTraversalPolicy.java,
8455 javax/swing/SwingUtilities.java,
8456 javax/swing/plaf/basic/BasicComboBoxEditor.java,
8457 javax/swing/plaf/basic/BasicComboBoxRenderer.java,
8458 javax/swing/tree/DefaultMutableTreeNode.java:
8459 Removed unused imports and expanded starred
8462 2005-02-15 Mark Wielaard <mark@klomp.org>
8464 * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
8465 IllegalArgumentException when the given String is null.
8467 * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
8468 when given keystoke sequence cannot be parsed.
8470 * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
8471 if one is installed. Only install the given menubar is not null.
8473 * javax/swing/JViewport.java (getViewSize): Return an empty
8474 Dimension when the view isn't set or preferred component size when
8477 * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
8478 empty Dimension when there is no view set.
8479 (minimumLayoutSize): Likewise.
8480 (layoutContainer): Don't try to layout when there is no view.
8482 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
8485 * include/jawt.h: Likewise.
8486 * include/jawt_md.h: Likewise.
8487 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
8489 * jni/classpath/classpath_jawt.h: Likewise.
8490 * jni/gtk-peer/gtk_jawt.c: Likewise.
8491 * Makefile.am: Build libjawt.so.
8493 2005-02-15 Michael Koch <konqueror@gmx.de>
8495 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
8496 Merged file header with classpath CVS head.
8497 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
8498 Merged code formatting with classpath CVS head.
8499 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
8501 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
8502 Handle special JNI strings with 2 '\0' at the end.
8503 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
8504 Merged file header with classpath CVS head.
8505 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
8506 Merged code formatting with classpath CVS head.
8508 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
8510 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
8511 Use GTK's built-in file system backend. Use GTK_RESPONSE_ACCEPT.
8512 (handle_response): Use GTK_RESPONSE_ACCEPT.
8514 2005-02-15 Graydon Hoare <graydon@redhat.com>
8516 * Makefile.am: Fix library build breakage.
8517 * Makefile.in: Regenerate.
8519 2005-02-15 Michael Koch <konqueror@gmx.de>
8521 * javax/swing/JTabbedPane.java
8522 (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
8524 2005-02-15 Michael Koch <konqueror@gmx.de>
8526 * javax/swing/tree/DefaultMutableTreeNode.java:
8527 Reworked Javadocs all over.
8528 (getPathToRoot): Fixed direction of result array initialization.
8530 2005-02-15 Michael Koch <konqueror@gmx.de>
8532 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
8533 Fix includes for cairo 0.3.0 snappshot.
8534 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
8535 Merged file header from classpath CVS HEAD.
8537 2005-02-15 Craig Black <craig.black@aonix.com>
8539 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
8540 (copyState): Pass a JNI global reference to signal handler.
8541 (realize_cb): Use and free JNI global reference.
8542 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
8543 (create): Pass a JNI global reference to signal handler.
8544 (selection_changed): Match declaration.
8545 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
8546 (dispose): Do not remove entries from state tables until after widget is
8549 2005-02-15 Michael Koch <konqueror@gmx.de>
8551 * java/awt/Container.javai (paramString):
8552 If layoutMgr is null just return result of super.paramString().
8553 * java/awt/Scrollbar.java: Reformatted.
8554 * java/awt/im/InputContext.java (static):
8555 Removed redundant initializations.
8557 2005-02-15 Michael Koch <konqueror@gmx.de>
8559 * javax/swing/ImageIcon.java,
8560 javax/swing/UIManager.java,
8561 javax/swing/text/EditorKit.java,
8562 javax/swing/text/Segment.java:
8563 More whitespace cleanups.
8565 2005-02-15 Michael Koch <konqueror@gmx.de>
8567 * gnu/java/awt/EmbeddedWindow.java,
8568 gnu/java/awt/image/ImageDecoder.java,
8569 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
8570 java/awt/DefaultKeyboardFocusManager.java,
8571 java/awt/Frame.java,
8572 java/awt/image/RGBImageFilter.java,
8573 javax/swing/AbstractButton.java,
8574 javax/swing/ActionMap.java,
8575 javax/swing/ComponentInputMap.java,
8576 javax/swing/DefaultDesktopManager.java,
8577 javax/swing/ImageIcon.java,
8578 javax/swing/InputMap.java,
8579 javax/swing/JButton.java,
8580 javax/swing/JCheckBox.java,
8581 javax/swing/JCheckBoxMenuItem.java,
8582 javax/swing/JEditorPane.java,
8583 javax/swing/JMenu.java,
8584 javax/swing/JMenuItem.java,
8585 javax/swing/JOptionPane.java,
8586 javax/swing/JRootPane.java,
8587 javax/swing/JTable.java,
8588 javax/swing/MenuSelectionManager.java,
8589 javax/swing/RepaintManager.java,
8590 javax/swing/ScrollPaneLayout.java,
8591 javax/swing/SortingFocusTraversalPolicy.java,
8592 javax/swing/UIManager.java,
8593 javax/swing/ViewportLayout.java,
8594 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
8595 javax/swing/plaf/basic/BasicInternalFrameUI.java,
8596 javax/swing/plaf/basic/BasicLabelUI.java,
8597 javax/swing/plaf/basic/BasicListUI.java,
8598 javax/swing/plaf/basic/BasicMenuItemUI.java,
8599 javax/swing/plaf/basic/BasicMenuUI.java,
8600 javax/swing/plaf/basic/BasicOptionPaneUI.java,
8601 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
8602 javax/swing/plaf/basic/BasicRootPaneUI.java,
8603 javax/swing/plaf/basic/BasicScrollPaneUI.java,
8604 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
8605 javax/swing/plaf/basic/BasicTextUI.java,
8606 javax/swing/table/TableColumnModel.java,
8607 javax/swing/text/AbstractDocument.java,
8608 javax/swing/text/EditorKit.java,
8609 javax/swing/text/Position.java,
8610 javax/swing/text/Segment.java,
8611 javax/swing/text/StyledEditorKit.java,
8612 javax/swing/text/ViewFactory.java:
8613 Cleanup whitespace differences to classpath CVS HEAD.
8615 2005-02-15 Graydon Hoare <graydon@redhat.com>
8617 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
8618 (finalize): Call finish from here.
8619 (produce): Not from here.
8620 * Makefile.am (gtk_c_source_files):
8621 Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
8622 * Makefile.in: Regenerate.
8623 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8625 (cairoDrawGdkTextLayout):
8627 (getPeerTextMetrics):
8628 (getPeerFontMetrics): Remove.
8629 (setFont): Don't call cairoSetFont.
8630 (cairoDrawGlyphVector): Accept font peer argument.
8631 (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
8632 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
8633 (ensure_metrics_cairo):
8634 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
8635 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
8636 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
8637 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
8639 (metrics_surface): Remove.
8640 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
8641 Pass and install font peer.
8643 2005-02-15 Graydon Hoare <graydon@redhat.com>
8645 * Makefile.am: Create "split library" structure.
8646 * Makefile.in: Regenerate.
8648 2005-02-15 Graydon Hoare <graydon@redhat.com>
8650 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
8651 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8652 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
8653 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
8654 Release GDK lock during upcalls.
8656 2005-02-15 Graydon Hoare <graydon@redhat.com>
8658 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
8659 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
8660 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
8661 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
8662 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
8663 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
8664 * gnu/java/awt/peer/gtk/GdkFontPeer.java
8667 (getTextMetrics): New native methods.
8668 * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
8669 * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
8670 * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
8671 * Makefile.in: Regenerate.
8673 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
8675 * javax/swing/SwingUtilities.java:
8676 (getAccessibleAt(java.awt.Component, java.awt.Point)):
8677 Implemented and documented.
8678 (getAccessibleChild(java.awt.Component, int)): Likewise.
8679 (getAccessibleChildrenCount(java.awt.Component)): Likewise.
8680 (getAccessibleIndexInParent(java.awt.Component)): Likewise.
8681 (getAccessibleStateSet(java.awt.Component)): Likewise.
8683 2005-02-15 Michael Koch <konqueror@gmx.de>
8685 * javax/swing/SwingUtilities.java
8686 (getFontMetrics): Removed.
8688 2005-02-15 Michael Koch <konqueror@gmx.de>
8690 * java/awt/Container.java
8691 (paramString): Implemented.
8692 * javax/swing/AbstractButton.java
8693 (paramString): Implemented.
8694 * javax/swing/JComponent.java
8695 (paramString): Implemented.
8696 * javax/swing/JMenu.java
8697 (paramString): Implemented.
8698 * javax/swing/JMenuBar.java
8699 (paramString): Implemented.
8700 * javax/swing/JMenuItem.java
8701 (paramString): Implemented.
8702 * javax/swing/JPopupMenu.java
8703 (paramString): Implemented.
8705 2005-02-15 Michael Koch <konqueror@gmx.de>
8707 * javax/swing/JMenu.java
8708 (uiClassID): Removed.
8709 (JMenu): Set invoker on popup menu.
8710 (getUIClassID): Return id directly.
8711 (getItemCount): Simply return getMenuComponentCount().
8713 (isTopLevelMenu): Simplified.
8714 * javax/swing/JMenuItem.java
8715 (uiClassID): Removed.
8716 (getUIClassID): Return id directly.
8717 * javax/swing/JPopupMenu.java
8718 (uiClassID): Removed.
8719 (JPopupMenu): Always initialize correctly.
8720 (getSubElements): Only return components implementing MenuElement
8722 (HeavyWeightPopup.hide): Removed.
8724 2005-02-15 Michael Koch <konqueror@gmx.de>
8726 * java/awt/image/ReplicateScaleFilter.java
8727 (replicatePixels): Made private.
8728 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
8729 (DefaultRGBChooserPanel): Made package private.
8730 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
8731 (RecentSwatchPanel): Likewise.
8732 * javax/swing/event/MouseInputAdapter.java: Reformatted.
8733 (MouseInputAdapter): Made abstract.
8734 * javax/swing/tree/DefaultMutableTreeNode.java
8736 (growTree): Likewise.
8738 2005-02-15 Michael Koch <konqueror@gmx.de>
8740 * java/awt/dnd/DropTarget.java (addDropTargetListener):
8743 2005-02-15 Michael Koch <konqueror@gmx.de>
8745 * javax/swing/JComponent.java (getComponentGraphics):
8746 Removed accidently commited code.
8748 2005-02-15 Graydon Hoare <graydon@redhat.com>
8750 * java/awt/dnd/DropTarget.java
8751 (addDropTargetListener): Despite documentation, do not throw.
8752 * javax/swing/JComponent.java: Set a default DropTarget.
8754 2005-02-15 Michael Koch <konqueror@gmx.de>
8756 * javax/swing/AbstractAction.java
8757 (ENABLED_PROPERTY): Removed.
8758 (setEnabled): Replaced constant with real string.
8759 * javax/swing/AbstractButton.java
8760 (createActionPropertyChangeListener.propertyChange): Likewise.
8761 * javax/swing/JComboBox.java
8762 (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
8763 (EDITABLE_CHANGED_PROPERTY): Removed.
8764 (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
8765 (ENABLED_CHANGED_PROPERTY):Likewise.
8766 (RENDERER_CHANGED_PROPERTY):Likewise.
8767 (EDITOR_CHANGED_PROPERTY):Likewise.
8768 (MODEL_CHANGED_PROPERTY):Likewise.
8769 (uiClassID):Likewise.
8770 (getUIClassID): Replaced constant with real string.
8771 (setModel):Likewise.
8772 (setEditable):Likewise.
8773 (setMaximumRowCount):Likewise.
8774 (setRenderer):Likewise.
8775 (setEditor):Likewise.
8776 (setEnabled):Likewise.
8777 * javax/swing/JLabel.java
8778 (DISABLED_ICON_CHANGED_PROPERTY): Removed.
8779 (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
8780 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
8781 (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
8782 (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
8783 (ICON_CHANGED_PROPERTY): Likewise.
8784 (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
8785 (LABEL_FOR_CHANGED_PROPERTY): Likewise.
8786 (TEXT_CHANGED_PROPERTY): Likewise.
8787 (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
8788 (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
8789 (setText): Replaced constant with real string.
8790 (setIcon): Likewise.
8791 (setDisabledIcon): Likewise.
8792 (setDisplayedMnemonic): Likewise.
8793 (setIconTextGap): Likewise.
8794 (setVerticalAlignment): Likewise.
8795 (setHorizontalAlignment): Likewise.
8796 (setVerticalTextPosition): Likewise.
8797 (setHorizontalTextPosition): Likewise.
8798 (setLabelFor): Replaced constant with real string.
8799 Fire property change event after property got changed.
8800 * javax/swing/JList.java
8801 (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
8802 (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
8803 (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
8804 (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
8805 (MODEL_PROPERTY_CHANGED): Likewise.
8806 (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
8807 (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
8808 (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
8809 (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
8810 (setFixedCellWidth): Reimplemented.
8811 (setFixedCellHeight): Exit if new value is identical.
8812 Replaced constant with real string.
8813 (setSelectionBackground): Likewise.
8814 (setSelectionForeground): Likewise.
8815 (setPrototypeCellValue): Likewise.
8816 (setCellRenderer): Replaced constant with real string.
8817 (setModel): Likewise.
8818 (setSelectionModel): Likewise.
8819 * javax/swing/JMenuBar.java
8820 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
8821 (MODEL_CHANGED_PROPERTY): Likewise.
8822 (MARGIN_CHANGED_PROPERTY): Likewise.
8823 (setBorderPainted): Reimplemented.
8824 (setMargin): Likewise.
8825 (setSelectionModel): Replaced constant with real string.
8826 * javax/swing/JPopupMenu.java
8827 (LABEL_CHANGED_PROPERTY): Removed.
8828 (VISIBLE_CHANGED_PROPERTY): Likewise.
8829 (borderPainted): Likewise.
8830 (setLabel): Replaced constant with real string.
8831 (setVisible): Exit if new value is identical.
8832 Replaced constant with real string.
8833 * javax/swing/JProgressBar.java
8834 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
8835 (ORIENTATION_CHANGED_PROPERTY): Likewise.
8836 (STRING_CHANGED_PROPERTY): Likewise.
8837 (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
8838 (INDETERMINATE_CHANGED_PROPERTY): Likewise.
8839 (setOrientation): Replaced constant with real string.
8840 (setStringPainted): Likewise.
8841 (setString): Likewise.
8842 (setBorderPainted): Likewise.
8843 (setIndeterminate): Likewise.
8844 * javax/swing/JScrollBar.java
8845 (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
8846 (MODEL_CHANGED_PROPERTY): Likewise.
8847 (ORIENTATION_CHANGED_PROPERTY): Likewise.
8848 (setOrientation): Replaced constant with real string.
8849 (setModel): Likewise.
8850 (setUnitIncrement): Likewise.
8851 (setBlockIncrement): Likewise.
8852 * javax/swing/JScrollPane.java
8853 (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
8854 (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
8855 (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
8856 (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
8857 (LAYOUT_CHANGED_PROPERTY): Likewise.
8858 (ROW_HEADER_CHANGED_PROPERTY): Likewise.
8859 (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
8860 (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
8861 (VIEWPORT_CHANGED_PROPERTY): Likewise.
8862 (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
8863 (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
8864 (setComponentOrientation): Replaced constant with real string.
8865 (setColumnHeader): Likewise.
8866 (setHorizontalScrollBar): Likewise.
8867 (setHorizontalScrollBarPolicy): Likewise.
8868 (setRowHeader): Likewise.
8869 (setVerticalScrollBar): Likewise.
8870 (setVerticalScrollBarPolicy): Likewise.
8871 (setWheelScrollingEnabled): Likewise.
8872 (setViewport): Likewise.
8873 (setViewportBorder): Likewise.
8874 * javax/swing/JSlider.java
8875 (INVERTED_CHANGED_PROPERTY): Removed.
8876 (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
8877 (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
8878 (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
8879 (MODEL_CHANGED_PROPERTY): Likewise.
8880 (ORIENTATION_CHANGED_PROPERTY): Likewise.
8881 (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
8882 (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
8883 (setModel): Replaced constant with real string.
8884 (setOrientation): Likewise.
8885 (setLabelTable): Likewise.
8886 (setInverted): Likewise.
8887 (setMajorTickSpacing): Likewise.
8888 (setMinorTickSpacing): Likewise.
8889 (setPaintTicks): Likewise.
8890 (setPaintLabels): Likewise.
8891 * javax/swing/JTabbedPane.java
8892 (MODEL_CHANGED_PROPERTY): Removed.
8893 (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
8894 (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
8895 (setModel): Replaced constant with real string.
8896 (setTabPlacement): Likewise.
8897 (setTabLayoutPolicy): Likewise.
8898 * javax/swing/JToolBar.java
8899 (ORIENTATION_CHANGED_PROPERTY): Removed.
8900 (FLOATABLE_CHANGED_PROPERTY): Likewise.
8901 (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
8902 (MARGIN_CHANGED_PROPERTY): Likewise.
8903 (ROLLOVER_CHANGED_PROPERTY): Likewise.
8904 (setRollover): Replaced constant with real string.
8905 (setMargin): Likewise.
8906 (setBorderPainted): Likewise.
8907 (setFloatable): Likewise.
8908 (setOrientation): Likewise.
8909 * javax/swing/plaf/basic/BasicComboBoxUI.java
8910 (PropertyChangeHandler.propertyChange): Likewise.
8911 * javax/swing/plaf/basic/BasicComboPopup.java
8912 (PropertyChangeHandler.propertyChange): Likewise.
8913 * javax/swing/plaf/basic/BasicMenuBarUI.java
8914 (PropertyChangeHandler.propertyChange): Likewise.
8915 * javax/swing/plaf/basic/BasicProgressBarUI.java
8916 (PropertyChangeHandler.propertyChange): Likewise.
8917 * javax/swing/plaf/basic/BasicScrollBarUI.java
8918 (PropertyChangeHandler.propertyChange): Likewise.
8919 * javax/swing/plaf/basic/BasicSliderUI.java
8920 (PropertyChangeHandler.propertyChange): Likewise.
8921 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8922 (PropertyChangeHandler.propertyChange): Likewise.
8923 * javax/swing/plaf/basic/BasicToolBarUI.java
8924 (PropertyChangeHandler.propertyChange): Likewise.
8926 2005-02-15 Michael Koch <konqueror@gmx.de>
8928 * javax/swing/DefaultButtonModel.java
8929 (changeState): Made private.
8930 * javax/swing/DefaultDesktopManager.java
8931 (setWasIcon): Fixed second argument to be java.lang.Boolean.
8932 * javax/swing/JLayeredPane.java
8933 (layerToRange): Made private.
8934 (incrLayer): Likewise.
8935 (decrLayer): Likewise.
8936 * javax/swing/JTable.java
8937 (dragEnabled): Likewise.
8938 (preferredViewportSize): Renamed from preferredScrollableViewportSize.
8939 * javax/swing/KeyStroke.java
8940 (Keystroke): Made private.
8941 * javax/swing/TransferHandler.java
8942 (COMMAND_COPY): Likewise.
8943 (COMMAND_CUT): Likewise.
8944 (COMMAND_PASTE): Likewise.
8946 2005-02-15 Michael Koch <konqueror@gmx.de>
8948 * javax/swing/JTextField.java
8949 (postActionEvent): Use text in field when actionCommand is null.
8950 (getActionCommand): Removed.
8952 2005-02-15 Michael Koch <konqueror@gmx.de>
8954 * javax/swing/AbstractSet.java: Removed.
8955 * Makefile.am: Removed javax/swing/AbstractSet.java.
8956 * Makefile.in: Regenerated.
8958 2005-02-15 Michael Koch <konqueror@gmx.de>
8960 * java/awt/Window.java
8961 (AccessibleWindow.getAccessibleStateSet): Fixed method name.
8962 * java/awt/dnd/DnDConstants.java
8963 (DnDConstants): New private constructor.
8965 2005-02-15 Michael Koch <konqueror@gmx.de>
8967 * javax/swing/DefaultCellRenderer.java: Removed.
8968 * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
8969 * Makefile.in: Regenerated.
8971 2005-02-15 Michael Koch <konqueror@gmx.de>
8973 * javax/swing/AbstractButton.java
8974 (fireItemStateChanged): Made protected.
8975 (fireActionPerformed): Likewise.
8976 (fireStateChanged): Likewise.
8977 * javax/swing/DefaultButtonModel.java
8978 (fireItemStateChanged): Likewise.
8979 (fireActionPerformed): Likewise.
8980 (fireStateChanged): Likewise.
8981 * javax/swing/JApplet.java
8983 (frameInit): Likewise.
8984 (setRootPane): Made protected.
8985 (createRootPane): Likewise.
8986 * javax/swing/JComponent.java
8987 (getClientProperty): Likewise.
8988 (putClientProperty): Likewise.
8989 * javax/swing/JEditorPane.java
8990 (getContentType): Likewise.
8991 (setContentType): Likewise.
8992 * javax/swing/JFrame.java
8993 (setRootPane): Likewise.
8994 (createRootPane): Likewise.
8995 * javax/swing/JInternalFrame.java
8996 (getFocusCycleRootAncestor): Made final. Added @since tag.
8997 (isFocusCycleRoot): Likewise.
8998 (getWarningString): Made final.
8999 * javax/swing/JScrollBar.java
9000 (changeListener): Removed.
9001 (changeEvent): Likewise.
9002 (createChangeListener): Likewise.
9003 (fireStateChanged): Likewise.
9004 (addChangeListener): Likewise.
9005 (removeChangeListener): Likewise.
9006 (getChangeListeners): Likewise.
9007 * javax/swing/JScrollPane.java
9008 (createViewport): Made protected.
9009 * javax/swing/JViewport.java
9010 (addImpl): Likewise.
9011 (setBorder): New method.
9012 * javax/swing/JWindow.java
9013 (setRootPane): Made protected.
9014 (createRootPane): Likewise.
9015 * javax/swing/plaf/basic/BasicButtonUI.java
9016 (installListeners): Likewise.
9017 (uninstallListeners): Likewise.
9018 * javax/swing/plaf/basic/BasicProgressBarUI.java
9019 (incrementAnimationIndex): Likewise.
9020 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
9021 (createLayoutManager): Likewise.
9022 * javax/swing/table/DefaultTableCellRenderer.java
9023 (firePropertyChange): Likewise.
9024 * javax/swing/table/JTableHeader.java
9025 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
9027 * javax/swing/text/PlainDocument.java
9028 (reindex): Made private.
9029 * javax/swing/text/PlainView.java
9030 (drawLine): Made protected.
9031 (getTabSize): Likewise.
9032 * javax/swing/text/View.java
9034 (preferenceChanged): New method.
9035 (getBreakWeight): Likewise.
9036 (breakView): Likewise.
9037 (getViewIndex): Likewise.
9039 2005-02-15 Michael Koch <konqueror@gmx.de>
9041 * javax/swing/JScrollPane.java
9042 (ScrollBar): Made class protected.
9043 * javax/swing/JSpinner.java
9044 (JSpinner): Added @since tag.
9045 (listenerList): Removed.
9046 * javax/swing/JTable.java
9047 (setValueAt): New method.
9048 (getColumn): Likewise.
9049 * javax/swing/JWindow.java
9050 (rootPaneCheckingEnabled): Renamed from checking.
9052 2005-02-15 Michael Koch <konqueror@gmx.de>
9054 * javax/swing/plaf/basic/BasicTextUI.java
9055 (RootView.modelToView): Made it public and return a java.awt.Shape.
9056 Handle null subview.
9057 (uninstall): Set textComponent to null when its not possible used
9059 * javax/swing/text/View.java
9060 (setParent): Use better argument name.
9061 (getContainer): Get parent via getParent().
9062 (getViewFactory): Likewise.
9063 (getAttributes): Get element via getElement().
9064 (getStartOffset): Likewise.
9065 (getEndOffset): Likewise.
9066 (getResizeWeight): New method.
9067 (getMaximumSpan): Likewise.
9068 (getMinimumSpan): Likewise.
9069 (setSize): Likewise.
9070 (getGraphics): Likewise.
9072 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
9074 * java/awt/Checkbox.java:
9075 (AccessibleAWTCheckbox()): Added public constructor
9077 * java/awt/Choice.java:
9078 (AccessibleAWTChoice): Added class documentation.
9079 (AccessibleAWTChoice()): Added public constructor
9081 (AccessibleAWTChoice.getAccessibleAction()): Documented.
9082 (AccessibleAWTChoice.getAccessibleRole()): Documented,
9083 and changed role to COMBO_BOX.
9084 (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
9085 (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
9086 (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
9088 2005-02-15 Graydon Hoare <graydon@redhat.com>
9089 Michael Koch <konqueror@gmx.de>
9091 * javax/swing/LayoutFocusTraversalPolicy.java,
9092 javax/swing/SortingFocusTraversalPolicy.java:
9094 * Makefile.am: Added new classes.
9095 * Makefike.in: Regenerated.
9098 2005-02-15 Michael Koch <konqueror@gmx.de>
9100 * javax/swing/DebugGraphics.java: Mostly implemented.
9102 2005-02-15 Michael Koch <konqueror@gmx.de>
9104 * javax/swing/SwingUtilities.java
9105 (findFocusOwner): New method.
9107 2005-02-15 Michael Koch <konqueror@gmx.de>
9109 * javax/swing/text/DefaultEditorKit.java
9110 (read): Added '\n' after each line.
9111 * javax/swing/text/PlainView.java
9112 (modelToView): Update metrics.
9113 (drawLine): Use offsets from element.
9114 (paint): Update metrics. Draw all lines.
9116 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
9118 * java/awt/Checkbox.java:
9119 (AccessibleAWTCheckbox): Added class documentation
9120 * java/awt/Scrollbar.java:
9121 (AccessibleAWTScrollBar): typo corrected and docs added
9122 (AccessibleAWTScrollBar.getAccessibleRole()): documented
9123 (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
9124 (AccessibleAWTScrollBar.getAccessibleValue()): likewise
9125 (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
9126 (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
9127 (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
9128 (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
9129 (getAccessibleContext()): name of accessible class corrected
9131 2005-02-15 Mark Wielaard <mark@klomp.org>
9133 * java/awt/BasicStroke.java (hashCode): Implement.
9136 2005-02-15 Michael Koch <konqueror@gmx.de>
9138 * java/awt/print/PrinterJob.java
9139 (pageDialog): Throws java.awt.HeadlessException.
9140 (printDialog): Likewise.
9142 2005-02-15 Mark Wielaard <mark@klomp.org>
9144 * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
9146 2005-02-15 Michael Koch <konqueror@gmx.de>
9148 * javax/swing/JTable.java
9149 (getValueAt): New method.
9150 * javax/swing/table/JTableHeader.java
9151 (columnAtPoint): New method.
9153 2005-02-15 Michael Koch <konqueror@gmx.de>
9155 * javax/swing/JTextField.java
9156 (actions): New field.
9157 (static): Initalize actions field.
9158 (getActions): New method.
9160 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
9162 * java/awt/Checkbox.java:
9163 (AccessibleAWTCheckbox): name capitalization corrected
9164 and serialization UID added.
9165 (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
9167 (AccessibleAWTCheckbox.getAccessibleAction()): likewise
9168 (AccessibleAWTCheckbox.getAccessibleValue()): likewise
9169 (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
9170 (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
9171 (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
9172 (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
9173 (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
9174 (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
9175 (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
9176 (AccessibleAWTCheckbox.getAccessibleRole()): likewise
9177 (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
9179 (getAccessibleContext()): name of accessible class corrected
9181 2005-02-15 Sven de Marothy <sven@physto.se>
9183 * java/awt/geom/doc-files/Area-1.png,
9184 java/awt/geom/doc-files/Ellipse-1.png,
9185 java/awt/geom/doc-files/GeneralPath-1.png:
9188 2005-02-15 Graydon Hoare <graydon@redhat.com>
9190 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
9191 Use union to avoid type-punning warning.
9193 2005-02-15 Michael Koch <konqueror@gmx.de>
9195 * javax/swing/DefaultListSelectionModel.java
9196 (clone): New method.
9198 2005-02-15 Mark Wielaard <mark@klomp.org>
9200 Reported by Martin Platter <motse@complang.tuwien.ac.at>
9201 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
9202 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
9203 Correct method signature of gtkSetFilename.
9205 2005-02-15 Arnaud Vandyck <avdyk@gnu.org>
9207 * javax/swing/text/StringContent.java: New file.
9209 2005-02-15 Michael Koch <konqueror@gmx.de>
9211 * Makefile.am: Added javax/swing/text/StringContent.java.
9212 * Makefile.in: Regenerated.
9214 2005-02-15 Michael Koch <konqueror@gmx.de>
9216 * gnu/java/awt/ClasspathToolkit.java:
9217 Import statements reworked.
9218 (imageCache): Made it of type java.util.HashMap.
9220 2005-02-15 Michael Koch <konqueror@gmx.de>
9222 * javax/imageio/stream/MemoryCacheImageInputStream.java:
9223 Reworked import statements.
9225 2005-02-15 Graydon Hoare <graydon@redhat.com>
9227 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
9228 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
9229 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
9230 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
9231 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
9232 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
9233 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
9234 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
9235 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
9236 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
9237 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
9238 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
9239 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
9240 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
9241 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
9242 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
9243 Rewrite uses of extern variable to be function calls.
9244 * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
9245 function, from extern variable.
9246 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
9247 (gdk_env): Remove variable, add new function.
9248 (java_vm): Add new variable.
9249 (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
9250 java_vm rather than old gdk_env variable.
9252 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
9254 * javax/swing/DefaultListModel.java
9255 (add): fire correct event,
9256 (addElement): corrected interval indices in event,
9257 (clear): corrected upper bound for interval, only fire event if
9259 (setSize): fire appropriate event.
9261 2005-02-15 Graydon Hoare <graydon@redhat.com>
9263 * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
9264 * gnu/awt/xlib/XToolkit.java: Likewise.
9265 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
9266 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
9267 * gnu/java/awt/ClasspathToolkit.java: Likewise.
9268 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
9269 * java/awt/EventQueue.java (getNextEvent):
9270 Adjust event loop to switch to native mode after 100ms.
9271 * javax/swing/Timer.java (drainEvents): Reuse Runnable.
9272 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
9273 (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
9274 Wake up event thread.
9275 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
9276 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
9277 Adjust event loop to switch to java mode after 100ms.
9279 2005-02-15 Graydon Hoare <graydon@redhat.com>
9281 * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
9282 accidentally removed in last change.
9284 2005-02-15 Michael Koch <konqueror@gmx.de>
9286 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
9287 gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
9289 2005-02-15 Graydon Hoare <graydon@redhat.com>
9291 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
9292 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
9293 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
9294 * jni.cc: Reuse bottom frame between calls, avoid clearing
9295 frame when no local references are made.
9297 2005-02-15 Michael Koch <konqueror@gmx.de>
9299 * javax/swing/UIDefaults.java (UIDefaults):
9300 Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
9301 Fixed HTML entity and removed a redundant comma.
9303 2005-02-15 Michael Koch <konqueror@gmx.de>
9305 * javax/swing/text/DefaultEditorKit.java
9306 (deinstall): Removed.
9307 (install): Likewise.
9309 2005-02-15 Michael Koch <konqueror@gmx.de>
9311 * javax/swing/UIDefaults.java (put): Handle value of null.
9313 2005-02-15 Michael Koch <konqueror@gmx.de>
9315 * java/awt/Robot.java,
9316 java/awt/Scrollbar.java,
9317 java/awt/print/PrinterJob.java,
9318 javax/swing/JTable.java,
9319 javax/swing/text/AbstractDocument.java:
9320 Reworked import statements.
9322 2005-02-15 Michael Koch <konqueror@gmx.de>
9324 * javax/swing/JEditorPane.java
9325 (read): Implemented.
9327 * javax/swing/text/DefaultEditorKit.java
9328 (page): Renamed from page_url. Made private.
9329 (editorKit): Renamed from kit. Made private.
9331 (JEditorPane): All constructors reimplemented.
9332 (getContentType): Use content type from editor kit.
9333 (getEditorKit): Return editorKit.
9334 (getEditorKitForContentType):Likewise.
9335 (getPage): Return page.
9336 (setContentType): Reimplemented.
9337 (setEditorKit): Likewise.
9338 (setEditorKitForContentType): Removed wrong implementation.
9339 (setPage): Implemented.
9341 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
9343 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
9344 (nativeSetIconImageFromData): Re-add native implementation.
9346 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
9348 * javax/swing/table/DefaultTableModel.java
9349 (DefaultTableModel()): Added Javadocs.
9350 (DefaultTableModel(int, int)): Fixed implementation.
9351 (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
9352 for negative rowCount.
9353 (DefaultTableModel(Object[], int)): Added Javadocs.
9354 (DefaultTableModel(Vector, Vector)): Likewise.
9355 (DefaultTableModel(Object[][], Object[])): Likewise.
9356 (getDataVector): Likewise.
9357 (setDataVector(Vector, Vector)): Likewise.
9358 (setDataVector(Object[][], Object[])): Likewise.
9359 (newDataAvailable): Likewise.
9360 (newRowsAdded): Likewise.
9361 (rowsRemoved): Likewise.
9362 (setColumnIdentifiers(Vector)): Allow for null argument.
9363 (setColumnIdentifiers(Object[])): Added Javadocs.
9364 (setNumRows): Likewise.
9365 (setRowCount): Adds new rows if necessary, and sends more specific
9367 (setColumnCount): Allow for null columnIdentifiers.
9368 (addColumn(Object)): Added Javadocs.
9369 (addColumn(Object, Vector)): Handle null columnData.
9370 (addColumn(Object, Object[])): Handle columnData with more or less
9371 entries than rows in the table.
9372 (addRow(Vector)): Fire appropriate event.
9373 (addRow(Object[])): Added Javadocs.
9374 (insertRow(int, Vector)): Fire appropriate event.
9375 (insertRow(int, Object[])): Added Javadocs.
9376 (moveRow): Reimplemented.
9377 (removeRow(int)): Fire appropriate event.
9378 (getColumnCount): Allow for null columnIdentifiers.
9379 (getColumnName): Now returns empty string when column index is too
9381 (isCellEditable): Added Javadocs.
9382 (getValueAt): Likewise.
9383 (setValueAt): Fire more specific event.
9384 (convertToVector): Added Javadocs.
9385 * javax/swing/table/TableModel.java
9388 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
9390 * libgcj.spec.in (lib): Add -l-javax-imageio.
9392 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
9394 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
9395 references to event queue q with method call q().
9396 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
9397 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
9398 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
9399 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
9400 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
9401 * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
9404 2005-02-15 Graydon Hoare <graydon@redhat.com>
9406 * gnu/java/awt/ClasspathToolkit.java
9407 (registerImageIOSpis): New method.
9408 * gnu/java/awt/image/ImageDecoder.java
9409 (imageDecoder): New constructor using InputStream
9410 (startProduction): Handle existing InputStream.
9411 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9412 (findSimpleIntegerArray): Make public and static.
9413 (updateBufferedImage): Set each pixel, in a loop.
9414 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
9415 Implement ImageIO SPI classes.
9416 (createBufferedImage): Rewrite in terms of SPI classes.
9417 * gnu/java/awt/peer/gtk/GtkToolkit.java
9418 (registerImageIOSpis): New method.
9419 * java/lang/reflect/natMethod.cc
9420 (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
9421 which lets JNI call interface methods properly.
9422 * javax/imageio/ImageIO.java
9423 (WriterFormatFilter.filter): Fix copy-and-paste typos.
9424 (WriterMIMETypeFilter.filter): Likewise.
9425 (ImageReaderIterator): Pass extension argument through to SPI.
9426 (getReadersByFilter): Likewise.
9427 (getWritersByFilter): Likewise.
9428 (getImageReadersByFormatName): Likewise.
9429 (getImageReadersByMIMEType): Likewise.
9430 (getImageReadersBySuffix): Likewise.
9431 (getImageWritersByFormatName): Likewise.
9432 (getImageWritersByMIMEType): Likewise.
9433 (getImageWritersBySuffix): Likewise.
9436 * javax/imageio/ImageReader.java
9437 (progressListeners): Initialize.
9438 (setInput): Implement.
9439 * javax/imageio/ImageWriter.java
9440 (progressListeners): Initialize.
9441 (warningListeners): Likewise.
9442 (warningLocales): Likewise.
9443 (setOutput): Test "isInstance" rather than class equality.
9444 * javax/imageio/spi/IIORegistry.java
9445 (static): Add reader and writer SPIs.
9446 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
9447 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
9448 (query_formats): New function.
9449 (save_to_stream): Likewise.
9450 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
9452 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
9454 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
9456 (keyPress): Likewise.
9457 (keyRelease): Likewise.
9459 2005-02-15 Olga Rodimina <rodimina@redhat.com>
9461 * javax/swing/JTable.java
9462 (columnAtPoint): New Method. Implemented.
9463 (rowAtPoint): Likewise.
9464 (countSelections): Fixed few small count errors.
9465 (getSelections): Likewise.
9466 (setSelectionMode): Set selection mode for column
9467 selection model in addition to row selection model.
9468 * javax/swing/plaf/basic/BasicTableUI.java:
9469 (getRowForPoint): Removed. Replaced by
9470 JTable.rowAtPoint().
9471 (getColForPoint): Removed. Replaced by
9472 JTable.columnAtPoint().
9473 (updateSelection): Updated to call JTable.columnAtPoint
9474 and JTable.rowAtPoint.
9475 * javax/swing/table/DefaultTableColumnModel.java:
9476 (getSelectedColumns): Implemented.
9477 (getSelectedColumnCount): Implemented.
9479 2005-02-15 Graydon Hoare <graydon@redhat.com>
9482 (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
9483 (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
9484 * Makefile.in: Regenerate.
9485 * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
9486 * gnu/awt/xlib/XFramePeer.java: Likewise.
9487 * gnu/awt/xlib/XToolkit.java: Likewise.
9488 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
9489 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
9490 * gnu/java/awt/ClasspathToolkit.java
9493 (iterateNativeQueue): New methods.
9494 * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
9495 * gnu/java/awt/peer/gtk/GtkToolkit.java
9496 (gtkInit): Absorb from defunct GtkMainThread class.
9497 (static): Run gtkInit in static startup block.
9498 (GtkToolkit): Remove construction of GtkMainThread and queue.
9499 (getSystemEventQueueImpl): Construct queue when requested.
9502 (iterateNativeQueue): New methods.
9503 * java/awt/Component.java (removeNotify): Remove race.
9504 * java/awt/EventDispatchThread.java
9505 (EventDispatchThread): Don't start on construction.
9506 (run): Remove isInterrupted check.
9507 * java/awt/EventQueue.java (shutdown): New flag.
9508 (isShutdown): New method checking J2SE shutdown condition.
9509 (setShutdown): New method.
9510 (getNextEvent): Restructure to use ClasspathToolkit.
9511 (postEvent): Activate new thread on posting, wake thread on
9512 post of possible shutdown condition event.
9513 * java/awt/Frame.java
9514 (Frame): Call noteFrame in all constructors.
9515 (fireDummyEvent): New helper method.
9516 (addNotify): Fire a dummy event to wake up queue.
9517 (removeNotify): Fire a dummy event to wake up queue.
9518 (noteFrame): New method.
9519 (weakFrames): New static field.
9520 (getFrames): Implement.
9521 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
9523 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
9524 Move everything from GtkMainThread into this file
9525 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
9526 (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
9527 (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
9528 New functions to implement single-threaded queue semantics.
9530 2005-02-15 Michael Koch <konqueror@gmx.de>
9532 * javax/swing/plaf/metal/MetalLookAndFeel.java
9533 (getControlTextFont): New method.
9534 (getMenuTextFont): Likewise.
9535 (getSubTextFont): Likewise.
9536 (getSystemTextFont): Likewise.
9537 (getUserTextFont): Likewise.
9538 (getWindowTitleFont): Likewise.
9540 2005-02-15 Michael Koch <konqueror@gmx.de>
9542 * javax/swing/text/AbstractDocument.java
9543 (documentFilter): New field.
9544 (getDocumentFilter): New method.
9545 (setDocumentFilter): Likewise.
9548 2005-02-15 Michael Koch <konqueror@gmx.de>
9550 * javax/swing/JTree.java
9551 (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
9553 2005-02-15 Michael Koch <konqueror@gmx.de>
9555 * javax/swing/text/AbstractDocument.java
9556 (AbstractElement.getLength): Fixed off-by-one error.
9557 (AbstractElement.children): Made abstract.
9558 (AbstractElement.getAllowsChildren): Likewise.
9559 (AbstractElement.getElement): Likewise.
9560 (AbstractElement.dumpElement): New private method.
9561 (AbstractElement.dump): New method.
9562 (BranchElememt.getName): Fixed implementation.
9563 (BranchElememt.toString): Likewise.
9564 (BranchElememt.getElement): Fixed arguments.
9565 (LeafElement.getName): Fixed implementation.
9566 (LeafElement.toString): Likewise.
9567 * javax/swing/text/GapContent.java
9568 (GapContent): Put default content into buffer.
9569 * javax/swing/text/PlainDocument.java
9570 (reindex): Use empty attribute sets instead of null.
9571 (createDefaultRoot): Reimplemented.
9572 (insertUpdate): Call super method.
9573 (removeUpdate): Likewise.
9574 (getParagraphElement): Implemented.
9576 2005-02-15 Michael Koch <konqueror@gmx.de>
9578 * gnu/java/awt/ClasspathToolkit.java
9579 (createRobot): Throws java.awt.AWTException.
9580 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
9581 Added '__attribute__((unused))' to all unused method arguments.
9583 2005-02-15 Michael Koch <konqueror@gmx.de>
9585 * javax/swing/DefaultBoundedRangeModel.java
9586 (fireValueChanged): Fixed off-by-one error.
9588 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
9590 * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
9591 (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
9593 (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
9594 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
9595 * gnu/awt/xlib/XToolkit.java (createRobot): New method.
9596 * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
9597 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9598 (getDefaultScreenDevice): Implement.
9599 * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
9600 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
9601 * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
9602 * java/awt/Robot.java: Implement.
9603 * java/awt/peer/RobotPeer.java: Rename parameters.
9604 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
9605 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9606 (awt_keycode_to_keysym): Make non-static.
9607 * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
9608 AWT_BUTTON3_MASK): Declare constants.
9609 (awt_keycode_to_keysym): Declare.
9611 * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
9612 * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
9613 and is non-empty pass its value to "make check".
9614 (test_mauve_sim): Likewise.
9616 2005-02-15 Michael Koch <konqueror@gmx.de>
9618 * javax/imageio/IIOParam.java
9619 (setSourceBands): New method.
9620 (setSourceSubsampling): Likewise.
9621 * javax/imageio/ImageReadParam.java
9622 (setDestination): Likewise.
9623 (setDestinationBands): Likewise.
9624 (setSourceProgressivePasses): Likewise.
9625 * javax/imageio/metadata/IIOInvalidTreeException.java
9626 (serialVersionUID): New static field.
9627 * javax/imageio/metadata/IIOMetadataNode.java
9628 (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
9629 (parent): Dont initailize with default value explicitely.
9631 (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
9632 (removeAttributeNode): Likewise.
9633 (removeAttributeNS): Likewise.
9634 (setAttribute): Likewise.
9635 (setAttributeNode): Likewise.
9636 (setAttributeNodeNS): Likewise.
9637 (setAttributeNS): Likewise.
9638 (appendChild): Likewise.
9639 (getNodeValue): Likewise.
9640 (insertBefore): Likewise.
9641 (removeChild): Likewise.
9642 (replaceChild): Likewise.
9643 (setPrefix): Likewise.
9645 2005-02-15 Michael Koch <konqueror@gmx.de>
9647 * javax/swing/LookAndFeel.java
9648 (getDesktopPropertyValue): New method.
9650 2005-02-15 Michael Koch <konqueror@gmx.de>
9652 * javax/swing/JTree.java
9653 (hasChildren): New instance field.
9655 2005-02-15 Michael Koch <konqueror@gmx.de>
9657 * javax/swing/JComponent.java
9658 (getToolTipText): New method.
9659 (getTitledBorderText): Likewise.
9660 (getAccessibleKeyBinding): Likewise.
9661 (getVerifyInputWhenFocusTarget): Likewise.
9662 (setVerifyInputWhenFocusTarget): Likewise.
9663 (verifyInputWhenFocusTarget): New instance field.
9665 2005-02-15 Michael Koch <konqueror@gmx.de>
9667 * javax/swing/DefaultListSelectionModel.java
9668 (fireValueChanged): New method.
9670 2005-02-15 Michael Koch <konqueror@gmx.de>
9672 * javax/swing/DefaultBoundedRangeModel.java:
9673 Fixed javadocs all over.
9674 (fireStateChanged): Simplified.
9675 * javax/swing/BoundedRangeModel.java:
9678 2005-02-15 Michael Koch <konqueror@gmx.de>
9680 * javax/swing/JRootPane.java
9681 (setMenuBar): Added @deprecated tag.
9682 (getMenuBar): Likewise.
9683 * javax/swing/JTable.java
9684 (sizeColumnsToFit): Likewise.
9686 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
9688 * javax/swing/ImageIcon.java (setImage): Implemented.
9690 2005-02-15 Michael Koch <konqueror@gmx.de>
9692 * javax/swing/JTable.java:
9693 Removed unused imports.
9695 2005-02-15 Olga Rodimina <rodimina@redhat.com>
9697 (prepareRenderer): Get column's index in dataModel instead
9698 of column's view index.
9699 (getColumnCount): return count of the columns in ColumnModel,
9701 (removeColumn): Implemented.
9702 (moveColumm): Likewise.
9703 (setRowHeight): throw IllegalArgumentException if height is
9705 * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
9706 (DefaultTableColumnModel):Add call to createSelectionModel().
9707 (addColumn): Fire columnAdded event to registered listeners.
9708 (removeColumn): Fire columnRemoved event to registered listeners.
9709 (moveColumn): Fire columnMoved event to registered listeners.
9710 (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
9711 (getColumnIndex): Changed parameter name.
9712 (setColumnSelectionAllowed): Likewise.
9713 (fireColumnAdded): Implemented.
9714 (fireColumnRemoved): Likewise.
9715 (fireColumnMoved): Likewise.
9716 (fireColumnMarginChanged): Likewise.
9717 (getListeners): Changed parameter name.
9718 (propertyChange): Implemented.
9719 (valueChanged): Changed parameter name.
9720 (createSelectionModel): Implemented.
9722 2005-02-15 Michael Koch <konqueror@gmx.de>
9724 * gnu/java/awt/peer/gtk/GtkToolkit.java:
9725 Explicitely import used classes.
9726 (getLocalGraphicsEnvironment): Simplify.
9727 * java/awt/Window.java (Window):
9728 Enable code to get the default GraphicsConfiguration.
9730 2005-02-15 Michael Koch <konqueror@gmx.de>
9732 * javax/swing/plaf/metal/DefaultMetalTheme.java
9733 (CONTROL_TEXT_FONT): New static field.
9734 (MENU_TEXT_FONT): Likewise.
9735 (SUB_TEXT_FONT): Likewise.
9736 (SYSTEM_TEXT_FONT): Likewise.
9737 (USER_TEXT_FONT): Likewise.
9738 (WINDOW_TITLE_FONT): Likewise.
9739 (getControlTextFont): New method.
9740 (getMenuTextFont): Likewise.
9741 (getSubTextFont): Likewise.
9742 (getSystemTextFont): Likewise.
9743 (getUserTextFont): Likewise.
9744 (getWindowTitleFont): Likewise.
9745 * javax/swing/plaf/metal/MetalTheme.java
9746 (BLACK): Initialize with Color.BLACK.
9747 (WHITE): Initialize with Color.WHITE.
9748 (getInactiveControlTextColor): Return getControlDisabled().
9749 (getMenuDisabledForeground): Return getSecondary3().
9750 (getControlTextFont): New abstract method.
9751 (getMenuTextFont): Likewise.
9752 (getSubTextFont): Likewise.
9753 (getSystemTextFont): Likewise.
9754 (getUserTextFont): Likewise.
9755 (getWindowTitleFont): Likewise.
9757 2005-02-15 Michael Koch <konqueror@gmx.de>
9759 * javax/swing/JFormattedTextField.java
9760 (getFocusLostBehavior): Fixed typo in method name.
9761 (setFocusLostBehavior): Likewise.
9763 2005-02-15 Michael Koch <konqueror@gmx.de>
9765 * javax/swing/TransferHandler.java:
9766 Reworked import statements.
9768 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
9770 * java/awt/Button.java,
9771 java/awt/Canvas.java,
9772 java/awt/Checkbox.java,
9773 java/awt/CheckboxMenuItem.java,
9774 java/awt/Choice.java,
9775 java/awt/Dialog.java,
9776 java/awt/Frame.java,
9777 java/awt/Label.java,
9780 java/awt/MenuBar.java,
9781 java/awt/MenuItem.java,
9782 java/awt/PopupMenu.java,
9783 java/awt/ScrollPane.java,
9784 java/awt/Scrollbar.java,
9785 java/awt/TextArea.java,
9786 java/awt/Window.java (getAccessibleContext): Clean up comments.
9788 * java/awt/Button.java,
9789 java/awt/Checkbox.java,
9790 java/awt/Choice.java,
9792 java/awt/PopupMenu.java,
9793 java/awt/TextArea.java (getAccessibleContext): Only create new
9795 * java/awt/TextComponent.java (getAccessibleContext): Implement.
9797 2005-02-15 Michael Koch <konqueror@gmx.de>
9799 * java/awt/Button.java,
9800 javax/swing/JApplet.java,
9801 javax/swing/JFormattedTextField.java,
9802 javax/swing/JWindow.java,
9803 javax/swing/JTree.java,
9804 javax/swing/plaf/basic/BasicEditorPaneUI.java,
9805 javax/swing/plaf/basic/BasicTextPaneUI.java,
9806 javax/swing/plaf/basic/BasicTreeUI.java:
9807 Reworked import statements.
9809 2005-02-15 Michael Koch <konqueror@gmx.de>
9811 * Makefile.am: Put javax.imageio into its own library and link it
9812 against lib-org-w3c-dom.la to fix bootstrapping.
9813 * Makefile.in: Regenerated.
9815 2005-02-15 Michael Koch <konqueror@gmx.de>
9817 * javax/swing/text/TextAction.java
9818 (getTextComponent): Simplified. Added Javadoc.
9819 (augmentList): Implemented. Added Javadoc.
9820 (getFocusedComponent): Added javadoc.
9822 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
9824 * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
9825 getAccessibleContext): Implement.
9826 * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
9827 getAccessibleContext): Implement.
9829 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
9831 * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
9833 * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
9835 * java/awt/Window.java (getAccessibleContext): Fix comment.
9836 Remove extra import.
9838 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
9840 * java/awt/Window.java (AccessibleAWTWindow): Implement.
9841 (isActive, isFocused, getAccessibleContext): Implement.
9843 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
9845 * java/awt/MenuItem.java (getAccessibleContext): Implement.
9846 * java/awt/MenuComponent.java (accessibleContext): Make package
9848 * java/awt/CheckboxMenuItem.java (getAccessibleContext,
9849 AccessibleAWTCheckboxMenuItem): Implement.
9851 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
9853 * java/awt/List.java: Implement AccessibleAWTList,
9854 AccessibleAWTListChild.
9856 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
9858 * java/awt/Choice.java: Add implements declaration for
9861 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
9863 * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
9866 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
9868 * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
9869 implemented interface list.
9871 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
9873 * javax/imageio/metadata/IIOMetadataNode.java: Implement.
9874 * javax/imageio/metadata/IIOAttr.java: New class.
9875 * javax/imageio/metadata/IIONamedNodeMap.java: New class.
9876 * javax/imageio/metadata/IIONodeList.java: New class.
9877 * Makefile.am: Added new files.
9878 * Makefile.in: Regenerated.
9880 2005-02-15 Michael Koch <konqueror@gmx.de>
9882 * javax/swing/AbstractAction.java,
9883 javax/swing/AbstractCellEditor.java,
9884 javax/swing/AbstractListModel.java,
9885 javax/swing/DefaultBoundedRangeModel.java,
9886 javax/swing/DefaultButtonModel.java,
9887 javax/swing/DefaultCellEditor.java,
9888 javax/swing/DefaultComboBoxModel.java,
9889 javax/swing/DefaultDesktopManager.java,
9890 javax/swing/JMenu.java,
9891 javax/swing/JSlider.java,
9892 javax/swing/KeyStroke.java,
9893 javax/swing/OverlayLayout.java,
9894 javax/swing/ScrollPaneLayout.java,
9895 javax/swing/SizeRequirements.java,
9896 javax/swing/ViewportLayout.java:
9897 Made serialVersionUID private.
9899 2005-02-15 Michael Koch <konqueror@gmx.de>
9901 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9904 2005-02-15 Michael Koch <konqueror@gmx.de>
9906 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
9908 2005-02-15 Michael Koch <konqueror@gmx.de>
9910 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
9912 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
9914 * java/awt/EventDispatchThread.java,
9915 java/awt/Toolkit.java:
9916 Don't catch java.lang.ThreadDeath.
9918 2005-02-15 Michael Koch <konqueror@gmx.de>
9920 * javax/swing/text/PasswordView.java
9921 (drawEchoCharacter): Added javadoc.
9922 (drawSelectedText): Likewise.
9923 (drawUnselectedText): Likewise.
9925 2005-02-15 Michael Koch <konqueror@gmx.de>
9927 * javax/swing/JRootPane.java
9928 (windowDecorationStyle): New field.
9929 (setMenuBar): New method.
9930 (getMenuBar): Likewise.
9931 (getWindowDecorationStyle): Likewise.
9932 (setWindowDecorationStyle): Likewise.
9934 2005-02-15 Michael Koch <konqueror@gmx.de>
9936 * javax/swing/DefaultListSelectionModel.java
9937 (leadAnchorNotificationEnabled): Made protected.
9939 2005-02-15 Michael Koch <konqueror@gmx.de>
9941 * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
9942 * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
9943 * Makefile.in: Regenerated.
9946 2005-02-15 Michael Koch <konqueror@gmx.de>
9948 * javax/swing/JFormattedTextField.java: Implemented.
9949 * javax/swing/JWindow.java
9950 (JWindow): New constructors.
9951 (initWindow): Renamed from initFrame.
9952 * javax/swing/UIDefaults.java
9953 (ActiveValue): Made interface static.
9954 (LazyValue): Likewise.
9955 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
9956 (TitlePaneLayout.TitlePaneLayout): New constructor.
9957 * javax/swing/plaf/basic/BasicSliderUI.java
9958 (ChangeHandler): Made public.
9959 (FocusHandler): Likewise.
9960 (PropertyChangeHandler): Likewise.
9961 (ScrollListener): Likewise.
9962 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
9963 (FocusHandler): Likewise.
9964 (MouseHandler): Likewise.
9965 * javax/swing/plaf/basic/BasicTextPaneUI.java
9966 (BasicTextPaneUI): Extend BasicEditorPaneUI.
9967 * javax/swing/plaf/basic/BasicToolBarUI.java
9968 (BasicToolBarUI): Simplified. Reworked javadoc.
9969 (canDock): Simplified. Make public.
9970 (DockingListener): Made public.
9971 * javax/swing/text/JTextComponent.java
9972 (navigationFilter): New field.
9973 (getNavigationFilter): New method.
9974 (setNavigationFilter): Likewise.
9976 2005-02-15 Michael Koch <konqueror@gmx.de>
9978 * javax/swing/plaf/metal/MetalTheme.java
9979 (getControlTextColor): Return getControlInfo().
9980 (getHighlightedTextColor): Return getControlTextColor().
9982 2005-02-15 Michael Koch <konqueror@gmx.de>
9984 * javax/swing/plaf/basic/BasicButtonListener.java
9985 (BasicButtonListener): New constructor.
9986 * javax/swing/plaf/basic/BasicButtonUI.java
9987 (createButtonListener): Usw new BasicButtonListener constructor.
9989 2005-02-15 Michael Koch <konqueror@gmx.de>
9991 * javax/imageio/event/package.html,
9992 javax/imageio/metadata/package.html: New files.
9994 2005-02-15 Michael Koch <konqueror@gmx.de>
9996 * java/awt/image/MemoryImageSource.java: Reformatted.
9998 2005-02-15 Michael Koch <konqueror@gmx.de>
10000 * javax/swing/tree/TreeCellEditor.java: Refomatted.
10002 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
10004 * java/awt/color/ICC_Profile.java
10005 (finalize): Removed pointless field assignments.
10007 2005-02-15 Michael Koch <konqueror@gmx.de>
10009 * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
10010 * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
10011 * Makefile.in: Regenerated.
10013 2005-02-15 Michael Koch <konqueror@gmx.de>
10015 * javax/swing/text/DefaultStyledDocument.java: New file.
10016 * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
10017 * Makefile.in: Regenerated.
10019 2005-02-15 Michael Koch <konqueror@gmx.de>
10021 * javax/swing/JFileChooser.java
10022 (showDialog): Return CANCEL_OPTION for now.
10023 (showOpenDialog): Likewise.
10024 (showSaveDialog): Likewise.
10026 2005-02-15 Michael Koch <konqueror@gmx.de>
10028 * javax/swing/JApplet.java
10029 (HIDE_ON_CLOSE): Removed.
10030 (EXIT_ON_CLOSE): Likewise.
10031 (DISPOSE_ON_CLOSE): Likewise.
10032 (DO_NOTHING_ON_CLOSE): Likewise.
10033 (close_action): Likewise.
10034 (getDefaultCloseOperation): Likewise.
10035 (setDefaultCloseOperation): Likewise.
10036 (processWindowEvent): Likewise.
10037 (getPreferredSize): Simplified.
10038 * javax/swing/JInternalFrame.java
10039 (setDefaultCloseOperation): Fixed throwing exception on wrong argument
10041 * javax/swing/JWindow.java
10042 (HIDE_ON_CLOSE): Removed.
10043 (EXIT_ON_CLOSE): Likewise.
10044 (DISPOSE_ON_CLOSE): Likewise.
10045 (DO_NOTHING_ON_CLOSE): Likewise.
10046 (close_action): Likewise.
10047 (processKeyEvent): Likewise.
10048 (setDefaultCloseOperation): Likewise.
10049 (getPreferredSize): Simplified.
10051 2005-02-15 Michael Koch <konqueror@gmx.de>
10053 * javax/swing/JTextField.java
10054 (getPreferredSize): Re-implemented.
10056 2005-02-15 Michael Koch <konqueror@gmx.de>
10058 * javax/swing/JLabel.java
10059 (setDisplayedMnemonic): Use only upper case characters.
10060 (setDisplayedMnemonicIndex): Handle index == -1 and fire
10061 PropertyChangeEvent after property got set to the new index.
10063 2005-02-15 Robert Schuster <thebohemian@gmx.net>
10065 * javax/swing/JComboBox.java:
10066 (JComboBox): Removed selection of the
10067 first item in the model.
10069 2005-02-15 Robert Schuster <thebohemian@gmx.net>
10071 * javax/swing/JComboBox.java
10072 added support for no item being selected
10073 (JComboBox): select first or nothing depending on element count
10074 (setModel): cleaned up unneeded "this." usage, added more
10075 docs, made exception behavior match that of the JDK
10076 (setLighWeightPopupEnabled): removed unneeded "this." usage
10077 (setEditable): dito
10078 (setMaximumRowCount): dito
10079 (setRenderer): dito
10080 (setPrototypeDisplayValue): dito
10081 (getSelectedItem): simplified, added more user doc
10082 (setSelectedIndex): corrected exception behavior, added more user doc
10083 (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
10084 added performance warning to user doc
10085 (addItem): fixed exception behavior, added user doc
10086 (insertItemAt): dito
10088 (removeItemAt): dito
10089 (removeAll): fixed exception behavior, added user doc, added support
10090 for model not being instance of DefaultComboBoxModel
10091 (getSelectedItemObjects): simplified
10092 (getItemCount): fixed dependency on DefaultComboBoxModel
10093 (getItemAt): fixed dependency on MutableComboBoxModel
10094 * javax/swing/DefaultComboBoxModel.java:
10095 (setSelectedItem): updates selected item only if new
10096 value is null or known (match JDK behavior)
10097 * javax/swing/plaf/basic/BasicComboBoxUI.java:
10098 (paintCurrentValue): renders "" if no item is selected
10100 2005-02-15 Michael Koch <konqueror@gmx.de>
10102 * javax/swing/plaf/metal/MetalTheme.java,
10103 javax/swing/plaf/metal/DefaultMetalTheme.java:
10105 * javax/swing/plaf/metal/MetalLookAndFeel.java
10106 * Makefile.am: Added the new files.
10107 * Makefile.in: Regenerated.
10109 2005-02-15 Olga Rodimina <rodimina@redhat.com>
10111 * javax/swing/JTable.java
10112 (editorComp): New field.
10113 (JTable): Initialize local variables and call updateUI
10114 (selectionBackground): Make protected.
10115 (selectionForeground): Likewise.
10116 (initializeLocalVars): Create default editors and renderers,
10117 initialize editingColumn, editingRow variables.
10118 (createDefaultEditors): New Method.
10119 (createDefaultRenderers): Likewise.
10120 (createDefaultListSelectionModel): Removed
10121 (createDefaultSelectionModel): New Method.
10122 (createDefaultTableHeader): Likewise
10123 (removeColumn): Likewise.
10124 (getEditingColumn): Likewise.
10125 (setEditingColumn): Likewise.
10126 (getEditingRow): Likewise.
10127 (setEditingRow): Likewise.
10128 (getEditorComponent): Likewise.
10129 (isEditing): Likewise.
10130 (setDefaultEditor): Likewise.
10131 (addColumnSelectionInterval): Likewise.
10132 (addRowSelectionInterval): Likewise.
10133 (setColumnSelectionInterval): Likewise.
10134 (setRowSelectionInterval): Likewise.
10135 (removeColumnSelectionInterval): Likewise.
10136 (removeRowSelectionInterval): Likewise.
10137 (isColumnSelected): Likewise.
10138 (isRowSelected): Likewise.
10139 (isCellSelected): Likewise.
10140 (selectAll): Likewise.
10142 2005-02-15 Michael Koch <konqueror@gmx.de>
10144 * javax/swing/JTable.java
10145 (addColumn): New method.
10146 (getColumnClass): Likewise.
10147 (getColumnName): Likewise.
10149 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
10151 * javax/swing/TransferHandler.java
10152 (createTransferable): Made protected.
10154 2005-02-15 Michael Koch <konqueror@gmx.de>
10156 * javax/swing/JTable.java,
10157 javax/swing/plaf/basic/BasicTableHeaderUI.java,
10158 javax/swing/plaf/basic/BasicTableUI.java:
10159 Use fixed get/setIntercellSpacing() methods.
10161 2005-02-15 Michael Koch <konqueror@gmx.de>
10163 * javax/swing/JTable.java
10164 (getIntercellSpacing): Fixed typo in method name.
10165 (setIntercellSpacing): Likewise.
10167 2005-02-15 Michael Koch <konqueror@gmx.de>
10169 * javax/swing/text/JTextComponent.java
10170 (focusAccelerator): New variable.
10171 (getFocusAccelerator): New method.
10172 (setFocusAccelerator): Likewise.
10174 2005-02-15 Michael Koch <konqueror@gmx.de>
10176 * javax/swing/JComponent.java
10177 (setTransferHandler): Made public. Fire property change event.
10178 * javax/swing/TransferHandler.java: Implemented.
10179 * javax/swing/text/JTextComponent.java
10180 (DefaultTransferHandler): New inner class.
10181 (defaultTransferHandler): New variable.
10182 (copy): New method.
10185 (doTransferAction): Likewise.
10187 2005-02-15 Michael Koch <konqueror@gmx.de>
10189 * javax/swing/JTree.java
10190 (collapsePath): New method.
10191 (collapseRow): Likewise.
10192 (expandPath): Likewise.
10193 (expandRow): Likewise.
10194 (checkExpandParents): Likewise.
10195 (doExpandParents): Likewise.
10196 (setExpandedState): Likewise.
10197 (makeVisible): Likewise.
10199 2005-02-15 Michael Koch <konqueror@gmx.de>
10201 * javax/swing/JPasswordField.java: Updated javadocs.
10203 2005-02-15 Michael Koch <konqueror@gmx.de>
10205 * javax/swing/JLayeredPane.java
10206 (getLayer): Fixed return type, made public.
10207 (getPosition): Use new getLayer().
10208 (SetPosition): Likewise.
10209 (getIndexOf): Likewise.
10210 (remove): Likewise.
10211 * javax/swing/JInternalFrame.java
10212 (getLayer): Use new JLayeredPane.getLayer().
10215 2005-02-15 Michael Koch <konqueror@gmx.de>
10217 * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
10218 (setHeaderValue): Simplified. Do nothing when old value == new value.
10220 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
10222 * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
10223 against null clip region.
10224 * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
10225 gtkWindowSetResizable.
10226 (postConfigureEvent): Only revalidate if frame size has changed.
10227 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
10228 Only revalidate if frame size has changed.
10229 * java/awt/Component.java (reshape): Only repaint and post
10230 component events if component is showing.
10231 * java/awt/Container.java (addImpl): Only post container event if
10232 container is showing.
10233 (remove): Likewise.
10234 * java/awt/Window.java (setLocationRelativeTo): Implement.
10235 (setBoundsCallback): Only post component events if component is
10237 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
10238 Protect against null graphics structure. Flush gdk event queue.
10240 2005-02-15 Michael Koch <konqueror@gmx.de>
10242 * javax/imageio/ImageReader.java,
10243 javax/imageio/ImageTranscoder.java,
10244 javax/imageio/ImageWriter.java,
10245 javax/imageio/spi/ImageInputStreamSpi.java,
10246 javax/imageio/spi/ImageOutputStreamSpi.java,
10247 javax/imageio/spi/ServiceRegistry.java,
10248 javax/imageio/stream/ImageInputStream.java,
10249 javax/imageio/stream/ImageOutputStream.java: Updated.
10250 * javax/imageio/IIOException.java,
10251 javax/imageio/IIOImage.java,
10252 javax/imageio/IIOParam.java,
10253 javax/imageio/IIOParamController.java,
10254 javax/imageio/ImageIO.java,
10255 javax/imageio/ImageReadParam.java,
10256 javax/imageio/ImageTypeSpecifier.java,
10257 javax/imageio/ImageWriteParam.java,
10258 javax/imageio/spi/IIORegistry.java,
10259 javax/imageio/spi/ImageReaderSpi.java,
10260 javax/imageio/spi/ImageWriterSpi.java,
10261 javax/imageio/stream/FileCacheImageInputStream.java,
10262 javax/imageio/stream/FileCacheImageOutputStream.java,
10263 javax/imageio/stream/FileImageInputStream.java,
10264 javax/imageio/stream/FileImageOutputStream.java,
10265 javax/imageio/stream/ImageInputStreamImpl.java,
10266 javax/imageio/stream/ImageOutputStreamImpl.java,
10267 javax/imageio/stream/MemoryCacheImageInputStream.java,
10268 javax/imageio/stream/MemoryCacheImageOutputStream.java,
10269 javax/imageio/event/IIOReadProgressListener.java,
10270 javax/imageio/event/IIOReadUpdateListener.java,
10271 javax/imageio/event/IIOReadWarningListener.java,
10272 javax/imageio/event/IIOWriteProgressListener.java,
10273 javax/imageio/event/IIOWriteWarningListener.java,
10274 javax/imageio/metadata/IIOMetadata.java,
10275 javax/imageio/metadata/IIOMetadataController.java,
10276 javax/imageio/metadata/IIOMetadataFormat.java,
10277 javax/imageio/metadata/IIOInvalidTreeException.java,
10278 javax/imageio/metadata/IIOMetadataFormatImpl.java,
10279 javax/imageio/metadata/IIOMetadataNode.java: New files.
10280 * Makefile.am (javax_source_files): Added new files
10281 * Makefile.in: Regenerated.
10283 2005-02-15 Graydon Hoare <graydon@redhat.com>
10285 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
10286 Rework painting into BufferedImages
10287 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
10288 Construct BufferedImage with alpha only when alpha is
10289 present in colormodel.
10290 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
10291 Rework painting into client-side jint arrays.
10292 * jni/gtk-peer/gtkcairopeer.h:
10295 2005-02-15 Michael Koch <konqueror@gmx.de>
10297 * javax/swing/DefaultListCellRenderer.java
10298 (serialVersionUID): Made private.
10299 (getListCellRendererComponent): Set horizontal alignment.
10300 * javax/swing/JLabel.java
10301 (setVerticalAlignment): Re-implemented.
10302 (setHorizontalAlignment): Do nothing if old value = new value.
10303 * javax/swing/JList.java
10304 (setCellRenderer): Likewise.
10305 (setModel): Re-implemented.
10306 (setSelectionModel): Likewise.
10308 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
10310 * java/awt/Component.java,
10311 java/awt/geom/Rectangle2D.java:
10314 2005-02-15 Michael Koch <konqueror@gmx.de>
10316 * javax/swing/AbstractListModel.java
10317 (fireContentsChanged): Simplified.
10318 (fireIntervalAdded): Likewise.
10319 (fireIntervalRemoved): Likewise.
10320 * javax/swing/DefaultSingleSelectionModel.java:
10322 (fireStateChanged): Simplified.
10323 * javax/swing/JPopupMenu.java
10324 (setSelectionModel): Set property.
10326 2005-02-15 Michael Koch <konqueror@gmx.de>
10328 * java/awt/print/Book.java: Reformatted.
10330 2005-02-15 Michael Koch <konqueror@gmx.de>
10332 * java/awt/geom/Area.java
10333 (QuadSegment.curveArea): Remove unused variables.
10334 (CubicSegment.curveArea): Likewise.
10336 2005-02-15 Michael Koch <konqueror@gmx.de>
10338 * javax/swing/JTree.java
10339 (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
10340 (LEAD_SELECTION_PATH_PROPERTY): Likewise.
10341 (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
10342 (EXPANDED): New constant.
10343 (COLLAPSED): Likewise.
10344 (nodeStates): New field.
10345 (cellEditor): New method.
10346 (cellRenderer): Likewise.
10347 (selectionModel): Likewise.
10348 (treeModel): Likewise.
10349 (scrollPathToVisible): Likewise.
10350 (scrollRowToVisible): Likewise.
10351 (isCollapsed): Likewise.
10352 (isExpanded): Likewise.
10353 (clearToggledPaths): Likewise.
10354 (getDescendantToggledPaths): Likewise.
10355 (hasBeenExpanded): Likewise.
10356 (isVisible): Likewise.
10357 (isPathEditable): Likewise.
10359 2005-02-15 Michael Koch <konqueror@gmx.de>
10361 * javax/swing/JLayeredPane.java: Reformatted.
10363 2005-02-15 Michael Koch <konqueror@gmx.de>
10365 * javax/swing/tree/DefaultMutableTreeNode.java:
10366 Completely Revised.
10367 * javax/swing/tree/MutableTreeNode.java:
10370 2005-02-15 Michael Koch <konqueror@gmx.de>
10372 * javax/swing/JFormattedTextField.java
10373 (setDocument): Call setDocument of super class. Don't fire property
10376 2005-02-15 Sven de Marothy <sven@physto.se>
10378 * java/awt/image/IndexColorModel.java:
10379 Add FIXME with respect to alpha handling.
10380 (getAlpha): Default to returning opaque pixels.
10381 * java/awt/image/MultiPixelPackedSampleModel.java
10382 (MultiPixelPackedSampleModel): Corrected parameters, order of
10383 bit shifts and masks, stride length off by one.
10385 2005-02-15 Michael Koch <konqueror@gmx.de>
10387 * javax/swing/JList.java, javax/swing/JTree.java:
10388 Added much new methods and fixed much methods setting bound properties.
10390 2005-02-16 Mark Wielaard <mark@klomp.org>
10392 * Makefile.am (gnu_xml_source_files): Removed
10393 gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
10394 gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
10395 gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
10396 gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
10397 gnu/xml/dom/DomDocumentFragment.java,
10398 gnu/xml/dom/DomProcessingInstruction.java and
10399 gnu/xml/dom/ls/DomLSException.java.
10400 * Makefile.in: Regenerated.
10402 2005-02-16 Tom Tromey <tromey@redhat.com>
10404 * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
10405 attribute index is out of bounds.
10407 2005-02-16 Chris Burdess <dog@gnu.org>
10409 * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
10410 isDeclared methods. Improved performance of isSpecified methods.
10412 2005-02-16 Chris Burdess <dog@gnu.org>
10414 Fixes bug libgcj/19864
10415 * gnu/xml/dom/DomAttr.java,
10416 gnu/xml/dom/DomCDATA.java,
10417 gnu/xml/dom/DomCDATASection.java,
10418 gnu/xml/dom/DomCharacterData.java,
10419 gnu/xml/dom/DomDOMException.java,
10420 gnu/xml/dom/DomDoctype.java,
10421 gnu/xml/dom/DomDocument.java,
10422 gnu/xml/dom/DomDocumentConfiguration.java,
10423 gnu/xml/dom/DomDocumentFragment.java,
10424 gnu/xml/dom/DomElement.java,
10425 gnu/xml/dom/DomEx.java,
10426 gnu/xml/dom/DomFragment.java,
10427 gnu/xml/dom/DomImpl.java,
10428 gnu/xml/dom/DomIterator.java,
10429 gnu/xml/dom/DomNamedNodeMap.java,
10430 gnu/xml/dom/DomNode.java,
10431 gnu/xml/dom/DomNsNode.java,
10432 gnu/xml/dom/DomPI.java,
10433 gnu/xml/dom/DomProcessingInstruction.java,
10434 gnu/xml/dom/DomText.java,
10435 gnu/xml/dom/DomLSEx.java,
10436 gnu/xml/dom/DomLSException.java,
10437 gnu/xml/dom/DomLSParser.java,
10438 gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
10439 implementation class names to conform to Classpath guidelines. Make
10440 DomLSException use JDK 1.4+ exception chaining.
10441 * gnu/xml/util/SAXNullTransformerFactory.java,
10442 gnu/xml/xpath/Predicate.java: Use constants relative to
10443 declaring class or interface.
10445 2005-02-16 Andrew Haley <aph@redhat.com>
10447 * javax/security/auth/Subject.java (doAsPrivileged): If acc is
10448 null, create a new AccessControlContext.
10449 * java/security/SecureClassLoader.java (protectionDomainCache):
10451 (defineClass): Create a new protection domain and add it to our
10454 * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
10455 addStub() to keep track of the stub we've exported.
10456 (unexportObject): Call deleteStub().
10457 * java/rmi/server/RemoteObject.java (stubs): New field.
10458 (addStub): New method.
10459 (deleteStub): New method.
10462 * java/lang/VMCompiler.java (loadSharedLibrary): Pass
10463 true to findHelper (tryParents).
10464 * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
10466 * java/net/URLClassLoader.java (SoURLLoader): Likewise.
10467 * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
10469 If tryParents is false, don't scan parent class loaders.
10471 * java/security/Permissions.java (PermissionsHash.implies):
10472 Iterate over the collection and invoke implies() on each
10475 2005-02-16 Andrew Haley <aph@redhat.com>
10477 * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
10479 (PersistentByteMap): Set name
10480 Magic number changed to 0x67636a64 ("gcjd").
10481 (init): Force the map to be prime.
10482 (emptyPersistentByteMap): File name was a string, now a File.
10483 (addBytes): Share srings between entries.
10484 (stringTableSize): New method.
10485 (capacity): Scale by load factor.
10486 (force): New method.
10487 (getFile): New method.
10488 (close): New method.
10489 (putAll): New method.
10490 (ByteWrapper): New class.
10491 * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
10492 (main): Guess the average string size as 32, not 64.
10493 Copy a database before modifying it, so that we can update a
10494 database in a running system.
10495 If a database isn't big enough, resize it.
10496 "-m": new option: merges databases.
10497 "-a": Create a new detabase if it doesn't exist.
10498 (usage): Correct, add new option.
10499 (addJar): Copy a database before modifying it.
10500 (resizeMap): New method.
10502 2005-02-15 David Daney <ddaney@avtrex.com>
10503 Bryce McKinlay <mckinlay@redhat.com>
10505 * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
10506 * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
10507 ensure that GC threads inherit the new signal mask.
10508 (block_sigchld): Call JvFail rather than throwing exception if
10509 pthread_sigmask() fails.
10511 2005-02-15 Mark Wielaard <mark@klomp.org>
10513 * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
10514 file path elements are separated by spaces.
10516 2005-02-15 Mark Wielaard <mark@klomp.org>
10518 * java/util/jar/Attributes.java (Attributes.Name): Add documentation
10519 to describe attributes without a constant field value in this class.
10521 2005-02-15 Michael Koch <konqueror@gmx.de>
10523 * java/util/jar/Attributes.java
10524 (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
10526 2005-02-15 Mark Wielaard <mark@klomp.org>
10528 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
10529 space for parsing CLASS_PATH attribute.
10531 2005-02-15 Mark Wielaard <mark@klomp.org>
10533 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
10534 aside for "GCJLIBS" in directory where jarfiles are loaded.
10535 (JarURLLoader.getClass): Removed method.
10536 (JarURLLoader.toString): Removed method.
10537 (FileResource.toString): Removed method.
10539 2005-02-15 Mark Wielaard <mark@klomp.org>
10541 * javax/net/ssl/SSLContext.java (getInstance): Add exception message
10542 and/or cause before throwing.
10544 2005-02-15 Richard Henderson <rth@redhat.com>
10546 * Makefile.am (libgcj_la_SOURCES): Move all sources ...
10547 (libgcj0_convenience_la_SOURCES): ... here.
10548 (libgcj_la_LIBADD): Add libgcj0_convenience.la.
10549 (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
10550 * Makefile.in: Regenerate.
10552 2005-02-14 Thomas Fitzsimmons <fitzsim@redhat.com>
10554 * jawt.c: New file.
10555 * include/jawt.h: Likewise.
10556 * include/jawt_md.h: Likewise.
10557 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
10559 * include/Makefile.in: Regenerate.
10560 * jni/classpath/classpath_jawt.h: Likewise.
10561 * jni/gtk-peer/gtk_jawt.c: Likewise.
10562 * Makefile.am: Build libjawt.so.
10563 * Makefile.in: Regenerate.
10565 2005-02-14 Tom Tromey <tromey@redhat.com>
10567 * testsuite/libjava.lang/PR19921.java: Use correct class name.
10569 2005-02-14 Tom Tromey <tromey@redhat.com>
10571 * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
10572 * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
10574 2005-02-14 Tom Tromey <tromey@redhat.com>
10577 * testsuite/libjava.lang/PR19929.out: New file.
10578 * testsuite/libjava.lang/PR19929.java: New file.
10580 2005-02-14 Anthony Green <green@redhat.com>
10583 * testsuite/libjava.jni/PR18116.c: New file.
10584 * testsuite/libjava.jni/PR18116.java: New file.
10585 * testsuite/libjava.jni/PR18116.out: New file.
10587 2005-02-13 Anthony Green <green@redhat.com>
10590 * jni.cc (nathash_add): Don't strdup the method signature.
10591 (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
10595 2005-02-12 Mark Wielaard <mark@klomp.org>
10597 Fixes bug libgcj/8170
10598 * java/lang/ClassLoader.java (loadClass): Don't rewrap
10599 ClassNotFoundException.
10600 * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
10601 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
10602 (remove_internal): New field superceding remove_interpreter.
10603 (sanitizeStack): Remove all no-package classes starting with "_Jv_".
10604 Remove no-class methods starting with "_Jv_". And Replace null
10605 class or method names with the empty string. Stop at either the
10606 MainThread or a real Thread run() method.
10607 (newElement): Made static.
10608 * java/net/URLClassLoader.java (findClass): Throw
10609 ClassNotFoundExceptions including urls, plus parent using toString().
10610 (thisString): New field.
10611 (toString): New method.
10613 2005-02-10 Tom Tromey <tromey@redhat.com>
10615 * external/sax/Makefile.in: Rebuilt.
10616 * external/sax/Makefile.am (all-local): Removed.
10617 (BUILT_SOURCES): New variable.
10618 (mostlyclean-local): No error if no classes to delete.
10619 * external/w3c_dom/Makefile.in: Rebuilt.
10620 * external/w3c_dom/Makefile.am (all-local): Removed.
10621 (BUILT_SOURCES): New variable.
10622 (mostlyclean-local): No error if no classes to delete.
10624 2005-02-10 Bryce McKinlay <mckinlay@redhat.com>
10626 * testsuite/libjava.mauve/xfails: Updated to reflect current state
10627 of mauve and libjava.
10629 2005-02-09 Tom Tromey <tromey@redhat.com>
10631 * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
10632 jar file with OPEN_DELETE.
10633 * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
10634 OPEN_DELETE is used.
10636 2005-02-09 Tom Tromey <tromey@redhat.com>
10638 * java/util/zip/InflaterInputStream.java (markSupported):
10640 (mark, reset): Likewise.
10642 2005-02-08 Tom Tromey <tromey@redhat.com>
10644 * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
10645 name or port is missing.
10646 (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
10647 AUTHORITY_PORT_GROUP): Updated.
10649 2005-02-08 Tom Tromey <tromey@redhat.com>
10651 * configure: Rebuilt.
10652 * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
10655 2005-02-07 Tom Tromey <tromey@redhat.com>
10657 * java/lang/natRuntime.cc (insertSystemProperties): Set
10658 sun.boot.class.path earlier.
10660 2005-02-07 Tom Tromey <tromey@redhat.com>
10662 * defineclass.cc (handleClassBegin): Use
10663 _Jv_RegisterInitiatingLoader.
10664 * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
10665 * java/lang/natVMClassLoader.cc (resolveClass): Don't register
10666 class. Use _Jv_UnregisterInitiatingLoader.
10667 * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
10670 2005-02-07 Mark Wielaard <mark@klomp.org>
10672 Reported by Timo Lindfors <timo.lindfors@iki.fi>
10673 java/util/regex/Matcher.java (lookingAt): Set position when match
10675 (matches): Implemented through lookingAt().
10677 2005-02-07 Mark Wielaard <mark@klomp.org>
10679 Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
10680 * java/util/regex/Pattern.java (split(CharSequence,int)):
10681 Fix while empties > 0 loops.
10683 2005-02-07 Robert Schuster <thebohemian@gmx.net>
10685 * gnu/java/nio/charset/ISO_8859_1.java,
10686 gnu/java/nio/charset/US_ASCII.java,
10687 gnu/java/nio/charset/UTF_16.java,
10688 gnu/java/nio/charset/UTF_16_LE.java,
10689 gnu/java/nio/charset/UTF_16_BE.java,
10690 gnu/java/nio/charset/UTF_8.java: Fixed canonical names
10691 and aliases according to
10692 "http://www.iana.org/assignments/character-sets",
10693 "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
10694 and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
10695 * gnu/java/nio/charset/Provider.java: Made charset lookup
10696 case-insensitive which fixes bug #11740.
10698 2005-02-07 Tom Tromey <tromey@redhat.com>
10701 * Makefile.in: Rebuilt.
10702 * Makefile.am (src.zip): New target.
10703 (install-src.zip): Likewise.
10704 (sourcesdir): New variable.
10706 2005-02-06 Jerry Quinn <jlquinn@optonline.net>
10708 * javax/imageio/metadata/IIOMetadataNode.java:
10710 * javax/imageio/metadata/IIOAttr.java,
10711 javax/imageio/metadata/IIONamedNodeMap.java,
10712 javax/imageio/metadata/IIONodeList.java:
10715 2005-02-06 Graydon Hoare <graydon@redhat.com>
10717 * gnu/java/awt/ClasspathToolkit.java
10718 (registerImageIOSpis): New method.
10719 * javax/imageio/ImageIO.java
10720 (WriterFormatFilter.filter): Fix copy-and-paste typos.
10721 (WriterMIMETypeFilter.filter): Likewise.
10722 (ImageReaderIterator): Pass extension argument through to SPI.
10723 (getReadersByFilter): Likewise.
10724 (getWritersByFilter): Likewise.
10725 (getImageReadersByFormatName): Likewise.
10726 (getImageReadersByMIMEType): Likewise.
10727 (getImageReadersBySuffix): Likewise.
10728 (getImageWritersByFormatName): Likewise.
10729 (getImageWritersByMIMEType): Likewise.
10730 (getImageWritersBySuffix): Likewise.
10732 (write): Implement.
10733 * javax/imageio/ImageReader.java
10734 (progressListeners): Initialize.
10735 (setInput): Implement.
10736 * javax/imageio/ImageWriter.java
10737 (progressListeners): Initialize.
10738 (warningListeners): Likewise.
10739 (warningLocales): Likewise.
10740 (setOutput): Test "isInstance" rather than class equality.
10741 * javax/imageio/spi/IIORegistry.java
10742 (static): Add reader and writer SPIs.
10743 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
10745 2005-02-06 Michael Koch <konqueror@gmx.de>
10747 * javax/imageio/metadata/IIOInvalidTreeException.java
10748 (IIOInvalidTreeException): Reformatted.
10749 * javax/imageio/spi/IIORegistry.java
10750 (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
10751 * javax/imageio/stream/MemoryCacheImageInputStream.java:
10752 Reworked import statements.
10754 2005-02-06 Michael Koch <konqueror@gmx.de>
10756 * javax/imageio/stream/FileImageOutputStream.java:
10759 2005-02-06 Michael Koch <konqueror@gmx.de>
10761 * javax/imageio/stream/FileCacheImageInputStream.java,
10762 javax/imageio/stream/FileCacheImageOutputStream.java,
10763 javax/imageio/stream/FileImageInputStream.java,
10764 javax/imageio/stream/ImageInputStreamImpl.java,
10765 javax/imageio/stream/ImageOutputStreamImpl.java,
10766 javax/imageio/stream/MemoryCacheImageInputStream.java,
10767 javax/imageio/stream/MemoryCacheImageOutputStream.java:
10768 Added all missing methods in javax.imageio.stream.
10770 2005-02-02 David Daney <ddaney@avtrex.com>
10772 * java/net/InetAddress.java (InetAddress): Make a private copy of
10774 * java/net/Inet4Address.java (getAddress): Return a copy of the
10776 * java/net/Inet6Address.java (Inet6Address): Use private copy of
10778 (getAddress): Return a copy of the address.
10781 2005-02-02 Tom Tromey <tromey@redhat.com>
10783 * Makefile.in: Rebuilt.
10784 * Makefile.am (classes.stamp): New target, broken out from
10786 ($(all_java_class_files)): Depend on it.
10787 (libgcj-@gcc_version@.jar): Likewise.
10788 (all-recursive): Likewise.
10789 (CLEANFILES): Include classes.stamp.
10791 2005-02-02 Hans Boehm <Hans.Boehm@hp.com>
10793 * link.cc: Include <stdio.h>
10795 2005-02-02 Tom Tromey <tromey@redhat.com>
10798 * Makefile.in: Rebuilt.
10799 * Makefile.am (ordinary_java_source_files): Added new class.
10800 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
10801 Use system_instance, not instance.
10802 * gnu/gcj/runtime/SystemClassLoader.java: New file.
10803 * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
10805 (system_instance): New field.
10806 (initialize): Initialize the system loader as well.
10807 (VMClassLoader): Default to LIB_CACHE.
10809 2005-02-02 Tom Tromey <tromey@redhat.com>
10811 * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
10812 * prims.cc: Fixed comment.
10814 2005-02-01 Tom Tromey <tromey@redhat.com>
10816 * Makefile.in: Rebuilt.
10817 * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
10818 (.java.class): Use BOOTCLASSPATH.
10820 2005-02-01 Tom Tromey <tromey@redhat.com>
10822 * external/w3c_dom/Makefile.am: New file.
10823 * external/w3c_dom/Makefile.in: New file.
10824 * external/sax/Makefile.am: New file.
10825 * external/sax/Makefile.in: New file.
10826 * external/Makefile.in: New file.
10827 * external/Makefile.am: New file.
10828 * external/README: New file from Classpath.
10829 * configure, aclocal.m4, Makefile.in: Rebuilt.
10830 * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
10831 * Makefile.am (SUBDIRS): Added external.
10832 (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
10833 lib-org-w3c-dom.la, lib-org-ietf-gss.la.
10834 (BOOTCLASSPATH): New variable.
10835 (AM_GCJFLAGS): Use it.
10836 (gnu_xml_source_files): New variable.
10837 (libgcj_la_SOURCES): Use it.
10838 (libgcj_la_LDADD): Include new convenience libraries.
10839 (lib_org_ietf_jgss_la_SOURCES): Removed.
10840 (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
10841 (lib_org_ietf_jgss_la_LIBADD): Likewise.
10842 (lib_org_w3c_dom_la_SOURCES): Removed.
10843 (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
10844 (lib_org_w3c_dom_la_LIBADD): Likewise.
10845 (lib_org_xml_sax_la_SOURCES): Removed.
10846 (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
10847 (lib_org_xml_sax_la_LIBADD): Likewise.
10848 (all_java_source_files): Updated.
10849 (property_files): Likewise.
10850 (libgcj-@gcc_version@.jar): Include classes from external/.
10851 (javax_source_files): Updated.
10852 (ordinary_java_source_files): Updated.
10853 * javax/xml/XMLConstants.java,
10854 javax/xml/datatype/DatatypeConfigurationException.java,
10855 javax/xml/datatype/DatatypeConstants.java,
10856 javax/xml/datatype/DatatypeFactory.java,
10857 javax/xml/datatype/Duration.java,
10858 javax/xml/datatype/XMLGregorianCalendar.java,
10859 javax/xml/datatype/package.html,
10860 javax/xml/namespace/NamespaceContext.java,
10861 javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
10862 javax/xml/parsers/DocumentBuilder.java,
10863 javax/xml/parsers/DocumentBuilderFactory.java,
10864 javax/xml/parsers/FactoryConfigurationError.java,
10865 javax/xml/parsers/ParserConfigurationException.java,
10866 javax/xml/parsers/SAXParser.java,
10867 javax/xml/parsers/SAXParserFactory.java,
10868 javax/xml/parsers/package.html,
10869 javax/xml/transform/ErrorListener.java,
10870 javax/xml/transform/OutputKeys.java,
10871 javax/xml/transform/Result.java, javax/xml/transform/Source.java,
10872 javax/xml/transform/SourceLocator.java,
10873 javax/xml/transform/Templates.java,
10874 javax/xml/transform/Transformer.java,
10875 javax/xml/transform/TransformerConfigurationException.java,
10876 javax/xml/transform/TransformerException.java,
10877 javax/xml/transform/TransformerFactory.java,
10878 javax/xml/transform/TransformerFactoryConfigurationError.java,
10879 javax/xml/transform/URIResolver.java,
10880 javax/xml/transform/package.html,
10881 javax/xml/transform/dom/DOMLocator.java,
10882 javax/xml/transform/dom/DOMResult.java,
10883 javax/xml/transform/dom/DOMSource.java,
10884 javax/xml/transform/dom/package.html,
10885 javax/xml/transform/sax/SAXResult.java,
10886 javax/xml/transform/sax/SAXSource.java,
10887 javax/xml/transform/sax/SAXTransformerFactory.java,
10888 javax/xml/transform/sax/TemplatesHandler.java,
10889 javax/xml/transform/sax/TransformerHandler.java,
10890 javax/xml/transform/sax/package.html,
10891 javax/xml/transform/stream/StreamResult.java,
10892 javax/xml/transform/stream/StreamSource.java,
10893 javax/xml/transform/stream/package.html,
10894 javax/xml/validation/Schema.java,
10895 javax/xml/validation/SchemaFactory.java,
10896 javax/xml/validation/TypeInfoProvider.java,
10897 javax/xml/validation/Validator.java,
10898 javax/xml/validation/ValidatorHandler.java,
10899 javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
10900 javax/xml/xpath/XPathConstants.java,
10901 javax/xml/xpath/XPathException.java,
10902 javax/xml/xpath/XPathExpression.java,
10903 javax/xml/xpath/XPathExpressionException.java,
10904 javax/xml/xpath/XPathFactory.java,
10905 javax/xml/xpath/XPathFactoryConfigurationException.java,
10906 javax/xml/xpath/XPathFunction.java,
10907 javax/xml/xpath/XPathFunctionException.java,
10908 javax/xml/xpath/XPathFunctionResolver.java,
10909 javax/xml/xpath/XPathVariableResolver.java,
10910 javax/xml/xpath/package.html: New files, from GNU JAXP.
10911 * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
10912 org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
10913 org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
10914 org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
10915 org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
10916 org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
10917 org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
10918 org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
10919 org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
10920 org/w3c/dom/ranges/DocumentRange.java,
10921 org/w3c/dom/ranges/Range.java,
10922 org/w3c/dom/ranges/RangeException.java,
10923 org/w3c/dom/traversal/DocumentTraversal.java,
10924 org/w3c/dom/traversal/NodeFilter.java,
10925 org/w3c/dom/traversal/NodeIterator.java,
10926 org/w3c/dom/traversal/TreeWalker.java,
10927 org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
10928 org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
10929 org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
10930 org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
10931 org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
10932 org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
10933 org/xml/sax/SAXNotRecognizedException.java,
10934 org/xml/sax/SAXNotSupportedException.java,
10935 org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
10936 org/xml/sax/XMLReader.java, org/xml/sax/package.html,
10937 org/xml/sax/ext/DeclHandler.java,
10938 org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
10939 org/xml/sax/helpers/AttributeListImpl.java,
10940 org/xml/sax/helpers/AttributesImpl.java,
10941 org/xml/sax/helpers/DefaultHandler.java,
10942 org/xml/sax/helpers/LocatorImpl.java,
10943 org/xml/sax/helpers/NamespaceSupport.java,
10944 org/xml/sax/helpers/NewInstance.java,
10945 org/xml/sax/helpers/ParserAdapter.java,
10946 org/xml/sax/helpers/ParserFactory.java,
10947 org/xml/sax/helpers/XMLFilterImpl.java,
10948 org/xml/sax/helpers/XMLReaderAdapter.java,
10949 org/xml/sax/helpers/XMLReaderFactory.java,
10950 org/xml/sax/helpers/package.html: Moved to external/.
10951 * external/sax/README,
10952 external/sax/org/xml/sax/AttributeList.java,
10953 external/sax/org/xml/sax/Attributes.java,
10954 external/sax/org/xml/sax/ContentHandler.java,
10955 external/sax/org/xml/sax/DTDHandler.java,
10956 external/sax/org/xml/sax/DocumentHandler.java,
10957 external/sax/org/xml/sax/EntityResolver.java,
10958 external/sax/org/xml/sax/ErrorHandler.java,
10959 external/sax/org/xml/sax/HandlerBase.java,
10960 external/sax/org/xml/sax/InputSource.java,
10961 external/sax/org/xml/sax/Locator.java,
10962 external/sax/org/xml/sax/Parser.java,
10963 external/sax/org/xml/sax/SAXException.java,
10964 external/sax/org/xml/sax/SAXNotRecognizedException.java,
10965 external/sax/org/xml/sax/SAXNotSupportedException.java,
10966 external/sax/org/xml/sax/SAXParseException.java,
10967 external/sax/org/xml/sax/XMLFilter.java,
10968 external/sax/org/xml/sax/XMLReader.java,
10969 external/sax/org/xml/sax/package.html,
10970 external/sax/org/xml/sax/ext/Attributes2.java,
10971 external/sax/org/xml/sax/ext/Attributes2Impl.java,
10972 external/sax/org/xml/sax/ext/DeclHandler.java,
10973 external/sax/org/xml/sax/ext/DefaultHandler2.java,
10974 external/sax/org/xml/sax/ext/EntityResolver2.java,
10975 external/sax/org/xml/sax/ext/LexicalHandler.java,
10976 external/sax/org/xml/sax/ext/Locator2.java,
10977 external/sax/org/xml/sax/ext/Locator2Impl.java,
10978 external/sax/org/xml/sax/ext/package.html,
10979 external/sax/org/xml/sax/helpers/AttributeListImpl.java,
10980 external/sax/org/xml/sax/helpers/AttributesImpl.java,
10981 external/sax/org/xml/sax/helpers/DefaultHandler.java,
10982 external/sax/org/xml/sax/helpers/LocatorImpl.java,
10983 external/sax/org/xml/sax/helpers/NamespaceSupport.java,
10984 external/sax/org/xml/sax/helpers/NewInstance.java,
10985 external/sax/org/xml/sax/helpers/ParserAdapter.java,
10986 external/sax/org/xml/sax/helpers/ParserFactory.java,
10987 external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
10988 external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
10989 external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
10990 external/sax/org/xml/sax/helpers/package.html,
10991 external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
10992 external/w3c_dom/org/w3c/dom/Attr.java,
10993 external/w3c_dom/org/w3c/dom/CDATASection.java,
10994 external/w3c_dom/org/w3c/dom/CharacterData.java,
10995 external/w3c_dom/org/w3c/dom/Comment.java,
10996 external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
10997 external/w3c_dom/org/w3c/dom/DOMError.java,
10998 external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
10999 external/w3c_dom/org/w3c/dom/DOMException.java,
11000 external/w3c_dom/org/w3c/dom/DOMImplementation.java,
11001 external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
11002 external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
11003 external/w3c_dom/org/w3c/dom/DOMLocator.java,
11004 external/w3c_dom/org/w3c/dom/DOMStringList.java,
11005 external/w3c_dom/org/w3c/dom/Document.java,
11006 external/w3c_dom/org/w3c/dom/DocumentFragment.java,
11007 external/w3c_dom/org/w3c/dom/DocumentType.java,
11008 external/w3c_dom/org/w3c/dom/Element.java,
11009 external/w3c_dom/org/w3c/dom/Entity.java,
11010 external/w3c_dom/org/w3c/dom/EntityReference.java,
11011 external/w3c_dom/org/w3c/dom/NameList.java,
11012 external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
11013 external/w3c_dom/org/w3c/dom/Node.java,
11014 external/w3c_dom/org/w3c/dom/NodeList.java,
11015 external/w3c_dom/org/w3c/dom/Notation.java,
11016 external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
11017 external/w3c_dom/org/w3c/dom/Text.java,
11018 external/w3c_dom/org/w3c/dom/TypeInfo.java,
11019 external/w3c_dom/org/w3c/dom/UserDataHandler.java,
11020 external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
11021 external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
11022 external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
11023 external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
11024 external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
11025 external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
11026 external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
11027 external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
11028 external/w3c_dom/org/w3c/dom/css/CSSRule.java,
11029 external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
11030 external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
11031 external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
11032 external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
11033 external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
11034 external/w3c_dom/org/w3c/dom/css/CSSValue.java,
11035 external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
11036 external/w3c_dom/org/w3c/dom/css/Counter.java,
11037 external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
11038 external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
11039 external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
11040 external/w3c_dom/org/w3c/dom/css/RGBColor.java,
11041 external/w3c_dom/org/w3c/dom/css/Rect.java,
11042 external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
11043 external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
11044 external/w3c_dom/org/w3c/dom/events/Event.java,
11045 external/w3c_dom/org/w3c/dom/events/EventException.java,
11046 external/w3c_dom/org/w3c/dom/events/EventListener.java,
11047 external/w3c_dom/org/w3c/dom/events/EventTarget.java,
11048 external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
11049 external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
11050 external/w3c_dom/org/w3c/dom/events/UIEvent.java,
11051 external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
11052 external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
11053 external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
11054 external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
11055 external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
11056 external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
11057 external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
11058 external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
11059 external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
11060 external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
11061 external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
11062 external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
11063 external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
11064 external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
11065 external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
11066 external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
11067 external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
11068 external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
11069 external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
11070 external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
11071 external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
11072 external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
11073 external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
11074 external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
11075 external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
11076 external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
11077 external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
11078 external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
11079 external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
11080 external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
11081 external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
11082 external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
11083 external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
11084 external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
11085 external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
11086 external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
11087 external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
11088 external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
11089 external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
11090 external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
11091 external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
11092 external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
11093 external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
11094 external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
11095 external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
11096 external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
11097 external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
11098 external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
11099 external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
11100 external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
11101 external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
11102 external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
11103 external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
11104 external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
11105 external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
11106 external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
11107 external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
11108 external/w3c_dom/org/w3c/dom/ls/LSException.java,
11109 external/w3c_dom/org/w3c/dom/ls/LSInput.java,
11110 external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
11111 external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
11112 external/w3c_dom/org/w3c/dom/ls/LSParser.java,
11113 external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
11114 external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
11115 external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
11116 external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
11117 external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
11118 external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
11119 external/w3c_dom/org/w3c/dom/ranges/Range.java,
11120 external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
11121 external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
11122 external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
11123 external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
11124 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
11125 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
11126 external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
11127 external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
11128 external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
11129 external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
11130 external/w3c_dom/org/w3c/dom/views/AbstractView.java,
11131 external/w3c_dom/org/w3c/dom/views/DocumentView.java,
11132 external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
11133 external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
11134 external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
11135 external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
11136 external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
11137 external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
11140 2005-01-31 Anthony Green <green@redhat.com>
11142 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
11143 Support IP_MULTICAST_LOOP.
11144 (setOption): Support IP_MULTICAST_LOOP.
11146 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
11147 SO_REUSEADDR support.
11148 (getOption): Support SO_REUSEADDR.
11150 2005-01-28 Jeroen Frijters <jeroen@frijters.net>
11153 * java/util/Date.java
11154 (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
11156 (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
11158 (getTimezoneOffset): Inverted sign.
11160 2005-01-26 Ranjit Mathew <rmathew@hotmail.com>
11162 * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
11163 remove other passing tests and add new XFAILs.
11165 2005-01-24 Tom Tromey <tromey@redhat.com>
11167 * java/lang/Class.h (next): Updated documentation. Renamed to
11169 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
11170 _Jv_CheckABIVersion.
11171 (_Jv_RegisterClasses_Counted): Likewise.
11172 (_Jv_RegisterClassHookDefault): Fix starting condition of
11173 duplicate-checking loop.
11174 * include/jvm.h (GCJ_VERSION): New define.
11175 (GCJ_BINARYCOMPAT_ADDITION): Likewise.
11176 (_Jv_CheckABIVersion): New function.
11178 2005-01-24 Jakub Jelinek <jakub@redhat.com>
11180 * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
11181 (libgij_la_LDFLAGS): Add.
11182 * Makefile.in: Rebuilt.
11184 2005-01-24 Roger Sayle <roger@eyesopen.com>
11187 * testsuite/libjava.compile/PR19295.java: New test case.
11189 2005-01-19 Tom Tromey <tromey@redhat.com>
11191 * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
11192 * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
11193 if 'handler' is valid.
11195 2005-01-17 Tom Tromey <tromey@redhat.com>
11197 * java/text/MessageFormat.java (scanString): Changed how quoting
11199 (scanFormatElement): Likewise.
11201 2004-12-07 Mark Wielaard <mark@klomp.org>
11203 * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
11205 2005-01-15 Michael Koch <konqueror@gmx.de>
11208 * java/net/URI.java
11209 (AUTHORITY_REGEXP): New regexp constant.
11210 (AUTHORITY_USERINFO_GROUP): New constant.
11211 (AUTHORITY_HOST_GROUP): Likewise.
11212 (AUTHORITY_PORT_GROUP): Likewise.
11213 (port): Changed default value to -1.
11214 (parseURI): Parse authority part and initialize host,
11217 2005-01-14 Robin Green <greenrd@greenrd.org>
11219 * java/io/File.java (toURI): Generate a URI which we understand.
11221 2005-01-13 Graydon Hoare <graydon@redhat.com>
11223 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
11224 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
11225 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
11226 * jni.cc: Reuse bottom frame between calls, avoid clearing
11227 frame when no local references are made.
11229 2005-01-13 Michael Koch <konqueror@gmx.de>
11232 * java/lang/Thread.java
11233 (Thread): Call checkAccess().
11234 (stop): Fixed argument name to match javadoc.
11235 * java/lang/natThread.cc
11236 (interrupt): Call checkAccess().
11239 2005-01-11 Michael Koch <konqueror@gmx.de>
11242 * java/net/URL.java (URL): Handle specs like
11243 "/redir?http://domain2.com/index.html" which start with a slash.
11245 2005-01-11 Michael Koch <konqueror@gmx.de>
11247 PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
11248 * gnu/java/net/BASE64.java,
11249 gnu/java/net/EmptyX509TrustManager.java,
11250 gnu/java/net/LineInputStream.java,
11251 gnu/java/net/protocol/http/Authenticator.java,
11252 gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
11253 gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
11254 gnu/java/net/protocol/http/ChunkedInputStream.java,
11255 gnu/java/net/protocol/http/Cookie.java,
11256 gnu/java/net/protocol/http/CookieManager.java,
11257 gnu/java/net/protocol/http/Credentials.java,
11258 gnu/java/net/protocol/http/HTTPConnection.java,
11259 gnu/java/net/protocol/http/HTTPDateFormat.java,
11260 gnu/java/net/protocol/http/HTTPURLConnection.java,
11261 gnu/java/net/protocol/http/Headers.java,
11262 gnu/java/net/protocol/http/Request.java,
11263 gnu/java/net/protocol/http/RequestBodyWriter.java,
11264 gnu/java/net/protocol/http/Response.java,
11265 gnu/java/net/protocol/http/ResponseBodyReader.java,
11266 gnu/java/net/protocol/http/ResponseHeaderHandler.java,
11267 gnu/java/net/protocol/http/SimpleCookieManager.java,
11268 gnu/java/net/protocol/http/event/ConnectionEvent.java,
11269 gnu/java/net/protocol/http/event/ConnectionListener.java,
11270 gnu/java/net/protocol/http/event/RequestEvent.java,
11271 gnu/java/net/protocol/http/event/RequestListener.java: New files.
11272 * gnu/java/net/protocol/http/Connection.java: Removed.
11273 * gnu/java/net/protocol/http/Handler.java,
11274 javax/net/ssl/HttpsURLConnection.java: Updated.
11275 * Makefile.am: Added new files and remove old ones.
11276 * Makefile.in: Regenerated.
11278 2005-01-11 Tom Tromey <tromey@redhat.com>
11281 * java/io/BufferedInputStream.java (read): Repeatedly read to
11283 (refill): Change test to see if buffer must be grown.
11285 2005-01-10 Tom Tromey <tromey@redhat.com>
11287 * mauve-libgcj: Exclude some swing tests.
11289 2005-01-10 Tom Tromey <tromey@redhat.com>
11291 PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
11292 * java/lang/Package.java (getPackages): Use VMClassLoader when
11294 (getPackage): Likewise.
11295 * prims.cc (_Jv_CreateJavaVM): Call
11296 _Jv_RegisterBootstrapPackages.
11297 * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
11298 * java/lang/VMClassLoader.java (getPackage): Rewrote.
11299 (getPackages): Likewise.
11300 (definedPackages): New field.
11301 (definePackageForNative): New method.
11302 * java/lang/Class.h (_Jv_FindClassInCache): Updated.
11303 * java/lang/natVMClassLoader.cc (loadClass): Updated.
11304 * defineclass.cc (handleClassBegin): Use
11305 ClassLoader.findLoadedClass.
11306 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
11308 (struct _Jv_LoaderInfo): Removed.
11309 (initiated_classes): Likewise.
11310 (_Jv_UnregisterClass): Don't use initiated_classes.
11311 (_Jv_FindClassInCache): Likewise. Removed 'loader' argument.
11312 (_Jv_FindClass): Register classes found during boostrap.
11313 (BOOTSTRAP_CLASS_LIST_SIZE): New define.
11314 (bootstrap_class_list): New global.
11315 (bootstrap_index): Likewise.
11316 (_Jv_RegisterBootstrapPackages): New function.
11317 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
11318 definePackageForNative.
11319 (findClass): Updated.
11320 * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
11323 2005-01-10 Tom Tromey <tromey@redhat.com>
11326 * include/jvm.h (_Jv_Linker::find_field): Declare.
11327 (_Jv_Linker::find_field_helper): Likewise.
11328 * link.cc (find_field_helper): New method.
11329 (find_field): Likewise.
11330 (resolve_pool_entry): Use it. Throw NoSuchFieldError when field
11332 (link_symbol_table): Use find_field.
11334 2005-01-10 Michael Koch <konqueror@gmx.de>
11337 * java/util/Locale.java (Locale): Don't uppercase variant.
11338 (getISOCountries): Fixed typo in javadoc.
11340 2005-01-10 Michael Koch <konqueror@gmx.de>
11342 * java/util/SimpleTimeZone.java (checkRule):
11343 Throw IllegalArgumentException on invalid month values.
11344 * java/util/TimeZone.java (setID):
11345 Throw NullPointerException if needed.
11347 2005-01-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
11349 * java/util/SimpleTimeZone.java (getOffset):
11350 offset end date with daylight savings
11352 2005-01-10 Ranjit Mathew <rmathew@hotmail.com>
11354 * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
11355 * testsuite/libjava.compile/PR19277.xfail: Likewise.
11357 2005-01-09 Michael Koch <konqueror@gmx.de>
11360 * java/net/InetAddress.java (getLocalHost):
11361 Throw UnknownHostException if local hostname cannot be determined.
11363 2005-01-06 Tom Tromey <tromey@redhat.com>
11365 * java/lang/ClassLoader.java (findClass): Fixed documentation.
11367 2005-01-07 Michael Koch <konqueror@gmx.de>
11370 * java/nio/Buffer.java (address): New field.
11371 * java/nio/DirectByteBufferImpl.java (address): Removed.
11372 * java/nio/MappedByteBufferImpl.java (address): Likewise.
11373 * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
11374 Explicitly initialize Buffer.address if needed.
11375 * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
11376 * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
11377 * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
11378 * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
11379 * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
11380 * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
11381 DirectByteBufferImpl object.
11382 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
11383 * testsuite/libjava.jni/directbuffer.c,
11384 testsuite/libjava.jni/directbuffer.java,
11385 testsuite/libjava.jni/directbuffer.out,
11386 testsuite/libjava.jni/bytebuffer.c,
11387 testsuite/libjava.jni/bytebuffer.java,
11388 testsuite/libjava.jni/bytebuffer.out: New files.
11390 2005-01-05 Tom Tromey <tromey@redhat.com>
11392 * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
11394 (compressedSize): Now 'long'. Default to -1.
11395 (getCompressedSize): Rewrote.
11396 * java/util/zip/DeflaterOutputStream.java (deflate): Don't
11397 deflate at all if we need input.
11399 2005-01-05 Tom Tromey <tromey@redhat.com>
11402 * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
11405 2005-01-05 Tom Tromey <tromey@redhat.com>
11407 * java/lang/natRuntime.cc (insertSystemProperties): Set
11408 java.ext.dirs earlier.
11410 2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr>
11412 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
11413 sync_info element of the object if needed.
11415 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
11417 * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
11418 a non-zero exit status from 'false'.
11420 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>
11422 * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.