X-Git-Url: https://gcc.gnu.org/git/?a=blobdiff_plain;f=libjava%2FChangeLog;h=6de135a543edaf95f0160121b26efc6a6e7c5a02;hb=666ff4f65d256dec0974941605cf76db0b138a76;hp=7aea26537caa6a81357544c5b081923d586e860f;hpb=4838bfc05bf7b35b1e07a57a0878df308655d6d8;p=gcc.git diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 7aea26537caa..6de135a543ed 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,750 @@ +2007-03-05 Mark Wielaard + + * java/lang/Character.java: Re-merged with Classpath. + * java/lang/natString.cc (nativeCompareTo): Renamed from + compareTo. + * java/lang/StringBuilder.java: Re-merged with Classpath. + * java/lang/String.java: Re-merged with Classpath. + (nativeCompareTo): Renamed from compareTo. + * java/lang/StringBuffer.java: Re-merged with Classpath. + * jni.cc (_Jv_JNI_GetAnyMethodID): Split calls to append. + +2007-03-05 Andrew Haley + + * java/lang/reflect/natVMProxy.cc (ncode_closure.meth): Delete. + (generateProxyClass): Don't pass method to ncode. + (run_proxy): Call _Jv_GetReflectedMethod to find the proxy method. + * java/lang/reflect/Method.h: Rebuild. + * java/lang/reflect/Method.java (internalGetParameterTypes, + internalGetExceptionTypes): New methods. + * headers.txt (class java/lang/reflect/Method): Declare + _Jv_GetReflectedMethod. Be its friend. + * java/lang/natClass.cc (_Jv_GetReflectedMethod): New method. + * java/lang/Class.h: Declare it. Be its friend. + +2007-03-05 Tom Tromey + + * sources.am, Makefile.in: Rebuilt. + * scripts/makemake.tcl (emit_package_rule): Don't omit + VMProcess.java. + * Makefile.am (nat_source_files): Added natVMProcess.cc. + (inner_nat_headers): Added ImmediateEOFInputStream.h. + * gcj/javaprims.h: Regenerated. + * java/lang/System.java (EnvironmentMap): Now package-private. + (EnvironmentMap(Map)): New constructor. + (EnvironmentMap.put): New method. + * java/lang/natWin32Process.cc (startProcess): Update. + * java/lang/Win32Process.java (Win32Process): Added 'redirect' + argument. + (startProcess): Likewise. + * java/lang/EcosProcess.java (EcosProcess): Added 'redirect' + argument. + * java/lang/natPosixProcess.cc (nativeSpawn): Handle redirection. + * java/lang/PosixProcess.java (redirect): New field. + (PosixProcess): Added 'redirect' argument. + * java/lang/natRuntime.cc (execInternal): Added 'redirect' + argument to Process creation. + * java/lang/natVMProcess.cc: New file. + * java/lang/ProcessBuilder.java: Removed. + * java/lang/VMProcess.java: New file. + +2007-03-03 Andrew Haley + + * java/lang/natClass.cc (parseAnnotationElement): Correct long + annotations to read JV_CONSTANT_Long, not JV_CONSTANT_Double. + +2007-03-02 Andrew Haley + + * sun/reflect/annotation/AnnotationInvocationHandler.java: + Generify in a few places. + (equals): Rewrite to use invoke on local proxy. + (deepToString): Remove most of it. + (toString): Make nonstatic. + (arrayClone): Delete. + (coerce): New method. + (invoke): Rewrite to handle gcj's structures correctly. + * java/lang/natClass.cc (getDeclaredAnnotations): Fix test for + null loader. + * sources.am: Regenerate. + * Makefile.am: Likewise. + +2007-03-02 Andrew Haley + + * sun/reflect/annotation/AnnotationInvocationHandler.java: + Whitespace only changes. + +2007-03-02 Andrew Haley + + * sun/reflect/annotation/AnnotationInvocationHandler.java: Moved + from Classpath to libgcj local. + +2007-03-01 Brooks Moses + + * Makefile.am: Add dummy install-pdf target. + * Makefile.in: Regenerate + * include/Makefile.in: Regenerate + * testsuite/Makefile.in: Regenerate + * gcj/Makefile.in: Regenerate + +2007-02-23 Gary Benson + + * gnu/gcj/tools/gcj_dbtool/Main.java: Updated copyright year. + +2007-02-23 Gary Benson + + * java/lang/VMCompiler.java + (compileClass): Don't lose zeros from within the digest. + +2007-02-22 Jakub Jelinek + + PR libgcj/17002 + PR classpath/28550 + * java/util/VMTimeZone.java (getDefaultTimeZoneId): To read + /etc/localtime, use ZoneInfo.readTZFile instead of + VMTimeZone.readtzFile. Get better timezone name for /etc/localtime, + either if it is a symlink or through /etc/sysconfig/clock. + (readSysconfigClockFile): New static method. + (readtzFile): Removed. + * java/lang/System.java: Add gnu.java.util.zoneinfo.dir to comments. + * posix.cc (_Jv_platform_initProperties): Set + gnu.java.util.zoneinfo.dir. + * sources.am (gnu_java_util_source_files): Add + classpath/gnu/java/util/ZoneInfo.java. + * Makefile.in: Regenerated. + * java/util/VMTimeZone.h: Regenerated. + * java/util/TimeZone.h: Regenerated. + * gnu/java/util/ZoneInfo.h: Generated. + +2007-02-22 Mohan Embar + + * include/win32-threads.h: Added #undef OUT. + +2007-02-21 Kyle Galloway + + * jvmti.cc (_Jv_JVMTI_GetArgumentsSize): New function. + * testsuite/libjava.jvmti/interp/getargssize.java: New test. + * testsuite/libjava.jvmti/interp/getargssize.h: Ditto. + * testsuite/libjava.jvmti/interp/getargssize.jar: Ditto. + * testsuite/libjava.jvmti/interp/getargssize.out: Ditto. + * testsuite/libjava.jvmti/interp/natgetargssize.cc: Ditto. + +2007-02-21 Gary Benson + + * java/util/GregorianCalendar.java: Removed. + * sources.am, Makefile.in: Rebuilt. + +2007-02-20 Keith Seitz + + * gnu/classpath/jdwp/natVMVirtualMachine.cc + (jdwpClassPrepareCB): Move class status stuff to ... + (getClassStatus): ... here. + +2007-02-20 Gary Benson + + * gnu/awt/xlib/XEventLoop.h: Regenerated. + * gnu/java/awt/peer/gtk/GThreadMutex.h: Likewise. + * gnu/java/rmi/server/ConnectionRunnerPool$ConnectionRunner.h: + Likewise. + * gnu/java/rmi/server/UnicastConnectionManager.h: Likewise. + * java/lang/SecurityManager.h: Likewise. + * java/lang/Thread.h: Likewise. + * java/security/VMSecureRandom$Spinner.h: Likewise. + * java/util/concurrent/atomic/AtomicBoolean.h: Likewise. + * java/util/concurrent/atomic/AtomicInteger.h: Likewise. + * java/util/concurrent/atomic/AtomicLong.h: Likewise. + * java/util/concurrent/atomic/AtomicReference.h: Likewise. + * java/util/concurrent/ConcurrentHashMap$HashEntry.h: Likewise. + * java/util/concurrent/ConcurrentHashMap$Segment.h: Likewise. + * java/util/concurrent/ConcurrentLinkedQueue.h: Likewise. + * java/util/concurrent/ConcurrentLinkedQueue$Node.h: Likewise. + * java/util/concurrent/ConcurrentSkipListMap.h: Likewise. + * java/util/concurrent/ConcurrentSkipListMap$Index.h: Likewise. + * java/util/concurrent/ConcurrentSkipListMap$Node.h: Likewise. + * java/util/concurrent/Exchanger.h: Likewise. + * java/util/concurrent/Exchanger$Node.h: Likewise. + * java/util/concurrent/FutureTask$Sync.h: Likewise. + * java/util/concurrent/LinkedBlockingQueue$Node.h: Likewise. + * java/util/concurrent/locks/AbstractQueuedLongSynchronizer.h: + Likewise. + * java/util/concurrent/locks/AbstractQueuedLongSynchronizer$Node.h: + Likewise. + * java/util/concurrent/locks/AbstractQueuedSynchronizer.h: Likewise. + * java/util/concurrent/locks/AbstractQueuedSynchronizer$Node.h: + Likewise. + * java/util/concurrent/ScheduledThreadPoolExecutor.h: Likewise. + * java/util/concurrent/SynchronousQueue.h: Likewise. + * java/util/concurrent/SynchronousQueue$TransferQueue.h: Likewise. + * java/util/concurrent/SynchronousQueue$TransferQueue$QNode.h: + Likewise. + * java/util/concurrent/SynchronousQueue$TransferStack.h: Likewise. + * java/util/concurrent/SynchronousQueue$TransferStack$SNode.h: + Likewise. + * java/util/concurrent/ThreadPoolExecutor.h: Likewise. + * java/util/concurrent/ThreadPoolExecutor$Worker.h: Likewise. + * java/util/logging/ErrorManager.h: Likewise. + * javax/swing/plaf/basic/BasicSpinnerUI$2.h: Likewise. + * javax/swing/plaf/basic/BasicSpinnerUI$4.h: Likewise. + +2007-02-16 Keith Seitz + + * gnu/classpath/jdwp/natVMVirtualMachine.cc + (get_line_table): New function. + (handle_single_step): New function. + (jdwpSingleStepCB): New function. + (jdwpVMInitCB): Define a JVMTI single step + callback, but don't enable it until needed. + +2007-02-16 David Daney + + * java/lang/Thread.java (Thread(ThreadGroup, Runnable, String)): Pass + new parameter constructor. + (Thread(ThreadGroup, Runnable, String, long)): Same. + (Thread(String, boolean)): New constructor. + (Thread(Thread, ThreadGroup, Runnable, String): Add parameter + noInheritableThreadLocal, don't call + InheritableThreadLocal.newChildThread if set. + * java/lang/PosixProcess.java(ProcessManager()): Set + noInheritableThreadLocal in super. + * java/lang/natThread.cc (_Jv_AttachCurrentThread): Pass new + parameter to Thread constructor. + (_Jv_AttachCurrentThreadAsDaemon): Same. + * java/lang/Thread.h: Regenerate. + * classpath/lib/java/lang/Thread.class: Same. + * classpath/lib/java/lang/PosixProcess$EOFInputStream.class: Same. + * classpath/lib/java/lang/PosixProcess.class: Same. + * classpath/lib/java/lang/Thread$State.class: Same. + * classpath/lib/java/lang/PosixProcess$ProcessManager.class: Same. + +2007-02-16 Kyle Galloway + + * interpret.cc: Add extra DEBUG_LOCALS_INSN calls for multi-slot + variables to maintain type info. + * interpret-run.cc: Add local variable info to frame in the debug + interpreter. + * jvmti.cc (getLocalFrame): New method. + (_Jv_JVMTI_GetLocalObject): New method. + (_Jv_JVMTI_GetLocallInt): New method. + (_Jv_JVMTI_GetLocalFloat): New method. + (_Jv_JVMTI_GetLocalLong): New method. + (_Jv_JVMTI_GetLocalDouble): New method. + (_Jv_JVMTI_SetLocalObject): New method. + (_Jv_JVMTI_SetLocalInt): New method. + (_Jv_JVMTI_SetLocalFloat): New method. + (_Jv_JVMTI_SetLocalLong): New method. + (_Jv_JVMTI_SetLocalDouble): New method. + +2007-02-16 Gary Benson + + * gnu/gcj/tools/gcj_dbtool/Main.java + (bytesToString): Don't lose zeros from within the digest. + +2007-02-15 Andrew Haley + + * Makefile.am (nat_source_files): Remove + java/lang/management/natVMManagementFactory.cc. + * java/lang/Thread.java (getStackTrace): Use reflection to call + the ManagementFactory. + * java/lang/management/VMManagementFactory.java: Remove native + methods. + * java/lang/management/natVMManagementFactory.cc: Deleted. + * sources.am: Regnerate. + * scripts/makemake.tcl: Add new "bcheaders" type. + Move java/lang/management and gnu/classpath/management to "bc". + Move gnu/java/lang/management to "bcheaders". + +2007-02-15 Kyle Galloway + + * interpret.cc (_Jv_InterpMethod::check_handler): New method. + * interpret-run.cc: Change the catch section to report exception + events and to use the new check_handler method. + * include/java-interp.h (_Jv_InterpMethod): Add check_handler. + * gnu/gcj/jvmti/ExceptionEvent.java: New file. + * gnu/gcj/jvmti/ExceptionEvent.h: New file. + * gnu/gcj/jvmti/natExceptionEvent.cc: New file. + * libjava/classpath/lib/gnu/gcj/jvmti/ExceptionEvent.class: New + file. + * sources.am: Added ExceptionEvent.java. + * Makefile.am: Added natExceptionEvent.cc + * Makefile.in: Regenerated. + * include/Makefile.in: Regenerated. + * gcj/Makefile.in: Regenerated. + +2007-02-15 Johannes Schmidt + David Daney + + * configure.ac: Create vm-tools-packages file. Add + gnu/gcj/tools/gc_analyze to standard.omit and vm-tools-packages. + Check for /proc/self/maps. + * Makefile.am (bin_PROGRAMS): Added gc-analyze. + (gc_analyze_SOURCES): New. + (gc_analyze_LDFLAGS): New. + (gc_analyze_LINK): New. + (gc_analyze_LDADD): New. + (gc_analyze_DEPENDENCIES): New. + (nat_source_files): Add gnu/gcj/util/natGCInfo.cc. + * Makefile.in: Regenerated. + * configure: Regenerated. + * include/config.h.in: Regenerated. + * sources.am: Regenerated. + * scripts/makemake.tcl: Don't include gc-analyze classes in libgcj. + * gnu/gcj/tools/gc_analyze/SymbolLookup.java: New. + * gnu/gcj/tools/gc_analyze/ObjectMap.java: New. + * gnu/gcj/tools/gc_analyze/MemoryMap.java: New. + * gnu/gcj/tools/gc_analyze/SymbolTable.java: New. + * gnu/gcj/tools/gc_analyze/BlockMap.java: New. + * gnu/gcj/tools/gc_analyze/BytePtr.java: New. + * gnu/gcj/tools/gc_analyze/ItemList.java: New. + * gnu/gcj/tools/gc_analyze/ToolPrefix.java: New. + * gnu/gcj/tools/gc_analyze/MemoryAnalyze.java: New. + * gnu/gcj/util/GCInfo.java: New. + * gnu/gcj/util/GCInfo.h: New. + * gnu/gcj/util/natGCInfo.cc: New. + * gnu/gcj/util/UtilPermission.java: New. + * gnu/gcj/util/UtilPermission.h: New. + * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolTable.class: New. + * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap$ObjectItem.class: New. + * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$RangeComparator.class: New. + * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$PtrMarks.class: New. + * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$Range.class: New. + * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap.class: New. + * classpath/tools/gnu/gcj/tools/gc_analyze/BytePtr.class: New. + * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$SubstringComparator.class: New. + * classpath/tools/gnu/gcj/tools/gc_analyze/ItemList.class: New. + * classpath/tools/gnu/gcj/tools/gc_analyze/ToolPrefix.class: New. + * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze.class: New. + * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1$Info.class: New. + * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1.class: New. + * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$2.class: New. + * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$3.class: New. + * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$4.class: New. + * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$OptionParser.class: New. + * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$SizeKind.class: New. + * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolLookup.class: New. + * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap.class: New. + * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap.class: New. + * classpath/lib/gnu/gcj/util/GCInfo.class: New. + * classpath/lib/gnu/gcj/util/UtilPermission.class: New. + +2007-02-15 David Daney + + * gnu/java/net/PlainSocketImpl.h: Regenerate. + * gnu/classpath/jdwp/VMVirtualMachine.h: Same. + * gnu/classpath/jdwp/VMFrame.h: Same. + * java/net/Socket.h: Same. + * java/util/Collections$UnmodifiableMap$UnmodifiableEntrySet.h: Same. + +2007-02-15 Kyle Galloway + + * defineclass.cc (_Jv_ClassReader::read_one_code_attribute): + Added LocalVariableTable attribute handling. + (_Jv_ClassReader::pool_Utf8_to_char_arr): New method. + * jvmti.cc (_Jv_JVMTI_GetLocalVariableTable): New method. + * include/java-interp.h: Added local_var_table and + local_var_table_len fields to _Jv_InterpMethod. + (_Jv_InterpMethod::get_local_var_table): New method. + * testsuite/libjava.jvmti/interp/getlocalvartable.java: New test. + * testsuite/libjava.jvmti/interp/getlocalvartable.jar: New test. + * testsuite/libjava.jvmti/interp/getlocalvartable.out: Output + for new test. + * testsuite/libjava.jvmti/interp/getlocalvartable.h: New test. + * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc: New test. + +2007-02-15 Kyle Galloway + + * gnu/classpath/jdwp/natVMVirtualMachine (getFrames): Implement. + +2007-02-13 Keith Seitz + + * gnu/classpath/jdwp/natVMVirtualMachine.cc + (jdwpBreakpointCB): New function. + (jdwpVMInitCB): Define and enable the breakpoint + callback. + +2007-02-13 Andrew Haley + + * testsuite/libjava.lang/Divide_2.out + * testsuite/libjava.lang/Divide_2.java: New test. + +2007-02-12 Keith Seitz + + * jvmti.cc (_Jv_JVMTI_GetStackTrace): Remove cast + from jthread to Thread *; it is no longer needed. + (_Jv_JVMTI_GetFrameCount): Likewise. + Fix small formatting typo. + +2007-02-12 Tom Tromey + + * sources.am, Makefile.in: Rebuilt. + * java/lang/Socket.java: Removed override. + * java/lang/DatagramSocket.java: Removed override. + * gnu/java/net/PlainSocketImpl.java (localSocketAddress): New + field. + (getLocalAddress): New method. + * gnu/java/net/PlainDatagramSocketImpl.java + (PlainDatagramSocketImpl): Throws IOException. + * gnu/java/net/natPlainSocketImplPosix.cc (write): Remove + 'sizeof'. + (read): Likewise. + +2007-02-09 Jakub Jelinek + + * java/util/VMTimeZone.java: Rewrite to handle both the old + 'TZif\0' format and the new one. + +2007-02-10 Andrew Haley + + PR java/30742 + * gnu/classpath/natVMStackWalker.cc (GET_CALLING_CLASS): New. + (getCallingClass): Call GET_CALLING_CLASS. + (getCallingClassLoader): Likewise. + +2007-02-10 Mohan Embar + + * configure: Rebuilt. + * configure.ac (GCJH): Reverted second part of patch of 2006-12-20. + +2007-02-10 Mohan Embar + + * Makefile.in: Rebuilt. + * Makefile.am (BUILD_ECJ1): Unify the command for renaming ecjx to + the host's ecj1 executable. + +2007-02-09 Richard Henderson + + * sysdep/alpha/locks.h (read_barrier): New. + +2007-02-09 Keith Seitz + + * gnu/classpath/jdwp/VMVirtualMachine.java + (_stepping_threads): New member. + * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class: + Regenerated. + * gnu/classpath/jdwp/VMVirtualMachine.h: + Regenerated. + * gnu/claspath/jdwp/natVMVirtualMachine.cc + (get_request_step_filter): New function. + (DISABLE_EVENT): New macro. + (initialize): Initialize _stepping_threads. + (registerEvent): Implement EVENT_SINGLE_STEP. + (unregisterEvent): Likewise. + +2007-02-08 Keith Seitz + + * sources.am: Regenerate. + * Makefile.in: Regenerate. + * testsuite/Makefile.in: Regenerate. + * gcj/Makefile.in: Regenerate. + * include/Makefile.in: Regenerate. + + * classpath/lib/javax/management/MBeanServerFactory.class: + Regenerate. + +2007-02-08 Kyle Galloway + + * classpath/gnu/classpath/jdwp/processor/ + StackFrameCommandSet.java (executeGetValues): Pass jlong instead + of ByteBuffer. + (executeSetValues): Ditto. + (executeThisObject): Ditto. + * classpath/gnu/classpath/jdwp/processor/ + StackFrameCommandSet.class: Rebuilt. + * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class: + Rebuilt. + * classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt. + * classpath/lib/gnu/classpath/jdwp/exception/ + InvalidFrameException.java: New file. + * gnu/classpath/jdwp/VMFrame.java: Added field for thread of + frame. + (Constructor): New method. + * gnu/classpath/jdwp/VMFrame.h: Regenerated. + * gnu/classpath/jdwp/VMVirtualMachine.java + (getFrame): Changed ByteBuffer to jlong. + * gnu/classpath/jdwp/natVMVirtualMachine.cc + (getFrame): Implement. + * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated. + +2007-02-08 Kyle Galloway + + * include/java-interp.h (_Jv_InterpFrame): obj_ptr field added + to hold "this" pointer for frame. + (_Jv_InterpFrame::get_this_ptr): New method. + * interpret-run.cc: Copy the "this" pointer into obj_ptr. + +2007-02-07 Keith Seitz + + * include/java-interp.h (_Jv_Frame::depth): + New function. + * jvmti.cc (_Jv_JVMTI_GetFrameCount): Use _Jv_Frame::depth. + +2007-02-07 Kyle Galloway + + * jvmti.cc (CHECK_FOR_NATIVE_METHOD): New macro. + (_Jv_JVMTI_GetMaxLocals): New method. + * include/java-interp.h + (_Jv_InterpMethod::get_max_locals): New method. + +2007-02-01 Marco Trudel + + * jni.cc (_Jv_JNI_DeleteWeakGlobalRef): Check for NULL objects. + +2007-02-07 Tom Tromey + + * testsuite/libjava.jni/init.c: New file. + * testsuite/libjava.jni/init.java: New file. + * testsuite/libjava.jni/init.out: New file. + * testsuite/libjava.jni/init.jar: New file. + * testsuite/libjava.jni/init.h: New file. + * testsuite/libjava.jni/init$NativeClass.h: New file. + +2007-02-07 Jakub Jelinek + + PR libgomp/28468 + * configure: Regenerate. + +2007-02-06 Andrew Haley + + * scripts/makemake.tcl (emit_bc_rule): Set the source filename. + * sources.am: Rebuild. + +2007-02-05 Keith Seitz + + * jvmti.cc (_envListLock): Change type to + ReentrantReadWriteLock. + (_Jv_JVMTI_DisposeEnvironment): Switch to read/write + lock. + (check_enabled_event): Likewise. + (_Jv_GetJVMTIEnv): Likewise. + (_Jv_JVMTI_Init): Likewise. + (_Jv_JVMTI_PostEvent): Likewise. + +2007-02-05 Keith Seitz + + * gnu/classpath/jdwp/natVMVirtualMachine.cc + (registerEvent): Implement EVENT_BREAKPOINT. + (unregisterEvent): Likewise. + (get_request_location): New function. + +2007-02-05 Matthias Klose + + testsuite/Makefile.am (compile-tests): Fix typo. + testsuite/Makefile.in: Regenerate. + +2007-02-02 Kyle Galloway + + * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrameCount): + Implment. + +2007-02-02 Jakub Jelinek + + * configure.ac (libjava_cv_anon_version_script): New test. + (ANONVERSCRIPT): New AM_CONDITIONAL. + * configure: Rebuilt. + * Makefile.am (extra_ldflags_libjava): Link with -Wl,--version-script + if ANONVERSCRIPT. + * Makefile.in: Rebuilt. + (libgcj_la_DEPENDENCIES): Depend on libgcj.ver. + * libgcj.ver: New file. + +2007-02-01 David Daney + + * scripts/makemake.tcl: Replace gnu/xml build with build of all + its subpackages. + * sources.am: Regenerate. + * Makefile.in: Regenerate. + +2007-02-01 Tom Tromey + + * java/lang/ClassLoader.java (getResources): No longer final. + +2007-02-01 Tom Tromey + + * java/util/logging/LogManager.java (loggers): Genericized. + (addLogger): Merged. + (findAncestor): Likewise. + (getLogger): Likewise. + (getLoggerNames): Genericized. + (reset): Merged. + (getLevelProperty): Likewise. + * java/lang/reflect/Method.java (getDeclaringClass): Genericized. + * java/lang/reflect/Constructor.java (getParameterTypes): + Genericized. + (getExceptionTypes): Likewise. + (newInstance): Likewise. + * java/lang/reflect/Array.java (newInstance): Genericized. + * java/lang/Object.java (getClass): Genericized. + * java/nio/charset/spi/CharsetProvider.java (charsets): + Genericized. + * java/text/Collator.java: Implement Comparable. + +2007-02-01 Tom Tromey + + * java/util/Calendar.java: Implement Comparable. Update + comments. + (clear): Call complete. + (setTimeZone): Call computeTime, computeFields. + (compareTo): New method. + * java/nio/charset/Charset.java: Implement Comparable. + (availableCharsets): Genericized. + (aliases): Likewise. + (compareTo): Changed argument type. + * java/lang/ClassLoader.java (loadClass): Genericized. + (findClass): Likewise. + (defineClass): Likewise. + (resolveClass): Likewise. + (findSystemClass): Likewise. + (setSigners): Likewise. + (findLoadedClass): Likewise. + (getResources): Likewise. + (findResources): Likewise. + (getSystemResources): Likewise. + (checkInitialized): New method. + * java/lang/Class.java (getCanonicalName): New method. + +2007-01-31 Keith Seitz + + * include/jvmti-int.h (JVMTI): Declare member "enabled". + * jvmti.cc (JVMTI): Add member "enabled". + (_Jv_GetJVMTIEnv): Mark JVMTI enabled. + * interpret.cc (_Jv_InterpMethod::ncode): Use JVMTI::enabled + instead of gnu::classpath::jdwp::Jdwp::isDebugging. + (_Jv_CompileMethod): If JVMTI is enabled, use run_debug + instead of run to compile the method. + + * interpret-run.cc [DEBUG] (NEXT_INSN): Add JVMTI single step + notification. + +2007-01-31 Andreas Tobler + + * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Add + -shared-libgcc to the cxxflaglist for Darwin. + +2007-01-31 Tom Tromey + + * scripts.am, Makefile.in: Rebuilt. + * scripts/makemake.tcl (gnu/javax/swing/text/html/parser): Build + as 'ordinary'. + (emit_ordinary_rule): New proc. + +2007-01-31 Keith Seitz + + * testsuite/libjava.jvmti/getmethodname.h: New file. + * testsuite/libjava.jvmti/getmethodname.jar: New file. + +2007-01-31 Andrew Haley + + * prims.cc (_Jv_Abort): fflush (stderr). + * java/lang/natClassLoader.cc (_Jv_CheckABIVersion): Abort. + +2007-01-31 Tom Tromey + + * configure, Makefile.in: Rebuilt. + * configure.ac (JAR): Check for -@ feature. + * Makefile.am (libgcj-$(gcc_version).jar): Use find -prune. + +2007-01-31 Tom Tromey + + PR libgcj/30606: + * configure, include/config.h.in: Rebuilt. + * configure.ac: Check for magic_t in magic.h. + * java/net/natVMURLConnection.cc: Use HAVE_MAGIC_T. + +2007-01-30 Tom Tromey + + * Makefile.in: Rebuilt. + * Makefile.am (libgcj-$(gcc_version).jar): Rewrote. + +2007-01-30 Andreas Tobler + + * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use a + cast to print it right. + +2007-01-29 Kaloian Doganov + + PR libgcj/30600: + * gnu/gcj/convert/BytesToCharsetAdaptor.java (read): Fix call to + 'limit'. + +2007-01-29 Kyle Galloway + + * include/java-interp.h: Added _Jv_Frame class and its two + subclasses _Jv_InterpFrame and _Jv_NativeFrame. Also moved + _Jv_FrameType from java-stack.h. + * include/java-stack.h: Removed _Jv_FrameType. + * java/lang/Thread.java: Added frame member to hold new + composite frame stack. + * java/lang/Thread.h: Regenerated. + * java/lang/Thread.class: Rebuilt. + * jni.cc (_Jv_JNIMethod::call): Push a frame onto the stack when + calling a JNI method. + * jvmti.cc (_Jv_JVMTI_GetStackTrace): New Method. + (_Jv_JVMTI_GetFrameCount): New method. + * stacktrace.cc (UnwindTraceFn): Modified to use new _Jv_Frame + classes. + * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test. + * testsuite/libjava.jvmti/interp/natgetstacktrace.cc: New test. + * testsuite/libjava.jvmti/interp/getstacktrace.h: New test. + * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test. + * testsuite/libjava.jvmti/interp/getstacktrace.out: Output file + for test. + +2007-01-29 Tom Tromey + + * interpret.cc (run_debug): Remove comment. + (STOREA): Reformat. + (STOREI): Likewise. + (STOREF): Likewise. + (STOREL): Likewise. + (STORED): Likewise. + (POKEI): Likewise. + (run_normal_debug): Likewise. + (run_synch_object_debug): Likewise. + (run_class_debug): Likewise. + (run_synch_class_debug): Likewise. + (get1s): Likewise. + (get1u): Likewise. + (get2u): Likewise. + (get4): Likewise. + (NULLARRAYCHECK): Likewise. + (ARRAYBOUNDSCHECK): Likewise. + * interpret-run.cc (insn_target) : Tidy. + +2007-01-29 Tom Tromey + + * configure, Makefile.in: Rebuilt. + * Makefile.am (bin_SCRIPTS): Never install scripts/jar. + * configure.ac (BASH_JAR): Removed conditional. + (JAR): Prefer the jar found by AC_CHECK_PROGS. + +2007-01-29 Tom Tromey + + * Makefile.in: Rebuilt. + * Makefile.am (interpret.lo): New target. Add -fwrap to + AM_CXXFLAGS. + +2007-01-29 Keith Seitz + + * include/jvmti_md.h (_CLASSPATH_VM_JVMTI_TYPES_DEFINED): + Define. + [__GCJ_JNI_IMPL__]: Define our own JVMTI types when building + gcj. All jvmti object types now are defined to be their + corresponding java classes. + * jvmti.cc (_Jv_JVMTI_SuspendThread): Remove casting from + jthread to Thread*. + (_Jv_JVMTI_ResumeThread): Likewise. + (_Jv_JVMTI_InterruptThread): Likewise. + (_Jv_JVMTI_SetEventNotificationMode): Likewise. + * gnu/classpath/jdwp/natVMVirtualMachine.cc + (jdwpClassPrepareCB): Likewise. + (jdwpThreadEndCB): Likewise. + (jdwpThreadStartCB): Likewise. + (jdwpVMInitCB): Likewise. + +2007-01-28 Michele Sandri + + * gnu/java/nio/channels/natFileChannelWin32.cc + (lock): Implemented. + (unlock): Implemented. + 2007-01-27 Andreas Tobler PR libgcj/30513 @@ -28,6 +775,13 @@ * Makefile.in: Rebuilt. * testsuite/Makefile.in: Rebuilt. +2007-01-26 Andrew Haley + + * java/lang/natClass.cc (initializeClass): Re-throw + SecurityExceptions. + * java/lang/natVMClassLoader.cc (loadClass): checkPackageAccess. + * java/lang/ClassLoader.java: (loadClass): Likewise. + 2007-01-26 Tom Tromey * Updated headers. @@ -67,9 +821,9 @@ 2007-01-24 Kyle Galloway - * libjava/testsuite/libjava.jvmti/jvmti-interp.exp: New file. - * libjava/testsuite/libjava.jvmti/interp: New folder. - * libjava/testsuite/lib/libjava.exp (exec_gij): New Method. + * libjava/testsuite/libjava.jvmti/jvmti-interp.exp: New file. + * libjava/testsuite/libjava.jvmti/interp: New folder. + * libjava/testsuite/lib/libjava.exp (exec_gij): New Method. 2007-01-24 Keith Seitz