aboutsummaryrefslogtreecommitdiff
path: root/libjava
AgeCommit message (Collapse)AuthorFilesLines
2007-02-152007-02-15 Gary Benson <gbenson@redhat.com>Gary Benson6-10/+25
* gnu/javax/management/Server.java (registerMBean): Always register objects that implement the MBeanRegistration interface, and check the name returned by preRegister before using it. From-SVN: r121995
2007-02-152007-02-15 Gary Benson <gbenson@redhat.com>Gary Benson3-4/+9
* javax/management/ObjectName.java: (getKeyPropertyList()): Remove cast and call to UnmodifiableMap. From-SVN: r121994
2007-02-152007-02-14 Gary Benson <gbenson@redhat.com>Gary Benson3-9/+13
* javax/management/ObjectName.java (toString): Return this item's canonical name. From-SVN: r121989
2007-02-14TimeZone.java (getDateParams): Negate dayOfWeek.Jakub Jelinek1-0/+0
2007-02-14 Jakub Jelinek <jakub@redhat.com> Andrew Haley <aph@redhat.com> * java/util/TimeZone.java (getDateParams): Negate dayOfWeek. From-SVN: r121957
2007-02-14TimeZone.java (getDateParams): Negate dayOfWeek.Jakub Jelinek2-6/+23
2007-02-14 Jakub Jelinek <jakub@redhat.com> Andrew Haley <aph@redhat.com> * java/util/TimeZone.java (getDateParams): Negate dayOfWeek. Co-Authored-By: Andrew Haley <aph@redhat.com> From-SVN: r121955
2007-02-13* gnu/classpath/jdwp/natVMVirtualMachine.ccKeith Seitz2-2/+35
(jdwpBreakpointCB): New function. (jdwpVMInitCB): Define and enable the breakpoint callback. From-SVN: r121889
2007-02-132007-02-13 Andrew Haley <aph@redhat.com>Andrew Haley4-0/+25
* testsuite/libjava.lang/Divide_2.out * testsuite/libjava.lang/Divide_2.java: New test. From-SVN: r121887
2007-02-13jvmti.cc (_Jv_JVMTI_GetStackTrace): Remove cast from jthread to Thread *; it ↵Keith Seitz2-11/+14
is no longer needed. * jvmti.cc (_Jv_JVMTI_GetStackTrace): Remove cast from jthread to Thread *; it is no longer needed. (_Jv_JVMTI_GetFrameCount): Likewise. Fix small formatting typo. From-SVN: r121878
2007-02-12Collections.java (UnmodifiableMap.toArray): Imported changes from Classpath.Tom Tromey17-2252/+84
libjava/classpath * java/util/Collections.java (UnmodifiableMap.toArray): Imported changes from Classpath. libjava * 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. From-SVN: r121866
2007-02-12VMTimeZone.java: Rewrite to handle both the old 'TZif\0' format and the new one.Jakub Jelinek3-55/+407
2007-02-09 Jakub Jelinek <jakub@redhat.com> * java/util/VMTimeZone.java: Rewrite to handle both the old 'TZif\0' format and the new one. From-SVN: r121845
2007-02-10re PR libgcj/30742 (ResourceBundle regression)Andrew Haley2-21/+36
2007-02-10 Andrew Haley <aph@redhat.com> PR java/30742 * gnu/classpath/natVMStackWalker.cc (GET_CALLING_CLASS): New. (getCallingClass): Call GET_CALLING_CLASS. (getCallingClassLoader): Likewise. From-SVN: r121798
2007-02-10configure: Rebuilt.Mohan Embar3-137/+15
* configure: Rebuilt. * configure.ac (GCJH): Reverted second part of patch of 2006-12-20. From-SVN: r121797
2007-02-10Makefile.in: Rebuilt.Mohan Embar3-34/+35
* Makefile.in: Rebuilt. * Makefile.am (BUILD_ECJ1): Unify the command for renaming ecjx to the host's ecj1 executable. From-SVN: r121796
2007-02-09re PR libgcj/30647 (build of gcc midi-dssi fails)Tom Tromey3-5/+162
PR libgcj/30647: * configure: Rebuilt. * configure.ac: Also check for jack/jack.h. From-SVN: r121775
2007-02-09* sysdep/alpha/locks.h (read_barrier): New.Richard Henderson2-0/+12
From-SVN: r121774
2007-02-09- reindent ChangeLog entriesMatthias Klose1-36/+36
From-SVN: r121771
2007-02-09TimeZone.java: Handle default (one hour) daylight savings.Jakub Jelinek2-0/+5
2007-02-09 Jakub Jelinek <jakub@redhat.com> * java/util/TimeZone.java: Handle default (one hour) daylight savings. From-SVN: r121770
2007-02-09* gnu/classpath/jdwp/VMVirtualMachine.javaKeith Seitz5-1/+99
(_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. From-SVN: r121769
2007-02-09TimeZone.java: Handle default (one hour) daylight savings.Jakub Jelinek1-2/+9
2007-02-09 Jakub Jelinek <jakub@redhat.com> * java/util/TimeZone.java: Handle default (one hour) daylight savings. From-SVN: r121766
2007-02-092007-02-09 Gary Benson <gbenson@redhat.com>Gary Benson3-1/+7
* javax/management/ObjectName.java (quote): Initialize StringBuilder correctly. From-SVN: r121765
2007-02-09re PR classpath/23566 (Need to regenerate TimeZone data against tzdata2006a)Jakub Jelinek3-123/+177
PR 23566 * scripts/timezones.pl: Parse each file in 2 passes, in one parse just Rule lines, in the other everything else. Pass 0 instead of $savings as second argument to parseRule when parsing the start rule. * java/util/TimeZone.java (timezones): Regenerate from tzdata2007a. From-SVN: r121740
2007-02-09sources.am: Regenerate.Keith Seitz4-0/+9
* 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. From-SVN: r121737
2007-02-09sources.am: Regenerate.Keith Seitz4-26/+36
* sources.am: Regenerate. * Makefile.in: Regenerate. * classpath/lib/javax/management/MBeanServerFactory.class: Regenerate. From-SVN: r121734
2007-02-08This file got left behind in my last commit, sorry.Kyle Galloway1-0/+63
From-SVN: r121720
2007-02-08StackFrameCommandSet.java (executeGetValues): Pass jlong instead of ByteBuffer.Kyle Galloway12-51/+177
2007-02-08 Kyle Galloway <kgallowa@redhat.com> * 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. From-SVN: r121719
2007-02-08java-interp.h (_Jv_InterpFrame): obj_ptr field added to hold "this" pointer ↵Kyle Galloway3-0/+25
for frame. 2007-02-06 Kyle Galloway <kgallowa@redhat.com> * 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. From-SVN: r121717
2007-02-082007-02-08 Gary Benson <gbenson@redhat.com>Gary Benson2-4/+8
* javax/management/MBeanServerFactory.java (servers): Initialize. (createMBeanServer): Don't initialize servers. From-SVN: r121713
2007-02-08java-interp.h (_Jv_Frame::depth): New function.Keith Seitz3-9/+18
* include/java-interp.h (_Jv_Frame::depth): New function. * jvmti.cc (_Jv_JVMTI_GetFrameCount): Use _Jv_Frame::depth. From-SVN: r121709
2007-02-07jvmti.cc (CHECK_FOR_NATIVE_METHOD): New macro.Kyle Galloway3-1/+50
2007-02-07 Kyle Galloway <kgallowa@redhat.com> * jvmti.cc (CHECK_FOR_NATIVE_METHOD): New macro. (_Jv_JVMTI_GetMaxLocals): New method. * include/java-interp.h (_Jv_InterpMethod::get_max_locals): New method. From-SVN: r121700
2007-02-07jni.cc (_Jv_JNI_DeleteWeakGlobalRef): Check for NULL objects.Marco Trudel2-0/+8
2007-02-01 Marco Trudel <mtrudel@gmx.ch> * jni.cc (_Jv_JNI_DeleteWeakGlobalRef): Check for NULL objects. From-SVN: r121699
2007-02-07init.c: New file.Tom Tromey7-0/+83
* 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. From-SVN: r121698
2007-02-07re PR classpath/30718 (TransformerException in XSLURIResolver)Chris Burdess24-29/+155
2007-02-07 Chris Burdess <dog@gnu.org> Fixes PR 30718. * gnu/xml/dom/ls/SAXEventSink.java: Add public accessor/mutators. * gnu/xml/transform/XSLURIResolver.java: Add support for custom SAXSources without a backing URL or stream. Fixes PR 27710. * gnu/xml/dom/DomDocumentBuilderFactory.java: Fall back to synchronous LSParser if implementation does not support asynchronous. * gnu/xml/stream/XMLParser.java, gnu/xml/stream/XIncludeFilter.java: Use custom code instead of java.net.URL to resolve to an an absolute URI, to avoid nonexistent protocol handler problems. From-SVN: r121694
2007-02-07[multiple changes]Jakub Jelinek2-2/+134
2007-02-07 Bruno Haible <bruno@clisp.org> config/ PR libgomp/28468 * config/tls.m4 (GCC_CHECK_TLS): Also check whether the libc supports TLS via __thread. 2007-02-07 Jakub Jelinek <jakub@redhat.com> {libgomp,libstdc++-v3,libmudflap,libjava}/ PR libgomp/28468 * configure: Regenerate. From-SVN: r121689
2007-02-06Checking in header files missed by earlier commitTom Tromey3-1/+7
From-SVN: r121672
2007-02-06re PR cp-tools/30707 (gjavah cannot handle more than one CLASS)Tom Tromey3-3/+7
PR libgcj/30707: * tools/gnu/classpath/tools/javah/JniIncludePrinter.java (printClass): Always print a header. From-SVN: r121664
2007-02-06makemake.tcl (emit_bc_rule): Set the source filename.Andrew Haley3-27/+32
2007-02-06 Andrew Haley <aph@redhat.com> * scripts/makemake.tcl (emit_bc_rule): Set the source filename. * sources.am: Rebuild. From-SVN: r121651
2007-02-06re PR cp-tools/30706 (gjavah incompatible with sun javah and gcjh)Andrew Haley5-3/+15
2007-02-05 Andrew Haley <aph@redhat.com> PR cp-tools/30706 * tools/gnu/classpath/tools/javah/JniIncludePrinter.java: (printClass): Replace '/' in filenames with '_'. * tools/gnu/classpath/tools/javah/JniStubPrinter.java (printClass): Likewise. From-SVN: r121641
2007-02-05jvmti.cc (_envListLock): Change type to ReentrantReadWriteLock.Keith Seitz2-33/+55
* 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. From-SVN: r121616
2007-02-05Proxy.java (equals): Handle case where address==null.Tom Tromey3-4/+12
* java/net/Proxy.java (equals): Handle case where address==null. (hashCode): Likewise. (toString): Likewise. From-SVN: r121609
2007-02-05* gnu/classpath/jdwp/natVMVirtualMachine.ccKeith Seitz2-1/+101
(registerEvent): Implement EVENT_BREAKPOINT. (unregisterEvent): Likewise. (get_request_location): New function. From-SVN: r121608
2007-02-05testsuite/Makefile.am (compile-tests): Fix typo.Matthias Klose3-2/+7
2007-02-05 Matthias Klose <doko@debian.org> testsuite/Makefile.am (compile-tests): Fix typo. testsuite/Makefile.in: Regenerate. From-SVN: r121605
2007-02-02natClass.cc (initializeClass): Re-throw SecurityExceptions.Andrew Haley1-1/+9
2007-01-26 Andrew Haley <aph@redhat.com> * java/lang/natClass.cc (initializeClass): Re-throw SecurityExceptions. * java/lang/natVMClassLoader.cc (loadClass): checkPackageAccess. * java/lang/ClassLoader.java: (loadClass): Likewise. From-SVN: r121513
2007-02-02natVMVirtualMachine.cc (getFrameCount): Implement.Kyle Galloway2-2/+13
2007-02-02 Kyle Galloway <kgallowa@redhat.com> * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrameCount): Implement. From-SVN: r121504
2007-02-02configure.ac (libjava_cv_anon_version_script): New test.Jakub Jelinek6-27/+151
* 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. From-SVN: r121499
2007-02-02makemake.tcl: Replace gnu/xml build with build of all its subpackages.David Daney4-32/+178
* scripts/makemake.tcl: Replace gnu/xml build with build of all its subpackages. * sources.am: Regenerate. * Makefile.in: Regenerate. From-SVN: r121483
2007-02-01* java/lang/ClassLoader.java (getResources): No longer final.Tom Tromey3-1/+5
From-SVN: r121475
2007-02-01LogManager.java (loggers): Genericized.Tom Tromey16-39/+57
* 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<Object>. From-SVN: r121473
2007-02-01Calendar.java: Implement Comparable<Calendar>.Tom Tromey11-46/+193
* java/util/Calendar.java: Implement Comparable<Calendar>. Update comments. (clear): Call complete. (setTimeZone): Call computeTime, computeFields. (compareTo): New method. * java/nio/charset/Charset.java: Implement Comparable<Charset>. (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. From-SVN: r121471
2007-02-01jvmti-int.h (JVMTI): Declare member "enabled".Keith Seitz1-0/+13
* 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. From-SVN: r121468
2007-02-01Makefile.in: Rebuilt.Tom Tromey3-48/+31
* tools/Makefile.in: Rebuilt. * tools/Makefile.am (noinst_SCRIPTS): Renamed from bin_SCRIPTS. (noinst_DATA): Renamed from TOOLS_DATA. From-SVN: r121451